:root {
    --bg: #f6f5f0;
    --surface: #ffffff;
    --surface-2: #edece6;
    --line: #121216;
    --line-soft: #d4d3cd;
    --text: #0f0f12;
    --text-2: #3a3a44;
    --text-3: #6c6c78;
    --strong: #0f0f12;
    --strong-2: #23232a;
    --on-strong: #ffffff;
    --strong-line: rgba(255, 255, 255, 0.15);
    --strong-muted: rgba(255, 255, 255, 0.68);
    --accent: #b8ff01;
    --accent-2: #ff3b9a;
    --accent-3: #00e5ff;
    --accent-4: #ffbe0b;
    --on-accent: #0a0a0c;
    --ok: #16a34a;
    --warn: #d97706;
    --sk: #e2e1db;
    --sk-shine: rgba(255, 255, 255, 0.55);

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.16);
    --shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 16px 36px rgba(184, 255, 1, 0.18);

    --display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --shell: 1220px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="dark"] {
    --bg: #09090d;
    --surface: #13131a;
    --surface-2: #1c1c26;
    --line: #2e2e3d;
    --line-soft: #252533;
    --text: #f5f5f7;
    --text-2: #b8b8c8;
    --text-3: #7c7c8e;
    --strong: #16161f;
    --strong-2: #222230;
    --on-strong: #f5f5f7;
    --strong-line: rgba(255, 255, 255, 0.14);
    --strong-muted: rgba(245, 245, 247, 0.64);
    --accent: #b8ff01;
    --accent-2: #ff3b9a;
    --accent-3: #00e5ff;
    --accent-4: #ffbe0b;
    --on-accent: #09090d;
    --ok: #4ade80;
    --warn: #fbbf24;
    --sk: #1d1d26;
    --sk-shine: rgba(255, 255, 255, 0.07);

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.42);
    --shadow-accent: 0 18px 42px rgba(184, 255, 1, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    position: relative;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* Ambient Fun Background */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--line-soft) 1.25px, transparent 1.25px);
    background-size: 26px 26px;
    opacity: 0.65;
}
:root[data-theme="dark"] .bg-grid {
    opacity: 0.35;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    animation: blobFloat 18s ease-in-out infinite alternate;
}
:root[data-theme="dark"] .blob {
    opacity: 0.1;
}
.blob-1 {
    width: 420px;
    height: 420px;
    background: var(--accent);
    top: -120px;
    left: -100px;
}
.blob-2 {
    width: 360px;
    height: 360px;
    background: var(--accent-3);
    top: 28%;
    right: -120px;
    animation-delay: -5s;
}
.blob-3 {
    width: 340px;
    height: 340px;
    background: var(--accent-2);
    bottom: 8%;
    left: 15%;
    animation-delay: -9s;
}
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(36px, -28px) scale(1.1); }
}

.svg-defs { position: absolute; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.ico.sm { width: 16px; height: 16px; }
.ico.flip { transform: scaleX(-1); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.mono-tag, .mono-muted { font-family: var(--mono); font-size: 12px; letter-spacing: -0.02em; font-weight: 600; }
.mono-muted { color: var(--text-3); }

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 255, 1, 0.28);
    flex-shrink: 0;
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

.display {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.015em;
    font-size: clamp(50px, 7.6vw, 98px);
}
.display.sm { font-size: clamp(34px, 5vw, 62px); }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--line);
    box-shadow: 2px 2px 0px var(--line);
}
.tag.mint {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--on-accent);
}
:root[data-theme="dark"] .tag.mint {
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(184, 255, 1, 0.25);
}

.ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--on-accent);
    display: inline-block;
    animation: pingBounce 1.4s infinite;
}
@keyframes pingBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

.eyebrow-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.sticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--accent-4);
    color: #0a0a0c;
    border: 2px solid #0a0a0c;
    box-shadow: 2px 2px 0px #0a0a0c;
    transform: rotate(-2deg);
    transition: transform 0.25s var(--spring);
}
.sticker-badge:hover {
    transform: rotate(3deg) scale(1.06);
}

.flag { width: 20px; height: 14px; border-radius: 3px; display: block; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }

.skip-link {
    position: absolute; left: 12px; top: -64px; z-index: 200;
    background: var(--strong); color: var(--on-strong); padding: 11px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

.progress-bar {
    position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 300;
    background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

/* topbar */
.topbar {
    position: sticky; top: 0; z-index: 50; padding: 14px 0;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid transparent;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.topbar.scrolled {
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    border-bottom-color: var(--line);
    padding: 10px 0;
}
.bar-inner { display: flex; align-items: center; gap: 16px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--text);
}
.brand span { color: var(--text-3); margin-left: 2px; }
.brand-pill {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    background: var(--accent-2);
    color: #fff !important;
    padding: 3px 7px;
    border-radius: 99px;
    border: 1.5px solid var(--line);
    transform: rotate(-4deg);
}
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; transition: transform 0.35s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-14deg) scale(1.12); }
.brand-mark .bm-o { fill: var(--strong); stroke: var(--line); stroke-width: 1.5; }
.brand-mark .bm-i { fill: var(--accent); }
.brand.light { color: var(--on-strong); }
.brand.light span { color: var(--strong-muted); }

.navpill {
    display: flex;
    gap: 4px;
    margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: 99px;
    padding: 5px;
    max-width: 100%;
    overflow-x: auto;
}
.navpill::-webkit-scrollbar { display: none; }
.seg-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 99px;
    border: 2px solid transparent;
    background: none;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--spring);
}
.seg-btn:hover { color: var(--text); transform: translateY(-1px); }
.seg-btn.active {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--on-accent);
    animation: segPop 0.35s var(--spring);
}
:root[data-theme="dark"] .seg-btn.active {
    border-color: var(--accent);
}
@keyframes segPop { from { transform: scale(0.9); } to { transform: scale(1); } }

.bar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn {
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    transition: transform 0.25s var(--spring), background 0.2s;
}
.theme-btn:hover {
    background: var(--accent);
    color: var(--on-accent);
    transform: translateY(-2px) rotate(12deg);
}

.lang { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    transition: transform 0.2s var(--spring), background 0.2s;
}
.lang-btn:hover { transform: translateY(-2px); background: var(--surface-2); }
.lang-flag { font-size: 14px; line-height: 1; }
.lang-btn .caret { margin-left: 2px; color: var(--text-3); transform: rotate(90deg); transition: transform 0.25s var(--spring); }
.lang.open .lang-btn .caret { transform: rotate(-90deg); }
.lang-menu {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 185px;
    background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 6px;
    display: flex; flex-direction: column; gap: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.96);
    transition: all 0.22s var(--spring);
    box-shadow: var(--shadow-md);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-opt {
    display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; border: none;
    background: none; color: var(--text-2); font-size: 14px; font-weight: 600; text-align: left; width: 100%;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.lang-opt:hover { background: var(--surface-2); color: var(--text); transform: translateX(2px); }
.lang-opt.active { background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* dropdown */
.dropdown { position: relative; }
.dd-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 14px;
    background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm);
    color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: transform 0.2s var(--spring), border-color 0.18s var(--ease);
}
.dd-btn:hover { transform: translateY(-2px); }
.dd-btn .caret { color: var(--text-3); transform: rotate(90deg); transition: transform 0.2s var(--ease); margin-left: 2px; }
.dropdown.open .dd-btn .caret { transform: rotate(-90deg); }
.dd-menu {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 195px; z-index: 30; list-style: none;
    background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.96); transition: all 0.22s var(--spring);
    box-shadow: var(--shadow-md);
}
.dropdown.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-opt { padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background 0.15s, color 0.15s; }
.dd-opt:hover { background: var(--surface-2); color: var(--text); }
.dd-opt.active { background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* hero */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 56px 24px 64px;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lead { font-size: 18px; color: var(--text-2); max-width: 48ch; font-weight: 500; line-height: 1.6; }
.hero-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-right { display: flex; justify-content: flex-end; perspective: 900px; }
.quick-actions { display: grid; width: 100%; max-width: 580px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick-action {
    display: flex; min-height: 112px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--text); text-align: left; box-shadow: none; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.quick-action:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--surface-2); }
.quick-action.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.quick-action-copy { display: flex; flex-direction: column; gap: 4px; }
.quick-action strong { font-size: 14px; line-height: 1.25; }
.quick-action small { font-size: 11px; font-weight: 600; line-height: 1.35; color: var(--text-3); }
.quick-action.primary small { color: color-mix(in srgb, var(--on-accent) 72%, transparent); }
.quick-arrow { align-self: flex-end; color: inherit; }
.mobile-tool-nav { display: none; }

.block {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 430px;
    background: #0d0d12;
    color: #ffffff;
    border-radius: 28px;
    padding: 34px 32px 30px;
    border: 2.5px solid var(--line);
    box-shadow: var(--shadow-lg);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
}
.block:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: 12px 12px 0px var(--accent);
}
.block-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
}
.block-floater {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: rgba(184, 255, 1, 0.14);
    color: var(--accent);
    border: 1px solid rgba(184, 255, 1, 0.4);
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 14px;
}
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-transform: uppercase;
}
.block-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b4b4c4;
    background: rgba(255, 255, 255, 0.07);
    padding: 5px 11px;
    border-radius: 99px;
}
.spec { margin-top: 20px; display: flex; flex-direction: column; }
.spec > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}
.spec > div:last-child { border-bottom: none; }
.spec dt { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.68); }
.spec dd {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.spec-pill {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    background: var(--accent);
    color: #0a0a0c;
    padding: 3px 10px;
    border-radius: 8px;
}
.spec-pill.alt {
    background: var(--accent-3);
    color: #0a0a0c;
}
.spec dd .count { color: var(--accent); }
.block-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.block-fps {
    color: var(--accent-3);
    font-weight: 700;
}

.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: 2px 2px 0px var(--line);
    padding: 7px 13px;
    border-radius: 12px;
    transition: transform 0.2s var(--spring);
}
.hero-meta li:hover { transform: translateY(-2px); }
.meta-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.meta-dot.d-lime { background: var(--accent); border: 1px solid #000; }
.meta-dot.d-cyan { background: var(--accent-3); border: 1px solid #000; }
.meta-dot.d-pink { background: var(--accent-2); border: 1px solid #000; }
.meta-dot.d-gold { background: var(--accent-4); border: 1px solid #000; }

/* Fun Marquee Ticker */
.ticker-band {
    width: 100%;
    overflow: hidden;
    background: #0d0d12;
    color: var(--accent);
    border-top: 2.5px solid var(--line);
    border-bottom: 2.5px solid var(--line);
    padding: 11px 0;
    margin-bottom: 48px;
    user-select: none;
}
.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 24px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    animation: tickerSlide 26s linear infinite;
}
.ticker-band:hover .ticker-track {
    animation-play-state: paused;
}
.t-sep { color: var(--accent-2); }
@keyframes tickerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    border: 2px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition:
        background 0.18s var(--ease),
        color 0.18s var(--ease),
        border-color 0.18s var(--ease),
        transform 0.18s var(--spring),
        box-shadow 0.18s var(--ease);
}
.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-md);
}
.btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--line);
}
.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}
.btn .ico { transition: transform 0.22s var(--spring); }
.btn:hover svg.ico:last-child { transform: translateX(4px); }

.btn.primary {
    background: var(--accent);
    color: var(--on-accent);
    border-color: #0a0a0c;
}
:root[data-theme="dark"] .btn.primary {
    border-color: var(--accent);
}
.btn.primary:hover {
    background: #c8ff32;
}
.btn.ghost {
    background: var(--surface);
    color: var(--text);
}
.btn.big { height: 54px; padding: 0 26px; font-size: 15.5px; }
.btn.sm { height: 40px; padding: 0 15px; font-size: 13px; border-radius: 11px; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 2px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    box-shadow: 2px 2px 0px var(--line);
    transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.18s var(--spring);
}
.icon-btn:hover {
    color: var(--text);
    background: var(--accent);
    color: var(--on-accent);
    transform: translateY(-2px);
}
.icon-btn:active { transform: translateY(1px); }
.icon-btn.sm { width: 30px; height: 30px; border: none; box-shadow: none; }
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    border: 1.5px solid var(--line);
    padding: 5px 11px;
    border-radius: 9px;
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 700;
    transition: background 0.18s, color 0.18s, transform 0.18s var(--spring);
}
.link-btn:hover {
    color: #fff;
    background: var(--accent-2);
    border-color: #0a0a0c;
    transform: translateY(-1px);
}

/* panel */
.panel-wrap { padding-bottom: 84px; }
.panel {
    position: relative;
    background: var(--surface);
    border: 2.5px solid var(--line);
    box-shadow: var(--shadow-lg);
    border-radius: 28px;
    overflow: hidden;
    min-width: 0;
}
.panel-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    border-bottom: 2px solid var(--line);
    background: var(--surface-2);
}
.window-dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 4px;
}
.w-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid #0a0a0c;
    display: inline-block;
}
.w-dot.r { background: #ff5f56; }
.w-dot.y { background: #ffbd2e; }
.w-dot.g { background: #27c93f; }

.panel-quick-tabs {
    margin-left: 8px;
}
.pq-chip {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    color: var(--text-2);
}

.bar-status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    padding: 4px 12px;
    border-radius: 99px;
}
.panel-body { padding: 34px; }
.pane { display: none; min-width: 0; }
.pane.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: paneEnter 0.4s var(--ease);
}
.pane.active > * { animation: paneChild 0.45s var(--ease) both; }
@keyframes paneEnter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane.active > *:nth-child(2) { animation-delay: 0.05s; }
.pane.active > *:nth-child(3) { animation-delay: 0.10s; }
.pane.active > *:nth-child(4) { animation-delay: 0.15s; }
.pane.active > *:nth-child(5) { animation-delay: 0.20s; }
.pane.active > *:nth-child(6) { animation-delay: 0.25s; }
.pane.active > *:nth-child(7) { animation-delay: 0.30s; }
@keyframes paneChild { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pane-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.pane-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0a0a0c;
    transition: transform 0.3s var(--spring);
}
.pane-title-row:hover .pane-icon-badge {
    transform: rotate(-10deg) scale(1.08);
}
.pane-icon-badge.lime { background: var(--accent); }
.pane-icon-badge.cyan { background: var(--accent-3); }
.pane-icon-badge.pink { background: var(--accent-2); color: #fff; }

.pane-head h2 {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.01em;
}
.pane-head p { color: var(--text-2); margin-top: 6px; font-size: 15px; font-weight: 500; }

/* method */
.method-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 2px solid var(--line);
    background: var(--surface);
    color: var(--text);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.2s var(--ease),
        background 0.2s var(--ease),
        color 0.2s var(--ease),
        transform 0.2s var(--spring),
        box-shadow 0.2s var(--ease);
}
.method:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.method-sub {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-3);
}
.method.active .method-sub {
    color: var(--strong-muted);
}
.method-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--line-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: all 0.2s var(--spring);
}
.method.active {
    border-color: var(--line);
    background: #0d0d12;
    color: #ffffff;
    box-shadow: 5px 5px 0px var(--accent);
}
.method.active .method-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0c;
    opacity: 1;
    transform: scale(1.1);
}
.method-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: var(--surface-2);
    font-family: var(--display);
    font-size: 20px;
    color: var(--text);
    flex-shrink: 0;
}
.method.active .method-key {
    background: var(--accent);
    color: var(--on-accent);
    border-color: #0a0a0c;
}
.method-name { font-size: 16px; font-weight: 700; }

.note {
    position: relative;
    padding: 22px 24px;
    border-radius: 22px;
    background: var(--surface-2);
    border: 2px solid var(--line);
}
.note.hidden { display: none; }
.note-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: var(--accent);
    color: #0a0a0c;
    border: 1.5px solid #0a0a0c;
    padding: 3px 9px;
    border-radius: 99px;
    margin-bottom: 10px;
}
.note-badge.alt {
    background: var(--accent-3);
}
.note h4 { font-family: var(--mono); font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 8px; }
.note p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; font-weight: 500; }
.note ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.note li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.note li.ok .ico { color: var(--ok); }
.note li.warn .ico { color: var(--warn); }

/* fields */
.field { display: flex; flex-direction: column; gap: 12px; }
.field-head { display: flex; align-items: center; justify-content: space-between; }
.field-head label { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; }
textarea {
    width: 100%;
    padding: 16px;
    resize: vertical;
    min-height: 104px;
    background: var(--bg);
    border: 2px solid var(--line);
    border-radius: 16px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
textarea:hover { border-color: var(--text-2); }
textarea:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 4px 4px 0px var(--accent);
}
textarea::placeholder { color: var(--text-3); }

.field-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.char-pill {
    background: var(--surface-2);
    border: 1.5px solid var(--line);
    padding: 4px 11px;
    border-radius: 99px;
}
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); user-select: none; cursor: pointer; }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.check .box {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid var(--line);
    background: var(--surface);
    box-shadow: 2px 2px 0px var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.2s var(--spring);
    flex-shrink: 0;
}
.check:hover .box { transform: scale(1.06); }
.check input:focus-visible + .box { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.check input:checked + .box {
    background: var(--accent);
    border-color: #0a0a0c;
    color: #0a0a0c;
}
.check input:checked + .box .ico { animation: checkPop 0.28s var(--spring); }
@keyframes checkPop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts .check { padding: 14px 16px; background: var(--surface-2); border-radius: 16px; }

.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.actions .btn { flex: 1; min-width: 180px; height: 54px; min-height: 54px; flex-shrink: 0; }

/* status + skeleton */
.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border-radius: 22px;
    background: var(--surface-2);
    border: 2px solid var(--line);
    color: var(--text);
    font-size: 14.5px;
    font-weight: 700;
}
.status.hidden, .result.hidden, .sub.hidden, .pager.hidden, .icon-btn.hidden, .note.hidden, .loading.hidden { display: none; }
.spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--line);
    border-top-color: var(--accent-2);
    border-right-color: var(--accent);
    animation: spin 0.7s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sk { position: relative; overflow: hidden; background: var(--sk); border-radius: 8px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--sk-shine), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.sk-line { display: block; height: 12px; width: 100%; }
.sk-sm { height: 10px; width: 55%; }
.sk-lg { height: 22px; width: 80%; margin-top: 10px; }
.effect-thumb.sk { border-radius: 0; }
.sk-rows { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* result */
.result {
    background: var(--surface-2);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    overflow: hidden;
    min-width: 0;
    animation: paneChild 0.35s var(--spring);
}
.result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 2px solid var(--line);
    background: var(--surface);
}
.result-head h3 { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; }
.result-body { padding: 24px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sub { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sub-label { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: var(--text-2); }
.cookie-out {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.cookie-out code { flex: 1; font-family: var(--mono); font-size: 12px; word-break: break-all; line-height: 1.65; color: var(--text); }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px; }
.kv {
    padding: 15px 16px;
    background: var(--surface);
    border: 2px solid var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s var(--spring);
}
.kv:hover { transform: translateY(-2px); }
.kv-k { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: -0.01em; }
.kv-v { font-family: var(--display); text-transform: uppercase; font-size: 23px; letter-spacing: -0.01em; }
.kv-v.text { font-family: var(--mono); font-size: 13.5px; font-weight: 600; text-transform: none; line-height: 1.45; overflow-wrap: anywhere; }

.profile-head { display: flex; align-items: center; gap: 18px; padding: 20px; background: var(--strong); color: var(--on-strong); border-radius: 24px; border: 2px solid var(--line); }
.profile-head .avatar { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; background: var(--strong-2); flex-shrink: 0; }
.profile-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.profile-name { font-family: var(--display); text-transform: uppercase; font-size: 28px; line-height: 1; }
.profile-uid { font-family: var(--mono); font-size: 12px; color: var(--strong-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.badge { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: -0.02em; padding: 5px 10px; border-radius: 64px; background: var(--strong-line); color: var(--strong-muted); }
.badge.on { background: var(--accent); color: var(--on-accent); }

/* effect cards */
.effect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.effect-grid.big { min-height: 160px; }
.effect {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.effect:hover {
    transform: translateY(-5px) rotate(-0.5deg);
    box-shadow: 6px 6px 0px var(--accent);
}
.effect.thumbed { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.effect-thumb {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: radial-gradient(circle at 50% 50%, var(--surface), var(--surface-2));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--line);
    overflow: hidden;
}
.effect-thumb img { width: 88%; height: 88%; object-fit: contain; opacity: 0; transition: opacity 0.3s var(--ease), transform 0.35s var(--spring); }
.effect:hover .effect-thumb img { transform: scale(1.08); }
.effect-thumb img.loaded { opacity: 1; }
.effect-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.effect-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 16px 16px 0; }
.effect-id {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: #0a0a0c;
    background: var(--accent);
    border: 1.5px solid #0a0a0c;
    padding: 2px 9px;
    border-radius: 99px;
    width: fit-content;
}
.effect-chip { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.effect-name { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.effect-meta { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent-2); }
.tbl-thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2); object-fit: contain; display: block; }
.loading, .empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 48px; color: var(--text-3); font-size: 14.5px; font-weight: 600; }

/* tables */
.info-tables { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 980px) { .info-tables { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.table-wrap { max-width: 100%; max-height: 420px; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); }
.data-table { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 13.5px; }
.data-table th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: -0.02em; color: var(--text-3); padding: 13px 15px; border-bottom: 2px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; text-align: left; white-space: nowrap; }
.data-table td { padding: 12px 15px; border-bottom: 1px solid var(--surface-2); vertical-align: middle; text-align: left; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: var(--surface-2); }
.td-game { display: flex; align-items: center; gap: 10px; min-width: 0; }
.td-num { font-family: var(--mono); }

/* info list */
.info-list { display: flex; flex-direction: column; gap: 8px; }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; background: var(--surface); border: 2px solid var(--line); border-radius: 16px; }
.info-row-main { display: flex; align-items: center; gap: 11px; font-size: 14px; min-width: 0; }
.info-row-main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-ico { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }

/* toolbar */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.search {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 48px;
    background: var(--bg);
    border: 2px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
.search:focus-within {
    background: var(--surface);
    box-shadow: 4px 4px 0px var(--accent);
}
.search .ico { color: var(--text-3); }
.search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-size: 14px; font-weight: 600; }
.search input::placeholder { color: var(--text-3); }
.toolbar-end { display: flex; align-items: center; gap: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 8px; }
.pager-pill {
    background: var(--surface-2);
    border: 1.5px solid var(--line);
    padding: 6px 14px;
    border-radius: 99px;
}

/* how */
.how {
    position: relative;
    background: #0d0d12;
    color: #ffffff;
    padding: 88px 0;
    border-top: 2.5px solid var(--line);
    border-bottom: 2.5px solid var(--line);
}
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: #171721;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 6px 6px 0px rgba(184, 255, 1, 0.2);
    transition: transform 0.25s var(--spring), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.steps li:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 8px 8px 0px var(--accent);
}
.step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.step-no { font-family: var(--display); font-size: clamp(48px, 5.5vw, 64px); line-height: 0.85; color: var(--accent); }
.step-emoji {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.08);
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.steps h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.steps p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

/* features */
.features { padding: 88px 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
    padding: 30px;
    background: var(--surface);
    border: 2.5px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
}
.feature:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--line);
}
.feature-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    border: 2px solid #0a0a0c;
    box-shadow: 3px 3px 0px #0a0a0c;
    background: var(--accent);
    color: #0a0a0c;
    margin-bottom: 18px;
    transition: transform 0.28s var(--spring);
}
.feature:hover .feature-tile {
    transform: rotate(-10deg) scale(1.1);
}
.f-card-2 .feature-tile { background: var(--accent-3); }
.f-card-3 .feature-tile { background: var(--accent-2); color: #fff; }
.f-card-4 .feature-tile { background: var(--accent-4); }

.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; font-weight: 500; }

/* footer */
.footer {
    position: relative;
    background: #0d0d12;
    color: #ffffff;
    padding: 76px 0 36px;
    border-top: 2.5px solid var(--line);
}
.footer-accent {
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
}
.footer-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.footer-tag { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.68); max-width: 42ch; }
.footer-wordmark { font-family: var(--display); text-transform: uppercase; font-size: clamp(54px, 11vw, 128px); line-height: 0.82; letter-spacing: -0.02em; }
.footer-wordmark span { color: var(--accent); }
.footer-cta {
    background: var(--accent);
    color: #0a0a0c;
    border-color: var(--accent);
    height: 52px;
    box-shadow: 4px 4px 0px var(--accent-2);
}
.footer-cta:hover { background: #c9ff36; box-shadow: 6px 6px 0px var(--accent-2); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 36px 0; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.72); padding: 6px 0; transition: color 0.18s, padding-left 0.18s; }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.footer-ver { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom .mono-muted { color: rgba(255, 255, 255, 0.6); }
.footer-up { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: color 0.18s; }
.footer-up:hover { color: #ffffff; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, 0.58); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease); }
.modal.show { opacity: 1; visibility: visible; }
.modal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow: hidden;
    background: var(--surface);
    border: 2.5px solid var(--line);
    box-shadow: var(--shadow-lg);
    border-radius: 28px;
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition: transform 0.3s var(--spring), opacity 0.3s var(--ease);
}
.modal.show .modal-card { transform: none; opacity: 1; }
.modal-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2)); z-index: 2; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 22px 20px; background: var(--surface); border-bottom: 2px solid var(--line); }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-body h4 { font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 18px 0 10px; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; font-weight: 500; }
.modal-body ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.modal-body li { font-size: 14px; font-weight: 500; color: var(--text-2); padding-left: 18px; position: relative; }
.modal-body li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); border: 1px solid #000; }
.modal-foot { margin-top: 22px; }
.modal-foot .btn { width: 100%; }

/* motion */
.enter { opacity: 0; transform: translateY(14px); }
body.ready .enter { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }

.features, .footer { content-visibility: auto; contain-intrinsic-size: 1px 520px; }

/* responsive */
@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; gap: 32px; }
    .hero-right { justify-content: flex-start; }
    .block { max-width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
    .topbar .navpill { display: none; }
    .mobile-tool-nav {
        position: fixed; z-index: 80; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 94%, transparent);
        backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
    }
    .mobile-tool-btn {
        display: flex; min-width: 0; min-height: 54px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px;
        border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--text-3); font-size: 10px; font-weight: 700; line-height: 1.15;
    }
    .mobile-tool-btn span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-tool-btn.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
    body { padding-bottom: 88px; }
    .brand { font-size: 19px; }
    .brand-pill { display: none; }
    .panel-quick-tabs { display: none; }
    .method-row, .opts { grid-template-columns: 1fr; }
    .panel-body { padding: 22px; }
    .actions { flex-direction: column; gap: 10px; }
    .actions .btn { width: 100%; min-width: 0; height: 56px; min-height: 56px; font-size: 15px; }
    .hero-cta-row { width: 100%; }
    .hero-cta-row .btn.big { flex: 1; }
    .quick-actions { grid-template-columns: 1fr; max-width: none; }
    .quick-action { min-height: 76px; flex-direction: row; align-items: center; }
    .quick-arrow { align-self: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-hero { align-items: flex-start; }
    .footer-cta { width: 100%; justify-content: center; }
}
@media (max-width: 620px) {
    .kv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kv { padding: 12px; }
    .kv-v { font-size: 18px; }
    .kv-v.text { font-size: 12.5px; }
    .result-head { padding: 14px 16px; }
    .result-body { padding: 16px; }
    .cookie-out { flex-direction: column; }
    .cookie-out .btn { width: 100%; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .toolbar-end { justify-content: space-between; }
    .pane-head h2 { font-size: 26px; }
    .profile-name { font-size: 22px; }
    .profile-head { padding: 16px; gap: 14px; }
    .table-wrap { max-height: 360px; }
    .panel, .result { border-radius: 22px; }
}
@media (max-width: 380px) { .kv-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .enter, .reveal { opacity: 1; transform: none; }
    .enter, .reveal.in { transition: none; }
    .sk::after { display: none; }
    .progress-bar { transition: none; }
}

.result-head-actions { display: flex; align-items: center; gap: 10px; }

.share-stage { position: fixed; left: -10000px; top: 0; width: 820px; pointer-events: none; z-index: -1; }

.share-card {
    width: 820px; box-sizing: border-box; padding: 48px;
    background: #000; color: #ededed;
    font-family: 'Inter', sans-serif;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 36px 36px;
    border: 1px solid rgba(255,255,255,.1);
}
.share-card .sc-bar { height: 5px; margin: -48px -48px 32px; background: #b8ff01; }
.share-card .sc-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.share-card .sc-brand { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 34px; letter-spacing: .02em; color: #fff; line-height: 1; }
.share-card .sc-brand span { color: #b8ff01; }
.share-card .sc-topright { text-align: right; }
.share-card .sc-domain { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 500; color: #b8ff01; letter-spacing: -.02em; }
.share-card .sc-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: -.02em; color: #8a8a8a; margin-top: 7px; }
.share-card .sc-head { display: flex; align-items: center; gap: 26px; padding: 34px 0 28px; }
.share-card .sc-id { border-left: 3px solid #b8ff01; padding-left: 22px; }
.share-card .sc-avatar { width: 128px; height: 128px; border-radius: 22px; background: #141414 center/cover no-repeat; border: 2px solid rgba(184,255,1,.35); flex-shrink: 0; }
.share-card .sc-name { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 44px; line-height: .95; color: #fff; word-break: break-word; }
.share-card .sc-uid { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: #9a9a9a; margin-top: 8px; }
.share-card .sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share-card .sc-chip { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: -.02em; padding: 6px 12px; border-radius: 40px; background: #b8ff01; color: #0a0a0a; }
.share-card .sc-hero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.share-card .sc-hero-cell { background: #060606; padding: 24px 22px; }
.share-card .sc-hero-k { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: -.02em; color: #8a8a8a; }
.share-card .sc-hero-v { font-family: 'Anton', sans-serif; font-size: 40px; color: #fff; line-height: 1; margin-top: 12px; }
.share-card .sc-hero-cell:first-child .sc-hero-v,
.share-card .sc-hero-cell:nth-child(2) .sc-hero-v,
.share-card .sc-hero-cell:nth-child(3) .sc-hero-v { color: #b8ff01; }

.share-card .sc-section { margin-top: 28px; }
.share-card .sc-section-h { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: -.02em; color: #b4b4b4; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.share-card .sc-mark { width: 9px; height: 9px; border-radius: 2px; background: #b8ff01; flex-shrink: 0; }

.share-card .sc-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.share-card .sc-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.share-card .sc-spec-k { font-family: 'JetBrains Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: -.02em; color: #8a8a8a; white-space: nowrap; }
.share-card .sc-spec-v { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 500; color: #ededed; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.share-card .sc-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.share-card .sc-dual .sc-section { margin-top: 0; }
.share-card .sc-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.share-card .sc-item { background: #0a0a0a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px; }
.share-card .sc-item-thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; background: #141414 center/cover no-repeat; }
.share-card .sc-item-name { font-family: 'Inter', sans-serif; font-size: 12px; color: #d4d4d4; margin-top: 10px; line-height: 1.25; height: 30px; overflow: hidden; }
.share-card .sc-item-rap { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #b8ff01; margin-top: 4px; }

.share-card .sc-glist { display: grid; grid-template-columns: 1fr; gap: 0; }
.share-card .sc-grow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.share-card .sc-gico { width: 34px; height: 34px; border-radius: 8px; background: #141414 center/cover no-repeat; border: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.share-card .sc-gname { flex: 1; font-family: 'Inter', sans-serif; font-size: 14px; color: #d4d4d4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-card .sc-gval { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #b8ff01; flex-shrink: 0; }

.share-card .sc-foot { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #8a8a8a; }
.share-card .sc-dot { width: 9px; height: 9px; border-radius: 2px; background: #ffbe0b; }

@media (max-width: 560px) {
    .result-head-actions #shareCardBtn span { display: none; }
}

.data-table .td-dim { color: #8a8a8a; }
.data-table .td-val { font-weight: 600; }
.data-table .td-trend { font-size: 13px; }
.data-table .dm { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.data-table .dm-amazing, .data-table .dm-high { color: #15b371; }
.data-table .dm-normal { color: #8a8a8a; }
.data-table .dm-low, .data-table .dm-terrible { color: #e5484d; }

.val-tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: -0.02em; padding: 2px 6px; border-radius: 5px; vertical-align: middle; }
.val-tag.rare { background: #b8ff01; color: #0a0a0a; }
.val-tag.proj { background: #ffd27d; color: #2a1c00; }

.data-table .td-name { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.type-tag { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; padding: 2px 7px; border-radius: 5px; line-height: 1.6; white-space: nowrap; }
.type-effect { background: var(--accent); color: var(--on-accent); }
.type-limited { background: #8ab4ff; color: #091326; }
.effect .effect-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

:root { --sb-thumb: rgba(0,0,0,.26); --sb-thumb-h: rgba(0,0,0,.44); }
[data-theme="dark"] { --sb-thumb: rgba(255,255,255,.2); --sb-thumb-h: rgba(255,255,255,.4); }
* { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-h); background-clip: padding-box; }
::-webkit-scrollbar-thumb:active { background: var(--accent); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

.share-card .sc-count { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #b8ff01; background: rgba(184,255,1,.12); padding: 2px 10px; border-radius: 20px; }
.share-card .sc-item { background: linear-gradient(180deg, #0c0c0c, #080808); }
.share-card .sc-item-thumb { position: relative; overflow: hidden; }
.share-card .sc-item-badge { position: absolute; top: 7px; left: 7px; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; padding: 3px 7px; border-radius: 6px; }
.share-card .sc-badge-effect { background: #b8ff01; color: #0a0a0a; }
.share-card .sc-badge-limited { background: #8ab4ff; color: #091326; }
.share-card .sc-item-foot { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #b8ff01; margin-top: 4px; }

/* 404 page */
.nf-crumb { margin-left: auto; font-family: var(--mono); color: var(--text-3); }
.nf {
    min-height: calc(100vh - 150px);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 20px; padding-top: 56px; padding-bottom: 88px;
}
.nf-code {
    font-size: clamp(130px, 30vw, 340px); line-height: 0.78; letter-spacing: -0.03em; color: var(--text);
    position: relative; margin: 4px 0;
}
.nf-code::after {
    content: ""; display: block; width: 96px; height: 8px; margin-top: 18px;
    background: var(--accent);
}
.nf-title { font-size: clamp(28px, 5vw, 54px); }
.nf-lead { font-size: 17px; color: var(--text-2); max-width: 52ch; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.nf-routes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.nf-routes .nf-route { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.nf-routes a { font-family: var(--mono); font-size: 13px; color: var(--text-2); background: var(--surface); border: 1.5px solid var(--line); padding: 7px 13px; border-radius: 8px; transition: border-color 0.18s var(--ease), color 0.18s var(--ease); }
.nf-routes a:hover { border-color: var(--text); color: var(--text); }
[data-theme="dark"] .nf-routes a { border-color: var(--line); }
@media (max-width: 620px) {
    .nf-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .nf-actions .btn { width: 100%; }
    .nf-code::after { width: 72px; height: 8px; }
}

/* route transition */
.panel { position: relative; }
.panel.route-anim::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; z-index: 5; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
    transform: translateX(-100%); animation: routeSweep 0.6s var(--ease);
}
@keyframes routeSweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .panel.route-anim::after { display: none; } }

/* scrollspy */
.scrollspy { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 16px; }
.scrollspy a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.spy-dot { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--surface); flex-shrink: 0; transition: background 0.2s var(--ease), transform 0.25s var(--spring); }
.scrollspy a:hover .spy-dot { background: var(--text-3); }
.scrollspy a.active .spy-dot { background: var(--accent); border-color: #0a0a0c; transform: scale(1.3) rotate(45deg); }
.spy-label { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; color: var(--text-3); opacity: 0; transform: translateX(8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease); pointer-events: none; white-space: nowrap; }
.scrollspy a:hover .spy-label, .scrollspy a.active .spy-label { opacity: 1; transform: none; color: var(--text); }
@media (max-width: 1180px) { .scrollspy { display: none; } }
@media (prefers-reduced-motion: reduce) { .scrollspy a.active .spy-dot { transform: none; } }

/* toast */
.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast {
    display: inline-flex; align-items: center; gap: 11px; max-width: min(92vw, 440px);
    padding: 13px 18px 13px 15px; border-radius: 14px;
    background: #0d0d12; color: #ffffff; font-size: 14px; font-weight: 600; line-height: 1.4;
    border: 2px solid var(--line); border-left: 5px solid var(--accent-2);
    box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(16px) scale(0.95);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--spring); pointer-events: auto;
}
.toast.in { opacity: 1; transform: none; }
.toast .ico { color: var(--accent-2); flex-shrink: 0; }
.toast span { word-break: break-word; }
.toast-success { border-left-color: var(--accent); }
.toast-success .ico { color: var(--accent); }

/* scroll to top */
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 45;
    width: 48px; height: 48px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--line); background: var(--accent); color: #0a0a0c;
    box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.92);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--spring), visibility 0.25s, background 0.18s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.to-top:active { transform: translateY(1px); }
.to-top .ico { transform: rotate(-90deg); }
@media (max-width: 620px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .toast { transform: none; } .to-top { transform: none; } }

/* Fun Confetti Burst Particles */
.confetti-piece {
    position: fixed;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 999;
    animation: confettiPop 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes confettiPop {
    0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(var(--rot)); }
}

/* ============================================================
   ACCOUNT DASHBOARD (Bento Gaming Style — Custom RB Tools UI)
   ============================================================ */
.acc-cookie-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.acc-cookie-bar.hidden { display: none; }
.acb-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}
.acb-bar {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(184, 255, 1, 0.5);
}
.acb-code-wrap {
    flex: 1;
    min-width: 0;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    overflow-x: auto;
    white-space: nowrap;
}
.acb-code-wrap code {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-2);
}
.acb-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.acb-copy {
    flex-shrink: 0;
}

/* Account Dashboard Container */
.acc-dash {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Top Split Hero Card */
.acc-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.acc-hero-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 16px;
    border-right: 1.5px dashed var(--line-soft);
}
.acc-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 99px;
    background: rgba(0, 229, 255, 0.14);
    color: var(--accent-3);
    border: 1.5px solid var(--accent-3);
}
:root:not([data-theme="dark"]) .acc-tier-badge {
    background: #0d0d12;
    color: var(--accent-3);
    border-color: #0d0d12;
}
.acc-tier-badge.premium {
    background: rgba(255, 190, 11, 0.16);
    color: var(--accent-4);
    border-color: var(--accent-4);
}
:root:not([data-theme="dark"]) .acc-tier-badge.premium {
    background: #0d0d12;
    color: var(--accent-4);
}

.acc-user-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.acc-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    border: 2px solid var(--line);
    background: var(--surface-2);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 2px 2px 0px var(--line);
}
.acc-user-meta {
    flex: 1;
    min-width: 0;
}
.acc-user-name {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-user-id {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-3);
    margin-top: 2px;
}
.acc-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: var(--surface-2);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    transition: transform 0.2s var(--spring), background 0.18s;
}
.acc-profile-link:hover {
    background: var(--accent);
    color: #0a0a0c;
    transform: translateY(-2px);
}

/* 3 Balance / RAP / Spent Boxes */
.acc-stat-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.acc-stat-box {
    padding: 13px 14px;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s var(--spring), border-color 0.2s;
}
.acc-stat-box:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}
.acc-stat-lbl {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-3);
    letter-spacing: 0.03em;
}
.acc-stat-val {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--display);
    font-size: 23px;
    line-height: 1;
    letter-spacing: 0.01em;
}
.rbx-coin {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    background: var(--accent-4);
    color: #0a0a0c;
    border: 1.5px solid #0a0a0c;
    flex-shrink: 0;
}
.rbx-coin. rap-c { background: var(--accent); }
.rbx-coin.spent-c { background: var(--accent-3); }

/* Right Side Security & Bio */
.acc-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.acc-sec-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.acc-pill-box {
    flex: 1;
    min-width: 135px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 13px;
    font-size: 12.5px;
}
.acc-pill-k {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-3);
}
.acc-pill-v {
    font-family: var(--mono);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dot-ind {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot-ind.ok { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.dot-ind.bad { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }
.dot-ind.warn { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.5); }
.text-ok { color: #22c55e; }
.text-bad { color: #ef4444; }
.text-warn { color: #f59e0b; }

.acc-bio-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 11px 14px;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 13px;
    font-size: 12.5px;
}
.acc-bio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
}
.acc-bio-item strong {
    color: var(--text);
    font-weight: 800;
}

.acc-transfer-card {
    padding: 12px 14px;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.acc-tf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
}
.acc-tf-sub {
    font-family: var(--sans);
    text-transform: none;
    font-size: 11.5px;
    color: var(--text-3);
}
.acc-tf-vals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-2);
}
.acc-tf-vals b.gold { color: var(--accent-4); font-size: 14px; }
.acc-tf-vals b.mint { color: #22c55e; font-size: 14px; }

/* Sub-navigation Bar (Overview | Games | Inventory) */
.acc-subnav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.acc-subtabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.acc-subtab {
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: none;
    color: var(--text-2);
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s var(--spring);
}
.acc-subtab:hover { color: var(--text); }
.acc-subtab.active {
    background: var(--accent);
    color: #0a0a0c;
    box-shadow: 2px 2px 0px #0a0a0c;
}
.acc-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 2px solid var(--line);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Sub-panes inside Account Dashboard */
.acc-subpane { display: none; flex-direction: column; gap: 18px; }
.acc-subpane.active { display: flex; animation: paneEnter 0.3s var(--ease); }

/* Dual Columns for Games / Passes */
.acc-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.acc-panel-box {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.acc-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.acc-box-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 800;
}
.acc-box-bar {
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--accent-4);
}
.acc-box-bar.lime { background: var(--accent); }
.acc-box-bar.cyan { background: var(--accent-3); }
.acc-box-bar.pink { background: var(--accent-2); }

.acc-cnt-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(255, 190, 11, 0.18);
    color: var(--accent-4);
    border: 1px solid rgba(255, 190, 11, 0.4);
}
:root:not([data-theme="dark"]) .acc-cnt-pill {
    background: #0d0d12;
    color: var(--accent-4);
}
.acc-box-note {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-3);
}

/* Game / Pass Rows */
.acc-list {
    display: flex;
    flex-direction: column;
}
.acc-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px solid var(--surface-2);
}
.acc-row-item.hidden { display: none; }
.acc-row-item:last-child { border-bottom: none; }
.acc-rank {
    width: 20px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    text-align: center;
}
.acc-game-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: var(--surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 15px;
    color: var(--text);
    flex-shrink: 0;
}
.acc-game-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9.5px;
}
.acc-thumb-chip {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #14141c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    padding: 1px 5px;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}
.acc-chevron {
    color: var(--text-3);
    font-size: 16px;
    margin-left: 3px;
    font-weight: 600;
}
.acc-cnt-pill.neutral {
    background: var(--surface-2);
    color: var(--text-2);
    border-color: var(--line);
}
.acc-show-more {
    width: 100%;
    padding: 11px 16px;
    margin-top: 4px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background 0.18s, color 0.18s, transform 0.18s var(--spring), border-color 0.18s;
}
.acc-show-more:hover {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--accent);
    transform: translateY(-1px);
}
.acc-row-info {
    flex: 1;
    min-width: 0;
}
.acc-row-title {
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-row-sub {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px;
}
.acc-bar-track {
    width: 100%;
    height: 5px;
    border-radius: 99px;
    background: var(--surface-2);
    margin-top: 7px;
    overflow: hidden;
}
.acc-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent-4), var(--accent));
}
.acc-row-val {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-4);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
:root:not([data-theme="dark"]) .acc-row-val {
    color: #b45309;
}

/* Bottom Showcase (Avatar Animations & Collectibles) */
.acc-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 12px;
}
.acc-mini-card {
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: transform 0.2s var(--spring), border-color 0.2s;
}
.acc-mini-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.acc-mini-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.acc-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.acc-mini-name {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.acc-mini-sub {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-2);
}
.acc-catalog-grid { align-items: start; }
.acc-showcase-grid.compact { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.acc-showcase-grid.compact .acc-mini-card { min-width: 0; padding: 10px; }
.acc-showcase-grid.compact .acc-mini-thumb { width: 56px; height: 56px; }
.owned-effect-showcase .acc-mini-sub { color: var(--accent-2); }
.official-catalog-showcase .acc-mini-sub { color: var(--accent-4); }
.acc-empty-state {
    min-height: 126px; display: flex; align-items: center; justify-content: center; padding: 20px; border: 1px dashed var(--line-soft);
    border-radius: 14px; color: var(--text-3); font-size: 12px; font-weight: 600; text-align: center;
    grid-column: 1 / -1;
}
.acc-box-bar.gold { background: var(--accent-4); }

.sub-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.field-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Filter Pills in Effect Items Database */
.effect-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.eff-pill {
    padding: 7px 14px;
    border-radius: 99px;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 2px 2px 0px var(--line);
    transition: background 0.18s, color 0.18s, transform 0.18s var(--spring);
}
.eff-pill:hover {
    color: var(--text);
    transform: translateY(-2px);
}
.eff-pill.active {
    background: var(--accent);
    color: #0a0a0c;
    border-color: #0a0a0c;
}
.effect.is-owned {
    border-color: var(--accent);
    box-shadow: 4px 4px 0px var(--accent);
}
.effect-owned-badge {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--accent-2);
    color: #fff;
}
.effect-chaser-badge {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--accent-4);
    color: #0a0a0c;
}
.pill-divider {
    width: 1.5px;
    height: 22px;
    background: var(--line);
    margin: 0 4px;
}
.toycode-showcase .acc-mini-sub {
    color: var(--accent-3);
}
.toycode-showcase.is-chaser {
    border-color: var(--accent-4);
}
.toycode-showcase.is-chaser .acc-mini-sub {
    color: var(--accent-4);
}

@media (max-width: 860px) {
    .acc-hero-grid { grid-template-columns: 1fr; }
    .acc-hero-left { padding-right: 0; border-right: none; border-bottom: 1.5px dashed var(--line-soft); padding-bottom: 16px; }
    .acc-dual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .acc-cookie-bar { flex-direction: column; align-items: stretch; }
    .acb-actions { width: 100%; }
    .acb-actions .btn { flex: 1; justify-content: center; }
    .acc-stat-trio { grid-template-columns: 1fr; }
}

