/* Sin etiquetas. Look from the approved design canvas (Kit, Main, Elegir, Juego). */
:root {
  --ink: #141414;
  --paper: #F5EDE0;
  --cream: #FFF6E3;
  --gold: #F5C842;
  --red: #E0442C;      /* decorative: sun, pips */
  --red-d: #C9371F;    /* red surfaces that carry white text (4.5:1) */
  --muted: #5C534A;
  --sand: #D8CDBC;
  --wood: #8A4F2A;
  --phone: 430px;
  --focus: #F5C842;
  --ease: cubic-bezier(.3, 1.5, .5, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.4;
  background: var(--wood) url(../assets/wood-tile.jpg) 0 0 / 210px 210px repeat;
}
a { color: var(--ink); }
a:hover { color: var(--red-d); }
button { font: inherit; }
img { display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.light { --focus: #141414; }
.dark { --focus: #F5C842; }
#app main:focus, #app [tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
  border: 3px solid var(--ink); border-radius: 10px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 8px; }
.noscript { margin: 40px auto; max-width: 480px; padding: 20px; background: var(--cream); border: 3px solid var(--ink); border-radius: 20px; font-weight: 600; }

/* ---------- Shared pieces ---------- */
.paper {
  background: radial-gradient(circle, rgba(20, 20, 20, .05) 1px, transparent 1.4px) 0 0 / 6px 6px, var(--paper);
  --focus: #141414;
}
.wood { background: var(--wood) url(../assets/wood-tile.jpg) 0 0 / 210px 210px repeat; --focus: #F5C842; }
.dotsun { background: radial-gradient(circle, rgba(20, 20, 20, .16) 1.3px, transparent 1.8px) 0 0 / 8px 8px, var(--red); }
.brush { background: var(--gold); transform: rotate(-1.5deg); border-radius: 6px 14px 8px 12px; position: absolute; inset: 0; }
.plaque {
  background: radial-gradient(circle at 11px 50%, #7A4A12 2.6px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) 50%, #7A4A12 2.6px, transparent 3.2px),
    linear-gradient(#FFD45A, #F2B42E);
  border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 3px 0 var(--ink); color: var(--ink);
}
.ribbon {
  background: var(--gold); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
  padding: 4px 34px; font-weight: 900; font-size: 24px; text-align: center;
}
.pill {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 50px;
  padding: 0 14px 0 18px; background: var(--ink); color: var(--paper); border-radius: 999px;
  border: 3px solid #E2B33C; box-shadow: 0 0 0 3px var(--ink); --focus: #F5C842;
}
.pill .t { font-weight: 800; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill .sep { flex: none; width: 2px; height: 26px; background: var(--muted); }
.pill a { color: var(--paper); font-weight: 600; font-size: 14px; padding: 10px 12px; text-decoration: none; }
.pill a:hover { color: var(--gold); }

/* Sound toggle: a 44 px target inside the black pills */
.mute {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer;
  --focus: #F5C842;
}
.mute:hover { color: var(--gold); }
.mute .off { display: none; }
.mute[aria-pressed="true"] .on { display: none; }
.mute[aria-pressed="true"] .off { display: inline; }
.pill .mute { margin-right: -10px; }
@media (max-width: 400px) {
  .pill { gap: 6px; padding-left: 14px; }
  .pill .sep { display: none; }
}
.navlinks .mute { margin-right: 2px; }

/* Party stickers and chips */
.partychip {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--c, #fff); color: var(--fg, var(--ink));
}

/* ---------- Stage ---------- */
.stage-frame { position: relative; }
.stage {
  position: relative; width: 100%; overflow: hidden; background: #1C6E7E center / cover no-repeat;
}
.stage-square { aspect-ratio: 1 / 1; background-image: url(../assets/stage3-square.jpg); }
.stage-wide { aspect-ratio: 1672 / 941; background-image: url(../assets/stage3-wide.jpg); }
.stage .string, .stage .puppet {
  position: absolute;
  transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), transform .55s var(--ease);
}
.stage .string { width: 2px; background: #FFF7EA; transform-origin: 1px 0; }
.stage .puppet { user-select: none; -webkit-user-drag: none; }
.stage .plaque {
  position: absolute; bottom: 10px; transform: translateX(-50%);
  width: max-content; max-width: 44%; text-align: center; line-height: 1.1;
  padding: 4px 18px; font-weight: 800; font-size: 12px; text-transform: uppercase;
}
.stage-wide .plaque { bottom: 3%; padding: 6px 30px; font-size: 18px; letter-spacing: .3px; }

/* ---------- Phone column (Elegir, game) ---------- */
.phone { width: 100%; max-width: var(--phone); margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; padding: 10px 12px 6px; background: var(--wood) url(../assets/wood-tile.jpg) 0 0 / 210px 210px repeat; }
.phone > main { flex: 1; min-width: 0; }

.pips { display: flex; gap: 3px; flex: none; }
.pip { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--paper); background: transparent; }
.pip.ok { background: var(--gold); border-color: var(--gold); }
.pip.bad { background: var(--red); border-color: var(--red); }
.pip.cur { background: var(--paper); }

.below { padding: 4px 14px 24px; display: flex; flex-direction: column; gap: 16px; }

/* Quote card */
.qcard {
  position: relative; background: var(--cream); border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; --focus: #141414;
}
.qcard::before {
  content: ''; position: absolute; top: -12px; left: calc(50% - 11px); width: 22px; height: 22px;
  background: var(--cream); border-left: 3px solid var(--ink); border-top: 3px solid var(--ink); transform: rotate(45deg);
}
.qmeta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chip-year { font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.chip-topic { font-size: 13px; font-weight: 700; padding: 0 10px; border: 2px solid var(--ink); border-radius: 999px; }
.qround { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.qtext { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.22; overflow-wrap: break-word; }
.qlang { font-size: 13px; color: var(--muted); font-style: italic; }
.stamp {
  position: absolute; top: -18px; right: 12px; z-index: 2; font-weight: 900; font-size: 18px; padding: 4px 12px;
  border: 3px solid var(--ink); border-radius: 10px; transform: rotate(-8deg); animation: stamp .45s var(--ease) both;
}
.stamp.ok { background: var(--gold); color: var(--ink); }
.stamp.bad { background: var(--red-d); color: #fff; }
@keyframes stamp {
  0% { transform: rotate(-8deg) scale(1.8); opacity: 0; }
  60% { transform: rotate(-8deg) scale(.92); opacity: 1; }
  100% { transform: rotate(-8deg) scale(1); }
}

/* Pick buttons */
.ask { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; width: 100%; padding-left: 12px; }
.pick, .partybtn {
  position: relative; display: flex; align-items: center; min-height: 64px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 18px; line-height: 1.05; text-align: left; color: var(--fg); background: var(--c);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); padding: 8px 8px 8px 46px; --focus: #141414;
}
.pick:hover, .partybtn:hover { color: var(--fg); filter: brightness(1.07); }
.pick:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.pick img, .partybtn img { position: absolute; left: -12px; top: 50%; width: 54px; height: 54px; transform: translateY(-50%); }
.hint { font-size: 13px; font-style: italic; color: var(--cream); text-align: center; }

/* Reveal panel */
.reveal { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 9px; --focus: #F5C842; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-head img { width: 40px; height: 40px; flex: none; }
.rv-when { font-size: 12px; color: var(--sand); }
.rv-name { font-weight: 900; font-size: 20px; line-height: 1.1; color: var(--gold); }
.rv-head .partychip { margin-left: auto; font-size: 12px; padding: 2px 10px; border-color: var(--paper); flex: none; }
.rv-ctx { font-size: 14px; line-height: 1.45; }
.rv-src { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; }
.rv-src a { color: var(--paper); }
.rv-src a:hover { color: var(--gold); }
.rv-src .src { display: inline-flex; align-items: center; gap: 6px; }
.rv-ver { color: var(--sand); }
.rv-note { font-size: 12px; color: var(--sand); }
.btn-next {
  margin-top: 4px; min-height: 50px; cursor: pointer; font-weight: 800; font-size: 16px; color: var(--ink);
  background: var(--gold); border: 3px solid var(--paper); border-radius: 16px;
}
.btn-next:hover { filter: brightness(1.06); }

/* End screen */
.scorecard {
  background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 5px 0 var(--ink);
  padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; --focus: #141414;
}
.sc-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.sc-big { font-weight: 900; font-size: 60px; line-height: 1; }
.sc-big span { font-size: 28px; color: var(--muted); }
.sc-split { font-size: 15px; font-weight: 600; }
.endpips { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.endpip {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; background: var(--gold); color: var(--ink);
}
.endpip.bad { background: var(--red-d); color: #fff; border-radius: 7px; }
.failcard { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.failcard .k { font-size: 12px; color: var(--sand); }
.failcard .q { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; font-size: 16px; line-height: 1.3; }
.failcard .w { font-size: 13px; font-weight: 800; color: var(--gold); }
.endbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn3d {
  min-height: 52px; cursor: pointer; font-weight: 800; font-size: 15px; border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink); background: #fff; color: var(--ink); --focus: #141414; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; padding: 0 12px;
}
.btn3d.primary { background: var(--red-d); color: #fff; }
.btn3d.primary:hover { color: #fff; filter: brightness(1.08); }
.btn3d:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.sharemsg { text-align: center; font-size: 14px; font-weight: 600; color: var(--cream); min-height: 1.4em; overflow-wrap: anywhere; }
.endlink { align-self: center; padding: 10px; font-weight: 700; color: var(--cream); }
.endlink:hover { color: var(--gold); }

/* ---------- Elegir ---------- */
.elegir-main { padding: 18px 14px 20px; display: flex; flex-direction: column; gap: 14px; }
.h-brush { position: relative; display: inline-block; padding: 0 12px; font-weight: 900; font-size: 26px; line-height: 1.2; align-self: flex-start; }
.h-brush span { position: relative; }
.elegir-sub { font-size: 14px; color: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cards li { display: flex; }
.card {
  position: relative; flex: 1; display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer; color: var(--ink);
  text-align: left; background: var(--tint); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s; --focus: #F5C842;
}
.card[aria-pressed="true"] { background: var(--gold); box-shadow: 0 1px 0 var(--ink); transform: translateY(3px); }
.card-art { position: relative; display: block; height: 128px; width: 100%; border-bottom: 3px solid var(--ink); overflow: hidden; }
.card-sun {
  position: absolute; left: 50%; top: 10px; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%; border: 2px solid var(--ink);
  background: radial-gradient(circle, rgba(20, 20, 20, .16) 1.3px, transparent 1.8px) 0 0 / 7px 7px, var(--sun);
}
.card-art .pup { position: absolute; left: 50%; bottom: 4px; height: 118px; width: auto; transform: translateX(-50%); }
.card-art .sticker { position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; }
.card-badge {
  position: absolute; left: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px;
}
.card-badge[hidden] { display: none; }
.card-info { display: flex; flex-direction: column; gap: 4px; padding: 7px 8px 9px; }
.card-name { font-weight: 800; font-size: 12px; line-height: 1.15; }
.card-info .partychip { align-self: flex-start; font-size: 11px; padding: 1px 8px; }
.pickbar {
  position: sticky; bottom: 0; z-index: 20; padding: 12px 14px 16px; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; gap: 10px; --focus: #F5C842;
}
.pickbar .vs { text-align: center; font-weight: 800; font-size: 15px; }
.pickbar .vs em { font-style: normal; color: var(--gold); }
.go {
  display: flex; align-items: center; justify-content: center; min-height: 54px; text-decoration: none; color: var(--ink);
  background: var(--gold); border: 3px solid var(--paper); border-radius: 16px; font-weight: 900; font-size: 18px;
}
.go:hover { color: var(--ink); filter: brightness(1.06); }
.nogo {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 0 10px; color: var(--sand);
  border: 3px dashed var(--muted); border-radius: 16px; font-weight: 700; font-size: 15px;
}

/* ---------- Landing ---------- */
.landing { font-size: 16px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.nav {
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 10px 10px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; --focus: #F5C842;
}
.nav a { color: var(--paper); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -.3px; }
.navlinks { display: flex; align-items: center; gap: 6px; }
.navlinks .lk { display: flex; gap: 2px; }
.navlinks .lk a { font-weight: 600; padding: 12px 14px; }
.navlinks .lk a:hover, .nav a:hover { color: var(--gold); }
.navlinks .play { background: var(--gold); color: var(--ink); font-weight: 800; padding: 12px 22px; border-radius: 999px; }
.navlinks .play:hover { color: var(--ink); filter: brightness(1.06); }

.hero-band { margin-top: 18px; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.hero { max-width: 1180px; margin: 0 auto; padding: 56px 24px 88px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-t { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hero h1 { font-weight: 900; font-size: 64px; line-height: 1.02; letter-spacing: -1.5px; color: var(--cream); text-shadow: 0 4px 0 var(--ink); }
.hero-sub { position: relative; display: inline-block; padding: 4px 22px; font-weight: 900; font-size: 34px; line-height: 1.2; }
.hero-sub span { position: relative; }
.hero-stage { width: 100%; border: 4px solid var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); }
.hero-quote {
  position: relative; margin-top: 6px; width: 100%; max-width: 760px; background: var(--cream); border: 4px solid var(--ink); border-radius: 26px;
  box-shadow: 0 7px 0 var(--ink); padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 14px; --focus: #141414;
}
.hero-quote::before {
  content: ''; position: absolute; top: -16px; left: calc(50% - 14px); width: 28px; height: 28px; background: var(--cream);
  border-left: 4px solid var(--ink); border-top: 4px solid var(--ink); transform: rotate(45deg);
}
.hero-quote .qmeta .chip-year { font-size: 15px; padding: 4px 16px; }
.hero-quote .qmeta .chip-topic { font-size: 15px; padding: 2px 14px; border-width: 3px; }
.hero-quote .qround { font-size: 15px; }
.hero-quote .qtext { font-size: 34px; line-height: 1.2; }
.hero-quote .qtext u { text-decoration-color: var(--gold); text-decoration-thickness: 6px; text-underline-offset: 7px; }
.hero-ask { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-ask .ribbon { font-size: 30px; padding: 4px 44px; }
.hero-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; width: 100%; padding-left: 22px; }
.hero-picks .partybtn { justify-content: center; min-height: 80px; font-size: 26px; border-width: 4px; border-radius: 22px; box-shadow: 0 7px 0 var(--ink); padding-left: 50px; text-align: center; }
.hero-picks .partybtn img { left: -22px; width: 84px; height: 84px; }
.hero-note { margin-top: 6px; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 20px; color: var(--cream); text-align: center; }

.sec-dark { background: var(--ink); color: var(--paper); --focus: #F5C842; }
.sec { max-width: 1280px; margin: 0 auto; padding: 96px 24px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.sec h2 { font-weight: 900; font-size: 46px; line-height: 1.05; letter-spacing: -1px; }
.sec-lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 12px; margin-bottom: 40px; }
.sec-dark .sec-lead { color: var(--sand); margin: 0; font-size: 17px; line-height: 1.5; max-width: 420px; }
.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.cast li { background: var(--paper); color: var(--ink); border: 4px solid var(--ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; --focus: #141414; }
.cast-art { position: relative; height: 250px; overflow: hidden; border-bottom: 4px solid var(--ink); background: var(--tint); }
.cast-art .sun {
  position: absolute; left: 50%; top: 22px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%; border: 3px solid var(--ink);
  background: radial-gradient(circle, rgba(20, 20, 20, .16) 1.3px, transparent 1.8px) 0 0 / 8px 8px, var(--sun);
}
.cast-art .floor { position: absolute; left: 50%; bottom: 8px; width: 150px; height: 16px; margin-left: -75px; border-radius: 50%; background: var(--ink); }
.cast-art .pup { position: absolute; left: 50%; bottom: 14px; height: 224px; width: auto; transform: translateX(-50%); }
.cast-art .sticker { position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; }
.cast-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.cast-name { font-weight: 800; font-size: 18px; line-height: 1.15; }

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.step { background: #fff; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 7px 0 var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.step .n { width: 54px; height: 54px; border-radius: 50%; background: var(--red-d); color: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; }
.step h3 { font-size: 22px; font-weight: 800; }
.step p { font-size: 16px; line-height: 1.5; color: #3A332C; }

.sec-red { background: var(--red-d); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); --focus: #141414; }
.sec-red h2, .sec-red .sec-lead { color: #fff; }
.sec-red .sec-lead { margin-bottom: 40px; max-width: 700px; }
.wcard { border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 7px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.wcard h3 { font-weight: 900; font-size: 26px; }
.wcard p { font-size: 16px; line-height: 1.5; font-weight: 500; }
.wcard.mirror { background: var(--gold); }
.wcard.tell { background: var(--ink); color: var(--paper); box-shadow: 0 7px 0 #7A1E12; }
.wcard.noise { background: var(--paper); }
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.w { border-radius: 999px; font-weight: 700; font-size: 14px; padding: 4px 12px; }
.mirror .w { background: #fff; border: 3px solid var(--ink); }
.tell .w { background: var(--paper); color: var(--ink); padding: 5px 12px; }
.noise .w { border: 3px dashed var(--muted); color: var(--muted); }
.duel { background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.duel-art { position: relative; height: 230px; border-bottom: 4px solid var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 36px; padding-bottom: 6px; }
.duel-art img { height: 210px; width: auto; }
.duel-art .vs {
  align-self: center; font-weight: 900; font-size: 28px; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); border-radius: 50%;
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; flex: none;
}
.duel-art .no { position: absolute; left: 16px; top: 14px; font-weight: 800; font-size: 14px; letter-spacing: 1px; background: var(--ink); color: var(--paper); padding: 4px 12px; border-radius: 999px; }
.duel-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.duel-body h3 { font-weight: 900; font-size: 24px; line-height: 1.15; }
.duel-body h3 span { color: var(--red-d); }
.duel-body p { font-size: 16px; line-height: 1.5; color: #3A332C; }
.duel-body .words .w { border: 3px solid var(--ink); font-weight: 700; padding: 3px 12px; }
.cta {
  align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; text-decoration: none;
  background: var(--red-d); color: #fff; font-weight: 800; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink);
}
.cta:hover { color: #fff; filter: brightness(1.08); }
.soon { align-self: flex-start; margin-top: 6px; font-size: 14px; font-weight: 700; padding: 6px 14px; border: 3px dashed var(--muted); color: var(--muted); border-radius: 999px; }
.sec-gold { background: var(--gold); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); --focus: #141414; }
.sec-gold .sec { padding: 80px 24px; }
.sec-gold h2 { font-size: 42px; margin-bottom: 36px; }
.rig-item { display: flex; flex-direction: column; gap: 10px; }
.rig-item h3 { font-size: 20px; font-weight: 800; }
.rig-item p { font-size: 16px; line-height: 1.5; }
.foot { background: var(--ink); color: var(--paper); --focus: #F5C842; }
.foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .a { font-weight: 900; font-size: 20px; }
.foot .b { font-size: 15px; color: var(--sand); }
.foot nav { display: flex; gap: 6px; }
.foot nav a { color: var(--paper); padding: 12px; }
.foot nav a:hover { color: var(--gold); }
.foot nav { flex-wrap: wrap; align-items: center; }
.linkbtn {
  background: none; border: 0; color: var(--paper); font-size: 16px; padding: 12px; min-height: 44px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--gold); }
.reset-done { font-size: 14px; color: var(--sand); }

@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .navlinks .lk { display: none; }
  .hero { padding: 36px 16px 64px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 24px; }
  .hero-stage { border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
  .stage-wide .plaque { font-size: 11px; padding: 4px 22px; }
  .hero-quote { padding: 20px 18px 22px; }
  .hero-quote .qtext { font-size: 24px; }
  .hero-ask .ribbon { font-size: 22px; padding: 4px 30px; }
  .hero-picks { gap: 18px 24px; padding-left: 16px; }
  .hero-picks .partybtn { font-size: 18px; min-height: 68px; padding-left: 40px; }
  .hero-picks .partybtn img { width: 62px; height: 62px; left: -16px; }
  .hero-note { font-size: 17px; }
  .sec { padding: 64px 16px; }
  .sec h2, .sec-gold h2 { font-size: 34px; }
  .wrap { padding: 0 16px; }
  .duel-art { gap: 14px; }
  .duel-art img { height: 170px; }
}
@media (max-width: 620px) {
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 38px; }
  .nav { padding-left: 18px; }
  .brand { font-size: 19px; }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cast-art { height: 190px; }
  .cast-art .sun { width: 140px; height: 140px; margin-left: -70px; top: 16px; }
  .cast-art .pup { height: 168px; }
  .cast-art .sticker { width: 36px; height: 36px; }
  .cast-name { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp { animation: none; }
  .stage .string, .stage .puppet, .card { transition: none; }
}

/* Big play button: hero (all sizes) and a sticky dock on phones */
.bigplay { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 38px; margin-top: 8px;
  font-weight: 900; font-size: 26px; letter-spacing: 0.3px; color: var(--ink); text-decoration: none;
  background: linear-gradient(#FFD45A, #F2B42E); border: 4px solid var(--ink); border-radius: 999px; box-shadow: 0 7px 0 var(--ink);
  transition: transform .12s, box-shadow .12s; animation: playpulse 2.4s ease-in-out infinite; }
.bigplay:hover { transform: translateY(-2px); box-shadow: 0 9px 0 var(--ink); color: var(--ink); }
.bigplay:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); }
.bigplay:focus-visible { outline: 4px solid var(--cream); outline-offset: 4px; }
@keyframes playpulse { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
.playdock { display: none; }
@media (max-width: 760px) {
  .bigplay { width: 100%; max-width: 360px; min-height: 60px; font-size: 24px; }
  .playdock { display: flex; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(20,20,20,.55) 40%); pointer-events: none; }
  .playdock .bigplay { pointer-events: auto; margin-top: 0; box-shadow: 0 6px 0 var(--ink), 0 10px 24px rgba(0,0,0,.35); }
  .landing { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .bigplay { animation: none; } }

/* ---------- Advertising (rendered only when ads are enabled in js/ads-config.js) ---------- */
.adslot { display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 280px; }
.adslot-cap { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-align: center; }
.adslot ins { flex: 1; width: 100%; }
.adslot-end { min-height: 280px; }
.adslot-end .adslot-cap { color: var(--cream); }
.adslot-landing { max-width: 1000px; margin: 0 auto; padding: 32px 24px; min-height: 180px; }
/* No ad returned: give the space back. */
.adslot:has(ins[data-ad-status="unfilled"]) { display: none; }

/* ---------- Legal pages ---------- */
.legal { font-size: 16px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.legal-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 40px 24px 72px; }
.legal-card {
  background: #fff; border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink);
  padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 14px;
}
.legal-card h1 { font-weight: 900; font-size: 40px; line-height: 1.05; letter-spacing: -1px; }
.legal-lead { font-size: 18px; line-height: 1.5; color: var(--muted); }
.legalnote {
  align-self: flex-start; background: var(--gold); border: 3px solid var(--ink); border-radius: 14px;
  padding: 8px 16px; font-weight: 800; font-size: 15px;
}
.legal-sec { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.legal-sec h2 { font-weight: 800; font-size: 22px; line-height: 1.2; }
.legal-sec p, .legal-list li { line-height: 1.6; color: #3A332C; overflow-wrap: break-word; }
.legal-list { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.legal-sec a { color: var(--ink); text-underline-offset: 3px; }
.legal-sec a:hover { color: var(--red-d); }
.legal-sec code { font-size: .9em; background: var(--paper); border: 1px solid var(--sand); border-radius: 6px; padding: 1px 6px; }
.legal-sec .linkbtn { color: var(--ink); padding: 8px 0; min-height: 44px; }
.legal-sec .linkbtn:hover { color: var(--red-d); }
.legal-sec .reset-done { color: var(--muted); }
.foot-home { color: var(--paper); text-decoration: none; }
.foot-home:hover { color: var(--gold); }
@media (max-width: 760px) {
  .legal-main { padding: 24px 14px 48px; }
  .legal-card { padding: 24px 18px 28px; border-radius: 20px; }
  .legal-card h1 { font-size: 32px; }
  .adslot-landing { padding: 24px 16px; }
}
