:root {
  --wine: #4a1424;
  --wine-deep: #1c0b12;
  --burgundy: #6b1d32;
  --gold: #c4a35a;
  --gold-soft: #e8d5a3;
  --ivory: #f7f1e8;
  --ivory-2: #efe6d6;
  --blush: #e8c9c4;
  --ink: #1a1214;
  --muted: #7a6a62;
  --line: rgba(196, 163, 90, .28);
  --white: #fffdf8;
  --ok: #2f6b4f;
  --warn: #b45309;
  --late: #9f1239;
  --shadow: 0 24px 60px rgba(28, 11, 18, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }
.gold { color: var(--gold); }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: rgba(28, 11, 18, .92);
  color: var(--ivory);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.mark {
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ivory);
  flex-shrink: 0;
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand b { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brand small { display: block; color: var(--gold-soft); letter-spacing: .06em; font-size: 11px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: 12px; }
.nav a, .role-switch button {
  color: #d9cfc6; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 10px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
}
.nav a.on, .nav a:hover, .role-switch button.on { color: var(--gold); background: rgba(196,163,90,.1); }
.spacer { flex: 1; }
.bell-wrap { position: relative; }
.bell-btn {
  position: relative; background: transparent; border: 1px solid var(--line);
  color: var(--gold-soft); width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; font-size: 16px;
}
.bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 99px; background: var(--late); color: #fff;
  font-size: 10px; display: grid; place-items: center;
}
.bell-badge[hidden] { display: none !important; }
.bell-item {
  display: flex; gap: 8px; align-items: flex-start;
  border-bottom: 1px solid #eee4d6; padding: 10px 4px 12px; font-size: 13px;
}
.bell-item-body { flex: 1; min-width: 0; }
.bell-x {
  width: 28px; height: 28px; border: 0; background: transparent;
  color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1;
  border-radius: 8px; flex-shrink: 0;
}
.bell-x:hover { color: var(--wine); background: #f3ebe3; }
.bell-panel {
  position: absolute; right: 0; top: 48px; width: min(360px, 86vw);
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: 12px; z-index: 60;
  max-height: 70vh; overflow: auto;
}
.bell-item:last-child { border-bottom: 0; }
.bell-shot {
  display: block; width: 100%; max-height: 160px; object-fit: contain;
  margin: 8px 0; border: 1px solid var(--line); border-radius: 8px; background: #faf4ea;
}
.shot-pick {
  display: inline-flex; align-items: center; cursor: pointer; margin: 8px 0 4px; position: relative;
}
.shot-pick input[type=file] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer;
}
.shot-thumb {
  width: 56px; height: 56px; object-fit: cover; object-position: center top;
  border-radius: 8px; border: 1px solid var(--line); background: #faf4ea;
}
.shot-thumb-btn {
  padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 0; border-radius: 8px;
}
.shot-thumb-btn:hover .shot-thumb { box-shadow: 0 0 0 2px var(--gold); }
.role-switch { display: flex; gap: 4px; background: rgba(255,255,255,.04); padding: 4px; border-radius: 999px; }
.cta {
  background: linear-gradient(90deg, #c4a35a, #e8d5a3);
  color: #1c0b12; border: 0; border-radius: 999px;
  padding: 10px 16px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: 11px;
  cursor: pointer;
}
.cta:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 8px 20px rgba(196,163,90,.35); }
.cta:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.2); }

.view { display: none; }
.view.on { display: block; }
html.hash-boot .view { display: none !important; }

.hero {
  min-height: 92vh;
  background:
    linear-gradient(90deg, rgba(28,11,18,.72) 0%, rgba(28,11,18,.2) 48%, rgba(28,11,18,.55) 100%),
    url("../assets/hero-queen-wide.jpg") center center / cover;
  color: var(--ivory);
  display: grid; align-items: end;
  padding: 80px 8vw 64px;
}
.kicker { letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-size: 11px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); line-height: .92; margin: 0 0 18px; max-width: 12ch; }
.hero p { max-width: 46ch; color: #f0e6d8; font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ghost {
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  border-radius: 999px; padding: 10px 16px; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; cursor: pointer;
}
.ghost:hover:not(:disabled):not(.off) { background: rgba(196,163,90,.16); color: var(--gold); }
.ghost:disabled { opacity: .4; cursor: default; }

.split-story { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 70vh; }
.split-story img { height: 100%; object-fit: cover; }
.panel { padding: 72px 56px; background: var(--white); }
.panel h2 { font-size: 48px; margin: 8px 0 16px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 28px 8vw; background: var(--wine-deep); color: var(--ivory); }
.metric { border: 1px solid var(--line); padding: 22px 24px; }
.metric b { display: block; font-family: var(--serif); font-size: 32px; color: var(--gold); }
.metric span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cbb; }

.grid-3, .grid-4, .cards { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 56px; }
#vote .vote-public { grid-template-columns: 1fr; }
#vote .vote-public .side { display: none; }
#vote .vote-public .main { padding: 0; background: var(--ivory); }
#vote .app-shell:not(.vote-public) .vote-wrap { width: 100%; margin: 0; padding: 8px 0 40px; }
#auction .auc-public { grid-template-columns: 1fr; }
#auction .auc-public .side { display: none; }
#auction .auc-public .main { padding: 0; background: var(--ivory); }
#auction .app-shell:not(.auc-public) .auc-wrap { width: 100%; margin: 0; padding: 8px 0 40px; }
.pageant-page { padding-top: 24px; padding-bottom: 48px; }
.pad { padding: 22px 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.card:has(> img) { padding: 0; }
#homeTopQueens .card { padding: 0; }
.card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.card .pad { padding: 18px 22px 22px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.card-actions .cta, .card-actions .ghost { padding: 8px 12px; font-size: 10px; }
.card-actions a.ghost, .q-dots a.ghost {
  text-decoration: none; display: inline-flex; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; color: var(--muted);
}
.pill.ok { color: var(--ok); border-color: #b7d7c6; }
.pill.live { color: var(--burgundy); border-color: var(--blush); }
.pill.late { color: var(--late); }
.pill.gold { color: #6b4e16; background: #f4e7c4; border-color: var(--gold); }
.pill-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
.sp-i-sponsor, .sp-card-bar {
  display: flex; justify-content: center; align-items: center;
  width: 100%; box-sizing: border-box;
  border-radius: 0; border-left: 0; border-right: 0;
  padding: 8px 12px; margin: 0;
  letter-spacing: .16em;
}
.queen-photo { position: relative; display: block; overflow: hidden; }
.queen-photo .sp-i-sponsor {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: auto;
  max-width: calc(100% - 64px);
  border-radius: 999px;
  border: 1px solid var(--gold);
  padding: 5px 10px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(28,11,18,.18);
}
.q-card-funds { margin: 10px 0 2px; }
.q-card-fund { margin-top: 10px; max-width: none; }
.q-card-fund:first-child { margin-top: 0; }
.q-card-fund .share-fund-h { color: var(--wine); font-size: 12px; }
.q-card-funds .share-fund-track { background: #ead9c4; margin: 6px 0 0; }
.q-card-funds .share-fund-track i { background: var(--gold); }
#queensGrid .card .pad { padding: 12px 14px 14px; }
#queensGrid .pill-stack {
  flex-direction: row; flex-wrap: wrap; gap: 4px; margin-bottom: 6px;
}
#queensGrid .card h3 { margin: 0 0 2px; font-size: 20px; line-height: 1.2; }
#queensGrid .queen-photo img {
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
}
#queensGrid .q-more-fold {
  margin: 4px 0 0; border: 0; padding: 0; background: none;
}
#queensGrid .q-more-fold summary {
  cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; list-style: none;
}
#queensGrid .q-more-fold summary::-webkit-details-marker { display: none; }
#queensGrid .q-more-fold summary::after { content: " ▾"; }
#queensGrid .q-more-fold[open] summary::after { content: " ▴"; }
#queensGrid .q-more-fold .note { margin: 6px 0 0; }
#queensGrid .q-more-fold .awards-fold { margin-top: 8px; }
#queensGrid .q-card-vote {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; margin-top: 8px;
}
#queensGrid .q-card-vote-main { min-width: 0; }
#queensGrid .q-card-vote .q-card-funds { margin: 0; }
#queensGrid .q-card-vote .q-card-fund { margin-top: 6px; }
#queensGrid .q-card-vote .cta {
  margin: 0; padding: 8px 12px; align-self: flex-start;
}
#queensGrid .q-card-don {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; margin-top: 8px;
}
#queensGrid .q-card-don .note { margin: 0; }
#queensGrid .q-card-don .ghost { margin: 0; padding: 8px 12px; align-self: flex-start; }
#queensGrid .card-actions { margin-top: 8px; }
.lazy-more {
  height: 1px; width: 100%;
  grid-column: 1 / -1;
}
#spBoardAdModal .pay-card {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
}
#spBoardAdModal .photo-pick {
  grid-template-columns: 96px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}
#spBoardAdModal .photo-pick > * { min-width: 0; }
#spBoardAdModal .photo-pick img {
  width: 96px; height: 124px; max-width: 100%;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--side-w, 250px) 1fr;
  min-height: calc(100vh - 136px);
}
.app-shell.side-collapsed { grid-template-columns: 72px 1fr; }
.side {
  background: var(--wine-deep); color: #eadfd6; padding: 22px 16px;
  position: relative;
  min-width: 0;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.side h3 { margin: 0 0 16px; font-size: 22px; color: var(--gold-soft); }
.side a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; color: #d8ccc3;
  font-size: 13px; margin-bottom: 4px;
  position: relative;
}
.side a.on, .side a:hover { background: rgba(196,163,90,.12); color: var(--gold); }
.side-ico {
  flex-shrink: 0; width: 22px; height: 22px;
  display: grid; place-items: center; color: var(--gold-soft);
}
.side-ico svg { display: block; }
.side a.on .side-ico, .side a:hover .side-ico { color: var(--gold); }
.side-label { min-width: 0; }
.side-count {
  margin-left: auto;
  min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 99px;
  background: var(--gold); color: #1c0b12;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  flex-shrink: 0; letter-spacing: 0;
}
.app-shell.side-collapsed .side-count {
  position: absolute; top: 4px; right: 2px; margin: 0;
}
.side-toggle {
  width: 100%; background: transparent; border: 1px solid var(--line);
  color: var(--gold-soft); border-radius: 10px; padding: 8px;
  cursor: pointer; margin-top: auto; margin-bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; letter-spacing: .08em;
}
.side-toggle:hover { color: var(--gold); border-color: var(--gold); }
.side-resizer {
  position: absolute; top: 0; right: -4px; width: 8px; height: 100%;
  cursor: col-resize; z-index: 5;
}
.side-resizer:hover, .side-resizer.on { background: rgba(196,163,90,.35); }
.app-shell.side-collapsed .side { padding: 16px 8px; }
.app-shell.side-collapsed .side h3,
.app-shell.side-collapsed .side .year,
.app-shell.side-collapsed .side-label,
.app-shell.side-collapsed .side-toggle-lab { display: none; }
.app-shell.side-collapsed .side-toggle {
  min-height: 42px;
  padding: 8px 0;
}
.app-shell.side-collapsed .side-toggle .side-ico {
  display: grid !important;
  width: 22px;
  height: 22px;
  color: var(--gold);
  visibility: visible;
}
.app-shell.side-collapsed .side-toggle .side-ico svg {
  display: block;
  width: 20px;
  height: 20px;
}
.app-shell.side-collapsed .side a {
  justify-content: center; padding: 12px 8px;
}
.app-shell.side-collapsed .side-resizer { display: none; }
body.side-dragging { user-select: none; cursor: col-resize; }
#dirTitlesWrap, #natTitlesWrap { margin: 10px 0 0; }
.pc-block { margin: 0 0 32px; }
.pc-block h3 { margin: 0 0 12px; }
.pc-pageant { margin: 0 0 40px; }
.pc-pageant-h { margin: 8px 0 4px; font-size: 28px; }
.pc-pageant .pc-block h3 {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ebay-bar.queens-bar {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
}
#queensBookPanel .ebay-bar.queens-bar {
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}
#queensBookPanel .ebay-bar input,
#queensBookPanel .ebay-bar select {
  height: 48px;
  margin: 0;
  padding: 0 14px;
  line-height: 48px;
  font-size: 14px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
#queensBookPanel .ebay-bar input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
}
#queensBookPanel .ebay-bar input[type="search"]::-webkit-search-decoration,
#queensBookPanel .ebay-bar input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
#queensBookPanel .ebay-bar select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1214' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
#queens .wrap, #talent .wrap { padding-top: 24px; }
#talent .ebay-bar.queens-bar {
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: stretch;
}
#talent .ebay-bar input,
#talent .ebay-bar select {
  height: 48px;
  margin: 0;
  padding: 0 14px;
  line-height: 48px;
  font-size: 14px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
#talent .ebay-bar select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1214' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.queens-tabs {
  display: flex; flex-wrap: wrap; gap: 3px; margin: 0 0 14px auto;
  padding: 3px; width: max-content; max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
}
.queens-tab {
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px;
}
.queens-tab.on {
  background: var(--gold); color: #1c0b12;
}
.queens-panel[hidden] { display: none !important; }
#queens .pager { margin-top: 16px; }
.winners-toggle {
  display: flex; align-items: center; gap: 8px;
  margin: 0; font-size: 14px; color: var(--ink); white-space: nowrap;
  cursor: pointer;
}
.winners-toggle input { width: 16px; height: 16px; }
.year {
  width: 100%; background: #2a141b; color: var(--ivory); border: 1px solid var(--line);
  padding: 10px; border-radius: 10px; margin-bottom: 18px;
}
.main { padding: 24px 32px 80px; background: var(--ivory); }
.main > h2 { margin-top: 0; margin-bottom: 12px; }
.year-winners { margin: 18px 0 8px; }
.year-winners h3 { margin: 0 0 4px; }
.year-winners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.year-win-card {
  border: 1px solid rgba(196, 163, 90, .38);
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(232, 213, 163, .55), transparent 58%),
    linear-gradient(180deg, #fbf6ea 0%, #f0e2c8 100%);
  padding: 16px 14px 14px;
  min-width: 0;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.year-win-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(74, 20, 36, .1);
}
.year-win-photo {
  width: 108px;
  height: 108px;
  margin: 0 auto 10px;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  background: #efe6d6;
  cursor: pointer;
  display: block;
  box-shadow: 0 0 0 3px rgba(196, 163, 90, .16);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.year-win-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.year-win-card:hover .year-win-photo,
.year-win-photo:hover,
.year-win-photo:focus {
  border-color: var(--gold-soft);
  box-shadow:
    0 0 0 4px rgba(232, 213, 163, .75),
    0 0 18px 6px rgba(196, 163, 90, .5),
    0 0 36px 12px rgba(255, 244, 214, .55);
}
.year-win-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
}
.year-win-card .person { margin: 0 0 6px; font-family: var(--serif); font-size: 16px; }
.year-win-title { margin: 0; font-size: 13px; color: var(--wine); font-family: var(--serif); }
.year-win-card .nat-win-chips { margin-top: 8px; justify-content: center; }
.year-win-card .note { margin: 2px 0 0; }
.year-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}
.year-title-row h2 { margin: 0; }
#talent .talent-head { margin: 0 0 8px; }
#talent .talent-head .kicker { margin: 0 0 4px; }
#talent .talent-head h2 { margin: 0; }
#talentListBtnWrap { margin: 0; }
.todo-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.todo-row input[type="checkbox"] { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; }
.todo-row .todo-text { flex: 1; min-width: 0; }
.todo-row.done .todo-text, .todo-row.done .note { color: var(--muted); text-decoration: line-through; }
.todo-add { margin-top: 14px; }
.todo-table, .title-table { overflow: visible; }
.todo-table td:first-child { width: 36px; text-align: center; vertical-align: middle; }
.todo-table td.q-dots, .title-table td.q-dots { overflow: visible; }
.todo-table input[type="checkbox"] { width: 16px; height: 16px; margin: 0; vertical-align: middle; }
.todo-table tr.is-done .todo-task,
.todo-table tr.is-done td { color: var(--muted); }
.todo-table tr.is-done .todo-task { text-decoration: line-through; }
.title-table td.q-dots { width: 48px; }
#titleAddModal .pay-card { width: min(480px, 100%); overflow: visible; }
.todo-dirs { display: grid; gap: 6px; margin: 8px 0 4px; max-height: 180px; overflow: auto; }
.todo-dirs .agree-row { margin: 0; }
.year-title-dates {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.year-date-edit {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  display: grid; place-items: center;
  padding: 0;
  flex-shrink: 0;
}
.year-date-edit:hover { border-color: var(--gold); background: #fff8ee; }
.year-date-edit .acc-edit-ico { margin: 0; }
#queensGrid .card.queen-winner {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(196,163,90,.28);
  background: linear-gradient(#fffdf8, #fff8ee);
}
#queensGrid .queen-photo { position: relative; display: block; }
.pg-suggest { position: relative; }
#signupPageantSel { width: 100%; }
#signupPageantField.is-queen-pick #signupPageantSel { display: block; }
#signupPageantField.is-queen-pick #signupPageant { display: block; margin-top: 8px; }
#signupPageantField:not(.is-queen-pick) #signupPageantSel,
#signupPageantSel[hidden] { display: none !important; }
.pg-suggest-list {
  position: absolute; left: 0; right: 0; top: calc(100% - 2px);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); z-index: 80; max-height: 220px; overflow: auto;
  padding: 4px;
}
#profile .pg-suggest-list { z-index: 90; }
.pg-suggest-list button {
  display: block; width: 100%; text-align: left; border: 0; background: none;
  padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--wine);
}
.pg-suggest-list button:hover { background: #f8ecec; }
.ev-filters { margin: 8px 0 16px; align-items: end; }
.ev-browse-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 2px 0 16px;
  padding: 0;
  background: none;
  border: 0;
  align-items: flex-end;
}
.ev-filter {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.ev-browse-bar .ev-filter select,
.ev-browse-bar .ev-filter input[type="date"] {
  display: block;
  width: auto;
  min-width: 10.5rem;
  max-width: 16rem;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 42px;
}
body.ev-mine #events .tk-soq { display: none; }
body.ev-mine #evFilters { display: none !important; }
body:not(.ev-mine) #evPastAcc,
body:not(.ev-mine) #evCancelAcc,
body:not(.ev-mine) #evMineTkAcc { display: none !important; }
@media (max-width: 720px) {
  .ev-browse-bar { display: flex; }
  .ev-filter { flex: 1 1 100%; }
  .ev-browse-bar .ev-filter select,
  .ev-browse-bar .ev-filter input[type="date"] { min-width: 0; max-width: none; width: 100%; }
}
#evNightsGrid .card, #evPastGrid .card, #evCancelGrid .card { padding: 0; overflow: visible; }
#evNightsGrid .card:has(.qc-more-menu:not([hidden])),
#evPastGrid .card:has(.qc-more-menu:not([hidden])),
#evCancelGrid .card:has(.qc-more-menu:not([hidden])) { z-index: 4; position: relative; }
#evNightsGrid .queen-photo, #evPastGrid .queen-photo, #evCancelGrid .queen-photo { display: block; overflow: hidden; }
#evNightsGrid .queen-photo img, #evPastGrid .queen-photo img, #evCancelGrid .queen-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
#evNightsGrid .pad, #evPastGrid .pad, #evCancelGrid .pad { padding: 12px 14px 14px; }
#evNightsGrid h3, #evPastGrid h3, #evCancelGrid h3 { font-size: 20px; margin: 4px 0 2px; }
#evNightsGrid .tk-event-h, #evPastGrid .tk-event-h, #evCancelGrid .tk-event-h { align-items: flex-start; margin: 0; gap: 8px; }
#evNightsGrid .tk-event-h h3, #evPastGrid .tk-event-h h3, #evCancelGrid .tk-event-h h3 { flex: 1; min-width: 0; }
#evNightsGrid .qc-more-menu, #evPastGrid .qc-more-menu, #evCancelGrid .qc-more-menu { z-index: 20; }
#evPastGrid .card-actions, #evCancelGrid .card-actions { min-height: 32px; }
#qPageantsGrid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
#qPageantsGrid .card { padding: 0; overflow: hidden; cursor: pointer; }
#pageant .grid-3 .card:has(.queen-photo) { padding: 0; }
#qPageantsGrid .queen-photo { position: relative; display: block; }
#qPageantsGrid .queen-photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
#qPageantsGrid .pad { padding: 8px 10px 10px; }
#qPageantsGrid h3 { font-size: 16px; margin: 2px 0 0; }
#qPageantsGrid .note { margin: 2px 0 0; font-size: 12px; }
#qPageantsGrid .pill-stack { margin-bottom: 2px; }
.pageant-hero {
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px; align-items: start; margin: 12px 0 28px;
}
.pageant-hero img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  border: 1px solid var(--line); border-radius: 10px;
}
.pageant-page h3 { margin: 22px 0 8px; }
.event-page { padding-top: 24px; padding-bottom: 48px; }
.event-hero-pic { display: grid; gap: 10px; }
.event-hero-pic .card-actions { margin-top: 0; }
.event-page .pageant-hero img { aspect-ratio: 16 / 10; object-position: center; }
.event-page .tk-sold { margin: 0 0 12px; }
.event-page .tk-sold .note { margin: 0; }
.event-rev-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 8px;
}
.event-rev {
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.event-rev .year-made-h { margin: 0 0 8px; }
.event-rev .year-chart-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 16px 18px;
  align-items: center;
  margin-top: 4px;
}
.event-rev .year-pie { margin: 0 auto; }
.event-rev .pie-legend { margin: 0; }
@media (max-width: 700px) {
  .event-rev-row { grid-template-columns: 1fr; }
  .event-rev .year-chart-wrap { grid-template-columns: 1fr; justify-items: center; }
}
.event-page .table { margin-top: 8px; }
.event-page .pager { margin-top: 16px; }
.event-page .table th.tk-in, .event-page .table td.tk-in { width: 36px; text-align: center; }
.event-page .table input[type="checkbox"] { width: 18px; height: 18px; }
.event-page .tk-soq { margin: 14px 0 0; }
.event-page .acc-item { margin-top: 14px; }
.event-page .acc-item.on { overflow: visible; }
.event-page .acc-item .acc-item { margin: 12px 0 0; background: #faf6f1; }
.event-page .acc-item .acc-item > .acc-h { font-size: 16px; background: #efe4d8; }
#events .pager { margin-top: 16px; padding-left: 18px; }
#evUpAcc.ev-up-flat > .acc-b > .pager { padding-left: 18px; padding-right: 18px; }
#events #evPastAcc { margin-top: 28px; }
#events #evCancelAcc { margin-top: 8px; }
#events #evMineTkAcc { margin-top: 0; }
body.ev-mine #evMineTkAcc { margin-top: 0; }
body.ev-mine #evUpAcc { margin-top: 8px; }
#evMineTkActions { margin: 0 0 14px; }
#ticketPickModal .pay-card { width: min(520px, 100%); }
#addrModal .pay-card { width: min(440px, 100%); }
#addrBody p { margin: 0 0 8px; line-height: 1.5; }
#ticketPickList {
  max-height: min(360px, 50vh);
  overflow: auto;
  margin: 4px 0 12px;
  border-top: 1px solid var(--line);
}
#ticketPickAllRow { padding-top: 4px; }
.ev-rev { margin: 8px 0 2px; }
.ev-rev .note { margin: 0; }
#director .pager, #national .pager { margin-top: 12px; margin-bottom: 8px; }
#evNightsGrid .queen-photo[data-night-open],
#evPastGrid .queen-photo[data-night-open],
#evCancelGrid .queen-photo[data-night-open] { cursor: pointer; }
@media (max-width: 700px) {
  .pageant-hero { grid-template-columns: 1fr; }
}
.entry-buy-sheet { width: min(440px, 94vw); }
.entry-pay-box {
  border: 1px solid var(--line); border-radius: 12px; background: #fff8ee;
  padding: 12px 14px; margin: 10px 0 16px; display: grid; gap: 6px;
}
.entry-pay-box div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.entry-pay-box b { font-family: var(--serif); font-size: 18px; }
.entry-pay-box .pay-total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.name-privacy { margin: 4px 0 12px; }
.name-privacy-h {
  margin: 0 0 4px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.name-check {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 8px 0 0; font-size: 14px; line-height: 1.35; color: var(--ink);
  cursor: pointer;
}
.name-check input { margin-top: 3px; flex-shrink: 0; }
.name-check b { font-weight: 650; }
#profile .name-privacy .note { margin: 0 0 8px; }
#qPageantsGrid .card.queen-winner {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(196,163,90,.28);
  background: linear-gradient(#fffdf8, #fff8ee);
}
.crown-badge {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px;
  background: var(--gold);
  color: var(--wine);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(28,11,18,.28);
}
.crown-badge svg { width: 20px; height: 20px; fill: var(--wine); }
.row { display: flex; gap: 16px; align-items: stretch; }
.year-made-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.year-made-head h3 { margin: 0 0 4px; }
.year-made-head > select {
  min-width: 220px;
  max-width: 280px;
  border: 1px solid var(--line); background: var(--white);
  padding: 10px 12px; border-radius: 10px; font-size: 14px;
}
.year-made-view { margin: 0; min-width: 180px; flex: 0 0 200px; }
.year-made {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
#national .year-made {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.year-made-nat-lead { margin: 8px 0 0; }
#national .year-made-card .pie-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 11px;
}
#national .year-made-card .pie-legend b { font-size: 12px; }
.year-made .stat { padding: 12px 14px 12px; min-width: 0; overflow: visible; }
.year-made .stat > b { margin: 2px 0; font-size: 22px; }
.year-made .year-chart { height: 88px; }
.year-made-h {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px; margin: 0 0 6px;
}
.year-made-h h3 {
  margin: 0; font-size: 12px; line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  font-family: var(--sans); font-weight: 500;
}
.year-made-h b {
  font-family: var(--serif); font-size: 26px; display: block;
  margin: 0; white-space: nowrap; color: var(--ink); font-weight: 500;
}
.year-made-amt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: nowrap;
  width: 100%;
}
.year-made-amt .cta {
  margin: 0 0 0 auto;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.year-made-note {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
}
.year-made-card .year-pie-wrap {
  flex: none;
  width: min(160px, 78%);
  height: auto;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  margin: auto;
  align-self: center;
}
.year-made-card .year-pie-wrap .year-pie {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: block;
}
.year-made-card .year-chart-wrap:not(.year-pie-wrap) {
  margin-top: auto;
}
.dl-table input[type="date"],
.dl-table input[type="text"] {
  border: 1px solid var(--line); background: var(--white);
  padding: 8px 10px; border-radius: 8px; font-size: 14px; width: 100%;
  max-width: 280px;
}
.dl-table tr.dl-hidden td { color: var(--muted); }
.dl-table td.file-actions {
  text-align: right; width: 48px;
}
.dl-table td .qc-more { display: inline-flex; }
.court-search { max-width: 420px; margin: 0 0 16px; }
.team-search-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin: 0 0 16px;
}
.team-search-row .court-search { margin: 0; flex: 1; min-width: 200px; }
.team-search-row .q-export { margin-bottom: 2px; }
.q-export .cta { padding: 6px 12px; font-size: 10px; width: auto; margin: 0; }
#dirTeamForm .dates,
#natTeamForm .dates {
  align-items: end;
  margin: 12px 0 12px;
}
#dirTeamForm .dates .field,
#natTeamForm .dates .field { margin-bottom: 0; }
#dirTeamForm .dates .field input,
#dirTeamForm .dates .field select,
#natTeamForm .dates .field input,
#natTeamForm .dates .field select {
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
}
.book-other { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.book-other textarea { width: 100%; min-height: 72px; resize: vertical; }
#courtSearchResults { margin: 0 0 22px; }
.req-block { margin: 0 0 22px; }
.req-table { width: 100%; }
.req-table td .note { margin: 4px 0 0; }
.req-table td.file-actions { text-align: right; width: 88px; }
.req-table .ghost { padding: 6px 10px; }
.title-kind {
  margin: 16px 0 8px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.title-row, .title-add {
  display: grid; grid-template-columns: 1fr 100px auto;
  gap: 8px; align-items: center; margin-bottom: 8px;
}
.title-row .qc-more { justify-self: end; }
#profilePastTitles .title-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.title-add { align-items: end; margin-top: 14px; grid-template-columns: 1fr 100px auto; }
.title-row input, .title-row select, .title-add input, .title-add select,
#entryFeeForm .field input, #entryFeeForm .field select,
#natEntryFeeForm .field input, #natEntryFeeForm .field select {
  border: 1px solid var(--line); background: var(--white);
  padding: 8px 12px; border-radius: 8px; font-size: 14px; width: 100%;
  height: 42px; min-height: 42px; box-sizing: border-box; line-height: 1.25;
}
.title-row select, .title-add select,
#entryFeeForm .field select, #natEntryFeeForm .field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1214' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
#entryFeeForm .field textarea, #natEntryFeeForm .field textarea,
#entryFeeModal textarea {
  height: auto; min-height: 72px; line-height: 1.4;
}
#entryFeeModal .pay-card { width: min(480px, 100%); }
.year-made .stat h3 { margin: 0 0 2px; }
.year-made-bits {
  display: grid; gap: 6px;
  margin: 10px 0 4px;
  font-size: 12px; color: var(--muted);
  letter-spacing: .04em;
}
.year-made .year-made-bits b,
.year-made-bits b {
  font-family: var(--serif); font-size: 18px;
  display: inline; color: var(--ink); margin-left: 6px;
  letter-spacing: 0;
}
.year-chart-wrap { position: relative; margin-top: 8px; }
#dirYearChart { display: block; }
.year-pie { width: 100%; max-width: 148px; height: auto; display: block; margin: 4px auto 0; }
.year-pie.wide { max-width: 280px; }
.payout-chart-card { margin: 8px 0 18px; padding: 16px 18px 18px; }
.payout-chart-card h3 { margin: 0 0 4px; font-size: 22px; }
.year-chart-wide .year-chart { height: 240px; }
.year-chart { width: 100%; height: 164px; display: block; margin-top: 8px; }
.pie-slice { cursor: pointer; stroke: #fffdf8; stroke-width: 2; transition: opacity .15s; }
.pie-slice.dim { opacity: .32; }
.pie-legend { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.pie-leg { cursor: pointer; display: flex; align-items: center; gap: 8px; }
.pie-leg.on { color: var(--wine); }
.pie-leg b { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.chart-tip {
  position: fixed; transform: translate(-50%, -100%);
  background: #1c0b12; color: #f7f1e8;
  font-size: 12px; line-height: 1.45;
  padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--gold); z-index: 4000;
  display: none; pointer-events: none;
  min-width: 148px; white-space: nowrap;
  box-shadow: var(--shadow);
}
.year-chart-wrap, .year-pie, .pie-slice { pointer-events: auto; }
.chart-tip.on { display: block; }
.chart-tip div:first-child { color: var(--gold-soft); margin-bottom: 4px; }
.chart-legend {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 8px; font-size: 11px; color: var(--muted);
}
.chart-legend.cols-2,
.pie-legend.cols-2,
.chart-legend.cols-3,
.pie-legend.cols-3 {
  display: grid;
  gap: 8px 18px;
  align-items: center;
  width: 100%;
  margin: 12px auto 0;
}
.chart-legend.cols-2,
.pie-legend.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}
.chart-legend.cols-3,
.pie-legend.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
}
.pie-legend.cols-2 .pie-leg,
.pie-legend.cols-3 .pie-leg,
.chart-legend.cols-2 span,
.chart-legend.cols-3 span {
  min-width: 0;
}
@media (max-width: 720px) {
  .chart-legend.cols-3,
  .pie-legend.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .chart-legend.cols-2,
  .pie-legend.cols-2,
  .chart-legend.cols-3,
  .pie-legend.cols-3 { grid-template-columns: 1fr; }
}
.chart-legend i {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; margin-right: 5px; vertical-align: middle;
}
.stat {
  flex: 1; background: var(--white); border: 1px solid var(--line); padding: 22px 24px;
}
.stat b { font-family: var(--serif); font-size: 36px; display: block; }
.year-made-h b { font-size: 26px; }
.year-made .year-made-bits b {
  font-size: 18px; display: inline; margin-left: 6px;
}
.stat small, .stat > .note { display: block; margin-top: 6px; }
.row.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.row.dash-cards[hidden],
.su-splash[hidden],
.year-made[hidden],
.year-made-head[hidden],
#dirDashBody[hidden],
#natDashBody[hidden],
#queenDashBody[hidden],
#entryFeeBody[hidden],
#entryFeeSplash[hidden],
#aucListBody[hidden],
#aucListSplash[hidden] { display: none !important; }
.stat.dash-card {
  cursor: pointer;
  padding: 18px 16px 18px;
  display: flex; flex-direction: column; min-width: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, var(--gold), var(--gold-soft)) 0 0 / 100% 3px no-repeat,
    linear-gradient(165deg, #fffdf9 0%, #f4eadc 100%);
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.stat.dash-card::before { display: none; }
.year-made .stat.dash-card { overflow: hidden; }
.stat.dash-card:hover, .stat.dash-card:focus {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(74, 20, 36, .12);
  transform: translateY(-3px);
  outline: none;
  overflow: hidden;
}
.year-made .stat.dash-card:hover,
.year-made .stat.dash-card:focus {
  transform: none;
}
.jg-assigned-wrap { margin: 18px 0 8px; }
.jg-assigned-wrap .year-winners-grid { margin-top: 10px; }
.jg-assigned-card { cursor: pointer; }
.jg-assigned-card:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(74, 20, 36, .1);
}
.jg-assigned-card .year-win-photo { cursor: pointer; }
.dash-card-h {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; margin: 0 0 4px;
}
.dash-card-h span {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  font-weight: 500;
}
.dash-card-h b { font-size: 30px; margin: 0; line-height: 1.1; }
.dash-cards .ring { width: 88px; height: 88px; margin: 10px auto 0; }
.dash-cards .ring span { width: 62px; height: 62px; font-size: 20px; }
.stat.dash-card[data-dash="complete"] .ring {
  flex: none;
  width: min(160px, 78%);
  height: auto;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: auto;
  align-self: center;
}
.stat.dash-card[data-dash="complete"] .ring span {
  width: 70%;
  height: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 1.5rem;
}
.stat.dash-card > small,
.stat.dash-card > .note,
.stat.dash-card > .dash-card-lines { margin-top: auto; padding-top: 8px; }
.dash-card-lines { display: grid; gap: 2px; width: 100%; }
.dash-card-lines small { display: block; margin: 0; width: 100%; }
#dashModal table input {
  width: 100%; min-width: 0;
  border: 1px solid var(--line); background: var(--white);
  padding: 8px 10px; border-radius: 8px; font-size: 14px;
}
#dashModal.jg-score-wide .pay-card { width: min(960px, 100%); }
#dashModal .jg-score-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  align-items: stretch;
}
#dashModal .jg-score-stats .stat.dash-card {
  cursor: default;
  border-radius: 12px;
  min-height: 118px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#dashModal .jg-score-stats .jg-stat-pageant {
  background: linear-gradient(165deg, #fff8ee 0%, #f0e2cc 100%);
}
#dashModal .jg-score-stats .jg-stat-due {
  background: linear-gradient(165deg, #fbf6f2 0%, #f3e4e6 100%);
}
#dashModal .jg-score-stats .jg-stat-count {
  background: linear-gradient(165deg, #f7faf6 0%, #e6efe6 100%);
}
#dashModal .jg-score-stats .stat.dash-card:hover,
#dashModal .jg-score-stats .stat.dash-card:focus {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(90, 50, 30, .14);
  transform: translateY(-3px);
  outline: none;
}
#dashModal .jg-score-stats .dash-card-h b {
  word-break: break-word;
}
#dashModal .jg-score-stats .jg-stat-pageant .dash-card-h b,
#dashModal .jg-score-stats .jg-stat-due .dash-card-h b {
  font-size: 22px;
  line-height: 1.2;
}
#dashModal .jg-score-stats .jg-stat-count .dash-card-h b { font-size: 32px; }
#dashModal .jg-score-folds > .acc-item { margin-top: 12px; }
#dashModal .jg-score-folds > .acc-item:first-child { margin-top: 0; }
#dashModal .jg-score-folds > .acc-item > .acc-h { font-size: 18px; }
#dashModal .jg-score-folds .acc-h .pill { margin-left: 8px; }
@media (max-width: 700px) {
  #dashModal .jg-score-stats { grid-template-columns: 1fr; }
}
#dashModal.tk-wide .pay-card { width: min(720px, 100%); max-height: 90vh; overflow: auto; }
#jgQueenModal { z-index: 82; }
#jgQueenModal .pay-card { width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.jg-col-menu { min-width: 260px; padding: 8px; }
.jg-who-pick {
  display: grid; gap: 4px; margin: 0 0 8px; padding: 0 4px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
}
.jg-who-pick select {
  width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.jg-col-pick {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 4px; font-size: 13px; cursor: pointer;
}
.jg-col-pick span { flex: 1; min-width: 0; }
.jg-col-del {
  border: 0; background: transparent; color: var(--wine);
  font-size: 12px; cursor: pointer; padding: 2px 4px;
}
.jg-col-del:disabled { opacity: .4; cursor: default; }
.jg-col-add {
  display: flex; gap: 6px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.jg-col-add input { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.jg-col-add button { width: auto; padding: 6px 10px; }
.jg-row-acts { width: 44px; text-align: right; }
.jg-score-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin: 8px 0 10px;
}
.jg-score-bar h4 { margin: 0; font-size: 18px; }
.jg-score-table-wrap { overflow: auto; }
.jg-score-table th input, .jg-score-table td input { min-width: 72px; }
.jg-queen-open {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
  text-align: left; color: inherit; font: inherit;
}
.jg-queen-open .person { pointer-events: none; }
.jg-queen-pack { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.jg-queen-pack-h {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
}
.jg-queen-pack-h .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--gold); }
.jg-queen-pack-h b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.jg-queen-pack-h span { color: var(--muted); font-size: 13px; }
#dashModal .acc-item { margin-top: 14px; }
#dashModal .acc-item > .acc-h { font-size: 14px; }
#dashModal .acc-item .acc-item { margin-top: 8px; background: #faf6f1; }
#dashModal .acc-item .acc-item > .acc-h { font-size: 15px; background: #efe4d8; }
#dashModal .sp-person-h,
#dashModal .sp-book-h {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  flex: 1; min-width: 0; text-align: left;
}
#dashModal .sp-person-h b,
#dashModal .sp-book-h b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
#dashModal .sp-person-h span,
#dashModal .sp-book-h span { font-size: 13px; color: var(--muted); letter-spacing: 0; text-transform: none; }
#dashModal .sp-fold-main {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-width: 0; text-align: left;
}
#dashModal .sp-fold-main b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
#dashModal .sp-fold-main span { font-size: 13px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
#dashModal .acc-h .sp-fold-amt {
  margin-left: auto; margin-right: 4px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
#dashModal tr.sp-bid-item td {
  background: #f6eee3; font-weight: 600; letter-spacing: .02em;
}
#dashModal .sp-fold-xls { margin: 0 0 12px; }
#dashModal #dashBody { width: 100%; }
#dashModal .unread-block { width: 100%; }
#dashModal .unread-block .table {
  width: 100%;
  table-layout: fixed;
  box-shadow: none;
}
#dashModal .unread-block .table th:nth-child(1),
#dashModal .unread-block .table td:nth-child(1) { width: 28%; }
#dashModal .unread-block .table th:nth-child(3),
#dashModal .unread-block .table td:nth-child(3) { width: 220px; white-space: nowrap; }
#dashModal .unread-block .table td:nth-child(2) { width: auto; overflow-wrap: anywhere; }
#dashModal .unread-block .table td.need-actions {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
#dashModal .unread-block .table td.need-actions .need-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  vertical-align: middle;
  width: auto;
}
#dashModal .unread-block .need-actions .cta,
#dashModal .unread-block .need-actions .ghost {
  padding: 0 12px;
  height: 32px;
  box-sizing: border-box;
  margin: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  flex: none;
}
#dashModal .cc-chart {
  width: min(92%, 560px);
  height: auto;
  min-height: 220px;
  margin: 8px auto 16px;
  display: block;
}
.q-sec-h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 22px 0 8px; flex-wrap: wrap;
}
.q-sec-h h3 { margin: 0; }
.q-fold-sec { margin: 22px 0 8px; }
.q-fold-h {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 8px 0;
}
.q-fold-h h3 { margin: 0; font-size: 20px; }
.q-fold-h .pill { margin-left: 4px; }
.q-fold-sec .fold-pane { margin: 8px 0 0; }
.q-export { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-export .qc-more { z-index: 12; }
.q-export .ghost { padding: 6px 10px; font-size: 10px; }
.q-export .tip-wrap[data-tip]:hover::after,
.q-export .tip-wrap[data-tip]:focus::after {
  left: auto; right: 0; width: min(260px, 70vw);
}
.bm-soon-letter { margin: 12px 0 0; }
#botmateSoonModal .qc-actions { margin-top: 24px; padding-top: 8px; }
.bm-soon-letter img {
  width: 100%; display: block; border-radius: 10px;
  border: 1px solid var(--line); background: #efe6d6;
}
.bm-soon-letter figcaption {
  margin-top: 8px; font-size: 12px; color: var(--muted); letter-spacing: .08em;
  text-transform: uppercase;
}
.pg-suggest-list button .note { display: inline; margin: 0 0 0 6px; font-size: 12px; }
.q-table td.q-dots {
  width: auto; text-align: right; vertical-align: middle; padding: 8px 10px;
  white-space: nowrap;
}
#sponsor-dash .q-table td.q-dots {
  white-space: normal;
}
#sponsor-dash .q-table td.q-dots .ghost,
#sponsor-dash .q-table td.q-dots a.ghost {
  margin: 2px 0 2px 6px;
}
.sp-place-h { margin: 18px 0 8px; font-size: 20px; }
.sp-place-h:first-child { margin-top: 0; }
.q-table td.q-dots .q-approve {
  margin-right: 6px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: .06em;
}
.q-table .qc-more { display: inline-flex; align-items: center; vertical-align: middle; }
.q-table .qc-more-btn { width: 32px; height: 32px; line-height: 32px; }
.create-block {
  background: #fff8ee;
  border-color: var(--gold);
}
#ofBuildAcc.create-block > .acc-h { background: #f8edd6; }
#ofBuildAcc > .acc-b .field { margin-bottom: 8px; }
#ofBuildAcc > .acc-b .dates { margin: 8px 0 10px; }
.tip-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--wine); font-size: 11px;
  cursor: help; vertical-align: middle; line-height: 1;
}
.field.need-fill input, .field.need-fill select, .field.need-fill textarea, .agree-row.need-fill {
  border-color: var(--late);
  box-shadow: 0 0 0 2px rgba(159, 18, 57, .18);
}
.agree-row.need-fill { border-radius: 8px; padding: 6px; outline: 1px solid var(--late); }
.field-err { display: none; }
.of-sign-wrap.need-fill .of-sign-pad,
.of-photo-wrap.need-fill {
  outline: 1px solid var(--late);
  box-shadow: 0 0 0 2px rgba(159, 18, 57, .18);
}
.e-sign-block.need-fill {
  outline: 1px solid var(--late);
}
.dash-sheet {
  position: relative; text-align: left; width: min(720px, 96vw);
  max-height: 90vh; overflow: auto; padding: 44px 24px 24px;
}
#dashModal .year-pie { max-width: 280px; }
#dashModal .year-chart { height: 220px; }
#dashModal .dash-sheet { width: min(860px, 96vw); }
#dashModal.nat-made-wide .dash-sheet { width: min(960px, 96vw); }
.nat-made-tools { display: flex; gap: 12px; align-items: end; margin: 16px 0 10px; }
.nat-made-region { margin-top: 8px; }
.nat-made-region .fold-head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left;
}
.nat-made-region .fold-head h4 { flex: 1; margin: 0; }
.nat-made-region .fold-head b {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
}
.nat-made-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 0 4px;
}
.nat-made-card {
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 12px 14px;
  min-width: 0;
}
.nat-made-st {
  display: block;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.nat-made-who { margin-bottom: 6px; }
.nat-made-card b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; }
.nat-made-bar {
  display: block; height: 6px; background: #efe6d6;
  border-radius: 99px; overflow: hidden; margin: 8px 0 4px;
}
.nat-made-bar i { display: block; height: 100%; background: var(--wine); }
.nat-made-card small { color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .nat-made-grid { grid-template-columns: 1fr; }
}
#dashModal .year-chart-wide .year-chart { height: 240px; }
#dashModal .pay-fold { margin-top: 10px; }
#dashModal .pay-fold > .acc-h { gap: 12px; }
#dashModal .pay-fold > .acc-h b {
  margin-left: auto; margin-right: 4px;
  font-size: 22px; font-family: var(--serif); font-weight: 500;
}
#dashModal .don-ch-site {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; color: var(--wine);
  border: 1px solid var(--line); background: #fffdf8;
  cursor: pointer;
}
#dashModal .don-ch-site:hover,
#dashModal .don-ch-site:focus { border-color: var(--gold); color: var(--gold); outline: none; }
#dashModal .don-ch-site svg { display: block; }
#shareLotModal .dash-sheet {
  width: min(520px, 94vw);
  overflow-x: hidden;
}
#shareLotModal .dates,
#shareLotModal .dates.three {
  grid-template-columns: 1fr 1fr;
  margin: 8px 0 12px;
}
#shareLotModal .photo-pick {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
}
#shareLotModal .photo-pick img { width: 88px; height: 118px; }
#shareLotModal input,
#shareLotModal select,
#shareLotModal textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
#shareLotModal .field { min-width: 0; }
#shareLotModal { overflow-x: hidden; }
.split-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col h4 { margin: 0 0 10px; }
.pay-view-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 8px 0 16px; }
.ring {
  width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(var(--gold) 0 72%, #e8dcc8 0);
  display: grid; place-items: center; margin: 8px auto 0;
}
.ring span { width: 84px; height: 84px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 26px; }

.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid #eee4d6; font-size: 14px; vertical-align: middle; }
.table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.table tfoot th, .table tfoot td {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.table tfoot th:first-child { color: var(--ink); }
.table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table th small { display: block; margin-top: 4px; letter-spacing: 0; text-transform: none; font-size: 11px; font-weight: 400; color: var(--muted); }
.table tfoot td { font-family: var(--serif); font-size: 18px; font-weight: 500; background: #f3ebe3; }
.payout-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 8px 0 22px;
}
#payouts .pay-fold { margin-top: 10px; }
#payouts .pay-fold > .acc-h {
  gap: 12px;
}
#payouts .pay-fold > .acc-h b {
  margin-left: auto; margin-right: 4px;
  font-size: 22px; font-family: var(--serif); font-weight: 500;
}
#payoutTopChart { margin: 8px 0 18px; }
.payout-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px 22px; box-shadow: var(--shadow);
}
.payout-card h3 { margin: 0 0 8px; font-size: 26px; }
.payout-card .lead { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.payout-stack {
  display: flex; height: 28px; border-radius: 8px; overflow: hidden; margin: 0 0 12px;
}
.payout-stack i { display: block; height: 100%; }
.payout-stack .seg-q { width: 77%; background: var(--gold); }
.payout-stack .seg-st { width: 11%; background: var(--burgundy); }
.payout-stack .seg-cc { width: 11%; background: #8a6a3a; }
.payout-stack .seg-na { width: 1%; min-width: 8px; background: #5c3d52; }
.payout-stack.pc .seg-st { width: 90%; }
.payout-stack.pc .seg-cc { width: 10%; }
.payout-legend { list-style: none; margin: 0 0 16px; padding: 0; }
.payout-legend li {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 8px; font-size: 14px;
}
.payout-legend i {
  width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
}
.payout-legend .seg-q { background: var(--gold); }
.payout-legend .seg-st { background: var(--burgundy); }
.payout-legend .seg-na { background: #5c3d52; }
.payout-legend .seg-cc { background: #8a6a3a; }
.payout-legend b { margin-left: auto; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.payout-card .table { box-shadow: none; margin-top: 4px; }
.payout-card .table th, .payout-card .table td { padding: 10px 12px; }
.file-name-cell {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 0; max-width: 100%;
  vertical-align: middle;
}
.table td .file-name-cell { display: flex; }
.file-thumb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); background: #fffdf8;
  color: var(--muted);
}
.file-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-thumb-ph svg { display: block; }
.queen-fill-h h3.file-name-cell { margin: 8px 0 4px; }
.q-todo-item h3.file-name-cell { margin: 0; }
.qc-file-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 8px;
}
.qc-file-row .qc-more { margin-left: 0; }
.qc-file-actions {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-left: auto;
}
.qc-review { display: inline-flex; flex-wrap: nowrap; gap: 6px; vertical-align: middle; white-space: nowrap; }
.qc-review .cta, .qc-review .ghost { padding: 6px 10px; font-size: 10px; flex: none; }
.qc-form-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  margin-bottom: 10px; background: #fffdf8;
}
.qc-form-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.qc-form-h h4 { margin: 0; font-size: 16px; }
.of-photo-del { width: fit-content; }
.qc-photos figure { position: relative; }
.qc-photos .ghost { margin-top: 6px; padding: 4px 8px; font-size: 11px; }
.is-user-hidden { display: none !important; }
#aucSilentHost > .acc-item,
#aucSilentHost > .acc-item > .acc-h,
#aucSilentAcc { overflow: visible; }
#aucSilentHost .sp-fold-amt.tip-wrap { cursor: help; z-index: 8; }
.acc-h .sp-fold-amt.tip-wrap[data-tip]:hover::after,
.acc-h .sp-fold-amt.tip-wrap[data-tip]:focus::after {
  left: auto;
  right: 0;
  bottom: auto;
  top: calc(100% + 8px);
  width: min(320px, 72vw);
  z-index: 80;
}
.acc-item:has(> .acc-h .sp-fold-amt) { overflow: visible; }
.qc-more { position: relative; flex-shrink: 0; }
.qc-more-btn {
  width: 32px; height: 32px; border: 0; background: transparent;
  cursor: pointer; color: var(--muted); font-size: 22px; line-height: 1;
  border-radius: 8px; padding: 0;
}
.qc-more-btn:hover, .qc-more-btn:focus { background: #f3ebe3; color: var(--wine); }
.qc-more-menu {
  position: absolute; right: 0; top: calc(100% - 2px);
  min-width: 180px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); z-index: 8; padding: 4px;
}
.qc-more-menu button {
  display: block; width: 100%; text-align: left;
  border: 0; background: none; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--wine);
}
.qc-more-menu button:hover { background: #f8ecec; }
.jg-col-menu .jg-col-pick { width: 100%; }
.jg-col-menu .jg-col-del { display: inline; width: auto; padding: 2px 4px; }
.jg-col-menu .jg-col-add button { display: inline-flex; width: auto; padding: 6px 10px; }
.qc-photos figure .qc-more {
  position: absolute; top: 6px; right: 6px; z-index: 2;
}
.qc-photos figure .qc-more-btn {
  background: rgba(255,253,248,.92); border: 1px solid var(--line);
}
.table td .qc-more { display: inline-flex; vertical-align: middle; }
.table .need-actions { gap: 8px; }
.table .need-actions .court-ad-up { margin-left: 14px; }
.table .court-empty-up { margin-left: 12px; display: inline-flex; gap: 8px; flex-wrap: wrap; vertical-align: middle; }
.file-preview .file-frame {
  width: 100%; min-height: 420px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff;
}
#titleTakenModal, #askModal, #ofAssignModal { z-index: 80; }
#askLead b { color: var(--wine); font-weight: 650; }
.title-taken-who {
  margin: 16px 0; font-family: var(--serif); font-size: 22px;
}
.title-taken-who .avatar-btn, .title-taken-who .avatar {
  width: 56px; height: 56px;
}
@media (max-width: 900px) {
  .payout-pair { grid-template-columns: 1fr; }
  .year-made, #national .year-made { grid-template-columns: 1fr; }
  .year-chart-wide .year-chart { height: 180px; }
}
.table .queen-head td {
  background: #f3ebe3; color: var(--ink); font-family: var(--serif);
  font-size: 18px; letter-spacing: .04em; padding: 12px 20px;
  cursor: pointer;
}
.table .queen-head.need td {
  background: #f8ecec;
  box-shadow: inset 5px 0 0 var(--late);
}
.table .queen-head.open td { background: #efe4d4; }
.table .queen-head .person { gap: 12px; color: var(--ink); }
.city-tag { font-family: var(--sans); font-size: 11px; letter-spacing: .06em; color: var(--muted); font-weight: 400; }
.table .queen-head .avatar-btn { width: 44px; height: 44px; }
.table .queen-head .avatar {
  width: 44px; height: 44px; border-color: var(--line);
}
.table .queen-head.need .avatar { border-color: var(--late); }
.qh-row { display: flex; align-items: center; gap: 12px; }
.city-tag { font-family: var(--sans); font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 400; }
.fold-btn {
  display: inline-block;
  width: 32px; height: 32px; border: 1px solid var(--line); background: var(--white);
  border-radius: 50%; cursor: pointer; padding: 0; flex-shrink: 0;
  position: relative; font-size: 0; color: transparent;
}
.fold-btn::before, .fold-btn::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--wine); transform: translate(-50%, -50%);
}
.fold-btn::before { width: 12px; height: 2px; }
.fold-btn::after { width: 2px; height: 12px; }
.queen-head.open .fold-btn { background: rgba(196,163,90,.22); }
.queen-head.open .fold-btn::after { display: none; }
.fold-btn:hover { border-color: var(--gold); background: #fff8ee; }
.file-row { cursor: pointer; }
.file-row:hover td { background: #faf4ea; }
.due-cell {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.due-cell .ghost, .due-cell .cta { margin-left: 0; }
.table tbody tr:last-child td { border-bottom: 0; }
#sponsors .table td:last-child,
#sponsors .table td.need-actions {
  display: table-cell;
  padding-top: 10px; padding-bottom: 10px; vertical-align: middle;
  white-space: nowrap; width: 1%;
}
#sponsors .table td.need-actions .need-actions,
#sponsors .table .need-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
#sponsors .table .need-actions .cta,
#sponsors .table .need-actions .ghost {
  padding: 6px 10px;
  font-size: 11px;
  margin-top: 0;
  line-height: 1.2;
  height: 32px;
  box-sizing: border-box;
}
#sponsors .table td.need-actions .qc-more {
  display: inline-flex;
  vertical-align: middle;
}
.sp-ad-pay {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.sp-ad-pay label {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; margin: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); font-size: 13px; cursor: pointer;
  white-space: nowrap;
}
.sp-ad-pay label:has(input:checked) {
  border-color: var(--gold);
  background: #fffdf8;
}
#sponsor-dash .dash-cards {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
#sponsor-dash .dash-card { min-height: 148px; }
#sponsor-dash .dash-card .note {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
#sponsor-dash .dash-card .pill {
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  letter-spacing: .04em;
  padding: 4px 8px;
}
#sponsor-dash .dash-card .pill.sp-pay-pill {
  cursor: pointer;
  color: var(--late);
  border-color: var(--late);
}
#spQueenList { margin-bottom: 16px; }
#spQueenList .card { overflow: visible; padding: 0; }
#spPageantList .card { padding: 0; }
#spQueensWrap .acc-b > .cta,
#spPlaceWrap .acc-b > .cta { margin-top: 4px; }
#spWantAdAdd, #spWantAdsWrap .acc-b > .cta { margin-top: 16px; }
#spWantAdList input { width: 100%; }
.sp-want-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#spWantAdList tfoot td { font-weight: 600; padding-top: 10px; }
#sponsor-dash .acc-item .acc-item {
  margin-top: 10px;
}
.book-req-h {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: 0 0 8px;
}
.book-req-h .person { min-width: 0; }
.sp-pg-more {
  position: absolute; top: 8px; right: 8px; z-index: 4;
}
.sp-card-photo { position: relative; display: block; overflow: visible; }
.sp-card-hit {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
}
.sp-card-hit img, .sp-card-photo > img {
  width: 100%; display: block;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
}
.sp-card-photo .qc-more-btn {
  background: rgba(255,253,248,.94);
  box-shadow: 0 1px 6px rgba(28,11,18,.18);
}
#spQueenList .card, #spPageantList .card { overflow: visible; }
#spQueenList .card .pad { position: relative; }
#dashModal td.sp-ad-act { text-align: right; min-width: 140px; padding-left: 24px; }
#spAssignAdModal .dates { margin-bottom: 10px; }
#spAssignAdModal .agree-row { margin: 0; }
#spAssignAdModal .field select,
#spAssignAdModal .field input,
#spAssignAdPriceWrap input {
  width: 100%;
  box-sizing: border-box;
}
#spAssignAdPriceWrap {
  display: grid;
  gap: 6px;
}
#spAssignAdPriceWrap[hidden] { display: none !important; }
.sp-assign-list {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf6f1;
}
.sp-assign-list h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.sp-assign-list .sp-assign-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.sp-assign-list .sp-assign-row:first-of-type { border-top: 0; padding-top: 0; }
.sp-assign-list .sp-assign-row .note { margin: 2px 0 0; }
#spYearBody td,
#spBody td {
  vertical-align: middle;
}
#spYearBody td.sp-year-act {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  padding-right: 4px;
}
#spYearBody td.sp-year-dots {
  width: 44px;
  text-align: right;
  padding-left: 0;
  white-space: nowrap;
}
#spYearBody td.sp-year-dots .qc-more {
  display: inline-flex;
  margin-left: 0;
}
#spYearBody .file-thumb {
  width: 28px; height: 28px;
}
#sponsors .pager { margin-top: 16px; }
#sponsors .acc-item { margin-top: 16px; }
#sponsors .acc-item.on { overflow: visible; }
#sponsors .acc-item .table { margin-top: 8px; }
#sponsors #spAddForm { margin-top: 0; }
#sponsors #spAddForm .cta { margin-top: 8px; }
#spYearBody td:nth-child(4) {
  white-space: normal;
  max-width: 320px;
}
#spOfferCard textarea {
  width: 100%; min-height: 88px; resize: vertical;
  padding: 12px 14px; font-size: 15px; line-height: 1.45;
  border: 1px solid var(--line); border-radius: 10px; background: #fffdf8;
}
#dashModal .dl-table td.file-actions { text-align: right; width: 48px; overflow: visible; }
#dashModal .unread-block { overflow: visible; }
#dashModal .qc-more-menu { z-index: 40; }
#dashModal .dl-table select {
  border: 1px solid var(--line); background: var(--white);
  padding: 8px 10px; border-radius: 8px; font-size: 14px; width: 100%;
  max-width: 220px;
}
.file-preview { margin-top: 12px; }
.file-preview img { max-width: 100%; border-radius: 8px; }
.file-link { color: var(--wine); cursor: pointer; text-decoration: underline; }
.file-link:hover { color: var(--gold); }
.acc-h:hover { background: #ead9c4; }
.card[data-go]:hover, .card[style*="cursor"]:hover { border-color: var(--gold); }
.need-card:hover { box-shadow: var(--shadow); }
.table .queen-head:hover td { filter: brightness(0.98); }
.pager {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 8px 0 14px; font-size: 13px; color: var(--muted);
}
.pager select {
  border: 1px solid var(--line); background: var(--white); padding: 6px 8px;
  border-radius: 8px; font-size: 13px;
}
.year-chart { width: 100%; height: 164px; display: block; margin-top: 8px; }
.year-chart-wrap .year-chart { margin-top: 0; }
.chart-hit { cursor: pointer; }
.tip {
  border-bottom: 1px dotted var(--gold); cursor: help; position: relative;
}
.tip:hover::after, .tip:focus::after,
.tip-wrap[data-tip]:hover::after,
.tip-wrap[data-tip]:focus::after {
  content: attr(data-tip);
  position: absolute; left: 0; bottom: calc(100% + 8px);
  width: min(280px, 72vw); background: #1c0b12; color: #f7f1e8;
  font-family: var(--sans); font-size: 13px; line-height: 1.45;
  letter-spacing: 0; text-transform: none; text-align: left; font-weight: 400;
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--gold); z-index: 200; white-space: normal;
  box-shadow: var(--shadow);
}
.need-list { display: grid; gap: 12px; margin: 12px 0 8px; }
.need-card {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff6f4; border: 1px solid #e8b4bc; border-left: 6px solid var(--late);
  padding: 14px 16px;
  cursor: pointer;
}
.need-card:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.need-card .avatar-btn { width: 52px; height: 52px; }
.need-card .avatar { width: 52px; height: 52px; border-color: var(--late); }
.need-card b { font-family: var(--serif); font-size: 22px; display: block; }
.need-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.need-card .need-copy { flex: 1; min-width: 180px; }
.need-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.table .need-actions .ghost, .table .need-actions .cta {
  display: inline-flex; align-items: center; line-height: 1.2;
}
.table .group-head td {
  background: #efe6d6; color: var(--muted); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
}
.table .answers { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  object-position: center top; border: 1px solid var(--line); flex-shrink: 0;
  background: #efe6d6; display: block;
}
.avatar-btn {
  padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 50%; display: inline-flex; line-height: 0;
  overflow: hidden; outline: none; appearance: none; -webkit-appearance: none;
  width: 36px; height: 36px; box-shadow: none;
}
.avatar-btn:hover, .avatar-btn:focus, .avatar-btn:focus-visible {
  outline: none; box-shadow: none;
}
.avatar-btn:hover .avatar, .avatar-btn:focus .avatar {
  box-shadow: 0 0 0 2px var(--gold);
}
.person { display: inline-flex; align-items: center; gap: 10px; }
.avatar-static {
  display: inline-flex; line-height: 0; border-radius: 50%;
  width: 36px; height: 36px; overflow: hidden; flex-shrink: 0;
}
.sp-added {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 0; line-height: 1.25;
}
.sp-added .note { margin: 0; font-size: 11px; }
.queen-card,
.pay-card.queen-card {
  position: relative; text-align: left; width: min(760px, 96vw);
  max-height: 90vh; overflow: auto; padding: 0 24px 24px;
}
.qc-x {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid rgba(196,163,90,.45); background: rgba(255,253,248,.92);
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
  display: grid; place-items: center; padding: 0; z-index: 3;
}
.qc-x:hover { border-color: var(--gold); color: var(--wine); }
.qc-hero {
  position: relative;
  height: 118px;
  margin: 0 -24px 68px;
  background:
    radial-gradient(ellipse 80% 90% at 50% 120%, rgba(232,213,163,.5), transparent 58%),
    linear-gradient(180deg, transparent 62%, rgba(196,163,90,.55) 100%),
    linear-gradient(128deg, #1c0b12 0%, #4a1424 38%, #6b1d32 72%, #c4a35a 100%);
  overflow: visible;
}
.qc-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--gold), var(--gold-soft), transparent);
}
.qc-photo-btn {
  position: absolute; left: 50%; bottom: 0;
  transform: translate(-50%, 50%);
  padding: 0; border: 0; background: transparent; cursor: default; line-height: 0; border-radius: 50%;
  z-index: 2;
}
.qc-photo {
  width: 124px; height: 124px; border-radius: 50%; object-fit: cover;
  object-position: center top; border: 3px solid #fffdf8;
  box-shadow: 0 10px 28px rgba(28,11,18,.28), 0 0 0 2px var(--gold);
}
.qc-identity { text-align: center; margin: 4px 0 14px; }
.qc-identity h3 { margin: 4px 0 6px; }
.qc-identity #qcContact { margin: 8px 0 0; font-size: 14px; }
.qc-identity #qcContact .qc-line { display: block; line-height: 1.55; }
.qc-identity #qcKicker { min-height: 1.2em; }
.title-table { margin: 0 0 16px; }
.title-table h3 { margin: 0; font-size: 22px; }
.title-table .fold-head {
  width: 100%; background: var(--white); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 10px; margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.title-table .fold-head[aria-expanded="true"] {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.title-table .fold-head .pill { margin-left: auto; }
.title-table .fold-head .fold-dir {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  font-family: var(--serif); font-size: 18px;
}
.title-table .fold-head .fold-dir .person { font-size: 18px; }
.title-table .fold-head .fold-dir .avatar,
.title-table .fold-head .fold-dir .avatar-static {
  width: 40px; height: 40px;
}
.title-table .fold-head .fold-dir .note { margin: 0; }
.nat-q-dir-bar {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.title-table:has(.nat-q-dir-bar .fold-head[aria-expanded="true"]) > .nat-q-dir-bar {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.nat-q-dir-bar > .fold-head {
  flex: 1; margin: 0; border: 0; border-radius: 0; width: auto;
}
.nat-q-dir-bar > .cta,
.nat-q-dir-bar > .ghost {
  flex-shrink: 0; margin: 0 12px 0 0;
}
.title-table.need-fold .need-count {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--wine);
  background: none;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1;
  padding: 0;
}
.title-table .fold-pane {
  margin: 0; padding: 12px 16px 16px;
  border: 1px solid var(--line); border-top: 0;
  background: var(--white); border-radius: 0 0 10px 10px;
}
.title-table .fold-pane > .title-table { margin: 10px 0 0; }
.title-table .fold-pane > .title-table .fold-head h3 { font-size: 18px; }
.nat-ads-dir {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 18px;
}
.nat-ads-dir .person { font-size: 18px; }
.nat-ads-dir .avatar, .nat-ads-dir .avatar-btn { width: 44px; height: 44px; }
.title-table .fold-pane > .note { margin-bottom: 10px; }
.title-table.need-fold .fold-head {
  background: #f8ecec;
  border-color: #e8b4bc;
}
.title-table.need-fold .fold-head[aria-expanded="true"] {
  background: #f3dce0;
}
.title-table.need-fold h3 { color: var(--wine); }
.title-table.need-fold .fold-head .pill { display: none; }
.qc-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 8px; justify-content: flex-start;
}
.qc-actions .cta, .qc-actions .ghost { text-decoration: none; display: inline-flex; align-items: center; }
.qc-actions [hidden] { display: none !important; }
.title-pending {
  display: grid; grid-template-columns: 1fr auto;
  gap: 10px; align-items: center;
  background: #faf4ea; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.title-pending strong { display: block; font-size: 15px; }
.title-pending .note { margin: 4px 0 0; }
.qc-footer-actions {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start;
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.qc-file {
  position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden;
}
.qc-photos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px;
}
.qc-photos figure { margin: 0; }
.qc-photos img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top;
  border-radius: 8px; border: 1px solid var(--line);
}
.qc-photos figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.qc-save-pick {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: #f3ebe3; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.qc-save-pick .note { margin: 0 8px 0 0; }
.acc-item { border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; overflow: hidden; background: var(--white); }
.acc-item.on { overflow: visible; }
#director .req-sec, #national .req-sec, #inbox .req-sec { margin-top: 10px; }
#director .req-sec .acc-b .acc-item, #national .req-sec .acc-b .acc-item, #inbox .req-sec .acc-b .acc-item { margin-top: 10px; }
#adsWrap.nat-ads-one > .acc-b > .acc-item {
  border: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
#adsWrap.nat-ads-one > .acc-b > .acc-item > .acc-h { display: none !important; }
#adsWrap.nat-ads-one > .acc-b > .acc-item > .acc-b { padding: 0; }
#director .req-sec .acc-b .acc-item:first-child,
#national .req-sec .acc-b .acc-item:first-child,
#inbox .req-sec .acc-b .acc-item:first-child { margin-top: 0; }
#queensGrid .card { overflow: visible; padding: 0; }
#queensGrid .queen-photo { overflow: hidden; border-radius: 0; }
.acc-item.of-form,
#ofBuildAcc { overflow: visible; margin-bottom: 12px; }
#ofBuildAcc > .acc-b { padding: 10px 12px 12px; }
#ofFormList { margin-top: 8px; }
.of-form-h {
  display: flex; align-items: stretch; background: #f3ebe3;
}
.of-form-h > .acc-h { flex: 1; min-width: 0; width: auto; }
.of-form-h > .qc-more {
  display: flex; align-items: center; padding: 0 8px;
  background: #f3ebe3; position: relative; z-index: 3;
}
#ofFormList .of-form > .acc-b { display: none; }
#ofFormList .of-form.on > .acc-b { display: block; }
.of-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 148px max-content max-content max-content;
  gap: 8px; align-items: center; margin-bottom: 8px;
}
.of-row input.of-label, .of-row select.of-type, .of-row .of-del, .of-row .of-req, .of-row .of-add {
  height: 40px; min-height: 40px; box-sizing: border-box;
}
.of-row input.of-label, .of-row select.of-type {
  border: 1px solid var(--line); background: var(--white);
  padding: 0 10px; border-radius: 8px; font-size: 14px; width: 100%;
  line-height: 40px;
}
.of-row .of-del, .of-row .of-add {
  padding: 0 12px; white-space: nowrap; display: inline-flex;
  align-items: center; justify-content: center; width: auto;
}
.of-row .of-add { min-width: 40px; padding: 0 10px; }
.of-req {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; white-space: nowrap;
  padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white);
}
.of-extras {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: center; margin: 12px 0 6px;
}
.of-extra {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); font-size: 13px; cursor: pointer;
}
.of-sign-wrap, .of-photo-wrap { display: grid; gap: 8px; }
.of-sign-pad, .of-photo-slot {
  width: 100%; height: 120px; box-sizing: border-box;
  border: 1px dashed var(--line); border-radius: 8px;
  background: #fffdf8; display: grid; place-items: center;
  color: var(--muted); font-size: 13px;
}
canvas.of-sign-pad { cursor: crosshair; display: block; touch-action: none; width: 100%; }
.e-sign-block {
  margin: 18px 0 8px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fffdf8;
}
.e-sign-block h3 { margin: 0 0 8px; font-size: 16px; }
.e-sign-audit {
  margin: 16px 0 0; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #faf6f1;
}
.e-sign-audit h3 { margin: 0 0 8px; font-size: 16px; }
.e-sign-audit p { margin: 4px 0; font-size: 13px; }
.e-sign-audit code { font-size: 11px; word-break: break-all; }
.e-sign-audit .seal-ok { color: var(--ok); }
.e-sign-audit .seal-bad { color: var(--late); }
.of-photo-btn { width: fit-content; }
.of-photo-prev {
  max-height: 120px; width: auto; max-width: 100%;
  border-radius: 8px; border: 1px solid var(--line);
  object-fit: contain; background: #fffdf8;
}
.of-answer-img {
  display: block; max-width: 220px; max-height: 160px;
  object-fit: contain; border: 1px solid var(--line);
  border-radius: 8px; margin: 4px 0 10px; background: #fffdf8;
}
#ofFormList .field input, #ofFormList .field select,
.queen-fill .field input, .queen-fill .field select,
[data-req-form] .field input, [data-req-form] .field select {
  height: 42px; min-height: 42px; box-sizing: border-box;
  padding: 0 12px; line-height: 42px;
}
@media (max-width: 700px) {
  .of-row {
    grid-template-columns: minmax(0, 1fr) 140px;
    grid-template-areas: "name type" "req del" "add add";
  }
  .of-row .of-label { grid-area: name; }
  .of-row .of-type { grid-area: type; }
  .of-row .of-req { grid-area: req; }
  .of-row .of-del { grid-area: del; width: 100%; }
  .of-row .of-add { grid-area: add; width: 100%; }
}
.acc-h {
  width: 100%; border: 0; background: #f3ebe3; padding: 12px 14px; cursor: pointer;
  font-family: var(--serif); font-size: 18px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.acc-h::after { content: "+"; font-size: 20px; color: var(--wine); width: 24px; text-align: center; }
.acc-item.on > .acc-h::after,
.acc-item.on > .of-form-h > .acc-h::after { content: "–"; }
.sp-fold-main {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-width: 0; text-align: left;
}
.sp-fold-main b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.sp-fold-main span { font-size: 13px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.acc-h .sp-fold-amt {
  margin-left: auto; margin-right: 4px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
.book-fold-acts {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center; flex-shrink: 0;
}
.book-fold-acts .cta,
.book-fold-acts .ghost {
  width: auto; margin: 0; padding: 6px 10px; font-size: 12px; white-space: nowrap;
}
.acc-h.acc-edit::after { display: none; }
.acc-edit-ico {
  width: 22px; height: 22px;
  stroke: var(--wine);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-left: auto;
}
.qc-acc .field { text-align: left; }
#qcTitleAcc .cta { margin-top: 10px; }
.acc-b { display: none; padding: 16px 18px 28px; }
#bookings .acc-item { margin-top: 12px; }
#bookings .acc-item:first-child { margin-top: 0; }
#pc-manage .acc-item { margin-top: 16px; }
#pc-manage .acc-item.on { overflow: visible; }
#pc-manage td.q-dots {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
}
#pc-manage .pc-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
}
#pc-manage .pc-actions .qc-more { flex-shrink: 0; }
#pc-manage .pc-actions .cta,
#pc-manage .pc-actions .ghost {
  padding: 6px 10px;
  font-size: 11px;
}
.pc-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.pc-photo-grid button {
  padding: 0; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #fffdf8; cursor: pointer;
}
.pc-photo-grid button.on { border-color: var(--gold); }
.pc-photo-grid img {
  width: 100%; height: 140px; object-fit: cover; object-position: center top;
  display: block;
}
.acc-item.on > .acc-b { display: block; }
#evUpAcc.ev-up-flat {
  border: 0; background: transparent; overflow: visible; margin-top: 0;
}
#evUpAcc.ev-up-flat > .acc-h { display: none; }
#evUpAcc.ev-up-flat > .acc-b { display: block; padding: 0; }
#evUpAcc:not(.ev-up-flat) { margin-top: 8px; }
#sponsor-dash .year-made-head {
  margin-top: 8px;
  justify-content: space-between;
  align-items: center;
}
#sponsor-dash .year-made-head > select { margin-right: auto; }
#spPayoutBtn { margin-left: auto; padding: 10px 14px; }
#sponsorMods { margin: 8px 0 18px; }
#sponsor-dash .year-made {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
#sponsor-dash .year-made-card .cta { margin-top: 0; align-self: auto; }
#sponsor-dash .year-made-amt .cta { margin-top: 0; margin-left: auto; }
#sponsor-dash #sponsorMods .year-made-card .pie-legend { display: none; }
#sponsor-dash .year-made-card.sp-book-card {
  position: relative;
}
#sponsor-dash .year-made-card.sp-book-card.has-bookings {
  background: #eef1f7;
  border-color: #4a5d8c;
}
#sponsor-dash .year-made-card.sp-book-card .year-made-h { padding-right: 28px; }
.dash-corner-count {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: #4a5d8c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 1;
  letter-spacing: 0;
}
.story-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 10px;
}
.story-head h3 { margin: 0; cursor: help; }
.story-head .avatar-btn { width: 64px; height: 64px; }
.story-head .avatar { width: 64px; height: 64px; border-color: var(--gold); }
.acc-b textarea, #qcBio {
  display: block; width: 100%; box-sizing: border-box;
  min-height: 132px; margin: 8px 0 10px;
  padding: 14px 16px; font-size: 15px; line-height: 1.5;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fffdf8; resize: vertical;
}
.qc-rm-ask { padding: 8px 0 2px; }
.qc-rm-ask p { margin: 0 0 8px; }
.qc-rm-ask .qc-actions { margin-top: 10px; }
.show-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #fffdf8; }
.show-card h4 { margin: 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--wine); }
.show-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.show-card textarea { width: 100%; min-height: 72px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-family: inherit; }
.queen-fill { margin-bottom: 16px; overflow: visible; }
.queen-fill h3 { margin: 8px 0; }
.queen-fill-h h3 .file-link,
.q-todo-item .file-link {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
  text-align: left;
}
.queen-fill-h h3 .file-link:hover,
.q-todo-item .file-link:hover { color: var(--gold); }
.q-status-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.q-todo-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.q-todo-item .qc-actions { margin: 0; }
.q-todo-pane {
  margin: 0 0 18px;
  padding: 14px 16px 16px;
  background: #faf6f1;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.q-todo-pane[hidden] { display: none !important; }
.q-todo-pane .q-todo-item {
  background: var(--white);
  margin-top: 10px;
  flex-direction: column;
  align-items: stretch;
}
.q-todo-pane .q-todo-item:first-child { margin-top: 0; }
.q-todo-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; width: 100%;
}
.q-todo-fill { width: 100%; margin-top: 12px; }
#crown .dash-card[data-qdash="todo"].on { border-color: var(--gold); box-shadow: var(--shadow); }
.due-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.queen-fill-h, .ef-host-h {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.queen-fill-h h3, .ef-host-h h3 { margin: 8px 0 4px; }
.card.ef-host-card { overflow: visible; }
.app-group {
  margin: 16px 0; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #fffdf8;
}
.app-group h3 { margin: 0 0 12px; font-size: 20px; }
.req-mark {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wine); border: 1px solid var(--gold); padding: 2px 8px; border-radius: 99px;
  font-family: var(--sans);
}
.app-lead { line-height: 1.5; margin: 0 0 16px; }
.fl-form-preview .field textarea { min-height: 88px; resize: vertical; }
.fl-form-preview { max-width: 640px; }
#flMrsAcc, #flMissAcc { margin-top: 10px; }
.queen-fill .field textarea { min-height: 88px; resize: vertical; }

.split-bars { display: grid; gap: 8px; }
.split-bars[hidden] { display: none !important; }
.bar { display: grid; grid-template-columns: 130px 1fr 56px; gap: 8px; align-items: center; font-size: 12px; }
.bar i { height: 8px; background: #ead9c4; display: block; border-radius: 99px; overflow: hidden; }
.bar i em { display: block; height: 100%; background: var(--gold); }
.bar.q i em { width: 77%; background: var(--gold); }
.bar.pl i em { width: 11%; background: #8a6a3a; }
.bar.p i em { width: 11%; background: var(--burgundy); }
.bar.p90 i em { width: 90%; background: var(--burgundy); }
.bar.fee i em { width: 10%; background: #8a6a3a; }
.bar.n i em { width: 1%; min-width: 4px; background: #5c3d52; }
.bar.c i em { width: 20%; background: #2f6b4f; }
.bar.z i em { width: 10%; background: #1c0b12; }

.share {
  background: #0e070a;
  color: var(--ivory);
}
#storyText {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 110px;
  resize: vertical;
}
.share-hero {
  min-height: 92vh;
  background:
    linear-gradient(180deg, rgba(14,7,10,.12), rgba(14,7,10,.78)),
    url("../assets/hero-queen.jpg") center 18%/cover;
  display: flex; align-items: flex-end;
  padding: 40px 8vw 48px;
}
.share-fund { margin-top: 18px; max-width: 28rem; }
#shareFundBars .share-fund + .share-fund { margin-top: 14px; }
.share-fund-h {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-size: 13px; color: var(--gold-soft);
}
.share-fund-track {
  height: 10px; border-radius: 99px; background: rgba(255,253,248,.18);
  overflow: hidden; margin: 8px 0 6px;
}
.share-fund-track i {
  display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px;
}
.share-fund .note { margin: 0; color: #d9cfc6; }
.pay-fund-track { background: #ead9c4; margin: 8px 0 12px; }
.pay-fund-track i { background: var(--wine); }
.share-fund-item {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px 14px; margin: 10px 0; max-width: 22rem;
}
.share-fund-kind, .share-fund-need, .share-fund-other {
  width: 100%; max-width: 22rem; border: 1px solid var(--line);
  background: #1f1116; color: var(--ivory); padding: 10px 12px; border-radius: 8px;
}
#shareFundAdd { margin: 4px 0 8px; }
.share-fund-remove { margin-top: 10px; }
.queen-photo { position: relative; display: block; }
.queen-photo img { cursor: pointer; }
.share-hero h1 { font-size: clamp(42px, 8vw, 84px); margin: 8px 0 6px; }
.counters { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.counters div b { font-family: var(--serif); font-size: 28px; color: var(--gold); display: block; }
.actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.actions [hidden] { display: none !important; }
.actions .tip { border-bottom: 0; }
.actions .share-attn {
  box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(196,163,90,.5);
}
.share-modal-actions { margin-top: 28px !important; margin-bottom: 8px !important; }
.share-add-charity { margin: 12px 0 24px; }
#payAddCharityWrap { margin: 0 0 24px; }
#payCharityForm .cta,
#charityForm .cta { margin: 12px 0 24px; }
.share-mode {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 8vw; background: rgba(14,7,10,.94);
  border-bottom: 1px solid var(--line); position: sticky; top: 70px; z-index: 25;
}
.share-mode[hidden] { display: none !important; }
.share-mode-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ivory);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 13px;
}
.share-mode-btn.on { background: var(--gold); color: #1c0b12; border-color: var(--gold); }
.share-mode .note { color: #d9cfc6; margin: 0; flex: 1; min-width: 12ch; }
.share-mode .share-copy { margin-left: auto; }
.share-edit[hidden] { display: none !important; }
.share-edit-sec { margin: 14px 0 0; max-width: 28rem; }
.share-edit-sec > label:first-child { margin-top: 0; }
.share-hide-drop {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px 10px;
  background: rgba(14,7,10,.45);
}
.share-hide-drop summary {
  cursor: pointer;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  list-style: none;
}
.share-hide-drop summary::-webkit-details-marker { display: none; }
.share-hide-drop summary::after { content: "+"; float: right; color: var(--gold); font-size: 16px; line-height: 1; }
.share-hide-drop[open] summary::after { content: "–"; }
.share-hide-drop .agree-row:first-of-type { margin-top: 12px; }
.event-page .acc-item .acc-item .sa-ledger-wrap {
  margin: 0; padding: 0; border: 0; background: transparent;
}
.share-edit label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin: 12px 0 6px; }
.share-edit .agree-row {
  display: flex; align-items: flex-start; gap: 10px;
  letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--ivory);
  margin: 10px 0 4px; cursor: pointer;
}
.share-edit .agree-row input { margin-top: 3px; }
.share-edit .note { color: #d9cfc6; }
.share-edit textarea {
  width: 100%; border: 1px solid var(--line); background: #1f1116; color: var(--ivory);
  padding: 10px 12px; border-radius: 8px; resize: vertical;
}
.share-book { margin-top: 36px; }
.share-book h3 { margin-top: 0; }
.book-sec { margin-top: 56px; padding-top: 12px; border-top: 1px solid var(--line); }
.book-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.book-cat {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 13px;
}
.book-cat.on { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.book-sec .tk-price, .share-book h3 + .note + .grid-3 .tk-price {
  font-family: var(--serif); font-size: 26px; margin: 6px 0 10px; color: var(--wine);
}
.share-book .card h3 { font-size: 26px; color: var(--gold); }
.book-offer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.book-offer input[type="number"] { width: 110px; }
.ledger .book-offer { border-color: rgba(196,163,90,.2); }
.ledger .book-offer input[type="number"], .ledger .book-offer input[type="checkbox"] {
  background: #160b10; color: var(--ivory); border: 1px solid var(--line); padding: 8px 10px; border-radius: 8px;
}
.actions .cta { font-size: 13px; padding: 14px 22px; }
.ledger { background: #160b10; padding: 48px 8vw; overflow: visible; }
#shareCauseCard .cause-amt {
  display: flex; gap: 28px; flex-wrap: wrap; margin: 14px 0 10px;
}
#shareCauseCard .cause-amt b {
  font-family: var(--serif); font-size: 28px; color: var(--gold); display: block;
}
#shareCauseCard .cause-amt span {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cbb;
}
#shareCauseCard .don-chart-row {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 8px 0 6px;
}
#shareCauseCard .year-chart-wrap { margin: 0; }
#shareCauseCard .don-pie { max-width: 168px; }
#shareCauseCard .pie-legend { display: none; }
.q-copy-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; width: 100%; justify-content: center;
}
.q-copy-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.q-dash-help {
  margin: 6px 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
}
#crown > .main > h2 + .q-dash-help { margin-top: 8px; margin-bottom: 4px; }
.q-dash-card .cta { margin-top: 8px; }
#crown .year-made-card .cta { margin-top: 0; align-self: auto; }
.don-ch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.don-ch-logo {
  width: 48px; height: 48px; object-fit: contain; flex-shrink: 0;
  background: #fff; border-radius: 10px; padding: 6px;
  border: 1px solid var(--line);
}
#shareCauseCard .pie-leg b { color: var(--gold); }
#shareCauseCard .don-ch { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
#shareCauseCard .don-ch-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#shareCauseCard .don-ch-h b { color: var(--ivory); }
#shareCauseCard .don-ch .note { margin: 4px 0 0; }
#share .split-bars .tip { z-index: 4; }
#share .split-bars .tip:hover,
#share .split-bars .tip:focus { z-index: 20; }
#share .split-bars .tip:hover::after,
#share .split-bars .tip:focus::after {
  bottom: auto;
  top: calc(100% + 8px);
  left: 0;
  width: min(300px, 70vw);
}
.ledger .card { background: #1f1116; color: var(--ivory); border-color: var(--line); padding: 24px; box-shadow: none; }
#shareCauseCard { overflow: visible; position: relative; z-index: 6; }
.ledger .card:has(> img) { padding: 0; }

.studio {
  display: grid; grid-template-columns: 280px 1fr 280px; min-height: 78vh; background: #1a1214; color: var(--ivory);
}
.studio aside { padding: 20px; border-right: 1px solid var(--line); }
.studio aside:last-child { border-right: 0; border-left: 1px solid var(--line); }
.canvas {
  margin: 24px auto; background: white; color: #111; width: min(420px, 90%);
  min-height: 560px; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.sign-canvas {
  width: 320px; height: 420px; margin: 40px auto; display: grid; place-items: center;
  border: 12px solid var(--gold); background: var(--ivory); color: var(--wine);
  text-align: center; padding: 20px;
}
.sign-canvas h2 { font-size: 42px; margin: 12px 0; }

.footer {
  background: var(--wine-deep); color: #d8ccc3;
  padding: 20px 8vw 22px;
  border-top: 1px solid rgba(196,163,90,.35);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px;
  align-items: center; font-size: 12px;
}
.footer a { color: var(--gold-soft); cursor: pointer; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.footer a:hover { color: var(--gold); }
.footer .foot-left { justify-self: start; }
.footer .foot-mid { justify-self: center; text-align: center; color: #eadfd6; letter-spacing: .02em; }
.footer .foot-right { justify-self: end; text-align: right; }
@media (max-width: 700px) {
  .footer { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .footer .foot-left, .footer .foot-mid, .footer .foot-right { justify-self: center; text-align: center; }
}

.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; }
.field[hidden] { display: none !important; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--white); padding: 10px 12px; border-radius: 8px;
}
.progress { height: 8px; background: #ead9c4; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--gold); }

.toast {
  position: fixed; bottom: 20px; right: 20px; background: var(--wine-deep); color: var(--ivory);
  padding: 12px 16px; border: 1px solid var(--gold); display: none; z-index: 80;
}
.toast.on { display: block; }

.auth-screen { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(580px, 100%); background: var(--white); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }
.auth-logo {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  display: block; margin: 0 0 12px;
}
.auth-card h2 { margin: 4px 0 8px; font-size: 36px; }
.auth-card .field { margin-bottom: 12px; }
.auth-card .field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.auth-card .field .agree-row,
#profile .agree-row {
  display: flex; align-items: flex-start; gap: 10px;
  text-transform: none; letter-spacing: 0; font-size: 14px;
  color: var(--ink); font-weight: 400; line-height: 1.4;
  max-width: 100%; white-space: normal; margin: 0;
}
.auth-card .field .agree-row span,
#profile .agree-row span {
  flex: 1; min-width: 0; white-space: normal;
}
#profile .agree-row > label {
  display: flex; align-items: flex-start; gap: 10px;
  flex: 1; min-width: 0; margin: 0; cursor: pointer;
}
#profile .agree-row > .tip-ico { flex: 0 0 auto; margin-top: 2px; }
#profile .auth-card,
#profile .auth-card .field,
#profile .acc-b { min-width: 0; overflow: visible; }
#profile .acc-item,
#profile .acc-item.on,
#profile .acc-item.on > .acc-b { overflow: visible; }
#profile .tip-wrap[data-tip]:hover::after,
#profile .tip-wrap[data-tip]:focus::after,
#profile .tip[data-tip]:hover::after,
#profile .tip[data-tip]:focus::after {
  content: none !important;
  display: none !important;
}
.live-tip {
  position: fixed;
  z-index: 10000;
  background: #1c0b12;
  color: #f7f1e8;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  max-width: min(280px, calc(100vw - 24px));
  pointer-events: none;
  white-space: normal;
}
.live-tip[hidden] { display: none !important; }
.auth-card .field input, .auth-card .field select, .auth-card .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 12px; border-radius: 10px; font-size: 15px;
}
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 12px 0 16px; }
.role-grid label {
  border: 1px solid var(--line); padding: 10px 8px; border-radius: 12px; cursor: pointer; font-size: 13px;
  text-align: center;
}
#signupPastRow { margin: 8px 0 4px; }
#fields-queen .dates { margin: 0 0 10px; }
#signupPastRow[hidden] { display: none !important; }
#signupStep1[hidden] { display: none !important; }
#signupCompeteWrap[hidden] { display: none !important; }
.signup-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
}
#signupForm .signup-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 12px;
  margin: 16px 0;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(28, 11, 18, .06);
}
#signupForm .signup-step .signup-h {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
#signupForm #signupPastRow { margin: 16px 0; }
#signupForm #signupPastWrap { margin-top: 10px; }
#fields-director[hidden],
#fields-sponsor[hidden],
#fields-queen[hidden] { display: none !important; }
.auth-card:has(#signupForm) { width: min(640px, 100%); }
#feedbackTable td.fb-note { max-width: 340px; white-space: normal; line-height: 1.45; }
#feedbackAdminBox .nat-dir-tools { justify-content: flex-end; margin: 0 0 12px; }
#feedback .acc-item { margin-top: 12px; }
#feedback .acc-item.on { overflow: visible; }
.agree-row[hidden] { display: none !important; }
.role-grid label.on { border-color: var(--gold); background: rgba(196,163,90,.12); }
.role-grid input { display: none; }
.auth-err { color: var(--late); font-size: 13px; min-height: 0; margin: 8px 0; }
#profileTitleNote:empty { display: none; }
.auth-err:empty { display: none; }
#signupErr { display: none; }
.who { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; }
.who button { font-size: 11px; }
.acct { position: relative; }
.acct-btn {
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--gold);
  border-radius: 50%; background: transparent; cursor: pointer; overflow: hidden;
  flex-shrink: 0;
}
.acct-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  object-position: center top; display: block;
}
.acct-menu {
  position: absolute; right: 0; top: 48px; min-width: 200px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: 6px; z-index: 60;
}
.acct-menu button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0;
  padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink);
  letter-spacing: 0; text-transform: none; font-weight: 500;
}
.acct-menu button[hidden] { display: none !important; }
.acct-menu button:hover { background: rgba(196,163,90,.12); }
.hide-page-wrap { position: relative; flex-shrink: 0; }
.hide-page-wrap[hidden] { display: none !important; }
.hide-page-btn {
  background: transparent; border: 1px solid var(--line);
  color: var(--muted); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 20px; line-height: 1; padding: 0;
}
.hide-page-btn:hover, .hide-page-btn:focus { border-color: var(--gold); color: var(--wine); }
.hide-page-menu { min-width: 160px; top: calc(100% + 4px); left: auto; right: 0; }
.page-title-with-hide {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 16px;
}
.page-title-with-hide h2 { margin: 0; }
#bookings .page-title-with-hide { margin-bottom: 18px; }
#bookings #myBookList { margin-top: 4px; }
.page-title-with-hide .hide-page-wrap,
.year-title-row .hide-page-wrap { margin-left: auto; }
.year-title-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.year-made-head.is-year-made-empty { display: none !important; }
#hideModal .pay-card { width: min(440px, 100%); }
#hideModalList {
  max-height: min(50vh, 420px); overflow: auto; margin: 8px 0 4px;
}
.hide-pick-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid var(--line);
  cursor: pointer; font-size: 14px;
}
.hide-pick-row:last-child { border-bottom: 0; }
.hide-pick-row input { width: 18px; height: 18px; flex-shrink: 0; }
.hide-pick-row span { min-width: 0; }
.admin-bar {
  display: none; background: #c4a35a; color: #1c0b12; padding: 8px 28px;
  font-size: 13px; align-items: center; gap: 12px;
}
.admin-bar.on { display: flex; }
.admin-bar select { border: 0; padding: 6px 8px; border-radius: 8px; }

.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 20px; }
.dates.three { grid-template-columns: 1fr 1fr 1fr; }
.auc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
}
.auc-head h2 { margin: 0 0 8px; }
.auc-head .note { margin: 0; }
.auc-head .cta { flex-shrink: 0; margin-top: 8px; }
#aucListAhBtnWrap {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}
.ebay-bar {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px;
  margin: 18px 0 24px;
}
.ebay-bar.two { grid-template-columns: 1fr 1fr; }
.ebay-bar.queens-bar {
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
}
#queensBookPanel .ebay-bar.queens-bar {
  grid-template-columns: 1.6fr 1fr;
  align-items: stretch;
}
.ebay-bar input, .ebay-bar select {
  border: 1px solid var(--line); background: var(--white);
  padding: 12px 14px; border-radius: 10px; font-size: 14px;
}
.photo-pick {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px;
  align-items: start; margin-bottom: 14px;
  min-width: 0; width: 100%;
}
.photo-pick img {
  width: 140px; height: 180px; max-width: 100%;
  object-fit: cover; border-radius: 8px;
  background: #efe6d6; border: 1px solid var(--line);
}
.lot-meta { font-size: 13px; color: var(--muted); }
.list-form .cta { margin-top: 8px; }
#aucSilentHost > .acc-item { margin-top: 10px; }
#aucSilentHost .acc-item .acc-item { margin-top: 8px; background: #faf6f1; }
#aucSilentHost .acc-item .acc-item > .acc-h { font-size: 16px; background: #efe4d8; }
#my-auctions #aucListAcc { margin: 8px 0 20px; }
#my-auctions #aucListAcc > .acc-b { padding: 16px 18px 20px; }
#lotListModal .pay-card {
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
}
#lotListModal .list-form { padding: 0; margin: 0; }
#lotListModal .list-form > .cta { margin-top: 0; }
#spCcAdAddWrap { margin: 24px 0 4px; padding-top: 8px; }
.time-pick {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.time-pick .time-hh,
.time-pick .time-mm {
  width: auto; min-width: 4.6rem;
  font-size: 17px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white);
}
.time-colon {
  font-size: 22px; font-weight: 600; color: var(--ink);
  line-height: 1;
}
.time-ampm {
  display: flex; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px;
}
.time-ampm-btn {
  border: 0; background: #f3ebe3; color: var(--muted);
  padding: 10px 18px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
}
.time-ampm-btn + .time-ampm-btn { border-left: 1px solid var(--line); }
.time-ampm-btn.on {
  background: var(--gold); color: #1c0b12;
}
.time-ampm-btn:not(.on):hover { color: var(--ink); }
#my-auctions .ah-lot-fold .pager { margin-top: 12px; }
#lotBidPager { margin-top: 12px; }
.qa-head {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px;
  align-items: center; margin-top: 20px;
}
.qa-head img {
  width: 160px; height: 210px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line);
}
.modal-pay {
  display: none; position: fixed; inset: 0; z-index: 70;
  background: rgba(28,11,18,.72); place-items: center; padding: 20px;
}
.modal-pay.on { display: grid; }
#dashModal { z-index: 70; }
#payModal, #bookModal { z-index: 85; }
#ticketPrintModal, #ticketBuyModal { z-index: 92; }
.pay-card { width: min(420px, 100%); background: var(--white); padding: 28px; border: 1px solid var(--line); }
#payModal .pay-card { max-height: 90vh; overflow-y: auto; }
.pay-card h3 { margin-top: 0; }
.note { font-size: 13px; color: var(--muted); }
.note.warn { color: var(--wine); background: rgba(74,20,36,.06); border: 1px solid var(--gold); padding: 12px 14px; }
.legal { max-width: 820px; }
#profile .auth-card { max-width: 560px; text-align: left; }
#profile .acc-item { margin-top: 10px; }
#profile .acc-item:not(.on) > .acc-b { display: none !important; }
#profile .acc-item.on > .acc-b { display: block; }
#profile .cta[type="submit"] { margin-top: 16px; }
.profile-photo-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px;
}
.profile-photo-kind { display: grid; gap: 6px; margin: 10px 0 4px; }
.profile-photo-kind[hidden] { display: none !important; }
.profile-photo-kind .agree-row { margin: 0; }
.profile-photo-preview {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  object-position: center top; border: 1px solid var(--line); background: #efe6d6;
  flex-shrink: 0; display: block;
}
.profile-photo-preview.is-logo,
.avatar.is-logo {
  border-radius: 12px; object-fit: contain; object-position: center; background: #fff;
}
.profile-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.talent-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
#talentGrid .card img.is-logo {
  object-fit: contain; object-position: center; background: #fff;
}
#entryBuyQNote.warn { color: var(--late); }
#profileTitleWrap.on > .profile-title-b {
  padding: 20px;
  display: grid;
  gap: 20px;
}
#profileTitleWrap .profile-year,
#profileTitleWrap .profile-won {
  display: grid;
  gap: 16px;
}
#profileTitleWrap .profile-title-b .field {
  margin: 0;
  gap: 8px;
}
#profileTitleWrap .profile-title-b .field label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
#profileTitleWrap .profile-title-b .agree-row {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  overflow: visible;
}
#profileTitleWrap .profile-year,
#profileTitleWrap .profile-title-b,
#profileTitleWrap .agree-row label,
#profileTitleWrap .agree-row span {
  overflow: visible;
}
#profileTitleWrap .agree-row .tip-wrap[data-tip]:hover::after,
#profileTitleWrap .agree-row .tip-wrap[data-tip]:focus::after {
  left: auto;
  right: 0;
  bottom: auto;
  top: calc(100% + 8px);
  width: min(260px, calc(100vw - 48px));
}
#profile .tip-ico.tip-wrap[data-tip]:hover::after,
#profile .tip-ico.tip-wrap[data-tip]:focus::after {
  left: auto;
  right: 0;
  width: min(260px, calc(100vw - 48px));
}
#profileTitleWrap .profile-won {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
#profileTitleWrap .profile-won h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}
#profileTitleWrap .profile-won .dates {
  margin: 0;
  gap: 12px;
}
#profileTitleWrap .profile-won .ghost { justify-self: start; }
.charity-line { color: var(--wine); margin: 2px 0; }
.charity-lines { margin: 8px 0; }
.awards-fold { margin: 10px 0 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fffdf8; }
.awards-fold summary { cursor: pointer; color: var(--wine); font-size: 13px; font-weight: 600; }
.awards-fold ul { margin: 8px 0 0; padding-left: 18px; }
.awards-fold li { font-size: 13px; margin: 4px 0; }
.lot-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.lot-link:hover { border-color: var(--gold); }

.combine-row {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.combine-row input { width: 18px; height: 18px; }
#combineTitleModal .qc-actions { margin-top: 24px; }
#combineTitleList { margin: 8px 0 4px; }
.pay-pkgs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pay-pkgs button.on { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.tk-hero { margin-bottom: 18px; }
.tk-hero #evLead { margin: 8px 0 0; max-width: 42rem; }
.tk-soq { margin: 8px 0 8px; }
.ev-nights { margin: 0 0 22px; }
.ev-card-pic { position: relative; }
.ev-date {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  min-width: 46px; padding: 6px 8px; border-radius: 10px;
  background: rgba(255,253,248,.94); text-align: center; line-height: 1.05;
  box-shadow: 0 8px 18px rgba(28, 11, 18, .12);
}
.ev-date b { display: block; font-family: var(--serif); font-size: 20px; color: var(--wine); }
.ev-date small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-empty { text-align: center; padding: 36px 16px 28px; }
.ev-empty .note { margin: 0 0 14px; }
#evNightsGrid.ev-empty-grid {
  grid-template-columns: 1fr;
}
.ev-empty-card {
  text-align: center;
  max-width: 32rem;
  margin: 4px auto 8px;
  padding: 44px 32px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(28, 11, 18, .07);
}
.ev-empty-cal {
  width: 76px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 10px;
  box-shadow: inset 0 14px 0 var(--wine);
}
.ev-empty-cal b {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--wine);
  line-height: 1;
}
.ev-empty-cal small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ev-empty-card h3 { margin: 0 0 8px; font-size: 34px; }
.ev-empty-card .note { margin: 0 auto 20px; max-width: 24rem; line-height: 1.5; }
.ev-empty-card .cta { margin: 0 auto; }
.pb-offer { margin: 18px 0 8px; }
.pb-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 12px;
}
.pb-price-card {
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--gold), var(--gold-soft)) 0 0 / 100% 3px no-repeat,
    linear-gradient(165deg, #fffdf9 0%, #f4eadc 100%);
}
.pb-price-card span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.pb-price-card b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.pb-price-card small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
  font-size: 13px;
}
@media (max-width: 800px) {
  .pb-price-grid { grid-template-columns: 1fr; }
}
.su-splash { margin: 18px 0 8px; }
.su-splash-hero {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.su-splash-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.su-splash-copy {
  position: relative; z-index: 1;
  min-height: 280px;
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(28,11,18,.12) 0%, rgba(28,11,18,.78) 70%);
  color: var(--ivory);
}
.su-splash-copy .kicker { color: var(--gold-soft); margin: 0 0 6px; }
.su-splash-copy h3 {
  margin: 0 0 8px; font-size: 36px; color: var(--ivory); max-width: 16ch;
}
.su-splash-copy p { margin: 0; max-width: 36rem; line-height: 1.5; color: #f7f1e8; }
.su-splash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.su-splash-tile {
  text-align: left;
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--gold), var(--gold-soft)) 0 0 / 100% 3px no-repeat,
    linear-gradient(165deg, #fffdf9 0%, #f4eadc 100%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.su-splash-tile::before { display: none; }
.su-splash-tile:hover, .su-splash-tile:focus {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(74, 20, 36, .12);
  transform: translateY(-3px);
  outline: none;
}
.su-splash-tile.su-splash-note {
  cursor: default;
}
.su-splash-tile.su-splash-note:hover,
.su-splash-tile.su-splash-note:focus {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.su-splash-tile span {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.su-splash-tile small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .su-splash-grid { grid-template-columns: 1fr 1fr; }
  .su-splash-copy h3 { font-size: 28px; }
}
@media (max-width: 520px) {
  .su-splash-grid { grid-template-columns: 1fr; }
}
.invite-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(28, 11, 18, .07);
  max-width: 38rem;
  margin: 4px auto 12px;
}
.invite-card > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 30%;
}
.invite-card-b {
  padding: 22px 26px 26px;
  text-align: center;
}
.invite-card h3 { margin: 0 0 8px; font-size: 30px; }
.invite-card .note { margin: 0 auto 18px; max-width: 30rem; line-height: 1.55; }
.invite-card .cta { margin: 0 auto; width: auto; }
#sp-dons .sp-don-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#sp-dons .sp-don-stats .stat.dash-card { min-height: 132px; }
.sp-proof-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin: 0 0 14px;
}
.sp-proof-bar .note { margin: 0; flex: 1; min-width: 16rem; }
.sp-proof-bar .cta { flex-shrink: 0; }
.sp-don-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sp-don-card { min-height: 168px; }
.sp-don-card-top {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
}
.sp-don-card-top .dash-card-h { flex: 1; min-width: 0; }
.sp-don-card .pill { margin-top: 8px; align-self: flex-start; }
.sp-don-card-act {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px;
}
.sp-don-card-act .shot-pick { margin: 0; }
.sp-don-splash-act {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.sp-don-splash-act .cta,
.sp-don-splash-act .ghost { margin: 0; width: auto; }
#spDonProofModal .pay-card { width: min(520px, 100%); overflow: visible; }
@media (max-width: 800px) {
  #sp-dons .sp-don-stats,
  .sp-don-grid { grid-template-columns: 1fr; }
}
.pb-tpl-row { display: flex; gap: 10px; margin: 0 0 22px; }
.pb-tpl {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: var(--white);
  padding: 8px 14px 8px 8px; border-radius: 12px; cursor: default;
  font-size: 14px;
}
.pb-tpl.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 163, 90, .18); }
.pb-tpl-swatch {
  width: 42px; height: 54px; border-radius: 4px; flex-shrink: 0;
  background:
    linear-gradient(180deg, #4a1424 0 38%, transparent 38%),
    linear-gradient(180deg, #f7f1e8, #efe6d6);
  border: 1px solid var(--line);
  box-shadow: inset 0 18px 0 rgba(196, 163, 90, .35);
}
.mag-book {
  display: grid; gap: 28px;
  width: min(612px, 100%);
  margin: 0 auto;
}
.mag-page {
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(28, 11, 18, .1);
  width: 100%;
  aspect-ratio: 8.5 / 11;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.mag-cover { background: #1c0b12; color: var(--ivory); }
#teamAddModal .pay-card { width: min(520px, 100%); overflow: visible; }
#teamAddModal .cta { width: auto; }
#natTodoMineModal .pay-card { width: min(480px, 100%); }
#natTodoAskModal .pay-card { width: min(560px, 100%); max-height: 90vh; overflow: auto; }
#natTodoMineModal .cta, #natTodoAskModal .cta { width: auto; }
.mag-cover-photo { z-index: 0; }
.mag-cover-veil {
  position: relative; z-index: 1;
  flex: 1;
  min-height: 0;
  padding: 8% 9% 10%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(28,11,18,.12) 0%, rgba(28,11,18,.82) 68%);
  pointer-events: none;
}
.mag-cover-veil [contenteditable] { pointer-events: auto; }
.mag-cover-veil small {
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-size: 11px;
}
.mag-cover-veil h2 {
  font-size: clamp(28px, 8vw, 48px); line-height: 1.05; margin: 8px 0 6px; color: var(--ivory); max-width: 14ch;
}
.mag-cover-veil p { margin: 0; color: var(--gold-soft); font-size: 16px; }
.mag-inner {
  padding: 8% 9% 9%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}
.mag-kicker {
  letter-spacing: .18em; text-transform: uppercase; color: var(--wine);
  font-size: 11px; margin: 0 0 6px;
}
.mag-inner h3 { font-size: clamp(22px, 5vw, 32px); margin: 0 0 12px; }
.mag-letter p { font-size: 15px; line-height: 1.55; max-width: none; overflow: hidden; }
.mag-sign { margin-top: auto; padding-top: 16px; font-family: var(--serif); font-size: 16px; }
.mag-court-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 10px;
  margin-top: 10px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.mag-court-card {
  text-align: center; min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mag-court-card .mag-photo-edit { flex: 1; min-height: 0; display: block; overflow: hidden; }
.mag-court-card img {
  width: 100%; height: 100%; max-height: none; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border: 1px solid var(--line);
}
.mag-court-card b {
  display: block; margin-top: 4px; font-family: var(--serif);
  font-size: 12px; font-weight: 500; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; flex: none;
}
.mag-court-card span {
  display: block; font-size: 10px; color: var(--wine); line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; flex: none;
}
.mag-queen-page .mag-queen-hero {
  height: 56%;
  flex: none;
  display: block;
}
.mag-queen-page .mag-queen-hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.mag-queen-copy {
  padding: 5% 9% 9%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.mag-queen-copy h3 {
  font-size: clamp(22px, 5vw, 30px); margin: 0 0 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.mag-title {
  margin: 0 0 8px; color: var(--wine); font-family: var(--serif);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.mag-queen-copy p {
  font-size: 13px; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-ad-page { background: #f3ebe3; }
.mag-ad-bleed { position: absolute; inset: 0; display: block; }
.mag-ad-bleed img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mag-ad-live {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10%;
  gap: 8px;
}
.mag-ad-live h3, .mag-ad-live b { font-family: var(--serif); font-size: 28px; margin: 0; }
.mag-ad-live span { color: var(--muted); font-size: 13px; }
.mag-ad-caption {
  position: absolute; left: 9%; right: 9%; bottom: 8%;
  font-family: var(--serif); font-size: 16px; color: var(--ivory);
  text-shadow: 0 1px 8px rgba(28,11,18,.55);
}
.mag-pgno {
  position: absolute; bottom: 3.2%; left: 0; right: 0;
  text-align: center; font-size: 10px; letter-spacing: .14em; color: var(--muted);
}
.pb-add-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 18px 0 8px; padding: 12px 14px;
  border: 1px dashed var(--line); border-radius: 12px; background: var(--white);
}
.pb-add-bar span {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px;
}
.pb-add-bar .ghost { width: auto; padding: 6px 10px; font-size: 12px; }
.mag-tools {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: flex; gap: 4px;
}
.mag-tools button {
  width: auto; padding: 4px 8px; font-size: 11px;
  background: rgba(255,253,248,.92); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.mag-cover .mag-tools button { background: rgba(28,11,18,.7); color: var(--ivory); border-color: rgba(232,213,163,.4); }
.mag-photo-edit { cursor: pointer; }
.mag-photo-edit input { display: none; }
.mag-cover-photo { position: absolute; inset: 0; }
.mag-cover-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%; opacity: .55;
}
.mag-book [contenteditable] { outline: none; cursor: text; border-radius: 4px; }
.mag-book [contenteditable]:hover { box-shadow: inset 0 0 0 1px rgba(196,163,90,.45); }
.mag-book [contenteditable]:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.mag-slot-x {
  position: absolute; top: 8px; right: 8px;
  border: 0; background: rgba(255,253,248,.9); cursor: pointer; border-radius: 50%;
  width: 24px; height: 24px; line-height: 1;
}
.mag-queen, .mag-court-card, .mag-ad { position: relative; }
.mag-ad-add {
  margin-top: 12px;
  font-size: 12px;
  color: var(--wine);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mag-queen-page, .mag-court-card, .mag-ad-page { position: relative; }
@media (max-width: 800px) {
  .mag-cover-veil h2 { font-size: 28px; }
  .mag-court-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invite-card > img { height: 180px; }
}
.ev-card { transition: transform .18s ease, box-shadow .18s ease; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ev-card .pad h3 { margin: 8px 0 4px; font-size: 26px; }
#events .grid-3 .card { overflow: hidden; }
.ev-nights > .tk-event-h { margin-bottom: 14px; align-items: center; }
.ev-nights h3 { margin: 0; }
.tk-soq-h { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tk-soq-h img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.tk-soq-h h3 { margin: 4px 0 0; }
.tk-soq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
#events .acc-item { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
#events .acc-item.on { overflow: visible; }
#events .acc-item[hidden] { display: none !important; }
#events .acc-b { padding: 16px 18px 18px; }
#events .acc-item .acc-item { margin: 0 0 10px; background: #faf6f1; }
#events .acc-item .acc-item > .acc-h { font-size: 16px; background: #efe4d8; }
#tkMineOrders { margin-top: 22px; }
.sa-share-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.sa-share-actions .ghost {
  opacity: .7; padding: 8px 12px; font-size: 10px;
}
.sa-when-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.sa-fee-tip { margin-left: 0; flex-shrink: 0; }
.sa-fold-actions {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  margin-top: 8px; overflow-x: auto;
}
.sa-fold-actions .cta,
.sa-fold-actions .ghost {
  flex-shrink: 0; white-space: nowrap;
}
.sa-fold-actions [data-sa-add] { order: -1; }
#evAddSaModal .pay-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: visible;
}
#evAddSaFees { position: relative; z-index: 6; }
#evAddSaModal .tip-wrap[data-tip]:hover::after,
#evAddSaModal .tip-wrap[data-tip]:focus::after {
  bottom: auto;
  top: calc(100% + 8px);
  left: 0;
}
#saPageTitle {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sa-page-meta { display: grid; gap: 8px; margin: 8px 0 4px; }
.sa-page-meta .note { margin: 0; }
.sa-meta-status {
  margin: 0; font-weight: 600; font-size: 15px; letter-spacing: 0;
}
.sa-meta-status.is-live { color: #2f6b4f; }
.sa-meta-status.is-soon { color: #b45309; }
.sa-meta-status.is-ended { color: #7a6a62; }
.sa-meta-desc { margin: 0; color: var(--ink); line-height: 1.5; }
.sa-meta-host { margin: 0; color: var(--wine); font-weight: 500; }
.sa-meta-pickup {
  margin: 4px 0 0;
  padding: 8px 12px;
  background: #f7f1e8;
  border-left: 4px solid var(--gold);
  color: #4a1424;
  border-radius: 0 8px 8px 0;
  line-height: 1.45;
}
#silent #saPageShare { margin: 12px 0 28px; }
.sa-when { display: grid; gap: 16px; margin: 12px 0 20px; }
.sa-when-lab {
  margin: 0 0 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sa-when-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.sa-when-row .field { margin: 0; }
.sa-when-row input[type="date"] {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
}
.sa-when-row .time-pick {
  flex-wrap: nowrap;
  min-height: 48px;
  align-items: center;
}
#supporter-dash .year-made-head {
  margin-top: 8px;
  justify-content: space-between;
  align-items: center;
}
#supporter-dash .year-made-head > select { margin-right: auto; }
#suPayoutBtn { margin-left: auto; padding: 10px 14px; }
#suMods { margin: 8px 0 18px; }
#supporter-dash .year-made {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
#supporter-dash .year-made-card .cta { margin-top: 0; align-self: auto; }
#supporter-dash #suMods .year-made-card .pie-legend { display: none; }
#supporter-dash .year-made-card.sp-book-card,
#supporter-dash .dash-card.sp-book-card {
  position: relative;
}
#supporter-dash .year-made-card.sp-book-card.has-bookings,
#supporter-dash .dash-card.sp-book-card.has-bookings {
  background: #eef1f7;
  border-color: #4a5d8c;
}
#supporter-dash .year-made-card.sp-book-card .year-made-h { padding-right: 28px; }
#supporter-dash .dash-cards {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: none;
}
#judge-dash .year-made-head {
  margin-top: 8px;
  justify-content: space-between;
  align-items: center;
}
#judge-dash .year-made-head > select { margin-right: auto; }
#jgPayoutBtn { margin-left: auto; padding: 10px 14px; }
#jgMods { margin: 8px 0 18px; }
#judge-dash .year-made {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
#judge-dash #jgMods .year-made-card .pie-legend { display: none; }
#judge-dash .year-made-card.sp-book-card,
#judge-dash .dash-card.sp-book-card {
  position: relative;
}
#judge-dash .year-made-card.sp-book-card.has-bookings,
#judge-dash .dash-card.sp-book-card.has-bookings {
  background: #eef1f7;
  border-color: #4a5d8c;
}
#judge-dash .year-made-card.sp-book-card .year-made-h { padding-right: 28px; }
#judge-dash .dash-cards {
  grid-template-columns: 1fr 1fr 1fr;
}
.sa-item-card { padding: 0 !important; }
.sa-item-card > .pad { padding: 18px 22px 22px; }
.sa-item-card .tk-price { font-family: var(--serif); font-size: 28px; margin: 8px 0 4px; }
.sa-item-card > img, .sa-item-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #ead9c4; display: block; }
.sa-page { padding-top: 24px; padding-bottom: 48px; }
.sa-host-card { margin-bottom: 16px; }
.sa-open-sec { margin-top: 18px; padding-top: 8px; }
.sa-open-sec > h3 { margin: 0 0 14px; font-size: 18px; }
.tk-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.tk-tab {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 13px;
}
.tk-tab.on { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tk-card .tk-price { font-family: var(--serif); font-size: 28px; margin: 8px 0 4px; }
.tk-card .cta:disabled { opacity: .45; cursor: not-allowed; }
.tk-fee { font-size: 12px; color: var(--muted); }
.tk-host-form { display: grid; gap: 12px; margin: 0 0 22px; }
.tk-event-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ev-title-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: nowrap;
}
.ev-title-row h2 { margin: 0; flex: 1; min-width: 0; }
.ev-title-row .cta { margin-left: auto; flex-shrink: 0; }
.ev-title-row .hide-page-wrap { margin-left: 0; flex-shrink: 0; }
.ev-title-row .page-title-with-hide { width: auto; margin: 0; flex: 1; min-width: 0; }
body.ev-mine #evKicker { display: none !important; }
.sa-nationals-note { margin: 6px 0 10px; }
.sa-bid-snip { margin: 8px 0 10px; padding: 0 0 0 18px; font-size: 13px; color: var(--muted); }
.sa-bid-snip li { margin: 0 0 4px; }
#aucMineWrap { margin: 4px 0 28px; }
#aucSilentAcc { margin: 0 0 22px; }
#aucWonAcc { margin: 0; }
#aucWon { display: grid; gap: 10px; }
#aucWon .auc-won-h { margin: 12px 0 4px; font-size: 16px; }
#aucWon .auc-won-h:first-child { margin-top: 0; }
.auc-won-item {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.auc-won-main { flex: 1; min-width: 160px; }
.auc-won-main b { display: block; }
.auc-won-main .note { margin: 2px 0 0; }
.auc-won-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
#my-auctions .ah-lot-fold { margin: 0 0 12px; }
#my-auctions .ah-lot-h { justify-content: flex-start; gap: 12px; }
#my-auctions .ah-lot-thumb {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
  background: #ead9c4;
}
#my-auctions .ah-lot-h-main { flex: 1; min-width: 0; }
#my-auctions .ah-lot-h-main b { display: block; font-size: 16px; line-height: 1.25; }
#my-auctions .ah-lot-h-main .note { display: block; margin: 2px 0 0; }
#crown .dash-cards { align-items: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#crown .dash-card .progress { margin: 10px 0 0; }
#crown .dash-card .cta { margin-top: 8px; }
#crown #queenMods.year-made { margin: 8px 0 18px; }
#crown .year-made-card .cta { margin-top: 0; align-self: auto; }
#crown .year-made-amt .cta { margin-top: 0; margin-left: auto; }
#crown #queenMods .year-made-card .pie-legend { display: none; }
#crown #qImpactAcc,
#crown #qDocsAcc,
#crown #qNatAcc,
#crown #qWebAcc { margin: 22px 0 8px; }
#qWebAcc .q-web-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  overflow: visible;
  position: relative;
  z-index: 1;
}
#qWebAcc .q-web-row:has(.qc-more-menu:not([hidden])) { z-index: 8; }
#qWebAcc .qc-more-menu { z-index: 20; }
#qWebAcc .q-web-row .file-name-cell { margin: 0; }
#qWebAcc .file-thumb img { aspect-ratio: auto; width: 100%; height: 100%; }
#qWebList { display: grid; gap: 10px; overflow: visible; }
#qWebAcc #upWebAdd { margin-top: 12px; }
#dashModal .don-ch-fold .ch-don-stats { margin-bottom: 4px; }
#dashModal .don-ch-fold .don-people-h { margin-top: 16px; }
#crown #qDocsAcc .acc-item,
#crown #qNatAcc .acc-item {
  margin-top: 10px;
  background: #faf6f1;
}
#crown #qDocsAcc .acc-item > .acc-h,
#crown #qNatAcc .acc-item > .acc-h {
  font-size: 16px;
  background: #efe4d8;
}
.card.queen-vip {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(196,163,90,.55);
}
#crown #qDocsAcc > .acc-b,
#crown #qNatAcc > .acc-b,
#crown #qWebAcc > .acc-b,
#crown #qImpactAcc > .acc-b { background: var(--ivory); }
#crown #qWebAcc.on,
#crown #qWebAcc.on > .acc-b { overflow: visible; }
#qNatAdsH { margin: 18px 0 10px; font-size: 18px; }
#dashModal .q-todo-item {
  flex-direction: column;
  align-items: stretch;
  margin-top: 10px;
}
#dashModal .q-todo-item:first-of-type { margin-top: 12px; }
#qImpactAcc .card.queen-fill { position: relative; }
#charityList .ch-don-card { cursor: pointer; }
#charityList .ch-don-card:hover,
#charityList .ch-don-card:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  outline: none;
}
#charityList .ch-don-card[data-tip]:hover::after,
#charityList .ch-don-card[data-tip]:focus::after {
  content: attr(data-tip);
  position: absolute; left: 12px; bottom: calc(100% + 8px);
  width: min(260px, 70vw); background: #1c0b12; color: #f7f1e8;
  font-family: var(--sans); font-size: 13px; line-height: 1.45;
  letter-spacing: 0; text-transform: none; text-align: left; font-weight: 400;
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--gold); z-index: 200; white-space: normal;
  box-shadow: var(--shadow);
}
.ch-don-stats {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0;
}
.ch-don-stat {
  display: inline-flex; flex-direction: column; gap: 2px;
  min-width: 108px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fffdf8;
}
.ch-don-stat.pending { background: #f8eee8; }
.ch-don-stat b { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.ch-don-stat small { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.don-people-h { margin: 22px 0 8px; font-size: 18px; }
#dashModal .don-status-table,
#dashModal .don-people-table {
  table-layout: fixed;
  box-shadow: none;
}
#dashModal .don-status-table th.num,
#dashModal .don-status-table td.num,
#dashModal .don-people-table th.num,
#dashModal .don-people-table td.num {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  width: 120px;
}
#dashModal .don-people-table td.don-ask {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  width: 168px;
  padding-top: 10px;
  padding-bottom: 10px;
}
#dashModal .don-people-table td.don-ask .cta {
  height: 32px;
  padding: 0 12px;
  margin: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
#charityList .qc-more { margin-left: auto; }
#aucShopH { margin: 8px 0 14px; }
#lotBidWrap { margin-top: 22px; }
.ah-ledger-wrap { margin: 0 0 22px; padding: 16px 18px 8px; border: 1px solid var(--line); border-radius: 14px; background: #faf6f1; }
.ah-ledger-wrap h3 { margin: 0 0 6px; font-size: 22px; }
.sa-ledger-wrap { margin: 18px 0 8px; padding: 16px 18px 8px; border: 1px solid var(--line); border-radius: 14px; background: #faf6f1; }
.sa-ledger-wrap h3 { margin: 0 0 6px; font-size: 26px; }
.sa-split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
  margin: 12px 0 10px;
  overflow: visible;
}
.sa-split p { margin: 0; padding: 10px 12px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); overflow: visible; }
.sa-split b { display: block; font-family: var(--serif); font-size: 22px; }
.sa-split span { font-size: 12px; color: var(--muted); }
.sa-split .tip { display: inline; }
.sa-split p:last-child .tip:hover::after,
.sa-split p:last-child .tip:focus::after { left: auto; right: 0; }
.sa-split .sa-payout {
  background: #f8efd8;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(196,163,90,.45);
}
.sa-split .sa-payout b { color: #6b4e16; }
#qWebAcc .q-web-row .qc-more { margin-left: auto; position: relative; }
#qWebAcc .q-web-row .cta { margin-left: 0; }
.sp-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.sp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 8px 4px 12px; background: #fffdf8; font-size: 13px;
}
.sp-chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; }
.sp-place-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.sp-place-row:last-child { border-bottom: 0; }
.sp-place-row .sp-place-acts { display: inline-flex; gap: 6px; }
#shareCauseH { display: flex; align-items: center; gap: 8px; }
#shareCauseH .tip-ico { color: #e8d5a3; margin-left: 0; }
#shareCauseH .tip-wrap { z-index: 8; }
#share .tip-wrap[data-tip]:hover::after,
#share .tip-wrap[data-tip]:focus::after {
  content: attr(data-tip);
  position: absolute; left: 0; top: calc(100% + 8px); bottom: auto;
  width: min(280px, 72vw); background: #1c0b12; color: #f7f1e8;
  font-family: var(--sans); font-size: 13px; line-height: 1.45;
  letter-spacing: 0; text-transform: none; text-align: left; font-weight: 400;
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--gold); z-index: 200; white-space: normal;
  box-shadow: var(--shadow);
}
.sa-ledger-item { margin: 16px 0 18px; }
.sa-ledger-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.sa-ledger-h h4 { margin: 0; font-size: 20px; }
table.sa-ledger { margin-top: 8px; }
table.sa-ledger tr.sa-high td { background: #fff8ee; font-weight: 500; }
#saSeeBidsModal { overflow-x: hidden; }
#saSeeBidsModal .pay-card {
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.sa-see-list { display: grid; gap: 0; }
.sa-see-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sa-see-row:last-child { border-bottom: 0; }
.sa-see-who { min-width: 0; }
.sa-see-who b { display: block; font-weight: 600; word-break: break-word; }
.sa-see-who span { display: block; font-size: 13px; color: var(--muted); word-break: break-word; }
.sa-see-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0;
}
.sa-see-amt { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
@media (max-width: 900px) {
  .sa-split { grid-template-columns: 1fr 1fr; }
}
.tk-kind-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tk-kind-pick button {
  border: 1px solid var(--line); background: var(--white); border-radius: 10px;
  padding: 12px 10px; cursor: pointer; text-align: left;
}
.tk-kind-pick button.on { border-color: var(--gold); background: #fff8ee; }
.tk-kind-pick button:disabled { opacity: .45; cursor: not-allowed; }
.tk-kind-pick b { display: block; font-family: var(--serif); font-size: 20px; }
.tk-kind-pick span { font-size: 12px; color: var(--muted); }
.tk-mine { display: flex; flex-direction: column; gap: 4px; }
.tk-mine h3 { margin: 8px 0 2px; }
.tk-mine-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tk-mine-code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px; letter-spacing: .12em;
  color: var(--wine); background: #faf4ea;
  border: 1px dashed var(--gold); border-radius: 8px;
  padding: 4px 8px;
  font-weight: 500;
}
.tk-mine-when { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.tk-mine-where { margin: 0; font-size: 13px; color: var(--muted); }
.tk-mine-meta {
  display: grid; gap: 8px;
  margin: 10px 0 12px; padding: 10px 0 0;
  border-top: 1px solid var(--line);
}
.tk-mine-meta > div { display: grid; gap: 2px; }
.tk-mine-meta span {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tk-mine-meta b { font-weight: 500; color: var(--ink); font-size: 14px; }
.tk-mine .ghost { align-self: flex-start; }
.tk-check-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.tk-check-row input { width: 18px; height: 18px; }
.tk-scan-box { display: grid; gap: 12px; max-width: 520px; }
.tk-print {
  width: min(420px, 100%); margin: 0 auto; padding: 24px 26px 26px;
  border: 2px solid var(--gold); background: #fffdf8; border-radius: 16px;
  text-align: left; color: var(--wine);
}
.tk-print-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.tk-print .tk-brand { margin: 0; letter-spacing: .2em; font-size: 11px; text-transform: uppercase; color: var(--gold); }
.tk-print h2 { margin: 0 0 4px; }
.tk-print-meta {
  display: grid; gap: 10px;
  margin: 16px 0; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tk-print-meta > div { display: grid; gap: 2px; }
.tk-print-meta span {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tk-print-meta b { font-weight: 500; color: var(--ink); font-size: 15px; }
.tk-code {
  font-family: ui-monospace, Menlo, monospace; font-size: 22px; letter-spacing: .16em;
  margin: 0; padding: 12px 14px; border: 1px dashed var(--gold); border-radius: 10px;
  text-align: center; display: grid; gap: 4px;
}
.tk-code span {
  font-family: var(--sans); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.tk-door-video { width: 100%; max-height: 240px; background: #1c0b12; border-radius: 10px; object-fit: cover; }
#ticketBuyModal .pay-card, #ticketPrintModal .pay-card { width: min(480px, 100%); }
#ticketPrintModal .tk-print-actions { margin-top: 24px; }
#ticketPrintBody { margin-bottom: 8px; }
@media print {
  body.tk-printing * { visibility: hidden !important; }
  body.tk-printing .modal-pay { display: none !important; }
  body.tk-printing #tkPrintClone,
  body.tk-printing #tkPrintClone * { visibility: visible !important; }
  body.tk-printing #tkPrintClone {
    display: block !important; position: absolute; left: 24px; top: 24px;
    width: calc(100% - 48px); max-width: 480px; border: 2px solid #c4a35a;
    box-shadow: none; background: #fffdf8;
  }
}
.legal h3 { font-size: 22px; margin: 28px 0 8px; }
.legal p { line-height: 1.55; color: var(--ink); }
.agree-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 13px; }
a.off, .ghost.off {
  opacity: .45; cursor: not-allowed; filter: grayscale(.2);
}
.tip-wrap { display: inline-flex; position: relative; z-index: 2; }
.tip:hover, .tip:focus, .tip-wrap:hover, .tip-wrap:focus { z-index: 40; }
.tip-ico {
  text-transform: none;
  letter-spacing: 0;
}
.auth-card .field label .tip-ico,
#profile .tip-ico,
#profile h4 .tip-ico {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.unread-block { margin: 18px 0 8px; }
.unread-block h4 { margin: 0 0 4px; font-size: 18px; }
.unread-block .note { margin: 0 0 10px; }
.fold-head {
  display: flex; align-items: center; gap: 10px;
  width: 100%; background: transparent; border: 0; padding: 8px 0;
  cursor: pointer; text-align: left; color: inherit;
}
.fold-head h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 18px; }
.fold-head:hover .fold-btn { border-color: var(--gold); background: #fff8ee; }
.fold-head[aria-expanded="true"] .fold-btn::after { display: none; }
.court-dl { margin: 12px 0 0; }
.fold-pane { margin: 8px 0; }
.year-head { margin: 18px 0 8px; font-size: 20px; }
.made-h { font-size: 15px; margin: 16px 0 4px; color: var(--wine); font-family: var(--serif); font-weight: 500; }
.nat-detail { margin: 18px 0 8px; padding: 16px; border: 1px solid var(--line); background: var(--white); }
.nat-detail h3 { margin-top: 0; }
.table tr.nat-row { cursor: pointer; }
.table tr.nat-row:hover td { background: #faf4ea; }
.table tr.q-hl td { background: #f4e7c4; }
.table tr.nat-row.on td { background: #efe4d4; }
.nat-win-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 0;
}
.q-submit-sheet { width: min(560px, 96vw); }
.q-submit-sheet .nat-win-card {
  border: 0;
  background: transparent;
  padding: 0;
}
.nat-win-card {
  border: 1px solid var(--line);
  background: #fffdf8;
  padding: 14px 16px 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.nat-win-head {
  margin: 0 0 4px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.nat-win-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.nat-win-head-row .person { flex: 1; min-width: 0; margin: 0; }
.nat-win-head .qc-more { margin-top: -4px; }
.nat-win-head .qc-more-menu { z-index: 8; }
.nat-win-head .person {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.nat-win-head .avatar { width: 44px; height: 44px; }
.nat-win-title {
  margin: 0;
  font-size: 14px;
  color: var(--wine);
  font-family: var(--serif);
}
.nat-win-city { margin: 2px 0 0; }
.nat-win-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nat-win-sec { margin-top: 12px; }
.nat-win-sec h4 {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 4px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 500;
}
.nat-win-sec h4 .pill { letter-spacing: 0; text-transform: none; font-size: 11px; }
.nat-win-list { margin: 0; padding: 0; list-style: none; }
.nat-win-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.nat-win-row:last-child { border-bottom: 0; }
.nat-win-row .file-link { flex: 1 1 140px; min-width: 0; }
.nat-win-card .qc-review { margin: 0; }
.nat-win-card .qc-review .cta,
.nat-win-card .qc-review .ghost {
  padding: 6px 10px;
  font-size: 11px;
}
.nat-dir-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
}
#natDirsWrap .nat-dir-head { margin: 0 0 4px; }
.nat-dir-head h3 { margin: 0; }
.nat-dir-tools {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 14px;
}
.nat-dir-tools .court-search {
  flex: 1;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.nat-dir-tools .qc-more {
  flex-shrink: 0;
  margin: 0 0 2px;
}
#natDirHead th.nat-sort { cursor: pointer; user-select: none; white-space: nowrap; }
#natDirHead th.nat-sort:hover { color: var(--wine); }
#natDirHead th.nat-sort.on { color: var(--wine); }
.nat-sort-ind { font-size: 10px; color: var(--muted); margin-left: 4px; }
.nat-cols-menu {
  min-width: 260px;
  padding: 10px 12px 12px;
  z-index: 16;
}
#adminAccountsAcc { margin-top: 8px; }
#adminAccountsAcc .nat-dir-tools,
#admin .nat-dir-tools,
#admin-approvals .nat-dir-tools,
#admin-charities .nat-dir-tools,
#admin-donations .nat-dir-tools,
#admin-program-book .nat-dir-tools { justify-content: flex-end; margin: 0 0 12px; }
#adminTable { margin: 0; }
#adminMoneyCharts { margin: 8px 0 18px; }
#admin .acc-item, #admin-approvals .acc-item, #admin-charities .acc-item,
#admin-donations .acc-item, #admin-program-book .acc-item,
#feedback .acc-item { margin-top: 12px; }
.signup-h {
  margin: 18px 0 8px; font-family: var(--serif); font-size: 20px; color: var(--wine);
}
.signup-h:first-child { margin-top: 8px; }
#signupForm .signup-step .signup-h:first-child { margin-top: 0; }
.admin-col-checks { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.admin-col-checks .hide-pick-row { border: 0; padding: 6px 0; }
.nat-cols-menu .kicker { margin: 0 0 4px; }
#natDirColsOn, .nat-cols-on { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }
.nat-cols-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.nat-cols-menu button.ghost {
  width: auto;
  display: inline-flex;
  padding: 4px 8px;
  font-size: 11px;
}
.nat-cols-add {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nat-cols-add select, .nat-cols-add input { flex: 1; min-width: 0; }
.nat-cols-add input {
  height: 32px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}
.nat-cols-add .cta, .nat-cols-add .ghost {
  padding: 6px 10px;
  font-size: 12px;
  width: auto;
  display: inline-flex;
}
.check-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
}
.check-table { min-width: 720px; }
.check-table .person { white-space: nowrap; }
.check-table th.check-cb,
.check-table td.check-cb {
  text-align: center;
  width: 88px;
  white-space: nowrap;
}
.check-table td.check-cb .check-cb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
}
.check-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--wine);
  cursor: pointer;
}
.check-table th.check-notes,
.check-table td.check-notes {
  min-width: 180px;
  width: 220px;
}
.check-notes-in {
  width: 100%;
  min-width: 140px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}
.check-shot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nat-win-out {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f8eee8;
  border: 1px solid var(--line);
}
.nat-win-out-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.nat-win-out-h h4 { margin: 0; }
.nat-win-remind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.nat-remind { white-space: nowrap; }
.nat-remind .need-actions { flex-wrap: wrap; }
.nat-win-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.nat-win-photos figure {
  margin: 0;
  width: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nat-win-photos .qc-review { margin-top: 2px; }
.nat-win-photos img {
  width: 96px; height: 96px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  display: block;
}
.nat-win-photos figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
}
.nat-dir-pane td { background: #f7f1e8; padding: 14px 16px 16px; }
@media (max-width: 900px) {
  .nat-win-grid { grid-template-columns: 1fr; }
}

#coming-soon .bm-main { padding: 0; background: #12080c; color: #f4eadf; }
.cs-wrap { padding: 24px 28px 56px; }
.cs-tabs {
  display: flex; gap: 6px; margin: 0 0 22px;
  padding: 4px; width: max-content; max-width: 100%;
  background: rgba(255,253,248,.05);
  border: 1px solid var(--line); border-radius: 999px;
}
.cs-tabs[hidden], .cs-tab[hidden] { display: none !important; }
.cs-tab {
  border: 0; background: transparent; color: #d8ccc3; cursor: pointer;
  padding: 10px 22px; border-radius: 999px;
  font-family: var(--serif); font-size: 22px;
}
.cs-tab.on {
  background: linear-gradient(90deg, #c4a35a, #e8d5a3);
  color: #1c0b12;
}
.cs-panel[hidden] { display: none !important; }
.bm-ad {
  color: #f4eadf;
  padding: 8px 4px 12px;
  background: transparent;
}
.bm-hero { max-width: 640px; margin: 0 0 22px; }
.bm-kicker {
  letter-spacing: .36em; text-transform: uppercase; color: var(--gold);
  font-size: 11px; margin: 0 0 14px;
}
.bm-hero h2, .soq-hero h2 {
  font-size: clamp(52px, 8vw, 88px); line-height: .9;
  margin: 0 0 16px; color: var(--gold-soft);
}
.bm-lead {
  font-size: 18px; line-height: 1.55; color: #eadfd6;
  max-width: 46ch; margin: 0 0 18px;
}
.bm-lead-wide { max-width: 68ch; }
.bm-lead-one {
  max-width: none;
  white-space: nowrap;
}
.bm-hero:has(.bm-lead-one) { max-width: none; }
.bm-ad-sponsor .bm-hero { max-width: 54ch; }
.bm-ad-sponsor .bm-lead {
  max-width: 54ch;
  white-space: normal;
}
.bm-ad-sponsor .bm-points {
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
}
.bm-ad-sponsor .bm-shots { max-width: 720px; }
.soq-ad {
  margin: 0;
  padding: 28px 28px 32px;
  border-radius: 20px;
  border: 1px solid rgba(167,139,250,.28);
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(91, 33, 182, .35), transparent 55%),
    radial-gradient(700px 300px at 100% 10%, rgba(196,163,90,.12), transparent 50%),
    #160c22;
}
.soq-hero {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 12px;
}
.soq-hero h2 { margin: 0; color: #efe6ff; }
.soq-kicker {
  letter-spacing: .36em; text-transform: uppercase; color: #c4b5fd;
  font-size: 11px; margin: 0 0 6px;
}
.soq-mark {
  width: 72px; height: 72px; border-radius: 18px;
  border: 1px solid rgba(196,163,90,.35);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.soq-banner {
  width: 100%; height: auto; display: block;
  border-radius: 14px; margin: 22px 0 24px;
  border: 1px solid rgba(196,163,90,.22);
}
.soq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.soq-actions .cta, .soq-actions .ghost { text-decoration: none; display: inline-flex; align-items: center; }
.soq-points { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.soq-points h3 { color: #ddd6fe; }
.soq-ad .ghost { color: #ddd6fe; border-color: #c4b5fd; }
.soq-ad .ghost:hover:not(:disabled):not(.off) { background: rgba(196,181,253,.14); color: #efe6ff; }
.soq-points > div { border-color: rgba(167,139,250,.28); background: rgba(91,33,182,.18); }
.bm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.bm-pills .pill { color: var(--gold-soft); border-color: rgba(196,163,90,.45); background: rgba(196,163,90,.08); }
.bm-shots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: 22px;
}
.bm-shot { margin: 0; }
.bm-frame {
  height: 380px;
  border-radius: 16px; overflow: auto;
  border: 1px solid rgba(196,163,90,.35);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  background: #0b0710;
}
.bm-frame img {
  width: 100%; height: auto; display: block;
  aspect-ratio: auto; object-fit: contain;
}
.bm-shot figcaption {
  padding: 10px 2px 0;
  color: var(--gold-soft);
  font-family: var(--serif); font-size: 20px;
}
.bm-ad figcaption p, .bm-points p {
  margin: 0; color: #d8ccc3; font-size: 15px; line-height: 1.5;
}
.bm-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.bm-points > div {
  border: 1px solid rgba(196,163,90,.22);
  background: rgba(255,253,248,.04);
  border-radius: 14px; padding: 18px 20px;
}
.bm-points h3 { margin: 0 0 8px; font-size: 22px; color: var(--gold); }

@media (max-width: 1100px) {
  .row.dash-cards, .year-winners-grid, .jg-assigned-wrap .year-winners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #sponsor-dash .dash-cards { grid-template-columns: 1fr 1fr; }
  #supporter-dash .dash-cards,
  #judge-dash .dash-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  #sponsor-dash .year-made,
  #supporter-dash .year-made,
  #judge-dash .year-made { max-width: none; grid-template-columns: 1fr; }
  #spPayoutBtn, #suPayoutBtn, #jgPayoutBtn { width: 100%; }
  #supporter-dash .dash-cards,
  #judge-dash .dash-cards { grid-template-columns: 1fr; }
  .sa-when-row { grid-template-columns: 1fr; }
  .auc-head { flex-wrap: wrap; }
  .auc-head .cta { margin-top: 0; }
  .split-story, .studio, .grid-3, .grid-4, .metrics, .ebay-bar, .dates.three, .photo-pick, .qa-head, .qc-top, .split-col, .bm-shots, .bm-points, .row.dash-cards, .year-winners-grid, .jg-assigned-wrap .year-winners-grid, .year-made, #national .year-made,
  #shareLotModal .dates, #shareLotModal .dates.three, #shareLotModal .photo-pick { grid-template-columns: 1fr; }
  .winners-toggle { white-space: normal; }
  .app-shell:not(.side-collapsed) { grid-template-columns: min(200px, 38vw) 1fr; }
  .nav { display: none; }
  .hero, .share-hero, .panel { padding: 40px 22px; }
  .topbar { padding: 12px 16px; }
  .cs-wrap { padding: 16px 14px 40px; }
  .soq-ad { padding: 20px 16px 28px; }
  .soq-points { grid-template-columns: 1fr; }
  .bm-ad-sponsor .bm-points { grid-template-columns: 1fr; }
}
