.pitch-page {
  --pitch-bg: #090d1a;
  --pitch-panel: #11182b;
  --pitch-panel-2: #171f38;
  --pitch-panel-3: #202a47;
  --pitch-ink: #f8f9ff;
  --pitch-muted: #aeb8cf;
  --pitch-line: rgba(255, 255, 255, .12);
  --pitch-pink: #ff4d7d;
  --pitch-pink-soft: #ff789c;
  --pitch-gold: #ffd166;
  --pitch-mint: #65efd6;
  --pitch-blue: #7d8cff;
  --pitch-shadow: 0 24px 64px rgba(0, 0, 0, .32);
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(800px 540px at -8% -8%, rgba(255, 77, 125, .18), transparent 63%),
    radial-gradient(700px 500px at 108% 10%, rgba(101, 239, 214, .12), transparent 62%),
    linear-gradient(180deg, #0c1020 0%, var(--pitch-bg) 66%, #080b16 100%);
  color: var(--pitch-ink);
  font-family: "Nunito", system-ui, sans-serif;
}

.pitch-page *, .pitch-page *::before, .pitch-page *::after { box-sizing: border-box; }
.pitch-page button, .pitch-page input, .pitch-page textarea { font: inherit; }
.pitch-page button { -webkit-tap-highlight-color: transparent; }
.pitch-page h1, .pitch-page h2, .pitch-page h3, .pitch-page p { margin-top: 0; }
.pitch-page h1, .pitch-page h2, .pitch-page h3, .pitch-page button { font-family: "Baloo 2", "Nunito", sans-serif; }
.pitch-page :focus-visible { outline: 3px solid var(--pitch-gold); outline-offset: 3px; }
.pitch-page [tabindex="-1"]:focus { outline: none !important; }

.pitch-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: calc(62px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(9, 13, 26, .84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.pitch-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  color: var(--pitch-ink);
  font: 800 .92rem/1 "Baloo 2", sans-serif;
  text-decoration: none;
}

.pitch-brand img { width: 29px; height: 29px; border-radius: 8px; }
.pitch-brand span { display: none; }

.pitch-game-mark { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.pitch-game-mark strong { font: 800 1.04rem/1 "Baloo 2", sans-serif; letter-spacing: -.02em; }
.pitch-game-mark span {
  padding: 3px 6px 2px;
  border-radius: 5px;
  background: var(--pitch-gold);
  color: #2b1c00;
  font-size: .56rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
}

.pitch-top-actions { display: flex; align-items: center; justify-self: end; gap: 6px; }

.pitch-help {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  min-width: 36px;
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid var(--pitch-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--pitch-ink);
  font-size: .76rem;
  font-weight: 800;
}

.pitch-help span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pitch-panel-3); }
.pitch-help b { display: none; }
.pitch-sound span { font-size: .78rem; }

.pitch-shell { width: min(1120px, 100%); min-height: calc(100svh - 63px); margin: 0 auto; padding: 22px 16px max(38px, env(safe-area-inset-bottom)); }
.pitch-screen { animation: pitch-screen-in .28s ease both; }
@keyframes pitch-screen-in { from { opacity: 0; transform: translateY(9px); } }

.pitch-eyebrow {
  margin-bottom: 7px;
  color: var(--pitch-mint);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.2;
}

.pitch-primary, .pitch-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.pitch-primary {
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, #ff5b87, var(--pitch-pink));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 77, 125, .22), inset 0 1px rgba(255, 255, 255, .22);
}

.pitch-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 77, 125, .3), inset 0 1px rgba(255, 255, 255, .22); }
.pitch-primary:disabled { opacity: .42; box-shadow: none; cursor: not-allowed; }
.pitch-secondary { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: var(--pitch-ink); }
.pitch-secondary:hover:not(:disabled) { border-color: rgba(255, 209, 102, .6); background: rgba(255, 255, 255, .11); }

/* Welcome */
.pitch-welcome { display: grid; gap: 25px; align-items: center; min-height: calc(100svh - 125px); }
.pitch-hero { position: relative; padding: 12px 2px 0; }
.pitch-beta-flag { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--pitch-gold); font-size: .66rem; font-weight: 900; letter-spacing: .15em; }
.pitch-beta-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--pitch-gold); box-shadow: 0 0 0 5px rgba(255, 209, 102, .11); }
.pitch-hero h1 { margin-bottom: 14px; font-size: clamp(2.55rem, 13vw, 4.75rem); font-weight: 800; letter-spacing: -.052em; line-height: .87; }
.pitch-hero h1 em { color: var(--pitch-gold); font-style: normal; }
.pitch-hero > p { max-width: 600px; margin-bottom: 20px; color: #c1c9db; font-size: clamp(.98rem, 3.6vw, 1.13rem); line-height: 1.52; }
.pitch-rule-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.pitch-rule-strip span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 7px; border: 1px solid var(--pitch-line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #d6dbea; font-size: .7rem; font-weight: 800; }
.pitch-rule-strip b { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--pitch-panel-3); color: var(--pitch-mint); font-size: .65rem; }

.pitch-entry-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 23px;
  background: linear-gradient(155deg, rgba(28, 38, 65, .96), rgba(14, 20, 37, .96));
  box-shadow: var(--pitch-shadow), inset 0 1px rgba(255, 255, 255, .08);
}

.pitch-entry-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 7px; padding: 4px; border-radius: 14px; background: rgba(3, 6, 14, .38); }
.pitch-entry-tabs button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: #8f9ab3; font-weight: 800; }
.pitch-entry-tabs button.active { background: var(--pitch-panel-3); color: #fff; box-shadow: 0 5px 14px rgba(0, 0, 0, .2); }
.pitch-entry-panel { display: grid; gap: 16px; padding: 19px; }
.pitch-field { display: grid; gap: 7px; }
.pitch-field > span, .pitch-mode-picker legend { color: #e9ecf5; font-size: .79rem; font-weight: 900; }
.pitch-field input, .pitch-pitch-box textarea {
  width: 100%;
  min-height: 51px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(5, 8, 17, .42);
  color: #fff;
  font-weight: 800;
}

.pitch-field input { padding: 12px 14px; }
.pitch-field input:focus, .pitch-pitch-box textarea:focus { border-color: var(--pitch-mint); box-shadow: 0 0 0 3px rgba(101, 239, 214, .11); }
.pitch-mode-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; padding: 0; border: 0; }
.pitch-mode-picker legend { grid-column: 1 / -1; margin-bottom: 7px; }
.pitch-mode-card { position: relative; cursor: pointer; }
.pitch-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.pitch-mode-card > span { display: grid; align-content: center; min-height: 105px; padding: 11px; border: 1px solid var(--pitch-line); border-radius: 14px; background: rgba(255, 255, 255, .045); text-align: center; transition: .18s ease; }
.pitch-mode-card i { margin-bottom: 3px; font-size: 1.3rem; font-style: normal; }
.pitch-mode-card b { font: 800 .96rem/1.1 "Baloo 2", sans-serif; }
.pitch-mode-card small { margin-top: 4px; color: var(--pitch-muted); font-size: .65rem; line-height: 1.25; }
.pitch-mode-card input:checked + span { border-color: var(--pitch-gold); background: rgba(255, 209, 102, .09); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .2); }
.pitch-mode-card input:focus-visible + span { outline: 3px solid var(--pitch-gold); outline-offset: 3px; }
.pitch-entry-panel > .pitch-primary { width: 100%; }
.pitch-fine-print { margin: -7px 0 0; color: #8f9ab2; font-size: .67rem; text-align: center; }
.pitch-privacy-copy { margin: -9px 0 0; color: #77839d; font-size: .59rem; line-height: 1.35; text-align: center; }
.pitch-privacy-copy a { color: #aeb8cf; text-underline-offset: 2px; }
.pitch-privacy-copy a:hover { color: var(--pitch-mint); }
.pitch-form-status { min-height: 1.2em; margin: -5px 0 0; color: var(--pitch-muted); font-size: .76rem; line-height: 1.35; text-align: center; }
.pitch-form-status.error { color: #ff9ab4; }

/* Shared room and lobby */
.pitch-screen-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pitch-screen-heading h1 { margin-bottom: 3px; font-size: clamp(2rem, 9vw, 3.15rem); line-height: .95; letter-spacing: -.035em; }
.pitch-screen-heading > div:first-child > p:last-child { margin: 0; color: var(--pitch-muted); font-size: .82rem; }
.pitch-room-badge { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(255, 209, 102, .38); border-radius: 12px; background: rgba(255, 209, 102, .08); text-align: center; }
.pitch-room-badge span { display: block; color: var(--pitch-gold); font-size: .52rem; font-weight: 900; letter-spacing: .16em; }
.pitch-room-badge strong { display: block; margin-top: 1px; font: 800 1.28rem/1 "Baloo 2", sans-serif; letter-spacing: .12em; }
.pitch-lobby-grid { display: grid; gap: 14px; }
.pitch-panel { border: 1px solid var(--pitch-line); border-radius: 20px; background: linear-gradient(150deg, rgba(24, 33, 57, .94), rgba(13, 18, 33, .94)); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.pitch-share-card { display: grid; grid-template-columns: 75px 1fr; align-items: center; gap: 13px; padding: 16px; }
.pitch-qr-wrap { display: grid; place-items: center; overflow: hidden; width: 75px; height: 75px; border: 5px solid #fff; border-radius: 12px; background: #fff; }
.pitch-qr-wrap img { width: 100%; height: 100%; object-fit: contain; }
.pitch-qr-wrap > div { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 6px; background: repeating-linear-gradient(45deg, #0a1020 0 7px, #fff 7px 14px); color: var(--pitch-pink); font: 900 2rem/1 "Baloo 2", sans-serif; text-shadow: 0 2px #fff; }
.pitch-share-card h2 { margin-bottom: 3px; font-size: 1.25rem; line-height: 1; }
.pitch-share-card p:not(.pitch-eyebrow) { margin: 0; color: var(--pitch-muted); font-size: .7rem; line-height: 1.35; }
.pitch-share-actions { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; }
.pitch-share-actions button { min-height: 45px; padding-inline: 10px; }
.pitch-players-card { padding: 18px; }
.pitch-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pitch-panel-heading h2 { margin: 0; font-size: 1.35rem; line-height: 1; }
.pitch-mode-pill { padding: 6px 9px; border: 1px solid rgba(101, 239, 214, .28); border-radius: 999px; background: rgba(101, 239, 214, .08); color: var(--pitch-mint); font-size: .62rem; font-weight: 900; white-space: nowrap; }
.pitch-lobby-players { display: flex; flex-wrap: wrap; gap: 8px; min-height: 98px; margin: 18px 0; align-content: flex-start; }
.pitch-player-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 10px 7px 7px; border: 1px solid var(--pitch-line); border-radius: 999px; background: rgba(255, 255, 255, .055); font-size: .75rem; font-weight: 800; }
.pitch-player-chip::before { content: attr(data-initial); display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; background: var(--chip-color, var(--pitch-pink)); color: #101525; font-size: .68rem; font-weight: 900; }
.pitch-player-chip.you { border-color: rgba(255, 209, 102, .48); }
.pitch-player-chip.disconnected { opacity: .45; filter: grayscale(.5); }
.pitch-player-chip small { color: var(--pitch-gold); font-size: .54rem; letter-spacing: .06em; }
.pitch-lobby-footer { display: grid; gap: 11px; padding-top: 15px; border-top: 1px solid var(--pitch-line); }
.pitch-lobby-footer > p { margin: 0; color: var(--pitch-muted); font-size: .76rem; text-align: center; }
.pitch-lobby-footer .pitch-primary { width: 100%; }

/* Shared game chrome */
.pitch-game { max-width: 960px; margin: 0 auto; }
.pitch-roundbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; margin: -5px 0 12px; }
.pitch-round-count, .pitch-your-score { display: grid; gap: 1px; }
.pitch-round-count > span, .pitch-your-score > span, .pitch-judge-chip > span { color: #77839f; font-size: .49rem; font-weight: 900; letter-spacing: .13em; }
.pitch-round-count strong, .pitch-your-score strong { font: 800 1rem/1 "Baloo 2", sans-serif; }
.pitch-round-count i { margin: 0 2px; color: #647089; font-size: .75rem; font-style: normal; }
.pitch-your-score { justify-items: end; }
.pitch-judge-chip { justify-self: center; min-width: 115px; padding: 6px 12px; border: 1px solid rgba(255, 209, 102, .3); border-radius: 999px; background: rgba(255, 209, 102, .08); text-align: center; }
.pitch-judge-chip span { display: block; color: var(--pitch-gold); }
.pitch-judge-chip strong { display: block; overflow: hidden; max-width: 125px; font: 800 .78rem/1.05 "Baloo 2", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.pitch-phase-track { overflow: hidden; height: 3px; margin-bottom: 23px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.pitch-phase-track span { display: block; width: 15%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pitch-pink), var(--pitch-gold)); transition: width .35s ease; }
.pitch-phase { animation: pitch-phase-in .3s ease both; }
@keyframes pitch-phase-in { from { opacity: 0; transform: translateY(8px); } }
.pitch-phase-center { max-width: 700px; margin: 0 auto; text-align: center; }
#pitchPromptChooser { max-width: 980px; }
.pitch-phase-center h1, .pitch-question-banner h1 { margin-bottom: 8px; font-size: clamp(2rem, 9vw, 3.45rem); line-height: .98; letter-spacing: -.035em; }
.pitch-phase-center > p:not(.pitch-eyebrow), .pitch-question-banner > p:not(.pitch-eyebrow):not(.pitch-fallback-note) { color: var(--pitch-muted); font-size: .84rem; line-height: 1.45; }

.pitch-prompt-options { display: grid; gap: 13px; max-width: 760px; margin: 26px auto 0; text-align: left; }
.pitch-prompt-option { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 108px; padding: 17px 18px; border: 1px solid var(--pitch-line); border-radius: 18px; background: linear-gradient(135deg, rgba(31, 41, 70, .94), rgba(18, 24, 43, .94)); color: #fff; text-align: left; box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.pitch-prompt-option:hover:not(:disabled) { border-color: rgba(101, 239, 214, .6); transform: translateY(-2px); }
.pitch-prompt-option > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(101, 239, 214, .1); color: var(--pitch-mint); font-size: .78rem; font-weight: 900; }
.pitch-prompt-option b { display: block; font-size: 1.04rem; line-height: 1.28; text-wrap: pretty; }
.pitch-prompt-option small { display: block; margin-top: 7px; color: #96a1b8; font: 800 .58rem/1.25 "Nunito", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.pitch-prompt-option > i { color: var(--pitch-gold); font-size: 1.2rem; font-style: normal; }
.pitch-fallback-note { width: fit-content; margin: 12px auto 0 !important; padding: 7px 10px; border: 1px solid rgba(255, 209, 102, .25); border-radius: 10px; background: rgba(255, 209, 102, .07); color: var(--pitch-gold) !important; font-size: .68rem !important; font-weight: 800; }

.pitch-wait-card { max-width: 560px; margin: 9vh auto 0; padding: 28px 20px; border: 1px solid var(--pitch-line); border-radius: 24px; background: linear-gradient(155deg, rgba(26, 36, 61, .9), rgba(14, 19, 35, .88)); box-shadow: var(--pitch-shadow); text-align: center; }
.pitch-wait-card h1 { margin-bottom: 8px; font-size: clamp(2rem, 9vw, 3rem); line-height: 1; }
.pitch-wait-card h2 { margin-bottom: 7px; font-size: 1.55rem; line-height: 1; }
.pitch-wait-card > p:not(.pitch-eyebrow) { color: var(--pitch-muted); font-size: .82rem; line-height: 1.45; }
.pitch-look-up { display: flex; align-items: center; justify-content: center; gap: 9px; color: #cbd2e2; font-size: .71rem; font-weight: 800; }
.pitch-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pitch-mint); box-shadow: 0 0 0 0 rgba(101, 239, 214, .4); animation: pitch-pulse 1.8s infinite; }
@keyframes pitch-pulse { 65% { box-shadow: 0 0 0 9px rgba(101, 239, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(101, 239, 214, 0); } }
.pitch-orbit { position: relative; width: 106px; height: 106px; margin: 0 auto 18px; border: 1px dashed rgba(255, 255, 255, .17); border-radius: 50%; animation: pitch-spin 12s linear infinite; }
.pitch-orbit span { position: absolute; inset: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--pitch-panel-3); color: var(--pitch-gold); font: 800 2.2rem/1 "Baloo 2", sans-serif; animation: pitch-spin-reverse 12s linear infinite; }
.pitch-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--pitch-pink); }
.pitch-orbit i:nth-child(1) { top: -4px; left: 49px; }
.pitch-orbit i:nth-child(2) { right: 7px; bottom: 13px; background: var(--pitch-mint); }
.pitch-orbit i:nth-child(3) { left: 5px; bottom: 19px; background: var(--pitch-gold); }
@keyframes pitch-spin { to { transform: rotate(360deg); } }
@keyframes pitch-spin-reverse { to { transform: rotate(-360deg); } }

/* Private hand */
.pitch-question-banner { max-width: 820px; margin: 0 auto 22px; text-align: center; }
.pitch-question-banner h1 { max-width: 800px; margin-inline: auto; font-size: clamp(1.75rem, 4.5vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.pitch-submission-layout { max-width: 760px; margin: 0 auto; }
.pitch-hand-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.pitch-hand-heading h2 { margin: 0; font-size: 1.3rem; line-height: 1; }
.pitch-hand-heading > span { color: #8590a8; font-size: .65rem; font-weight: 800; }
.pitch-product-hand { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pitch-product-card { position: relative; display: grid; grid-template-rows: 124px minmax(74px, auto); overflow: hidden; isolation: isolate; min-width: 0; padding: 0; border: 1px solid var(--pitch-line); border-radius: 17px; background: linear-gradient(155deg, var(--pitch-panel-2), var(--pitch-panel)); color: #fff; text-align: left; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease; }
.pitch-product-card:hover:not(:disabled) { border-color: rgba(101, 239, 214, .55); transform: translateY(-2px); }
.pitch-product-card.selected { z-index: 1; border-color: var(--pitch-gold); background: linear-gradient(155deg, rgba(58, 48, 53, .98), var(--pitch-panel)); box-shadow: 0 0 0 2px rgba(255, 209, 102, .18), 0 15px 34px rgba(0, 0, 0, .27); transform: translateY(-2px); }
.pitch-product-card.selected::after { content: "✓"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--pitch-gold); color: #352200; font-size: .75rem; font-weight: 900; box-shadow: 0 4px 12px rgba(0, 0, 0, .28); }
.pitch-product-card .pitch-product-image { --pitch-art-pad:12px; position: relative; display: grid; place-items: center; overflow: hidden; contain: paint; min-width: 0; min-height: 0; padding: 0; background: radial-gradient(circle at 50% 48%, #f8f5ed 0 34%, #dadce4 70%, #bfc4d1 100%); }
.pitch-product-card img { position: absolute; inset: var(--pitch-art-pad); display: block; width: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); height: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(22, 25, 35, .25)); }
.pitch-product-card .pitch-product-copy { display: grid; align-content: start; min-width: 0; min-height: 74px; padding: 11px 12px 12px; }
.pitch-product-card small { overflow: hidden; color: #98a3ba; font: 800 .54rem/1.2 "Nunito", sans-serif; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pitch-product-card b { display: -webkit-box; overflow: hidden; margin-top: 4px; font-size: .82rem; line-height: 1.2; text-wrap: pretty; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pitch-product-hand:has(.pitch-product-card.selected) .pitch-product-card:not(.selected) { opacity: .7; }
.pitch-product-placeholder { color: #566078; font: 900 1.8rem/1 "Baloo 2", sans-serif; }
.pitch-pitch-box { display: grid; gap: 10px; margin-top: 18px; padding: 15px; border: 1px solid var(--pitch-line); border-radius: 18px; background: rgba(19, 27, 48, .94); box-shadow: 0 14px 34px rgba(0, 0, 0, .18); transition: border-color .18s ease, box-shadow .18s ease; }
.pitch-submission-layout:has(.pitch-product-card.selected) .pitch-pitch-box { border-color: rgba(255, 209, 102, .38); box-shadow: 0 16px 38px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 209, 102, .08); }
.pitch-pitch-box label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pitch-pitch-box label > span { display: grid; }
.pitch-pitch-box label b { font-size: .75rem; }
.pitch-pitch-box label small { color: #8d98af; font-size: .59rem; }
.pitch-pitch-box output { flex: 0 0 auto; padding: 4px 7px; border-radius: 7px; background: rgba(255, 255, 255, .06); color: var(--pitch-mint); font-size: .63rem; font-weight: 900; }
.pitch-pitch-box output.limit { background: rgba(255, 77, 125, .12); color: #ff9ab4; }
.pitch-pitch-box textarea { min-height: 70px; padding: 11px 12px; resize: vertical; line-height: 1.42; }
.pitch-pitch-box .pitch-primary { width: 100%; }
.pitch-judge-wait { margin-top: 5vh; }
.pitch-wait-number { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto 19px; border: 1px solid rgba(101, 239, 214, .24); border-radius: 50%; background: radial-gradient(circle, rgba(101, 239, 214, .13), rgba(101, 239, 214, .02) 70%); }
.pitch-wait-number strong { color: var(--pitch-mint); font: 800 3.1rem/.8 "Baloo 2", sans-serif; }
.pitch-wait-number span { color: #9ca7be; font-size: .65rem; }
.pitch-lock-mark { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 17px; border-radius: 50%; background: rgba(101, 239, 214, .13); color: var(--pitch-mint); font: 900 2rem/1 "Baloo 2", sans-serif; box-shadow: 0 0 0 9px rgba(101, 239, 214, .05); }
.pitch-submitted-card { margin-top: clamp(14px, 4vh, 38px); }
.pitch-submitted-summary { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 12px; width: min(430px, 100%); margin: 17px auto 14px; padding: 10px; border: 1px solid var(--pitch-line); border-radius: 15px; background: rgba(8, 11, 21, .48); text-align: left; }
.pitch-submitted-summary .pitch-product-image { --pitch-art-pad:7px; position: relative; display: grid; place-items: center; overflow: hidden; contain: paint; width: 72px; height: 72px; border-radius: 11px; background: radial-gradient(circle, #f8f5ed 0 38%, #d0d4df 100%); }
.pitch-submitted-summary img { position: absolute; inset: var(--pitch-art-pad); display: block; width: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); height: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(22, 25, 35, .22)); }
.pitch-submitted-copy { min-width: 0; }
.pitch-submitted-copy small { display: block; overflow: hidden; color: #98a3ba; font-size: .54rem; font-weight: 900; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pitch-submitted-copy b { display: block; margin-top: 3px; font: 800 .9rem/1.18 "Baloo 2", sans-serif; text-wrap: pretty; }
.pitch-submitted-copy p { margin: 7px 0 0; color: var(--pitch-gold); font-size: .72rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.pitch-submitted-copy p.empty { color: #7f8aa2; font-style: italic; font-weight: 700; }
.pitch-submitted-card .pitch-secondary { width: min(430px, 100%); min-height: 44px; margin-bottom: 20px; }
.pitch-owner-controls { display: grid; gap: 8px; max-width: 560px; margin: 14px auto 0; padding: 11px; border: 1px dashed rgba(255, 209, 102, .28); border-radius: 14px; background: rgba(255, 209, 102, .045); text-align: center; }
.pitch-owner-controls p { margin: 0; color: #9ea9bf; font-size: .66rem; line-height: 1.35; }
.pitch-owner-controls .pitch-secondary { width: 100%; min-height: 42px; border-color: rgba(255, 209, 102, .34); color: var(--pitch-gold); font-size: .75rem; }

/* Anonymous judging */
.pitch-judging-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; width: 100%; max-width: 1080px; margin: 0 auto; }
.pitch-judging-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; flex: 1 1 calc(50% - 6px); overflow: hidden; isolation: isolate; min-width: 0; max-width: calc(50% - 6px); border: 1px solid var(--pitch-line); border-radius: 17px; background: linear-gradient(150deg, var(--pitch-panel-2), var(--pitch-panel)); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); animation: pitch-card-in .32s ease both; }
.pitch-judging-card:only-child { flex-basis: min(100%, 320px); max-width: min(100%, 320px); }
@keyframes pitch-card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pitch-judging-card .pitch-product-image { --pitch-art-pad:13px; position: relative; display: grid; place-items: center; overflow: hidden; contain: paint; min-width: 0; min-height: 0; height: 132px; padding: 0; background: radial-gradient(circle at 50% 48%, #f7f4ed 0 34%, #d7dae2 70%, #c0c5d1 100%); }
.pitch-judging-card img { position: absolute; inset: var(--pitch-art-pad); display: block; width: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); height: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(22, 25, 35, .24)); }
.pitch-judging-copy { display: grid; grid-template-rows: auto auto 1fr; align-content: start; min-width: 0; min-height: 132px; padding: 12px; }
.pitch-judging-copy small { overflow: hidden; color: #98a3ba; font-size: .54rem; font-weight: 900; line-height: 1.2; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pitch-judging-copy h2 { display: -webkit-box; overflow: hidden; min-height: 2.3em; margin: 4px 0 10px; font-size: .84rem; line-height: 1.16; text-wrap: pretty; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pitch-quote { align-self: end; margin: 0; color: var(--pitch-gold); font-size: .74rem; font-weight: 800; line-height: 1.38; overflow-wrap: anywhere; text-wrap: pretty; }
.pitch-quote.empty { color: #79859e; font-style: italic; font-weight: 700; }
.pitch-judging-card .pitch-primary { min-height: 43px; margin: 0 10px 10px; padding-inline: 7px; font-size: .76rem; }
.pitch-bottom-wait { margin: 22px auto 2px; }

/* Round reveal and scores */
.pitch-result-card { position: relative; overflow: hidden; max-width: 680px; margin: 0 auto 18px; padding: 25px 18px 20px; border: 1px solid rgba(255, 209, 102, .32); border-radius: 24px; background: radial-gradient(500px 230px at 50% -20%, rgba(255, 209, 102, .17), transparent 70%), linear-gradient(155deg, rgba(31, 38, 59, .96), rgba(15, 20, 35, .96)); box-shadow: var(--pitch-shadow); text-align: center; }
.pitch-result-card h1 { margin-bottom: 17px; font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: .96; }
.pitch-result-card h1 span { color: var(--pitch-gold); }
.pitch-winning-product { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; max-width: 420px; margin: 0 auto; padding: 10px; border: 1px solid var(--pitch-line); border-radius: 17px; background: rgba(8, 11, 21, .52); text-align: left; }
.pitch-winning-product .pitch-product-image { --pitch-art-pad:8px; position: relative; display: grid; place-items: center; overflow: hidden; contain: paint; width: 92px; height: 92px; padding: 0; border-radius: 12px; background: radial-gradient(circle, #f8f5ed 0 38%, #d0d4df 100%); }
.pitch-winning-product img { position: absolute; inset: var(--pitch-art-pad); display: block; width: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); height: calc(100% - var(--pitch-art-pad) - var(--pitch-art-pad)); max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(22, 25, 35, .25)); }
.pitch-winning-product small { color: #8792aa; font-size: .57rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pitch-winning-product b { display: block; margin-top: 3px; font: 800 .98rem/1.12 "Baloo 2", sans-serif; }
.pitch-winning-words { max-width: 520px; margin: 15px auto 0; color: var(--pitch-gold); font: 800 1rem/1.35 "Baloo 2", sans-serif; overflow-wrap: anywhere; }
.pitch-winning-words:empty { display: none; }
.pitch-winning-words::before { content: "“"; }
.pitch-winning-words::after { content: "”"; }
.pitch-confetti i { position: absolute; top: -10px; width: 6px; height: 13px; border-radius: 2px; background: var(--pitch-pink); animation: pitch-confetti 1.4s ease-out both; }
.pitch-confetti i:nth-child(1) { left: 10%; transform: rotate(18deg); }
.pitch-confetti i:nth-child(2) { left: 26%; background: var(--pitch-mint); animation-delay: .1s; }
.pitch-confetti i:nth-child(3) { left: 43%; background: var(--pitch-gold); animation-delay: .2s; }
.pitch-confetti i:nth-child(4) { left: 60%; background: var(--pitch-blue); animation-delay: .08s; }
.pitch-confetti i:nth-child(5) { left: 78%; background: var(--pitch-gold); animation-delay: .16s; }
.pitch-confetti i:nth-child(6) { left: 91%; background: var(--pitch-mint); animation-delay: .25s; }
@keyframes pitch-confetti { to { top: 105%; transform: translateX(18px) rotate(300deg); opacity: 0; } }
.pitch-scoreboard { max-width: 680px; margin: 0 auto; padding: 17px; border: 1px solid var(--pitch-line); border-radius: 19px; background: rgba(17, 24, 43, .82); }
.pitch-score-rows { display: grid; gap: 7px; margin-top: 14px; }
.pitch-score-row { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 9px; min-height: 39px; padding: 6px 8px; border-radius: 11px; background: rgba(255, 255, 255, .04); }
.pitch-score-row.winner { border: 1px solid rgba(255, 209, 102, .28); background: rgba(255, 209, 102, .075); }
.pitch-score-row.you { box-shadow: inset 3px 0 var(--pitch-mint); }
.pitch-score-row .rank { color: #7f8aa2; font-size: .68rem; font-weight: 900; text-align: center; }
.pitch-score-row b { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.pitch-score-row strong { color: var(--pitch-gold); font: 800 .87rem/1 "Baloo 2", sans-serif; }
.pitch-advance { display: flex; width: min(680px, 100%); margin: 14px auto 0; }
.pitch-round-result > .pitch-look-up, #pitchRoundResult > .pitch-look-up { margin-top: 18px; }

/* Shelf-Off */
.pitch-shelfoff-heading { max-width: 650px; margin: 0 auto 22px; text-align: center; }
.pitch-shelfoff-heading h1 { margin-bottom: 8px; font-size: clamp(2.05rem, 9vw, 3.3rem); line-height: .96; }
.pitch-shelfoff-heading > p:last-child { color: var(--pitch-muted); font-size: .82rem; }
.pitch-shelfoff-burst { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 15px; background: var(--pitch-gold); color: #352200; font: 900 1.25rem/1 "Baloo 2", sans-serif; clip-path: polygon(50% 0, 61% 16%, 79% 7%, 82% 28%, 100% 32%, 87% 50%, 100% 68%, 80% 72%, 78% 94%, 60% 84%, 50% 100%, 39% 84%, 21% 94%, 19% 73%, 0 68%, 13% 50%, 0 32%, 19% 28%, 21% 7%, 39% 16%); }
.pitch-shelfoff-candidates { display: grid; gap: 11px; max-width: 740px; margin: 0 auto; }
.pitch-shelfoff-card { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 11px; min-height: 82px; padding: 9px; border: 1px solid var(--pitch-line); border-radius: 16px; background: linear-gradient(145deg, var(--pitch-panel-2), var(--pitch-panel)); }
.pitch-shelfoff-card .pitch-product-image, .pitch-shelfoff-avatar { display: grid; place-items: center; overflow: hidden; width: 64px; height: 64px; border-radius: 12px; background: radial-gradient(circle, #f6f2e9, #cdd2de); }
.pitch-shelfoff-card img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pitch-shelfoff-avatar { background: var(--candidate-color, var(--pitch-pink)); color: #101525; font: 900 1.4rem/1 "Baloo 2", sans-serif; }
.pitch-shelfoff-card h2 { margin: 0; font-size: 1rem; line-height: 1; }
.pitch-shelfoff-card p { margin: 4px 0 0; color: var(--pitch-gold); font-size: .66rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.pitch-shelfoff-card .pitch-primary { min-height: 41px; padding: 8px 13px; font-size: .73rem; }
.pitch-shelfoff-card.me { opacity: .65; }
.pitch-shelfoff-card.voted { border-color: var(--pitch-mint); box-shadow: inset 0 0 0 1px rgba(101, 239, 214, .2); }

/* Final */
.pitch-final { position: relative; max-width: 700px; margin: 0 auto; padding-top: 4vh; text-align: center; }
.pitch-final-glow { position: absolute; z-index: -1; top: -70px; left: 50%; width: 430px; height: 280px; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 209, 102, .2), transparent 67%); pointer-events: none; }
.pitch-trophy { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 17px; border: 1px solid rgba(255, 209, 102, .44); border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 102, .22), rgba(255, 209, 102, .04)); color: var(--pitch-gold); font-size: 2.8rem; box-shadow: 0 0 0 13px rgba(255, 209, 102, .035), 0 18px 50px rgba(0, 0, 0, .25); }
.pitch-final h1 { margin-bottom: 8px; font-size: clamp(2.25rem, 10vw, 3.8rem); line-height: .92; }
.pitch-final h1 span { color: var(--pitch-gold); }
.pitch-final > p:not(.pitch-eyebrow) { color: var(--pitch-muted); font-size: .86rem; }
.pitch-final-board { display: grid; gap: 8px; margin: 22px auto 18px; padding: 13px; border: 1px solid var(--pitch-line); border-radius: 19px; background: rgba(17, 24, 43, .86); text-align: left; }
.pitch-final-board .pitch-score-row:first-child { min-height: 51px; border: 1px solid rgba(255, 209, 102, .35); background: rgba(255, 209, 102, .09); }
.pitch-final-awards { margin: 30px 0 20px; text-align: center; }
.pitch-final-awards h2 { margin: 3px 0 13px; font-size: clamp(1.45rem, 6vw, 2rem); line-height: 1; }
.pitch-awards-grid { display: grid; gap: 9px; text-align: left; }
.pitch-award-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 88px; padding: 12px; border: 1px solid var(--pitch-line); border-radius: 16px; background: linear-gradient(145deg, rgba(29, 39, 66, .96), rgba(18, 25, 44, .96)); }
.pitch-award-card.you { box-shadow: inset 3px 0 var(--pitch-mint); }
.pitch-award-card.champion { border-color: rgba(255, 209, 102, .4); background: linear-gradient(145deg, rgba(255, 209, 102, .13), rgba(29, 34, 55, .98)); }
.pitch-award-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .07); font-size: 1.45rem; }
.pitch-award-card small { display: block; overflow: hidden; color: var(--pitch-mint); font-size: .58rem; font-weight: 900; letter-spacing: .09em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pitch-award-card h3 { margin: 2px 0 1px; color: var(--pitch-gold); font: 800 1rem/1.05 "Baloo 2", sans-serif; }
.pitch-award-card p { margin: 0; color: var(--pitch-muted); font-size: .65rem; line-height: 1.3; }
.pitch-final-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

/* Ads only appear after a player has joined or after the final scoreboard.
 * The generous separation keeps them away from rapid game interactions. */
.pitch-ad-slot { width: min(760px, 100%); margin: clamp(68px, 10vh, 112px) auto 0; padding: 0; text-align: left; }
.pitch-ad-slot:empty { display: none; }
.pitch-ad-slot .sponsor-ad { background: linear-gradient(135deg, rgba(255, 209, 102, .11), rgba(101, 239, 214, .075)); }
.pitch-final .pitch-ad-slot { margin-top: clamp(64px, 9vh, 96px); }

/* Notices and rules */
.pitch-connection-notice { position: fixed; z-index: 45; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 13px; border: 1px solid rgba(255, 209, 102, .3); border-radius: 999px; background: #242035; color: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .34); font-size: .7rem; font-weight: 800; }
.pitch-connection-notice span { width: 7px; height: 7px; border-radius: 50%; background: var(--pitch-gold); animation: pitch-pulse 1.8s infinite; }
.pitch-toast { position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 28px); transform: translateX(-50%); padding: 10px 15px; border: 1px solid rgba(101, 239, 214, .3); border-radius: 999px; background: #17243a; color: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .36); font-size: .72rem; font-weight: 800; animation: pitch-toast-in .22s ease both; }
@keyframes pitch-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
.pitch-rules-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 24px; overflow: auto; border: 1px solid rgba(255, 255, 255, .16); border-radius: 23px; background: linear-gradient(155deg, #1b2540, #0f1527); color: #fff; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.pitch-rules-dialog::backdrop { background: rgba(3, 5, 12, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pitch-dialog-close { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--pitch-line); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.3rem; }
.pitch-rules-dialog h2 { margin: 0 44px 3px 0; font-size: 2rem; line-height: 1; }
.pitch-rules-lead { color: var(--pitch-muted); font-size: .82rem; }
.pitch-rules-dialog ol { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.pitch-rules-dialog li { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 10px; padding: 10px; border-radius: 13px; background: rgba(255, 255, 255, .05); }
.pitch-rules-dialog li > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: rgba(101, 239, 214, .11); color: var(--pitch-mint); font-size: .69rem; font-weight: 900; }
.pitch-rules-dialog li b { font-size: .79rem; }
.pitch-rules-dialog li p { margin: 2px 0 0; color: #aab4ca; font-size: .68rem; line-height: 1.35; }
.pitch-rules-note { margin-bottom: 15px; padding: 10px 12px; border: 1px solid rgba(255, 209, 102, .24); border-radius: 12px; background: rgba(255, 209, 102, .07); color: #c4ccdc; font-size: .7rem; line-height: 1.4; }
.pitch-rules-note b { color: var(--pitch-gold); }
.pitch-rules-dialog > .pitch-primary { width: 100%; }

@media (min-width: 620px) {
  .pitch-shell { padding: 30px 24px 50px; }
  .pitch-brand span, .pitch-help b { display: inline; }
  .pitch-help { padding-inline: 8px 12px; }
  .pitch-welcome { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(34px, 6vw, 76px); }
  .pitch-entry-card { max-width: 430px; justify-self: end; }
  .pitch-hero h1 { font-size: clamp(3.5rem, 7vw, 5.25rem); }
  .pitch-lobby-grid { grid-template-columns: minmax(280px, .72fr) minmax(360px, 1.28fr); }
  .pitch-awards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-share-card { align-content: start; grid-template-columns: 108px 1fr; }
  .pitch-qr-wrap { width: 108px; height: 108px; }
  .pitch-share-actions { margin-top: 8px; }
  .pitch-players-card { padding: 23px; }
  .pitch-prompt-options { grid-template-columns: 1fr; max-width: 760px; gap: 14px; }
  .pitch-prompt-option { min-height: 112px; padding: 19px 21px; }
  .pitch-prompt-option b { font-size: 1.08rem; }
  .pitch-product-card { grid-template-rows: 156px minmax(80px, auto); }
  .pitch-judging-grid { gap: 15px; }
  .pitch-judging-card { flex: 0 1 252px; min-width: 220px; max-width: 270px; }
  .pitch-judging-card:only-child { flex-basis: 285px; max-width: 285px; }
  .pitch-judging-card .pitch-product-image { --pitch-art-pad:15px; height: 176px; }
  .pitch-judging-copy { min-height: 142px; padding: 14px; }
  .pitch-judging-copy h2 { font-size: .91rem; line-height: 1.19; }
  .pitch-quote { font-size: .77rem; }
  .pitch-shelfoff-candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 820px) {
  .pitch-product-hand { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 860px) {
  .pitch-prompt-options { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 16px; }
  .pitch-prompt-option { grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-content: start; align-items: start; min-height: 224px; padding: 20px; }
  .pitch-prompt-option > span:first-child { align-self: start; }
  .pitch-prompt-option > span:nth-child(2) { grid-column: 1 / -1; }
  .pitch-prompt-option b { font-size: 1.13rem; line-height: 1.3; }
  .pitch-prompt-option small { margin-top: 10px; }
  .pitch-prompt-option > i { position: absolute; right: 18px; bottom: 15px; }
}

@media (min-width: 900px) {
  .pitch-topbar { padding-inline: 24px; }
  .pitch-game-mark strong { font-size: 1.12rem; }
  .pitch-game { max-width: 1120px; }
  .pitch-roundbar { max-width: 960px; margin: 0 auto 12px; }
  .pitch-phase-track { max-width: 960px; margin-inline: auto; }
  .pitch-judging-card { flex-basis: 278px; min-width: 250px; max-width: 292px; }
  .pitch-judging-card:only-child { flex-basis: 310px; max-width: 310px; }
  .pitch-judging-card .pitch-product-image { --pitch-art-pad:17px; height: 190px; }
  .pitch-judging-copy { min-height: 148px; padding: 15px; }
  .pitch-judging-copy h2 { font-size: .96rem; }
  .pitch-quote { font-size: .8rem; }
  .pitch-judging-grid.four-up .pitch-judging-card { flex-basis: 220px; min-width: 210px; max-width: 238px; }
  .pitch-judging-grid.four-up .pitch-product-image { height: 176px; }
}

@media (max-width: 390px) {
  .pitch-shell { padding-inline: 12px; }
  .pitch-hero h1 { font-size: 2.55rem; }
  .pitch-mode-card > span { min-height: 96px; padding-inline: 7px; }
  .pitch-screen-heading { align-items: center; }
  .pitch-screen-heading > div:first-child > p:last-child { display: none; }
  .pitch-question-banner h1 { font-size: 1.85rem; }
  .pitch-judge-chip { min-width: 102px; padding-inline: 8px; }
  .pitch-product-card { grid-template-rows: 118px minmax(74px, auto); }
  .pitch-product-card .pitch-product-image { --pitch-art-pad:10px; }
  .pitch-product-card .pitch-product-copy { padding: 10px; }
  .pitch-product-card b { font-size: .78rem; }
  .pitch-judging-card .pitch-product-image { --pitch-art-pad:11px; height: 126px; }
  .pitch-judging-copy { min-height: 128px; padding: 10px; }
  .pitch-judging-copy h2 { font-size: .8rem; }
  .pitch-quote { font-size: .71rem; }
  .pitch-shelfoff-card { grid-template-columns: 55px 1fr auto; }
  .pitch-shelfoff-card .pitch-product-image, .pitch-shelfoff-avatar { width: 55px; height: 55px; }
  .pitch-top-actions { gap: 4px; }
  .pitch-help { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .pitch-page *, .pitch-page *::before, .pitch-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* The game shares the site navigation; playful type belongs to the pitches. */
.pitch-utility { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.pitch-utility > span { color:var(--pitch-muted); font-size:.66rem; font-weight:800; letter-spacing:.13em; }
.pitch-pack-preview { padding:14px 16px; margin:14px 0; background:#ffffff05; border:1px solid var(--pitch-line); border-radius:12px; font-size:.78rem; line-height:1.5; }
.pitch-pack-preview:empty { display:none; }
.pitch-pack-preview strong { color:var(--pitch-mint); }
.pitch-pack-preview p { margin:6px 0; color:var(--pitch-muted); }
.pitch-pack-preview blockquote { margin:8px 0 0; color:var(--pitch-gold); }
.pitch-page .pitch-roundbar { grid-template-columns:auto minmax(0,1fr) auto auto; }
.pitch-page .pitch-roundbar .pitch-your-score { display:grid; }
.pitch-page .pitch-roundbar:has(.pitch-timer:not(.hidden)) .pitch-your-score { display:grid; }
.pitch-final { overflow:clip; }
.pitch-stakes { grid-row:2; grid-column:1/-1; text-align:center; padding:8px 12px; border-radius:8px; background:#ffffff06; color:var(--pitch-mint); font-size:.75rem; font-weight:800; }
.pitch-stakes.double { background:#d4f67916; color:var(--pitch-gold); border:1px solid #d4f67940; }
.pitch-timer { grid-column:4; grid-row:1; }
.pitch-rotation-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
.pitch-rotation-row span { color:var(--pitch-muted); font-size:.76rem; }
.pitch-submission-roster { margin:24px auto; padding:18px; max-width:760px; border:1px solid var(--pitch-line); border-radius:16px; }
.pitch-submission-roster > strong { font-size:.8rem; }
.pitch-submission-roster > div { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.pitch-ready-chip { display:flex; flex-direction:column; gap:4px; padding:10px 14px; border-radius:10px; background:#ffffff06; font-size:.8rem; }
.pitch-ready-chip small { color:var(--pitch-muted); font-size:.69rem; }
.pitch-ready-chip.submitted { background:#b7ddd613; }
.pitch-ready-chip.submitted small { color:var(--pitch-mint); }
.pitch-page .pitch-quote, .pitch-page .pitch-winning-words, .pitch-page .pitch-submitted-copy p { font-family:'Baloo 2',ui-rounded,sans-serif; font-size:clamp(1.08rem,2vw,1.35rem); font-weight:800; line-height:1.22; letter-spacing:-.015em; }
.pitch-page .pitch-quote:not(.empty) { background:#d4f67909; padding:12px 10px; border-radius:10px; margin-top:10px; }
.pitch-page .pitch-quote.empty { font-size:.9rem; }
.pitch-page .pitch-winning-words { font-size:clamp(1.5rem,3vw,2rem); }
.pitch-page .pitch-judging-card { display:flex; flex-direction:column; }
.pitch-judging-card .pitch-product-image { flex-shrink:0; }
.pitch-judging-copy { flex:1; }
.pitch-like { min-height:44px; margin:0 10px 10px; padding:9px; border-radius:10px; background:#ffffff08; border:1px solid #ffffff25; color:var(--pitch-mint); font-size:.8rem; font-weight:800; cursor:pointer; }
.pitch-like:hover:not(:disabled), .pitch-like.liked { background:#c6b5f222; border-color:var(--pitch-pink); color:#e2d8ff; }
.pitch-like:disabled { cursor:default; opacity:.6; }
.pitch-like.liked:disabled { opacity:1; }
.pitch-author { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; padding:10px 12px; font-size:.76rem; color:var(--pitch-mint); }
.pitch-author span { color:var(--pitch-pink); font-variant-numeric:tabular-nums; }
.pitch-auto-advance { padding:16px; text-align:center; border:1px solid #d4f67935; background:#d4f6790a; border-radius:12px; color:var(--pitch-gold); font-weight:800; }
.pitch-like-hint { text-align:center; color:var(--pitch-muted); font-size:.8rem; }
.pitch-result-pitches { margin-top:18px; }
.pitch-result-pitches .pitch-judging-card.winner { border:2px solid var(--pitch-gold); }
.pitch-page .pitch-result-card { padding:20px; margin-bottom:12px; }
.pitch-page .pitch-result-card h1 { margin:8px 0; }
.pitch-result-note { color:var(--pitch-muted); font-size:.86rem; }
.pitch-result-note:empty { display:none; }
.pitch-sound-setting { display:flex; align-items:center; gap:14px; margin:18px 0; }
.pitch-sound-setting p { flex:1; color:var(--pitch-muted); font-size:.75rem; }
.pitch-page .pitch-award-card { min-height:112px; padding:20px 16px; background:#ffffff04; border-style:dashed; }
.pitch-page .pitch-award-card h3 { font-family:'Baloo 2',ui-rounded,sans-serif; font-size:1.25rem; }
.pitch-page .pitch-award-card p { font-size:.8rem; line-height:1.4; margin-top:6px; }
.pitch-page .pitch-award-card small { font-size:.7rem; }
@media(max-width:640px) {
  .pitch-page .pitch-roundbar:has(.pitch-timer:not(.hidden)) { grid-template-columns:auto minmax(0,1fr) auto auto; gap:7px; }
  .pitch-page .pitch-roundbar .pitch-your-score { display:grid; }
  .pitch-your-score { font-size:.65rem; }
  .pitch-page .pitch-judge-chip { min-width:0; padding-inline:7px; }
  .pitch-judge-chip strong { overflow-wrap:anywhere; }
  .pitch-page .pitch-settings-grid { grid-template-columns:1fr; }
}
