:root{color-scheme:dark;--ink:#f8f3ee;--muted:#d2c8c3;--border:#5e432c;--gold:#f0ca7b;--scarlet:#ff766e;--silver:#efded5;--base:#0b0909;--panel:#181212;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(ellipse at 100% 5%,#391012 0,transparent 36rem),var(--base);color:var(--ink);min-height:100vh;padding-bottom:calc(78px + env(safe-area-inset-bottom))}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,summary{cursor:pointer}button:disabled{cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.skip{position:fixed;top:-5rem;left:1rem;z-index:9;background:#170f0f;padding:12px}.skip:focus{top:1rem}.wrap{max-width:1080px;margin:auto;padding-inline:clamp(15px,4vw,42px)}header{border-bottom:1px solid #543a28;background:#0d0a0a}.bar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:11px;font-weight:950;letter-spacing:.1em;font-size:13px}.brand small{display:block;color:var(--muted);font-size:9px}.eyebrow{letter-spacing:.13em;font-weight:800;font-size:11px}.page{padding-top:clamp(22px,4vw,42px)}h1,h2,p{margin:0}h1{font-size:clamp(35px,6vw,66px);line-height:1.02;letter-spacing:-.06em}h2{font-size:clamp(21px,3vw,29px);letter-spacing:-.035em;margin:22px 0 13px}p{color:var(--muted);line-height:1.55}h1+p{margin-top:13px}.hero{position:relative;overflow:hidden;isolation:isolate;border-radius:24px;border:1px solid #795331;background:radial-gradient(ellipse at 90% 25%,#68101a 0,transparent 49%),linear-gradient(135deg,#120909,#2b1312 72%,#3c1014);min-height:340px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;padding:clamp(22px,5vw,56px);width:100%}.hero h1{font-size:clamp(33px,7.8vw,88px);font-weight:950;line-height:.95;margin:13px 0}.hero em{font-style:normal;color:#ede6e0;background:linear-gradient(100deg,#fff 5%,#d3c9c5 50%,#eee2d5 98%);background-clip:text;-webkit-text-fill-color:transparent}.eyebrow{color:var(--gold)}.venue{color:#eae0d7;margin-bottom:22px}.art{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:repeating-linear-gradient(131deg,transparent 0 34px,#d6ad6b0d 35px,transparent 36px 55px)}.art:before,.art:after{content:"";position:absolute;width:64%;height:74%;right:-18%;bottom:-32%;border:2px solid #e34649;transform:rotate(-29deg);box-shadow:0 0 25px #e132466c,inset 0 0 25px #d62b3e45;border-radius:50%}.art:after{right:-15%;bottom:-24%;border-color:#d7a94b;box-shadow:0 0 22px #e5a94165}.art span{position:absolute;color:#fff0bd;text-shadow:0 0 25px #f96757;font-size:clamp(20px,5vw,76px);right:8%;top:9%;opacity:.65}.art span:nth-child(2){right:25%;top:53%;font-size:28px}.art span:nth-child(3){right:5%;top:68%;font-size:18px}.art span:nth-child(4){right:19%;top:5%;font-size:20px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:46px;border:0;border-radius:11px;padding:10px 15px;background:var(--gold);color:#1c1108;font-weight:850}.primary:hover{background:#ffe6a9}.next{display:flex;gap:14px;align-items:center;background:#201413;border:1px solid var(--border);border-radius:15px;margin-top:15px;padding:12px 14px}.next-icon{font-size:24px;color:var(--scarlet)}.next p{font-size:13px}.next a{margin-left:auto;padding:9px;color:var(--gold);font-size:22px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{--accent:var(--gold);display:flex;gap:12px;align-items:center;padding:14px;min-height:92px;border:1px solid var(--border);background:linear-gradient(130deg,color-mix(in srgb,var(--accent) 9%,var(--panel)),var(--panel));border-radius:16px}.tile:hover{border-color:var(--accent)}.tile i{flex:none;display:grid;place-items:center;background:#160e0d;border:1px solid var(--border);color:var(--accent);width:38px;height:38px;border-radius:11px;font-size:21px;font-weight:850;font-style:normal}.tile strong,.tile small{display:block}.tile strong{font-size:17px}.tile small,small{color:var(--muted)}.tile b{margin-left:auto;color:var(--accent)}footer{font-size:12px;color:var(--muted);padding:25px 0 10px}nav{position:fixed;z-index:4;bottom:0;left:0;right:0;background:#100b0bf7;border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}.nav-inner{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding-block:6px}.nav-inner a{text-align:center;font-weight:750;font-size:11px;padding:5px 0;border-radius:8px;color:var(--muted);min-height:48px}.nav-inner a span{display:block;font-size:19px;line-height:23px}.nav-inner a[aria-current]{background:#4b1118;color:var(--gold)}.panel{background:var(--panel);border:1px solid var(--border);border-radius:15px;padding:18px;margin:15px 0}.panel h2:first-child{margin-top:0}.choices{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.choice{color:var(--ink);background:#211715;border:1px solid #997143;border-radius:9px;padding:9px 13px;min-height:44px}.choice[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#641522}.choice:disabled{opacity:.9}.quiz-answer{display:block;width:100%;text-align:left;margin:7px 0}.quiz-answer.correct{border-color:#f5d67e}.quiz-answer.incorrect{border-color:#ff7a7c}label{display:block;margin:12px 0;color:var(--ink);font-weight:650}input:not([type=radio]),select{display:block;width:100%;min-height:43px;margin-top:6px;padding:8px;background:#130e0e;border:1px solid #9c7957;border-radius:8px;color:var(--ink)}input[type=radio]{accent-color:var(--gold);margin-right:9px}.radio{border:1px solid var(--border);border-radius:9px;padding:11px;cursor:pointer}.panel [role=status]{margin:9px 0 0}.bingo{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.bingo button{min-height:82px;padding:6px;overflow-wrap:anywhere}.photo img{display:block;width:100%;height:160px;object-fit:contain;background:#130e0e;border-radius:9px}.photo h3{margin-bottom:4px}.photo .choice{margin-top:8px}.review-image{max-width:180px;max-height:145px;display:block;margin:8px 0}.review-actions{display:flex;gap:6px;flex-wrap:wrap}summary{min-height:28px;font-weight:760}.tally{margin:8px 0}.hint{font-size:13px;margin:8px 0}@media(max-width:540px){.grid{gap:8px}.tile{padding:10px;gap:8px;align-items:flex-start;min-height:94px}.tile i{width:27px;height:27px;font-size:16px}.tile strong{font-size:14px}.tile small{font-size:12px;line-height:1.25;margin-top:4px}.tile b{display:none}.hero{min-height:285px}.hero-copy{padding-inline:16px}.hero h1{font-size:clamp(28px,8.1vw,44px)}}
.gallery-heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:22px 0 12px}.gallery-heading h2{margin:0}#gallery-more,#official-more{margin:12px 0}#official-photos .panel{margin:6px 0;min-width:0;overflow-wrap:anywhere}.photo img{height:clamp(120px,30vw,260px)}.photo .review-actions{margin-top:8px}.photo .review-actions .choice{margin:0}#gallery-status,#official-status{margin:8px 0}#photo-permission{display:inline;width:auto;min-height:0;margin:0 5px 0 0;accent-color:var(--gold)}.photo a{display:block}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(64px, calc((100% - 45px) / 10)), 1fr));
  gap: 5px;
}
.gallery-thumbnail {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--panel);
}
.gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

body:has(#photo-viewer[open]) { overflow: hidden; }
#photo-viewer {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}
#photo-viewer::backdrop { background: #070505e8; }
.viewer-card { position: relative; padding: 58px 12px 12px; }
#viewer-image {
  display: block;
  width: 100%;
  height: min(65dvh, 620px);
  object-fit: contain;
  background: #0d0a0a;
  border-radius: 8px;
}
.viewer-close { position: absolute; top: 7px; right: 9px; font-size: 24px; line-height: 1; }
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.viewer-controls button { min-width: 48px; }
.viewer-controls [aria-disabled="true"] { opacity: .45; cursor: default; }

.schedule-notes { white-space: pre-line; margin-bottom: 10px; }
.running-order-link { margin-top: 8px; }
.editor-group { min-width: 0; border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin: 10px 0 18px; }
.editor-group legend { font-weight: 800; padding: 0 5px; }
.editor-group .choice { margin: 4px; }
#editor-fields textarea { display: block; width: 100%; margin-top: 6px; padding: 9px; border: 1px solid #9c7957; border-radius: 8px; background: #130e0e; color: var(--ink); font: inherit; resize: vertical; }
#editor-fields input[type=checkbox] { display: inline; width: auto; min-height: 0; accent-color: var(--gold); }
#editor-fields a.choice { display: inline-flex; align-items: center; overflow-wrap: anywhere; }

/* Championship branding */
body {
  background:
    radial-gradient(ellipse at 0 12%, #42141980 0, transparent 32rem),
    radial-gradient(ellipse at 100% 55%, #3e151566 0, transparent 34rem),
    #0b0909;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 37% 32% at 103% 29%, transparent 96%, #95734740 97%, transparent 99%),
    radial-gradient(ellipse 39% 34% at 102% 28%, transparent 96%, #c62f393f 97%, transparent 99%),
    radial-gradient(circle at 7% 22%, #e4b85e90 0 1px, transparent 2px),
    radial-gradient(circle at 93% 42%, #e4b85e70 0 1px, transparent 2px),
    radial-gradient(circle at 12% 62%, #e4b85e70 0 1px, transparent 2px),
    radial-gradient(circle at 88% 75%, #e4b85e70 0 1px, transparent 2px);
}
header { background: #0e0a0a; border-color: #65472c; }
.brand img { object-fit: contain; }
.brand span { font-size: 12px; letter-spacing: .2em; }
.brand small { color: var(--gold); letter-spacing: .15em; margin-top: 2px; }
.page > h1, .hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
  font-weight: 700;
}
.hero {
  min-height: 455px;
  border-color: #916738;
  border-radius: 21px;
  background: #13090a;
  box-shadow: 0 24px 70px #0008, inset 0 0 45px #9d171424;
}
.hero-copy { padding: clamp(23px, 5vw, 56px); }
.hero-logo {
  display: block;
  width: clamp(154px, 21vw, 240px);
  height: auto;
  max-width: 100%;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px #000a);
}
.hero h1 {
  font-size: clamp(46px, 7.4vw, 83px);
  line-height: .96;
  margin: 12px 0;
  overflow-wrap: anywhere;
  max-width: 80%;
  color: #fff7ef;
  text-shadow: 0 5px 22px #000;
}
.hero em {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #e5dcd6;
}
.hero .eyebrow { letter-spacing: .15em; }
.art {
  background: radial-gradient(ellipse at 76% 44%, #741b27 0, #320c12 34%, transparent 64%);
}
.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .52;
  filter: saturate(.65) sepia(.25);
  mask-image: linear-gradient(90deg, transparent 8%, #0005 48%, #000 96%);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stage-photo, url('/brand/stage-poster.webp')) right top / 100% auto no-repeat;
  background-position: right top calc(clamp(-350px, -31vw, -140px) + var(--stage-desktop-shift, 0px));
  mask-image: linear-gradient(180deg, #000 16%, #000b 36%, transparent 54%);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, #17090a55 58%, #17090a00 100%);
}
.hero-mirror {
  position: absolute;
  top: -28px;
  right: -18px;
  width: 132px;
  height: 122px;
  opacity: .48;
  background: url('/brand/championship-poster.webp') right top / 460px auto no-repeat;
  mask-image: radial-gradient(ellipse at top right, #000 35%, transparent 74%);
}
.hero-tower {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -15%;
  width: auto;
  height: 104%;
  object-fit: contain;
  opacity: .9;
  filter: drop-shadow(0 0 20px #e52f3855);
}
.art::before, .art::after {
  z-index: 2;
  width: 80%;
  height: 46%;
  right: -23%;
  bottom: -24%;
  transform: rotate(-24deg);
  border: 1px solid #f8cb79;
  box-shadow: 0 -1px 14px #e3a84b94, 0 2px 14px #b5202ebe;
}
.art::after { bottom: -26%; right: -20%; border: 4px solid #b72d3c; }
.art span { z-index: 3; color: #f7d38d; text-shadow: 0 0 20px #f7a73c; }
.art span:nth-of-type(1) { right: 4%; top: 17%; font-size: 40px; }
.art span:nth-of-type(2) { right: 28%; top: 16%; font-size: 20px; }
.art span:nth-of-type(3) { right: 7%; top: 72%; font-size: 26px; }
.primary { background: linear-gradient(120deg, #ffe3a4, #d9ad5d); color: #1d1006; }
.primary:hover { background: #ffe7ab; }
.next { background: linear-gradient(110deg, #321316, #1c1412 54%); }
.next-icon { color: var(--gold); }
.tile {
  border-color: #62462e;
  background: linear-gradient(140deg, #2e1515 0, #181212 63%);
  box-shadow: inset 0 1px 0 #c28e451c;
}
.tile i { color: var(--gold); background: #281716; }
.tile .trophy-icon { font-size: 15px; }
.nav-inner a[aria-current] { box-shadow: inset 0 -2px 0 #ebbd6c; }
.choice[aria-pressed=true] { box-shadow: inset 0 0 0 1px #e6b76470; }
.bingo button[aria-pressed=true]::after { content: " ✓"; }
.quiz-answer.correct::after { content: " ✓"; }
.quiz-answer.incorrect::after { content: " ×"; }
#photo-viewer { border-color: #ad814e; }
#viewer-image { background: #0b0909; }
@media(max-width:680px) {
  .hero { min-height: 365px; }
  .hero-copy { padding: 28px 17px; }
  .hero-logo { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(33px, 7.8vw, 55px); max-width: 100%; }
  .hero .eyebrow { max-width: 72%; }
  .hero-tower { right: -14%; bottom: -13%; height: 92%; opacity: .55; }
  .hero-stage { opacity: .35; }
  .hero-stage::before {
    background-size: max(100%, 410px) auto;
    background-position: right top calc(-126px + var(--stage-mobile-shift, 0px));
    mask-image: linear-gradient(180deg, #000 9%, #000a 25%, transparent 48%);
  }
  .hero-mirror { display: none; }
  .art span:nth-of-type(1) { font-size: 25px; }
}

.stage-position-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2.45;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #13090a;
}
.stage-position-preview[data-layout="mobile"] { max-width: 360px; aspect-ratio: 1.12; }
.stage-position-preview .art { z-index: 0; }
.stage-position-preview .hero-stage { opacity: .83; }
.stage-position-preview .hero-stage::before {
  background-position: right top calc(-32cqw + var(--stage-desktop-shift, 0px));
}
.stage-position-preview[data-layout="mobile"] .hero-stage::before {
  background-size: max(100%, 410px) auto;
  background-position: right top calc(-126px + var(--stage-mobile-shift, 0px));
}
.stage-position-preview[data-layout="desktop"] .hero-stage::before { background-size: 100% auto; }
.stage-position-preview { container-type: inline-size; }
#editor-fields input[type=range] {
  border: 0;
  padding: 0;
  min-height: 44px;
  background: transparent;
  accent-color: var(--gold);
  cursor: pointer;
}
.stage-position-controls { margin-top: 12px; }

.custom-stage-photo .hero-stage::before,
.stage-position-preview[data-layout="desktop"] .custom-stage-photo .hero-stage::before {
  background-size: cover;
  background-position: center calc(50% + var(--stage-desktop-shift, 0px));
  mask-image: linear-gradient(180deg, #000 16%, #000b 52%, transparent 90%);
}
.stage-position-preview[data-layout="mobile"] .custom-stage-photo .hero-stage::before {
  background-size: cover;
  background-position: center calc(50% + var(--stage-mobile-shift, 0px));
}
@media (max-width: 680px) {
  #home .custom-stage-photo .hero-stage::before {
    background-position: center calc(50% + var(--stage-mobile-shift, 0px));
  }
}

@media (max-width: 680px) {
  body { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  body > nav { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .nav-inner { padding-block: 8px; }
  .nav-inner a { min-height: 54px; }
}

.cheer-results { list-style: none; margin: 10px 0 0; padding: 0; }
.cheer-results li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 5px 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.cheer-results strong { overflow-wrap: anywhere; }
.cheer-results span { font-size: 13px; color: var(--muted); }
.cheer-results progress { grid-column: 1 / -1; width: 100%; height: 10px; accent-color: var(--gold); }

.viewer-reactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 8px 0 4px; }
.viewer-reactions .choice { min-width: 44px; padding: 5px 7px; font-size: 14px; }
.reaction-status { font-size: 12px; text-align: center; }
#viewer-image { height: min(53dvh, 600px); }
.photo-rank { display: block; margin: 7px 0; color: var(--gold); }

#quiz-card { max-width: 760px; }
.quiz-counter { color: var(--gold); font-size: .85rem; font-weight: 800; }
.quiz-progress { display: block; width: 100%; height: 8px; margin: 8px 0 20px; accent-color: var(--gold); }
.quiz-options { display: grid; gap: 8px; }
.quiz-options .quiz-answer { display: flex; align-items: center; gap: 10px; min-height: 54px; margin: 0; }
.quiz-option-letter { min-width: 20px; color: var(--gold); font-weight: 800; }
.quiz-options .quiz-answer.correct::after, .quiz-options .quiz-answer.incorrect::after { margin-left: auto; }
.quiz-feedback:empty { display: none; }
.quiz-feedback { border-left: 3px solid var(--gold); background: #251b13; padding: 10px 12px; margin: 14px 0; }
.quiz-feedback-wrong { border-color: var(--scarlet); }
.quiz-feedback-right, .quiz-score { color: var(--gold); }
#quiz-card .quiz-score ~ button { margin-top: 12px; }

#quiz-card .quiz-feedback-wrong {
  padding: 14px 16px;
  border: 1px solid #ea7772;
  border-left-width: 5px;
  border-radius: 8px;
  background: #401a1b;
}
.quiz-feedback-heading { display: block; color: #ffaea5; font-size: 1.35rem; font-weight: 900; }
#quiz-card .quiz-correct-answer { margin-top: 5px; color: var(--ink); font-weight: 700; }

.quiz-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-toolbar .choice { font-size: .85rem; }

.quiz-result-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0; }
.quiz-result-stats > div { padding:9px; border:1px solid var(--border); border-radius:8px; }
.quiz-result-stats strong { font-size:1.2rem; color:var(--gold); }
.quiz-result-stats p { font-size:.8rem; }
.quiz-draw { border:1px solid var(--border); padding:12px; border-radius:8px; }
.quiz-draw h3 { margin:0 0 8px; }
#official-quiz-results > div:last-child { overflow-x:auto; }
.quiz-results-table { width:100%; border-collapse:collapse; text-align:left; font-size:.9rem; }
.quiz-results-table th, .quiz-results-table td { padding:8px; border-bottom:1px solid var(--border); vertical-align:top; }
.quiz-results-table th { color:var(--gold); }
.quiz-results-table td:last-child button { margin:0 4px 5px 0; }
#quiz-entry-dialog { margin:auto; width:min(92vw,680px); max-height:85dvh; overflow:auto; color:var(--ink); }
#quiz-entry-dialog::backdrop { background:#000b; }
.quiz-entry-answers li { margin-bottom:14px; }
#quiz-card form { margin-top:16px; }

#quiz-card > p + .primary { margin-top: 12px; }

.choice-rankings { list-style: none; margin: 10px 0 16px; padding: 0; }
.choice-rankings li { border-bottom: 1px solid var(--border); padding: 9px 0; }
.choice-ranking-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.choice-ranking-heading span { color: var(--muted); }
.choice-rankings progress { width: 100%; height: 10px; accent-color: var(--gold); }

.bingo-hero { position:relative; isolation:isolate; overflow:hidden; padding:clamp(16px,4vw,36px); border:1px solid #b78243; border-radius:18px;
  background:radial-gradient(ellipse at 77% 60%,#702025,transparent 64%),linear-gradient(125deg,#180908,#481217 72%,#1b0a0c); }
.bingo-hero h1 { position:relative; margin:8px 0 10px; font-size:clamp(1.8rem,7.5vw,4.25rem); line-height:1.05; color:#ffe8ab;
  font-family:Georgia,serif; font-weight:900; letter-spacing:.025em; text-shadow:0 2px #6e4124,0 0 16px #ffd97a72; }
.bingo-hero p { position:relative; max-width:40ch; color:#fff3e5; }
.bingo-tower { position:absolute; z-index:-1; right:-10px; bottom:-26px; width:clamp(105px,27%,210px); height:auto; opacity:.68; }
.bingo-art { display:flex; gap:clamp(8px,3vw,20px); }
.bingo-art span { display:inline-block; font-size:clamp(1.15rem,4vw,2rem); animation:bingo-float 3s ease-in-out infinite; }
.bingo-art span:nth-child(2n) { animation-delay:.6s; }
@keyframes bingo-float { 50% { transform:translateY(-5px) rotate(8deg); } }
.bingo-progress-panel { margin:12px 0 8px; padding:10px 12px; }
.bingo-progress-panel h2 { font-size:1.05rem; margin:0 0 6px; }
.bingo-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; text-align:center; }
.bingo-metrics > div { border:1px solid #886340; border-radius:7px; padding:4px; }
.bingo-metrics span { display:block; color:var(--muted); font-size:.75rem; }
.bingo-metrics strong { color:var(--gold); font-size:.92rem; }
.bingo-badge { margin-top:6px; color:#ffe4a0; font-weight:800; font-size:.85rem; }
.nationals-bingo-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(3px,1vw,8px); max-width:680px; margin:8px auto; }
.nationals-bingo-cell { position:relative; min-width:0; min-height:44px; aspect-ratio:1; border:1px solid #f4c46c88; border-radius:8px; padding:2px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; overflow:hidden; color:#fff6eb; text-align:center; line-height:1.06; font:inherit; }
.nationals-bingo-cell:focus-visible { outline-offset:1px; }
.bingo-colour-0 { background:linear-gradient(145deg,#7a1921,#470e14); }
.bingo-colour-1 { background:linear-gradient(145deg,#6a4b18,#392b11); }
.bingo-colour-2 { background:linear-gradient(145deg,#48505c,#252a34); }
.bingo-colour-3 { background:linear-gradient(145deg,#943044,#4f1727); }
.bingo-colour-4 { background:linear-gradient(145deg,#453346,#272134); }
.bingo-cell-icon { font-size:clamp(.86rem,4vw,1.75rem); }
.bingo-cell-label { font-size:clamp(.51rem,2.48vw,.95rem); line-height:1.08; font-weight:750; overflow-wrap:anywhere; }
.bingo-marked { color:#fff5d3; background:linear-gradient(145deg,#634c23,#352715); border-color:#f6ce72; }
.bingo-cell-tick { position:absolute; top:1px; right:3px; color:#fff394; font-size:clamp(.72rem,3.7vw,1.45rem); font-weight:900; text-shadow:0 1px 3px #211408; }
.bingo-free { background:linear-gradient(135deg,#ffe49b,#d39846); color:#211509; }
.bingo-free .bingo-cell-tick { color:#452608; text-shadow:none; }
.bingo-winner-square { animation:bingo-glow 1.8s ease-in-out infinite alternate; border:2px solid #ffe290; }
@keyframes bingo-glow { to { box-shadow:inset 0 0 12px #ffdb7b; } }
.bingo-honesty { color:var(--muted); font-size:.85rem; }
.bingo-game-controls { margin-top:8px; }
.bingo-dialog { position:fixed; width:min(92vw,590px); max-height:86dvh; overflow:auto; margin:auto; padding:16px;
  border:1px solid var(--gold); border-radius:14px; color:var(--ink); background:#241513; }
.bingo-dialog::backdrop { background:#000b; }
.bingo-dialog h2 { margin:0 0 8px; color:#ffdd87; }
.bingo-dialog .choice { margin:10px 6px 0 0; }
.bingo-celebrate { isolation:isolate; text-align:center; padding:20px; background:radial-gradient(ellipse at top,#743127,#25120e 70%); }
.bingo-celebrate-double { background:radial-gradient(ellipse at top,#703b72,#25120e 75%); }
.bingo-celebrate-full { background:radial-gradient(ellipse at top,#985c18,#2b140d 75%); }
.bingo-celebration-icon { font-size:3rem; animation:bingo-pop .55s ease-out; }
.bingo-confetti { position:absolute; z-index:-1; inset:0; overflow:hidden; pointer-events:none; }
.bingo-confetti span { position:absolute; left:var(--particle-x); top:-18px; color:#ffe07b; animation:bingo-confetti-fall 1.8s var(--particle-delay) ease-out both; }
.bingo-confetti:not(.bingo-confetti-full) span:nth-child(3n) { color:#ff7182; }
.bingo-confetti:not(.bingo-confetti-full) span:nth-child(4n) { color:#f7efff; }
.bingo-confetti-line span:nth-child(4n) { animation-name:bingo-fireworks; }
@keyframes bingo-confetti-fall { to { transform:translate(15px,330px) rotate(300deg); opacity:.28; } }
@keyframes bingo-fireworks { 0% { opacity:0; transform:translateY(165px) scale(.1); } 45% { opacity:1; transform:translateY(55px) scale(2.6); } 100% { opacity:0; transform:translate(20px,105px) scale(.6); } }
@keyframes bingo-pop { 0% { opacity:0; transform:scale(.45) rotate(-15deg); } 70% { transform:scale(1.12); } }
.bingo-table-wrap { overflow-x:auto; }
.bingo-winner-result { margin-top:10px; color:var(--gold); }
.bingo-winner-reveal { animation:bingo-pop .55s ease-out; }
.bingo-result-filters { display:grid; gap:8px; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); }
@media (prefers-reduced-motion:reduce) {
  .bingo-art span,.bingo-winner-square,.bingo-celebration-icon,.bingo-confetti span,.bingo-winner-reveal { animation:none; }
}

.team-schedule-filters { display:grid; gap:8px; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); }
.team-schedule-entry { padding:10px 0; border-bottom:1px solid var(--border); }
.team-schedule-entry:last-child { border-bottom:0; }
.team-schedule-entry p { margin:3px 0 0; }
.team-schedule-time { color:var(--gold); }
.running-import { margin:9px 0; }
.running-import h4 { margin:0 0 8px; }
.running-import input.running-unmatched-toggle { display:inline; width:auto; min-height:0; }
.running-review-list { max-height:440px; overflow-y:auto; margin:9px 0; }
.running-review-list details { padding:7px; border-bottom:1px solid var(--border); }
.running-review-list summary { font-weight:600; overflow-wrap:anywhere; }

.announcement-card { border:1px solid var(--border); border-left:3px solid var(--gold); border-radius:9px;
  background:var(--panel); padding:12px 14px; margin:10px 0; overflow-wrap:anywhere; }
.announcement-pinned { border-left-width:5px; border-color:#ca9e51; }
.announcement-card h2,.announcement-card h3 { margin:3px 0 5px; }
.announcement-meta { color:var(--gold); font-size:.8rem; font-weight:800; }
.announcement-message { white-space:pre-wrap; }
.announcement-card time { display:block; font-size:.8rem; color:var(--muted); margin-top:6px; }
.announcement-card a.choice { display:inline-flex; align-items:center; margin-top:7px; }
.announcement-feed-link { display:inline-flex; align-items:center; min-height:44px; color:var(--gold); text-decoration:underline; }
.announcement-edit textarea { display:block; width:100%; padding:8px; border:1px solid var(--border);
  border-radius:6px; background:var(--panel); color:var(--ink); font:inherit; }
.announcement-pin-input input[type=checkbox] { display:inline; width:auto; min-height:0; margin-left:7px; }

#announcement-ticker { display:flex; width:100%; min-height:44px; align-items:stretch; background:#2b1014;
  border-bottom:1px solid #866039; color:#fff6e3; }
#announcement-ticker[hidden] { display:none; }
.ticker-label { flex:none; display:grid; place-items:center; padding:0 10px; background:#7c2129;
  color:#fff4df; font-size:.75rem; font-weight:900; letter-spacing:.09em; }
#announcement-ticker-link { flex:1; min-width:0; overflow:hidden; display:flex; align-items:center;
  container-type:inline-size; color:inherit; }
#announcement-ticker-link:focus-visible { outline-offset:-2px; }
#announcement-ticker-track { display:flex; flex:none; align-items:center; width:max-content; white-space:nowrap;
  padding-left:10px; font-size:.88rem; animation:hub-ticker var(--ticker-time,25s) linear infinite; }
#announcement-ticker-track span + span::before { content:"✦"; padding:0 18px; color:var(--gold); }
@keyframes hub-ticker {
  from { transform:translateX(min(45cqw,180px)); }
  to { transform:translateX(-100%); }
}
#announcement-ticker-toggle { flex:none; min-width:44px; border:none; border-left:1px solid #866039;
  color:var(--gold); background:transparent; cursor:pointer; }
.ticker-paused #announcement-ticker-track,
#announcement-ticker-link:hover #announcement-ticker-track,
#announcement-ticker-link:focus-visible #announcement-ticker-track { animation-play-state:paused; }
@media (prefers-reduced-motion:reduce) {
  #announcement-ticker-track { display:block; flex:1; min-width:0; overflow:hidden; animation:none; }
  #announcement-ticker-track span { display:block; overflow:hidden; text-overflow:ellipsis; }
  #announcement-ticker-track span + span, #announcement-ticker-toggle { display:none; }
}

.header-credit { display:flex; align-items:center; justify-content:flex-end; gap:7px; min-width:0;
  color:var(--muted); text-align:right; font-size:.72rem; line-height:1.25; }
.header-credit strong { display:block; color:var(--ink); font-size:.8rem; }
.header-credit img { flex:none; width:40px; height:40px; object-fit:contain; }
@media (max-width:420px) {
  .header-credit { gap:4px; font-size:.64rem; }
  .header-credit strong { font-size:.7rem; }
  .header-credit img { width:33px; height:33px; }
}

.site-credit { margin-top:24px; padding-bottom:8px; }
.site-credit .header-credit { justify-content:center; padding-top:14px; border-top:1px solid var(--border); }
main:has(> #get-involved:not([hidden])) + .site-credit .header-credit { border-top-color: transparent; }

.pending-photo-label { display:flex; align-items:center; gap:8px; min-height:38px; margin:0 0 6px; cursor:pointer; }
.pending-photo-label input[type=checkbox] { width:19px; min-height:19px; margin:0; accent-color:var(--gold); }
#bulk-photo-controls { align-items:center; }
#bulk-photo-status { flex-basis:100%; margin:0; }
#bulk-photo-status:empty { display:none; }

/* A static rhinestone field keeps the background lightweight on phones. */
body { isolation:isolate; background-color:#160b0e; }
body::after {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  --glint-h: linear-gradient(90deg,transparent,#ffdf99d9 50%,transparent);
  --glint-v: linear-gradient(0deg,transparent,#fff1cdc9 50%,transparent);
  background:
    radial-gradient(circle at 18px 25px,#fff7e5 0 .8px,#ffc980 1.3px,#ea945d66 2px,transparent 4px) 19px 23px/163px 137px,
    radial-gradient(circle at 63px 43px,#fff9ee 0 .7px,#c8b3bd6e 1.6px,transparent 3px) 43px 67px/119px 173px,
    radial-gradient(circle at 34px 53px,#e9bb8fab 0 .75px,transparent 1.6px) 0 0/79px 103px,
    radial-gradient(circle at 16px 38px,#fff2ea96 0 .65px,transparent 1.6px) 22px 13px/137px 89px,
    var(--glint-h) calc(8% + 6px) 24%/16px 1px no-repeat,
    var(--glint-v) calc(8% + 13px) calc(24% - 6px)/1px 14px no-repeat,
    var(--glint-h) 91% 62%/18px 1px no-repeat,
    var(--glint-v) calc(91% + 7px) calc(62% - 8px)/1px 17px no-repeat,
    radial-gradient(ellipse at 0 50%,#651c344f,transparent 43%),
    radial-gradient(ellipse at 100% 65%,#7b352a59,transparent 44%);
  mask-image:linear-gradient(90deg,#000 0%,#000b 17%,#0005 45%,#0005 55%,#000b 83%,#000 100%);
}
@media (max-width:680px) {
  body::after { mask-image:linear-gradient(90deg,#000 0%,#0007 23%,#0005 50%,#0007 77%,#000 100%); }
}

:is(#photo-upload-confirmation,#reel-upload-confirmation) {
  width:min(92vw,420px); max-height:88dvh; margin:auto; padding:24px 20px;
  border:1px solid var(--gold); border-radius:16px; text-align:center; color:var(--ink);
  background:radial-gradient(ellipse at top,#562321,#241413 70%);
  box-shadow:0 14px 48px #0009;
}
:is(#photo-upload-confirmation,#reel-upload-confirmation)::backdrop { background:#090606bb; }
:is(#photo-upload-confirmation,#reel-upload-confirmation) h2 { color:var(--gold); margin:10px 0 8px; }
:is(#photo-upload-confirmation,#reel-upload-confirmation) .primary { min-height:44px; margin-top:18px; min-width:110px; }
.photo-confirmation-icon {
  display:grid; place-items:center; margin:auto; width:53px; height:53px;
  border-radius:50%; color:#24140b; background:#f6cc78; font-size:1.85rem; font-weight:900;
  box-shadow:0 0 20px #f0ca7b55; animation:bingo-pop .45s ease-out;
}
@media (prefers-reduced-motion:reduce) { .photo-confirmation-icon { animation:none; } }

.tile i .nav-camera-icon, .nav-inner a .nav-camera-icon { position:relative; display:block; width:19px; height:14px; margin:4px auto 5px;
  border:1.6px solid currentColor; border-radius:3px; }
.nav-camera-icon::before { content:""; position:absolute; width:7px; height:3px; left:2px; top:-4px; border-radius:2px 2px 0 0; background:currentColor; }
.nav-camera-icon::after { content:""; position:absolute; width:7px; height:7px; left:50%; top:50%; transform:translate(-50%,-50%);
  border:1.5px solid currentColor; border-radius:50%; }
#photo-batch-progress { width:100%; height:12px; margin-top:12px; accent-color:var(--gold); }

.reject-photos { border-color:#ad5558; color:#ffc8c5; }
.reject-photos:hover:not(:disabled) { background:#582325; }

.tile i .nav-camera-icon { margin:3px 0 0; }

#judge-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,8.75rem),1fr)); gap:.6rem; margin-top:12px; }
#judge-list > .panel { margin:0; }
.judge-card { overflow:hidden; padding:0; }
.judge-card > img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; object-position:center 20%; }
.judge-copy { padding:.55rem .65rem; }
.judge-copy h2 { color:var(--gold); margin:0; font-size:1rem; overflow-wrap:anywhere; }
.judge-role { margin-top:4px; color:var(--ivory,var(--ink)); font-weight:700; }
.judge-biography { margin-top:8px; white-space:pre-wrap; overflow-wrap:anywhere; }
.judge-form textarea { display:block; width:100%; padding:8px; border:1px solid var(--border); border-radius:6px; background:var(--panel); color:var(--ink); font:inherit; }
.judge-editor-list .choices { align-items:center; border-bottom:1px solid var(--border); padding-bottom:8px; }

#officials > .choices { margin-bottom: 1rem; }
#official-resources form, #resource-manager form { max-width: 32rem; }
.resource-list { list-style: none; padding: 0; }
.resource-list li { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; padding: .65rem 0; border-bottom: 1px solid #60482c; overflow-wrap: anywhere; }
.resource-list a { display: inline-flex; align-items: center; min-height: 44px; }
.resource-list small:empty { display: none; }

#music-tracks audio { display: block; width: 100%; max-width: 36rem; margin-bottom: 1rem; }
#music-manager form { max-width: 32rem; }
#music-manager progress { display: block; width: 100%; margin-block: .75rem; accent-color: var(--gold); }
@media (max-width: 390px) {
  .nav-inner { gap: 2px; }
  .nav-inner a { font-size: 10px; line-height: 1.2; }
}

.activity-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .75rem; }

#get-involved > h1 { margin-block-end: 1rem; }

/* Navigation moves focus to the content landmark, which spans the page. */
#main:focus { outline: none; }

.formation-modes { margin-block: 1rem; }
#formation-game { max-width: 42rem; }
#formation-title:focus { outline:none; }
#formation-clock { color:var(--gold); font-weight:800; font-variant-numeric:tabular-nums; }
.formation-layout { display:grid; grid-template-columns:minmax(96px,1fr) minmax(0,3fr); gap:1rem; margin-block:1rem; align-items:start; }
.formation-layout h3 { margin:0 0 .5rem; font-size:1rem; }
#formation-preview, #formation-board { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
#formation-preview { max-width:8.5rem; gap:2px; }
#formation-preview span, .formation-cell { aspect-ratio:1; display:grid; place-items:center; padding:0; border:1px solid var(--border); border-radius:5px; background:#231415; }
#formation-preview span { font-size:clamp(.53rem,2vw,.83rem); }
#formation-preview .is-target { color:var(--gold); background:#511b21; }
.formation-cell { color:var(--gold); font-size:clamp(1rem,5vw,2rem); min-width:0; }
.formation-cell.is-guide { border:1px dashed var(--gold); }
.formation-cell.is-occupied { background:#651f28; touch-action:none; }
.formation-cell[aria-pressed="true"] { outline:2px solid var(--gold); outline-offset:1px; }
#formation-reserve { touch-action:none; }
#formation-ghost { position:fixed; z-index:12; transform:translate(-50%,-50%); pointer-events:none; display:grid; place-items:center; width:2.75rem; height:2.75rem; border:1px solid var(--gold); border-radius:50%; background:#651f28; color:var(--gold); font-size:1.5rem; }
#formation-status { margin-top:.5rem; }
#formation-status:empty { display:none; }
#formation-next { margin-top:1rem; }
@media (max-width:460px) {
  .formation-layout { grid-template-columns:1fr; gap:.65rem; }
  .formation-example { display:flex; gap:.75rem; align-items:center; }
  .formation-example h3 { margin:0; }
  #formation-preview { width:5.5rem; }
}

#baton-modes { margin-block: 1rem; }
.baton-game { max-width: 32rem; }
#baton-arena { position:relative; height:clamp(180px,30svh,300px); overflow:hidden; border:1px solid var(--border); border-radius:14px; background:radial-gradient(ellipse at 50% 30%,#68212a 0%,#2c1317 48%,#190e10 86%); }
#baton-zone { position:absolute; inset-inline:0; display:flex; align-items:center; padding-inline:.65rem; border-block:1px dashed var(--gold); background:#e4a94732; color:var(--gold); }
#baton-zone span { font-size:.75rem; font-weight:800; }
.is-catchable #baton-zone { background:#ffe2a4; color:#2f1709; border-color:#fff3cb; }
#baton-piece { position:absolute; left:50%; width:clamp(64px,26%,98px); height:5px; border-radius:5px; background:linear-gradient(180deg,#fff,#d1bbb0 60%,#75645c); transform:translate(-50%,-50%) rotate(var(--baton-spin,0deg)); }
#baton-piece::before, #baton-piece::after { content:""; position:absolute; top:50%; width:13px; height:13px; border-radius:50%; transform:translateY(-50%); background:radial-gradient(circle at 35% 30%,#fff,#e4c681 53%,#774717); }
#baton-piece::before { left:0; }
#baton-piece::after { right:0; width:10px; height:10px; }
.baton-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; margin-block:.75rem .5rem; }
#baton-action, #baton-reset { min-height:48px; touch-action:manipulation; }
#baton-feedback { min-height:1.6em; color:var(--gold); font-weight:800; }
#baton-scores { font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion:reduce) {
  #baton-piece { transform:translate(-50%,-50%); }
}

.pom-game { max-width:32rem; margin-top:1rem; }
.pom-scoreboard { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.25rem .75rem; color:var(--muted); font-size:.88rem; }
.pom-scoreboard strong { color:var(--gold); margin-left:.2rem; font-variant-numeric:tabular-nums; }
#pom-progress { display:block; width:100%; height:.6rem; margin:.55rem 0 .75rem; accent-color:var(--gold); }
#pom-stage { position:relative; height:clamp(210px,39svh,340px); isolation:isolate; overflow:hidden; border:1px solid var(--border); border-radius:14px; background:#271c2b; touch-action:pan-y; }
.pom-seafront { position:absolute; inset:0 0 auto; height:38%; background:linear-gradient(#1c152a 0%,#6a243d 43%,#313f72 46%,#252d50 82%,#4e3c37 83%); }
.pom-seafront img { position:absolute; bottom:12%; right:8%; width:clamp(32px,17%,75px); max-height:95%; object-fit:contain; object-position:bottom; }
.pom-road { position:absolute; inset:27% 0 0; border-top:2px solid #b78a54; background:linear-gradient(180deg,#3f3036,#170f15); }
.pom-road::before, .pom-road::after { content:""; position:absolute; top:0; bottom:0; border-left:1px dashed #d9b88065; }
.pom-road::before { left:33.333%; }
.pom-road::after { left:66.667%; }
#pom-track { position:absolute; inset:26% 0 0; pointer-events:none; }
.pom-item, #pom-dancer { position:absolute; left:calc((var(--lane) + .5) * 100% / 3); transform:translate(-50%,-50%); }
.pom-item-pom { width:clamp(22px,8vw,35px); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,#fff2b5 4%,transparent 57%),repeating-conic-gradient(#fff2ac 0 11deg,#b47716 12deg 20deg,#e9c158 21deg 32deg); box-shadow:0 0 10px #ffcc7588; }
.pom-item-puddle { width:clamp(42px,18vw,76px); height:11px; border-radius:60% 45%; background:#427ab2; border:1px solid #a4d8ff; box-shadow:inset 0 3px #bde6ff34; }
#pom-dancer { top:88.9%; z-index:1; font-size:clamp(27px,8vw,43px); line-height:1; filter:drop-shadow(0 2px 4px #000); }
.pom-finish { display:none; position:absolute; z-index:2; inset:0; place-items:center; padding:1rem; text-align:center; background:#21121cdd; color:var(--gold); font-size:clamp(1.6rem,6vw,2.4rem); font-weight:900; }
.is-finished .pom-finish { display:grid; }
.pom-controls { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.5rem; margin-top:.7rem; }
.pom-controls button { min-width:48px; min-height:48px; touch-action:manipulation; }
#pom-status { min-height:1.5em; margin-top:.5rem; color:var(--gold); font-weight:750; }

.bounce-game { max-width:32rem; margin-top:1rem; }
.bounce-scores { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.25rem .75rem; margin-bottom:.65rem; color:var(--muted); font-variant-numeric:tabular-nums; }
.bounce-scores strong { color:var(--gold); }
#bounce-stage { position:relative; height:clamp(165px,30svh,245px); overflow:hidden; border:1px solid var(--border); border-radius:14px; background:radial-gradient(ellipse at 50% 32%,#68212a 0%,#2c1317 48%,#190e10 86%); }
.bounce-rig { position:absolute; top:57%; left:15%; right:15%; height:12px; transform:rotate(var(--bounce-angle,0deg)); transform-origin:center; z-index:1; }
.bounce-platform { height:100%; border:1px solid #ffe7ab; border-radius:7px; background:linear-gradient(#e5c27a,#966128); }
.bounce-pivot { position:absolute; top:calc(57% + 7px); bottom:0; left:50%; width:34%; transform:translateX(-50%); clip-path:polygon(50% 0,100% 100%,0 100%); background:linear-gradient(115deg,#4e3124,#bc8a53 48%,#513126 51%); }
.bounce-baton { position:absolute; left:calc(50% + var(--bounce-position,0) * 46%); top:-10px; width:clamp(36px,26%,75px); height:5px; border-radius:8px; transform:translateX(-50%); background:linear-gradient(#fff,#d1bbb0 62%,#75645c); transition:top .15s ease-in; }
.bounce-baton::before, .bounce-baton::after { content:""; position:absolute; top:50%; width:11px; aspect-ratio:1; border-radius:50%; transform:translateY(-50%); background:radial-gradient(circle at 35% 30%,#fff,#e4c681 58%,#774717); }
.bounce-baton::before { left:0; }
.bounce-baton::after { right:0; width:8px; }
.has-fallen .bounce-baton { top:36px; transform:translateX(-50%) rotate(35deg); }
.bounce-controls { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.5rem; margin-top:.65rem; }
.bounce-controls button { min-width:52px; min-height:48px; }
#bounce-left, #bounce-right { touch-action:none; user-select:none; -webkit-user-select:none; }
.bounce-controls .is-held { background:#643127; color:var(--gold); }
#bounce-tilt { min-height:44px; margin-top:.65rem; }
#bounce-status, #bounce-tilt-status { margin-top:.5rem; }
#bounce-status { color:var(--gold); font-weight:750; }
#bounce-status:empty, #bounce-tilt-status:empty { display:none; }
@media (prefers-reduced-motion:reduce) { .bounce-baton { transition:none; } }

.charades-game { max-width:35rem; margin-top:1rem; }
.charades-rules { padding-inline-start:1.35rem; margin:0 0 1rem; }
.charades-rules li + li { margin-top:.5rem; }
.charades-scores { display:flex; justify-content:space-between; gap:1rem; font-variant-numeric:tabular-nums; }
.charades-scores strong { color:var(--gold); font-size:1.1em; }
.is-hurry #charades-timer { color:var(--scarlet); }
#charades-progress { display:block; width:100%; height:.55rem; margin:.45rem 0 .85rem; accent-color:var(--gold); }
.is-hurry #charades-progress { accent-color:var(--scarlet); }
#charades-prompt { display:grid; place-items:center; min-height:clamp(8rem,25svh,13rem); padding:1rem; border:1px solid var(--border); border-radius:14px; background:radial-gradient(ellipse at top,#51202a,#211217); color:var(--gold); text-align:center; font-size:clamp(1.25rem,5vw,2.35rem); }
#charades-prompt:focus, #charades-result-title:focus { outline:none; }
.charades-controls { display:grid; grid-template-columns:1fr 1.35fr; gap:.65rem; margin-top:.75rem; }
.charades-controls button, #charades-start, #charades-again { min-height:48px; touch-action:manipulation; }
#charades-results { text-align:center; padding-block:1rem; }
#charades-summary { margin:.7rem 0 1rem; font-size:1.15rem; }

.tower-game { max-width:38rem; margin-top:1rem; }
.tower-progress-row { display:flex; flex-wrap:wrap; gap:.4rem 1rem; align-items:center; }
#tower-count { color:var(--gold); font-weight:800; }
#tower-progress { flex:1; min-width:8rem; height:.65rem; accent-color:var(--gold); }
#tower-options { display:flex; flex-wrap:wrap; gap:.5rem 1rem; align-items:center; margin-top:.75rem; }
.tower-swatches { margin:0; }
.tower-swatches button, #tower-auto { min-height:44px; }
.tower-swatches button::before { content:""; width:.65rem; height:.65rem; display:inline-block; border-radius:50%; margin-inline-end:.35rem; background:var(--bulb); }
[data-tower-swatch="red"], [data-colour="red"] { --bulb:#ff555a; }
[data-tower-swatch="gold"], [data-colour="gold"] { --bulb:#ffd874; }
[data-tower-swatch="silver"], [data-colour="silver"] { --bulb:#faf3ff; }
#tower-status { margin-top:.65rem; }
#tower-board { position:relative; isolation:isolate; width:min(100%,19rem); aspect-ratio:508/850; margin:.7rem auto 0; background:radial-gradient(ellipse at 50% 70%,#561b2499,transparent 71%); }
#tower-photo { display:block; width:100%; height:100%; }
.tower-light { position:absolute; display:grid; place-items:center; width:clamp(10px,4vw,22px); aspect-ratio:1; padding:0; border:0; border-radius:50%; background:transparent; transform:translate(-50%,-50%); }
.tower-light::after { content:""; display:block; width:clamp(4px,1.65vw,7px); aspect-ratio:1; border-radius:50%; background:#262124; border:1px solid #ebc987; }
.tower-light[data-colour]:not([data-colour=""])::after { background:var(--bulb); border-color:transparent; box-shadow:0 0 9px 2px var(--bulb); }
.tower-light.is-mine { outline:1px solid #fff; }
#tower-board.is-full .tower-light::after { animation:tower-shimmer 2s ease-in-out infinite alternate; }
#tower-board.is-full .tower-light:nth-of-type(3n) { animation-delay:.55s; }
@keyframes tower-shimmer { from { opacity:.65; } to { opacity:1; scale:1.24; } }
#tower-celebration { text-align:center; padding-bottom:1rem; }
#tower-celebration h2 { margin-bottom:.65rem; color:var(--gold); }
#tower-download { display:inline-flex; margin-top:.5rem; }
@media (prefers-reduced-motion:reduce) { #tower-board.is-full .tower-light::after { animation:none; } }

.dancer-search { margin-block:.85rem 1rem; }
.dancer-search-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; }
.dancer-search-controls input { width:100%; }
#dancer-search-status:not(:empty) { margin-top:.5rem; }
#dancer-search-results h3 { margin:.85rem 0 .15rem; color:var(--gold); }

.reels-home-button { display:flex; width:100%; margin-block:1rem; min-height:64px; background:linear-gradient(110deg,#641e2c,#291317 68%); border-color:#a97844; }
.reels-home-button span { flex:1; }
.reels-upload { max-width:32rem; margin-block:.65rem; padding:.25rem .75rem; }
.reels-upload summary { color:var(--gold); font-weight:800; min-height:44px; padding-block:.45rem; }
.reels-upload form { margin:.25rem 0 .55rem; }
.reels-upload label small { display:block; font-weight:400; color:var(--muted); }
.reels-upload .reel-permission { display:flex; gap:.65rem; align-items:flex-start; }
.reel-permission input { width:1.2rem; min-height:1.2rem; margin-top:.15rem; accent-color:var(--gold); flex:none; }
#reel-upload-status:not(:empty) { margin-top:.65rem; }
#reels-feed { max-width:32rem; height:clamp(300px,66svh,640px); margin:.7rem 0 1rem; overflow-y:auto; overscroll-behavior-y:contain; scroll-snap-type:y mandatory; border:1px solid var(--border); border-radius:15px; background:#080609; }
.reel-card { position:relative; isolation:isolate; height:100%; scroll-snap-align:start; scroll-snap-stop:always; overflow:hidden; background:#080609; }
.reel-card video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.reel-overlay { position:absolute; z-index:2; inset:auto 0 0; padding:1.7rem .8rem .65rem; background:linear-gradient(transparent,#09060be8 30%); color:#fff; }
.reel-overlay h2 { margin:0 0 .2rem; font-size:1.15rem; }
.reel-overlay p { overflow-wrap:anywhere; }
.reel-featured { color:var(--gold); font-size:.75rem; font-weight:800; }
.reel-tap-area { position:absolute; z-index:1; inset:0; display:grid; place-items:center; width:100%; border:0; background:transparent; color:#fff; touch-action:pan-y; }
.reel-tap-area span { display:grid; place-items:center; width:3.6rem; height:3.6rem; border-radius:50%; background:#160e15bd; font-size:1.45rem; }
.reel-tap-area.is-playing span { visibility:hidden; }
.reel-tap-area:focus-visible { outline-offset:-4px; }
.reel-sound-hint { position:absolute; top:.65rem; right:.65rem; padding:.4rem .55rem; border-radius:.5rem; background:#160e15e8; color:#fff; font-size:.8rem; }
.reel-overlay { pointer-events:none; }
.reel-reactions button { pointer-events:auto; }
#reel-upload-progress { display:block; width:100%; margin-top:14px; accent-color:var(--gold); }
.reel-reactions { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.45rem; }
.reel-reactions button { min-height:44px; background:#271922e8; }
.reel-reactions button[aria-pressed="true"] { border-color:var(--gold); background:#692433; }
.reel-card > p:not(:empty) { position:absolute; top:3.8rem; left:.65rem; right:.65rem; padding:.35rem; background:#160d13ed; }
.reel-review-group { margin-top:1rem; }
.reel-review-group video { display:block; width:100%; max-width:22rem; max-height:55vh; margin:.6rem 0; background:#080609; }

.reel-card > img { display:block; width:100%; height:100%; object-fit:contain; }
.reel-audio-art { display:grid; place-items:center; height:100%; background:radial-gradient(ellipse,#5a2332,#160c14 70%); color:var(--gold); font-size:clamp(5rem,24vw,10rem); }
.reel-review-group img, .reel-review-group audio { display:block; width:100%; max-width:22rem; max-height:55vh; object-fit:contain; margin:.6rem 0; }

#reels-viewer { max-width:32rem; }
.reels-viewer-tools, .reels-screen-navigation { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
.reels-viewer-tools { padding-top:.45rem; }
.reels-viewer-tools button { min-height:44px; }
#reels-feed { position:relative; }
#reels-screen-count { color:var(--gold); min-width:3.2rem; text-align:center; font-variant-numeric:tabular-nums; }
html.reels-screen-open { overflow:hidden; }
#reels-viewer.is-expanded {
  position:fixed; inset:0; z-index:30; display:flex; flex-direction:column;
  max-width:none; width:100%; height:100dvh; overflow:hidden; background:#080609;
}
#reels-viewer.is-expanded .reels-viewer-tools {
  flex-shrink:0; justify-content:space-between;
  padding:max(.4rem,env(safe-area-inset-top)) max(.5rem,env(safe-area-inset-right)) .4rem max(.5rem,env(safe-area-inset-left));
  background:#181015;
}
#reels-viewer.is-expanded #reels-feed {
  flex:1; min-height:0; max-width:none; height:auto; margin:0; border:0; border-radius:0;
}
#reels-viewer.is-expanded .reel-overlay { padding-bottom:max(.65rem,env(safe-area-inset-bottom)); }

.good-luck-composer, #good-luck-feed, .good-luck-feed-heading { max-width:40rem; }
.good-luck-composer { margin-block:.75rem; padding:.2rem .75rem; }
.good-luck-composer summary { min-height:44px; align-content:center; color:var(--gold); font-weight:750; }
.good-luck-form { display:grid; gap:.55rem; margin-block:.25rem .55rem; }
.good-luck-form label { display:block; min-width:0; margin:0; }
.good-luck-form input, .good-luck-form textarea { display:block; width:100%; min-width:0; margin-top:.2rem; }
.good-luck-form textarea {
  min-height:6.25rem; padding:.55rem; border:1px solid #9c7957; border-radius:8px;
  background:#130e0e; color:var(--ink); font:inherit; resize:vertical;
}
.good-luck-form .primary { justify-self:start; min-height:44px; }
.good-luck-form-status:empty { display:none; }
.good-luck-feed-heading { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-top:1rem; }
.good-luck-card { margin-top:.75rem; }
.good-luck-card h3 { margin:0 0 .4rem; color:var(--gold); }
.good-luck-author { display:flex; gap:.3rem .75rem; flex-wrap:wrap; color:var(--muted); font-size:.86rem; }
.good-luck-author time { white-space:nowrap; }
.good-luck-message { margin:.6rem 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.good-luck-review .good-luck-card { border-top:1px solid var(--border); padding-top:.75rem; }
.good-luck-parent { color:var(--muted); font-size:.9rem; overflow-wrap:anywhere; }
.good-luck-form-status:not(:empty) { margin-top:.55rem; }
.good-luck-review { margin-top:.9rem; }

.judge-read-bio { margin-top:.4rem; min-height:44px; }
#judge-bio-dialog {
  width:min(92vw,35rem); max-height:85dvh; margin:auto; overflow:auto; padding:1rem;
  border:1px solid var(--gold); border-radius:14px; background:var(--panel); color:var(--ink);
}
#judge-bio-dialog::backdrop { background:#090606bb; }
#judge-bio-name { color:var(--gold); }
.judge-bio-close { display:flex; justify-content:flex-end; margin-bottom:.25rem; }
.judge-bio-close button { min-height:44px; min-width:44px; }

.trader-card { display:flex; align-items:flex-start; flex-wrap:wrap; gap:1rem; margin-top:1rem; }
.trader-card > img { display:block; object-fit:contain; max-width:100%; }
.trader-card > div { flex:1 1 15rem; min-width:0; }
.trader-card h2 { margin-bottom:.6rem; }
.trader-card p + p { margin-top:.55rem; }
.trader-card a { color:var(--gold); text-decoration:underline; text-underline-offset:.2em; overflow-wrap:anywhere; }

.ute-header-mark{width:48px;height:48px;flex:none;object-fit:contain;background:white;padding:4px;border-radius:3px;aspect-ratio:1}
.bar .brand{margin-right:auto}
.access-screen{max-width:460px;margin:8vh auto;padding:22px}.access-screen h1{font-size:38px;letter-spacing:-.025em}.access-screen p{margin:18px 0}.access-screen .ute-header-mark{width:88px;height:88px;margin-bottom:20px}
@media(max-width:540px){.bar{gap:6px}.ute-header-mark{width:36px;height:36px}.bar .brand{gap:5px;font-size:10px}.bar .brand img{width:48px;height:40px}.header-credit strong{font-size:.6rem}.header-credit{font-size:.55rem}.header-credit img{width:28px;height:28px}}

.privacy-content{max-width:850px;padding-top:30px}.privacy-content h1{margin-top:28px;font-size:clamp(36px,7vw,58px);letter-spacing:-.03em}.privacy-content h2{margin-top:30px}.privacy-content h3{font-size:18px;line-height:1.4}.privacy-content p,.privacy-content li{line-height:1.7}.privacy-content p+p{margin-top:12px}.privacy-content li{margin:10px 0;color:var(--muted)}.privacy-content a,.privacy-footer a,.privacy-footer-link a,.access-screen p a{text-decoration:underline;text-underline-offset:4px;color:var(--gold)}.privacy-content .choice{display:inline-flex}.privacy-date{margin-top:16px}.privacy-footer{padding-block:32px}.privacy-footer-link{text-align:center;padding-block:12px}.privacy-page{padding-bottom:30px}

.privacy-form-link{font-size:13px;margin-bottom:18px}.privacy-form-link a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.cookie-dialog{position:fixed;inset:0;width:min(580px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;background:#181010;color:var(--ink);border:1px solid var(--gold);border-radius:18px;padding:24px;box-shadow:0 16px 60px #000b}
.cookie-dialog::backdrop{background:#080404c9}.cookie-dialog h2{margin:0 0 14px;font-size:28px}.cookie-dialog p{font-size:16px;margin:12px 0;line-height:1.5}.cookie-dialog a{color:var(--gold);text-decoration:underline}.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.cookie-actions .choice{flex:1;min-width:140px;min-height:48px;font-weight:700;font-size:16px}.cookie-toggle{display:flex;align-items:flex-start;gap:12px;line-height:1.4;font-size:16px}.cookie-toggle input[type=checkbox]{display:inline-block;width:24px;min-height:24px;flex:none;margin:0;accent-color:var(--gold)}.cookie-settings-link{font:inherit;color:var(--gold);border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px;cursor:pointer}.cookie-settings-link:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:540px){.cookie-dialog{padding:20px}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-actions .choice{min-width:0}.cookie-actions #cookie-customise,.cookie-actions #cookie-save{grid-column:1/-1}}

.play-terms-dialog li{color:var(--muted);line-height:1.5;margin:12px 0}.play-terms-dialog ul{padding-left:22px}.play-terms-dialog .cookie-actions .choice:disabled{opacity:.5}

.approval-notice{margin:16px 0;padding:12px 15px;border:1px solid var(--border);border-left:3px solid var(--gold);border-radius:8px;background:#211313;color:var(--gold);font-size:16px;line-height:1.5}
