:root { --bg: #030303; --panel: #0d0b0a; --line: #2a211b; --text: #f4efe9; --muted: #9a8f86; --hot: #ff8a2a; --gold: #ffd27a; --ok: #7bd88f; --bad: #ff6b5a; }
* { box-sizing: border-box; }
html, body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
a { color: var(--gold); }
.mode { position: sticky; top: 0; z-index: 5; text-align: center; padding: 8px 16px; font-size: 13px; background: #2b2005; color: var(--gold); border-bottom: 1px solid #6b5212; }
header { text-align: center; }
h1 { margin: 8px 0 0; font-size: clamp(30px, 7vw, 44px); }
.tag { color: var(--muted); font-style: italic; margin: 4px 0 24px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; margin-bottom: 16px; }
.how { margin: 0; padding-left: 20px; } .how li { margin-bottom: 6px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.beta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--hot); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--hot); }
.why { text-align: left; margin: 16px 0 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,120,30,.05); }
.why-lead { margin: 0 0 8px; font-size: 15px; line-height: 1.45; }
.why ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.why li { font-size: 14px; line-height: 1.5; color: var(--muted); }
.why li b { color: var(--text); }
.who { float: right; font-size: 13px; color: var(--muted); font-weight: 400; }

#hero { will-change: transform; position: relative; width: calc(100% + 32px); margin: -24px -16px 4px; aspect-ratio: 16 / 9; overflow: hidden; transition: transform .5s;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 72%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 72%, transparent);
  mask-composite: intersect; }
#hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 560px) { #hero { aspect-ratio: 1 / 1; } }
#hero .hole { display: none; }
#hero.nogl canvas { display: none; }
#hero.nogl { aspect-ratio: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
#hero.nogl .hole { display: block; margin: 24px auto; }
#hero.gulp { transform: scale(1.06); }
.hole { position: relative; width: 140px; aspect-ratio: 1; margin: 0 auto; transition: transform .4s; }
.hole .disk { position: absolute; inset: 0; border-radius: 50%; filter: blur(10px); opacity: .9; animation: spin 10s linear infinite;
  background: conic-gradient(from 0deg, transparent 0 10%, var(--hot) 25%, var(--gold) 32%, transparent 45%, transparent 60%, var(--hot) 78%, transparent 92%); }
.hole .core { position: absolute; inset: 20%; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px rgba(255,170,80,.55), 0 0 30px 6px rgba(255,138,42,.35) inset; }
.hole.gulp { transform: scale(1.18); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hole .disk { animation: none; } }

.wallets { display: flex; flex-wrap: wrap; gap: 10px; }
.wbtn, .btn { display: inline-flex; align-items: center; gap: 8px; background: #1d1612; color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; font: inherit; cursor: pointer; }
.wbtn:hover, .btn:hover:not(:disabled) { border-color: var(--hot); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.hot { background: linear-gradient(90deg, #a8460f, var(--hot)); border-color: var(--hot); font-weight: 700; margin-top: 12px; width: 100%; justify-content: center; }

.group { margin-bottom: 14px; }
.group h3 { margin: 0; font-size: 15px; }
.group > p { margin: 0 0 6px; font-size: 13px; }
.group.valuable h3, .group.unknown h3 { color: var(--gold); }
.group.blocked h3 { color: var(--muted); }
.group .tickall { margin: 0 0 8px; padding: 6px 14px; font-size: 13px; }
.row { display: grid; grid-template-columns: 22px 30px 1fr auto auto; gap: 4px 10px; align-items: center; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; }
.row.off { opacity: .55; cursor: default; }
.row .coin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: radial-gradient(circle at 35% 30%, #fff1c9, #ff9a3c 60%, #8a3a08); color: #2a1200; }
.row .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .amt, .row .val { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.row .rent { grid-column: 3 / -1; font-size: 12px; color: var(--ok); }
.row.off .val { grid-column: 3 / -1; text-align: left; }
/* phones: value moves to its own line, never hidden (it's the safety info) */
@media (max-width: 520px) { .row { grid-template-columns: 22px 30px 1fr auto; } .row .val { grid-column: 3 / -1; text-align: left; } }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.plan.ok { border-color: #2f5a39; } .plan.bad { border-color: #6b2a22; }
.plan h4 { margin: 0 0 6px; } .plan p { margin: 2px 0; font-size: 14px; }
.plan.bad p { color: var(--bad); }
.status { min-height: 1.5em; text-align: center; color: var(--muted); }
.status.good { color: var(--ok); } .status.bad { color: var(--bad); }
.log p { font-size: 14px; color: var(--muted); margin: 4px 0; }
.flying { position: fixed; z-index: 50; pointer-events: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; background: radial-gradient(circle at 35% 30%, #fff1c9, #ff9a3c 60%, #8a3a08) center / cover no-repeat; color: #2a1200;
  will-change: transform, opacity; box-shadow: 0 0 12px rgba(255,150,60,.5); overflow: hidden; }
.flying i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #3a0600, #120000); opacity: 0; will-change: opacity; }

/* ---- 1-Click layout ---- */
.center { text-align: center; }
.hero { text-align: center; position: relative; padding-top: 28px; }
.hero .who { position: absolute; top: 12px; right: 16px; float: none; }
.who { display: inline-flex; align-items: center; gap: 6px; } .who img { width: 16px; height: 16px; border-radius: 4px; }
.who b { color: var(--text, #eee); font-weight: 600; }
.hero .k { color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.hero .big { font-size: clamp(40px, 11vw, 64px); font-weight: 800; color: var(--gold); line-height: 1.1; margin: 6px 0; font-variant-numeric: tabular-nums; }
.hero .sub { color: var(--muted); margin-bottom: 18px; }
.btn.huge { font-size: 18px; padding: 16px 18px; margin-top: 0; }
.wnote { margin: 10px auto 4px; max-width: 520px; padding: 10px 14px; font-size: 13px; line-height: 1.45; text-align: left;
  color: var(--muted); background: #1a1405; border: 1px solid #6b5212; border-radius: 10px; }
.wnote[hidden] { display: none; }
.wnote b { color: var(--gold); }
.guard { margin: 12px 0 4px; font-size: 14px; color: var(--ok); }
.checks { text-align: left; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.checks p { margin: 3px 0; font-size: 14px; } .checks .ok { color: var(--ok); } .checks .bad { color: var(--bad); }
details { text-align: left; margin-top: 14px; }
summary { cursor: pointer; color: var(--muted); padding: 6px 0; }
summary:hover { color: var(--text); }
/* "Check what will be burned" — must not be missed (user request 2026-10-11) */
details.review { margin: 16px 0 6px; border: 1.5px solid var(--gold); border-radius: 12px; background: rgba(255,210,122,.07);
  box-shadow: 0 0 18px rgba(255,210,122,.12); }
details.review > summary { color: var(--gold); font-weight: 700; font-size: 15px; padding: 12px 14px; list-style: none; }
details.review > summary::-webkit-details-marker { display: none; }
details.review > summary::after { content: "▾ open"; float: right; font-weight: 400; font-size: 13px; opacity: .8; }
details.review[open] > summary::after { content: "▴ close"; }
details.review > summary:hover { color: #fff; }
details.review[open] { padding: 0 12px 10px; }
details.review[open] > summary { padding: 12px 2px; }
#card { width: 100%; max-width: 432px; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; margin: 0 auto 14px; }
.share { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share .btn { text-decoration: none; margin-top: 0; width: auto; }
#again { margin-top: 10px; }
/* referral badge (shown only when the page was opened from a ?ref= share link) */
.invited { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 20px; padding: 10px 18px;
  max-width: 100%; border: 1px solid var(--gold); border-radius: 14px; background: linear-gradient(180deg, rgba(255,210,122,.14), rgba(255,138,42,.06));
  box-shadow: 0 0 22px rgba(255,210,122,.18), inset 0 0 12px rgba(255,210,122,.06); }
.invited[hidden] { display: none; }
.invited b { color: var(--gold); font-size: 16px; letter-spacing: .02em; }
.invited b::before { content: "🕳 "; }
.invited span { color: var(--muted); font-size: 12.5px; }
/* leaderboard page */
.center { text-align: center; } .gold { color: var(--gold); }
.hall { text-align: center; margin: 0 auto 18px; padding: 16px; border: 1px solid var(--gold); border-radius: 16px;
  background: radial-gradient(ellipse at top, rgba(255,210,122,.16), rgba(255,138,42,.04) 70%); box-shadow: 0 0 26px rgba(255,210,122,.15); }
.hall .k { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.hall-w { color: var(--gold); font: 800 28px Consolas, ui-monospace, monospace; margin: 4px 0; }
.lb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 12px; margin-bottom: 4px; }
.lb-head h2 { margin: 0; white-space: nowrap; }
.lb-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 62px 82px 56px 60px; gap: 6px; align-items: center;
  padding: 9px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lb-th { white-space: nowrap; border-top: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.lb-row .n { text-align: right; } .lb-row .w { font-family: Consolas, ui-monospace, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .rank { color: var(--muted); } .lb-row .pts { font-weight: 800; }
.lb-row.top1 .rank, .lb-row.top1 .w { color: var(--gold); } .lb-row.top1 { background: rgba(255,210,122,.06); border-radius: 8px; }
.lb-row.top2 .rank, .lb-row.top3 .rank { color: var(--hot); }
@media (max-width: 480px) { .lb-row { grid-template-columns: 22px minmax(0, 1fr) 40px 40px 34px 50px; font-size: 14px; gap: 4px; padding: 9px 2px; }
  .lb-th { font-size: 11px; letter-spacing: .02em; } .lb-th [data-short] { font-size: 0; } .lb-th [data-short]::after { content: attr(data-short); font-size: 11px; }
  .lb-row .w { font-size: 13px; } }
.lb-link { margin: -8px 0 20px; } .lb-link a { font-size: 14px; text-decoration: none; border-bottom: 1px dashed rgba(255,210,122,.5); }
.lb-link a:hover { border-bottom-style: solid; }
a.btn { text-decoration: none; }
@media (max-width: 480px) { .who { float: none; text-align: right; margin: -6px 0 4px; } }
@media (max-width: 560px) { .lb-page #hero { aspect-ratio: 4 / 3; } } /* leaderboard: shorter hole on phones so the table shows sooner */
.checks p, .checks a, .log p, .log a, code { overflow-wrap: anywhere; word-break: break-word; } /* long tx signatures / addresses wrap inside their box */
/* FAQ */
.faq h2 { margin: 0 0 6px; font-size: 18px; }
.faq details { margin-top: 6px; border-top: 1px solid var(--line); }
.faq summary { color: var(--text); font-weight: 600; padding: 10px 0; }
.faq details p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq details p b { color: var(--text); }
/* Leaderboard top 10: live fire behind the name (canvas, see leaderboard-ui.js), one colour per rank, #1 gold */
.lb-row .w { overflow: visible; }
.flame { position: relative; display: inline-flex; max-width: 100%; vertical-align: bottom; padding: 0 8px; isolation: isolate; }
.flame .nm { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-shadow: 0 0 3px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.9); }
.flame canvas { position: absolute; z-index: -1; left: -4%; width: 108%; bottom: -6px; height: 290%; pointer-events: none;
  mix-blend-mode: screen; filter: blur(1.6px) saturate(1.2);
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent 95%); mask-image: linear-gradient(to top, #000 45%, transparent 95%); }
.flame.r1 .nm { color: #ffe08a; font-weight: 700; }
.flame.soft canvas { height: 230%; opacity: .85; filter: blur(1.8px); } /* ranks 11–50: a gentle flame */

/* "Got an idea?" box → rpc Worker /feedback (feedback.js) */
.idea h2 { margin: 0 0 4px; font-size: 18px; }
.idea form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-top: 10px; }
.idea textarea, .idea input { grid-column: 1 / -1; width: 100%; box-sizing: border-box; background: #120e0b; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; }
.idea textarea:focus, .idea input:focus { outline: none; border-color: var(--hot); }
.idea input { grid-column: 1; }
.idea .btn { grid-column: 2; grid-row: 2; }
.idea #ideaMsg { grid-column: 1 / -1; min-height: 1.2em; }
/* hero slogan (decided 2026-10-11) */
.tag.slogan { font-style: normal; display: flex; flex-direction: column; gap: 4px; }
.tag.slogan b { color: var(--gold); font-size: 20px; letter-spacing: .01em; }
.tag.slogan span { color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* the headline perk (2026-10-26): Feed is free for 1M+ $HOLD holders */
.freebadge { display: table; margin: 10px auto 4px; padding: 7px 16px; border: 1.5px solid var(--gold); border-radius: 999px;
  background: linear-gradient(90deg, #2b1a05, #3a2406); color: var(--text); font-size: 14px; box-shadow: 0 0 18px #ffd27a33; }
.freebadge b { color: var(--gold); letter-spacing: .04em; }
