@font-face { font-family: "Titan One"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/titan-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/nunito-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format("woff2"); }
/* Frog Dump — pond at dusk: deep teal water, lily-pad green, cream cards, ink outlines. */
:root {
  --water: #0b3b3f; --water2: #0f5257; --deep: #072a2d; --pad: #7fd34e; --pad2: #4fa83a;
  --cream: #fff8e6; --ink: #13201c; --pink: #ff4f9a; --sun: #ffd23f; --sky: #59d6e8;
  --muted: #4a5a55; --r: 18px; --sh: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--ink); font: 500 17px/1.45 Nunito, system-ui, sans-serif;
  background: var(--water) radial-gradient(1200px 600px at 80% -10%, #146b70 0, transparent 60%) no-repeat;
  min-height: 100vh; overflow-x: hidden;
}
h1, h2, h3, .logo, .btn, #bid, .tag, .plus, .count, .fx-word { font-family: "Titan One", "Arial Black", sans-serif; font-weight: 400; }
a { color: inherit; }
img { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 6px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: rgba(7, 42, 45, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid rgba(255,255,255,.08); }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; text-decoration: none; color: var(--pad); margin-right: auto; white-space: nowrap; }
.logo img { width: 36px; height: 36px; object-fit: contain; animation: hop 3.2s ease-in-out infinite; }
.top nav { display: none; gap: 4px; }
.top nav a { color: #d7efe9; text-decoration: none; padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.top nav a:hover { background: rgba(255,255,255,.1); }
.top-acts { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; font-size: 16px; line-height: 1; cursor: pointer; box-shadow: var(--sh); text-decoration: none;
  background: #fff; color: var(--ink); transition: transform .12s, box-shadow .12s; white-space: nowrap; min-height: 40px; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: var(--sh); }
.btn.mint { background: var(--pink); color: #fff; }
.btn.ink { background: var(--sun); }
.btn.ink.on { background: var(--pad); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.btn.big { font-size: 20px; padding: 12px 24px; min-height: 52px; }
.btn.sm { font-size: 13px; padding: 5px 10px; min-height: 32px; box-shadow: 2px 2px 0 var(--ink); border-width: 2px; }
.btn.dark { background: var(--ink); color: var(--sun); }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }

/* hero */
.hero { display: grid; gap: 18px; padding: 26px 0 8px; align-items: center; color: #fff; }
.kicker { margin: 0 0 8px; color: var(--pad); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(38px, 9vw, 68px); line-height: .98; color: var(--sun); text-shadow: 3px 3px 0 var(--deep); }
.hero h1 span { display: block; color: #fff; font-size: .5em; line-height: 1.15; margin-top: 10px; }
.lead { color: #cfe7e1; max-width: 520px; margin: 14px 0 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.pond-art { position: relative; aspect-ratio: 1.15; max-width: 480px; width: 100%; justify-self: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #1a8a8c 0, #10666a 45%, #0a4448 72%, transparent 73%); }
.ripple { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1.6; border: 2px solid rgba(255,255,255,.25); border-radius: 50%;
  transform: translate(-50%, -50%) scale(.4); animation: ripple 5s ease-out infinite; }
.r2 { animation-delay: 1.6s; } .r3 { animation-delay: 3.2s; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.pad { position: absolute; aspect-ratio: 1; display: grid; place-items: end center; animation: float 6s ease-in-out infinite; }
.pad::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 34%; border-radius: 50%; border: 3px solid var(--ink);
  background: radial-gradient(circle at 40% 35%, var(--pad), var(--pad2)); box-shadow: 0 8px 0 rgba(0,0,0,.25);
  clip-path: polygon(0 0, 46% 0, 50% 50%, 54% 0, 100% 0, 100% 100%, 0 100%); }
.pad img { position: relative; width: 92%; margin-bottom: 10%; filter: drop-shadow(0 4px 0 rgba(0,0,0,.25)); }
.p1 { left: 30%; top: 22%; width: 44%; z-index: 3; }
.p2 { left: 0; top: 10%; width: 32%; animation-delay: -2s; }
.p3 { right: 0; top: 6%; width: 32%; animation-delay: -4s; }
.p4 { left: 8%; bottom: 6%; width: 24%; animation-delay: -1s; }
.p4 img { width: 70%; margin-bottom: 16%; border-radius: 50%; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes hop { 0%, 80%, 100% { transform: translateY(0); } 88% { transform: translateY(-6px); } }
.bub { position: absolute; bottom: 18%; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: rise 4s ease-in infinite; }
.b1 { left: 60%; } .b2 { left: 76%; animation-delay: 1.3s; width: 7px; height: 7px; } .b3 { left: 44%; animation-delay: 2.6s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-140px); opacity: 0; } }

/* parade of frogs */
.parade { overflow: hidden; margin: 6px -16px 18px; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.parade-track { display: flex; gap: 14px; width: max-content; animation: parade 40s linear infinite; }
.parade img { width: 84px; height: 84px; border-radius: 22px; background: #d4dcd8; border: 2.5px solid var(--ink); }
.parade img:nth-child(odd) { transform: rotate(-4deg); } .parade img:nth-child(even) { transform: rotate(3deg) translateY(6px); }
@keyframes parade { to { transform: translateX(-50%); } }

/* panels */
.panel { background: var(--cream); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--deep); padding: 18px 16px; margin: 0 0 22px; min-width: 0; }
.panel h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.panel h3 { margin: 18px 0 8px; font-size: 16px; color: var(--muted); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hint { margin: 6px 0 12px; color: var(--muted); font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--pad2); }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--pad2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.count { background: var(--pink); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 15px; }

.floor { text-align: center; margin: 12px 0 14px; padding: 16px 10px; border-radius: 14px; background: var(--water2); color: #fff;
  background-image: radial-gradient(rgba(255,255,255,.08) 20%, transparent 22%); background-size: 12px 12px; }
.floor .lbl { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pad); }
#bid { display: block; font-size: clamp(44px, 12vw, 72px); line-height: 1.05; color: var(--sun); text-shadow: 3px 3px 0 var(--deep); }
.floor .sub { font-size: 14px; color: #cfe7e1; }
.stats, .split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stats div, .split div { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.stats span, .split span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; }
.split i { font-style: normal; text-transform: none; color: var(--ink); }
.stats b, .split b { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.stats div:first-child { grid-column: 1 / -1; background: var(--pad); }
.stats div:first-child b { font: 400 28px "Titan One", sans-serif; }
.offers-line { margin: 14px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }

/* birth lab */
.steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.steps-bar li { counter-increment: s; text-align: center; font-size: 12px; font-weight: 800; padding: 6px 4px; border-radius: 10px; background: #ece4cf; color: var(--muted); }
.steps-bar li::before { content: counter(s) ". "; }
.steps-bar li.now { background: var(--sun); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.steps-bar li.done { background: var(--pad); color: var(--ink); }
.steps-bar li.done::before { content: "✓ "; }
.slots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; }
.slot { position: relative; text-align: center; background: #fff; border: 2.5px dashed var(--muted); border-radius: 14px; padding: 18px 6px 8px; transition: transform .2s; }
.slot.full { border-style: solid; border-color: var(--ink); box-shadow: var(--sh); animation: pop-in .35s cubic-bezier(.2,1.6,.4,1); }
.slot .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 13px; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sky); white-space: nowrap; }
.slot.girl .tag { background: var(--pink); color: #fff; } .slot.dead .tag { background: var(--sun); }
.slot .pic { aspect-ratio: 1; border-radius: 10px; background: #e8e2d0 url(img/egg.webp) center/cover no-repeat; opacity: .35; }
.slot.full .pic { opacity: 1; }
.slot b { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; }
.slot .stars { color: var(--pink); }
.plus { display: none; }
.lab-go { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 18px; }
.lab-go .price b { font: 400 24px "Titan One", sans-serif; color: var(--water2); }
.lab-go .note { font-size: 13px; color: var(--muted); width: 100%; text-align: center; }
.btn.go { background: var(--pad); }
.btn.go:not([disabled]) { animation: wob 1.4s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.05); } }
@keyframes pop-in { from { transform: scale(.7); } to { transform: scale(1); } }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; max-height: 760px; overflow: auto; padding: 6px 4px 4px; }
.card { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 6px; font-size: 14px; transition: transform .15s;
  animation: reveal .5s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(var(--i, 0) * 40ms); }
.card:hover { transform: translateY(-3px) rotate(-1deg); }
@keyframes reveal { from { opacity: 0; transform: translateY(14px) scale(.85) rotate(-4deg); } to { opacity: 1; transform: none; } }
.card.seen { animation: none; }
.card .art { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #d4dcd8; }
.card .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .4s, transform .4s; }
.card .art img.loading { opacity: .6; filter: blur(2px); }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: 4px; }
.card .stars { color: var(--pink); letter-spacing: 1px; font-size: 13px; }
.card .acts { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.card .cost { display: block; text-align: center; font-weight: 800; margin-top: 2px; }
.card.sel { background: var(--sun); box-shadow: var(--sh); }
.g-boy { color: #0b74b5; font-weight: 800; } .g-girl { color: #d11f72; font-weight: 800; }
.card.egg .badge, .card.dead .badge { position: absolute; top: -9px; right: -7px; z-index: 3; font: 400 13px "Titan One", sans-serif; color: #fff;
  background: var(--pink); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 7px; transform: rotate(8deg); }
.card.egg .cost { color: #137a2a; }
.card.dead .badge { background: var(--ink); color: var(--sun); }
.card.dead .art img { filter: grayscale(1) contrast(.9); }
.card.dead .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,59,63,.55)); }
.card.dead .cost { color: #a3161a; }
.card.dead.sel .art img { filter: none; }
#grave > .btn { grid-column: 1 / -1; justify-self: center; }

.tier { font: 400 11px "Titan One", sans-serif; padding: 1px 6px; border: 2px solid var(--ink); border-radius: 6px; background: #ddd; }
.tier.t2 { background: #9be15d; } .tier.t3 { background: #4fc3f7; }
.tier.t4 { background: #8e4ad6; color: #fff; } .tier.t5 { background: var(--sun); box-shadow: 0 0 8px var(--sun); }

/* how */
.how-steps { margin: 12px 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 10px; }
.how-steps li { counter-increment: h; position: relative; padding: 10px 12px 10px 52px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; font-size: 15px; }
.how-steps li::before { content: counter(h); position: absolute; left: 10px; top: 9px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pad); border: 2px solid var(--ink); font: 400 15px "Titan One", sans-serif; }
.honest { font-size: 14px; background: #fff3c4; border: 2px dashed var(--ink); border-radius: 12px; padding: 10px 12px; margin: 0; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 16px 28px; font-size: 13px; color: #a8c9c2; max-width: 1080px; margin: 0 auto; }

/* toast + wallet dialog */
.toast { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; border: 2px solid var(--sun); border-radius: 14px;
  padding: 10px 16px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.wallets { border: 3px solid var(--ink); border-radius: var(--r); background: var(--cream); padding: 18px; width: min(360px, calc(100% - 32px)); box-shadow: 6px 6px 0 var(--deep); }
.wallets::backdrop { background: rgba(7,42,45,.7); }
.wallets h2 { margin: 0 0 12px; font-size: 22px; }
.wallet-options { display: grid; gap: 8px; margin-bottom: 14px; }
.wallet-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff;
  font: 800 16px Nunito, sans-serif; cursor: pointer; text-align: left; }
.wallet-option:hover { background: var(--sun); }
.wallet-option img { width: 28px; height: 28px; }
.wallets p { margin: 0 0 12px; font-size: 15px; }

/* comic FX layer */
.fx { position: fixed; inset: 0; z-index: 70; overflow: hidden; cursor: pointer; }
.fx-word { position: absolute; left: 50%; top: 42%; font-size: clamp(54px, 15vw, 128px); color: var(--sun); -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill; padding: 44px 60px; background: var(--pink); transform: translate(-50%, -50%) scale(0) rotate(-10deg); animation: boom 1.5s cubic-bezier(.2,1.6,.4,1) forwards;
  clip-path: polygon(50% 0, 61% 18%, 82% 6%, 78% 30%, 100% 34%, 84% 52%, 98% 72%, 74% 72%, 72% 96%, 54% 80%, 38% 100%, 32% 76%, 8% 84%, 18% 60%, 0 44%, 20% 32%, 12% 10%, 36% 18%); white-space: nowrap; }
.fx-word.sub { top: 66%; font-size: clamp(22px, 6vw, 40px); padding: 18px 26px; background: var(--sky); animation-delay: .25s; transform: translate(-50%, -50%) scale(0) rotate(6deg); -webkit-text-stroke: 2px var(--ink); color: #fff; }
@keyframes boom { 0% { transform: translate(-50%,-50%) scale(0) rotate(-30deg); } 25% { transform: translate(-50%,-50%) scale(1.1) rotate(-8deg); } 80% { opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1) rotate(-10deg); opacity: 0; } }
.fx-p { position: absolute; left: 0; top: 0; will-change: transform, opacity; animation: shoot var(--t, 1.2s) cubic-bezier(.15,.7,.3,1) forwards; }
.fx-p.star { font-size: var(--s, 30px); color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); line-height: 1; }
.fx-p.bit { width: var(--s, 10px); height: calc(var(--s, 10px) * .6); background: var(--c); border: 1.5px solid var(--ink); border-radius: 3px; }
.fx-p.candy { width: var(--s, 14px); height: var(--s, 14px); border-radius: 50%; border: 2px solid var(--ink);
  background: repeating-conic-gradient(var(--c) 0 25%, #fff 0 50%); }
@keyframes shoot { 0% { transform: translate(var(--x0), var(--y0)) scale(.4) rotate(0); opacity: 1; }
  70% { opacity: 1; } 100% { transform: translate(var(--x1), var(--y1)) scale(1) rotate(var(--rot)); opacity: 0; } }
.fx-skip { position: absolute; right: 14px; bottom: 14px; font: 800 13px Nunito, sans-serif; color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 999px; }

@media (min-width: 720px) {
  .top nav { display: flex; }
  .hero { grid-template-columns: 1.1fr 1fr; padding: 48px 0 10px; }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .stats div:first-child { grid-column: auto; }
  .split { grid-template-columns: repeat(4, 1fr); }
  .panel { padding: 24px; }
  .panel h2 { font-size: 34px; }
  .slots { grid-template-columns: 1fr auto 1fr auto 1fr; max-width: 640px; margin: 0 auto; gap: 14px; }
  .plus { display: block; font-size: 40px; color: var(--pad2); }
  .steps-bar li { font-size: 14px; }
  .lab-go .note { width: auto; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .parade img { width: 104px; height: 104px; }
}
@media (max-width: 440px) {
  .top { gap: 6px; padding: 10px 12px; }
  .logo { font-size: 18px; gap: 6px; } .logo img { width: 30px; height: 30px; }
  .top .btn { padding: 7px 11px; font-size: 14px; min-height: 36px; }
}
@media (max-width: 350px) { .logo-t { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .parade-track { animation: none; }
}

/* ---- v21: minimal comic pass ---- */
.panel h2 { color: var(--ink); text-shadow: 3px 3px 0 var(--sun); letter-spacing: .01em; }
.btn { font-family: "Titan One", sans-serif; letter-spacing: .02em; }
.muted { color: var(--muted); font-size: 14px; }
.say-bub { color: var(--ink); position: absolute; left: 52%; top: 4%; z-index: 5; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 6px 12px;
  font: 400 16px "Titan One", sans-serif; box-shadow: var(--sh); transform: rotate(-6deg); animation: float 4s ease-in-out infinite; }
.say-bub::after { content: ""; position: absolute; left: 18px; bottom: -14px; border: 8px solid transparent; border-top: 10px solid var(--ink); }

.big3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.big3 div { border: 3px solid var(--ink); border-radius: 16px; padding: 10px 12px; box-shadow: var(--sh); min-width: 0; }
.big3 span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.big3 b { font: 400 clamp(22px, 6.6vw, 46px) "Titan One", sans-serif; line-height: 1.05; white-space: nowrap; }
.b-floor { grid-column: 1 / -1; background: var(--water2); color: #fff; transform: rotate(-.6deg);
  background-image: radial-gradient(rgba(255,255,255,.09) 20%, transparent 22%); background-size: 12px 12px; }
.b-floor span { color: var(--pad); }
#bid { display: inline; font-size: clamp(44px, 13vw, 72px); color: var(--sun); text-shadow: 3px 3px 0 var(--deep); }
.b-tre { background: var(--pad); } .b-pond { background: var(--sky); }
.offers-line .say { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 4px 10px; }
.more-nums, .fine { margin-top: 12px; }
details > summary { cursor: pointer; font-weight: 800; color: var(--water2); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 14px; }
details[open] > summary::before { content: "−"; }
details .stats, details .split { margin-top: 8px; }
.stats div:first-child { grid-column: auto; background: #fff; }
.stats div:first-child b { font: 800 18px Nunito, sans-serif; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 8px; }
.chip { font: 800 14px Nunito, sans-serif; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; background: #fff; cursor: pointer; min-height: 36px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.legend { font-size: 12px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.legend i { font: 400 11px "Titan One", sans-serif; font-style: normal; padding: 1px 6px; border: 2px solid var(--ink); border-radius: 6px; }
.lg-new { background: var(--pink); color: #fff; } .lg-rip { background: var(--ink); color: var(--sun); }

.shelf { max-height: none; overflow: visible; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 0 0; }
.card.mini .btn.sm { font-size: 11px; padding: 4px 4px; min-height: 30px; }
.card.mini { padding: 5px; text-align: center; }
.card.mini .cost { font: 400 17px "Titan One", sans-serif; color: var(--ink) !important; margin-top: 4px; }
.card.mini .acts { margin-top: 4px; }
.card.mini .btn { width: 100%; }
.card .badge { font-size: 11px !important; padding: 1px 6px !important; }
#grave > .btn.more { grid-column: 1 / -1; justify-self: center; background: var(--sun); }
/* hover: the frog hops */
.card .art img { transform-origin: 50% 90%; }
.card:hover .art img, .card:focus-within .art img { animation: frog-hop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes frog-hop { 0% { transform: none; } 40% { transform: translateY(-8%) scale(1.06, .96) rotate(-3deg); } 70% { transform: translateY(0) scale(.97, 1.04); } 100% { transform: none; } }
.parade img:hover { animation: frog-hop .6s; }

.how-pops { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.how-pops li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; background: #fff;
  border: 3px solid var(--ink); border-radius: 20px; padding: 10px 12px; box-shadow: var(--sh); }
.how-pops li:nth-child(odd) { transform: rotate(-.8deg); } .how-pops li:nth-child(even) { transform: rotate(.8deg); }
.how-pops i { grid-row: span 2; font-style: normal; font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.how-pops b { font: 400 17px "Titan One", sans-serif; }
.how-pops span { font-size: 14px; color: var(--muted); }
.fine ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 6px; }
.steps-bar li { font-size: 13px; }
.hint { font-size: 14px; }

@media (min-width: 720px) {
  .big3 { grid-template-columns: 1.4fr 1fr 1fr; }
  .b-floor { grid-column: auto; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .shelf { grid-template-columns: repeat(6, 1fr); }
  .how-pops { grid-template-columns: repeat(5, 1fr); }
  .how-pops li { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 14px 10px; }
  .how-pops i { grid-row: auto; margin-bottom: 6px; }
}

/* ---- tips + nerds tour ---- */
.tip { margin: 0 0 8px; font-size: 13px; color: var(--muted); background: #fff3c4; border: 2px dashed var(--ink); border-radius: 12px; padding: 6px 10px; }
.nerd-strip { display: flex; align-items: center; gap: 10px; width: min(1048px, calc(100% - 32px)); margin: 0 auto 10px; padding: 14px 18px;
  background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--deep);
  font: 400 17px "Titan One", sans-serif; text-align: left; cursor: pointer; transition: transform .15s; }
.nerd-strip i { font: 800 14px Nunito, sans-serif; font-style: italic; color: var(--muted); }
.nerd-strip b { margin-left: auto; font-size: 22px; transition: transform .2s; }
.nerd-strip:hover { transform: rotate(-.5deg) translateY(-2px); } .nerd-strip:hover b { transform: translateX(4px); }
.nerd-strip span { font-size: 24px; }

.nerd { width: min(720px, calc(100% - 16px)); max-height: calc(100dvh - 16px); padding: 14px; border: 3px solid var(--ink); border-radius: 20px;
  background: var(--cream); box-shadow: 8px 8px 0 var(--deep); overflow: auto; }
.nerd::backdrop { background: rgba(7,42,45,.78); }
.nerd-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nerd-top h2 { margin: 0; font-size: 22px; text-shadow: 2px 2px 0 var(--sun); }
.nerd-host { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: start; margin: 10px 0 6px; }
.nerd-host img { width: 72px; height: 72px; transform-origin: 50% 90%; }
.nerd-host img.talk { animation: frog-hop .6s cubic-bezier(.3,1.6,.5,1); }
.nerd-bub { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 8px 12px; box-shadow: var(--sh); min-height: 116px; }
.nerd-bub::before { content: ""; position: absolute; left: -14px; top: 22px; border: 8px solid transparent; border-right: 12px solid var(--ink); }
.nerd-bub.pop { animation: pop-in .3s cubic-bezier(.2,1.6,.4,1); }
.nerd-bub b { font: 400 16px "Titan One", sans-serif; display: block; }
.nerd-bub p { margin: 4px 0; font-size: 14px; line-height: 1.4; }
.nerd-bub em { display: block; font-size: 13px; color: #b0306a; font-weight: 800; }
.flow { display: block; width: 100%; max-width: 460px; margin: 4px auto 0; height: auto; color: var(--ink); }
.flow .nd rect, .flow .nd ellipse, .flow .nd circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.flow .nd text { font: 400 13px "Titan One", sans-serif; text-anchor: middle; fill: var(--ink); }
.flow .nd text.s { font: 800 10px Nunito, sans-serif; } .flow .nd text.b { font: 400 11px "Titan One", sans-serif; }
.flow .nd text.i { font-size: 12px; }
.flow .nd.pond ellipse { fill: var(--sky); } .flow .nd.dark rect { fill: #3b4a46; } .flow .nd.dark text { fill: var(--sun); }
.flow .nd.hot rect { fill: var(--pink); } .flow .nd.hot text { fill: #fff; }
.flow .nd.tag rect { fill: #fff3c4; stroke-dasharray: 4 3; }
.flow .ar path { fill: none; stroke: var(--ink); stroke-width: 2.5; marker-end: url(#ah); }
.flow .ar.dash path { stroke-dasharray: 5 4; }
.flow .ar circle { fill: var(--sun); stroke: var(--ink); stroke-width: 1.5; opacity: 0; }
.flow .ar.frogs circle { fill: var(--pad); }
.flow [data-k] { transition: opacity .35s; opacity: .22; }
.flow.all [data-k] { opacity: 1; }
.flow [data-k].on { opacity: 1; }
.flow .nd.on { animation: node-pop .45s cubic-bezier(.2,1.6,.4,1); transform-box: fill-box; transform-origin: center; }
.flow .nd.on rect, .flow .nd.on ellipse { stroke-width: 3.5; filter: drop-shadow(3px 3px 0 var(--ink)); }
.flow .nd.on:not(.pond):not(.dark):not(.hot) rect { fill: var(--sun); }
.flow .ar.on path { stroke: var(--water2); stroke-dasharray: 7 5; animation: flow-dash .8s linear infinite; }
.flow .ar.on circle { opacity: 1; }
@keyframes flow-dash { to { stroke-dashoffset: -12; } }
@keyframes node-pop { from { transform: scale(.85); } to { transform: scale(1); } }
.nerd-nav { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.dots i.cur { background: var(--pink); }
@media (max-width: 440px) { .dots { order: 5; width: 100%; justify-content: center; } .nerd-bub p { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .flow .ar circle { display: none; } .flow .ar.on path { stroke-dasharray: none; } }
@media (min-width: 760px) {
  .nerd { width: min(900px, calc(100% - 32px)); display: none; }
  .nerd[open] { display: grid; grid-template-columns: 300px 1fr; grid-template-areas: "top top" "host flow" "nav nav"; column-gap: 18px; }
  .nerd-top { grid-area: top; } .nerd-host { grid-area: host; grid-template-columns: 1fr; justify-items: start; align-self: start; }
  .nerd-host img { width: 96px; height: 96px; margin-left: 20px; }
  .nerd-bub::before { left: 40px; top: -18px; border: 8px solid transparent; border-bottom: 12px solid var(--ink); }
  .flow { grid-area: flow; max-height: calc(100dvh - 170px); width: auto; max-width: 100%; }
  .nerd-nav { grid-area: nav; }
  .nerd-bub p { font-size: 15px; } .nerd-bub b { font-size: 18px; } .nerd-bub em { font-size: 14px; }
}

/* ---- v5: logo, big stars, check, showcase timer ---- */
.logo img { width: 40px; height: 40px; border-radius: 50%; }
.btn.icon { width: 40px; padding: 0; font-size: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.starbar { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: -2px -2px 5px; padding: 3px 7px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.starbar .st { color: var(--sun); font-size: 20px; line-height: 1; letter-spacing: -1px; -webkit-text-stroke: 1.2px var(--ink); text-shadow: 1px 1px 0 var(--ink); }
.starbar .st i { font-style: normal; color: #e6e0cf; text-shadow: none; -webkit-text-stroke: 1px #b7ad95; }
.starbar .tn { font: 400 11px "Titan One", sans-serif; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.starbar.t1 { background: #f1ede2; } .starbar.t2 { background: #c9f0a6; } .starbar.t3 { background: #a7e3f5; }
.starbar.t4 { background: #d9b8ff; } .starbar.t5 { background: var(--pink); color: #fff; box-shadow: 0 0 10px rgba(255,79,154,.6); }
.card.mini .starbar .st { font-size: 15px; } .card.mini .starbar .tn { font-size: 9px; }
.card.mini .starbar { padding: 2px 5px; flex-direction: column; gap: 1px; }
.card.mini .row { margin-top: 3px; font-size: 12px; }
.card.mini .badge { top: -8px; }
.slot b .starbar { margin: 0 0 4px; justify-content: center; flex-direction: column; gap: 0; }
.slot b .starbar .st { font-size: 16px; }
.sc-timer { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; padding: 10px 12px; border: 3px solid var(--ink);
  border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--sh); transform: rotate(-.5deg); }
.sc-timer span { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--pad); }
#sc-timer { font: 400 clamp(30px, 9vw, 44px) "Titan One", sans-serif; color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: .03em; }

.check { border: 3px solid var(--ink); border-radius: 20px; background: var(--cream); padding: 16px; width: min(380px, calc(100% - 24px)); box-shadow: 6px 6px 0 var(--deep); }
.check::backdrop { background: rgba(7,42,45,.7); }
.check h2 { margin: 0 0 10px; font-size: 22px; text-shadow: 2px 2px 0 var(--sun); }
.check-row { display: flex; gap: 8px; }
.check-row input { flex: 1; min-width: 0; font: 800 18px Nunito, sans-serif; padding: 8px 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; }
.check-out { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; margin: 14px 0; min-height: 10px; }
.check-out > p { grid-column: 1 / -1; margin: 0; }
.check-card { animation: none; }
.check-info p { margin: 6px 0 0; font-weight: 800; font-size: 15px; }
.ck-id { font: 400 22px "Titan One", sans-serif; }
@media (max-width: 420px) { .logo-t { display: none; } .top .btn.icon { width: 36px; } }

/* bonus-star roulette (roulette.js) */
.rl { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(circle at 50% 40%, rgba(255,210,63,.35), rgba(7,42,45,.92) 60%); animation: rl-in .25s ease-out; }
@keyframes rl-in { from { opacity: 0; } }
.rl-burst { position: fixed; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; z-index: 1; }
.rl-c { position: absolute; left: 0; top: 0; width: var(--s); height: calc(var(--s) * .6); background: var(--c); border: 1.5px solid var(--ink); border-radius: 3px;
  animation: rl-shoot var(--t) cubic-bezier(.15,.7,.3,1) forwards; }
.rl-c.s { background: none; border: 0; height: auto; font-size: var(--s); line-height: 1; color: var(--sun); -webkit-text-stroke: 1.5px var(--ink); }
@keyframes rl-shoot { 0% { transform: translate(0,0) scale(.3); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--x1), var(--y1)) rotate(var(--rot)) scale(1); opacity: 0; } }
.rl-card { position: relative; z-index: 2; width: min(420px, 100%); background: var(--cream); border: 3px solid var(--ink); border-radius: 26px;
  box-shadow: 8px 8px 0 var(--ink); padding: 22px 18px 20px; text-align: center; animation: pop-in .4s cubic-bezier(.2,1.6,.4,1); }
.rl-snd { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 17px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.rl-frog { position: absolute; top: -34px; left: 14px; display: flex; flex-direction: column; align-items: center; transform: rotate(-8deg); }
.rl-frog img { width: 76px; height: 76px; border-radius: 18px; border: 3px solid var(--ink); background: #d4dcd8; box-shadow: 3px 3px 0 var(--ink); animation: wob 1.2s ease-in-out infinite; }
.rl-frog b { margin-top: -10px; font: 400 13px "Titan One", sans-serif; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; }
.rl-q { margin: 4px 0 14px; font-size: 26px; line-height: 1.05; }
.rl-q span { display: inline-block; font-size: 38px; color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; transform: rotate(-3deg); animation: rl-pulse 1s ease-in-out infinite; }
@keyframes rl-pulse { 50% { transform: rotate(3deg) scale(1.06); } }
.rl.spinning .rl-q span { animation-duration: .25s; }
.rl.done .rl-q { display: none; }
.rl-machine { position: relative; margin: 0 auto; width: min(290px, 100%); padding: 14px; border: 3px solid var(--ink); border-radius: 22px;
  background: repeating-linear-gradient(45deg, var(--pink) 0 14px, #ff73ae 14px 28px); box-shadow: 4px 4px 0 var(--ink); }
.rl-bulbs { position: absolute; inset: 2px 12px; display: grid; grid-template-columns: repeat(9, 9px); justify-content: space-between; align-content: space-between; pointer-events: none; }
.rl-bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #fff6c2; border: 1.5px solid var(--ink); animation: blink .5s steps(1) infinite; }
.rl-bulbs i:nth-child(odd) { animation-delay: .25s; background: var(--sun); }
.rl.spinning .rl-bulbs i { animation-duration: .16s; }
.rl.done .rl-bulbs i { animation: none; background: var(--sun); box-shadow: 0 0 8px var(--sun); }
.rl-win { --h: 64px; position: relative; height: calc(var(--h) * 3); overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; background: #fff; }
.rl-win::before, .rl-win::after { content: ""; position: absolute; left: 0; right: 0; height: var(--h); z-index: 2; pointer-events: none; }
.rl-win::before { top: 0; background: linear-gradient(#fff, rgba(255,255,255,.2)); }
.rl-win::after { bottom: 0; background: linear-gradient(rgba(255,255,255,.2), #fff); }
.rl-strip { will-change: transform; }
.rl-it { height: var(--h); display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 2px dashed #e6dcc0;
  font: 400 34px/1 "Titan One", sans-serif; color: var(--ink); }
.rl-it i { font-style: normal; font-size: 22px; color: var(--sun); -webkit-text-stroke: 1.2px var(--ink); letter-spacing: -2px; }
.rl-it.n0 { color: #8a948f; } .rl-it.n3 i, .rl-it.n4 i { color: var(--pink); }
.rl-it.n4 { background: #fff0f6; }
.rl-ptr { position: absolute; top: 50%; z-index: 3; width: 0; height: 0; border: 14px solid transparent; transform: translateY(-50%); }
.rl-ptr.l { left: -3px; border-left: 18px solid var(--ink); }
.rl-ptr.r { right: -3px; border-right: 18px solid var(--ink); }
.rl.blink .rl-ptr.l { border-left-color: var(--pink); } .rl.blink .rl-ptr.r { border-right-color: var(--pink); }
.rl.landed .rl-win { animation: rl-shake .4s; outline: 4px solid var(--sun); }
@keyframes rl-shake { 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.rl.done .rl-machine { display: none; }
.rl-res:empty { display: none; }
.rl-res { padding: 6px 0 2px; }
.rl-word { display: inline-block; font: 400 clamp(36px, 11vw, 60px)/1 "Titan One", sans-serif; color: var(--sun); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  padding: 28px 46px; background: var(--pink); transform: rotate(-6deg); animation: pop-in .45s cubic-bezier(.2,1.8,.4,1);
  clip-path: polygon(50% 0, 61% 18%, 82% 6%, 78% 30%, 100% 34%, 84% 52%, 98% 72%, 74% 72%, 72% 96%, 54% 80%, 38% 100%, 32% 76%, 8% 84%, 18% 60%, 0 44%, 20% 32%, 12% 10%, 36% 18%); }
.rl-word.sad { background: #c9d1cd; color: #fff; font-size: clamp(30px, 9vw, 42px); padding: 30px 52px; transform: rotate(4deg); animation: rl-droop 1.4s ease-in-out forwards; }
@keyframes rl-droop { 0% { transform: rotate(4deg) scale(.6); } 30% { transform: rotate(-2deg) scale(1.05); } 100% { transform: rotate(9deg) translateY(6px) scale(.97); } }
.rl-stars { margin: 10px 0 4px; display: flex; justify-content: center; gap: 2px; }
.rl-stars b { font: 400 clamp(46px, 13vw, 60px)/1 "Titan One", sans-serif; color: var(--sun); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink); transform: scale(.4); animation: rl-star .3s cubic-bezier(.2,1.8,.4,1) var(--d, 0s) forwards; }
.rl-stars b.bn { color: var(--pink); position: relative; }
.rl-stars b.bn::after { content: "✦"; position: absolute; right: -6px; top: -4px; font-size: 18px; color: var(--sun); -webkit-text-stroke: 1px var(--ink); text-shadow: none; animation: blink .6s steps(1) infinite; }
@keyframes rl-star { to { transform: scale(1) rotate(-6deg); } }
.rl-tier { display: inline-block; margin: 6px 0 2px; padding: 4px 16px; font: 400 18px "Titan One", sans-serif; text-transform: uppercase; border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); background: #f1ede2; }
.rl-tier.t2 { background: #c9f0a6; } .rl-tier.t3 { background: #a7e3f5; } .rl-tier.t4 { background: #d9b8ff; } .rl-tier.t5 { background: var(--pink); color: #fff; }
.rl-sub { margin: 8px 0 4px; font-weight: 800; font-size: 16px; }
.rl-acts { margin-top: 16px; min-height: 52px; }
.rl-acts .btn { min-width: 180px; }
.rl.lose .rl-frog img { filter: grayscale(.4); animation: none; transform: rotate(14deg); }
@media (prefers-reduced-motion: reduce) { .rl-bulbs i, .rl-q span, .rl-frog img { animation: none !important; } }

.rl-pity { margin: 12px auto 0; width: fit-content; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.rl-pity .pips { display: flex; align-items: center; gap: 5px; }
.rl-pity .pips i { width: 26px; height: 12px; border: 2px solid var(--ink); border-radius: 6px; background: #eee6d2; }
.rl-pity .pips i.on { background: var(--pad); }
.rl-pity .pips b { font: 400 22px/1 "Titan One", sans-serif; color: #e6e0cf; -webkit-text-stroke: 1.2px var(--ink); }
.rl-pity span { font-weight: 800; font-size: 14px; }
.rl-pity.hot { background: var(--sun); animation: rl-pulse 1s ease-in-out infinite; }
.rl-pity.hot .pips b { color: var(--pink); }

/* showcase header: normal day countdown + lucky chance; lucky day banner */
.sc-chance { flex-basis: 100%; text-align: center; font: 800 13px Nunito, sans-serif; font-style: normal; color: #c9f0a6; margin-top: -2px; }
.lucky { position: relative; margin: 14px 0 6px; padding: 16px 14px 14px; text-align: center; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #7fd34e 0 10deg, #a6e86f 10deg 20deg); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-1deg);
  animation: lk-pop .5s cubic-bezier(.2,1.6,.4,1); }
.lucky[hidden] { display: none; }
@keyframes lk-pop { from { transform: rotate(-6deg) scale(.7); } }
.lucky .lk-word { display: block; font: 400 clamp(34px, 10vw, 58px)/1 "Titan One", sans-serif; color: var(--sun); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink); animation: lk-wob 1.6s ease-in-out infinite; }
@keyframes lk-wob { 0%, 100% { transform: rotate(-2deg) scale(1); } 50% { transform: rotate(2deg) scale(1.05); } }
.lucky .lk-off { display: inline-block; margin-top: 8px; padding: 4px 14px; font: 400 clamp(20px, 6vw, 28px) "Titan One", sans-serif; color: #fff; background: var(--pink);
  border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(2deg); }
.lucky em { display: block; margin-top: 8px; font: 800 13px Nunito, sans-serif; font-style: normal; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.lucky em i { font-style: normal; font-variant-numeric: tabular-nums; }
.sc-timer[hidden] { display: none; }
.showcase.is-lucky { box-shadow: 6px 6px 0 var(--pad2), 0 0 0 4px var(--sun); }
@media (prefers-reduced-motion: reduce) { .lucky .lk-word, .rl-pity.hot { animation: none; } }

/* entry sale banner (lazy visitors: one message, one button) */
.sale { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; margin: 14px 0 0; text-align: center; }
.sale[hidden] { display: none; }
.sale-burst { display: grid; justify-items: center; gap: 2px; padding: 34px 54px 38px; color: var(--ink); text-decoration: none; background: var(--sun);
  clip-path: polygon(50% 0, 58% 12%, 72% 3%, 76% 14%, 92% 8%, 93% 24%, 100% 30%, 96% 42%, 100% 52%, 96% 62%, 100% 72%, 93% 78%, 92% 92%, 76% 86%, 70% 100%, 56% 88%, 44% 100%, 30% 86%, 14% 94%, 7% 78%, 0 72%, 4% 60%, 0 50%, 4% 40%, 0 28%, 7% 22%, 6% 8%, 24% 14%, 30% 2%, 42% 12%);
  filter: drop-shadow(5px 5px 0 var(--ink)); animation: sale-wob 2.2s ease-in-out infinite; }
.sale-t { font: 400 clamp(26px, 7.4vw, 50px)/1.02 "Titan One", sans-serif; color: var(--pink); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.sale-s { font: 800 clamp(13px, 3.6vw, 17px) Nunito, sans-serif; text-transform: uppercase; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.sale-go { font-size: clamp(18px, 5vw, 24px); padding: 14px 26px; animation: sale-nudge 1.6s ease-in-out infinite; }
.sale.sale-lucky .sale-burst { background: #7fd34e; }
.sale.sale-lucky .sale-t { color: var(--sun); }
.sale.flip .sale-burst { animation: sale-flip .8s cubic-bezier(.2,1.6,.4,1), sale-wob 2.2s ease-in-out .8s infinite; }
.showcase.flip { animation: sale-flip .8s cubic-bezier(.2,1.6,.4,1); }
@keyframes sale-wob { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(1.5deg) scale(1.03); } }
@keyframes sale-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes sale-flip { 0% { transform: rotateY(90deg) scale(.6); } 100% { transform: none; } }
.rl-wait { margin: 10px 0 0; font: 800 14px Nunito, sans-serif; text-transform: uppercase; letter-spacing: .06em; animation: blink .8s steps(1) infinite; }
.rl-strip.loop { animation: rl-loop .32s linear infinite; }
@keyframes rl-loop { from { transform: translateY(0); } to { transform: translateY(var(--loop)); } }
.rl-note { margin: 12px 0 0; padding: 8px 10px; font-size: 13px; font-weight: 800; line-height: 1.35; background: #fff3c4; border: 2px dashed var(--ink); border-radius: 12px; }
.lock { position: absolute; left: 4px; bottom: 4px; z-index: 2; font: 400 12px "Titan One", sans-serif; color: #fff; background: var(--ink); border: 2px solid var(--sun); border-radius: 999px; padding: 1px 7px; }
.lock i { font-style: normal; }
.lock-line { margin: 6px 0 0; font-size: 14px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .sale-burst, .sale-go, .rl-strip.loop { animation: none !important; } }
.sale-t .em, .lk-word .em { font-style: normal; -webkit-text-stroke: 0; text-shadow: none; filter: drop-shadow(2px 2px 0 var(--ink)) drop-shadow(-1px -1px 0 #fff); }

/* tour navigation v2: big arrows, big dots (easy to hit), swipe in nerds.js */
.nerd-nav { display: grid; gap: 8px; justify-items: center; margin-top: 10px; }
.nerd-arrows { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; }
.nav-arrow { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
  font: 400 30px/1 "Titan One", sans-serif; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.nav-arrow.go { background: var(--pink); color: #fff; }
.nav-arrow:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.nav-arrow:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.nav-arrow:disabled { opacity: .35; cursor: default; }
.nerd-n { min-width: 64px; text-align: center; font: 400 18px "Titan One", sans-serif; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.dots .dot { width: 30px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots .dot::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; transition: transform .15s; }
.dots .dot:hover::before { transform: scale(1.15); }
.dots .dot.cur::before { background: var(--pink); transform: scale(1.2); box-shadow: 2px 2px 0 var(--ink); }
.nerd-auto { justify-self: center; }
.nerd-bub p { font-size: 15px; } .nerd-bub b { font-size: 18px; }
.ever { display: inline-block; margin-left: 6px; padding: 1px 9px; font: 400 12px "Titan One", sans-serif; letter-spacing: .02em; text-transform: none;
  color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; transform: rotate(-3deg); vertical-align: 1px; }
@media (max-width: 440px) { .dots { width: 100%; } .nerd-bub p { font-size: 14px; } }
@media (min-width: 760px) {
  .nerd[open] .nerd-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .nerd-arrows { width: auto; order: 0; } .nerd-arrows #nerd-next { order: 3; }
  .dots { flex-wrap: nowrap; width: auto; }
  .flow { max-height: calc(100dvh - 200px); }
}
@media (max-width: 759px) { .flow { max-height: 36dvh; width: auto; max-width: 100%; } .nerd-host { margin-bottom: 2px; } }
.nerd-nav .dots { order: 1; } .nerd-nav .nerd-auto { order: 2; }
@media (max-width: 440px) { .dots { gap: 0; flex-wrap: nowrap; } .dots .dot { width: 26px; } }
@media (min-width: 720px) { .split { grid-template-columns: repeat(3, 1fr); } }
.split [hidden], .split[hidden] { display: none; }

.split .sp-step span i { font-style: normal; }
