/* ===== Movie Movie — brand styles (per Mobile App Visual Style Guide) ===== */
@font-face {
  font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/bebas-neue-400.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/oswald-600.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/oswald-700.woff2") format("woff2");
}

:root {
  /* Core box palette */
  --navy: #070B1B;        /* Midnight Box Navy — app background */
  --theater: #111A38;     /* Deep Theater Blue — secondary bg / panels */
  --frame: #27346D;       /* Electric Frame Blue — panels, borders, nav */
  --movie-white: #F4F1E6; /* primary text / logo contrast */
  --white: #FFFFFF;
  --red: #C9341C;         /* Slash Red — primary brand accent */
  --pumpkin: #E36A19;     /* Burnt Pumpkin — timer heat, urgency */
  --gold: #F3B94F;        /* Popcorn Gold — rewards, streaks */
  --purple: #4E2D68;      /* Creature Purple — horror / mode */
  --magenta: #A84979;     /* Poster Magenta — comedy / romance */
  --aqua: #42B8D4;        /* Aqua UFO — sci-fi accent, links */
  --green: #2BA45A;       /* Creature Green — success */
  --shadow-black: #03040A;/* modals, overlays */
  --lavender: #B8B5EC;    /* glow, dividers */
  --peach: #F3C9A5;       /* prompt card tint */
  --cream: #F5E9C6;       /* readable physical cards */
  --ink: #16110A;         /* near-black text on cream cards */

  --muted: #8C93B5;
  --radius: 16px;
  --shadow: 0 14px 44px rgba(0,0,0,.55);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--movie-white);
  background: var(--navy);
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
}
#app { min-height: 100%; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* Blurred, slowly drifting key art from the box — the "box world came alive" */
#bg-keyart {
  position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  background: url("img/keyart.jpg") center center / cover no-repeat;
  filter: blur(26px) brightness(.72) saturate(1.2);
  transform: scale(1.18);
  animation: kenburns 44s ease-in-out infinite alternate;
}
#bg-keyart::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 440px at 50% -6%, rgba(201,52,28,.30) 0%, transparent 60%),
    linear-gradient(180deg, rgba(7,11,27,.42) 0%, rgba(7,11,27,.66) 55%, rgba(7,11,27,.82) 100%);
}
@keyframes kenburns {
  from { transform: scale(1.18) translate(-2%, -1%); }
  to   { transform: scale(1.34) translate(2%, 2.5%); }
}
@media (prefers-reduced-motion: reduce) { #bg-keyart { animation: none; } }

.screen {
  flex: 1; display: flex; flex-direction: column;
  padding: calc(20px + var(--safe-top)) 18px calc(20px + var(--safe-bottom));
  max-width: 560px; width: 100%; margin: 0 auto; animation: fade .26s ease;
}
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }
.spacer { flex: 1; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Display type / accents ---------- */
.display { font-family: "Bebas Neue", "Oswald", sans-serif; font-weight: 400; letter-spacing: .5px; line-height: .92; }
.accent {
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; font-size: 12px; color: var(--gold);
}

/* ---------- Brand wordmark ---------- */
.brand { text-align: center; margin-top: 7vh; position: relative; }
.brand .glow {
  position: absolute; inset: -6% 12% auto 12%; height: 230px; z-index: -1;
  background: radial-gradient(closest-side, rgba(201,52,28,.55), rgba(227,106,25,.18), transparent 75%);
  filter: blur(8px);
}
.wordmark {
  display: inline-block; padding: 14px 26px 10px; border-radius: 14px;
  border: 2px solid var(--aqua); background: rgba(7,11,27,.45);
  box-shadow: 0 0 24px rgba(66,184,212,.35), inset 0 0 30px rgba(201,52,28,.18);
}
.wordmark .the { font-family:"Oswald",sans-serif; font-weight:700; letter-spacing: 6px; font-size: 14px; color: var(--gold); }
.wordmark h1 {
  font-family: "Bebas Neue","Oswald",sans-serif; font-weight: 400; margin: 2px 0 0;
  font-size: 19vw; line-height: .82; color: var(--white);
  text-shadow: 0 3px 0 rgba(0,0,0,.4), 0 0 30px rgba(201,52,28,.45);
}
@media (min-width: 480px){ .wordmark h1 { font-size: 92px; } }
.wordmark .game {
  font-family: "Bebas Neue","Oswald",sans-serif; font-weight: 400;
  font-size: 7.4vw; line-height: 1; letter-spacing: 8px; margin: 4px 0 0; padding-left: 8px;
  color: var(--gold); text-shadow: 0 0 18px rgba(243,185,79,.4);
}
@media (min-width: 480px){ .wordmark .game { font-size: 36px; } }
.brand .tag { color: var(--gold); margin-top: 16px; font-size: 13px; font-family:"Oswald",sans-serif; font-weight:600; letter-spacing: 3px; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  appearance: none; border: none; cursor: pointer; width: 100%;
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  font-size: 19px; padding: 17px 18px; border-radius: var(--radius); color: var(--navy);
  background: var(--movie-white);
  box-shadow: 0 6px 0 #b9b6a6, var(--shadow);
  transition: transform .06s ease, box-shadow .06s ease; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b9b6a6; }
.btn.red { background: var(--red); color: var(--white); box-shadow: 0 6px 0 #8a230f, var(--shadow); }
.btn.red:active { box-shadow: 0 2px 0 #8a230f; }
.btn.secondary { background: var(--frame); color: var(--movie-white); box-shadow: 0 6px 0 #161f42, var(--shadow); }
.btn.secondary:active { box-shadow: 0 2px 0 #161f42; }
.btn.green { background: var(--green); color: #04230f; box-shadow: 0 6px 0 #176c39, var(--shadow); }
.btn.green:active { box-shadow: 0 2px 0 #176c39; }
.btn.ghost { background: transparent; color: var(--muted); box-shadow: none; font-size: 15px; letter-spacing: 1px; }
.btn.ghost:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; box-shadow: none; transform: none; }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { flex: 1; }
.stack > * + * { margin-top: 12px; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.topbar h2 { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 30px; letter-spacing: 1px; margin: 0; flex: 1; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--frame);
  background: var(--theater); color: var(--movie-white); font-size: 22px; cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn.sm { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; }

/* ---------- Panels ---------- */
.panel { background: var(--theater); border: 1px solid var(--frame); border-radius: var(--radius); padding: 16px; }
.panel + .panel { margin-top: 14px; }
.section-label { font-family:"Oswald",sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin: 0 0 12px; font-weight: 700; }

/* ---------- Poster option cards (decks + modes) ---------- */
.option {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--theater); border: 2px solid var(--frame); border-radius: 14px; cursor: pointer;
  transition: border-color .15s, background .15s, transform .08s;
}
.option + .option { margin-top: 10px; }
.option:active { transform: scale(.99); }
.option.on { border-color: var(--red); background: #18203f; box-shadow: inset 0 0 22px rgba(201,52,28,.12); }
.option .swatch { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; flex: none; }
.option .check { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--muted); display: grid; place-items: center; font-weight: 900; color: transparent; flex: none; }
.option.on .check { background: var(--red); border-color: var(--red); color: var(--white); }
.option .meta { flex: 1; }
.option .meta .t { font-family:"Oswald",sans-serif; font-weight:700; font-size: 17px; letter-spacing:.3px; }
.option .meta .d { color: var(--muted); font-size: 13px; margin-top: 2px; }
.pill { font-family:"Oswald",sans-serif; font-size: 12px; color: var(--gold); background: rgba(243,185,79,.12); padding: 4px 10px; border-radius: 999px; font-weight: 700; }

/* toggle row */
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.toggle-row + .toggle-row { margin-top: 10px; border-top: 1px solid rgba(39,52,109,.5); padding-top: 14px; }
.toggle-row .meta { flex: 1; }
.toggle-row .meta .t { font-family:"Oswald",sans-serif; font-weight:600; font-size: 15px; }
.toggle-row .meta .d { color: var(--muted); font-size: 12px; margin-top: 2px; }
.switch { width: 52px; height: 30px; border-radius: 999px; background: var(--frame); position: relative; flex: none; cursor: pointer; transition: background .15s; }
.switch::after { content:""; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background: var(--movie-white); transition: left .15s; }
.switch.on { background: var(--green); }
.switch.on::after { left: 25px; }

/* teams */
.team-row { display: flex; align-items: center; gap: 10px; }
.team-row + .team-row { margin-top: 10px; }
.team-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.team-row input { flex: 1; background: var(--navy); border: 1px solid var(--frame); color: var(--movie-white); font-size: 16px; padding: 12px; border-radius: 12px; font-weight: 600; font-family:"Oswald",sans-serif; }
.team-row input:focus { outline: 2px solid var(--red); }
.del { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; padding: 6px; }

/* stepper */
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--frame); background: var(--navy); color: var(--movie-white); font-size: 26px; cursor: pointer; }
.stepper button:active { transform: scale(.93); }
.stepper .val { flex: 1; text-align: center; }
.stepper .val b { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 34px; letter-spacing:1px; }
.stepper .val small { display:block; color: var(--muted); font-size: 11px; font-family:"Oswald",sans-serif; letter-spacing: 1.5px; text-transform: uppercase; margin-top:2px; }

/* ---------- Pass / ready ---------- */
.ready { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.ready .pass { font-family:"Oswald",sans-serif; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-size: 13px; font-weight:700; }
.ready .team-name { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 56px; line-height: 1; }
.ready .rules { color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.5; margin-top: 10px; }
.ready .countdown { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 92px; color: var(--gold); line-height:1; }
.ready .big-num { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 64px; line-height:1; }

/* ---------- Play screen ---------- */
.play { flex: 1; display: flex; flex-direction: column; }
.play-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.play-team { font-family:"Oswald",sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:1px; font-size: 14px; }
.timer { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 38px; letter-spacing:1px; font-variant-numeric: tabular-nums; color: var(--gold); }
.timer.warm { color: var(--pumpkin); }
.timer.hot { color: var(--red); animation: pulse .7s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.play-score { font-family:"Oswald",sans-serif; font-weight:700; color: var(--movie-white); font-size: 15px; }
.progress { height: 6px; border-radius: 999px; background: var(--theater); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--frame); }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--pumpkin) 60%, var(--red)); transition: width 1s linear; }

/* CREAM PHYSICAL PROMPT CARD */
.card {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  background: var(--cream); border-radius: 14px; padding: 26px 22px; color: var(--ink);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  background-image: linear-gradient(180deg, #f9efce, #f1e3bd);
}
/* cinematic film-strip edges — dark band with rounded sprocket perforations */
.card::before, .card::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px; background: #0d0b07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='34'%3E%3Crect x='5.5' y='7' width='11' height='20' rx='3.5' fill='%23f4e7c2'/%3E%3C/svg%3E");
  background-repeat: repeat-y; background-position: center; background-size: 22px 34px;
  box-shadow: inset -2px 0 4px rgba(0,0,0,.35);
}
.card::before { left: 0; border-right: 1px solid rgba(0,0,0,.25); }
.card::after { right: 0; border-left: 1px solid rgba(0,0,0,.25); box-shadow: inset 2px 0 4px rgba(0,0,0,.35); }
.card .inner { padding: 0 16px; }
.card .deck-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family:"Oswald",sans-serif; font-size: 10px; letter-spacing:2px; text-transform:uppercase; color: #8a7c55; font-weight:700; }
.syn-label { font-family:"Oswald",sans-serif; color: var(--red); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; text-align:center; margin-bottom: 14px; }
.synopsis { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(21px, 6.2vw, 30px); line-height: 1.3; text-align: center; }
.synopsis .m1 { color: var(--ink); }       /* movie 1 — black */
.synopsis .m2 { color: var(--red); }        /* movie 2 — red */

.hints { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.hint { background: rgba(20,17,11,.06); border-left: 3px solid var(--red); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--ink); animation: fade .22s ease; font-weight:500; }
.hint b { color: var(--red); font-family:"Oswald",sans-serif; }

/* reveal */
.reveal { text-align: center; animation: fade .3s ease; }
.reveal .answer { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: clamp(30px, 9vw, 48px); line-height: 1.02; margin: 2px 0 16px; color: var(--ink); }
.reveal .answer .a1 { color: var(--ink); }   /* movie 1 — black */
.reveal .answer .a2 { color: var(--red); }    /* movie 2 — red */
.reveal .sources { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.reveal .sources .s { font-family:"Oswald",sans-serif; font-weight:600; font-size: 16px; color: var(--ink); }
.reveal .sources .s .yr { color: #8a7c55; font-weight:700; }
.reveal .plus { color: var(--red); font-weight: 900; font-family:"Bebas Neue",sans-serif; font-size: 22px; }

/* bonus year row on reveal */
.bonus-box { margin-top: 16px; background: rgba(243,185,79,.18); border:1px dashed #c79a3e; border-radius: 10px; padding: 12px; }
.bonus-box .bl { font-family:"Oswald",sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; font-size: 11px; color:#8a6a18; text-align:center; margin-bottom:10px; }
.year-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ychip { font-family:"Oswald",sans-serif; font-weight:700; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 2px solid #c79a3e; background: transparent; color: var(--ink); cursor: pointer; }
.ychip.on { background: var(--gold); border-color: var(--gold); }

.play-actions { margin-top: 14px; }

/* steal sheet */
.sheet { position: fixed; inset: 0; background: rgba(3,4,10,.72); display: flex; align-items: flex-end; justify-content: center; z-index: 40; animation: fade .2s ease; }
.sheet .card-sheet { background: var(--theater); border: 1px solid var(--frame); border-radius: 18px 18px 0 0; padding: 20px 18px calc(24px + var(--safe-bottom)); width: 100%; max-width: 560px; }
.sheet h3 { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 26px; margin: 0 0 4px; text-align:center; }
.sheet .sub { text-align:center; color: var(--muted); font-size: 13px; margin-bottom: 16px; }

/* ---------- Results ---------- */
.result-list { margin-top: 10px; }
.result-row { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 14px; background: var(--theater); border: 1px solid var(--frame); }
.result-row + .result-row { margin-top: 10px; }
.result-row.win { border: 2px solid var(--gold); background: #1a1530; box-shadow: 0 0 24px rgba(243,185,79,.2); }
.result-row .rank { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 26px; width: 30px; color: var(--muted); }
.result-row .nm { flex: 1; font-family:"Oswald",sans-serif; font-weight:700; font-size: 18px; }
.result-row .sc { font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 30px; color: var(--gold); }
.trophy { text-align: center; font-size: 58px; margin: 6px 0 2px; }
.winner-title { text-align:center; font-family:"Oswald",sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:2px; color: var(--gold); font-size: 14px; }
.winner-name { text-align:center; font-family:"Bebas Neue","Oswald",sans-serif; font-weight:400; font-size: 42px; line-height:1; margin: 2px 0 14px; }

/* ---------- Review (round / game recap) ---------- */
.rv-list { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.rv-card { background: linear-gradient(180deg,#f9efce,#f1e3bd); color: var(--ink); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.rv-card + .rv-card { margin-top: 10px; }
.rv-card .rv-syn { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.rv-card .rv-syn .m1 { color: var(--ink); } .rv-card .rv-syn .m2 { color: var(--red); }
.rv-card .rv-ans { font-family: "Bebas Neue","Oswald",sans-serif; font-weight: 400; font-size: 26px; line-height: 1; margin-top: 8px; }
.rv-card .rv-ans .a1 { color: var(--ink); } .rv-card .rv-ans .a2 { color: var(--red); }
.rv-card .rv-meta { font-family: "Oswald", sans-serif; font-size: 12px; color: #8a7c55; margin-top: 6px; }
.rv-card .rv-out { display: inline-block; margin-top: 9px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.rv-card .rv-out.good { background: rgba(43,164,90,.18); color: #1c7a40; }
.rv-card .rv-out.bad { background: rgba(201,52,28,.14); color: #a8341c; }
.rv-card .rv-out.steal { background: rgba(243,185,79,.22); color: #8a6a18; }

/* how to play */
.howto .step { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.howto .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white); font-family:"Oswald",sans-serif; font-weight:700; display: grid; place-items: center; }
.howto .step > div:last-child { flex: 1; line-height: 1.5; font-size: 15px; }
.howto b { color: var(--gold); }
.mode-doc { margin-top: 6px; }
.mode-doc .md { padding: 12px 0; border-top: 1px solid rgba(39,52,109,.6); }
.mode-doc .md .h { font-family:"Oswald",sans-serif; font-weight:700; color: var(--aqua); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.mode-doc .md p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.foot { text-align: center; color: var(--muted); font-size: 11px; margin-top: 16px; font-family:"Oswald",sans-serif; letter-spacing: 1px; line-height: 1.9; }
.foot a { color: inherit; }
.linkbtn { background: none; border: none; color: var(--muted); font-family:"Oswald",sans-serif; font-size: 11px; letter-spacing: 1px; cursor: pointer; padding: 2px; }
.linkbtn:active { color: var(--gold); }

/* two hint buttons side by side */
.hint-btn { font-size: 13.5px !important; letter-spacing: .4px !important; padding: 14px 8px !important; }

/* lightning answer peek */
.peek { margin-top: 18px; text-align: center; }
.peek .hint-btn { display: inline-block; width: auto; }
.peek-ans { font-family:"Bebas Neue","Oswald",sans-serif; font-size: clamp(22px,7vw,34px); line-height: 1.05; margin-top: 4px; }
.peek-ans .a1 { color: var(--ink); } .peek-ans .a2 { color: var(--red); }

/* year reveal chips */
.ychip.shown { border-style: solid; border-color: #c79a3e; background: rgba(243,185,79,.14); cursor: default; }
.ychip.shown b { color: var(--red); }
.ychip.claim { border-style: dashed; }
.year-chips { align-items: center; }

/* favorite star on review cards */
.rv-card { position: relative; }
.rv-card .fav { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; color: #c0ab74; padding: 4px; }
.rv-card .fav.on { color: var(--gold); text-shadow: 0 0 10px rgba(243,185,79,.5); }
.rv-card .rv-ans { padding-right: 34px; }
.toast { position: fixed; left: 50%; bottom: calc(30px + var(--safe-bottom)); transform: translateX(-50%); background: var(--green); color: #04230f; font-family:"Oswald",sans-serif; font-weight: 700; text-transform:uppercase; letter-spacing:1px; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow); z-index: 50; animation: fade .2s ease; font-size: 14px; }
.toast.bad { background: var(--red); color: #fff; }
.toast.gold { background: var(--gold); color: var(--navy); }

/* ===== Joe's notes v2 additions ===== */
/* keep the favorite star clear of the synopsis text */
.rv-card .rv-syn { padding-right: 34px; }
/* How to Play examples (cream chip so black/red reads on the dark panel) */
.howto .eg { background: var(--cream); color: var(--ink); border-radius: 8px; padding: 8px 11px; margin-top: 8px; font-family:"Oswald",sans-serif; font-weight:600; font-size:13.5px; line-height:1.45; }
.howto .eg b { color: var(--ink); }
.howto .eg .m1 { color: var(--ink); }
.howto .eg .m2 { color: var(--red); }

/* stacked team scoreboard on the play top bar */
.play-top { align-items: flex-start; }
.scorebar { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; cursor:pointer; padding-top:4px; }
.scorebar .trow { font-family:"Oswald",sans-serif; font-weight:700; font-size:13px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.scorebar .trow b { color:var(--movie-white); }
.scorebar .trow.active { color:var(--tc); }
.scorebar .trow.active b { color:var(--tc); }

/* favorite star on the play card (bottom-right, across all modes) */
.card-fav { position:absolute; bottom:14px; right:30px; z-index:3; width:42px; height:42px; border-radius:50%; background:rgba(20,17,11,.08); border:none; font-size:24px; line-height:1; color:#b08f3a; display:grid; place-items:center; cursor:pointer; }
.card-fav.on { color:var(--gold); background:rgba(243,185,79,.18); text-shadow:0 0 10px rgba(243,185,79,.5); }
.card-fav:active { transform:scale(.9); }

/* scoreboard screen */
.sb-row { display:flex; align-items:center; gap:12px; background:var(--theater); border:1px solid var(--frame); border-radius:14px; padding:12px 14px; }
.sb-row + .sb-row { margin-top:10px; }
.sb-row.active { border-color:var(--gold); }
.sb-row .sb-name { flex:1; font-family:"Oswald",sans-serif; font-weight:700; font-size:17px; }
.sb-row .sb-score { font-family:"Bebas Neue","Oswald",sans-serif; font-size:30px; min-width:46px; text-align:center; color:var(--gold); }
.sb-btn { width:44px; height:44px; border-radius:12px; border:1px solid var(--frame); background:var(--navy); color:var(--movie-white); font-size:24px; font-weight:700; cursor:pointer; }
.sb-btn:active { transform:scale(.92); }

/* review: hints + share */
.rv-card .rv-hint { font-family:"Oswald",sans-serif; font-size:12.5px; color:#5c5237; margin-top:6px; line-height:1.4; }
.rv-card .rv-hint b { color:var(--red); }
.rv-card .rv-foot { display:flex; align-items:center; gap:10px; margin-top:10px; flex-wrap:wrap; }
.rv-card .rv-share { background:var(--frame); color:var(--movie-white); border:none; border-radius:999px; font-family:"Oswald",sans-serif; font-weight:700; font-size:12px; letter-spacing:.5px; padding:7px 14px; cursor:pointer; }
.rv-card .rv-share:active { transform:scale(.95); }
