/* The coming-soon sport page (js/soon.js): the poster saying so, one line on what it will do,
   "Tell me when it's live" (the one gold thing on the page), and a preview drawn like the card's
   banners but dimmed, marked PREVIEW, NOT LIVE, and never tappable. G2 tokens from g2.css only. */

.soonpage { font-family: var(--font-poster); padding-bottom: 24px; }

/* The poster: the sport's name big; COMING SOON in the VS's place, white, so gold stays on the action */
.sn-poster h1 em { background: #fff; color: var(--bg); letter-spacing: .04em; font-size: 20px; }
.sn-poster h1 span { text-transform: uppercase; }

.sn-line { margin: 16px 16px 0; font: 600 16px/1.4 var(--font-ui); color: var(--text-2); }

/* Tell me when it's live */
.sn-alert { margin: 16px 16px 0; padding: 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; }
.sn-ask { margin: 0 0 12px; font: 400 14px/1.4 var(--font-ui); color: var(--muted); }
.sn-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 16px;
  border: 0; border-radius: 12px; background: var(--gold); color: var(--bg); cursor: pointer;
  font: italic 800 18px/1 var(--font-poster); letter-spacing: -.01em; }
.sn-go:active { transform: scale(.98); }
.sn-go[disabled] { opacity: .5; cursor: default; transform: none; }
.sn-go:focus-visible, .sn-form input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sn-form { display: flex; gap: 8px; }
.sn-form input { flex: 1; min-width: 0; min-height: 54px; padding: 10px 12px; font: 16px var(--font-ui); color: var(--text);
  background: #141418; border: 1.5px solid #34353c; border-radius: 10px; }
.sn-form input:focus { border-color: #fff; outline: none; }
.sn-form .sn-go { width: auto; flex: none; }
.sn-alt { margin: 10px 0 0; font: 400 13px/1.4 var(--font-ui); color: var(--muted-2); }
.sn-alt a { color: var(--text-2); text-underline-offset: 3px; }
.sn-done { display: grid; gap: 6px; }
.sn-done b { font: italic 800 20px/1.1 var(--font-poster); color: #fff; }
.sn-done span { font: 400 14px/1.4 var(--font-ui); color: var(--muted); overflow-wrap: anywhere; }

/* The preview */
.sn-preview { margin-top: 26px; }
.sn-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 0 16px 6px; font: italic 800 15px/1.2 var(--font-poster); letter-spacing: .02em; }
.sn-head em { flex: none; font: 700 10.5px/1 var(--font-ui); font-style: normal; letter-spacing: .12em; color: var(--text);
  padding: 5px 8px; border: 1px dashed var(--muted-2); border-radius: 6px; }
.sn-note { margin: 0 16px 10px; font: 700 11px/1.3 var(--font-condensed); letter-spacing: .12em; color: var(--muted-2); }
.sn-foot { margin: 10px 16px 0; font: 400 12px/1.4 var(--font-ui); color: var(--muted-2); }
.sn-skel { height: 88px; margin: 0 0 6px; background: linear-gradient(90deg, var(--surface) 0%, #1e1e24 50%, var(--surface) 100%);
  background-size: 200% 100%; animation: skel 1.2s ease infinite; }

/* A matchup row: the banner's two halves cut on the slant, dim tints; the first row shows a pick */
.sn-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; pointer-events: none; user-select: none; }
.sn-row { position: relative; display: flex; height: 88px; }
.sn-hf { flex: 1 1 50%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 14px 12px; font-style: italic; }
.sn-hf small { font: 600 11px/1.2 var(--font-ui); font-style: normal; letter-spacing: .04em; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-hf b { font-size: clamp(15px, 5.2vw, 21px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-hf.r { clip-path: polygon(0 0,100% 0,92% 100%,0 100%); align-items: flex-start; text-align: left; background: #2a0e0c; color: #ff8a83; }
.sn-hf.b { clip-path: polygon(8% 0,100% 0,100% 100%,0 100%); align-items: flex-end; text-align: right; margin-left: -4%; background: #0e1834; color: var(--blue-text); }
.sn-hf.r.on { background: var(--red); color: #fff; }
.sn-hf.b.on { background: var(--blue); color: #fff; }
.sn-pill { position: absolute; left: 50%; top: 0; transform: translateX(-50%); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 10px/1 var(--font-ui); letter-spacing: .06em; padding: 4px 8px; border-radius: 0 0 10px 10px;
  background: var(--bg); color: var(--text-2); border: 1px solid var(--line-2); border-top: 0; }
.sn-your { position: absolute; left: 14px; top: 8px; font: 800 9.5px/1 var(--font-ui); letter-spacing: .1em; color: #fff;
  padding: 3px 5px; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; }
.sn-draw { flex: none; align-self: center; z-index: 1; margin: 0 -2% 0 -4%; padding: 6px 7px; background: var(--bg); color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 8px; font: 700 10px/1 var(--font-ui); letter-spacing: .08em; font-style: normal; }

/* Pick the podium: P2, P1 (raised), P3 */
.sn-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 6px; margin: 0 16px; pointer-events: none; user-select: none; }
.sn-step { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; padding: 12px 6px;
  border-radius: 10px 10px 0 0; background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0; text-align: center; }
.sn-step em { font: italic 800 22px/1 var(--font-poster); color: var(--muted); }
.sn-step b { max-width: 100%; font: italic 800 clamp(12px, 4vw, 19px)/1.05 var(--font-poster); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-step small { max-width: 100%; font: 600 10.5px/1.2 var(--font-ui); letter-spacing: .04em; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-step.p1 { height: 150px; background: linear-gradient(160deg, var(--red-hi), var(--red-deep)); border-color: transparent; }
.sn-step.p1 em, .sn-step.p1 small { color: #fff; }
.sn-step.p2 { height: 118px; }
.sn-step.p3 { height: 98px; }

@media (prefers-reduced-motion: reduce) { .sn-skel { animation: none; } .sn-go:active { transform: none; } }

/* Desktop: the poster runs the full width; everything else in the centred 720px column */
@media (min-width: 900px) {
  .soonpage > :not(.poster) { max-width: 720px; margin-left: auto; margin-right: auto; }
  .soonpage > .sn-line, .soonpage > .sn-alert { margin-top: 20px; }
  .soonpage > .sn-alert { width: calc(100% - 32px); }
  .soonpage > .sn-line { width: calc(100% - 32px); }
  .sn-poster h1 em { font-size: 24px; }
  .sn-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sn-hf b { font-size: 19px; }
}

/* Push for this one next: white, not gold (gold is "tell me"); one vote in total, so the state says where it is */
.sn-vote { margin: 12px 16px 0; padding: 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; }
.sn-vhead { margin: 0 0 6px; font: 800 12px/1 var(--font-condensed); letter-spacing: .14em; color: var(--muted); }
.sn-count { margin: 0 0 12px; font: 400 15px/1.35 var(--font-ui); color: var(--text-2); }
.sn-count b { font: italic 800 24px/1 var(--font-poster); color: #fff; margin-right: 2px; }
.sn-vact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sn-vbtn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 16px;
  border: 0; border-radius: 12px; background: #fff; color: var(--bg); cursor: pointer;
  font: italic 800 18px/1 var(--font-poster); letter-spacing: -.01em; }
.sn-vbtn:active { transform: scale(.98); }
.sn-vbtn[disabled], .sn-vback[disabled] { opacity: .5; cursor: default; transform: none; }
.sn-vbtn:focus-visible, .sn-vback:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sn-voted { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid #fff; border-radius: 12px;
  font: italic 800 17px/1 var(--font-poster); color: #fff; }
.sn-vback { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--text-2); cursor: pointer;
  font: 600 14px/1 var(--font-ui); text-decoration: underline; text-underline-offset: 3px; }
.sn-vhint { margin: 10px 0 0; font: 400 13px/1.4 var(--font-ui); color: var(--muted-2); }
@media (prefers-reduced-motion: reduce) { .sn-vbtn:active { transform: none; } }
@media (min-width: 900px) { .soonpage > .sn-vote { width: calc(100% - 32px); margin-top: 12px; } }
