: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;
  --script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
  --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); }
.acct-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--wine);
}
.acct-id-line {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.acct-id-line .acct-id { font-size: 12px; }
html { scroll-padding-top: 72px; }
.view { scroll-margin-top: 72px; }
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; overflow-wrap: break-word; }
p, .note, .hint, li, label { overflow-wrap: break-word; }
.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-auth { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: rgba(196,163,90,.08);
  padding: 11px 10px;
  cursor: pointer;
  flex-shrink: 0;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-soft);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .18s ease, opacity .18s ease;
}
.topbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.topbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.topbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.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(32px, 3.2vw, 44px); line-height: 1.2; margin: 0 0 18px; max-width: 22em; }
.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:not(.avatar):not(.acct-avatar) { 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); }
select.q-status-pill {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a7568'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 22px 4px 9px;
  cursor: pointer;
  max-width: 220px;
  vertical-align: middle;
}
select.q-status-pill.ok { color: var(--ok); border-color: #b7d7c6; }
select.q-status-pill.live { color: var(--burgundy); border-color: var(--blush); }
select.q-status-pill.gold { color: #6b4e16; background-color: #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,
#modelsGrid .card .pad { padding: 12px 14px 14px; }
#queensGrid .pill-stack,
#modelsGrid .pill-stack,
#bookGrid .pill-stack {
  flex-direction: row; flex-wrap: wrap; gap: 4px; margin-bottom: 6px;
}
#queensGrid .card h3,
#modelsGrid .card h3 { margin: 0 0 2px; font-size: 20px; line-height: 1.2; }
#queensGrid .queen-photo img,
#modelsGrid .queen-photo img {
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
}
#queensGrid .q-card-head,
#modelsGrid .q-card-head { margin: 2px 0 6px; }
#queensGrid .q-card-titles,
#modelsGrid .q-card-titles { min-width: 0; margin: 0; }
#queensGrid .q-more-fold,
#modelsGrid .q-more-fold {
  margin: 2px 0 6px; border: 0; padding: 0; background: none;
}
#queensGrid .q-more-fold summary,
#modelsGrid .q-more-fold summary {
  display: flex; align-items: flex-start; gap: 10px;
  list-style: none; cursor: default;
}
#queensGrid .q-more-fold summary::-webkit-details-marker,
#modelsGrid .q-more-fold summary::-webkit-details-marker { display: none; }
#queensGrid .q-more-fold summary .q-card-titles,
#modelsGrid .q-more-fold summary .q-card-titles { flex: 1 1 auto; cursor: default; }
#queensGrid .q-more-label,
#modelsGrid .q-more-label {
  flex: 0 0 auto; margin-left: auto; cursor: pointer; padding-top: 2px;
  color: var(--muted); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
#queensGrid .q-more-label::after,
#modelsGrid .q-more-label::after { content: " ▾"; }
#queensGrid .q-more-fold[open] .q-more-label::after,
#modelsGrid .q-more-fold[open] .q-more-label::after { content: " ▴"; }
#queensGrid .q-more-titles,
#modelsGrid .q-more-titles {
  margin: 2px 0 0; padding: 0; list-style: none; text-align: left;
  font-family: var(--serif); font-size: 15px; line-height: 1.35; color: var(--ink);
}
#queensGrid .q-more-titles li,
#modelsGrid .q-more-titles li { margin: 0 0 4px; }
#queensGrid .q-more-titles li:last-child,
#modelsGrid .q-more-titles li:last-child { margin: 0; }
#queensGrid .q-card-vote,
#modelsGrid .q-card-vote {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; margin-top: 8px;
}
#queensGrid .q-card-vote-main,
#modelsGrid .q-card-vote-main { min-width: 0; }
#queensGrid .q-card-vote .q-card-funds,
#modelsGrid .q-card-vote .q-card-funds { margin: 0; }
#queensGrid .q-card-vote .q-card-fund,
#modelsGrid .q-card-vote .q-card-fund { margin-top: 6px; }
#queensGrid .q-card-vote .cta,
#modelsGrid .q-card-vote .cta {
  margin: 0; padding: 8px 12px; align-self: flex-start;
}
#queensGrid .q-card-don,
#modelsGrid .q-card-don {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 8px; margin-top: 8px;
}
#queensGrid .q-card-don .note,
#modelsGrid .q-card-don .note { margin: 0; }
#queensGrid .q-char-fold,
#modelsGrid .q-char-fold {
  border: 1px solid var(--line); border-radius: 10px; background: #fffdf8;
}
#queensGrid .q-char-fold summary,
#modelsGrid .q-char-fold summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 600; color: var(--wine);
}
#queensGrid .q-char-fold summary::-webkit-details-marker,
#modelsGrid .q-char-fold summary::-webkit-details-marker { display: none; }
#queensGrid .q-char-fold summary b,
#modelsGrid .q-char-fold summary b {
  font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink);
}
#queensGrid .q-char-fold summary .q-char-title,
#modelsGrid .q-char-fold summary .q-char-title {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
#queensGrid .q-char-fold summary select,
#modelsGrid .q-char-fold summary select {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px;
  padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); max-width: 118px;
}
#queensGrid .q-char-fold .q-char-pickline,
#modelsGrid .q-char-fold .q-char-pickline { padding: 8px 12px 16px; margin: 0; }
#queensGrid .q-char-fold .q-char-amt,
#modelsGrid .q-char-fold .q-char-amt { padding: 0 12px 10px; }
#queensGrid .q-card-don .ghost,
#modelsGrid .q-card-don .ghost { margin: 0; padding: 8px 12px; align-self: flex-start; }
#queensGrid .card-actions,
#modelsGrid .card-actions { margin-top: 8px; }
.lazy-more {
  height: 1px; width: 100%;
  grid-column: 1 / -1;
}
#spBoardAdModal.modal-pay.on,
#talentListModal.modal-pay.on,
#evNightModal.modal-pay.on,
#calAddModal.modal-pay.on,
#lotListModal.modal-pay.on,
#shareLotModal.modal-pay.on {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 24px 16px;
}
#evNightModal .dash-sheet,
#calAddModal .dash-sheet,
#lotListModal .dash-sheet,
#shareLotModal .dash-sheet { overflow: visible; max-height: none; }
#spBoardAdModal .pay-card,
#talentListModal .pay-card {
  width: min(520px, 100%);
  max-height: none;
  overflow: visible;
  margin: 12px 0 32px;
}
#spBoardAdModal .photo-pick,
#talentListModal .photo-pick {
  grid-template-columns: 150px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  overflow: visible;
}
#spBoardAdModal .photo-pick > *,
#talentListModal .photo-pick > * { min-width: 0; }
#spBoardAdModal .photo-pick-tip,
#talentListModal .photo-pick-tip {
  display: block;
  width: 150px;
  max-width: 100%;
  position: relative;
  z-index: 8;
}
#spBoardAdModal .photo-pick img,
#spBoardAdPreview,
#talentListModal .photo-pick img,
#talentListPreview {
  width: 150px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}
#spBoardAdModal .photo-pick-tip img,
#talentListModal .photo-pick-tip img {
  width: 100%;
}
#spBoardAdModal .album-pick-fold,
#talentListModal .album-pick-fold {
  margin-top: 8px;
}
#spBoardAdModal .album-pick-fold > .acc-h,
#talentListModal .album-pick-fold > .acc-h {
  font-size: 16px;
  padding: 8px 12px;
}
#spBoardAdModal .album-pick-fold > .acc-b,
#talentListModal .album-pick-fold > .acc-b {
  padding: 10px 12px 12px;
}
#spBoardAdModal .album-pick,
#talentListModal .album-pick { margin-top: 0; }
#spBoardAdModal .field label .tip-ico,
#talentListModal .field label .tip-ico {
  margin-left: 4px;
  vertical-align: middle;
}
#spBoardAdPreview.can-recrop,
#talentListPreview.can-recrop {
  cursor: pointer;
}
#spBoardAdModal [data-tip]:hover::after,
#spBoardAdModal [data-tip]:focus::after,
#talentListModal [data-tip]:hover::after,
#talentListModal [data-tip]:focus::after {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  width: min(280px, 70vw);
  z-index: 90;
}
#askExtra { margin: 0 0 12px; }
.talent-craft-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf6f1;
}
.talent-craft-picks label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.25;
}
.talent-craft-picks label:hover { border-color: var(--gold); }
.talent-craft-picks label:has(input:checked) {
  border-color: var(--gold);
  background: #f7eedc;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.talent-craft-picks input {
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--wine);
}
@media (max-width: 520px) {
  .talent-craft-picks { grid-template-columns: 1fr; }
}
#spBoardAdPreview.can-recrop:hover {
  box-shadow: 0 0 0 2px var(--gold);
}

.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; }
.side-more { margin: 4px 0 0; }
.side-more-h { display: flex; align-items: center; gap: 2px; }
.side-more-toggle {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px 10px 12px; border-radius: 10px;
  background: transparent; border: 0; color: #d8ccc3;
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  cursor: pointer; text-align: left;
}
.side-more-toggle:hover,
.side-more.on .side-more-toggle { background: rgba(196,163,90,.12); color: var(--gold); }
.side-more-chev {
  margin-left: auto; width: 7px; height: 7px; flex-shrink: 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.side-more.on .side-more-chev { transform: rotate(225deg) translateY(-1px); }
.side-more-dots {
  flex: 0 0 auto; width: 32px; height: 32px;
  border: 0; background: transparent; color: var(--gold-soft);
  border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1;
}
.side-more-dots:hover { color: var(--gold); background: rgba(196,163,90,.12); }
.side-more-b { padding: 0 0 4px 8px; }
.side-more-empty { margin: 2px 8px 8px; font-size: 12px; line-height: 1.4; color: #cbb9ae; }
.side-hide-list {
  display: flex; flex-direction: column; gap: 8px;
  margin: 12px 0 4px; max-height: min(50vh, 420px); overflow: auto;
}
.side-hide-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); font-size: 14px;
}
.side-hide-row input { width: 18px; height: 18px; accent-color: var(--wine); flex-shrink: 0; }
.app-shell.side-collapsed .side-more-dots,
.app-shell.side-collapsed .side-more-chev,
.app-shell.side-collapsed .side-more-empty,
.app-shell.side-collapsed .side-more-b { display: none !important; }
.app-shell.side-collapsed .side-more-h { justify-content: center; }
.app-shell.side-collapsed .side-more-toggle { justify-content: center; padding: 12px 8px; }
.side-nav { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
@media (max-width: 900px) {
  .app-shell > .side {
    position: sticky;
    top: 67px;
    align-self: start;
    min-height: 0;
    height: calc(100vh - 67px);
    height: calc(100dvh - 67px);
    max-height: calc(100vh - 67px);
    max-height: calc(100dvh - 67px);
    overflow: hidden;
    z-index: 6;
  }
  .app-shell > .side > .side-nav {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .app-shell > .side > .side-more,
  .app-shell > .side > .side-toggle { flex-shrink: 0; }
  .app-shell > .side > .side-toggle { margin-top: 0; }
  .side-resizer { display: none; }
  .side-more-b { max-height: min(42vh, 280px); overflow-y: auto; }
  .side-more-dots {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 22px;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
  }
  .app-shell:not(.side-collapsed) .side-more-toggle {
    padding: 8px 4px 8px 8px;
    gap: 6px;
  }
  .app-shell:not(.side-collapsed) .side-more-toggle .side-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-shell.side-collapsed .side-more-toggle { min-height: 44px; min-width: 44px; }
}
@media (max-width: 520px) {
  .app-shell:not(.side-collapsed) .side { padding: 12px 8px; }
}
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 auto;
  align-items: center;
}
#queensBookPanel .ebay-bar.queens-bar {
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: center;
}
#queensBookPanel .ebay-bar input:not([type="checkbox"]):not([type="radio"]),
#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;
}
#queensBookPanel .ebay-bar .winners-toggle {
  height: 48px;
  padding: 0 2px;
  box-sizing: border-box;
}
#queensBookPanel .ebay-bar .winners-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: normal;
  font-size: 14px;
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 16px;
}
#queens .wrap, #talent .wrap { padding-top: 24px; }
#talent .ebay-bar.queens-bar,
#sponsor-board .ebay-bar.queens-bar {
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: stretch;
}
#talent .ebay-bar input,
#talent .ebay-bar select,
#sponsor-board .ebay-bar input,
#sponsor-board .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,
#sponsor-board .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; }
#q-pageants.is-public .app-shell { display: block; }
#q-pageants.is-public .side { display: none !important; }
#q-pageants.is-public .main { max-width: 1100px; margin: 0 auto; }
#pgKind[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; }
#qShowHiddenWrap[hidden],
#mShowHiddenWrap[hidden] { display: none !important; }
.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; }
.year-title-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nat-remind-all {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nat-remind-all .cta,
.nat-remind-all .ghost {
  white-space: nowrap;
}
#revReason {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  margin-top: 6px;
}
.dir-org-pick {
  height: 40px;
  margin: 0;
  max-width: 240px;
  min-width: 0;
  flex: 1 1 auto;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  box-sizing: border-box;
}
.dir-org-row {
  margin: 0 0 12px;
  padding: 14px 16px;
}
.dir-org-row .dates { margin-bottom: 8px; }
body.dir-org-total #dirSplash,
body.dir-org-total #natSplash,
body.dir-org-total #dirDashBody .dash-cards,
body.dir-org-total #natDashBody .dash-cards,
body.dir-org-total #dirYearWinnersWrap,
body.dir-org-total #natYearWinnersWrap,
body.dir-org-total #dirNeedList,
body.dir-org-total #dirTitlesWrap,
body.dir-org-total #natTitlesWrap,
body.dir-org-total #natDirsWrap,
body.dir-org-total #natTeamWrap,
body.dir-org-total #natTodoWrap,
body.dir-org-total #dirTeamWrap,
body.dir-org-total #dirTodoWrap,
body.dir-org-total .req-sec,
body.dir-org-total #dirDashBody > h3,
body.dir-org-total #dirDashBody > h3 + .note,
body.dir-org-total #natDashBody > h3,
body.dir-org-total #natDashBody > h3 + .note,
body.dir-org-total #cloneYearWrap,
body.dir-org-total #natCloneYearWrap { display: none !important; }
body:not(.ev-mine) #events .app-shell { grid-template-columns: 1fr; }
body:not(.ev-mine) #eventsSide { display: none !important; }
#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,
#modelsGrid .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,
#modelsGrid .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; }
#signupAgencyField.is-queen-pick #signupAgencySel { display: block; }
#signupAgencyField.is-queen-pick #signupAgency { display: block; margin-top: 8px; }
#signupAgencySel[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;
}
#events .tk-soq.soq-ad {
  margin: 22px 0 0;
  padding: 22px 22px 24px;
}
#events .tk-soq.soq-ad .bm-lead {
  max-width: 42rem;
  margin: 0 0 14px;
  color: #ddd6fe;
}
#events .tk-soq.soq-ad .soq-hero h2 { font-size: 40px; }
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: 12; position: relative; transform: none; }
#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 18px; }
#evNightsGrid .card-actions {
  margin-top: 12px;
  margin-bottom: 14px;
  min-height: 32px;
}
#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; flex-wrap: nowrap; }
#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 {
  margin-top: 12px;
  margin-bottom: 14px;
  min-height: 32px;
}
#evPastGrid .card-actions .cta,
#evPastGrid .card-actions .ghost,
#evCancelGrid .card-actions .cta,
#evCancelGrid .card-actions .ghost {
  padding: 10px 16px;
  font-size: 11px;
}
#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; }
#adminPageantsGrid,
#adminPgRemovedGrid { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
#adminPageantsGrid .card,
#adminPgRemovedGrid .card { padding: 0; overflow: visible; cursor: pointer; }
#adminPageantsGrid .queen-photo,
#adminPgRemovedGrid .queen-photo { position: relative; display: block; overflow: hidden; border-radius: 12px 12px 0 0; }
#adminPageantsGrid .queen-photo img,
#adminPgRemovedGrid .queen-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
#adminPageantsGrid .pad,
#adminPgRemovedGrid .pad { padding: 8px 10px 10px; }
#adminPageantsGrid h3,
#adminPgRemovedGrid h3 { font-size: 16px; margin: 2px 0 0; }
#adminPageantsGrid .note,
#adminPgRemovedGrid .note { margin: 2px 0 0; font-size: 12px; }
#adminPageantsGrid .pill-stack,
#adminPgRemovedGrid .pill-stack { margin-bottom: 2px; }
#adminPageantsGrid .queen-photo .qc-more,
#adminPgRemovedGrid .queen-photo .qc-more {
  position: absolute; top: 8px; right: 8px; z-index: 3;
}
#adminPageantsGrid .qc-more-btn,
#adminPgRemovedGrid .qc-more-btn {
  background: rgba(255,253,248,.92); border: 1px solid var(--line);
}
#adminPageantsGrid .card:has(.qc-more-menu:not([hidden])),
#adminPgRemovedGrid .card:has(.qc-more-menu:not([hidden])) {
  position: relative; z-index: 12;
}
#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; }
.pageant-facts { list-style: none; margin: 8px 0 12px; padding: 0; }
.pageant-facts li { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.4; }
.pageant-top { display: flex; justify-content: flex-end; }
.pageant-top:has(#pageantViewDir:not([hidden])) { margin: 0 0 8px; }
#pageantViewDir[hidden] { display: none !important; }
#subCancelPlan { width: auto; margin-top: 16px; }
#subCancelPlan[hidden] { display: none !important; }
#pageant .pageant-fold-b .card h3 { font-size: 22px; margin: 0 0 4px; }
#pageant .pageant-fold-b .card .note { font-size: 13px; }
.pageant-fold {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  margin: 12px 0 0;
}
.pageant-fold[hidden] { display: none; }
.pageant-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--wine);
}
.pageant-fold summary::-webkit-details-marker { display: none; }
.pageant-fold summary::after { content: "▾"; color: var(--gold); margin-left: 8px; }
.pageant-fold[open] summary::after { content: "▴"; }
.pageant-fold summary span {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.pageant-fold-b { padding: 0 14px 14px; }
.pageant-fold-b .grid-3 { margin-top: 4px; }
.pageant-about {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.55;
  max-width: 68ch;
  margin: 0 0 8px;
  color: var(--ink);
}
.pageant-about[hidden] { display: none; }
.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 .event-soq {
  margin: 18px 0 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
}
.event-page .event-soq .soq-mark {
  width: 64px;
  height: 64px;
  max-width: 64px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}
.event-page .event-soq h2 {
  font-size: 28px;
  line-height: 1;
  margin: 0;
  color: #efe6ff;
}
.event-page .event-soq .soq-kicker { margin: 0 0 2px; letter-spacing: .18em; }
.event-page .event-soq .bm-lead {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  max-width: 42rem;
  color: #ddd6fe;
}
.event-page .event-soq .soq-actions {
  margin: 0;
  flex-direction: column;
  align-items: stretch;
}
@media (max-width: 720px) {
  .event-page .event-soq {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .event-page .event-soq .soq-mark {
    width: 56px;
    height: 56px;
    max-width: 56px;
  }
  .event-page .event-soq .soq-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}
.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); }
.crown-stack {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.crown-stack .crown-badge {
  position: static; width: 32px; height: 32px; flex: 0 0 auto;
}
.crown-stack .crown-badge svg { width: 16px; height: 16px; }
.crown-badge[data-cc-tip] { cursor: help; }
#queensGrid .pill-stack .pill,
#modelsGrid .pill-stack .pill {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  height: 22px;
  padding: 0 9px;
  box-sizing: border-box;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
}
#queensGrid .pill-stack .crown-title-pill,
#queensGrid .pill-stack .q-title-pill,
#modelsGrid .pill-stack .crown-title-pill,
#modelsGrid .pill-stack .q-title-pill {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
#queensGrid .q-card-name-row,
#modelsGrid .q-card-name-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 6px;
}
#queensGrid .q-card-name-row h3,
#modelsGrid .q-card-name-row h3 { flex: 1 1 auto; margin: 0; }
#queensGrid .q-card-name-row .q-more-fold,
#modelsGrid .q-card-name-row .q-more-fold { margin: 0; flex: 0 0 auto; }
#queensGrid .pill-stack .q-title-pill[data-cc-tip],
#modelsGrid .pill-stack .q-title-pill[data-cc-tip] { cursor: help; }
.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-head .winners-toggle { margin-left: auto; }
.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-h .not-cleared,
.year-made-amt .not-cleared,
.cleared-split .not-cleared {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: normal;
  margin-top: 2px;
}
.year-made-amt .not-cleared {
  flex-basis: 100%;
  order: 5;
}
.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 i {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.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],
.fold-splash[hidden],
#reqDeadlineBody[hidden],
#reqDeadlineSplash[hidden],
#ofFormBody[hidden],
#ofFormSplash[hidden],
#reqShowCardBody[hidden],
#reqShowCardSplash[hidden],
#reqDocBody[hidden],
#reqDocSplash[hidden],
#adProductBody[hidden],
#adProductSplash[hidden],
#progSponsorBody[hidden],
#progSponsorSplash[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; }
.team-year {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; font-size: 13px; letter-spacing: 0; text-transform: none;
  color: var(--ink); cursor: pointer; user-select: none;
}
.team-year input { width: 16px; height: 16px; margin: 0; accent-color: #8a6a32; }
#teamImgModal .pay-card {
  width: min(920px, 96vw);
  display: flex; flex-direction: column;
  max-height: min(90vh, 900px); overflow: hidden;
}
#teamImgModal .team-img-preview {
  overflow: auto; min-height: 180px; flex: 1 1 auto;
  margin-bottom: 12px;
}
#teamImgModal .qc-actions { flex: 0 0 auto; margin-top: 0; }
.team-img-opts {
  display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0 12px;
}
.team-bg-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.team-bg-swatch {
  width: 36px; height: 36px; border-radius: 50%; padding: 0;
  border: 2px solid transparent; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.team-bg-swatch.on { border-color: #1a1214; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8a6a3b; }
.team-img-preview { display: grid; gap: 16px; margin: 8px 0 18px; }
.team-img-preview canvas {
  width: 100%; height: auto; display: block; border-radius: 8px; cursor: pointer;
}
.team-img-cap {
  margin: 0 0 6px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.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;
}
#dir-queens .q-table td.q-dots {
  white-space: normal;
}
#dirQAll .q-unap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
#dirQAll .qc-more-menu { min-width: 230px; }
#dirQAll .q-row-pencil,
#dirQWin .q-row-pencil,
#dirQMyList .q-row-pencil,
#dirQPoss .q-row-pencil,
#teamQPoss .q-row-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  flex: 0 0 auto;
}
#dirQAll .q-row-pencil .acc-edit-ico,
#dirQWin .q-row-pencil .acc-edit-ico,
#dirQMyList .q-row-pencil .acc-edit-ico,
#dirQPoss .q-row-pencil .acc-edit-ico,
#teamQPoss .q-row-pencil .acc-edit-ico {
  width: 18px;
  height: 18px;
  margin: 0;
}
#dirQAll .q-row-pencil:hover,
#dirQAll .q-row-pencil:focus,
#dirQAll .q-row-pencil.on,
#dirQWin .q-row-pencil:hover,
#dirQWin .q-row-pencil:focus,
#dirQWin .q-row-pencil.on,
#dirQMyList .q-row-pencil:hover,
#dirQMyList .q-row-pencil:focus,
#dirQMyList .q-row-pencil.on,
#dirQPoss .q-row-pencil:hover,
#dirQPoss .q-row-pencil:focus,
#dirQPoss .q-row-pencil.on,
#teamQPoss .q-row-pencil:hover,
#teamQPoss .q-row-pencil:focus,
#teamQPoss .q-row-pencil.on {
  background: #f3ebe3;
}
#dir-queens #dirQAll td.q-dots .q-row-acts,
#dir-queens #dirQWin td.q-dots .q-row-acts,
#dir-queens #dirQMyList td.q-dots .q-row-acts,
#dir-queens #dirQPoss td.q-dots .q-row-acts,
#team-queens #teamQPoss td.q-dots .q-row-acts {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}
#dirQAll .q-inline,
#dirQWin .q-inline,
#dirQMyList .q-inline,
#dirQPoss .q-inline,
#teamQPoss .q-inline {
  width: 100%;
  min-width: 0;
  height: 36px;
  box-sizing: border-box;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
}
#dirQAll select.q-inline,
#dirQWin select.q-inline {
  padding-right: 22px;
}
#dirQAll .person.q-inline-person,
#dirQWin .person.q-inline-person {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 180px;
}
#dirQAll .q-inline-person .q-inline,
#dirQWin .q-inline-person .q-inline {
  flex: 1 1 auto;
  min-width: 120px;
}
#dirQAllSec > .acc-b > .q-all-scroll,
#teamQAllSec > .acc-b > .q-all-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
@media (max-width: 800px) {
  #dir-queens #dirQAllSec > .acc-b > .q-all-scroll > .table,
  #team-queens #teamQAllSec > .acc-b > .q-all-scroll > .table {
    min-width: 760px;
  }
}
.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,
#ofBuildAcc.create-block > .acc-fold-h,
#ofBuildAcc.create-block > .acc-fold-h > .acc-h { background: #f8edd6; }
#ofBuildAcc > .acc-b .field { margin-bottom: 8px; }
#ofBuildAcc > .acc-b .dates { margin: 8px 0 10px; }
#ofBuildModal .field { margin-bottom: 8px; }
#ofBuildModal .dates { margin: 8px 0 10px; }
#ofBuildModal .pay-card {
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
}
#ofBuildModal .field,
#ofBuildModal .dates,
#ofBuildModal .dates > .field,
#ofBuildModal #ofFields,
#ofBuildModal .of-extras,
#ofBuildModal .of-row {
  min-width: 0;
  max-width: 100%;
}
#ofBuildModal #ofHelp,
#ofBuildModal #ofAgreement,
#ofBuildModal #ofRules {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
}
#ofBuildModal #ofAgreement,
#ofBuildModal #ofRules { margin-top: 8px; }
#ofBuildModal textarea[hidden] { display: none !important; }
.of-legal-drop {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  margin: 0;
}
.of-legal-drop > summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 10px 36px 10px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.of-legal-drop > summary::-webkit-details-marker { display: none; }
.of-legal-drop > summary::marker { content: ""; }
.of-legal-drop > summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(45deg);
}
.of-legal-drop[open] > summary::after {
  margin-top: -2px;
  transform: rotate(225deg);
}
.of-legal-drop > textarea {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
}
textarea.of-agreement-text {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 88px;
  resize: vertical;
  line-height: 1.4;
}
textarea.of-grow {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  resize: vertical;
  overflow: hidden;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
textarea.of-grow.of-long { min-height: 88px; }
.acc-b textarea.of-grow { min-height: 44px; margin: 0; }
.acc-b textarea.of-grow.of-long,
.queen-fill .field textarea.of-grow.of-long,
.fl-form-preview .field textarea.of-grow.of-long { min-height: 88px; }
.queen-fill .field textarea.of-grow:not(.of-long),
.fl-form-preview .field textarea.of-grow:not(.of-long) { min-height: 44px; }
.of-answer-text { white-space: pre-wrap; line-height: 1.45; }
.of-answer-line { margin: 0 0 10px; }
.of-answer-line p { margin: 0 0 2px; }
.of-agreement-copy {
  white-space: pre-wrap;
  line-height: 1.45;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
#ofBuildModal .dates {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#ofBuildModal .field input,
#ofBuildModal .field select,
#ofBuildModal .field textarea,
#ofBuildModal .dates input,
#ofBuildModal .dates select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.acc-fold-h {
  display: flex; align-items: stretch;
  background: #f3ebe3;
}
.acc-fold-h > .acc-h { flex: 1; min-width: 0; width: auto; }
.acc-item.on > .acc-fold-h > .acc-h::after { content: "–"; }
.acc-fold-h > .cta {
  align-self: center;
  flex-shrink: 0;
  margin: 0 12px 0 0;
  width: auto;
}
.acc-fold-tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}
.acc-fold-tools > .cta { width: auto; margin: 0; }
#adProductModal .dates { align-items: end; margin: 12px 0; }
#adProductModal .dates .field { margin-bottom: 0; }
#adProductModal .field input,
#adProductModal .field select,
#progSponsorModal .field input,
#progSponsorModal .field select {
  height: 44px;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}
#progSponsorModal .dates { align-items: end; margin: 12px 0; }
#progSponsorModal .dates .field { margin-bottom: 0; }
#progSponsorModal .dash-sheet { overflow: visible; }
#progSponsorModal .pg-suggest-list { z-index: 90; }
#spAddModal .dash-sheet { overflow: visible; }
#spAddModal .pg-suggest-list { z-index: 90; }
.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; }

.q-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
#admin.view.on,
#admin .main,
#adminAccountsAcc,
#adminAccountsAcc.on,
#adminAccountsAcc.on > .acc-b,
#admin .q-table-wrap { overflow: visible; }
#admin .table td.q-dots { overflow: visible; position: relative; z-index: 3; }
#admin .table tr:has(.qc-more-menu:not([hidden])) { position: relative; z-index: 40; }
.qc-more-menu { z-index: 80; }
#admin .qc-more-menu { z-index: 120; }
.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; }
#payoutAskBox { margin: 0 0 22px; }
#payoutAskBox .cta { width: auto; }
.year-payout-btn { margin: 10px 0 0; }
.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; left: auto; top: calc(100% - 2px);
  min-width: 180px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); z-index: 80; 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;
}
#spDashEventPill,
#suDashEventPill {
  margin-top: 8px;
  align-self: flex-start;
}
#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;
}
#sponsors #spYearWrap { margin-top: 8px; }
#spYearBody td.sp-year-dots,
#spBody td.need-actions {
  overflow: visible;
}
#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,
#spAddModal #spAddForm .cta { margin-top: 8px; }
#spAddModal .agree-row { margin-top: 10px; }
#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;
  aspect-ratio: 1 / 1;
  max-width: none;
}
.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;
  flex-shrink: 0; align-self: center;
}
img.avatar,
.acct-avatar {
  aspect-ratio: 1 / 1 !important;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-btn img.avatar,
.avatar-static img.avatar,
.acct-btn .acct-avatar {
  width: 100%;
  height: 100%;
}
.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-btn.is-admin { cursor: pointer; }
.qc-photo-btn.is-admin:hover .qc-photo,
.qc-photo-btn.is-admin:focus-visible .qc-photo {
  box-shadow: 0 10px 28px rgba(28,11,18,.28), 0 0 0 3px var(--gold);
}
.qc-photo-btn.is-admin:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.qc-photo-edit {
  position: absolute; right: 2px; bottom: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,253,248,.72); color: var(--wine);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 10px rgba(28,11,18,.18);
  pointer-events: auto;
  opacity: .72;
  cursor: pointer;
}
.qc-photo-edit:hover,
.qc-photo-edit:focus { opacity: 1; }
.qc-photo-edit[hidden] { display: none !important; }
.qc-photo-edit svg { display: block; }
.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-photo.is-logo {
  border-radius: 18px; object-fit: contain; object-position: center; background: #fff;
}
.qc-edit-hint { text-align: center; margin-top: 10px; }
.queen-card.is-editing .qc-identity,
.queen-card.is-editing #qcActions,
.queen-card.is-editing #qcReach,
.queen-card.is-editing #qcAcc,
.queen-card.is-editing #qcFooterActions { display: none; }
#qcReach:empty { display: none; }
.qc-reach { text-align: center; margin: 0 0 16px; }
.qc-reach .kicker { margin-bottom: 4px; }
.qc-reach .qc-actions { justify-content: center; }
#qcEdit { margin-top: 8px; }
#qcEdit[hidden] { display: none !important; }
.queen-card.is-editing #qcEdit { margin-top: 12px; }
#qcEdit .kicker, #qcEdit h3 { text-align: center; }
#qcEdit h3 { margin: 0 0 8px; }
#qcEdit .qc-actions { margin-top: 8px; }
#qcEdit .field input,
#qcEdit .field select,
#qcEdit .field textarea { width: 100%; min-width: 0; }
#qcEdit .dates { min-width: 0; }
.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);
  overflow: hidden;
}
.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; min-width: 0; margin: 0; border: 0; width: auto;
  background: transparent;
  border-radius: 10px 0 0 10px;
  padding: 12px 14px 12px 16px;
}
.title-table:has(.nat-q-dir-bar .fold-head[aria-expanded="true"]) > .nat-q-dir-bar > .fold-head {
  border-bottom-left-radius: 0;
}
.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: #f4d0d8;
  border-color: #c98a96;
  color: var(--wine);
}
.title-table.need-fold .fold-head[aria-expanded="true"] {
  background: #f3ebe3;
  border-color: var(--line);
  color: inherit;
}
.title-table.need-fold:not(:has(.fold-head[aria-expanded="true"])) h3,
.title-table.need-fold .fold-head:not([aria-expanded="true"]) h3 { color: var(--wine); }
.title-table.need-fold .fold-head .pill { display: none; }
.title-table > .court-title-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.title-table:has(> .court-title-bar > .fold-head[aria-expanded="true"]) > .court-title-bar {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.title-table .court-title-bar > .fold-head {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 10px 0 0 10px;
  padding-right: 4px;
}
.title-table:has(> .court-title-bar > .fold-head[aria-expanded="true"]) > .court-title-bar > .fold-head {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.title-table .court-title-bar > .qc-more {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0 8px 0 0;
}
.title-table.need-fold > .court-title-bar {
  background: #f4d0d8;
  border-color: #c98a96;
}
.title-table.need-fold:has(> .court-title-bar > .fold-head[aria-expanded="true"]) > .court-title-bar {
  background: #f3ebe3;
  border-color: var(--line);
}
.title-table.need-fold .court-title-bar > .fold-head,
.title-table.need-fold .court-title-bar > .fold-head[aria-expanded="true"] {
  background: transparent;
  border: 0;
  color: inherit;
}
.acc-item.need-approve:not(.on) {
  border-color: #c98a96;
}
.acc-item.need-approve:not(.on) > .acc-h,
.acc-item.need-approve:not(.on) > .of-form-h,
.acc-item.need-approve:not(.on) > .of-form-h > .acc-h,
.acc-item.need-approve:not(.on) > .acc-fold-h > .acc-h,
.acc-item.need-approve:not(.on) > .ah-lot-head,
.acc-item.need-approve:not(.on) > .ah-lot-head > .acc-h {
  background: #f4d0d8;
  color: var(--wine);
}
.acc-item.need-approve:not(.on) > .acc-h:hover,
.acc-item.need-approve:not(.on) > .of-form-h > .acc-h:hover,
.acc-item.need-approve:not(.on) > .acc-fold-h > .acc-h:hover,
.acc-item.need-approve:not(.on) > .ah-lot-head > .acc-h:hover {
  background: #eebfc9;
}
.acc-item.need-approve:not(.on) > .acc-h .pill,
.acc-item.need-approve:not(.on) > .of-form-h > .acc-h .pill,
.acc-item.need-approve:not(.on) > .acc-fold-h > .acc-h .pill {
  background: var(--wine);
  color: #fff;
}
.album-pick { margin-top: 8px; }
.album-pick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.album-pick-btn {
  width: 48px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.album-pick-btn.on { border-color: var(--gold); }
.album-pick-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.all-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
}
.all-photo-card { margin: 0; }
.all-photo-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
}
.all-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.all-photo-open:hover img,
.all-photo-open:focus img { box-shadow: 0 0 0 2px var(--gold); }
.all-photo-card figcaption {
  font-size: 12px;
  margin: 6px 0 4px;
}
.all-photo-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.all-photo-acts .ghost {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  min-height: 32px;
  font-size: 12px;
  white-space: nowrap;
}
#fileModal .file-preview img.all-photo-view {
  width: 100%;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: #1c0b12;
  display: block;
}
.qc-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 8px; justify-content: flex-start;
}
.qc-actions .qc-edit-all { margin-left: auto; width: auto; min-width: 42px; padding: 8px 12px; }
.qc-edit-actions #qcEditSave { margin-left: auto; }
.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: nowrap; align-items: center; justify-content: flex-start;
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.qc-footer-actions .ghost,
.qc-footer-actions .cta { width: auto; white-space: nowrap; }
.qc-footer-actions #qcDone { margin-left: auto; }
#queensGrid .q-card-titles,
#modelsGrid .q-card-titles { margin: 2px 0 6px; }
#queensGrid .q-card-title,
#modelsGrid .q-card-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
#queensGrid .q-card-title span,
#modelsGrid .q-card-title span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2px;
}
#queensGrid .card h3.q-card-name,
#modelsGrid .card h3.q-card-name {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.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,
#modelsGrid .card { overflow: visible; padding: 0; }
#queensGrid .queen-photo,
#modelsGrid .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(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "name name"
    "type req"
    "add del";
  gap: 8px; align-items: center; margin-bottom: 8px;
  min-width: 0; max-width: 100%;
}
.of-row.of-row-legal {
  grid-template-areas:
    "name name"
    "type req"
    "body body"
    "add del";
  align-items: start;
}
.of-row textarea.of-legal-body {
  display: none;
  grid-area: body;
  width: 100%;
  min-height: 88px;
}
.of-row.of-row-legal textarea.of-legal-body { display: block; }
.of-legal-kicker { margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.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;
  min-width: 0; max-width: 100%;
}
.of-row input.of-label { grid-area: name; }
.of-row select.of-type { grid-area: type; }
.of-row .of-req { grid-area: req; width: 100%; justify-content: flex-start; }
.of-row .of-add { grid-area: add; width: 100%; }
.of-row .of-del { grid-area: del; width: 100%; }
.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;
}
.of-row .of-add { min-width: 0; padding: 0 10px; }
.of-req {
  display: inline-flex; align-items: center; justify-content: flex-start;
  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) minmax(0, 1fr);
    grid-template-areas: "name name" "type req" "add del";
  }
}
.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,
.acc-item.on > .ah-lot-head > .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; }
.qc-title-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}
#qcTitleAcc .qc-title-actions .cta,
#qcTitleAcc .qc-title-actions .ghost {
  width: auto;
  margin: 0;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
#qcTitleAcc .qc-title-actions .cta {
  border: 1px solid transparent;
}
#qcTitleAcc .dates {
  align-items: end;
  margin: 0 0 12px;
}
#qcTitleAcc .dates .field { margin-bottom: 0; }
#qcTitleAcc .field input,
#qcTitleAcc .field select {
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
}
#qcTitleAcc .qc-title-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
#qcTitleAcc .qc-title-input input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
#qcTitleAcc .qc-title-input .cta {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
}
#qcTitleAcc .pageant-fold { text-align: left; margin: 0 0 10px; }
#qcTitleAcc .pageant-fold .dates { border: 0; }
#qcOldTitles .qc-held-row,
#qcPendingTitles .qc-held-row,
#qcTitleList .qc-held-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  text-align: left;
}
#qcOldTitles .qc-held-row > span:first-child,
#qcPendingTitles .qc-held-row > span:first-child,
#qcTitleList .qc-held-row > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
#qcPendingTitles,
#qcTitleList { margin: 0 0 12px; }
#qcTitleAddBtn { width: auto; margin: 0 0 12px; }
#qcTitleFields[hidden] { display: none !important; }
#qcOldTitles .qc-old-acts,
#qcPendingTitles .qc-old-acts,
#qcTitleList .qc-old-acts {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
#qcTitleAcc #qcOldTitles .qc-held-row .ghost,
#qcTitleAcc #qcOldTitles .qc-held-row .cta,
#qcTitleAcc #qcPendingTitles .qc-held-row .ghost,
#qcTitleAcc #qcPendingTitles .qc-held-row .cta,
#qcTitleAcc #qcTitleList .qc-held-row .ghost,
#qcTitleAcc #qcTitleList .qc-held-row .cta {
  width: auto;
  margin: 0;
  padding: 8px 14px;
  font-size: 12px;
  flex-shrink: 0;
  height: auto;
  min-height: 32px;
  box-sizing: border-box;
}
#qcHeldTitles { margin: 0 0 14px; }
#qcHeldTitles .qc-held-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 0;
  text-align: left;
}
#qcHeldTitles .qc-held-row .ghost {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  flex-shrink: 0;
}
#qcHeldAddRow {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr auto;
  gap: 8px;
  align-items: end;
  margin: 12px 0 16px;
}
#qcHeldAddRow .field { margin: 0; }
#qcHeldAddRow .cta {
  width: auto;
  margin: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
}
#qcEdit .pageant-fold { text-align: left; margin: 0 0 10px; }
@media (max-width: 720px) {
  #qcHeldAddRow { grid-template-columns: 1fr 1fr; }
  #qcHeldAddRow .cta { grid-column: 1 / -1; }
}
.qc-edit-info {
  margin-top: 10px;
  width: auto;
  padding: 8px 12px;
}
.q-title-with-approve {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}
.q-title-with-approve > span:first-child {
  min-width: 0;
  margin-right: auto;
}
.q-title-acts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  vertical-align: middle;
  margin: 0 8px 0 0;
}
.q-title-with-approve .q-title-acts {
  margin: 0;
  flex-shrink: 0;
}
.q-title-acts .cta,
.q-title-acts .ghost {
  width: auto;
  margin: 0;
  padding: 8px 12px;
}
#dirQApprove .q-title-acts,
#dir-queens td.q-dots .q-title-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 8px;
  max-width: 100%;
}
#admin-approvals .ap-actions,
#admin-charities .ap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
#admin-approvals .ap-actions .cta,
#admin-approvals .ap-actions .ghost,
#admin-charities .ap-actions .cta,
#admin-charities .ap-actions .ghost {
  width: auto;
  margin: 0;
  padding: 8px 12px;
}
.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); }
#crown .dash-card[data-qdash="todo"] { overflow: visible; isolation: auto; }
#crown .dash-card[data-qdash="todo"].todo-complete #qTodoAmt,
#crown .dash-card[data-qdash="todo"].todo-complete #qTodoBar { display: none; }
.todo-medal {
  position: relative;
  width: 96px;
  height: 108px;
  margin: 6px auto 0;
  display: grid;
  place-items: center;
}
.todo-medal[hidden] { display: none !important; }
.todo-medal-ribbon {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 36px;
  height: 28px;
  transform: translateX(-50%);
  z-index: 0;
}
.todo-medal-ribbon::before,
.todo-medal-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 34px;
  background: linear-gradient(180deg, #6b1d32 0%, #4a1424 70%, #2a0c14 100%);
  box-shadow: inset 0 1px 0 rgba(232, 213, 163, .45);
}
.todo-medal-ribbon::before {
  left: 2px;
  transform: rotate(-16deg);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.todo-medal-ribbon::after {
  right: 2px;
  transform: rotate(16deg);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.todo-medal-disc {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 28%, #fff6d4 0%, #e8d5a3 28%, #c4a35a 58%, #8a6a2a 100%);
  border: 2px solid #f3e4b2;
  box-shadow:
    0 10px 22px rgba(74, 20, 36, .22),
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -10px 16px rgba(74, 20, 36, .18);
}
.todo-medal-disc::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 20, 36, .28);
  pointer-events: none;
}
.todo-medal-disc svg {
  width: 38px;
  height: 38px;
  fill: var(--wine);
  filter: drop-shadow(0 1px 0 rgba(255, 246, 212, .55));
}
#crown .dash-card[data-qdash="todo"].todo-complete {
  background:
    linear-gradient(90deg, var(--gold), var(--gold-soft)) 0 0 / 100% 3px no-repeat,
    linear-gradient(165deg, #fffdf4 0%, #f6ead0 100%);
}
.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 {
  position: relative;
  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-hero.has-sp-logos,
#share .share-hero.has-sp-logos { padding-top: 136px; }
.share-sponsor-logos {
  position: absolute;
  top: 16px;
  right: 8vw;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  max-width: min(440px, 72%);
  overflow: visible;
}
.share-sponsor-logos[hidden] { display: none !important; }
.share-sp-logo {
  position: relative;
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  border: 1px solid rgba(196,163,90,.75);
  display: block;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(14,7,10,.28);
}
.share-sp-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
  background: transparent;
}
.share-sp-logo.is-edit {
  width: 84px;
  height: 84px;
  padding: 0;
  display: block;
  overflow: visible;
}
.share-sp-logo.is-edit img { width: 100%; height: 100%; border-radius: 18px; }
.share-sp-logo.is-word,
.share-sp-logo.is-word.is-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 84px;
  max-width: 168px;
  height: 84px;
  padding: 8px 14px;
  background: #fbf6ef;
}
.share-sp-word {
  font-family: var(--script);
  color: #3d241c;
  text-align: center;
  line-height: 0.95;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.share-sp-word.is-lg { font-size: 28px; }
.share-sp-word.is-md { font-size: 22px; }
.share-sp-word.is-sm { font-size: 18px; }
.share-sp-logo.is-word.is-edit {
  height: auto;
  min-height: 84px;
  padding: 0;
  flex-direction: column;
  overflow: visible;
}
.share-sp-logo.is-word.is-edit .share-sp-word {
  width: 100%;
  min-height: 72px;
  padding: 8px 12px 4px;
}
.share-sp-logo.is-word.is-edit .share-sp-acts { position: static; }
.share-sp-preview.is-word {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbf6ef;
  overflow: hidden;
}
.share-sp-preview.is-word .share-sp-word { background: transparent; }
.share-sp-colors { display: grid; gap: 10px; margin: 8px 0 12px; }
.share-sp-colors .team-bg-row { margin-top: 0; }
#qGroupTextBar { margin: 4px 0 0; }
.share-sp-pick-word {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fbf6ef;
  border: 1px solid rgba(196,163,90,.75);
  color: #3d241c;
  font-family: var(--script);
  line-height: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2px;
}
.share-sp-pick-word.is-lg { font-size: 16px; }
.share-sp-pick-word.is-md { font-size: 12px; }
.share-sp-pick-word.is-sm { font-size: 10px; }
.grp-sms-list { max-height: 240px; overflow: auto; margin: 8px 0 14px; }
.grp-sms-list .agree-row { margin: 8px 0; }
.grp-sms-list .note { margin: 6px 0; }
.share-sp-acts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  padding: 2px 4px 3px;
  background: rgba(14,7,10,.72);
}
.share-sp-edit {
  border: 0; background: transparent; color: #f3e6c8; cursor: pointer;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 0 2px; min-height: 22px;
}
.share-sp-logo.is-edit .share-sp-x { position: static; background: transparent; color: #fff; width: auto; height: auto; border-radius: 0; }
.share-sp-preview {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin-bottom: 12px;
  border: 1px solid rgba(196,163,90,.75);
}
a.share-sp-logo { text-decoration: none; }
.share-sp-x {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #1c0b12;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.share-sp-add {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  border: 1px dashed rgba(196,163,90,.85);
  background: rgba(14,7,10,.62);
  color: var(--gold-soft);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
}
.share-sp-add b { font-size: 22px; line-height: 1; color: var(--gold); font-weight: 500; }
.share-sp-add span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.share-sp-pick {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.share-sp-pick .share-sp-pick-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.share-sp-pick img.avatar { width: 40px; height: 40px; }
.share-sp-pick-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.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; }
#shareActions { align-items: stretch; }
#sharePublicBtn {
  width: 100%; max-width: 22rem; border: 1px solid var(--line);
  background: #1f1116; color: var(--ivory); padding: 10px 12px; border-radius: 8px;
}
#shareActions .cta,
#shareActions .ghost {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
}
.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-text-card { position: relative; }
.share-box-edit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(22, 11, 16, .78);
}
.share-box-edit[hidden] { display: none !important; }
.share-auction, .share-events { margin-top: 36px; }
.share-auction[hidden], .share-events[hidden] { display: none !important; }
.share-auc-h, .share-ev-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.share-auc-h h3, .share-ev-h h3 { margin: 0; color: var(--ivory); }
.share-auc-arrows { display: flex; gap: 8px; }
.share-auc-arrows .ghost { min-width: 44px; padding: 8px 12px; }
.share-auction .card, .share-events .card { cursor: pointer; }
.share-auction .card h3, .share-events .card h3 { color: var(--ivory); }
.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); }
#shareDonateModal .pay-card { width: min(520px, 100%); max-height: 90vh; overflow: auto; }
#shareDonateModal .share-charity-add { padding: 4px 14px 14px; }
#shareDonateModal .share-charity-add .cta { margin-top: 8px; }
#shareDonateModal .share-charity-n {
  margin-left: auto; min-width: 1.6em; text-align: center;
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink);
}
#shareDonateModal .share-charity-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--line);
}
#shareDonateModal .share-charity-row label {
  display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; margin: 0;
}
#shareDonateModal .share-charity-row a {
  color: var(--wine); font-size: 14px; flex: 0 1 auto; max-width: 52%;
}
@media (max-width: 720px) {
  #shareDonateModal .share-charity-row { flex-direction: column; align-items: flex-start; }
  #shareDonateModal .share-charity-row a { max-width: 100%; }
}
#shareDonateModal .share-charity-empty { margin: 0; padding: 0 14px 14px; }
.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,
#shareCauseLabel { color: #fff; }
#shareCauseCard .don-ch .pill,
#shareCauseCard .don-ch .ch-under {
  color: var(--muted);
  font-weight: 400;
}
#shareCauseCard .don-ch .pill { border-color: var(--line); }
#shareCauseCard .ch-under { margin: 4px 0 0; font-size: 13px; font-weight: 400; }
#shareCauseCard .pager { color: #d9cfc6; }
#shareCauseCard .pager select {
  background: #160b10; color: #fff; border-color: var(--line);
}
#shareCauseSpan { margin: 0 0 0 auto; }
#shareCauseH .q-char-span { margin: 0; }
#shareCauseCard .q-char-span,
#shareCauseCard .q-char-span select { color: var(--ivory); }
#shareCauseCard .q-char-span select {
  background: #160b10;
  border-color: var(--line);
}
.q-char-span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.q-char-span select {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.ebay-bar .q-char-span { justify-content: space-between; }
.ebay-bar .q-char-span select { flex: 1; min-width: 0; padding: 12px 14px; }
.q-char-amt-list { list-style: none; margin: 6px 0 0; padding: 0; }
.q-char-amt-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink);
}
.q-char-amt-list small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.q-char-total { margin: 0 0 4px; }
.year-made-card .q-char-span { margin: 8px 0 4px; }
.don-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
}
.don-title-line h3 { margin: 0; }
.don-title-line .q-char-span {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.year-made-card .don-title-line .q-char-span select {
  padding: 4px 8px;
  font-size: 13px;
  max-width: 140px;
}
.year-made-card .don-title-line .q-char-span select[data-q-char-pick] {
  max-width: none;
}
.q-char-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  align-self: stretch;
  margin-top: 4px;
}
.q-char-picks .q-char-span { flex: 1 1 140px; margin: 0; }
.q-char-picks .q-char-pick { flex: 1 1 180px; }
.q-char-picks select { width: 100%; max-width: none; }
#dashTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
#dashTitle .q-char-span { margin: 0; text-transform: none; letter-spacing: 0; }
.year-made-card .q-char-amt { margin: 0 0 8px; }
#impactCharSpan { margin: 0 0 14px; }
.q-table td .q-char-amt { min-width: 160px; max-width: 280px; }
.q-table .q-char-amt-list li { font-size: 13px; padding: 3px 0; }
#dir-queens .q-sec-h .q-char-span { flex-shrink: 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;
}
.contact-drop-btn {
  width: 100%; text-align: left; cursor: pointer; color: var(--ink);
  border: 1px solid var(--line); background: var(--white); padding: 10px 12px; border-radius: 8px;
  font: inherit; font-size: 14px;
}
.contact-drop-btn::after {
  content: ""; float: right; margin-top: 7px;
  border: 5px solid transparent; border-top-color: var(--wine);
}
.contact-drop-menu {
  border: 1px solid var(--line); border-radius: 8px; margin-top: 6px;
  padding: 4px 12px; background: #fff;
}
.contact-drop-menu[hidden] { display: none !important; }
.contact-drop-menu label {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 0;
  cursor: pointer; text-transform: none; letter-spacing: 0;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.contact-drop-menu input {
  width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--wine); flex: 0 0 auto;
}
.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(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.role-grid label {
  border: 1px solid var(--line); padding: 14px 12px; border-radius: 12px; cursor: pointer; font-size: 15px;
  text-align: center; line-height: 1.2; min-height: 52px;
  display: flex; align-items: center; justify-content: 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],
#fields-model[hidden],
#fields-agency[hidden],
#profileYearAcc[hidden],
#profileWonAcc[hidden],
#profileSwitchRow[hidden],
#profileNamePrivacy[hidden] { display: none !important; }
.auth-card:has(#signupForm) { width: min(760px, 100%); }
#feedbackTable td.fb-note { max-width: 340px; white-space: normal; line-height: 1.45; }
#feedbackAdminBox .nat-dir-tools { justify-content: space-between; margin: 0 0 12px; }
#feedbackAdminBox .nat-dir-tools .court-search { flex: 1; min-width: 160px; margin: 0; }
#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;
  aspect-ratio: 1 / 1;
  max-width: none;
}
.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; display: flex; align-items: center; gap: 6px; }
#pc-manage .page-title-with-hide { overflow: visible; }
#pc-manage .acc-h .sp-fold-amt { font-size: 20px; }
#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; }
#startDashBtn[hidden] { display: none !important; }
#startDashBtn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--wine);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(74, 20, 36, .32);
  cursor: pointer;
  flex: 0 0 auto;
}
#startDashBtn:hover { filter: brightness(1.12); }
.page-title-with-hide > #startDashBtn:not([hidden]) { margin-left: auto; }
.year-title-tools > #startDashBtn { margin-left: 0; }
#dirRemindAllMail,
#natRemindAllMail,
#dirJoinOfferBtn,
#dirDiscountBtn,
#natJoinOfferBtn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 16px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  max-width: none;
  flex: 0 0 auto;
}
#dirJoinOfferBtn[hidden],
#dirDiscountBtn[hidden],
#dirQGroupText[hidden],
#natJoinOfferBtn[hidden] { display: none !important; }
.discount-source { margin-top: 0; }
.discount-source .cta,
.discount-source .ghost { min-height: 36px; }
.join-queen-picks {
  max-height: calc(10 * 34px + 9 * 6px + 16px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 6px;
  background: var(--white);
}
.join-queen-picks label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  min-height: 34px;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink, #1c1412);
}
#discountAddFold,
#joinOfferAddFold { margin-top: 0; }
#discountAddFold > .acc-h,
#joinOfferAddFold > .acc-h { font-size: 16px; }
#discountAddFold > .acc-b,
#joinOfferAddFold > .acc-b { padding: 12px 14px 14px; }
.discount-add { display: grid; gap: 8px; }
.discount-add .ghost { width: auto; justify-self: start; min-height: 36px; }
.discount-pick-all {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink, #1c1412);
}
.discount-pick-all[hidden] { display: none !important; }
.discount-pick-all input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#discountQueens.join-queen-picks,
#joinOfferQueen.join-queen-picks {
  max-height: calc(5 * 34px + 4 * 6px + 18px);
}
#discountQueens.join-queen-picks label,
#joinOfferQueen.join-queen-picks label { min-width: 0; }
#discountQueens.join-queen-picks label span,
#joinOfferQueen.join-queen-picks label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#discountQueens.join-queen-picks label small,
#joinOfferQueen.join-queen-picks label small {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--muted, #8a756c);
  font-size: 11px;
  white-space: nowrap;
}
.pic-chat {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(27, 18, 24, .78);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.pic-chat svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pic-chat-self { pointer-events: none; cursor: default; }
.queen-photo > a { display: block; color: inherit; text-decoration: none; }
.side a[data-go="chat"] .chat-n,
.chat-list .chat-n {
  min-width: 18px;
  height: 18px;
  margin-left: 8px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wine, #6e2438);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
}
.side a[data-go="chat"] .chat-n { margin-left: auto; }
.chat-list .chat-n { margin-left: auto; float: none; flex-shrink: 0; }
.chat-list button .note { display: block; margin-top: 4px; }
#talentGrid .card:has(> .queen-photo),
#spTalentAdGrid .card:has(> .queen-photo),
#spCcAdList .card:has(> .queen-photo) { padding: 0; }
#talentGrid .queen-photo > img,
#spTalentAdGrid .queen-photo > img,
#spCcAdList .queen-photo > img { aspect-ratio: 3/4; object-fit: cover; width: 100%; display: block; }
.chat-layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.chat-list, .chat-pane {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.chat-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chat-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 12px;
  display: grid;
  gap: 8px;
}
.chat-group[hidden],
#chatStart[hidden],
#chatGroupForm[hidden] { display: none !important; }
.chat-search-lab { margin: 0; font-size: 13px; font-weight: 600; }
#chatStartSearch { width: 100%; }
.chat-group .ghost, .chat-group .cta { width: 100%; }
#chatGroupForm { display: flex; flex-direction: column; gap: 8px; }
#chatGroupStart { margin-top: 16px; }
#chatGroupSearch { width: 100%; }
.chat-hit {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  cursor: pointer;
  color: inherit;
}
.chat-hit .note { margin: 0; }
.chat-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-picks:empty { display: none; }
.chat-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  background: #fff8ee;
  border: 1px solid var(--line);
  font-size: 13px;
}
.chat-pick button {
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0 2px;
  font-size: 16px;
  line-height: 1;
}
.chat-list { overflow: auto; max-height: 640px; }
.chat-list > .note {
  display: block;
  margin: 0;
  padding: 16px 14px;
}
.chat-deleted {
  border-top: 1px solid var(--line);
}
.chat-deleted[hidden] { display: none !important; }
.chat-deleted > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.chat-deleted > summary::-webkit-details-marker { display: none; }
.chat-deleted > summary .pill { margin-left: auto; }
#chatForm[hidden],
#chatDelete[hidden] { display: none !important; }
.chat-list .chat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: inherit;
}
.chat-list .chat-row.on { background: #fff8ee; }
.chat-list .chat-row button {
  width: auto;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.chat-list .chat-open {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.chat-list .chat-row button.chat-del {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--wine, #6e2438);
  border-radius: 999px;
}
.chat-list .chat-del:hover,
.chat-list .chat-del:focus-visible { background: rgba(110, 36, 56, .08); }
.chat-list .chat-del svg { display: block; }
.chat-list .note { margin: 0; }
.chat-row-txt { min-width: 0; flex: 1; }
.chat-name { display: block; font-weight: 600; }
.chat-avas { display: flex; align-items: center; flex-shrink: 0; }
.chat-list .chat-ava,
.chat-list .chat-ava .avatar { width: 32px; height: 32px; }
.chat-avas .chat-ava + .chat-ava,
.chat-avas .chat-more { margin-left: -10px; }
.chat-more {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--wine, #6e2438);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.chat-with-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-with-line h3 { margin: 0; min-width: 0; }
.chat-with-line h3[hidden] { display: none !important; }
.chat-people-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.chat-people-btn:disabled { cursor: default; }
.chat-with-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}
#chatDelete {
  margin-left: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
}
#chatDelete svg { display: block; }
#chatPeopleList { display: grid; gap: 4px; margin-top: 8px; max-height: min(50vh, 420px); overflow: auto; }
.chat-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.chat-person:last-child { border-bottom: 0; }
.chat-line { display: flex; align-items: flex-end; gap: 8px; }
.chat-line.mine { justify-content: flex-end; }
.chat-from { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.chat-pane { padding: 16px; min-height: 420px; display: flex; flex-direction: column; }
.chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; max-height: 480px; margin: 8px 0 12px; }
.chat-bubble { max-width: 82%; padding: 8px 12px; border-radius: 12px; background: #f6f1ea; font-family: var(--sans), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.chat-bubble.mine { align-self: flex-end; background: #f4e7c4; }
.chat-bubble .note { margin: 4px 0 0; }
#chatForm { display: grid; gap: 8px; }
#chatForm textarea { width: 100%; font-family: var(--sans), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.chat-compose-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#chatEmojiBtn { width: auto; padding: 6px 12px; }
#chatEmojiBox {
  display: flex; flex-wrap: wrap; gap: 4px;
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 6;
  width: min(280px, 70vw); padding: 6px;
  background: #fffdf8; border: 1px solid var(--line); border-radius: 10px;
}
#chatEmojiBox[hidden] { display: none !important; }
#chatEmojiBox button {
  width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 18px; line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--sans), sans-serif;
}
#chatAddBtn { width: auto; margin-left: 0; padding: 6px 12px; font-size: 10px; }
#chatAddBtn[hidden] { display: none !important; }
#chatAddBox { margin-top: 14px; }
#chatPeopleModal .pageant-fold-b { padding: 8px 16px 20px; }
#chatPeopleModal #chatAddSave { margin: 18px 8px 10px; }
#chatAddBox[hidden] { display: none !important; }
#chatAddSearch, #chatGroupSearch { width: 100%; }
.chat-check {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 2px; border-bottom: 1px solid var(--line);
  font-size: 14px; cursor: pointer;
}
.chat-check .note { margin: 0 0 0 auto; }
.chat-check input { flex: 0 0 auto; width: 16px; height: 16px; }
#chatGroupHits, #chatAddHits, #groupChatTeam { max-height: 280px; overflow: auto; }
#groupChatModal .pay-card { width: min(520px, 100%); }
@media (max-width: 800px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-list { max-height: 220px; }
}
.page-title-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.page-title-tools .winners-toggle {
  width: auto;
  max-width: none;
  white-space: nowrap;
  padding: 0;
}
.page-title-cta {
  padding: 8px 12px;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.page-title-with-hide .page-title-tools .hide-page-wrap { margin-left: 0; }
.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;
  overflow: visible;
}
.auc-head h2 { margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.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 auto;
  align-items: center;
}
#queensBookPanel .ebay-bar.queens-bar {
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: center;
}
.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; }
#aucSilentHost .ah-lot-fold { background: #fff; }
#aucSilentHost .acc-item .ah-lot-fold > .ah-lot-head > .acc-h { background: transparent; font-size: 16px; }
#my-auctions #aucListAcc { margin: 8px 0 20px; overflow: visible; }
#aucMine > .acc-item { margin-top: 12px; }
#aucMine > .acc-item:first-child { margin-top: 0; }
#aucMine .ah-lot-fold { margin-top: 10px; }
#my-auctions #aucListAcc > .acc-b { padding: 16px 18px 20px; }
.auc-list-tools {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin: 0 0 16px;
}
.auc-list-tools .note { margin: 0; flex: 1; min-width: 0; }
.auc-list-tools .cta { flex-shrink: 0; width: auto; margin: 0; }
#my-auctions .ah-lot-fold:has(.qc-more-menu:not([hidden])) { z-index: 20; position: relative; }
#lotListModal .pay-card {
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
}
.list-sec { margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.list-sec:last-of-type { border-bottom: 0; padding-bottom: 0; }
.list-sec > .kicker { margin: 0 0 10px; }
.pay-break {
  margin: 10px 0 12px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #faf6f1;
}
.pay-break-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; font-size: 14px; padding: 3px 0;
}
.pay-break-row span { color: var(--muted); }
.pay-break-row b { font-weight: 600; color: var(--ink); }
.pay-break-row.total {
  margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 16px;
}
.pay-break-row.total span { color: var(--ink); }
.pay-break .note { margin: 8px 0 0; }
.pay-test {
  margin: 12px 0 0; padding: 10px 12px;
  border: 1px dashed var(--line); border-radius: 10px; background: #fffdf8;
}
.pay-test .kicker { margin: 0 0 4px; }
.pay-test .note { margin: 0 0 8px; }
.pay-test-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; font-size: 13px; padding: 2px 0;
}
.pay-test-line span { color: var(--muted); }
.pay-test-line code {
  font-family: inherit; font-weight: 600; color: var(--ink);
  background: none; padding: 0;
}
.lot-charity-amt {
  display: flex; align-items: center; gap: 8px; max-width: 140px;
}
.lot-charity-amt input { width: 88px; }
.lot-charity-amt span { color: var(--muted); font-size: 14px; }
#lotListModal .list-form { padding: 0; margin: 0; }
#lotListModal .list-form > .cta { margin-top: 0; }
#lotListModal .dates,
#lotListModal .dates.three,
#shareLotModal .dates,
#shareLotModal .dates.three {
  align-items: end;
  margin: 0 0 12px;
}
#lotListModal .dates .field,
#shareLotModal .dates .field { margin-bottom: 0; }
#lotListModal .qc-actions .cta,
#lotListModal .qc-actions .ghost,
#shareLotModal .qc-actions .cta,
#shareLotModal .qc-actions .ghost {
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#lotListModal .list-form .cta { margin-top: 0; }
#lotListModal .list-form input[type="range"],
#shareLotModal input[type="range"] {
  height: 42px;
  min-height: 42px;
  width: 100%;
  padding: 0;
  margin: 0;
  accent-color: var(--wine);
}
#lotListModal .list-form .field input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]):not([type="range"]),
#lotListModal .list-form .field select,
#shareLotModal .field input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]):not([type="range"]),
#shareLotModal .field select {
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  font-size: 14px;
  line-height: 42px;
  appearance: none;
  -webkit-appearance: none;
}
#lotListModal .list-form .field select,
#shareLotModal .field select {
  padding-right: 32px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%234a1424' d='M1.2 1.2l4.8 4.8 4.8-4.8' stroke='%234a1424' stroke-width='1.2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
#lotListModal .list-form input[type="file"],
#shareLotModal input[type="file"] {
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.2;
}
#lotListModal .lot-charity-pick .ghost,
#shareLotModal .lot-charity-pick .ghost {
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
#lotListModal .lot-charity-amt input,
#shareLotModal .lot-charity-amt input {
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
}
#lotListModal .list-form textarea,
#shareLotModal textarea {
  min-height: 84px;
  box-sizing: border-box;
  line-height: 1.4;
  padding: 10px 12px;
}
#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); }
.sa-pay-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.field .sa-pay-choice label {
  display: inline-flex; align-items: center; gap: 8px;
  width: auto; margin: 0; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #f3ebe3; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.field .sa-pay-choice input {
  width: 16px; height: 16px; margin: 0; padding: 0; flex: 0 0 auto;
  border: 0; border-radius: 0; background: transparent;
}
.field .sa-pay-choice label:has(input:checked) {
  background: var(--gold); color: #1c0b12; border-color: var(--gold);
}
.sa-event-pay { margin-top: 10px; }
.sa-event-pay .card-actions { margin-top: 8px; margin-bottom: 4px; }
.sa-event-pay .card-actions .cta,
.sa-event-pay .card-actions .ghost {
  padding: 10px 16px; font-size: 11px;
}
.sa-event-pay .cta.is-on,
.sa-event-pay .ghost.is-on { box-shadow: inset 0 0 0 2px #1c0b12; }
.sa-item-compact .sa-event-pay .card-actions { flex-direction: column; }
.sa-item-compact .sa-event-pay .cta,
.sa-item-compact .sa-event-pay .ghost {
  width: 100%; padding: 10px 16px; font-size: 11px; margin-top: 0;
}
.sa-refuse-tools .field { margin-bottom: 8px; }
.sa-offer-list { margin-top: 8px; }
.sa-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.sa-offer-row p { margin: 0; min-width: 0; }
.sa-offer-row .ghost { flex: 0 0 auto; }
#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; }
#askModal { z-index: 92; }
#askModal .pay-card {
  width: min(640px, 100%);
  max-width: 100%;
  container-type: inline-size;
  container-name: asksheet;
}
#askModal .qc-actions {
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}
#askModal .qc-actions .cta,
#askModal .qc-actions .ghost {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  padding: 12px 10px;
  min-height: 44px;
  letter-spacing: .04em;
  font-size: 11px;
  line-height: 1.2;
}
@container asksheet (max-width: 520px) {
  #askModal .qc-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #askModal .qc-actions .cta,
  #askModal .qc-actions .ghost {
    flex: 0 0 auto;
    width: 100%;
    white-space: normal;
  }
}
@media (max-width: 640px) {
  #askModal .qc-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #askModal .qc-actions .cta,
  #askModal .qc-actions .ghost {
    flex: 0 0 auto;
    width: 100%;
    white-space: normal;
    font-size: 12px;
    letter-spacing: .06em;
  }
}
#sideHideModal { z-index: 90; }
#payModal, #bookModal { z-index: 85; }
#imgCropModal { z-index: 96; }
#imgCropModal .pay-card,
.pay-card.img-crop-card { width: min(720px, 100%); max-height: min(92vh, 900px); overflow: auto; }
.img-crop-stage {
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #1c0b12;
  touch-action: none;
  user-select: none;
}
.img-crop-stage.is-portrait {
  max-width: min(420px, 100%);
  margin-left: auto;
  margin-right: auto;
}
#imgCropCanvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
  vertical-align: top;
}
#imgCropCanvas:active { cursor: grabbing; }
#ticketPrintModal, #ticketBuyModal { z-index: 92; }
.pay-card { position: relative; 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; }
#profileForm[hidden],
#pageantProfileForm[hidden] { display: none !important; }
#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,
img.avatar.is-logo,
.acct-avatar.is-logo {
  border-radius: 12px !important; 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 .acc-b,
#profileTitleWrap .profile-year,
#profileTitleWrap .profile-won {
  display: grid;
  gap: 16px;
}
#profileTitleWrap .acc-b .field {
  margin: 0;
  gap: 8px;
}
#profileTitleWrap .acc-b .field label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
#profileTitleWrap .acc-b .agree-row {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  overflow: visible;
}
#profileTitleWrap .profile-year,
#profileTitleWrap .acc-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 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-card-wrap { position: relative; overflow: visible; padding: 0; }
.lot-card-wrap > .qc-more {
  position: absolute; top: 8px; right: 8px; z-index: 5;
}
.lot-card-wrap > .qc-more .qc-more-btn {
  background: rgba(255, 253, 248, .92);
}
.lot-card-wrap:has(.qc-more-menu:not([hidden])) { z-index: 12; }
.lot-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.lot-card-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
.lot-card-acts .cta, .lot-card-acts .ghost { padding: 8px 12px; font-size: 11px; }
.lot-card-wrap:hover, .lot-link:hover { border-color: var(--gold); }
.lot-title-row {
  display: flex; align-items: flex-start; gap: 8px;
}
.lot-title-row h2 { flex: 1; min-width: 0; margin: 0; }
#lotOwnMore { flex-shrink: 0; margin-top: 4px; }
#lotPrice.tip[data-tip]:hover::after,
#lotPrice.tip[data-tip]:focus::after,
#aucMineTip.tip[data-tip]:hover::after,
#aucMineTip.tip[data-tip]:focus::after {
  width: min(360px, 86vw);
  white-space: normal;
}

.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-img-pick {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ev-img-pick img {
  width: 120px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f3ebe3;
}
.ev-img-pick .note { margin: 6px 0 0; }
#saItemModal .ev-img-pick img {
  width: 96px;
  height: 120px;
}
#saItemModal .ev-img-pick .ghost {
  width: auto;
  padding: 10px 16px;
}
.sa-item-img-empty {
  width: 96px;
  height: 120px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f3ebe3;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sa-item-img-empty[hidden],
#saItemImgPrev[hidden] { display: none !important; }
.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;
  padding-top: 36px;
}
.ev-empty-card {
  text-align: center;
  max-width: 32rem;
  margin: 8px auto 16px;
  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[hidden] { display: none !important; }
.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; }
}
.fold-splash { margin: 0 0 8px; }
.fold-splash .su-splash-hero,
.fold-splash .su-splash-copy { min-height: 200px; }
.fold-splash .su-splash-copy { padding: 24px 22px 20px; }
.fold-splash .su-splash-copy h3 { font-size: 28px; max-width: 18ch; }
.fold-splash .su-splash-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 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:has(.qc-more-menu:not([hidden])),
.ev-card:has(.qc-more-menu:not([hidden])):hover,
.ev-card.ev-menu-open,
.ev-card.ev-menu-open:hover {
  transform: none;
  z-index: 12;
}
.ev-card .pad h3 { margin: 8px 0 4px; font-size: 26px; }
.lot-charity-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.lot-charity-pick .ghost.on { background: var(--wine); color: #fff; border-color: var(--wine); }
.ev-card:has(.ev-card-sa.on):hover { transform: none; }
.ev-card-sa { margin-top: 14px; }
.ev-card-sa > .acc-h { width: 100%; text-align: left; }
.ev-card-sa .tk-grid { margin-top: 10px; }
#events .grid-3 .card { overflow: visible; }
.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-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#saPageTitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
#saPageTitle .sa-fee-tip { display: inline-flex; vertical-align: middle; margin-left: 6px; }
#silent #saPageShare { margin: 0; flex: 0 0 auto; }
#silent #saPageShare .sa-share-actions {
  margin: 0;
  flex-wrap: nowrap;
}
#silent #saPageShare .cta {
  width: auto;
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 11px;
}
.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; }
.sa-fold-toolbar {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0 12px;
}
.sa-fold-toolbar .cta { width: auto; margin: 0; padding: 8px 12px; }
.sa-fold-toolbar .qc-more { margin-left: auto; }
.qc-more-menu a {
  display: block; width: 100%; text-align: left; box-sizing: border-box;
  padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--wine);
  text-decoration: none;
}
.qc-more-menu a:hover { background: #f8ecec; }
.sa-mini-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)) !important; gap: 10px !important; }
.sa-item-compact > .pad { padding: 8px 10px 10px !important; }
.sa-item-compact h3 { font-size: 14px !important; margin: 4px 0 2px !important; }
.sa-item-compact .tk-price { font-size: 18px !important; margin: 4px 0 2px !important; }
.sa-item-compact .sa-item-photo { aspect-ratio: 1 / 1; max-height: 120px; }
.sa-item-compact .ghost { padding: 4px 8px; font-size: 10px; margin-top: 6px; }
#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;
}
.sa-page-meta { display: grid; gap: 8px; margin: 10px 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;
}

.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;
}
#suDashSaCard .year-pie-wrap {
  flex: none;
  width: min(128px, 72%);
  max-width: 128px;
  margin: 6px auto 0;
  align-self: center;
}
#suDashSaCard .year-pie {
  width: 100%;
  max-width: none;
  margin: 0;
}
#suDashSaCard .su-ev-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
#suDashSaCard .su-ev-leg i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
#suDashSaCard .su-ev-leg span {
  margin-left: auto;
  font-family: var(--serif);
  color: var(--ink);
}
#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; position: relative; }
.sa-item-more {
  position: absolute; top: 6px; right: 6px; z-index: 4;
}
.sa-item-more .qc-more-btn {
  background: rgba(255,253,248,.94); border: 1px solid var(--line);
}
.sa-item-compact .sa-item-more { top: 4px; right: 4px; }
.sa-item-card > .pad { padding: 18px 22px 22px; }
.sa-item-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.sa-item-pills .pill { margin: 0; }
.sa-outbid b { font-size: 15px; }
.sa-outbid .cta { margin-top: 8px; }
.lot-winner-row > .sa-refuse-btn { margin-left: auto; }
.sa-see-meta .sa-refuse-btn { margin-top: 6px; }
.sa-ledger td .sa-refuse-btn { margin-top: 6px; white-space: nowrap; }
.lot-link > .pad > .pill + .pill { margin-left: 8px; }
.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; overflow: visible; }
#aucSilentAcc > .acc-h { overflow: visible; }
#aucSilentAcc > .acc-h .tip { z-index: 6; }
#aucSilentAcc > .acc-h .tip-ico { flex-shrink: 0; }
#aucWonSplash { margin: 0 0 22px; }
#aucWonAcc { margin: 0; }
#payouts .pay-fold .pager { margin-top: 12px; }
#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; }
.person.auc-won-seller { margin-top: 8px; max-width: 100%; }
.auc-won-item > .pill { white-space: normal; text-align: center; line-height: 1.35; max-width: 9.5rem; }
.auc-won-seller-name {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.auc-won-seller-name:hover, .auc-won-seller-name:focus-visible { color: var(--wine); text-decoration: underline; }
.lot-winner-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.buyer-reach { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.buyer-reach .ghost { padding: 6px 10px; text-decoration: none; display: inline-flex; align-items: center; }
.lot-winner { flex-wrap: nowrap; align-items: center; }
.lot-winner .buyer-reach { flex: 0 0 auto; flex-wrap: nowrap; margin: 0; }
.lot-winner .qc-more { display: inline-flex; align-items: center; }
.lot-winner .buyer-reach .ghost {
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  margin: 0;
  box-sizing: border-box;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
.lot-winner-name {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.lot-winner-name:hover, .lot-winner-name:focus { color: var(--wine); text-decoration: underline; }
.sa-ledger td .lot-winner { max-width: 100%; }
.lot-next-bid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.lot-next-bid b { font-weight: 600; }
#shipModal .pay-card { width: min(440px, 100%); }
#shipAddr { white-space: pre-line; margin: 8px 0; }
.sa-see-who .lot-winner,
.sa-item-card .lot-winner-row,
.sa-ledger td .lot-winner-row { margin: 8px 0; }
#addrPrintClone {
  position: absolute; left: -10000px; top: 0; width: 480px;
  padding: 40px; background: #fff; color: #1c1412;
}
#addrPrintClone h1 { font-family: Georgia, serif; font-size: 28px; margin: 0 0 12px; }
#addrPrintClone .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6b5e57; margin: 0 0 8px; }
#addrPrintClone p { font-size: 18px; line-height: 1.45; margin: 0 0 8px; white-space: pre-line; }
@media print {
  body.addr-printing { margin: 0 !important; background: #fff !important; }
  body.addr-printing > * { display: none !important; }
  body.addr-printing > #addrPrintClone {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 480px;
    height: auto !important;
    margin: 0 !important;
    padding: 24px !important;
    visibility: visible !important;
    background: #fff !important;
    color: #1c1412 !important;
    page-break-before: avoid;
    page-break-after: avoid;
    break-inside: avoid;
  }
  body.addr-printing > #addrPrintClone,
  body.addr-printing > #addrPrintClone * { visibility: visible !important; }
}
.paid-wrap { max-width: 720px; padding-top: 36px; padding-bottom: 48px; }
.paid-wrap h2 { margin: 0 0 8px; }
#paidItem { margin-top: 18px; }
#paidItem .paid-item { align-items: flex-start; }
#my-auctions .ah-lot-fold { margin: 0 0 12px; overflow: visible; }
#my-auctions .ah-lot-head {
  display: flex; align-items: stretch; background: #f3ebe3;
}
#my-auctions .ah-lot-head > .acc-h { flex: 1; min-width: 0; width: auto; }
#my-auctions .ah-lot-head > .qc-more {
  display: flex; align-items: center; padding: 0 8px;
  background: #f3ebe3; position: relative; z-index: 3;
}
#my-auctions .ah-lot-head > .ah-relist {
  align-self: center;
  margin: 0 4px 0 0;
  flex: none;
  padding: 8px 12px;
  white-space: nowrap;
}
#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; display: block;
}
#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; }
#adminPageantsAcc .acc-b > .acc-item,
#apCharitiesAcc .acc-b > .acc-item { margin-top: 18px; }
.ship-flag {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid;
}
.ship-flag b {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  line-height: 1.3;
}
.ship-flag span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; text-transform: none; letter-spacing: 0; font-weight: 400; }
.ship-flag-stop { background: #faf6f4; border-color: rgba(159, 18, 57, .28); color: #7a3040; }
.ship-flag-go { background: #f4faf6; border-color: rgba(47, 107, 79, .28); color: #2a5340; }
#my-auctions .ah-lot-fold > .ship-flag { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
#crown .dash-cards { align-items: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#crown .stat.dash-card[hidden],
#crown.is-model-desk #queenDashCards,
#crown.is-model-desk #qDocsAcc,
#crown.is-model-desk .dash-card[data-qdash="todo"],
#crown.is-model-desk .dash-card[data-qdash="raised"],
#crown.is-model-desk .dash-card[data-qdash="due"],
#crown.is-model-desk .dash-card[data-qdash="share"] { display: none !important; }
#crown.is-model-desk .q-dash-help { display: none !important; }
#qDashShare[hidden] { display: none !important; }
#qDashShare { margin: 0 0 16px; }
#qDashShare .q-copy-link { width: auto; margin-top: 0; min-height: 40px; padding: 8px 16px; }
#crown.is-model-desk .page-title-with-hide #qDashShare:not([hidden]) {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
  flex: 0 0 auto;
}
#crown.is-model-desk .page-title-with-hide #qDashShare .q-copy-link {
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  white-space: nowrap;
}
#crown.is-model-desk .page-title-with-hide > .hide-page-wrap { margin-left: 0; }
@media (max-width: 700px) {
  #crown.is-model-desk .page-title-with-hide { flex-wrap: wrap; }
  #crown.is-model-desk .page-title-with-hide > h2 { flex: 1 1 auto; min-width: 0; }
}
#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;
}
#w9Card { margin: 0 0 8px; }
#w9Card .queen-fill { margin: 0; }
#dir-queens .acc-item { margin-top: 12px; }
#dir-queens .acc-item > .acc-b .q-sec-h { margin-top: 0; flex-wrap: nowrap; align-items: flex-end; }
#dir-queens .q-sec-h .court-search {
  flex: 0 0 200px;
  width: 200px;
  min-width: 160px;
  max-width: 220px;
  margin: 0 auto 0 0;
}
#dir-queens .q-sec-h .q-export { flex-shrink: 0; margin: 0 0 0 auto; }
#team-queens .acc-item > .acc-b .q-sec-h {
  margin-top: 0;
  width: 100%;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
}
#team-queens .q-sec-h .q-export {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 0 auto;
  justify-content: flex-end;
}
#dir-queens #dirQMyListSec .q-sec-h,
#team-queens #teamQMyListSec .q-sec-h {
  width: 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: flex-end;
}
#dir-queens #dirQMyListSec .q-sec-h .q-export,
#team-queens #teamQMyListSec .q-sec-h .q-export {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 0 auto;
  justify-content: flex-end;
}
#dir-queens #dirQMyListSec .q-sec-h.mql-tools,
#team-queens #teamQMyListSec .q-sec-h.mql-tools {
  justify-content: flex-start;
}
#dir-queens #dirQPossSec .q-sec-h.poss-tools,
#team-queens #teamQPossSec .q-sec-h.poss-tools {
  justify-content: flex-start;
  width: 100%;
}
#dirQPossSec .poss-tools .cta,
#teamQPossSec .poss-tools .cta {
  width: auto;
  margin: 0;
  white-space: nowrap;
}
#dirQAllSec > .acc-b > .acc-item,
#teamQAllSec > .acc-b > .acc-item {
  margin: 16px 0 0;
  background: #faf6f1;
}
#dirQAllSec > .acc-b > .acc-item > .acc-h,
#teamQAllSec > .acc-b > .acc-item > .acc-h {
  font-size: 16px;
  background: #efe4d8;
}
#possAddModal .pay-card { width: min(480px, 100%); }
#possAddModal textarea {
  height: auto;
  min-height: 72px;
  line-height: 1.4;
  resize: vertical;
}
#dirQPoss .poss-remove,
#teamQPoss .poss-remove {
  width: auto;
  margin: 0;
  padding: 4px 8px;
  font-size: 10px;
}
#dirQPoss td,
#teamQPoss td { word-break: break-word; }
#impactTotals.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
  align-items: stretch;
}
#impactTotals .stat {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-height: 148px;
  padding: 16px 18px 18px;
}
#impactTotals .stat > span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
#impactTotals .stat > b {
  font-size: 28px;
  margin: 6px 0 4px;
}
#impactTotals .stat > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 0;
}
#impactTotals .impact-add-stat .cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
}
#charityAddModal .pay-card { width: min(480px, 100%); }
.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; flex-wrap: wrap; }
#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; }
.field.of-agreement > .agree-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}
#ofFormList .field.of-agreement > .agree-row input[type="checkbox"],
.queen-fill .field.of-agreement > .agree-row input[type="checkbox"],
[data-req-form] .field.of-agreement > .agree-row input[type="checkbox"],
.field.of-agreement > .agree-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  line-height: 16px;
  flex: 0 0 16px;
  align-self: flex-start;
}
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;
}
.rev-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(28, 11, 18, .12);
}
#admin-subscriptions .acc-item { margin-top: 12px; }
#admin-subscriptions .nat-dir-tools { justify-content: space-between; margin: 0 0 12px; }
#adminSubCharts { margin: 8px 0 22px; }
#admin-subscriptions .year-made-card .pie-legend { margin-top: 8px; font-size: 11px; }
#subModalHavenlyBar { border-color: var(--gold); }
#adminWaitAcc { margin-top: 8px; }
#adminAccountsAcc { margin-top: 12px; }
#adminDeletedAcc { margin-top: 12px; }
#admin .year-made-card .pie-legend { display: none; }
#admin .year-made-head { 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: space-between;
  align-items: flex-end;
  margin: 0 0 12px;
}
#admin .nat-dir-tools .court-search,
#admin-approvals .nat-dir-tools .court-search,
#admin-charities .nat-dir-tools .court-search,
#admin-donations .nat-dir-tools .court-search,
#admin-program-book .nat-dir-tools .court-search {
  flex: 1;
  min-width: 160px;
  margin: 0;
}
#adminTable { margin: 0; }
#adminTable .acct-edit-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}
#adminTable input.acct-edit,
#adminTable select.acct-edit {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
#adminTable .person input.acct-edit { min-width: 120px; }
#adminTable td.q-dots .acct-edit-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 88px;
}
#adminTable tr.acct-editing td { vertical-align: top; }
#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,
#admin-subscriptions .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; }
  .auc-list-tools { flex-direction: column; align-items: stretch; }
  .auc-list-tools .cta { width: 100%; }
  .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-toggle { display: flex; }
  .ebay-bar.queens-bar,
  #queens .ebay-bar.queens-bar,
  #queensBookPanel .ebay-bar.queens-bar,
  #talent .ebay-bar.queens-bar,
  #sponsor-board .ebay-bar.queens-bar {
    grid-template-columns: 1fr;
  }
  .ebay-bar.queens-bar > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .winners-toggle {
    white-space: normal;
    width: 100%;
    padding: 10px 4px;
  }
  #queens .wrap,
  #talent .wrap,
  #sponsor-board .wrap { overflow-x: hidden; }
  .topbar {
    flex-wrap: nowrap;
    gap: 8px;
    position: sticky;
  }
  .brand small { display: none; }
  .brand b { font-size: 16px; letter-spacing: .08em; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 16px 18px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    background: #1c0b12;
    border-bottom: 1px solid var(--line);
    z-index: 45;
    max-height: min(80vh, 640px);
    overflow: auto;
  }
  .topbar.nav-open .nav { display: flex; }
  .nav a {
    padding: 12px 12px;
    font-size: 13px;
    letter-spacing: .1em;
  }
  .nav-auth { display: block !important; flex-shrink: 0; }
  .nav-signup {
    margin-top: 10px;
    padding: 12px 16px !important;
    text-align: center;
    border-radius: 999px;
    background: linear-gradient(90deg, #c4a35a, #e8d5a3);
    color: #1c0b12 !important;
    font-weight: 650;
    flex-shrink: 0;
  }
  .nav-signup:hover { color: #1c0b12 !important; }
  #guestNav { display: none !important; }
  .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; }

  html { scroll-padding-top: 64px; }
  html, body { max-width: 100%; }
  .view { scroll-margin-top: 64px; }
  .year-title-row { align-items: center; flex-wrap: wrap; }
  .year-title-tools {
    width: auto;
    max-width: 100%;
    margin-left: auto;
    justify-content: flex-end;
  }
  .nat-remind-all { width: 100%; }
  .page-title-tools {
    max-width: calc(100% - 8px);
    justify-content: flex-end;
  }
  .page-title-cta {
    white-space: normal;
    text-align: center;
    max-width: min(200px, 52vw);
  }
  #dir-queens .acc-item > .acc-b .q-sec-h,
  #team-queens .acc-item > .acc-b .q-sec-h { flex-wrap: wrap; }
  .acc-fold-h { flex-wrap: wrap; }
  .acc-fold-h > .cta { margin: 0 10px 8px auto; }
  .dir-org-pick { max-width: min(220px, calc(100vw - 96px)); flex: 1 1 auto; height: 40px; }
  .year-made-amt { flex-direction: column; align-items: stretch; }
  .year-made-amt .cta { margin: 8px 0 0; width: 100%; text-align: center; }
  #dirPayoutWrap, #natPayoutWrap { display: block; width: 100%; margin-top: 10px; }
  #dirPayoutBtn, #natPayoutBtn { width: 100%; }
  #payoutAskBox { margin: 12px 0 22px; }
  #payoutAskBox .cta,
  .year-payout-btn { width: 100%; text-align: center; }
  #impactTotals.impact-stats { grid-template-columns: 1fr; }
  .view, .view.on, .wrap, .main, .hero, .hero > *, .panel, .auth-screen, .auth-card,
  .share-hero, .share-hero > *, .app-shell, .app-shell > *, .split-story, .split-story > *,
  .metrics, .card, .pad, .studio, .footer, .legal, .tk-hero, .auc-head, .pageant-hero {
    min-width: 0;
    max-width: 100%;
  }
  .wrap {
    width: 100%;
    max-width: 100%;
    padding: 16px 14px 40px;
    box-sizing: border-box;
  }
  .main { padding: 16px 12px 72px; min-width: 0; overflow-x: auto; }
  #dirTeamList,
  #natTeamList { min-width: 0; max-width: 100%; overflow-x: auto; }
  #dirTeamList .q-table,
  #natTeamList .q-table { width: 100%; table-layout: fixed; }
  #dirTeamList td.q-dots,
  #natTeamList td.q-dots { white-space: normal; }
  .app-shell { min-width: 0; width: 100%; }
  .app-shell > .main { min-width: 0; }
  .dates { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; padding: 48px 16px 36px; overflow: hidden; }
  .hero h1 {
    font-size: clamp(28px, 8.4vw, 40px);
    line-height: 1.12;
    max-width: 100%;
  }
  .hero p { font-size: 16px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .cta,
  .hero-actions .ghost { width: 100%; text-align: center; box-sizing: border-box; }
  .panel { padding: 28px 16px; }
  .panel h2 { font-size: clamp(26px, 8vw, 32px); max-width: 100%; }
  .metrics { padding: 16px; gap: 8px; }
  .metric { padding: 14px 16px; }
  .metric b { font-size: 26px; }
  .auth-screen { padding: 16px 12px 32px; width: 100%; box-sizing: border-box; }
  .auth-card,
  .auth-card:has(#signupForm) {
    padding: 22px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .auth-card h2 { font-size: 28px; }
  .auth-card p, .auth-card .hint, .auth-card .note { max-width: 100%; }
  .role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role-grid label { padding: 12px 8px; font-size: 14px; }
  .modal-pay { padding: 10px; align-items: flex-end; }
  .pay-card,
  .pay-card.dash-sheet,
  .img-crop-card { width: 100%; max-width: 100%; max-height: min(92vh, 900px); padding: 20px 16px; box-sizing: border-box; }
  .row { flex-wrap: wrap; }
  .row > .cta, .row > .ghost { flex: 1 1 auto; }
  .year-made-head { flex-wrap: wrap; }
  .year-made-head > select,
  .year-made-view { min-width: 0; max-width: none; flex: 1 1 100%; }
  #crown .dash-cards,
  #director .dash-cards,
  #admin .dash-cards,
  #sponsor-dash .dash-cards,
  #national .dash-cards,
  #supporter-dash .dash-cards { grid-template-columns: 1fr; }
  .queens-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
  }
  .queens-tab {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    padding: 8px 10px;
  }
  .cs-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .cs-tab { flex: 1 1 auto; min-width: 0; padding: 8px 12px; font-size: 18px; white-space: normal; }
  .bm-lead-one { white-space: normal; }
  .bm-hero h2, .soq-hero h2 { font-size: clamp(32px, 11vw, 52px); max-width: 100%; }
  .soq-hero { flex-wrap: wrap; }
  .pager { gap: 8px; flex-wrap: wrap; }
  input, select, textarea, button { max-width: 100%; }
  input, select, textarea { font-size: 16px; min-width: 0; box-sizing: border-box; }
  .ebay-bar input, .ebay-bar select { font-size: 16px; width: 100%; min-width: 0; }
  .ebay-bar input[type="checkbox"],
  .ebay-bar input[type="radio"] { width: auto; height: auto; max-width: none; flex: 0 0 auto; }
  .winners-toggle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
  }
  .ev-browse-bar { display: flex; flex-wrap: wrap; }
  .ev-browse-bar .ev-filter { flex: 1 1 100%; min-width: 0; }
  .ev-browse-bar .ev-filter select,
  .ev-browse-bar .ev-filter input[type="date"] {
    width: 100%; min-width: 0; max-width: none;
  }
  .ev-title-row { flex-wrap: wrap; }
  .ev-title-row .cta { width: 100%; text-align: center; }
  .table th, .table td { padding: 12px 10px; font-size: 13px; }
  .q-table-wrap, .check-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .file-preview .file-frame { min-height: 220px; }
  .nat-dir-tools { flex-wrap: wrap; }
  .split-story { min-height: 0; }
  .split-story img { height: 220px; width: 100%; object-fit: cover; }
  #share .share-hero,
  .share-hero { padding: 36px 16px; min-height: 70vh; overflow: hidden; }
  #share .share-hero.has-sp-logos { padding-top: 150px; overflow: visible; }
  .share-hero.has-sp-logos { overflow: visible; }
  .share-sponsor-logos { top: 12px; right: 12px; max-width: calc(100% - 24px); overflow: visible; }
  .share-sp-logo, .share-sp-add { width: 64px; height: 64px; }
  .share-sp-logo.is-edit { width: 64px; height: 64px; }
  .share-sp-logo.is-edit img { width: 100%; height: 100%; }
  .share-sp-logo.is-word,
  .share-sp-logo.is-word.is-edit {
    min-width: 64px;
    max-width: 132px;
    height: 64px;
    padding: 4px 8px;
  }
  .share-sp-logo.is-word.is-edit { height: auto; min-height: 64px; padding: 0; }
  .share-sp-logo.is-word.is-edit .share-sp-word { min-height: 52px; padding: 4px 8px 2px; }
  .share-sp-word.is-lg { font-size: 20px; }
  .share-sp-word.is-md { font-size: 16px; }
  .share-sp-word.is-sm { font-size: 14px; }
  #shareActions .cta,
  #shareActions .ghost { height: 46px; min-height: 46px; padding: 0 14px; }
  .share-sp-pick { align-items: flex-start; flex-direction: column; }
  .share-hero h1 { font-size: clamp(30px, 10vw, 44px); line-height: 1.1; max-width: 100%; }
  .share-hero p { max-width: 100%; }
  .share-mode { flex-wrap: wrap; padding: 10px 14px; top: 56px; }
  .share-mode .cta, .share-mode .share-copy { width: 100%; text-align: center; }
  #lot .row, .card-actions { flex-wrap: wrap; }
  #events .ebay-bar,
  .ev-browse-bar { grid-template-columns: 1fr; }
  .tk-grid { grid-template-columns: 1fr; }
  .auc-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .qa-head img { width: 100%; height: auto; max-width: 220px; }
  .su-splash-copy { padding: 24px 16px; min-height: 200px; }
  .su-splash-copy h3 { font-size: 26px; max-width: 100%; }
  .pageant-hero { grid-template-columns: 1fr; }
  .legal { padding: 0 4px; overflow-wrap: break-word; }
  .toast { left: 12px; right: 12px; bottom: 12px; }
  .sp-proof-bar .note { min-width: 0; }
  .need-card .need-copy { min-width: 0; }
  .team-search-row .court-search { min-width: 0; }
}
.cal-head {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  margin: 0 0 14px;
  --cal-ctrl: 36px;
}
.cal-head h2 { margin: 0; }
.cal-title-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 0;
}
.cal-title-row h2 { margin: 0; }
.cal-scope {
  display: inline-flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 3px;
  width: max-content; max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
}
.cal-scope button {
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none;
}
.cal-scope button.on { background: var(--gold); color: #1c0b12; }
.cal-head-tools {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-left: auto;
}
.cal-head-tools .ghost,
.cal-head-tools .cta,
.cal-head-tools select {
  box-sizing: border-box;
  height: var(--cal-ctrl);
  max-height: var(--cal-ctrl);
  min-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.cal-head-tools .ghost,
.cal-head-tools .cta { padding-left: 14px; padding-right: 14px; }
#calViewPick {
  min-width: 118px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23c4a35a' d='M1 1h10L6 7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 7px;
}
@media (max-width: 700px) {
  .cal-title-row { width: 100%; }
  .cal-scope { max-width: 100%; }
  .cal-scope button { padding: 6px 10px; }
  .cal-head-tools { margin-left: 0; width: 100%; }
  #calViewPick { min-width: 96px; width: auto; flex: 0 0 auto; }
  #cal .cal-head-tools .ghost,
  #cal .cal-head-tools .cta {
    min-height: 0;
    height: var(--cal-ctrl);
    max-height: var(--cal-ctrl);
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
.cal-nav {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 14px;
}
.cal-nav h3 { margin: 0; flex: 1; text-align: center; font-size: 22px; }
.cal-nav .ghost { min-width: 40px; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal-dow {
  text-align: center; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding: 4px 0;
}
.cal-cell {
  min-height: 92px; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px; background: #fffdf9; cursor: pointer; text-align: left;
}
.cal-cell.out { opacity: .42; background: #faf6f1; }
.cal-cell.today { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cal-cell b { display: block; font-size: 13px; margin: 0 0 4px; }
.cal-ev {
  display: block; width: 100%; border: 0; border-radius: 6px;
  background: #f3dce0; color: var(--wine); font-size: 11px; line-height: 1.3;
  padding: 3px 5px; margin: 0 0 3px; text-align: left; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-ev.plat { background: #f8edd6; color: #5c3d10; }
.cal-more { font-size: 11px; color: var(--muted); }
.cal-year {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.cal-year-m h4 { margin: 0 0 8px; font-size: 16px; }
.cal-year-m .cal-cell { min-height: 28px; padding: 2px; border-radius: 4px; }
.cal-year-m .cal-cell b { font-size: 11px; margin: 0; text-align: center; }
.cal-year-m .cal-cell.has { background: #f3dce0; }
.cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 6px;
}
.cal-week-col {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px;
  background: #fffdf9; min-height: 360px; min-width: 120px;
}
.cal-week-col.today { border-color: var(--gold); }
.cal-week-col h4 { margin: 0 0 10px; font-size: 15px; }
.cal-week-card {
  display: grid; gap: 4px; width: 100%;
  border: 0; border-radius: 10px;
  background: #f3dce0; color: var(--wine);
  padding: 8px 8px 10px; margin: 0 0 8px;
  text-align: left; cursor: pointer;
  white-space: normal; line-height: 1.35;
}
.cal-week-card.plat { background: #f8edd6; color: #5c3d10; }
.cal-week-card b {
  display: block; font-family: var(--serif); font-size: 16px; font-weight: 500;
  margin: 0; overflow-wrap: anywhere;
}
.cal-week-time {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.cal-week-card.plat .cal-week-time { color: #8a6a3a; }
.cal-week-meta {
  display: grid; gap: 2px;
  font-size: 12px; color: var(--muted);
}
.cal-week-card.plat .cal-week-meta { color: #7a5a28; }
.cal-priv { color: var(--wine); }
#calEventGoing, #calEventCharity { margin: 12px 0; }
.cal-going { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 4px;
  background: #fffdf9; font-size: 13px;
}
@media (max-width: 1100px) {
  .cal-week-col { min-height: 280px; }
}
@media (max-width: 900px) {
  .cal-year { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .app-shell.side-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
  .app-shell.side-collapsed .side { padding: 12px 4px; }
  .app-shell.side-collapsed .side a { padding: 10px 4px; }
  .brand b { font-size: 15px; }
  .hero h1 { font-size: clamp(26px, 8vw, 32px); }
  .queens-tabs { border-radius: 14px; }
  .role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .role-grid label { padding: 12px 6px; font-size: 13px; min-height: 48px; }
}
[data-sp-pkg-fold][hidden] { display: none !important; }
.sp-pkg-tools {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin: 0 0 14px;
}
.sp-pkg-tools .note { margin: 0; flex: 1; min-width: 180px; }
.sp-pkg-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sp-pkg-acts .ghost, .sp-pkg-acts .cta { min-height: 40px; }
.sp-pkg-sheet {
  background: #fffdf8; color: #1c1412;
  border: 1px solid #e4d3bc; border-radius: 16px;
  padding: 22px 20px 16px;
}
.sp-pkg-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
}
.sp-pkg-head-copy { flex: 1; min-width: 0; }
.sp-pkg-photo {
  flex: none; width: 200px; height: 200px; object-fit: cover; object-position: center 18%;
  border-radius: 28px; border: 3px solid #e7c98a; background: #f6efe4;
  box-shadow: 0 8px 18px rgba(28, 20, 18, .08);
}
.sp-pkg-brand {
  margin: 0; letter-spacing: .22em; text-transform: uppercase;
  font-size: 11px; color: #8a6a32;
}
.sp-pkg-kicker {
  margin: 4px 0 0; letter-spacing: .14em; text-transform: uppercase;
  font-size: 12px; color: #6e2438;
}
.sp-pkg-sheet h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; line-height: 1.15; font-weight: 500;
  margin: 6px 0 4px; color: #1c1412;
}
.sp-pkg-sub { margin: 0; color: #6b5e57; font-size: 14px; }
.sp-pkg-intro { margin: 12px 0 0; font-size: 16px; line-height: 1.4; }
.sp-pkg-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin-top: 16px;
}
.sp-pkg-tier, .sp-pkg-edit-tier {
  border: 1px solid #e4d3bc; border-radius: 14px;
  padding: 14px 14px 12px; background: #fff; min-width: 0;
}
.sp-pkg-tier-name {
  margin: 0; letter-spacing: .16em; text-transform: uppercase;
  font-size: 12px; font-weight: 600; color: #8a6a32;
}
.sp-pkg-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px; line-height: 1; margin: 8px 0 2px; color: #1c1412;
}
.sp-pkg-year, .sp-pkg-inc { margin: 0; font-size: 13px; color: #6b5e57; }
.sp-pkg-inc { margin-top: 8px; font-weight: 600; color: #2a121c; }
.sp-pkg-tier ul { margin: 10px 0 0; padding: 0; list-style: none; }
.sp-pkg-tier li {
  position: relative; padding: 0 0 8px 14px;
  font-size: 13.5px; line-height: 1.35;
}
.sp-pkg-tier li:before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 6px; height: 6px; border-radius: 50%; background: #c4a35a;
}
.sp-pkg-gold { border-top: 5px solid #c4a35a; }
.sp-pkg-vip { border-top: 5px solid #8a6a32; background: #f8edd6; }
.sp-pkg-royal { border-top: 5px solid #e7c98a; background: #2a121c; color: #fffaf4; }
.sp-pkg-royal .sp-pkg-tier-name { color: #e7c98a; }
.sp-pkg-royal .sp-pkg-price { color: #fffaf4; }
.sp-pkg-royal .sp-pkg-year { color: #f0d7b0; }
.sp-pkg-royal .sp-pkg-inc { color: #f0d7b0; }
.sp-pkg-royal li:before { background: #e7c98a; }
.sp-pkg-note {
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px solid #e4d3bc;
  font-size: 12.5px; line-height: 1.45; color: #6b5e57;
}
.sp-pkg-edit .field { margin-bottom: 12px; }
.sp-pkg-perk { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.sp-pkg-perk input { flex: 1; min-width: 0; }
.sp-pkg-perk button { flex: none; min-height: 40px; padding: 8px 12px; }
.sp-pkg-edit-tier > .ghost { min-height: 40px; margin-top: 4px; }
#spPkgPrint {
  position: absolute; left: -10000px; top: 0; width: 960px;
  background: #fff; color: #1c1412;
}
#spPkgPrint .sp-pkg-royal,
#spPkgPrint .sp-pkg-vip,
#spPkgPrint .sp-pkg-gold {
  background: #fff; color: #1c1412; border-color: #e4d3bc;
}
#spPkgPrint .sp-pkg-royal .sp-pkg-tier-name,
#spPkgPrint .sp-pkg-royal .sp-pkg-price,
#spPkgPrint .sp-pkg-royal .sp-pkg-year,
#spPkgPrint .sp-pkg-royal .sp-pkg-inc,
#spPkgPrint .sp-pkg-sheet h3 { color: #1c1412; }
#spPkgPrint .sp-pkg-tier li { font-size: 12px; padding-bottom: 4px; }
#spPkgPrint .sp-pkg-price { font-size: 26px; }
#spPkgPrint .sp-pkg-sheet h3 { font-size: 24px; }
#spPkgPrint .sp-pkg-note { font-size: 11px; }
#spPkgPrint .sp-pkg-photo { width: 200px; height: 200px; border-radius: 28px; box-shadow: none; }
@media screen and (max-width: 860px) {
  .sp-pkg-tools { flex-direction: column; }
  .sp-pkg-acts { justify-content: flex-start; }
  .sp-pkg-cols { grid-template-columns: 1fr; }
  .sp-pkg-sheet h3 { font-size: 26px; }
  .sp-pkg-head { gap: 12px; }
  .sp-pkg-photo { width: 148px; height: 148px; border-radius: 24px; }
}
.q-mag-page {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  margin: 0 0 18px;
  border-radius: 2px;
  background: #14080c;
  color: #f7f1e6;
  box-shadow: 0 22px 50px rgba(20, 8, 12, .22);
}
.q-mag-bg, .q-mag-scrim { position: absolute; inset: 0; }
.q-mag-bg { z-index: 0; background: #14080c center / cover no-repeat; }
.q-mag-scrim { z-index: 1; pointer-events: none; }
.q-mag-photo {
  position: absolute;
  z-index: 2;
  object-fit: cover;
  object-position: center 18%;
  background: #2a1218;
  transform: scale(var(--q-photo-size, 1));
  transform-origin: center center;
}
.q-mag-photo.is-fade-top {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
}
.q-mag-photo.is-fade-bottom {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}
.q-mag-photo.is-fade-both {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.q-mag-photo.is-fade-soft {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
}
.q-mag-photo.is-fade-sheer { opacity: .55; }
.q-mag-copyblock { position: absolute; z-index: 3; }
.q-mag-kicker {
  margin: 0 0 8px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 11px;
  color: #e7c98a;
}
.q-mag-copyblock h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 42px;
  line-height: .95;
  margin: 0 0 8px;
  color: inherit;
}
.q-mag-sub {
  margin: 0 0 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: #e7c98a;
}
.q-mag-copy {
  margin: 0;
  max-width: 36em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.q-mag-logos {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.q-mag-logo {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(231, 201, 138, .9);
  display: block;
}
.q-mag-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.q-mag-logo.is-word {
  background: #fbf6ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.q-mag-logo .share-sp-word {
  background: transparent;
  padding: 2px;
}
.q-mag-logo .share-sp-word.is-lg { font-size: 15px; }
.q-mag-logo .share-sp-word.is-md { font-size: 12px; }
.q-mag-logo .share-sp-word.is-sm { font-size: 10px; }
.q-mag-page.is-portrait .q-mag-photo { inset: 0; width: 100%; height: 100%; }
.q-mag-page.is-portrait .q-mag-scrim {
  background: linear-gradient(180deg, rgba(14,7,10,0) 36%, rgba(14,7,10,.72) 62%, rgba(14,7,10,.94) 100%);
}
.q-mag-page.is-portrait .q-mag-kicker,
.q-mag-page.is-portrait .q-mag-sub,
.q-mag-page.is-portrait .q-mag-copyblock h3,
.q-mag-page.is-portrait .q-mag-copy { text-shadow: 0 2px 14px rgba(14,7,10,.7); }
.q-mag-page.is-portrait.has-bg .q-mag-photo {
  inset: auto;
  top: 8%;
  right: 7%;
  width: 46%;
  height: 36%;
  border-radius: 18px;
  border: 2px solid #e7c98a;
}
.q-mag-page.is-portrait .q-mag-copyblock { left: 7%; right: 7%; bottom: 12%; }
.q-mag-page.is-portrait .q-mag-logos { left: 7%; bottom: 4.5%; }
.q-mag-page.is-split .q-mag-photo { left: 0; top: 0; width: 52%; height: 100%; }
.q-mag-page.is-split .q-mag-scrim {
  left: 52%;
  background: linear-gradient(180deg, rgba(20,8,12,.5), rgba(20,8,12,.9));
}
.q-mag-page.is-split .q-mag-copyblock { left: 56%; right: 6%; top: 9%; }
.q-mag-page.is-split .q-mag-copyblock h3 { font-size: 36px; }
.q-mag-page.is-split .q-mag-logos { left: 56%; right: 6%; bottom: 5%; }
.q-mag-page.is-ivory { background: #f6efe4; color: #1c1412; }
.q-mag-page.is-ivory .q-mag-bg { background-color: #f6efe4; }
.q-mag-page.is-ivory .q-mag-scrim { background: rgba(246, 239, 228, .88); }
.q-mag-page.is-ivory.has-bg .q-mag-scrim { background: rgba(246, 239, 228, .72); }
.q-mag-page.is-ivory .q-mag-photo {
  top: 8%;
  right: 7%;
  width: 46%;
  height: 48%;
  border-radius: 22px;
  border: 3px solid #e7c98a;
  box-shadow: 0 14px 30px rgba(28, 20, 18, .16);
}
.q-mag-page.is-ivory .q-mag-copyblock { left: 7%; right: 52%; top: 11%; }
.q-mag-page.is-ivory .q-mag-copyblock h3 { font-size: 40px; color: #1c1412; }
.q-mag-page.is-ivory .q-mag-kicker,
.q-mag-page.is-ivory .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-ivory .q-mag-copy { color: #3a2c28; font-size: 18px; }
.q-mag-page.is-ivory .q-mag-logos { left: 7%; bottom: 5%; }
.q-mag-page.is-ivory .q-mag-logo { border-color: #c4a35a; background: #fff; }
.q-mag-page.is-banner .q-mag-photo { left: 0; top: 0; width: 100%; height: 56%; }
.q-mag-page.is-banner .q-mag-scrim {
  top: 48%;
  background: linear-gradient(180deg, rgba(20,8,12,0) 0%, #14080c 22%);
}
.q-mag-page.is-banner .q-mag-copyblock { left: 8%; right: 8%; top: 60%; }
.q-mag-page.is-banner .q-mag-copyblock h3 { font-size: 36px; }
.q-mag-page.is-banner .q-mag-logos { left: 8%; bottom: 4%; }
.q-mag-page.is-medallion .q-mag-scrim { background: rgba(14, 7, 10, .78); }
.q-mag-page.is-medallion.has-bg .q-mag-scrim { background: rgba(14, 7, 10, .55); }
.q-mag-page.is-medallion .q-mag-photo {
  left: 50%;
  top: 7%;
  width: 52%;
  height: auto;
  aspect-ratio: 1;
  transform: translateX(-50%) scale(var(--q-photo-size, 1));
  border-radius: 28px;
  border: 3px solid #e7c98a;
}
.q-mag-page.is-medallion .q-mag-copyblock { left: 10%; right: 10%; top: 56%; text-align: center; }
.q-mag-page.is-medallion .q-mag-copy { margin-left: auto; margin-right: auto; }
.q-mag-page.is-medallion .q-mag-logos { left: 0; right: 0; bottom: 4.5%; justify-content: center; }
.q-mag-page.is-duo .q-mag-photo[data-slot="0"] { left: 0; top: 0; width: 68%; height: 100%; }
.q-mag-page.is-duo .q-mag-photo[data-slot="1"] {
  left: auto; right: 5%; top: 7%; width: 42%; height: 46%;
  border-radius: 18px;
  border: 3px solid #e7c98a;
  box-shadow: 0 18px 36px rgba(0,0,0,.42);
  z-index: 3;
}
.q-mag-page.is-duo .q-mag-scrim { background: linear-gradient(180deg, rgba(14,7,10,.28) 0%, rgba(14,7,10,0) 22%, rgba(14,7,10,.9) 100%); }
.q-mag-page.is-duo .q-mag-copyblock { left: 5%; right: 40%; bottom: 8%; }
.q-mag-page.is-duo .q-mag-copyblock h3 { font-size: 36px; }
.q-mag-page.is-duo .q-mag-logos { right: 5%; left: auto; bottom: 4%; justify-content: flex-end; }
.q-mag-page.is-trio .q-mag-photo[data-slot="0"] { left: 0; top: 0; width: 62%; height: 100%; }
.q-mag-page.is-trio .q-mag-photo[data-slot="1"] { left: 62%; top: 0; width: 38%; height: 46%; }
.q-mag-page.is-trio .q-mag-photo[data-slot="2"] { left: 62%; top: 46%; width: 38%; height: 54%; }
.q-mag-page.is-trio .q-mag-scrim { background: linear-gradient(180deg, rgba(14,7,10,0) 64%, rgba(14,7,10,.9) 100%); }
.q-mag-page.is-trio .q-mag-copyblock { left: 5%; right: 42%; bottom: 7%; }
.q-mag-page.is-trio .q-mag-logos { left: 5%; bottom: 3%; }
.q-mag-page.is-atelier { background: #f7f1e6; color: #1c1412; }
.q-mag-page.is-atelier .q-mag-bg { background-color: #f7f1e6; }
.q-mag-page.is-atelier .q-mag-scrim { background: rgba(247,241,230,.15); }
.q-mag-page.is-atelier.has-bg .q-mag-scrim { background: rgba(247,241,230,.5); }
.q-mag-page.is-atelier .q-mag-photo {
  left: 18%; top: 6%; width: 64%; height: 52%;
  border: 8px solid #f7f1e6;
  outline: 1px solid #c4a35a;
  box-shadow: 0 0 0 4px #f7f1e6, 0 0 0 5px #c4a35a;
}
.q-mag-page.is-atelier .q-mag-copyblock { left: 10%; right: 10%; top: 63%; text-align: center; }
.q-mag-page.is-atelier .q-mag-copyblock h3 { font-size: 44px; color: #1c1412; }
.q-mag-page.is-atelier .q-mag-kicker,
.q-mag-page.is-atelier .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-atelier .q-mag-copy { color: #3a2c28; margin-left: auto; margin-right: auto; }
.q-mag-page.is-atelier .q-mag-logos { left: 0; right: 0; bottom: 3%; justify-content: center; }
.q-mag-page.is-atelier .q-mag-logo { border-color: #c4a35a; }
.q-mag-page.is-gala .q-mag-scrim { background: rgba(8,4,6,.28); }
.q-mag-page.is-gala .q-mag-photo {
  left: 22%; top: 7%; width: 56%; height: 50%;
  border: 1px solid #e7c98a;
  box-shadow: 0 0 0 7px rgba(20,8,12,.65), 0 0 0 8px #e7c98a;
}
.q-mag-page.is-gala .q-mag-copyblock { left: 8%; right: 8%; top: 62%; text-align: center; }
.q-mag-page.is-gala .q-mag-copyblock h3 { font-size: 44px; }
.q-mag-page.is-gala .q-mag-logos { left: 0; right: 0; bottom: 3.5%; justify-content: center; }
.q-mag-page.is-editorial .q-mag-photo { left: 0; top: 0; width: 68%; height: 100%; }
.q-mag-page.is-editorial .q-mag-scrim { background: linear-gradient(90deg, rgba(20,8,12,0) 48%, #14080c 70%); }
.q-mag-page.is-editorial .q-mag-copyblock { left: 58%; right: 5%; top: 16%; }
.q-mag-page.is-editorial .q-mag-copyblock h3 { font-size: 44px; }
.q-mag-page.is-editorial .q-mag-logos { left: 58%; bottom: 5%; }
.q-mag-page.is-noir .q-mag-photo { inset: 0; width: 100%; height: 100%; }
.q-mag-page.is-noir .q-mag-scrim { background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.84) 100%); }
.q-mag-page.is-noir .q-mag-copyblock { left: 7%; right: 16%; bottom: 10%; }
.q-mag-page.is-noir .q-mag-kicker { letter-spacing: .42em; }
.q-mag-page.is-noir .q-mag-copyblock h3 { font-size: 50px; }
.q-mag-page.is-noir .q-mag-logos { right: 6%; left: auto; bottom: 5%; }
.q-mag-page.is-cover .q-mag-photo { inset: 0; width: 100%; height: 100%; }
.q-mag-page.is-cover .q-mag-scrim {
  background: linear-gradient(180deg, rgba(14,7,10,.62) 0%, rgba(14,7,10,0) 18%, rgba(14,7,10,0) 52%, rgba(14,7,10,.9) 100%);
}
.q-mag-page.is-cover .q-mag-copyblock {
  left: 6%; right: 6%; top: 4%; bottom: 8%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.q-mag-page.is-cover .q-mag-kicker { letter-spacing: .46em; font-size: 13px; }
.q-mag-page.is-cover .q-mag-copyblock h3 { margin-top: auto; font-size: 50px; }
.q-mag-page.is-cover .q-mag-logos { left: 0; right: 0; bottom: 3%; justify-content: center; }
.q-mag-page.is-feature { background: #f7f1e6; color: #1c1412; }
.q-mag-page.is-feature .q-mag-bg { background-color: #f7f1e6; }
.q-mag-page.is-feature .q-mag-photo { left: 0; top: 0; width: 100%; height: 62%; }
.q-mag-page.is-feature .q-mag-scrim { background: linear-gradient(180deg, rgba(247,241,230,0) 46%, #f7f1e6 64%); }
.q-mag-page.is-feature .q-mag-copyblock { left: 8%; right: 8%; top: 64%; }
.q-mag-page.is-feature .q-mag-copyblock h3 { color: #1c1412; font-size: 40px; }
.q-mag-page.is-feature .q-mag-kicker,
.q-mag-page.is-feature .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-feature .q-mag-copy { color: #3a2c28; }
.q-mag-page.is-feature .q-mag-logos { left: 8%; bottom: 3.5%; }
.q-mag-page.is-feature .q-mag-logo { border-color: #c4a35a; }
.q-mag-page.is-vogue .q-mag-photo { inset: 0; width: 100%; height: 100%; }
.q-mag-page.is-vogue .q-mag-scrim { background: linear-gradient(90deg, rgba(12,6,8,.92) 0%, rgba(12,6,8,.5) 36%, rgba(12,6,8,0) 64%); }
.q-mag-page.is-vogue .q-mag-copyblock { left: 6%; right: 50%; top: 12%; }
.q-mag-page.is-vogue .q-mag-kicker { letter-spacing: .4em; }
.q-mag-page.is-vogue .q-mag-copyblock h3 { font-size: 48px; }
.q-mag-page.is-vogue .q-mag-logos { left: 6%; bottom: 5%; }
.q-mag-page.is-crown .q-mag-scrim { background: rgba(8,4,6,.2); }
.q-mag-page.is-crown .q-mag-photo {
  left: 27%; top: 6%; width: 46%; height: 50%;
  border-radius: 80px;
  border: 2px solid #e7c98a;
  box-shadow: 0 0 0 8px rgba(20,8,12,.72), 0 0 0 9px #c4a35a;
}
.q-mag-page.is-crown .q-mag-copyblock { left: 10%; right: 10%; top: 62%; text-align: center; }
.q-mag-page.is-crown .q-mag-copyblock h3 { font-size: 40px; }
.q-mag-page.is-crown .q-mag-copy { margin-left: auto; margin-right: auto; }
.q-mag-page.is-crown .q-mag-logos { left: 0; right: 0; bottom: 3.5%; justify-content: center; }
.q-mag-page.is-ribbon { background: #f6efe4; color: #1c1412; }
.q-mag-page.is-ribbon .q-mag-bg { background-color: #f6efe4; }
.q-mag-page.is-ribbon .q-mag-photo { left: 0; top: 0; width: 48%; height: 100%; }
.q-mag-page.is-ribbon .q-mag-scrim { left: 48%; background: #f6efe4; }
.q-mag-page.is-ribbon .q-mag-copyblock { left: 54%; right: 5%; top: 14%; }
.q-mag-page.is-ribbon .q-mag-copyblock h3 { font-size: 36px; color: #1c1412; }
.q-mag-page.is-ribbon .q-mag-kicker,
.q-mag-page.is-ribbon .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-ribbon .q-mag-copy { color: #3a2c28; }
.q-mag-page.is-ribbon .q-mag-logos { left: 54%; bottom: 5%; }
.q-mag-page.is-ribbon .q-mag-logo { border-color: #c4a35a; background: #fff; }
.q-mag-page.is-diptych .q-mag-photo[data-slot="0"] {
  left: 5%; top: 6%; width: 46%; height: 50%;
  border-radius: 16px; border: 2px solid #e7c98a;
}
.q-mag-page.is-diptych .q-mag-photo[data-slot="1"] {
  left: 16%; top: 38%; width: 42%; height: 50%;
  border-radius: 16px; border: 2px solid #f7f1e6; z-index: 3;
}
.q-mag-page.is-diptych .q-mag-scrim { background: linear-gradient(90deg, rgba(14,7,10,0) 36%, rgba(14,7,10,.94) 64%); }
.q-mag-page.is-diptych .q-mag-copyblock { left: 60%; right: 5%; top: 16%; }
.q-mag-page.is-diptych .q-mag-copyblock h3 { font-size: 34px; }
.q-mag-page.is-diptych .q-mag-logos { left: 60%; bottom: 6%; }
.q-mag-page.is-gallery .q-mag-photo[data-slot="0"] { left: 0; top: 0; width: 33.34%; height: 74%; }
.q-mag-page.is-gallery .q-mag-photo[data-slot="1"] { left: 33.33%; top: 0; width: 33.34%; height: 74%; }
.q-mag-page.is-gallery .q-mag-photo[data-slot="2"] { left: 66.66%; top: 0; width: 33.34%; height: 74%; }
.q-mag-page.is-gallery .q-mag-scrim { top: 66%; background: linear-gradient(180deg, rgba(14,7,10,0) 0%, #14080c 30%); }
.q-mag-page.is-gallery .q-mag-copyblock { left: 6%; right: 6%; top: 76%; text-align: center; }
.q-mag-page.is-gallery .q-mag-copyblock h3 { font-size: 28px; }
.q-mag-page.is-gallery .q-mag-copy { font-size: 16px; -webkit-line-clamp: 2; margin-left: auto; margin-right: auto; }
.q-mag-page.is-gallery .q-mag-logos { left: 0; right: 0; top: 3%; bottom: auto; justify-content: center; }
.q-mag-page.is-cameo { background: #f7f1e6; color: #1c1412; }
.q-mag-page.is-cameo .q-mag-bg { background-color: #f7f1e6; }
.q-mag-page.is-cameo .q-mag-scrim { background: transparent; }
.q-mag-page.is-cameo .q-mag-photo {
  left: 25%; top: 6%; width: 50%; height: auto; aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid #e7c98a;
  box-shadow: 0 0 0 10px #f7f1e6, 0 0 0 11px #c4a35a;
}
.q-mag-page.is-cameo .q-mag-copyblock { left: 10%; right: 10%; top: 60%; text-align: center; }
.q-mag-page.is-cameo .q-mag-copyblock h3 { color: #1c1412; font-size: 40px; }
.q-mag-page.is-cameo .q-mag-kicker,
.q-mag-page.is-cameo .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-cameo .q-mag-copy { color: #3a2c28; margin-left: auto; margin-right: auto; }
.q-mag-page.is-cameo .q-mag-logos { left: 0; right: 0; bottom: 3.5%; justify-content: center; }
.q-mag-page.is-cameo .q-mag-logo { border-color: #c4a35a; background: #fff; }
.q-mag-page.is-masthead .q-mag-photo { left: 0; top: 32%; width: 100%; height: 68%; }
.q-mag-page.is-masthead .q-mag-scrim { background: linear-gradient(180deg, #14080c 0%, rgba(20,8,12,0) 22%); }
.q-mag-page.is-masthead .q-mag-copyblock { left: 7%; right: 7%; top: 4%; text-align: center; }
.q-mag-page.is-masthead .q-mag-kicker { letter-spacing: .48em; font-size: 12px; }
.q-mag-page.is-masthead .q-mag-copyblock h3 { font-size: 46px; }
.q-mag-page.is-masthead .q-mag-logos { left: 0; right: 0; bottom: 3%; justify-content: center; }
.q-mag-page.is-column .q-mag-photo { left: auto; right: 0; top: 0; width: 34%; height: 100%; }
.q-mag-page.is-column .q-mag-scrim { left: 0; right: 34%; background: #10080c; }
.q-mag-page.is-column .q-mag-copyblock { left: 6%; right: 40%; top: 12%; }
.q-mag-page.is-column .q-mag-kicker { letter-spacing: .42em; }
.q-mag-page.is-column .q-mag-copyblock h3 { font-size: 40px; }
.q-mag-page.is-column .q-mag-logos { left: 6%; bottom: 6%; }
.q-mag-page.is-frame { background: #f4efe6; color: #1c1412; }
.q-mag-page.is-frame .q-mag-bg { background-color: #f4efe6; }
.q-mag-page.is-frame .q-mag-scrim { background: transparent; }
.q-mag-page.is-frame .q-mag-photo {
  left: 12%; top: 7%; width: 76%; height: 56%;
  border: 10px solid #fff;
  outline: 1px solid #c4a35a;
  box-shadow: 0 16px 30px rgba(28,20,18,.12);
}
.q-mag-page.is-frame .q-mag-copyblock { left: 12%; right: 12%; top: 68%; text-align: center; }
.q-mag-page.is-frame .q-mag-copyblock h3 { color: #1c1412; font-size: 36px; }
.q-mag-page.is-frame .q-mag-kicker,
.q-mag-page.is-frame .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-frame .q-mag-copy { color: #3a2c28; margin-left: auto; margin-right: auto; }
.q-mag-page.is-frame .q-mag-logos { left: 0; right: 0; bottom: 3%; justify-content: center; }
.q-mag-page.is-frame .q-mag-logo { background: #fff; border-color: #c4a35a; }
.q-mag-page.is-spotlight .q-mag-photo {
  left: 18%; top: 5%; width: 64%; height: 58%;
  border-radius: 18px;
}
.q-mag-page.is-spotlight .q-mag-scrim { background: linear-gradient(180deg, rgba(8,4,6,.2) 0%, rgba(8,4,6,0) 18%, rgba(8,4,6,.9) 76%, #10080c 100%); }
.q-mag-page.is-spotlight .q-mag-copyblock { left: 8%; right: 8%; top: 66%; text-align: center; }
.q-mag-page.is-spotlight .q-mag-copyblock h3 { font-size: 44px; }
.q-mag-page.is-spotlight .q-mag-copy { margin-left: auto; margin-right: auto; }
.q-mag-page.is-spotlight .q-mag-logos { left: 0; right: 0; bottom: 3%; justify-content: center; }
.q-mag-page.is-herald { background: #1a1014; }
.q-mag-page.is-herald .q-mag-photo {
  left: 8%; top: 8%; width: 84%; height: 46%;
  border-radius: 4px;
  border: 1px solid #e7c98a;
}
.q-mag-page.is-herald .q-mag-scrim { top: 54%; background: #f6efe4; }
.q-mag-page.is-herald .q-mag-copyblock { left: 10%; right: 10%; top: 60%; text-align: center; }
.q-mag-page.is-herald .q-mag-kicker { letter-spacing: .42em; color: #8a6a32; }
.q-mag-page.is-herald .q-mag-sub { color: #8a6a32; }
.q-mag-page.is-herald .q-mag-copyblock h3 { color: #1c1412; font-size: 36px; }
.q-mag-page.is-herald .q-mag-copy { color: #3a2c28; margin-left: auto; margin-right: auto; }
.q-mag-page.is-herald .q-mag-logos { left: 0; right: 0; bottom: 3.5%; justify-content: center; }
.q-mag-page.is-herald .q-mag-logo { background: #fff; border-color: #c4a35a; }
.q-mag-page.is-cascade .q-mag-photo[data-slot="0"] { inset: 0; width: 100%; height: 100%; }
.q-mag-page.is-cascade .q-mag-photo[data-slot="1"] {
  left: 6%; top: auto; bottom: 7%; width: 34%; height: 28%;
  border-radius: 14px;
  border: 3px solid #f7f1e6;
  box-shadow: 0 14px 28px rgba(0,0,0,.4);
  z-index: 3;
}
.q-mag-page.is-cascade .q-mag-scrim { background: linear-gradient(180deg, rgba(14,7,10,.62) 0%, rgba(14,7,10,0) 26%, rgba(14,7,10,.15) 58%, rgba(14,7,10,.88) 100%); }
.q-mag-page.is-cascade .q-mag-copyblock { left: 44%; right: 6%; top: 8%; }
.q-mag-page.is-cascade .q-mag-copyblock h3 { font-size: 38px; }
.q-mag-page.is-cascade .q-mag-logos { left: 44%; bottom: 8%; }
.q-mag-logo.is-placed { position: absolute; z-index: 5; margin: 0; }
.q-mag-copyblock.is-placed { z-index: 5; }
.q-mag-move {
  position: absolute; top: 0; right: 0; z-index: 6;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid #e7c98a; background: #1c1412; color: #e7c98a;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  cursor: grab; line-height: 1.4;
}
.q-mag-page.is-editing .q-mag-move,
.q-mag-page.is-editing .q-mag-logo { touch-action: none; cursor: grab; }
.q-mag-page.is-editing .q-mag-logo { outline: 1px dashed rgba(231, 201, 138, .9); outline-offset: 2px; }
.q-mag-page.is-editing [data-mag-field] {
  outline: 1px dashed rgba(231, 201, 138, .9);
  outline-offset: 3px;
  cursor: text;
  min-height: 1em;
}
.q-mag-page.is-ivory.is-editing [data-mag-field],
.q-mag-page.is-atelier.is-editing [data-mag-field],
.q-mag-page.is-feature.is-editing [data-mag-field],
.q-mag-page.is-ribbon.is-editing [data-mag-field],
.q-mag-page.is-cameo.is-editing [data-mag-field],
.q-mag-page.is-frame.is-editing [data-mag-field],
.q-mag-page.is-herald.is-editing [data-mag-field] { outline-color: rgba(138, 106, 50, .85); }
.q-mag-page.is-editing [data-mag-field]:empty:before { content: attr(data-ph); opacity: .55; }
.q-mag-page.is-editing .q-mag-copy { display: block; overflow: visible; -webkit-line-clamp: unset; }
.q-mag-page.is-editing .q-mag-photo { cursor: grab; touch-action: none; }
.q-char-pickline { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.q-char-pickline select {
  flex: 1; min-width: 0; max-width: 220px;
  padding: 6px 8px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13px;
}
.q-char-pickline b { white-space: nowrap; }
.q-table .q-char-pickline select { max-width: 150px; }
.q-mag-tools, .q-mag-save { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.q-mag-save { margin-top: 12px; }
.q-mag-lays { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.q-mag-lays button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e4d3bc;
  background: #fff;
  color: #1c1412;
  cursor: pointer;
}
.q-mag-lays button.on { background: #2a121c; color: #e7c98a; border-color: #2a121c; }
.q-mag-edit label {
  display: block;
  margin: 12px 0 6px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a6a32;
}
.q-mag-edit textarea,
.q-mag-edit select,
.q-mag-edit input[type="range"] { width: min(520px, 100%); }
.q-mag-edit select {
  min-height: 44px;
  border: 1px solid #e4d3bc;
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  font-size: 16px;
  color: #1c1412;
}
.q-mag-edit input[type="range"] { accent-color: #8a6a32; }
.q-mag-edit textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid #e4d3bc;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1c1412;
}
@media (max-width: 860px) {
  .q-mag-copyblock h3, .q-mag-page.is-split .q-mag-copyblock h3,
  .q-mag-page.is-ivory .q-mag-copyblock h3, .q-mag-page.is-banner .q-mag-copyblock h3,
  .q-mag-page.is-vogue .q-mag-copyblock h3, .q-mag-page.is-spotlight .q-mag-copyblock h3,
  .q-mag-page.is-masthead .q-mag-copyblock h3, .q-mag-page.is-noir .q-mag-copyblock h3,
  .q-mag-page.is-cover .q-mag-copyblock h3 { font-size: 30px; }
  .q-mag-copy, .q-mag-page.is-ivory .q-mag-copy { font-size: 16px; }
  .q-mag-page.is-ivory .q-mag-copyblock { right: 48%; }
}
@media print {
  body.sp-pkg-printing { margin: 0 !important; background: #fff !important; }
  body.sp-pkg-printing > * { display: none !important; }
  body.sp-pkg-printing > #spPkgPrint {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    margin: 0 !important;
    visibility: visible !important;
    background: #fff !important;
    color: #1c1412 !important;
  }
  body.sp-pkg-printing > #spPkgPrint,
  body.sp-pkg-printing > #spPkgPrint * { visibility: visible !important; }
  body.sp-pkg-printing #spPkgPrint .sp-pkg-cols {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.sp-pkg-printing #spPkgPrint .sp-pkg-photo {
    width: 200px !important;
    height: 200px !important;
  }
  body.sp-pkg-printing #spPkgPrint .sp-pkg-tier { break-inside: avoid; }
}
.sub-plan-card.is-current { outline: 2px solid var(--gold); outline-offset: 2px; }
.sub-plan-card.is-cancelable { cursor: pointer; }
.sub-plan-card.is-cancelable button,
.sub-plan-card.is-cancelable a { pointer-events: none; }
#subscribe .sub-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 700px) {
  #subscribe .sub-plan-grid { grid-template-columns: 1fr; }
}
.qc-title-block {
  margin: 0 0 14px;
  padding: 12px 14px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf6f0;
}
.qc-title-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wine);
}
.table .pill.q-title-pill,
.table .pill.crown-title-pill,
.acct-edit-details .pill.q-title-pill,
.acct-edit-details .pill.crown-title-pill,
#adminTable .pill.q-title-pill,
#adminTable .pill.crown-title-pill {
  white-space: normal;
  text-align: left;
  line-height: 1.3;
  letter-spacing: .06em;
  max-width: 100%;
}
.ship-code-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0;
  max-width: 100%;
}
.ship-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.ship-flag.ship-flag-code {
  display: flex;
  align-items: center;
}
.ship-flag .ship-code-line,
.ship-flag .ship-code-line .pill,
.ship-flag .ship-code-line .ship-code,
.ship-flag .ship-code-line .ghost {
  display: inline-flex;
  width: auto;
  max-width: none;
  margin-top: 0;
}
.ship-code-line .pill,
.ship-flag .ship-code-line .pill {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 10px;
  height: 28px;
  min-height: 28px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.ship-code-line .ship-code,
.ship-flag .ship-code-line .ship-code {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 28px;
  min-height: 28px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.ship-code-line .ghost,
.ship-flag .ship-code-line .ghost {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
.comp-grid,
.share-comp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0 0 12px;
}
.comp-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.comp-digitals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}
.comp-digital {
  width: 92px;
  margin: 0;
  text-align: center;
  font-size: 12px;
}
.comp-digital img {
  width: 92px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.comp-digital span,
.comp-digital figcaption {
  display: block;
  margin-top: 4px;
}
#bookUsage { margin: 0 0 12px; }
.book-usage-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 8px;
}
.book-usage-picks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.book-cut-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.book-cut-row input { max-width: 88px; }
.cast-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.cast-submit input { flex: 1 1 160px; }
#shareCompCard { margin-top: 18px; }
#qCompAcc[hidden],
#shareCompCard[hidden],
#bookUsage[hidden] { display: none !important; }
@media (max-width: 700px) {
  .comp-grid,
  .share-comp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#inviteModal { z-index: 80; }
#inviteModal .invite-sheet {
  width: min(680px, 96vw);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 0;
  background: #000;
  border: 1px solid rgba(196, 163, 90, .5);
}
#inviteModal .mfa-invite-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #000;
  padding: 52px 64px 22px;
}
#inviteModal .mfa-logo {
  width: auto;
  max-width: 46%;
  height: 92px;
  object-fit: contain;
}
#inviteModal .mfa-logo-rule {
  width: 1px;
  align-self: stretch;
  background: rgba(196, 163, 90, .75);
}
#inviteModal .mfa-hero {
  width: 100%;
  height: 248px;
  object-fit: cover;
  object-position: center 18%;
}
#inviteModal .mfa-invite-crown {
  flex-direction: column;
  gap: 12px;
  background: #1c0b12;
  padding: 52px 28px 28px;
}
#inviteModal .mfa-crown {
  width: 92px;
  height: 92px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
}
#inviteModal .mfa-brand {
  margin: 0;
  color: #e8d5a3;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: .04em;
  text-align: center;
}
#inviteModal .mfa-invite-body {
  background: #fffdf8;
  color: #1a1214;
  padding: 28px 36px 8px;
  text-align: center;
}
#inviteModal .mfa-kicker {
  margin: 0 0 8px;
  color: #8a6a3b;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 12px;
}
#inviteModal .mfa-hello {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 14px;
}
#inviteModal .mfa-ask {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 8px;
}
#inviteModal .mfa-rule {
  width: 72px;
  height: 1px;
  border: 0;
  background: #c4a35a;
  margin: 18px auto;
}
#inviteModal .mfa-invite-body p { margin: 0 0 12px; line-height: 1.55; }
#inviteModal .mfa-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 0;
  text-align: left;
}
#inviteModal .mfa-points li {
  margin: 0;
  padding: 12px 14px;
  background: #f7f1e8;
  border-top: 1px solid #c4a35a;
  font-size: 14px;
  line-height: 1.35;
}
#inviteModal .mfa-join-label {
  margin: 0 0 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  color: #8a6a3b;
}
#inviteModal .mfa-join {
  display: inline-block;
  margin: 0 0 18px;
  padding: 12px 22px;
  background: linear-gradient(90deg, #c4a35a, #e8d5a3);
  color: #1c0b12;
  border-radius: 999px;
  letter-spacing: .04em;
  font-weight: 650;
}
#inviteModal .mfa-discount {
  text-align: left;
  background: #f7f1e8;
  border-left: 2px solid #c4a35a;
  padding: 14px 16px;
  margin: 0 0 16px;
}
#inviteModal .mfa-hope { margin-bottom: 8px; }
#inviteModal .mfa-sign {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  margin: 8px 0 0;
}
#inviteModal .mfa-invite-actions {
  background: #fffdf8;
  padding: 8px 36px 26px;
  text-align: center;
}
#inviteModal .mfa-invite-actions .cta { width: auto; }
#inviteModal .mfa-invite-actions .note { margin: 10px 0 0; }
.wa-queen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}
.wa-queen .agree-row { margin: 8px 0; flex: 1; min-width: 0; }
.wa-queen .ghost { flex: 0 0 auto; white-space: nowrap; }
.wa-queen-list { max-height: 260px; overflow: auto; margin: 4px 0 14px; }
@media (max-width: 700px) {
  #inviteModal .mfa-invite-top { flex-direction: column; gap: 14px; padding: 52px 20px 16px; }
  #inviteModal .mfa-logo { max-width: 78%; height: 74px; }
  #inviteModal .mfa-logo-rule { width: 72px; height: 1px; align-self: center; }
  #inviteModal .mfa-hero { height: 180px; }
  #inviteModal .mfa-invite-body,
  #inviteModal .mfa-invite-actions { padding-left: 18px; padding-right: 18px; }
  #inviteModal .mfa-hello { font-size: 34px; }
  #inviteModal .mfa-ask { font-size: 22px; }
  #inviteModal .mfa-points { grid-template-columns: 1fr; }
  .wa-queen { align-items: flex-start; }
  .wa-queen .ghost { margin-top: 8px; }
}
#dirQMyListSec .qc-more-menu { min-width: 260px; }
#dirQMyListSec > .acc-b > .acc-item,
#teamQMyListSec > .acc-b > .acc-item { margin-top: 16px; background: #faf6f1; }
#dirQMyListSec > .acc-b > .acc-item > .acc-h,
#teamQMyListSec > .acc-b > .acc-item > .acc-h { font-size: 16px; background: #efe4d8; }
#dirQMyList .mql-chan,
#dirQMyUnsub .mql-chan { display: inline-flex; align-items: center; gap: 8px; }
#dirQMyList .mql-stop,
#dirQMyUnsub .mql-stop { color: #b00020; display: inline-flex; flex: 0 0 auto; }
#dirQMyList .mql-stop svg,
#dirQMyUnsub .mql-stop svg { width: 22px; height: 22px; }
#dirQMyList .mql-off,
#dirQMyUnsub .mql-off { color: #c4bbb4; font-weight: 300; }
#dirQMyList .mql-unsub {
  color: #b00020;
  font-weight: 300;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
#dirQMyUnsub .mql-unsub {
  color: #c4bbb4;
  font-weight: 300;
  text-decoration: none;
}
html.pg-site-boot body { background: #1a142c; }
html.pg-site-boot .topbar,
html.pg-site-boot .view { visibility: hidden; }
body.pg-site-on .topbar,
body.pg-site-on .view,
body.pg-site-on #adminBar { display: none !important; }
#pgSite[hidden] { display: none !important; }
body.pg-site-on #pgSite {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: auto;
  background: #1a142c;
}
.pgs-frame {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #1a142c;
  max-height: 78vh;
  overflow: auto;
}
.pgs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  background: #1a142c;
  position: sticky;
  top: 0;
  z-index: 2;
}
.pgs-logos, .pgs-logos-crown {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #f7f1e8;
}
.pgs-logos img { height: 64px; width: auto; max-width: 42vw; object-fit: contain; }
.pgs-logos-crown img { height: 54px; width: 54px; border-radius: 50%; }
.pgs-logos-crown span {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  text-align: left;
}
.pgs-brand { color: #f7f1e8; font-family: var(--serif); font-size: 28px; text-decoration: none; }
.pgs-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.pgs-nav button, .pgs-nav-btn {
  border: 0;
  background: transparent;
  color: #f7f1e8;
  font: 500 13px/1 var(--sans);
  letter-spacing: .04em;
  cursor: pointer;
  padding: 6px 0;
}
.pgs-nav-btn { display: none; }
.pgs-nav button:hover, .pgs-logos:hover { color: #c4a35a; }
.pgs-hero {
  position: relative;
  min-height: 520px;
  background: #1a142c center 20% / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.pgs-hero-plain { min-height: 360px; background-image: none; }
.pgs-hero-copy {
  width: min(720px, calc(100% - 48px));
  margin: 48px auto;
  padding: 28px 28px 32px;
  background: rgba(26, 20, 44, .72);
  color: #f7f1e8;
  border: 1px solid rgba(196, 163, 90, .65);
}
.pgs-kicker {
  margin: 0 0 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: #c4a35a;
}
.pgs-hero h1, .pgs-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 12px;
}
.pgs-hero h1 { font-size: clamp(40px, 6vw, 68px); color: #fff; }
.pgs-hero p { margin: 0 0 12px; line-height: 1.5; }
.pgs-lede { font-size: 20px; }
.pgs-text-link { color: #c4a35a; }
.pgs-btn {
  display: inline-block;
  margin-top: 8px;
  background: #c4a35a;
  color: #1a142c;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: 600 15px/1 var(--sans);
  cursor: pointer;
}
.pgs-band { background: #f7f1e8; color: #1a142c; padding: 54px 22px; }
.pgs-band-alt { background: #fff; }
.pgs-become { background: #1a142c; color: #f7f1e8; }
.pgs-become .pgs-kicker { color: #c4a35a; }
.pgs-become h2 { color: #fff; }
.pgs-wrap { width: min(1080px, 100%); margin: 0 auto; }
.pgs-band h2 { font-size: clamp(36px, 5vw, 56px); }
.pgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.pgs-card {
  background: #fff;
  border: 1px solid rgba(26, 20, 44, .08);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 12px;
}
.pgs-band-alt .pgs-card, .pgs-become .pgs-card { background: #f7f1e8; }
.pgs-card img { width: 100%; height: 210px; object-fit: cover; object-position: center 15%; display: block; background: #eee; }
.pgs-card h3, .pgs-card p { margin: 8px 12px 0; }
.pgs-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; }
.pgs-card a { color: inherit; }
.pgs-meta { color: #6d5a4a; font-size: 14px; }
.pgs-sponsor { padding: 16px 4px 18px; }
.pgs-empty { margin-top: 16px; }
.pgs-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.pgs-mode .note { margin: 0; flex: 1; min-width: 12ch; }
#website .pgs-mode .share-mode-btn { color: var(--ink); border-color: var(--line); }
#website .pgs-mode .share-mode-btn.on { color: #1c0b12; }
body.pg-site-on .pgs-mode .share-mode-btn { color: var(--ivory); }
body.pg-site-on .pgs-mode .share-mode-btn.on { color: #1c0b12; }
body.pg-site-on .pgs-mode {
  margin: 0;
  padding: 10px 16px;
  background: #140e22;
  position: sticky;
  top: 0;
  z-index: 6;
}
.pgs-nav-edit {
  color: #f7f1e8;
  font: 500 13px/1 var(--sans);
  letter-spacing: .04em;
  padding: 6px 0;
}
.pgs-photo { position: relative; display: inline-block; max-width: 100%; }
.pgs-photo img { display: block; }
.pgs-card .pgs-photo, .pgs-logos .pgs-photo { display: block; }
.pgs-photo-btn {
  display: inline-flex;
  align-items: center;
  margin: 6px;
  background: #1a142c;
  color: #f7f1e8;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px/1 var(--sans);
  cursor: pointer;
}
.pgs-card .pgs-photo-btn { position: absolute; left: 8px; bottom: 8px; margin: 0; }
.pgs-hero-photo { position: absolute; top: 16px; right: 16px; z-index: 2; margin: 0; }
.pgs-editing .pgs-edit {
  outline: 1px dashed rgba(196, 163, 90, .95);
  outline-offset: 3px;
  min-width: 1.2em;
  display: inline-block;
}
.pgs-editing .pgs-edit:empty:before {
  content: attr(data-ph);
  opacity: .6;
}
.pgs-band { position: relative; }
.pgs-move { display: flex; gap: 6px; margin: 8px 8px 0; cursor: grab; }
.pgs-section-move { position: absolute; top: 12px; left: 12px; z-index: 3; margin: 0; }
.pgs-move-btn {
  border: 1px solid #c4a35a;
  background: #1a142c;
  color: #f7f1e8;
  border-radius: 999px;
  padding: 5px 10px;
  font: 600 11px/1 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.pgs-drop { outline: 2px solid #c4a35a; outline-offset: -2px; }
.pgs-nudge { position: relative; display: inline-block; vertical-align: middle; }
.pgs-logos .pgs-nudge { display: inline-block; }
.pgs-hand {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #c4a35a;
  background: #1a142c;
  color: #f7f1e8;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: grab;
  z-index: 3;
  touch-action: none;
}
.pgs-hand svg { width: 16px; height: 16px; display: block; }
.pgs-hand:active { cursor: grabbing; }
.pgs-card .pgs-hand { top: 16px; right: 16px; }
.pgs-goes { word-break: break-all; }
.pgs-nav a {
  color: #f7f1e8;
  font: 500 13px/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  padding: 6px 0;
}
.pgs-nav a:hover { color: #c4a35a; }
.pgs-nav-edit { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pgs-nav-link { font-size: 11px; letter-spacing: 0; max-width: 18ch; }
.pgs-become .pgs-meta { color: #e6d3b0; }
.pgs-card img.pgs-sponsor-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  margin: 14px 12px 0;
  background: #fff;
  border-radius: 8px;
}
.pgs-logo-edit { display: block; margin: 12px 12px 0; }
.pgs-logo-edit img.pgs-sponsor-logo { margin: 0; }
.pgs-logo-ph {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(26, 20, 44, .35);
  border-radius: 8px;
  color: #6d5a4a;
  font: 600 11px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pgs-card .pgs-logo-edit .pgs-photo-btn { position: static; display: inline-flex; margin: 6px 0 0; }
@media (max-width: 700px) {
  .pgs-head { flex-wrap: wrap; padding: 12px 14px; }
  .pgs-nav-btn { display: inline-flex; margin-left: auto; }
  .pgs-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; }
  .pgs-nav.on { display: flex; }
  .pgs-logos img { height: 48px; }
  .pgs-logos-crown span { font-size: 22px; }
  .pgs-hero { min-height: 420px; }
  .pgs-hero-copy { width: calc(100% - 28px); margin: 24px auto; padding: 20px; }
  .pgs-grid { grid-template-columns: 1fr 1fr; }
  .pgs-card img { height: 160px; }
}
#dir-queens td .q-entry-fee { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 132px; }
#dir-queens .q-entry-amt-row { display: inline-flex; align-items: center; gap: 2px; }
#dir-queens .q-entry-amt { font-weight: 700; }
#dir-queens .q-entry-fee .q-row-pencil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
#dir-queens .q-entry-fee .q-row-pencil .acc-edit-ico { width: 18px; height: 18px; margin: 0; }
#dir-queens .q-entry-fee .q-row-pencil:hover,
#dir-queens .q-entry-fee .q-row-pencil:focus { background: #f3ebe3; }
#dir-queens .q-entry-out { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; line-height: 1.3; cursor: pointer; }
#dir-queens .q-entry-out input { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; }
#dir-queens .q-entry-meta { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 12px; line-height: 1.3; text-align: left; cursor: pointer; color: var(--teal, #1a8a9a); }
#dir-queens .q-table tfoot td { font-weight: 700; border-top: 2px solid var(--line, #e6ddd4); background: #f7f3eb; vertical-align: top; }
#dir-queens .q-entry-foot-note { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--muted, #5a6570); }
#dir-queens th.q-ads,
#dir-queens td.q-ads .q-ads-amt { white-space: nowrap; font-variant-numeric: tabular-nums; }
#dir-queens .q-ads-crown { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--muted, #5a6570); }
#entryOutWho.q-entry-who { margin: 8px 0 4px; font-weight: 700; }
#entryOutPaid { width: 100%; }
@media (max-width: 700px) {
  #dir-queens .q-entry-out { min-height: 44px; }
  #dir-queens .q-entry-meta { min-height: 44px; }
  #dir-queens .q-entry-fee .q-row-pencil { width: 44px; height: 44px; min-height: 44px; }
  #entryOutPaid { min-height: 44px; font-size: 16px; }
  #yearFeePrice, #yearFeeQty, #yearFeeName { min-height: 44px; font-size: 16px; }
}
