* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --red: #e62429; --red-d: #a8141b; --blue: #1b3fd1; --navy: #0a1240; --ink: #07091f; --yellow: #ffe14d; --white: #fff; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { min-height: 100vh; background: var(--navy); color: #fff; font-family: "Nunito", "Trebuchet MS", sans-serif; font-weight: 700; overflow-x: clip; }
a { color: inherit; }

/* background: deep blue with Ben-Day dots and red glow */
#bg { position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 10%, #e6242966, transparent 40%),
    radial-gradient(circle at 90% 85%, #1b3fd199, transparent 45%),
    radial-gradient(#ffffff14 22%, transparent 24%) 0 0 / 18px 18px,
    linear-gradient(#0d1a63, var(--navy)); }
.web { position: fixed; z-index: 0; width: min(46vw, 420px); height: min(46vw, 420px); pointer-events: none; opacity: .5; }
#webTL { top: 0; left: 0; } #webTR { top: 0; right: 0; transform: scaleX(-1); } #webBL { bottom: 0; left: 0; transform: scaleY(-1); width: min(30vw, 260px); height: min(30vw, 260px); opacity: .3; }
.web path { fill: none; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px clamp(12px, 3vw, 28px);
  background: linear-gradient(var(--red), var(--red-d)); border-bottom: 5px solid var(--ink); box-shadow: 0 4px 0 #0006; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Bangers", cursive; font-size: clamp(22px, 4vw, 34px); letter-spacing: 2px; text-shadow: 2px 2px 0 var(--ink); }
.brand b { color: var(--yellow); font-weight: 400; }
.emblem { width: 40px; height: 40px; color: var(--ink); background: #fff; border-radius: 50%; padding: 3px; border: 3px solid var(--ink); }
.navRight { display: flex; align-items: center; gap: 8px; }
.pts { position: relative; display: flex; align-items: center; gap: 10px; background: var(--ink); padding: 6px 14px; border-radius: 999px; border: 3px solid #fff; font-size: 14px; transform-origin: 70% 50%; }
.pts .lv { font: 400 17px "Bangers", cursive; letter-spacing: 1px; background: var(--red); color: #fff; padding: 0 8px; border-radius: 6px; border: 2px solid #fff; }
.pts .rank { color: var(--yellow); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.pts .num { display: inline-flex; align-items: center; gap: 4px; font-family: "Bangers", cursive; font-size: 24px; letter-spacing: 1px; line-height: 1; min-width: 2.2ch; }
.pts .num b { font-weight: 400; } .webIcon { width: 20px; height: 20px; color: #fff; }
.meter { position: relative; width: 96px; height: 14px; border-radius: 8px; background: #ffffff33; overflow: hidden; border: 2px solid #ffffff55; }
.meter i { position: relative; display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffe14d, #ff9d2e); border-radius: 8px; overflow: hidden; }
.meter i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; background: linear-gradient(90deg, transparent, #fffc, transparent); }
.pts.gain .meter i::after { animation: shine .8s ease-out; }
@keyframes shine { to { left: 120%; } }
.pts.flash { animation: flash .25s steps(2) infinite; box-shadow: 0 0 0 4px var(--yellow), 0 0 24px 6px #ffe14d; }
@keyframes flash { 50% { background: #2a3aa8; } }
.pts { cursor: pointer; user-select: none; }
.pts:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 3px; }
.pts .caret { width: 12px; height: 12px; transition: transform .2s; } .pts.open .caret { transform: rotate(180deg); }
.pts .goal { font-size: 12px; opacity: .85; min-width: 3.4ch; text-align: right; }
.plus { position: absolute; right: 30px; top: 0; font: 400 26px "Bangers", cursive; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--red); pointer-events: none; }
.coinChip { display: flex; align-items: center; gap: 6px; background: var(--ink); border: 3px solid #fff; border-radius: 999px; padding: 4px 12px 4px 6px; font: 400 22px "Bangers", cursive; letter-spacing: 1px; line-height: 1; }
.coinChip b { font-weight: 400; min-width: 1.4ch; }
.coin { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3a0, #ffc533 55%, #e09a00); border: 3px solid #07091f; box-shadow: inset 0 0 0 3px #ffe480; position: relative; }
.coin::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #b86e00; line-height: 1; }
.coin.big { width: 44px; height: 44px; } .coin.big::after { font-size: 20px; }
.mute { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.mute svg { width: 22px; height: 22px; } .mute .x { display: none; } .mute.off .x { display: block; } .mute.off .w { display: none; }
.mute:hover, .mute:focus-visible { background: var(--blue); outline: none; }
@media (max-width: 760px) { .pts .rank, .pts .goal { display: none; } .meter { width: 56px; } }
@media (max-width: 520px) { .brand span { display: none; } .pts { padding: 5px 9px; gap: 6px; } }

main { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) 16px 60px; }

/* hero */
.hero { position: relative; min-height: calc(100svh - 110px); display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; align-content: center; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.panel { position: relative; width: min(100%, 420px); transform: rotate(-2.5deg); }
.burst { position: absolute; inset: -9% -14%; z-index: 0; background: var(--red);
  clip-path: polygon(50% 0, 60% 14%, 76% 4%, 78% 22%, 96% 20%, 90% 38%, 100% 50%, 90% 62%, 96% 80%, 78% 78%, 76% 96%, 60% 86%, 50% 100%, 40% 86%, 24% 96%, 22% 78%, 4% 80%, 10% 62%, 0 50%, 10% 38%, 4% 20%, 22% 22%, 24% 4%, 40% 14%); }
.burst::after { content: ""; position: absolute; inset: 0; background: radial-gradient(#0003 25%, transparent 27%) 0 0 / 14px 14px; }
.photo { position: relative; z-index: 1; border: 7px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink), 10px 10px 0 4px var(--yellow); overflow: hidden; aspect-ratio: 9 / 10; }
.photo img, .photo canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo canvas { animation: pop .5s ease-out; }
@keyframes pop { from { filter: brightness(2.2) saturate(0); } }
.dots { position: absolute; inset: 0; background: radial-gradient(#0000002e 20%, transparent 22%) 0 0 / 9px 9px; mix-blend-mode: multiply; pointer-events: none; }
.cap { position: absolute; z-index: 3; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); padding: 4px 10px; font-family: "Bangers", cursive; letter-spacing: 1px; box-shadow: 3px 3px 0 var(--ink); }
.cap.tl { top: -14px; left: -14px; font-size: 22px; transform: rotate(-3deg); }
.cap.br { bottom: -16px; right: -10px; font-size: 14px; transform: rotate(2deg); max-width: 75%; }
.sfx { position: absolute; z-index: 4; top: 36%; right: -18%; font-family: "Bangers", cursive; font-size: clamp(34px, 7vw, 56px); color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--red); transform: rotate(12deg) scale(0); opacity: 0; pointer-events: none; letter-spacing: 2px; }

.intro { display: flex; flex-direction: column; gap: 18px; align-items: inherit; }
@media (max-width: 800px) { .intro { align-items: center; } }
h1 { font-family: "Bangers", cursive; font-weight: 400; line-height: .86; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; font-size: clamp(60px, 11vw, 124px); letter-spacing: 2px; }
h1 span { display: inline-block; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; cursor: pointer; user-select: none; }
.w1, .w3 { color: #fff; text-shadow: 5px 5px 0 var(--blue), 9px 9px 0 var(--ink); }
.w2 { color: var(--red); font-size: 1.35em; text-shadow: 5px 5px 0 var(--yellow), 9px 9px 0 var(--ink); transform: rotate(-4deg); }
.tag { font-size: clamp(16px, 2.2vw, 22px); background: var(--ink); padding: 10px 16px; border-left: 8px solid var(--red); max-width: 30em; }
.bubble { font: inherit; text-align: left; cursor: pointer; position: relative; background: #fff; color: var(--ink); padding: 12px 16px; border: 4px solid var(--ink); border-radius: 22px; max-width: 26em; font-size: 15px; line-height: 1.4; box-shadow: 5px 5px 0 var(--blue); }
.bubble::after { content: ""; position: absolute; left: 30px; top: -22px; border: 11px solid transparent; border-bottom: 11px solid var(--ink); }
.cta { display: inline-block; text-decoration: none; font-family: "Bangers", cursive; font-size: 30px; letter-spacing: 2px; padding: 10px 26px; background: var(--yellow); color: var(--ink); border: 4px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--red); transition: transform .12s, box-shadow .12s; }
.cta:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--red); }
.cta:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--red); }

/* games */
#games { margin-top: clamp(50px, 9vw, 100px); scroll-margin-top: 80px; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title span { display: inline-block; font-family: "Bangers", cursive; font-weight: 400; font-size: clamp(34px, 6vw, 56px); letter-spacing: 3px; background: var(--red); padding: 4px 28px; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: skew(-6deg) rotate(-1deg); text-shadow: 3px 3px 0 var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(var(--r, 0deg)); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.card:hover, .card:focus-visible { transform: translateY(-8px) rotate(0deg) scale(1.03); box-shadow: 12px 14px 0 var(--red); outline: none; }
.thumb { position: relative; aspect-ratio: 16 / 10; border-bottom: 5px solid var(--ink); overflow: hidden; background: var(--c1); }
.cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 60%; }
.cv .o { stroke: #07091f; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.cv .sfxw { font-family: "Bangers", cursive; font-size: 36px; letter-spacing: 2px; stroke: #07091f; stroke-width: 7px; paint-order: stroke fill; stroke-linejoin: round; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.card:hover .cv { transform: scale(1.12) rotate(-1.5deg); }
.card:hover .cv .sfxw { transform: scale(1.18); }
.cv .ear { transform-box: fill-box; }
.issue, .price { position: absolute; z-index: 3; font-family: "Bangers", cursive; letter-spacing: 1px; color: var(--ink); }
.issue { top: 6px; left: 6px; background: #fff; border: 3px solid var(--ink); padding: 0 8px; font-size: 18px; transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--ink); }
.price { top: 6px; right: 6px; width: 50px; height: 50px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; font-size: 14px; transform: rotate(10deg); box-shadow: 2px 2px 0 var(--ink); }
.ttl { position: absolute; z-index: 3; left: 0; right: auto; max-width: 100%; bottom: 0; padding: 22px 36px 6px 12px; font-family: "Bangers", cursive; font-weight: 400; font-size: 31px; line-height: 1; letter-spacing: 1.5px; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--c1); background: linear-gradient(to top right, #07091fdd 55%, transparent 80%); }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card p { font-size: 14px; line-height: 1.35; flex: 1; }
.play { align-self: flex-start; font-family: "Bangers", cursive; font-size: 20px; letter-spacing: 1px; background: var(--red); color: #fff; padding: 2px 14px; border: 3px solid var(--ink); text-shadow: 2px 2px 0 var(--ink); }
.v1 { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 11px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 1px 7px; text-decoration: none; }
.card.soon { opacity: .9; cursor: pointer; }


/* critters */
#critters { position: fixed; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.spider { position: absolute; left: 0; top: 0; width: 56px; height: 56px; color: var(--ink); pointer-events: auto; cursor: pointer; filter: drop-shadow(0 0 0 #fff) drop-shadow(2px 2px 0 #fff); will-change: transform; }
.spider svg { width: 100%; height: 100%; display: block; }
.spider .legs { transform-origin: center; animation: scuttle .22s steps(2) infinite; }
@keyframes scuttle { 50% { transform: scale(1.06, .94) rotate(2deg); } }
.dangler { position: absolute; top: 0; pointer-events: none; }
.dangler .silk { position: absolute; left: 50%; bottom: 30px; width: 2px; height: 100vh; background: #ffffffcc; transform: translateX(-50%); }
.dangler .spider { position: relative; }
.pow { position: fixed; z-index: 30; font-family: "Bangers", cursive; font-size: 40px; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--red); pointer-events: none; letter-spacing: 2px; white-space: nowrap; }
.bit { position: fixed; z-index: 25; width: 9px; height: 9px; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .spider .legs { animation: none; } .photo canvas { animation: none; }
}

/* ---- hero stage ---- */
.hero > .panel, .hero > .intro { position: relative; z-index: 3; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.layer.shots { z-index: 6; }
#hweb path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .55; filter: drop-shadow(0 0 4px #fff8); }
#silk { stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 5px #fff); }
.shots line.shot { stroke: #fff; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px #fff); }
.shots .splat { stroke: #fff; stroke-width: 3; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 6px #fff); }
.rays { position: absolute; z-index: 0; left: 0; top: 0; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax; pointer-events: none;
  background: repeating-conic-gradient(#e6242940 0 7deg, transparent 7deg 14deg);
  -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 38%); mask-image: radial-gradient(circle, #000 5%, transparent 38%); }
.kicker { display: inline-block; align-self: flex-start; }
.kicker span { display: inline-block; font-family: "Bangers", cursive; font-size: clamp(20px, 3vw, 30px); letter-spacing: 3px; color: var(--ink); background: var(--yellow); padding: 3px 18px; border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--red); transform: skew(-8deg) rotate(-2deg); }
@media (max-width: 800px) { .kicker { align-self: center; } }
.photo { transform-style: preserve-3d; }
.badge { position: absolute; z-index: 5; top: -26px; right: -26px; width: 92px; height: 92px; display: grid; place-items: center; text-align: center; font-family: "Bangers", cursive; font-size: 21px; line-height: .95; letter-spacing: 1px; color: #fff; background: var(--red); border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 25%, 90% 40%, 100% 52%, 88% 62%, 92% 78%, 76% 80%, 70% 96%, 56% 88%, 44% 98%, 36% 84%, 20% 90%, 20% 72%, 4% 66%, 14% 52%, 2% 40%, 16% 32%, 14% 16%, 30% 18%, 38% 4%); }
.badge span { text-shadow: 2px 2px 0 var(--ink); transform: rotate(-8deg); }
.ctaWrap { position: relative; display: inline-block; margin: 8px 0 0 6px; }
.ctaWrap .cta { position: relative; z-index: 2; }
.ctaWeb { position: absolute; z-index: 3; left: -14px; top: -14px; overflow: visible; pointer-events: none; }
.ctaWeb path, .ctaWeb line { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px #fff); }
.ctaWeb line { stroke-width: 1.6; }
.webby { position: absolute; z-index: 7; left: 0; top: 0; width: 84px; height: 84px; color: var(--ink); cursor: pointer; filter: drop-shadow(0 0 0 #fff) drop-shadow(2px 2px 0 #fff) drop-shadow(0 6px 6px #0006); outline: none; }
.webby svg { width: 100%; height: 100%; display: block; }
.webby .legs { transform-origin: center; animation: scuttle .22s steps(2) infinite; }
.webby:focus-visible { outline: 3px dashed var(--yellow); outline-offset: 4px; border-radius: 50%; }
.wsay { position: absolute; z-index: 8; left: 0; top: 0; max-width: 190px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; padding: 6px 12px; font-size: 15px; line-height: 1.2; box-shadow: 4px 4px 0 var(--blue); pointer-events: none; opacity: 0; font-weight: 900; }
.ctl { position: absolute; z-index: 9; right: 0; bottom: 0; display: flex; gap: 8px; }
.ctl button { font: 400 16px "Bangers", cursive; letter-spacing: 1px; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 8px; padding: 3px 12px; box-shadow: 3px 3px 0 var(--red); cursor: pointer; }
.ctl button[hidden] { display: none; }
.hear { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .webby .legs { animation: none; } }

/* ---- about / story ---- */
#about { margin-top: clamp(60px, 9vw, 110px); scroll-margin-top: 80px; }
.story { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .story { grid-template-columns: 1fr; justify-items: center; } }
.storyPhoto { position: relative; width: min(100%, 300px); transform: rotate(2.5deg); border: 6px solid var(--ink); box-shadow: 8px 8px 0 var(--ink), 8px 8px 0 4px var(--yellow); background: #fff; aspect-ratio: 9 / 10; }
.storyPhoto canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.storyPhoto .cap { top: -14px; left: -12px; font-size: 20px; }
.speech { position: relative; background: #fff; color: var(--ink); border: 5px solid var(--ink); border-radius: 28px; padding: 20px 24px; box-shadow: 7px 7px 0 var(--blue); }
.speech::before { content: ""; position: absolute; left: -26px; top: 46px; border: 14px solid transparent; border-right: 14px solid var(--ink); border-left: 0; }
@media (max-width: 700px) { .speech::before { left: 50%; top: -22px; border: 14px solid transparent; border-bottom: 14px solid var(--ink); border-top: 0; transform: translateX(-50%); } }
.speech p { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.4; font-weight: 900; }
.speech p + p { margin-top: 10px; font-weight: 700; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: var(--ink); border: 3px solid #fff; padding: 12px 8px; font-size: 14px; transform: rotate(var(--sr, 0deg)); }
.steps li:nth-child(1) { --sr: -2deg; } .steps li:nth-child(3) { --sr: 2deg; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); border: 3px solid #fff; font: 400 24px "Bangers", cursive; }

/* ---- footer ---- */
.foot { position: relative; z-index: 2; margin-top: clamp(50px, 8vw, 90px); background: linear-gradient(var(--red-d), #5e0a10); border-top: 6px solid var(--ink); box-shadow: 0 -4px 0 var(--red); padding: 40px clamp(16px, 4vw, 40px) 22px; }
.footGrid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 28px 32px; }
@media (max-width: 860px) { .footGrid { grid-template-columns: 1fr 1fr; } .footBrand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footGrid { grid-template-columns: 1fr; } }
.footBrand p { margin-top: 12px; max-width: 24em; line-height: 1.45; }
.footCol h3 { font: 400 22px "Bangers", cursive; letter-spacing: 1.5px; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); margin-bottom: 10px; }
.footCol ul { list-style: none; display: grid; gap: 7px; font-size: 15px; }
.footCol a { text-decoration: none; opacity: .92; }
.footCol a:hover, .footCol a:focus-visible { text-decoration: underline wavy var(--yellow); text-underline-offset: 4px; opacity: 1; }
.footBase { max-width: 1120px; margin: 30px auto 0; padding-top: 16px; border-top: 3px dashed #ffffff55; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13px; }
.fine { opacity: .8; }

/* ---- prize box ---- */
.prize { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #1b3fd1ee, #07091ff2 70%); overflow: hidden; }
.prize[hidden] { display: none; }
.pzRays { position: absolute; left: 50%; top: 45%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; background: repeating-conic-gradient(#ffe14d33 0 6deg, transparent 6deg 12deg); -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 35%); mask-image: radial-gradient(circle, #000 5%, transparent 35%); pointer-events: none; }
.pzInner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 16px; max-width: 560px; }
.pzInner h2 { font: 400 clamp(56px, 12vw, 104px) "Bangers", cursive; letter-spacing: 3px; color: var(--yellow); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--red), 11px 11px 0 var(--ink); line-height: 1; }
.pzSub { font-size: clamp(16px, 3vw, 22px); font-weight: 900; }
.pzBox { position: relative; width: clamp(180px, 36vmin, 300px); aspect-ratio: 1; background: none; border: 0; cursor: pointer; padding: 0; }
.pzBox svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.pzBox .o { stroke: #07091f; stroke-width: 5; stroke-linejoin: round; }
.pzBox:focus-visible { outline: 4px dashed var(--yellow); outline-offset: 8px; border-radius: 16px; }
.pzLight { position: absolute; left: 50%; top: 40%; width: 60%; aspect-ratio: 1; margin: -30% 0 0 -30%; border-radius: 50%; background: radial-gradient(circle, #fff, #ffe14d 40%, transparent 70%); opacity: 0; pointer-events: none; }
.pzHint { font: 400 clamp(28px, 6vw, 42px) "Bangers", cursive; letter-spacing: 2px; color: #fff; text-shadow: 3px 3px 0 var(--red); }
.pzDone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pzDone[hidden], .pzHint[hidden] { display: none; }
.pzGot { display: flex; align-items: center; gap: 10px; font: 400 clamp(40px, 9vw, 64px) "Bangers", cursive; letter-spacing: 2px; color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--red); }
.pzNext { font-size: clamp(15px, 2.6vw, 19px); font-weight: 900; line-height: 1.35; max-width: 28em; }
.pzSizes { display: flex; align-items: flex-end; gap: 16px; color: var(--ink); }
.pzSizes span { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; background: #fff; border: 3px solid var(--ink); padding: 8px 10px; border-radius: 12px; }
.pzSizes span svg { display: block; }
.pzSizes small { font-weight: 900; font-size: 12px; text-transform: uppercase; }
.pzSizes b { color: #fff; font-size: 28px; align-self: center; }
.pzGo { font: 400 30px "Bangers", cursive; letter-spacing: 2px; padding: 8px 28px; background: var(--yellow); color: var(--ink); border: 4px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--red); cursor: pointer; }
.pzGo:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--red); }
.pzCoins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pcoin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3a0, #ffc533 55%, #e09a00); border: 4px solid #07091f; box-shadow: inset 0 0 0 4px #ffe480; }
.pcoin::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: #b86e00; }

/* ---- score dropdown ---- */
.scoreDrop { position: absolute; z-index: 60; top: calc(100% + 12px); right: clamp(8px, 3vw, 28px); width: min(390px, calc(100vw - 16px)); max-height: calc(100svh - 110px); overflow: auto;
  background: #fff; color: var(--ink); border: 5px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); padding: 16px 16px 12px; text-shadow: none; }
.scoreDrop[hidden] { display: none; }
.scoreDrop::before { content: ""; position: absolute; top: -18px; right: 70px; border: 11px solid transparent; border-bottom: 13px solid var(--ink); border-top: 0; }
.sdHead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sdTotal { display: flex; flex-direction: column; line-height: 1; }
.sdTotal small { font: 400 15px "Bangers", cursive; letter-spacing: 2px; color: var(--blue); }
.sdTotal b { font: 400 64px "Bangers", cursive; color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--yellow); letter-spacing: 1px; }
.sdTotal span { font-size: 13px; font-weight: 900; }
.sdLv { text-align: center; background: var(--blue); color: #fff; border: 4px solid var(--ink); border-radius: 12px; padding: 6px 12px; transform: rotate(3deg); box-shadow: 3px 3px 0 var(--ink); }
.sdLv b { display: block; font: 400 30px "Bangers", cursive; letter-spacing: 1px; line-height: 1; } .sdLv span { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.sdBar { height: 20px; margin-top: 12px; background: #dde3f5; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; }
.sdBar i { display: block; height: 100%; background: linear-gradient(90deg, #ffe14d, #ff9d2e); border-right: 3px solid var(--ink); }
.sdNext { margin-top: 8px; font-size: 14px; line-height: 1.35; font-weight: 700; }
.sdCoins { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 10px; background: #fff6cf; border: 3px solid var(--ink); border-radius: 10px; font-size: 15px; }
.scoreDrop h4 { margin: 14px 0 6px; font: 400 20px "Bangers", cursive; letter-spacing: 1.5px; color: var(--blue); }
.sdRows, .sdLevels { list-style: none; display: grid; gap: 6px; }
.sdRows li, .sdLevels li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 10px; background: #f3f5ff; }
.sdRows li span, .sdLevels li span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sdRows b, .sdLevels b { font-size: 14px; } .scoreDrop small { font-size: 11px; font-weight: 700; color: #4a5070; }
.sdRows em { font: 400 24px "Bangers", cursive; font-style: normal; color: var(--red); letter-spacing: 1px; }
.sdLevels li i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--ink); background: #fff; font: 400 16px "Bangers", cursive; font-style: normal; }
.sdLevels li.done { background: #dff7e4; } .sdLevels li.done i { background: #1fb866; color: #fff; }
.sdLevels li.now { background: #fff1a8; box-shadow: 0 0 0 3px var(--red); } .sdLevels li.now i { background: var(--red); color: #fff; }
.sdLevels li.todo { opacity: .75; }
.sdLevels em { font-style: normal; font-size: 12px; font-weight: 900; color: #8a5a00; white-space: nowrap; }
.sdFine { margin-top: 10px; font-size: 11px; font-weight: 700; color: #4a5070; text-align: center; }

.sdReset { margin-top: 14px; padding-top: 12px; border-top: 3px dashed #c3c9e6; display: grid; gap: 8px; }
.sdReset p { font-size: 14px; line-height: 1.35; }
.sdResetBtn, .sdBtns button { font: 400 18px "Bangers", cursive; letter-spacing: 1px; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.sdResetBtn { width: 100%; }
.sdResetBtn:hover, .sdBtns button:hover { background: var(--yellow); }
.sdBtns { display: flex; gap: 8px; } .sdBtns button { flex: 1; }
.sdBtns .danger { background: var(--red); color: #fff; } .sdBtns .danger:hover { background: var(--red-d); }
.sdCheck { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; } .sdCheck input { width: 18px; height: 18px; accent-color: var(--red); }
