/* Snagged Hunt — dark "cryptology / the matrix" theme.
   Layers on brand/snagged-brand.css (loaded first) but overrides the palette to a
   near-black, mysterious world: coral stays the action color, cyan is the "code"
   glow, monospace carries the cipher feel, Gasoek One stays for big headings. */

:root {
  --hbg: #06111a;        /* near-black navy page */
  --hbg-2: #0a1a26;      /* raised band */
  --surface: #102634;    /* cards */
  --surface-2: #0d2130;
  --hline: #1e3d52;      /* hairline border */
  --ink: #e9f2f5;        /* primary light text */
  --ink-dim: #93adbb;    /* muted */
  --code: #5fd0c4;       /* cyan code glow */
  --code-dim: #2f7d79;
  --coral: #e48069;      /* brand accent / primary action */
  --coral-deep: #c75f45;
  --gold: #e0a93f;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

html, body { background: var(--hbg); }
body { color: var(--ink); }
h1, h2, h3 { color: #fff; }
a { color: var(--code); }
a:hover { color: #86e4da; }
::selection { background: rgba(228,128,105,.35); color: #fff; }

/* full-page digital rain, behind everything */
#rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .1; pointer-events: none; }
body > * { position: relative; z-index: 1; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6,17,26,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { gap: 9px; color: var(--ink); font-size: 1.32rem; letter-spacing: -.02em; }
.wordmark .wm-a { color: #fff; }
.wordmark .wm-b { color: var(--coral); }
.wordmark .wm-txt { white-space: nowrap; } /* one text run: a normal word space, not the flex gap */
.brand-mark { width: 34px; height: 34px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { color: var(--ink-dim); font-weight: 600; }
.nav__links a:hover { color: #fff; text-decoration: none; }
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: #2a1410; }

/* ---------- buttons (clean, glow instead of the sticker offset) ---------- */
.btn { border-width: 0; border-radius: 12px; font-weight: 700; }
.btn--primary { background: var(--coral); color: #2a1410; box-shadow: 0 8px 26px -10px rgba(228,128,105,.8); }
.btn--primary:hover { background: #ef9077; transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(228,128,105,.9); }
.btn--primary:active { transform: translateY(0); }
.hero__ghost, .btn.hero__ghost {
  background: rgba(95,208,196,.06); color: var(--ink);
  border: 1.5px solid rgba(95,208,196,.4); box-shadow: none;
}
.hero__ghost:hover { background: rgba(95,208,196,.12); border-color: var(--code); transform: translateY(-2px); text-decoration: none; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 90% at 78% 10%, rgba(37,116,156,.22), transparent 60%), linear-gradient(170deg, #081824 0%, #06111a 70%); overflow: hidden; border-bottom: 1px solid var(--hline); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 66px; padding-bottom: 74px; }
.hero h1 {
  font-family: var(--display); color: #fff; margin: 16px 0 18px;
  font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: .86; letter-spacing: -.015em;
  text-shadow: 0 0 40px rgba(95,208,196,.18);
}
.hero h1 .accent { color: var(--coral); text-shadow: 0 0 44px rgba(228,128,105,.45); }
.hero p.lede { font-size: 1.22rem; color: #c6d7df; max-width: 36ch; margin-bottom: 26px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 16px; font-family: var(--mono); font-size: .82rem; color: var(--code-dim); letter-spacing: .02em; }
.hero__art { position: relative; text-align: center; }
.hero__art img { width: min(360px, 82%); margin: 0 auto; filter: drop-shadow(0 20px 46px rgba(0,0,0,.6)); }

/* $10k grand prize — part of the heading */
.hero__prize { display: flex; align-items: center; gap: 18px; margin: 4px 0 24px; }
.hero__prize-amt { font-family: var(--display); font-size: clamp(3.6rem, 9vw, 6.6rem); line-height: .9; color: var(--gold);
  text-shadow: 0 0 50px rgba(224,169,63,.55); letter-spacing: -.01em; }
.hero__prize-lbl { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: clamp(.85rem, 1.6vw, 1.05rem); line-height: 1.35; color: var(--gold);
  border-left: 2px solid rgba(224,169,63,.6); padding-left: 16px; }

/* glowing cipher pill */
.pill, .eyebrow { font-family: var(--mono); letter-spacing: .08em; }
.eyebrow--onDeep { color: var(--gold); background: rgba(224,169,63,.1); border: 1.5px solid rgba(224,169,63,.4); text-shadow: 0 0 20px rgba(224,169,63,.4); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--hbg-2); border-top: 1px solid var(--hline); border-bottom: 1px solid var(--hline); }
.section h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .5em; }
.section .kicker {
  display: inline-block; font-family: var(--mono); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; color: var(--code); margin-bottom: 14px;
}
.section .kicker::before { content: "> "; color: var(--code-dim); }
.lead-copy { font-size: 1.18rem; max-width: 62ch; color: #c2d4dc; }
.lead-copy strong { color: #fff; }
.muted { color: var(--ink-dim); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.step { background: var(--surface); border: 1px solid var(--hline); border-radius: 16px; padding: 22px; transition: border-color .18s, transform .18s; }
.step:hover { border-color: var(--code); transform: translateY(-3px); }
.step__n { font-family: var(--mono); font-size: 1.2rem; color: var(--code); opacity: .9; }
.step__n::before { content: "0"; }
.step h3 { font-family: var(--body); font-weight: 800; font-size: 1.1rem; color: #fff; margin: 10px 0 6px; }
.step p { color: var(--ink-dim); font-size: .97rem; margin: 0; }

/* ---------- prizes ---------- */
.prizes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: 34px; }
.prize { background: var(--surface); border: 1px solid var(--hline); border-radius: 18px; padding: 26px 24px; text-align: center; }
.prize--gold { border-color: rgba(224,169,63,.55); background: linear-gradient(170deg, rgba(224,169,63,.1), var(--surface) 60%); box-shadow: 0 0 60px -22px rgba(224,169,63,.55); }
.prize__medal { font-size: 1.9rem; }
.prize__amt { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.1rem); color: #fff; line-height: 1; margin-top: 8px; }
.prize--gold .prize__amt { color: var(--gold); text-shadow: 0 0 30px rgba(224,169,63,.5); }
.prize__x { font-family: var(--mono); font-size: .9rem; color: var(--ink-dim); margin-left: 8px; vertical-align: middle; }
.prize__lbl { font-weight: 800; margin-top: 10px; color: #fff; }
.prize__sub { font-size: .92rem; color: var(--ink-dim); margin-top: 3px; }
.prize__total { margin-top: 22px; font-family: var(--mono); font-size: .92rem; letter-spacing: .02em; }

/* ---------- fragments ---------- */
.frags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.frag-card { background: var(--surface-2); border: 1.5px dashed var(--code-dim); border-radius: 14px; padding: 20px 10px; text-align: center; }
.frag-card .k { font-size: 1.5rem; color: var(--code-dim); }
.frag-card .lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-top: 8px; }
.frag-card--earned { border-style: solid; border-color: var(--coral); box-shadow: 0 0 34px -12px rgba(228,128,105,.7); }
.frag-card--earned .k { font-family: var(--display); font-size: 1.1rem; letter-spacing: .14em; color: var(--coral); }

/* ---------- footer ---------- */
.foot { background: #040c13; color: var(--ink-dim); padding: 44px 0; border-top: 1px solid var(--hline); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot a { color: #cfe0e6; }

/* ================= PLAY SCREEN ================= */
.play { min-height: calc(100vh - 64px); padding: 44px 0 80px; }
.play .wrap { max-width: 760px; }
.tracker { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tracker .lbl { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--code); margin-right: 4px; }
.frag-chip { font-family: var(--mono); letter-spacing: .1em; font-size: .82rem; color: var(--ink-dim); background: var(--surface-2); border: 1.5px dashed var(--code-dim); padding: 7px 12px; border-radius: 10px; }
.frag-chip--filled { font-family: var(--display); color: var(--coral); border-style: solid; border-color: var(--coral); box-shadow: 0 0 24px -10px rgba(228,128,105,.8); }

.clue-card { background: var(--surface); border: 1px solid var(--hline); border-radius: 18px; padding: 30px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.clue-card .clue-title { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: 14px; }
.clue-card .clue-body { font-size: 1.12rem; line-height: 1.62; color: #d7e4ea; }
.clue-card .clue-hint { margin-top: 16px; font-family: var(--mono); font-size: .9rem; color: var(--code); border-left: 2px solid var(--code-dim); padding-left: 12px; }

.offsite-note { margin-top: 20px; font-size: .98rem; color: var(--ink-dim); }
.code-toggle { margin-top: 18px; }
.code-toggle .btn { font-size: .95rem; padding: 10px 18px; }

.answer { margin-top: 24px; }
.answer label { display: block; font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--code); margin-bottom: 9px; }
.answer__row { display: flex; gap: 10px; }
.answer__row .field { flex: 1; background: #071620; border: 1.5px solid var(--hline); color: #fff; font-family: var(--mono); letter-spacing: .04em; }
.answer__row .field::placeholder { color: #4d6b7a; }
.answer__row .field:focus { border-color: var(--code); box-shadow: 0 0 0 3px rgba(95,208,196,.15); outline: none; }
.answer__msg { margin-top: 14px; font-family: var(--mono); font-size: .92rem; min-height: 1.3em; }
.answer__msg.ok { color: #58d39a; }
.answer__msg.err { color: var(--coral); }
.answer__msg.lock { color: var(--gold); }

.celebrate { text-align: center; padding: 16px 0; }
.celebrate img { width: 150px; margin: 0 auto 10px; }
.celebrate .big { font-family: var(--display); font-size: 2rem; color: var(--coral); text-shadow: 0 0 34px rgba(228,128,105,.5); }

@keyframes pop { 0%{transform:scale(.6);opacity:0} 60%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }
.pop { animation: pop .5s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-7px)} 40%{transform:translateX(7px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)} }
.shake { animation: shake .4s ease both; }


/* ---------- grand prize (dominant) + small prizes ---------- */
.grand { margin-top: 26px; text-align: center; padding: 46px 20px 40px; border-radius: 24px;
  border: 1px solid rgba(224,169,63,.55);
  background: radial-gradient(90% 120% at 50% 0%, rgba(224,169,63,.16), transparent 70%), var(--surface);
  box-shadow: 0 0 90px -30px rgba(224,169,63,.7); }
.grand__lbl { font-family: var(--mono); text-transform: uppercase; letter-spacing: .22em; font-size: .9rem; color: var(--gold); }
.grand__amt { font-family: var(--display); font-size: clamp(4.2rem, 15vw, 10rem); line-height: .92; color: var(--gold);
  text-shadow: 0 0 60px rgba(224,169,63,.55); margin: 10px 0 6px; letter-spacing: -.01em; }
.grand__sub { font-size: 1.2rem; color: #d7e4ea; }
.prizes--small { grid-template-columns: 1fr 1fr; max-width: 560px; margin: 18px auto 0; }
.prizes--small .prize { padding: 16px; }
.prizes--small .prize__amt { font-size: 1.7rem; }
.prize__total { text-align: center; }

/* ---------- nav: signed-in hunter ---------- */
.who { font-size: .9rem; color: var(--ink-dim); }
.who a { color: var(--ink-dim); text-decoration: underline; }
.mono { font-family: var(--mono); }

/* ---------- account pages ---------- */
.auth { min-height: calc(100vh - 64px); padding: 44px 0 80px; }
.auth .wrap { max-width: 520px; }
.auth-card { background: var(--surface); border: 1px solid var(--hline); border-radius: 18px; padding: 30px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.auth-card .clue-title { font-family: var(--display); font-size: 1.7rem; color: #fff; margin-bottom: 10px; }
.af-sub { color: #c2d4dc; line-height: 1.55; }
.af-label { display: block; margin: 16px 0 7px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--code); }
.af-input { width: 100%; background: #071620; border: 1.5px solid var(--hline); color: #fff; }
.af-input:focus { border-color: var(--code); box-shadow: 0 0 0 3px rgba(95,208,196,.15); outline: none; }
.af-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 6px; color: #c2d4dc; font-size: .95rem; cursor: pointer; }
.af-check input { margin-top: 4px; accent-color: var(--coral); width: 18px; height: 18px; }
.af-go { width: 100%; margin-top: 20px; }
.af-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.af-alt { margin-top: 20px; font-size: .95rem; color: var(--ink-dim); text-align: center; }
.af-ok { color: #58d39a; font-family: var(--mono); font-size: .92rem; }
.af-warn { color: var(--gold); font-family: var(--mono); font-size: .9rem; border-left: 2px solid var(--gold); padding-left: 10px; }
.ts-slot { margin-top: 16px; min-height: 65px; }
.auth-foot { text-align: center; margin-top: 18px; font-family: var(--mono); font-size: .8rem; color: var(--code-dim); }
.auth-foot b { color: var(--gold); }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; }
.stepper li { flex: 1; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim);
  border-top: 2px solid var(--hline); padding-top: 8px; }
.stepper li span { display: block; font-size: .9rem; color: var(--code-dim); }
.stepper li.on { color: #fff; border-color: var(--coral); }
.stepper li.on span { color: var(--coral); }
.stepper li.done { color: var(--code); border-color: var(--code); }
.stepper li.done span { color: var(--code); }

/* ---------- segment countdown ---------- */
.countdown-box { margin-top: 24px; text-align: center; padding: 22px; border: 1px dashed var(--code-dim); border-radius: 14px; background: var(--surface-2); }
.countdown-box .lbl { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--code); }
.countdown { font-size: clamp(2rem, 7vw, 3rem); color: #fff; margin: 8px 0; text-shadow: 0 0 30px rgba(95,208,196,.35); }

/* ---------- rules ---------- */
.rules { max-width: 760px; }
.rules h3 { font-family: var(--body); font-weight: 800; color: #fff; margin: 30px 0 8px; font-size: 1.2rem; }
.rules ul { color: #c2d4dc; line-height: 1.6; padding-left: 20px; }
.rules li { margin: 6px 0; }

/* ---------- off-site clue pages (khloe.co …) ---------- */
.site-clue { min-height: 100vh; display: flex; align-items: center; padding: 40px 0; }
.site-clue .wrap { max-width: 640px; }
.site-clue__kicker { font-family: var(--mono); color: var(--code); letter-spacing: .1em; margin-bottom: 14px; }
.site-clue__ps { margin-top: 14px; font-family: var(--mono); font-size: .85rem; color: var(--code-dim); font-style: italic; }
.site-clue__foot { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: .8rem; color: var(--code-dim); }
.site-clue__addr { margin: 16px auto 0; max-width: 340px; padding: 14px 18px; border: 1px dashed var(--code-dim); border-radius: 10px; font-style: normal; font-family: var(--mono); font-size: .9rem; line-height: 1.6; color: var(--code); text-align: left; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 46px; padding-bottom: 54px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__prize { justify-content: center; }
  .hero__art { order: -1; } .hero__art img { width: min(230px, 58%); }
  .steps { grid-template-columns: 1fr 1fr; }
  .prizes { grid-template-columns: 1fr; }
  .prizes--small { grid-template-columns: 1fr 1fr; }
  .frags { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .frags { grid-template-columns: 1fr 1fr; }
  .nav__links a.hide-sm { display: none; }
  .answer__row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pop, .shake { animation: none; } #rain { opacity: .05; } }

/* ---------- answer feedback: lock ring + full-screen win/lose effects ---------- */
.lockbox { display:flex; align-items:center; gap:16px; margin-top:14px; padding:14px 16px; border:1px solid rgba(228,128,105,.35); border-radius:14px; background:rgba(228,128,105,.07); animation: pop .35s ease both; }
.lockbox--done { opacity:0; transition: opacity .35s; }
.lockring { width:76px; height:76px; flex:none; transform: rotate(-90deg); }
.lockring__bg { fill:none; stroke:rgba(255,255,255,.08); stroke-width:8; }
.lockring__fg { fill:none; stroke:var(--coral); stroke-width:8; stroke-linecap:round; transition: stroke-dashoffset .1s linear; filter: drop-shadow(0 0 6px rgba(228,128,105,.6)); }
.lockring__num { transform: rotate(90deg); transform-origin:50px 50px; fill:#fff; font-family:var(--mono); font-size:24px; font-weight:700; }
.lockbox__h { font-family:var(--display); color:#fff; font-size:1.05rem; }
.lockbox__sub { color:#b9c9d1; font-size:.92rem; margin-top:4px; }
.lockbox__sub b { color:var(--gold); font-family:var(--mono); }

.clue-card.glow { box-shadow: 0 0 0 2px #58d39a, 0 0 60px rgba(88,211,154,.45); transition: box-shadow .3s; }

.fx { position:fixed; inset:0; z-index:100; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display:grid; place-items:center; pointer-events:none; animation: fxIn .25s ease both; }
.fx--out { animation: fxOut .35s ease both; }
.fx--win { background: radial-gradient(circle at 50% 45%, rgba(88,211,154,.28), rgba(6,17,26,.82) 60%); }
.fx--lose { background: radial-gradient(circle at 50% 45%, rgba(228,128,105,.30), rgba(6,17,26,.88) 62%); }
.fx__stage { position:relative; display:grid; justify-items:center; text-align:center; }
.fx__icon { width:132px; height:132px; border-radius:50%; display:grid; place-items:center; font-size:72px; font-weight:800; color:#06111a; position:relative; z-index:2; }
.fx--win .fx__icon { background:#58d39a; box-shadow:0 0 70px rgba(88,211,154,.8); animation: fxPop .6s cubic-bezier(.2,1.6,.4,1) both; }
.fx--lose .fx__icon { background:var(--coral); color:#2a1410; box-shadow:0 0 60px rgba(228,128,105,.7); animation: fxStamp .45s cubic-bezier(.3,1.5,.5,1) both, shake .4s .45s ease both; }
.fx__ring { position:absolute; top:0; left:50%; width:132px; height:132px; margin-left:-66px; border-radius:50%; z-index:1; }
.fx--win .fx__ring { border:3px solid #58d39a; animation: fxRing .9s ease-out .1s both; }
.fx__title { margin-top:22px; font-family:var(--display); font-size:clamp(2rem,7vw,3.2rem); color:#fff; animation: fxUp .5s .15s ease both; }
.fx--win .fx__title { text-shadow:0 0 30px rgba(88,211,154,.7); }
.fx--lose .fx__title { color:var(--coral); }
.fx__sub { margin-top:6px; font-family:var(--mono); color:#d7e4ea; font-size:1.05rem; letter-spacing:.06em; animation: fxUp .5s .25s ease both; }
.fx--win .fx__sub { color:var(--gold); font-size:1.4rem; }
.fx__bit { position:absolute; top:58px; left:50%; width:9px; height:15px; margin-left:-4px; border-radius:2px; background:var(--c); z-index:0; animation: fxBit 1.3s cubic-bezier(.15,.7,.3,1) both; }
@keyframes fxIn { from{opacity:0} to{opacity:1} }
@keyframes fxOut { to{opacity:0} }
@keyframes fxPop { 0%{transform:scale(0)} 70%{transform:scale(1.18)} 100%{transform:scale(1)} }
@keyframes fxStamp { 0%{transform:scale(2.4) rotate(-12deg);opacity:0} 100%{transform:scale(1) rotate(0);opacity:1} }
@keyframes fxRing { from{transform:scale(1);opacity:.9} to{transform:scale(2.6);opacity:0} }
@keyframes fxUp { from{transform:translateY(14px);opacity:0} to{transform:none;opacity:1} }
@keyframes fxBit { 0%{transform:rotate(var(--a)) translateY(0) rotate(0);opacity:1} 100%{transform:rotate(var(--a)) translateY(calc(var(--d) * -1)) rotate(var(--r));opacity:0} }
@media (max-width: 560px) { .fx__icon{width:104px;height:104px;font-size:56px} .fx__ring{width:104px;height:104px;margin-left:-52px} .lockring{width:64px;height:64px} }
@media (prefers-reduced-motion: reduce) { .fx, .fx *, .lockbox { animation:none !important; } .fx__bit { display:none; } }

/* ---------- fragment banked: the tacklebox ---------- */
.frag-chip--filled[style*="--gem"] { color: var(--gem); border-color: var(--gem); box-shadow: 0 0 24px -8px var(--gem); }
.tbx { position:fixed; inset:0; z-index:110; display:grid; place-items:center; pointer-events:none;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--gem) 22%, transparent), rgba(4,11,17,.96) 62%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fxIn .3s ease both; }
.tbx--out { animation: fxOut .4s ease both; }
.tbx__stage { display:grid; justify-items:center; text-align:center; padding:20px; }
.tbx__kicker { font-family:var(--mono); text-transform:uppercase; letter-spacing:.24em; font-size:.8rem; color:var(--gem); animation: fxUp .4s ease both; }
.tbx__word { min-height:1.2em; margin:14px 0 26px; font-family:var(--display); font-size:clamp(2.4rem,9vw,4.4rem); letter-spacing:.14em; color:#fff;
  text-shadow: 0 0 24px var(--gem); transition: transform .6s cubic-bezier(.5,0,.75,0), opacity .6s; }
.tbx__ch { display:inline-block; animation: tbxCh .3s cubic-bezier(.2,1.6,.4,1) both; }
.tbx--drop .tbx__word { transform: translateY(150px) scale(.18); opacity:0; }

.tb { position:relative; width:min(420px,86vw); perspective: 900px; }
.tb__tray { position:relative; z-index:1; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; padding:10px; height:74px;
  background:#2b3b46; border:3px solid #172a36; border-bottom:none; border-radius:10px 10px 0 0; box-shadow: inset 0 6px 14px rgba(0,0,0,.5); }
.tb-slot { position:relative; border-radius:6px; background:#11222c; box-shadow: inset 0 3px 8px rgba(0,0,0,.6); display:grid; place-items:center; }
.tb-slot--target { box-shadow: inset 0 3px 8px rgba(0,0,0,.6), 0 0 0 2px var(--gem); animation: tbPulse 1s ease-in-out infinite; }
.tb-stone { width:62%; aspect-ratio:1; border-radius:30% 30% 46% 46%; background: radial-gradient(circle at 34% 30%, #fff 0 10%, var(--gem) 40%, color-mix(in srgb, var(--gem) 55%, #000) 100%);
  box-shadow: 0 0 18px var(--gem), 0 0 40px color-mix(in srgb, var(--gem) 60%, transparent); }
.tb-slot--old .tb-stone { opacity:.75; box-shadow: 0 0 10px var(--gem); }
.tbx--lit .tb-slot--target .tb-stone { animation: tbStone .7s cubic-bezier(.2,1.6,.4,1) both; }
.tbx--lit .tb { filter: drop-shadow(0 0 40px var(--gem)); }
.tb__body { position:relative; z-index:2; height:88px; background: linear-gradient(#e48069, #c75f45); border:3px solid #172a36; border-radius:0 0 14px 14px;
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.18), 0 20px 40px rgba(0,0,0,.5); }
.tb__latch { position:absolute; top:-8px; left:50%; width:46px; height:22px; margin-left:-23px; background:#f2c14e; border:3px solid #172a36; border-radius:6px; }
.tb__lid { position:absolute; z-index:3; left:-3px; right:-3px; bottom:88px; height:74px; transform-origin: 50% 0%; transform: rotateX(0deg);
  transition: transform .65s cubic-bezier(.5,-.3,.3,1.3); }
.tb__lidface { position:absolute; inset:0; background: linear-gradient(#f08d75, #e48069); border:3px solid #172a36; border-radius:16px 16px 4px 4px;
  display:grid; place-items:center; box-shadow: inset 0 8px 0 rgba(255,255,255,.18); backface-visibility:hidden; }
.tb__logo { font-family:var(--mono); font-weight:700; letter-spacing:.2em; font-size:.72rem; color:#2a1410; background:#f2c14e; padding:4px 10px; border-radius:6px; border:2px solid #172a36; }
.tbx--open .tb__lid { transform: rotateX(150deg); }
.tb__logo { transition: opacity .2s; }
.tbx--open .tb__logo { opacity: 0; }
.tbx--shut .tb__logo { opacity: 1; transition-delay: .15s; }
.tbx--shut .tb__lid { transform: rotateX(0deg); transition-duration:.3s; }
.tbx--shut .tb { animation: tbClack .35s .25s ease both; }
.tbx__done { margin-top:30px; opacity:0; transform: translateY(14px); transition: all .45s ease; }
.tbx--fin .tbx__done { opacity:1; transform:none; }
.tbx__banked { font-family:var(--mono); text-transform:uppercase; letter-spacing:.2em; color:#b9c9d1; font-size:.85rem; }
.tbx__name { font-family:var(--display); font-size:clamp(2rem,7vw,3rem); letter-spacing:.14em; color:var(--gem); text-shadow:0 0 30px var(--gem); margin-top:4px; }
.tbx__hint { margin-top:12px; color:#8fa6b2; font-size:.9rem; }
@keyframes tbxCh { from{transform:translateY(-20px) scale(1.6);opacity:0} to{transform:none;opacity:1} }
@keyframes tbPulse { 50% { box-shadow: inset 0 3px 8px rgba(0,0,0,.6), 0 0 0 2px var(--gem), 0 0 22px var(--gem); } }
@keyframes tbStone { 0%{transform:scale(0) rotate(-40deg)} 100%{transform:none} }
@keyframes tbClack { 30%{transform:translateY(6px) scaleY(.97)} 100%{transform:none} }
.tbx--still .tb__lid, .tbx--still .tbx__word, .tbx--still .tbx__done { transition:none; }
@media (prefers-reduced-motion: reduce) { .tbx, .tbx * { animation:none !important; } }

.terms__draft { border:1px solid rgba(242,193,78,.45); background:rgba(242,193,78,.08); color:#f2d48a; padding:12px 14px; border-radius:10px; font-size:.92rem; }
.terms p { line-height:1.6; }

.foot--slim { padding: 22px 0; text-align: center; font-size: .85rem; }
.foot--slim .wrap { justify-content: center; }

.kicker-mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--code); margin-bottom: 8px; }
.alerts { margin-top: 18px; padding: 18px; border: 1px solid var(--hline); border-radius: 14px; background: rgba(95,208,196,.05); }
.alerts__h { font-family: var(--display); color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.alerts__x { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: #000; border: 1px solid #333; color: #fff; font-weight: 700; text-decoration: none; }
.alerts__x:hover { border-color: var(--code); }
.alerts__xlogo { font-size: 1.15rem; }
.alerts__form { margin-top: 14px; }
.alerts__form label { display: block; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--code); margin-bottom: 8px; }
.tester-bar { margin: 18px auto 0; max-width: 640px; padding: 10px 14px; border: 1px dashed #f2c14e; border-radius: 10px; font-size: .85rem; color: #f2c14e; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tester-bar select { background: #0b1d2a; color: #e8f1f2; border: 1px solid #2a4a5a; border-radius: 6px; padding: 4px 6px; }
.tester-bar .btn { padding: 4px 12px; min-height: 0; font-size: .85rem; }
.af-test { border: 1px dashed #f2c14e; border-radius: 8px; padding: 8px 10px; color: #f2c14e; }

/* Review earlier clues (play page) */
.review { margin-top: 18px; }
.review__toggle { width: 100%; text-align: left; background: transparent; border: 1px solid var(--hline); border-radius: 12px; padding: 12px 16px; color: var(--code); font-family: var(--mono); font-size: .92rem; cursor: pointer; }
.review__toggle:hover { border-color: var(--code-dim); }
.review__seg { margin-top: 10px; background: var(--surface); border: 1px solid var(--hline); border-radius: 12px; padding: 4px 16px; }
.review__seg > summary { cursor: pointer; padding: 10px 0; color: #fff; font-weight: 700; }
.review__item { border-top: 1px solid var(--hline); padding: 14px 0; }
.review__title { color: #fff; font-weight: 700; margin-bottom: 6px; }
.review__body { color: #d7e4ea; line-height: 1.55; }
.review__ans { margin-top: 10px; font-size: .9rem; color: #9fb3bd; }
.review__ans .mono { color: #58d39a; }

.review__trail{margin:12px 0 4px;padding:10px 14px;border-left:2px solid var(--code,#5fd0c4);background:rgba(95,208,196,.05);border-radius:0 8px 8px 0}
.review__trailhd{font-family:ui-monospace,monospace;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--code,#5fd0c4);margin-bottom:6px}
.review__trail ol{margin:0;padding-left:20px}
.review__trail li{margin:6px 0;line-height:1.45}
.review__trail a{color:#cfe9e5}
.review__img{display:block;margin:8px 0 4px}
.review__img img{max-width:min(100%,360px);max-height:240px;border-radius:8px;border:1px solid rgba(255,255,255,.12);display:block}

/* "Have the line call me" (play.js callmeHtml) */
.callme{margin-top:22px;border-top:1px solid rgba(95,208,196,.18);padding-top:14px}
.callme summary{cursor:pointer;color:var(--code,#5fd0c4);font-size:.95rem}
.callme p{margin:10px 0}
.callme__form{display:flex;gap:8px;flex-wrap:wrap}
.callme__form input{flex:1 1 220px;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(95,208,196,.35);background:rgba(6,17,26,.7);color:inherit;font-size:1rem}
.callme__msg{margin-top:8px;font-size:.92rem;min-height:1.2em}

/* ===== The finish: takeover + certificate (win.js) ===== */
.clue-card--win { padding: 0; overflow: hidden; }
.win { position: relative; text-align: center; padding: 34px 22px 28px; overflow: hidden; }
.win--gold { background: radial-gradient(ellipse at 50% 0%, rgba(255,200,40,.28), transparent 60%); }
.win--silver { background: radial-gradient(ellipse at 50% 0%, rgba(191,227,238,.22), transparent 60%); }
.win--bronze { background: radial-gradient(ellipse at 50% 0%, rgba(255,160,100,.22), transparent 60%); }
.win--teal { background: radial-gradient(ellipse at 50% 0%, rgba(95,208,196,.2), transparent 60%); }
.win__fw { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.win > *:not(.win__fw) { position: relative; }
.win__kicker { color: #f2c14e; letter-spacing: .3em; font-size: .8rem; }
.win__place { font-family: var(--display); line-height: .9; margin: 10px 0 4px; }
.win__num { font-size: clamp(6rem, 22vw, 10rem); background: linear-gradient(180deg, #fff6c8, #f2c14e 45%, #b8862a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(242,193,78,.45)); }
.win--silver .win__num { background-image: linear-gradient(180deg, #fff, #cfd8e0 50%, #8a9aa6); filter: drop-shadow(0 0 26px rgba(191,227,238,.4)); }
.win--bronze .win__num { background-image: linear-gradient(180deg, #ffe3c8, #e8945a 50%, #9a5a2c); filter: drop-shadow(0 0 26px rgba(232,148,90,.4)); }
.win__suf { font-size: clamp(2rem, 7vw, 3.4rem); color: #f2c14e; vertical-align: top; margin-left: 4px; }
.win__head { font-family: var(--display); font-size: clamp(1.4rem, 4.5vw, 2.2rem); color: #fff; letter-spacing: .02em; }
.win__head--big { font-size: clamp(2rem, 7vw, 3.4rem); margin-top: 14px; }
.win__prize { font-family: var(--display); font-size: clamp(3rem, 12vw, 5.6rem); color: #ffd84d; text-shadow: 0 0 40px rgba(255,200,40,.6); margin: 14px 0 0; line-height: 1; }
.win__prizelbl { color: #ffd84d; letter-spacing: .25em; font-size: .78rem; margin-top: 6px; }
.win__body { color: #c9d6de; max-width: 560px; margin: 14px auto 18px; }
.win__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.cert { margin: 6px auto 0; max-width: 760px; padding: 10px; border: 3px solid #e9c46a; border-radius: 6px; background: linear-gradient(135deg, #0a1b28, #04090f); box-shadow: 0 0 0 1px rgba(233,196,106,.3), 0 18px 60px rgba(0,0,0,.5); text-align: center; }
.cert__in { position: relative; border: 1px solid rgba(233,196,106,.6); padding: 26px 22px 22px; overflow: hidden; }
.cert__wm { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%) rotate(-18deg); font: 900 clamp(3rem, 12vw, 6rem)/1 Impact, 'Arial Black', sans-serif; color: rgba(255,90,70,.12); pointer-events: none; white-space: nowrap; }
.cert__brand { color: #5fd0c4; letter-spacing: .25em; font-size: .72rem; }
.cert__title { font: 700 clamp(1.5rem, 5vw, 2.3rem)/1.15 Georgia, 'Times New Roman', serif; color: #fff; margin-top: 6px; }
.cert__rule { width: 160px; height: 2px; background: #e9c46a; margin: 12px auto; }
.cert__line { color: #c9d6de; font: italic 1rem/1.5 Georgia, serif; margin: 6px 0; }
.cert__line .mono { font-style: normal; font-size: .8rem; color: #9fb3bf; }
.cert__name { font: 700 clamp(1.8rem, 7vw, 2.8rem)/1.1 Georgia, serif; color: #e9c46a; margin: 4px 0 6px; word-break: break-word; }
.cert__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 20px 0 16px; padding: 14px 0; border-top: 1px solid rgba(233,196,106,.3); border-bottom: 1px solid rgba(233,196,106,.3); }
.cert__k { color: #5fd0c4; font-size: .7rem; letter-spacing: .2em; }
.cert__v { color: #fff; font: 1rem/1.4 Georgia, serif; }
.cert__foot .cert__v { white-space: nowrap; }
.cert__v--big { font-size: 1.3rem; font-weight: 700; }
.cert__s { color: #7f95a2; font-size: .78rem; }
.cert__foot { display: flex; align-items: center; gap: 18px; text-align: left; justify-content: center; }
.cert__seal { flex: none; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, #e9c46a 60%, #b8892e 61%); box-shadow: 0 0 0 4px #b8892e, 0 0 0 6px rgba(233,196,106,.4); display: grid; place-items: center; transform: rotate(-12deg); }
.cert__seal span { font: 900 .78rem/1.05 Impact, 'Arial Black', sans-serif; color: #3b2a0a; text-align: center; }
.winfx { position: fixed; inset: 0; z-index: 100; background: radial-gradient(circle at 50% 45%, rgba(20,30,50,.92), rgba(1,3,8,.97)); display: grid; place-items: center; overflow: hidden; cursor: pointer; animation: winfxIn .35s ease-out; }
.winfx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.winfx__flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: winflash .9s ease-out; pointer-events: none; }
.winfx__rays { position: absolute; left: 50%; top: 45%; width: 220vmax; height: 220vmax; transform: translate(-50%,-50%); background: repeating-conic-gradient(rgba(255,216,77,.13) 0 6deg, transparent 6deg 18deg); animation: spin 18s linear infinite; pointer-events: none; }
.winfx--silver .winfx__rays { background: repeating-conic-gradient(rgba(191,227,238,.11) 0 6deg, transparent 6deg 18deg); }
.winfx--bronze .winfx__rays { background: repeating-conic-gradient(rgba(255,160,100,.11) 0 6deg, transparent 6deg 18deg); }
.winfx--teal .winfx__rays { background: repeating-conic-gradient(rgba(95,208,196,.1) 0 6deg, transparent 6deg 18deg); }
.winfx__stage { position: relative; text-align: center; padding: 20px; }
.winfx__k { color: #f2c14e; letter-spacing: .4em; font-size: clamp(.8rem, 2.5vw, 1.1rem); animation: rise .6s .2s both; }
.winfx__big { font-family: var(--display); font-size: clamp(5rem, 24vw, 14rem); line-height: .95; color: #fff; text-shadow: 0 0 60px rgba(255,216,77,.6), 6px 6px 0 #e48069; animation: slam .7s .35s cubic-bezier(.2,1.6,.4,1) both; }
.winfx--silver .winfx__big { text-shadow: 0 0 60px rgba(191,227,238,.6), 6px 6px 0 #5fd0c4; }
.winfx__sub { color: #fff; font-family: var(--display); font-size: clamp(1rem, 3.5vw, 1.6rem); letter-spacing: .06em; animation: rise .6s .8s both; }
.winfx__amt { font-family: var(--display); font-size: clamp(3.4rem, 14vw, 8rem); color: #ffd84d; text-shadow: 0 0 50px rgba(255,200,40,.75); margin-top: 8px; animation: rise .6s .9s both, pulse2 1.2s 2s ease-in-out infinite; }
.winfx__tap { color: rgba(255,255,255,.45); font-size: .75rem; letter-spacing: .3em; margin-top: 22px; animation: rise .6s 2s both; }
.winfx--out { animation: winfxOut .45s ease-in forwards; }
body.winfx-open { overflow: hidden; }
@keyframes winfxIn { from { opacity: 0 } }
@keyframes winfxOut { to { opacity: 0; transform: scale(1.06) } }
@keyframes winflash { 0% { opacity: .9 } 100% { opacity: 0 } }
@keyframes slam { from { transform: scale(3.2) rotate(-8deg); opacity: 0 } 70% { opacity: 1 } }
@keyframes rise { from { transform: translateY(24px); opacity: 0 } }
@keyframes pulse2 { 50% { transform: scale(1.06) } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .winfx, .winfx__flash, .winfx__rays, .winfx__k, .winfx__big, .winfx__sub, .winfx__amt, .winfx__tap { animation: none !important; } }
.nav-user { color: var(--code); font-size: .9rem; }
.hunter-no { margin-left: auto; border: 1px solid rgba(242,193,78,.55); color: #f2c14e; border-radius: 999px; padding: 4px 12px; font-size: .78rem; letter-spacing: .12em; box-shadow: 0 0 14px rgba(242,193,78,.2); }
.late-note { border: 1px solid rgba(95,208,196,.45); background: rgba(95,208,196,.08); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; color: #c9d6de; font-size: .95rem; }
.late-note b { color: #fff; }
.hero__late { margin-top: 8px; font-size: .92rem; color: var(--ink-dim); } .hero__late b { color: var(--code); }

/* ---------- invite 3 verified friends → extra hint ---------- */
.invite { margin-top: 12px; border: 1px solid rgba(95,208,196,.25); background: rgba(6,17,26,.7); border-radius: 12px; }
.inv__toggle { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #c9d6de; font: inherit; font-size: .9rem; padding: 10px 14px; cursor: pointer; text-align: left; }
.inv__toggle:hover .inv__title { color: #fff; }
.inv__caret { color: var(--code, #5fd0c4); width: 12px; }
.inv__toggle .inv__title { flex: 1; font-weight: 600; color: #dfe8ec; }
.inv__ready { font-size: .75rem; font-weight: 700; color: #06111a; background: var(--code, #5fd0c4); border-radius: 999px; padding: 2px 8px; }
.inv__panel { padding: 0 14px 14px; }
.inv__title { font-weight: 700; color: #fff; }
.inv__pips { display: inline-flex; gap: 6px; }
.inv__pip { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--code, #5fd0c4); }
.inv__pip.on { background: var(--code, #5fd0c4); box-shadow: 0 0 8px rgba(95,208,196,.7); }
.inv__body { margin: 0 0 10px; color: #c9d6de; font-size: .88rem; }
.inv__link { display: flex; gap: 8px; flex-wrap: wrap; }
.inv__link input { flex: 1 1 220px; min-width: 0; background: #0b1c28; color: #e8f1f5; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.inv__status { margin-top: 10px; font-size: .85rem; }
.xhint-row { margin: 14px 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.clue-hint.xhint { border-color: rgba(95,208,196,.6); }
/* Segment-unlock email opt-in on the waiting screen (2026-11-19) */
.alerts__mail { margin: 10px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.alerts__on { font-weight: 600; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; opacity: .75; }
.lockbox__note { margin-top:8px; font-weight:600; }

/* Tacklebox, bigger moment (Rob, 2026-11-19): a shockwave + sparks when the stone lights, the word flies into the rail. */
.tbx__rays { display:none; }
.tbx--lit::before { content:''; position:fixed; inset:-50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--gem) 22%, transparent) 0 8deg, transparent 8deg 22deg); animation: tbxRays 6s linear infinite, fxIn .5s ease both; pointer-events:none; z-index:-1; }
@keyframes tbxRays { to { transform: rotate(360deg); } }
.tbx__boom { position:absolute; left:50%; top:40%; width:0; height:0; z-index:5; pointer-events:none; }
.tbx__ring { position:absolute; left:-20px; top:-20px; width:40px; height:40px; border-radius:50%; border:4px solid var(--gem); animation: tbxRing .9s ease-out both; }
.tbx__ring--2 { animation-delay:.15s; border-width:2px; }
@keyframes tbxRing { from { transform: scale(.2); opacity:1; } to { transform: scale(9); opacity:0; } }
.tbx__boom i { position:absolute; left:calc(var(--s) / -2); top:calc(var(--s) / -2); width:var(--s); height:var(--s); border-radius:50%; background: var(--gem); box-shadow: 0 0 10px var(--gem); animation: tbxSpark .9s cubic-bezier(.1,.7,.3,1) both; }
@keyframes tbxSpark { from { transform: rotate(var(--a)) translateX(0) scale(1); opacity:1; } to { transform: rotate(var(--a)) translateX(var(--d)) scale(.2); opacity:0; } }
.tbx--lit .tb { animation: tbxHit .5s cubic-bezier(.2,1.8,.4,1) both; }
@keyframes tbxHit { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.frag-fly { position:fixed; z-index:120; display:grid; place-items:center; pointer-events:none; font-family:var(--display); font-size:clamp(2rem,7vw,3rem); letter-spacing:.14em; color: var(--gem); text-shadow: 0 0 30px var(--gem); white-space:nowrap; }
.frag-chip--new { animation: chipStamp .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes chipStamp { 0% { transform: scale(1.35) rotate(-4deg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--zred, #9a3b2e) 40%, transparent); } 60% { transform: scale(.96) rotate(1deg); } 100% { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .frag-fly, .tbx--lit::before, .tbx__boom { display:none; } .frag-chip--new { animation:none; } }
.alerts__xwrap { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-top:12px; }
.alerts__xwrap .alerts__x { margin-top:0; }
.alerts__xwhy { font-size:.9rem; color: var(--ink-dim); }

/* ---------- Tackle box v2: realistic steel box (Rob, 2026-11-19) ---------- */
.tk { position:relative; width:min(440px, 88vw); height:230px; margin:0 auto; perspective:1100px; }
.tk__body { position:absolute; left:0; right:0; bottom:18px; height:132px; z-index:3; border-radius:6px 6px 14px 14px;
  background:
    radial-gradient(60px 26px at 18% 70%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(40px 14px at 82% 32%, rgba(0,0,0,.22), transparent 70%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #3f7352 0%, #2f5a3e 38%, #22432e 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.16), inset 0 -10px 18px rgba(0,0,0,.35), inset 0 0 0 2px #142a1c, 0 2px 0 #0e1d13; }
.tk__body::before { content:''; position:absolute; left:10px; right:10px; top:14px; height:3px; border-radius:2px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.35), transparent); }
.tk__plate { position:absolute; left:50%; top:54px; transform:translateX(-50%); padding:7px 16px 6px; border-radius:4px; white-space:nowrap;
  font-family: var(--mono); font-weight:700; font-size:.78rem; letter-spacing:.18em; color:#3a2a0c; text-align:center;
  background: linear-gradient(180deg, #f1d488, #c99a3a 55%, #a87a22); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.3), 0 2px 3px rgba(0,0,0,.45); }
.tk__plate small { display:block; font-size:.56rem; letter-spacing:.22em; opacity:.75; margin-top:2px; }
.tk__rivet { position:absolute; width:9px; height:9px; border-radius:50%; background: radial-gradient(circle at 35% 30%, #fff 0 15%, #b9c0c4 40%, #5b6368 100%); box-shadow: 0 1px 1px rgba(0,0,0,.5); }
.tk__rivet--bl { left:12px; bottom:12px; } .tk__rivet--br { right:12px; bottom:12px; }
.tk__rivet--l { left:12px; bottom:10px; } .tk__rivet--r { right:12px; bottom:10px; }
.tk__latch { position:absolute; top:-12px; width:30px; height:34px; z-index:6; border-radius:4px 4px 7px 7px; transform-origin:50% 100%;
  background: linear-gradient(90deg, #8b9399, #f2f5f6 35%, #b7bec3 60%, #6d757a); box-shadow: inset 0 0 0 1.5px #3d4448, 0 3px 4px rgba(0,0,0,.45);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.tk__latch::after { content:''; position:absolute; left:8px; right:8px; top:6px; height:5px; border-radius:3px; background:#4a5156; }
.tk__latch--l { left:22%; } .tk__latch--r { right:22%; }
.tbx--unlatch .tk__latch { transform: translateY(14px) scaleY(.55); }
.tk__lid { position:absolute; left:-4px; right:-4px; bottom:150px; height:60px; z-index:4; transform-origin:50% 100%; transform-style:preserve-3d;
  transition: transform .75s cubic-bezier(.3,1.2,.4,1); }
.tk__lidface, .tk__lidback { position:absolute; inset:0; border-radius:12px 12px 3px 3px; backface-visibility:hidden; }
.tk__lidface { background:
    radial-gradient(50px 18px at 72% 40%, rgba(255,255,255,.08), transparent 70%),
    linear-gradient(180deg, #4b8460 0%, #36684a 55%, #2b553b 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 0 0 2px #142a1c, 0 2px 0 #0e1d13; }
.tk__lidback { transform: rotateX(180deg); background: linear-gradient(0deg, #1d3526, #2a4a35); box-shadow: inset 0 0 0 2px #142a1c, inset 0 8px 18px rgba(0,0,0,.5); }
.tk__handle { position:absolute; left:50%; top:-26px; width:120px; height:34px; margin-left:-60px; border:7px solid #c8cfd3; border-bottom:0;
  border-radius:40px 40px 0 0; box-shadow: inset 0 2px 0 rgba(0,0,0,.25), 0 -1px 0 #6d757a; }
.tk__trays { position:absolute; left:4%; right:4%; bottom:120px; height:120px; z-index:2; }
.tk__tray { position:absolute; left:0; right:0; bottom:0; height:58px; display:grid; grid-template-columns:repeat(5,1fr); gap:4px; padding:6px;
  border-radius:6px; background: linear-gradient(180deg, #3b3f3c, #262a28); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 2px #161917, 0 6px 10px rgba(0,0,0,.45);
  transition: transform .8s cubic-bezier(.3,1.25,.45,1); }
.tk__tray--back { transform: translateY(0); opacity:.95; }
.tk__tray--front { transform: translateY(0); }
.tbx--open .tk__lid { transform: rotateX(-112deg); }
.tbx--open .tk__tray--back { transform: translate(-7%, -96px); }
.tbx--open .tk__tray--front { transform: translate(7%, -36px); transition-delay:.12s; }
.tbx--shut .tk__lid { transform: rotateX(0deg); transition: transform .45s cubic-bezier(.6,0,.8,.6) .35s; }
.tbx--shut .tk__tray--back, .tbx--shut .tk__tray--front { transform: translate(0,0); transition: transform .45s cubic-bezier(.5,0,.75,0); }
.tbx--shut .tk__latch { transform:none; transition-delay:.8s; }
.tbx--shut .tk { animation: tkClank .3s .8s ease both; }
.tk-slot { position:relative; border-radius:4px; background: linear-gradient(180deg, #161918, #222624); box-shadow: inset 0 3px 6px rgba(0,0,0,.7), inset 0 -1px 0 rgba(255,255,255,.06);
  display:grid; place-items:center; overflow:visible; }
.tk-slot--target { box-shadow: inset 0 3px 6px rgba(0,0,0,.7), 0 0 0 2px var(--gem); }
.tbx--open .tk-slot--target { animation: tbPulse 1s ease-in-out infinite; }
.tk-tag { position:relative; max-width:94%; padding:5px 6px 4px 14px; border-radius:3px 6px 6px 3px; overflow:hidden; white-space:nowrap; text-overflow:clip;
  font-family: var(--mono); font-weight:700; font-size:clamp(.5rem, 1.9vw, .66rem); letter-spacing:.05em; color:#3a2a0c; text-shadow: 0 1px 0 rgba(255,255,255,.45);
  background: linear-gradient(180deg, #f3d98f, #cfa244 55%, #a77a24); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 2px 3px rgba(0,0,0,.6); }
.tk-tag::before { content:''; position:absolute; left:4px; top:50%; width:5px; height:5px; margin-top:-2.5px; border-radius:50%; background:#2a1d08; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); }
.tk-tag--old { opacity:.88; }
.tbx--lit .tk-slot--target .tk-tag { animation: tkLand .55s cubic-bezier(.2,1.6,.4,1) both; }
.tbx--lit .tk-slot--target { box-shadow: inset 0 3px 6px rgba(0,0,0,.7), 0 0 0 2px var(--gem), 0 0 26px var(--gem); animation:none; }
@keyframes tkLand { 0% { transform: translateY(-70px) rotate(-14deg) scale(1.5); opacity:0; } 55% { transform: translateY(4px) rotate(3deg) scale(.96); opacity:1; } 100% { transform:none; } }
@keyframes tkClank { 0%,100% { transform:none; } 30% { transform: translateY(3px); } 60% { transform: translateY(-1px); } }
.tbx--lit .tk { animation: tkClank .3s ease both; }
.tk-bobber { width:22px; height:22px; border-radius:50%; background: linear-gradient(180deg, #e2463a 0 50%, #f4f1ea 50%); box-shadow: inset -3px -3px 5px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.6); position:relative; }
.tk-bobber::after { content:''; position:absolute; left:50%; top:-8px; width:2px; height:9px; margin-left:-1px; background:#ddd; }
.tk-spoon { width:14px; height:28px; border-radius:50% 50% 50% 50% / 30% 30% 70% 70%; background: linear-gradient(110deg, #f6f8f9, #9aa3a8 50%, #e0e4e6); transform: rotate(28deg); box-shadow: 0 1px 2px rgba(0,0,0,.6); }
.tk-hooks { width:24px; height:22px; background:
  radial-gradient(circle at 30% 80%, transparent 4px, #aab1b5 4px 5.5px, transparent 6px) , radial-gradient(circle at 72% 70%, transparent 4px, #aab1b5 4px 5.5px, transparent 6px); }
.tk-sinkers { display:flex; gap:3px; } .tk-sinkers i { width:8px; height:8px; border-radius:50%; background: radial-gradient(circle at 35% 30%, #c3c7c9, #5d6366); }
.tk-worm { width:30px; height:12px; border:4px solid #8a3fb0; border-color:#8a3fb0 transparent transparent transparent; border-radius:50%; transform: rotate(-10deg); }
.tk__shadow { position:absolute; left:6%; right:6%; bottom:4px; height:18px; border-radius:50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); z-index:1; }
.tbx--real .tbx__word { position:relative; z-index:5; }
.tbx--flying .tbx__stage { opacity:0; transition: opacity .18s ease; }
.tbx--flying { animation: fxOut .7s ease .25s both; }
@media (max-width: 520px) { .tk { height:210px; } .tk__plate { font-size:.66rem; letter-spacing:.12em; padding:6px 10px 5px; } .tk__handle { width:96px; margin-left:-48px; } }
@media (prefers-reduced-motion: reduce) { .tk__lid, .tk__tray, .tk__latch { transition:none !important; } }
.tk-tag--long { font-size:clamp(.44rem, 1.5vw, .54rem); letter-spacing:0; padding-left:11px; padding-right:4px; }
.tk-tag--long::before { left:3px; width:4px; height:4px; margin-top:-2px; }
.tk__tray { height:62px; }
