/* toxin.wtf polish pass: calmer, clearer, more readable. Loaded only on site pages, never on public profiles. */
body.site, body.site-dash { --text-muted: #a9c7ae; --t-muted: #a9c7ae; }

/* ======================= HOME / ENTRY PAGE ======================= */
body.site .hero2 p.lead { color: #c9e0cd; font-size: 1.28rem; max-width: 640px; line-height: 1.6; }
body.site .hero2 { padding-bottom: 40px; }
body.site .url-strip { display: none; }                       /* fake example names looked fake */
body.site .sec .cube { display: none; }                       /* keep the two hero cubes, drop the rest */
body.site .sec { padding: 112px 0; }
body.site .sec-head { margin-bottom: 60px; }
body.site .sec-head h2, body.site .split h2, body.site .cta h2 { text-shadow: 0 0 30px rgba(57,255,20,.16); }   /* no stacked extrusion on section titles */
body.site .sec-head p, body.site .split p { color: #b7d1bb; }
body.site .glass { background: rgba(5, 16, 9, .93); }         /* more solid, so floating bubbles don't cut through text */
body.site .tilt3d { box-shadow: 1px 1px 0 rgba(57,255,20,.26), 2px 2px 0 rgba(30,150,10,.22), 6px 12px 26px rgba(0,0,0,.5); }
body.site .tilt3d:hover { box-shadow: 1px 1px 0 rgba(57,255,20,.4), 2px 2px 0 rgba(30,150,10,.3), 14px 26px 40px rgba(0,0,0,.55), 0 0 36px rgba(57,255,20,.14); }
/* the tapes are tilted, so their ends swing out of a fixed-height box: clip sideways only and leave room above and below */
body.site .tape-wrap { height: 108px; overflow-x: clip; overflow-y: visible; margin: 52px 0 52px; }
body.site .tape { font-size: .8rem; padding: 8px 0; }
body.site .tape.t1 { box-shadow: 0 0 26px rgba(57,255,20,.3); }
body.site .announce { background: rgba(5, 16, 9, .9); }
body.site .claim { max-width: 560px; padding: 8px; background: rgba(5, 16, 9, .92); }
body.site .claim input { font-size: 1.05rem; padding: 14px 6px; }
body.site .fine { color: #8fb094; margin-top: 4px; }
body.site .wyg-card p, body.site .step p { color: #b0cab4; }

/* ======================= DASHBOARD ======================= */
body.site-dash { font-size: 15.5px; }
.dash-top { padding: 26px 34px 20px; }
.dash-top::after { height: 1px; background: linear-gradient(90deg, rgba(57,255,20,.55), rgba(57,255,20,0) 70%); opacity: 1; }   /* replaces the loud hazard stripe */
.dash-top h1 { font-size: 2.1rem; letter-spacing: -.035em; }
.dash-top p { color: #a9c7ae; font-size: .98rem; }
.builder-panel { padding: 28px 34px 0; }
.dash-side { padding: 22px 16px; }
.dash-side .side-label, .builder-tabs .side-label { font-size: .66rem; letter-spacing: 2.4px; color: #6fae78; opacity: 1; margin: 18px 12px 6px; }
.side-label::before { content: none !important; }
.tab-btn { padding: 11px 14px; font-size: .95rem; border-radius: 12px; color: #a9c7ae; }
.tab-btn:hover { background: rgba(57,255,20,.07); color: #eaffea; }
.tab-btn.active { background: rgba(57,255,20,.12); color: #eaffea; border-color: rgba(57,255,20,.28); box-shadow: inset 3px 0 0 #39ff14; font-weight: 700; text-shadow: none; }
.tab-btn.active i { color: #39ff14; }
.tab-btn.fs-launch { border: 1px dashed rgba(57,255,20,.35) !important; }
.settings-section { background: rgba(7, 20, 12, .82); border-color: rgba(57,255,20,.13); border-radius: 20px; padding: 26px; margin-bottom: 22px; box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.settings-section:hover { box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.settings-section h3 { font-size: 1.12rem; margin-bottom: 6px; }
.settings-section h3::before { content: ""; width: 4px; height: 18px; border-radius: 3px; background: #39ff14; box-shadow: 0 0 10px rgba(57,255,20,.6); font-size: 0; }
.ov-sub { color: #a9c7ae; }
.ov-stat { padding: 20px 22px; border-radius: 18px; background: rgba(7,20,12,.82); }
.ov-stat small { color: #a9c7ae; font-size: .82rem; }
.ov-stat b { font-size: 2.3rem; }
.ov-q, .ov-li { color: #eaffea; }
.ov-q small, .ov-li small { color: #a2c0a7; }
.form-group label { color: #a9c7ae; }

/* ----- "next badge" card ----- */
.nb-head { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, transparent), rgba(57,255,20,.04)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-bottom: 0; }
.nb-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #05100a); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 35%, transparent); }
.nb-txt { flex: 1; min-width: 0; } .nb-txt small { display: block; color: #a9c7ae; font-size: .64rem; letter-spacing: 2px; } .nb-txt b { font-size: 1.3rem; letter-spacing: -.02em; }
.nb-count { color: #a9c7ae; font-size: .9rem; white-space: nowrap; } .nb-count b { color: var(--c); font-size: 1.5rem; margin-right: 3px; }
.tiers { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; padding: 14px 18px 12px; background: rgba(57,255,20,.04); border: 1px solid rgba(57,255,20,.18); border-top: 0; }
.tier { display: grid; justify-items: center; gap: 7px; color: #6f9776; }
.tier-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: .9rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: all .3s; }
.tier-bar { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(57,255,20,.12); overflow: hidden; } .tier-bar b { display: block; height: 100%; background: var(--c); border-radius: 4px; box-shadow: 0 0 8px var(--c); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.tier small { font-family: 'Fira Code', monospace; font-size: .64rem; }
.tier.on { color: var(--c); } .tier.on .tier-ic { color: var(--c); background: color-mix(in srgb, var(--c) 16%, #05100a); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 40%, transparent); }
.tier.cur { color: #eaffea; } .tier.cur .tier-ic { color: var(--c); border-color: var(--c); animation: tierPulse 2s ease-in-out infinite; }
@keyframes tierPulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.nb-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 12px; border-radius: 0 0 16px 16px; background: rgba(57,255,20,.04); border: 1px solid rgba(57,255,20,.18); border-top: 1px solid rgba(57,255,20,.1); color: #a9c7ae; font-size: .84rem; margin-bottom: 16px; }
.nb-foot button { background: none; border: 0; color: #39ff14; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .84rem; } .nb-foot button:hover { text-decoration: underline; }

/* ----- All badges page ----- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.bcard { padding: 20px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; transition: all .25s; }
.bcard-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: #5f7f65; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.bcard b { font-size: 1.05rem; } .bcard p { color: #a2c0a7; font-size: .82rem; line-height: 1.45; flex: 1; }
.bcard-req { font-family: 'Fira Code', monospace; font-size: .74rem; color: #8fb094; margin-top: 4px; }
.bcard .ov-bar { margin: 4px 0 2px; } .bcard .ov-bar i { background: var(--c); box-shadow: 0 0 8px var(--c); }
.bcard-st { font-size: .74rem; font-weight: 700; color: #6f9776; letter-spacing: .5px; }
.bcard.on { border-color: color-mix(in srgb, var(--c) 50%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255,255,255,.02)); }
.bcard.on .bcard-ic { color: var(--c); background: color-mix(in srgb, var(--c) 15%, #05100a); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 35%, transparent); }
.bcard.on .bcard-st { color: var(--c); } .bcard.on:hover { transform: translateY(-3px); }
.bcard.cur { border-style: dashed; border-color: color-mix(in srgb, var(--c) 55%, transparent); } .bcard.cur .bcard-st { color: #eaffea; }
.specials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
button.spec { font-family: inherit; cursor: pointer; transition: opacity .2s, filter .2s; }
.spec.off { opacity: .4; text-decoration: line-through; filter: grayscale(.6); }
.spec { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; color: #ffd84a; background: rgba(255,216,74,.1); border: 1px solid rgba(255,216,74,.4); }
.badge-earned { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 900px) { .tiers { grid-template-columns: repeat(5, 1fr); } .nb-count { display: none; } }

/* the background drifts with the mouse; make it bigger than the screen so its edge never shows as a flickering strip */
body.site .fx-bg { inset: -60px; }
html, body.site { overflow-x: clip; }

/* no page scrollbar on the site: it showed up as a black bar at the edge and flickered whenever a script toggled overflow (intro, editor).
   Scrolling by wheel, touch and keyboard is unchanged. Inner panels keep their own scrollbars. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
