/* Fridge Heist: design preview styles v2 (23 Nov 2026). Not the shipping CSS. */
@font-face { font-family: 'Shrikhand'; src: url(../assets/fonts/shrikhand.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url(../assets/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(../assets/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kalam'; src: url(../assets/fonts/kalam.woff2) format('woff2'); font-display: swap; }

:root {
  --plum: #1b0819; --plum2: #120511; --panel: #1f0a1d; --ink: #fff6ea; --dim: rgba(255, 246, 234, .76); --faint: rgba(255, 246, 234, .74);
  --gold: #ffc94d; --pink: #e83e8f; --pinkdk: #c42a74; --line: rgba(255, 246, 234, .14); --line2: rgba(255, 246, 234, .24);
  --glass: rgba(30, 9, 28, .72);
  --t-cream: #ffd9a0; --t-blue: #5cbcff; --t-purple: #b583ff; --t-gold: #ffbf3a; --t-cake: #ffd7a8;
  --pad: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--plum2); color: var(--ink); font: 400 15px/1.4 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow: hidden; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: -.01em; }
svg { flex: none; }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; background: var(--plum) center / cover no-repeat; }
.stage::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 75% at 50% 42%, transparent 55%, rgba(18, 5, 17, .6) 100%),
              linear-gradient(180deg, rgba(18, 5, 17, .86) 0, rgba(18, 5, 17, .3) 90px, transparent 140px); }
.stage.dim::after { content: ''; position: absolute; inset: 0; background: rgba(14, 4, 13, .62); backdrop-filter: blur(4px); }
.shade { position: fixed; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 0, rgba(18, 5, 17, .6) 26%, rgba(18, 5, 17, .94) 52%, #120511 100%); }

/* ---------- top bar ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; height: 62px; padding: 9px var(--pad) 0; display: flex; align-items: center; gap: 8px; z-index: 9; }
.mark { font: 400 25px/1 Shrikhand, serif; color: var(--ink); text-shadow: 2px 2px 0 var(--pink); white-space: nowrap; }
.back { display: inline-flex; align-items: center; gap: 4px; height: 44px; font: 600 15px Geist; }
.back svg { width: 20px; height: 20px; }
.top .sp { flex: 1; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); position: relative; }
.iconbtn svg { width: 19px; height: 19px; }
.iconbtn .bdg { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: #fff; font: 800 11px/18px Bricolage; text-align: center; padding: 0 4px; border: 2px solid var(--plum2); }
.pill { height: 44px; padding: 0 14px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); font: 600 14px/1 Geist; white-space: nowrap; }
.pill.cta { background: linear-gradient(180deg, #f2549c, var(--pinkdk)); border: 0; color: #fff; font: 800 15px Bricolage; }
.pill.streak { padding: 0 12px 0 10px; gap: 6px; font: 800 15px Bricolage; color: var(--gold); }
.pill.streak svg { width: 18px; height: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, .18); }

/* ---------- live feed ---------- */
.feed { position: fixed; top: 66px; left: var(--pad); right: var(--pad); z-index: 8; display: flex; justify-content: center; }
.feed .pill { height: 34px; font: 500 13px/1 Geist; color: var(--dim); padding: 0 14px; gap: 7px; }
.feed b { color: var(--ink); font-weight: 600; }
.feed em { font: 800 13.5px Bricolage; color: var(--gold); font-style: normal; margin-left: 4px; }
.tdot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ---------- dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) 12px; z-index: 6; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.stat { padding: 8px 12px 9px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.stat .k { font: 500 12.5px/1.2 Geist; color: var(--dim); }
.stat .v { font: 800 19px/1.15 Bricolage; color: var(--gold); margin-top: 2px; white-space: nowrap; }
.stat .v span { font: 600 12.5px Geist; color: var(--dim); margin-left: 4px; }
.card { background: rgba(31, 10, 29, .92); border: 1px solid var(--line); border-radius: 22px; padding: 12px; backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.pk { height: 52px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 246, 234, .04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.pk b { font: 800 18px/1 Bricolage; }
.pk span { font: 500 12px/1 Geist; color: var(--dim); }
.pk.on { border: 1.5px solid var(--gold); background: rgba(255, 201, 77, .1); }
.pk.on span { color: var(--gold); }
.btn { height: 56px; border-radius: 16px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 19px/1 Bricolage; letter-spacing: -.005em; white-space: nowrap; }
.btn.pink { background: linear-gradient(180deg, #ef4f99, var(--pinkdk)); color: #fff; box-shadow: 0 8px 24px rgba(232, 62, 143, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.gold { background: linear-gradient(180deg, #ffd56e, var(--gold)); color: #2a1206; }
.btn.ghost { background: rgba(255, 246, 234, .07); border: 1px solid var(--line2); color: var(--ink); }
.btn.sm { height: 48px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seal { display: flex; align-items: center; justify-content: center; gap: 7px; font: 500 13px/1 Geist; color: var(--dim); height: 30px; margin-top: 6px; }
.seal svg { width: 15px; height: 15px; color: var(--gold); }
.seal .mono { color: var(--ink); font-size: 12.5px; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4px; border-top: 1px solid var(--line); }
.links a { height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px/1 Geist; color: var(--ink); text-decoration: none; }
.links a + a { border-left: 1px solid var(--line); }
.links .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #2a1206; font: 800 12px/20px Bricolage; text-align: center; }
.foot { text-align: center; font: 600 13px/1 Geist; color: var(--faint); margin-top: 10px; }

/* ---------- characters ---------- */
.char { position: fixed; z-index: 4; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5)); pointer-events: none; }
.bubble { position: fixed; z-index: 10; background: var(--ink); color: var(--plum); font: 700 19px/1.1 Kalam, cursive; padding: 10px 15px 8px; border-radius: 17px; box-shadow: 0 10px 26px rgba(0, 0, 0, .38); white-space: nowrap; }
.bubble::after { content: ''; position: absolute; width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); border-radius: 3px; }
.bubble.bl::after { left: 20px; bottom: -6px; } .bubble.br::after { right: 20px; bottom: -6px; }
.bubble.l::after { left: -6px; top: 16px; } .bubble.r::after { right: -6px; top: 16px; }

/* ---------- reveal ---------- */
.halo { position: fixed; pointer-events: none; z-index: 2; border-radius: 50%; mix-blend-mode: screen; }
.hint { position: fixed; left: 0; right: 0; text-align: center; z-index: 7; display: flex; justify-content: center; }
.hpill { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 18px 11px; border-radius: 18px; background: rgba(27, 8, 25, .84); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.hpill b { font: 800 18px/1.15 Bricolage; }
.hpill span { font: 500 13.5px/1.3 Geist; color: var(--dim); margin-top: 3px; }
.swipe { position: fixed; z-index: 7; pointer-events: none; }
.prize { padding: 16px; border-radius: 24px; }
.prize .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.prize .tier { font: 400 34px/1 Shrikhand, serif; }
.prize .val { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.prize .val b { font: 800 48px/1 Bricolage; color: var(--gold); letter-spacing: -.02em; }
.prize .val span { font: 700 19px Bricolage; color: var(--gold); }
.prize .line { font: 700 16px/1.3 Geist; margin-top: 6px; }
.prize .paid { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 8px 11px; border-radius: 12px; background: rgba(255, 246, 234, .05); border: 1px solid var(--line); font: 500 13.5px/1.3 Geist; color: var(--dim); }
.prize .paid img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.prize .paid b { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 Geist; border: 1px solid var(--line2); background: rgba(255, 246, 234, .06); white-space: nowrap; }
.chip.gold { border-color: rgba(255, 201, 77, .5); color: var(--gold); background: rgba(255, 201, 77, .1); }
.prize.t-lunch { border-color: rgba(92, 188, 255, .5); }
.prize.t-date { border: 1.5px solid rgba(181, 131, 255, .8); box-shadow: 0 0 0 4px rgba(181, 131, 255, .12), 0 18px 60px rgba(120, 50, 220, .38); }
.prize.t-anniv { border: 1.5px solid rgba(255, 191, 58, .9); box-shadow: 0 0 0 4px rgba(255, 191, 58, .14), 0 18px 60px rgba(255, 170, 30, .32); }
.prize.t-cake { border: 2px solid transparent; background: linear-gradient(#22091f, #22091f) padding-box, linear-gradient(135deg, #ffd7a8, #ff7fb4, #ffc94d, #ffd7a8) border-box; box-shadow: 0 0 0 5px rgba(255, 190, 160, .14), 0 20px 70px rgba(255, 120, 170, .38); }
.prize.t-gift { border: 1.5px solid rgba(79, 209, 139, .7); box-shadow: 0 0 0 4px rgba(79, 209, 139, .12); }
.prize.big .val b { font-size: 58px; }
.conf { position: fixed; left: 0; right: 0; top: 70px; bottom: 0; z-index: 3; pointer-events: none; overflow: hidden; perspective: 600px; }
.conf i { position: absolute; border-radius: 2px; }

/* ---------- sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 11; background: rgba(12, 3, 11, .62); backdrop-filter: blur(2px); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; background: var(--panel); border-top: 1px solid var(--line2); border-radius: 26px 26px 0 0; padding: 10px var(--pad) 12px; box-shadow: 0 -20px 60px rgba(0, 0, 0, .55); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 246, 234, .24); margin: 0 auto 12px; }
.sheet h2, .h2 { font: 400 28px/1.05 Shrikhand, serif; color: var(--ink); padding-right: 50px; }
.sheet .sub { font: 400 14.5px/1.4 Geist; color: var(--dim); margin-top: 7px; }
.sheet .x { position: absolute; right: 12px; top: 14px; }
.ticks { list-style: none; margin: 12px 0 4px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; font: 500 14.5px/1.3 Geist; }
.ticks li svg { width: 20px; height: 20px; color: #4fd18b; }
table.odds { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; font: 500 14px/1 Geist; }
table.odds th { text-align: left; font: 600 12.5px Geist; color: var(--faint); padding: 0 0 6px; }
table.odds th.r, table.odds td.r { text-align: right; }
table.odds td { padding: 0; height: 44px; border-top: 1px solid var(--line); vertical-align: middle; }
table.odds td .nm { display: flex; align-items: center; gap: 9px; font-weight: 600; }
table.odds td .nm img { width: 32px; height: 32px; object-fit: contain; }
table.odds td b { font: 800 15px Bricolage; color: var(--gold); }
table.odds td .pd { font: 500 12.5px Geist; color: var(--dim); }
.note { font: 500 13px/1.45 Geist; color: var(--faint); margin-top: 10px; }
.kv { display: flex; justify-content: space-between; align-items: center; min-height: 46px; border-top: 1px solid var(--line); font: 500 14.5px Geist; gap: 12px; }
.kv .k { color: var(--dim); }
.kv .v { font-weight: 600; text-align: right; }
.kv a { color: var(--gold); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; text-decoration: none; }
.field { margin-top: 12px; }
.field label { display: block; font: 600 13px Geist; color: var(--dim); margin-bottom: 6px; }
.field .in { min-height: 48px; border-radius: 13px; border: 1px solid var(--line2); background: rgba(255, 246, 234, .05); display: flex; align-items: center; padding: 10px 12px; gap: 8px; font: 500 15px Geist; }
.field .in.wrap { font: 500 13px/1.45 ui-monospace, Menlo, monospace; word-break: break-all; align-items: flex-start; }
.field .in .sp { flex: 1; }
.field .in a { font: 700 14px Geist; color: var(--gold); text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tile { padding: 12px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255, 246, 234, .04); }
.tile .k { font: 500 13px Geist; color: var(--dim); }
.tile .v { font: 800 25px/1.1 Bricolage; margin-top: 4px; letter-spacing: -.01em; }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 246, 234, .1); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold), #ffb020); }
.seg { display: grid; grid-auto-flow: column; gap: 6px; margin-top: 8px; }
.seg span { height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; font: 700 15px Bricolage; }
.seg span.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 201, 77, .1); }
.item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 124px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.th { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: radial-gradient(circle at 50% 62%, var(--tc, #ffd9a0) -30%, rgba(255, 255, 255, .03) 72%); border: 1px solid var(--line); }
.th img { width: 54px; height: 54px; object-fit: contain; }
.item .t1 { font: 700 15.5px/1.2 Geist; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .t2 { font: 500 13px/1.3 Geist; color: var(--dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .t2 b { color: var(--gold); font: 800 14px Bricolage; }
.item .act { display: grid; gap: 6px; }
.mini { height: 44px; border-radius: 12px; font: 800 14.5px/1 Bricolage; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; border: 1px solid var(--line2); background: rgba(255, 246, 234, .06); }
.mini.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 201, 77, .1); }
.mini.done { border-color: rgba(79, 209, 139, .5); color: #6fe0a0; background: rgba(79, 209, 139, .1); }
.mini svg { width: 16px; height: 16px; }
.toast { position: fixed; left: var(--pad); right: var(--pad); z-index: 14; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #1f3022; border: 1px solid rgba(79, 209, 139, .5); font: 600 14.5px/1.3 Geist; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.toast svg { width: 22px; height: 22px; color: #6fe0a0; }
.toast a { color: var(--gold); margin-left: auto; text-decoration: none; font-weight: 700; white-space: nowrap; }
.tg { width: 46px; height: 28px; border-radius: 14px; background: rgba(255, 246, 234, .16); position: relative; flex: none; }
.tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.tg.on { background: #3fbf7a; } .tg.on::after { left: 21px; }
.check { display: flex; gap: 12px; align-items: center; min-height: 48px; font: 600 15px Geist; }
.check i { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--gold); display: grid; place-items: center; background: rgba(255, 201, 77, .14); color: var(--gold); }
.check i svg { width: 18px; height: 18px; }
.notice { padding: 16px; border-radius: 22px; background: rgba(31, 10, 29, .95); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.notice .h2 { font-size: 26px; padding: 0; }
.notice p { font: 500 15px/1.4 Geist; color: var(--dim); margin-top: 6px; }

/* ---------- pack ---------- */
.pdots { display: flex; gap: 5px; margin-top: 8px; }
.pdots i { width: 20px; height: 20px; border-radius: 7px; border: 1px solid var(--line2); background: rgba(255, 246, 234, .05); }
.pdots i.now { border: 1.5px solid var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 77, .16); }
.sumgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.st { display: grid; grid-template-columns: 40px 1fr; gap: 6px 8px; align-items: center; padding: 6px; border-radius: 13px; background: rgba(255, 246, 234, .045); border: 1px solid var(--line); }
.st img { width: 40px; height: 40px; object-fit: contain; }
.st .n { font: 600 13.5px/1.15 Geist; }
.st .n b { display: block; font: 800 14.5px Bricolage; color: var(--gold); margin-top: 1px; }
.st .tw { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.st .tw span { height: 44px; border-radius: 10px; display: grid; place-items: center; font: 700 13.5px Bricolage; border: 1px solid var(--line); }
.st .tw span.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 201, 77, .1); }
.st.best { grid-column: 1 / -1; grid-template-columns: 64px 1fr 150px; background: rgba(255, 191, 58, .09); border-color: rgba(255, 191, 58, .55); }
.st.best img { width: 64px; height: 64px; }
.st.best .n { font: 400 22px/1 Shrikhand; }
.st.best .n b { font-size: 20px; }
.st.best .tw { grid-column: auto; }

/* ---------- fun: streak, invites, magnets, bounty, drops ---------- */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.days div { height: 62px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 600 12px Geist; color: var(--dim); background: rgba(255, 246, 234, .03); }
.days div b { font: 800 16px Bricolage; color: var(--ink); }
.days div.done { background: rgba(255, 201, 77, .12); border-color: rgba(255, 201, 77, .5); color: var(--gold); }
.days div.today { border: 1.5px solid var(--pink); box-shadow: 0 0 0 3px rgba(232, 62, 143, .18); }
.days div.gift { background: linear-gradient(160deg, rgba(79, 209, 139, .18), rgba(255, 201, 77, .16)); border-color: rgba(79, 209, 139, .55); }
.days svg { width: 20px; height: 20px; }
.link { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 14px; border-radius: 14px; border: 1px dashed rgba(255, 201, 77, .55); background: rgba(255, 201, 77, .06); font: 600 15px ui-monospace, Menlo, monospace; }
.link .sp { flex: 1; }
.magnets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mag { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; position: relative; border: 1px solid var(--line); background: rgba(255, 246, 234, .04); }
.mag.got { background: radial-gradient(circle at 50% 40%, rgba(255, 246, 234, .1), rgba(255, 246, 234, .02)); }
.mag.no { opacity: .35; filter: grayscale(1); }
.mag svg { width: 46px; height: 46px; }
.mag em { position: absolute; bottom: -2px; right: -2px; font: 800 11px/18px Bricolage; font-style: normal; min-width: 22px; height: 18px; border-radius: 9px; text-align: center; background: var(--gold); color: #2a1206; padding: 0 5px; }
.rank { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 246, 234, .05); border: 1px solid var(--line); margin-top: 12px; }
.rank .lv { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 800 22px Bricolage; color: #2a1206; background: linear-gradient(160deg, #ffe08a, var(--gold)); }
.rank .t { flex: 1; }
.rank .t b { font: 400 20px Shrikhand; }
.rank .t span { display: block; font: 500 13px Geist; color: var(--dim); margin-top: 2px; }
.bounty { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 201, 77, .2), rgba(232, 62, 143, .2)); border: 1px solid rgba(255, 201, 77, .5); font: 600 13.5px Geist; backdrop-filter: blur(12px); white-space: nowrap; }
.bounty img { width: 34px; height: 34px; object-fit: contain; }
.bounty b { color: var(--gold); font-weight: 700; }
.drop { position: fixed; left: 50%; transform: translateX(-50%); z-index: 7; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 139, .38), rgba(255, 201, 77, .14) 45%, transparent 70%); }
.ribbon { position: fixed; z-index: 8; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 12px; background: linear-gradient(90deg, #2f9e62, #4fd18b); color: #062312; font: 800 15px Bricolage; box-shadow: 0 10px 30px rgba(79, 209, 139, .35); white-space: nowrap; }

/* ---------- wide layouts ---------- */
.side { position: fixed; z-index: 7; }
.h-hero { font: 400 64px/.95 Shrikhand; color: var(--ink); text-shadow: 3px 3px 0 var(--pink); }
.lead { font: 400 18px/1.45 Geist; color: var(--dim); margin-top: 14px; }
.feedlist { margin-top: 16px; }
.feedlist .r { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; height: 50px; border-top: 1px solid var(--line); font: 500 14.5px Geist; color: var(--dim); }
.feedlist .r img { width: 34px; height: 34px; object-fit: contain; }
.feedlist .r b { color: var(--ink); font-weight: 600; }
.feedlist .r em { font: 800 15px Bricolage; color: var(--gold); font-style: normal; }

/* ---------- desk ---------- */
.desk { position: fixed; inset: 0; overflow: hidden; background: #140612; padding: 12px var(--pad); }
.desk .hd { display: flex; align-items: center; gap: 8px; height: 44px; }
.desk h1 { font: 400 26px Shrikhand; white-space: nowrap; }
.desk .sec { margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.desk .sec h3 { font: 700 13px Geist; color: var(--dim); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.desk .odd { display: grid; grid-template-columns: 1fr 70px 84px; gap: 8px; align-items: center; height: 46px; font: 600 14px Geist; border-top: 1px solid var(--line); }
.desk .inp { height: 40px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; font: 600 14px Geist; background: rgba(255, 246, 234, .05); }
.ok { color: #6fe0a0; font-weight: 700; }
.warnt { color: #ffb3c0; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 700 13px Geist; background: rgba(79, 209, 139, .14); color: #6fe0a0; }
.pausebar { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(79, 209, 139, .08); border: 1px solid rgba(79, 209, 139, .35); }
.pausebar .t { flex: 1; font: 600 14.5px/1.3 Geist; }
.pausebar .t small { display: block; font: 500 12.5px Geist; color: var(--dim); margin-top: 2px; }
.btn.warn { background: #3a1420; border: 1px solid rgba(255, 120, 140, .55); color: #ffc2cc; height: 46px; width: auto; padding: 0 18px; font-size: 16px; }
.coinrow { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; height: 46px; border-top: 1px solid var(--line); font: 600 14px Geist; }
.coinrow img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.coinrow .s { font: 500 12.5px Geist; color: var(--dim); }

/* v2.1: compact pack summary */
.st.best { display: grid; }
.st.best .n { min-width: 0; font-size: 20px; }
.sum3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.s3 { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 246, 234, .045); padding: 6px 6px 7px; display: grid; justify-items: center; gap: 1px; min-height: 120px; }
.s3 img { width: 50px; height: 50px; object-fit: contain; }
.s3 .n { font: 600 12.5px/1.15 Geist; color: var(--dim); }
.s3 b { font: 800 15px Bricolage; color: var(--gold); }
.s3 span { margin-top: 4px; height: 28px; padding: 0 10px; border-radius: 9px; display: grid; place-items: center; font: 700 12.5px Bricolage; border: 1px solid var(--line2); }
.s3.sw { border-color: rgba(255, 201, 77, .55); background: rgba(255, 201, 77, .08); }
.s3.sw span { border-color: var(--gold); color: var(--gold); }

.st.best { grid-template-columns: 60px minmax(0, 1fr) 132px; }
.st.best img { width: 60px; height: 60px; }
.st.best .n { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st.best .tw span { font-size: 13px; }

/* v3 */
.hchips { position: fixed; top: 106px; left: 0; right: 0; z-index: 8; display: flex; justify-content: center; gap: 8px; }
.hchips .pill { height: 40px; padding: 0 12px 0 9px; gap: 6px; font: 700 13.5px Geist; }
.gain { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 600 13.5px Geist; color: var(--ink); }
.gain .xp { margin-left: auto; font: 800 13.5px Bricolage; color: var(--gold); padding: 4px 9px; border-radius: 9px; background: rgba(255, 201, 77, .12); border: 1px solid rgba(255, 201, 77, .4); }
.item .t2.wrap { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row23 { display: grid; grid-template-columns: 2fr 3fr; gap: 8px; }
.kv.box { border: 1px solid var(--line); border-radius: 13px; padding: 0 12px; }
.check i.off { background: transparent; border: 2px solid var(--line2); }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 246, 234, .2); border-top-color: var(--gold); display: inline-block; }
.s3 span { height: 44px; padding: 0 12px; border-radius: 11px; font-size: 13.5px; }
.s3 { min-height: 140px; }
.bounty span { margin-left: 2px; }

.bounty.b2 { height: auto; padding: 6px 14px 6px 6px; border-radius: 16px; align-items: center; }
.bounty.b2 b { display: block; font: 800 14px Bricolage; color: var(--gold); }
.bounty.b2 small { display: block; font: 600 12px Geist; color: var(--dim); }

/* v4 */
.sub, .note, .notice p, .lead { text-wrap: pretty; }
.sheet h2, .h2, .notice .h2 { text-wrap: balance; }
.foot { color: rgba(255, 246, 234, .86); position: relative; z-index: 2; }
.stat .k2 { font: 600 11.5px/1.2 Geist; color: var(--dim); margin-top: 2px; }
.iconbtn.sharebtn { width: 44px; height: 44px; border-radius: 14px; color: var(--gold); border-color: rgba(255, 201, 77, .5); background: rgba(255, 201, 77, .1); }
.cshadow { position: fixed; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); z-index: 5; }
.field .in a.tap { min-height: 44px; padding: 0 6px; }
.row32 { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; }
.s3 em { margin-top: 6px; font: 600 12.5px Geist; font-style: normal; color: var(--dim); height: 44px; display: grid; place-items: center; }
.hchips .pill { height: 44px; }
.desk .inp, .desk .odd .inp { height: 44px; }
.desk .odd { height: 50px; }
.btn.dis, .btn[disabled] { background: rgba(255, 246, 234, .1); color: rgba(255, 246, 234, .55); box-shadow: none; }
.btn.dis svg { opacity: .6; }

/* v5 */
.tint { position: fixed; inset: 0; z-index: 1; mix-blend-mode: color; pointer-events: none; }
.sub, .note, .line, .notice p, .lead, .gain span, .hpill span { text-wrap: balance; }
table.odds.two td { height: 50px; }
table.odds.two .nm > span { display: block; line-height: 1.15; }
table.odds.two small { display: block; font: 500 12px Geist; color: var(--dim); margin-top: 2px; }
table.odds.two th.r:last-child, table.odds.two td.r:last-child { width: 68px; }
.bounty.b3 { display: flex; height: 46px; border-radius: 14px; margin-bottom: 8px; padding: 0 12px 0 6px; font: 600 13.5px Geist; }
.bounty.b3 b { color: var(--gold); }
.bounty.b3 em { margin-left: auto; font: 700 12.5px Geist; font-style: normal; color: var(--dim); }
.rows { margin-top: 10px; display: grid; gap: 4px; }
.rw { display: grid; grid-template-columns: 40px 1fr 34px 128px; gap: 8px; align-items: center; height: 50px; padding: 0 6px; border-radius: 12px; background: rgba(255, 246, 234, .04); border: 1px solid var(--line); }
.rw.best { border-color: rgba(255, 191, 58, .55); background: rgba(255, 191, 58, .08); }
.rw .n { font: 600 14px Geist; }
.rw b { font: 800 15px Bricolage; color: var(--gold); text-align: right; }
.rw em { font: 600 12.5px Geist; font-style: normal; color: var(--dim); text-align: center; }
.rw .tw2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4px; }
.rw .tw2 i { font-style: normal; height: 44px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; font: 700 12.5px Bricolage; }
.sent { display: inline-flex; align-items: center; gap: 6px; font: 700 14px Geist; color: #6fe0a0; justify-content: center; }
.sent svg { width: 18px; height: 18px; }
.desk .inp, .desk .odd .inp { height: 46px !important; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 96px; margin-top: 8px; }
.bars div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-items: end; position: relative; padding-bottom: 16px; }
.bars i { display: block; border-radius: 4px 4px 0 0; background: rgba(255, 246, 234, .28); }
.bars i.p { background: var(--gold); }
.bars span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font: 600 11.5px Geist; color: var(--dim); }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.tgr { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); font: 600 14px Geist; }
.tg { width: 52px; height: 32px; border-radius: 16px; }
.tg::after { top: 4px; left: 4px; width: 24px; height: 24px; }
.tg.on::after { left: 24px; }
.notice { background: #1f0a1d; }
.bounty.b3 { background: linear-gradient(90deg, #3a1a14, #3a0f2c); border: 1px solid rgba(255, 201, 77, .55); position: relative; z-index: 2; }

/* v6 */
.stat { background: #1d091b; }
.bounty.b3 small { display: block; font: 600 12px Geist; color: var(--dim); }
.bounty.b3 { height: 52px; }
.sm2 .btn { font-size: 15px; }
.rw { grid-template-columns: 40px 1fr 30px 136px; }
.rw .tw2 i { font-size: 12px; }
.item { grid-template-columns: 56px minmax(0, 1fr) 132px; }
.item .mini { font-size: 14px; }
.legend { display: inline-flex; align-items: center; gap: 5px; font: 600 12px Geist; color: var(--dim); }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 246, 234, .3); display: inline-block; }
.legend i.p { background: var(--gold); margin-left: 6px; }
.bars i { position: relative; }
.bars i em { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font: 700 10px Geist; font-style: normal; color: var(--dim); }
.bars { height: 112px; }

/* v7 */
.row45 { display: grid; grid-template-columns: 45fr 55fr; gap: 8px; }
.row45 .btn { font-size: 14.5px; padding: 0 12px; }
.row55 { display: grid; grid-template-columns: 58fr 42fr; gap: 8px; }
.row55 .btn { font-size: 15.5px; }
.rw .tw1 i { font-style: normal; height: 44px; border-radius: 10px; border: 1px solid var(--line2); display: grid; place-items: center; font: 700 12.5px Bricolage; }
.bars i.p em { top: -15px; color: var(--gold); }
.bars div { gap: 3px; }
.bars i em { font-size: 9.5px; }

/* v8: packs, Golden Spoon, ranks, checked pulls */
.pk { position: relative; }
.pk em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font: 800 9.5px/1 Bricolage; font-style: normal; white-space: nowrap; color: #2a1206; background: linear-gradient(160deg, #ffe08a, var(--gold)); border-radius: 7px; padding: 3px 6px; }
.packs { margin-top: 8px; }
.spoon { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px 0 8px; border-radius: 14px; border: 1px solid rgba(255, 201, 77, .32); background: linear-gradient(90deg, rgba(255, 201, 77, .12), rgba(255, 201, 77, .03)); margin-bottom: 10px; }
.spoon span:not(.tg) { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spoon b { font: 800 15px/1 Bricolage; color: var(--gold); }
.spoon small { font: 500 12.5px/1.2 Geist; color: var(--dim); }
.spoon.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(255, 201, 77, .22), rgba(255, 201, 77, .06)); }
.help { display: block; text-align: center; margin-top: 12px; font: 500 14px/1.3 Geist; color: var(--dim); text-decoration: none; }
.help b { color: var(--gold); font-weight: 600; }
.warnt { color: #ffb547; }
.okv { display: inline-flex; align-items: center; gap: 6px; color: #4fd18b; }
.seg.tabs { margin-top: 12px; }
.seg.tabs span { font: 700 13.5px Bricolage; }
.rw .free { font-style: normal; font: 800 10px/1 Bricolage; color: #2a1206; background: #4fd18b; border-radius: 6px; padding: 3px 6px; margin-left: 6px; vertical-align: 2px; }
.gifts { display: grid; gap: 8px; margin-top: 10px; }
.gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 201, 77, .08); border: 1px solid rgba(255, 201, 77, .26); }
.gift span { display: flex; flex-direction: column; gap: 3px; }
.gift b { font: 800 15px/1.1 Bricolage; }
.gift small { font: 500 12.5px Geist; color: var(--dim); }
.plist { margin-top: 12px; display: grid; gap: 0; border-radius: 16px; border: 1px solid var(--line); background: rgba(31, 10, 29, .7); overflow: hidden; }
.plist .pr { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); }
.plist .pr:first-child { border-top: 0; }
.plist .pr .n { display: flex; flex-direction: column; gap: 2px; font: 600 14.5px Geist; }
.plist .pr .n small { font: 500 12px Geist; color: var(--dim); }
.plist .pr .v { font: 800 15px Bricolage; color: var(--gold); }
.plist .okc { display: inline-flex; align-items: center; gap: 4px; font: 600 12.5px Geist; color: #4fd18b; }
.plist .okc svg { width: 16px; height: 16px; }
.plist .pr.open { background: rgba(255, 246, 234, .05); }
.pdet { padding: 2px 12px 8px; background: rgba(255, 246, 234, .05); }
.shelfhd { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 8px; font: 500 15px Geist; }
.shelfhd b { font: 800 18px Bricolage; color: var(--gold); }
.cans { display: flex; gap: 4px; }
.cans i { width: 16px; height: 20px; border-radius: 4px 4px 6px 6px; background: linear-gradient(180deg, #ffd98a 0 22%, #fff6ea 22% 60%, #e83e8f 60% 72%, #fff6ea 72%); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.buys { display: grid; gap: 8px; margin-top: 12px; }
.buy { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; min-height: 62px; padding: 8px 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 246, 234, .04); }
.buy .n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 19px Bricolage; background: rgba(255, 246, 234, .08); }
.buy span { display: flex; flex-direction: column; gap: 3px; }
.buy span b { font: 700 15.5px Geist; }
.buy small { font: 500 12.5px/1.25 Geist; color: var(--dim); }
.buy .c { font: 800 16px Bricolage; white-space: nowrap; }
.buy.on { border: 1.5px solid var(--gold); background: rgba(255, 201, 77, .1); }
.buy.on .n { background: linear-gradient(160deg, #ffe08a, var(--gold)); color: #2a1206; }
.buy.on small { color: var(--gold); }
.buys + .spoon { margin-top: 10px; }
.spoonhd { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.ladder { margin-top: 10px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.lr { display: grid; grid-template-columns: 30px 118px 1fr; gap: 10px; align-items: center; min-height: 44px; padding: 5px 12px; border-top: 1px solid var(--line); }
.lr:first-child { border-top: 0; }
.lr .lv { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 800 14px Bricolage; background: rgba(255, 246, 234, .08); }
.lr .lv svg { width: 16px; height: 16px; color: #4fd18b; }
.lr .nm { display: flex; flex-direction: column; gap: 1px; }
.lr .nm b { font: 700 13.5px/1.15 Geist; }
.lr .nm small { font: 500 11.5px Geist; color: var(--dim); }
.lr .gf { font: 500 12.5px/1.25 Geist; color: var(--dim); }
.lr.done .nm b, .lr.done .gf { color: var(--faint); }
.lr.now { background: rgba(255, 201, 77, .1); box-shadow: inset 3px 0 0 var(--gold); }
.lr.now .lv { background: linear-gradient(160deg, #ffe08a, var(--gold)); color: #2a1206; }
.lr.now .gf, .lr.now small { color: var(--gold); }
.link.locked { color: var(--dim); }

.rw .free { white-space: nowrap; }
.desk .odd { min-height: 0; }
.desk .odd .inp { height: 40px; }
.desk .tgrid .tgr { height: 46px; }
.desk .odd { height: 44px; }
.desk .inp, .desk .odd .inp { height: 38px !important; }

/* v9 */
.row45 { grid-template-columns: 1fr 1fr; }
.row45 .btn { font-size: 13.5px; padding: 0 6px; min-width: 0; white-space: nowrap; }
.hbounty { position: fixed; top: 160px; left: 0; right: 0; z-index: 8; display: flex; justify-content: center; }
.hbounty .bounty { height: 40px; font: 500 13px Geist; color: var(--dim); }
.hbounty .bounty b { margin-right: 2px; }

.hbounty .bounty { background: linear-gradient(90deg, rgba(58, 22, 8, .82), rgba(70, 14, 42, .82)); color: var(--ink); }

/* v10 */
.bline { display: flex; align-items: center; gap: 8px; height: 30px; margin: -4px 0 8px; font: 500 13px Geist; color: var(--dim); white-space: nowrap; }
.bline img { width: 26px; height: 26px; object-fit: contain; }
.bline b { color: var(--gold); font-weight: 700; }
.mag { position: relative; }
.mag.no img { filter: grayscale(1) brightness(.75); opacity: .55; }
.mag .lk { position: absolute; right: 6px; bottom: 6px; width: 16px; height: 16px; color: var(--dim); }
