@font-face {
    font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("fonts/geist-latin.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
    --bg: #09090b;
    --bg-2: #0f0f12;
    --bg-3: #16161a;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #ededf0;
    --text-2: #a1a1aa;
    --text-3: #6b6b76;
    --accent: #c700ff;
    --accent-soft: #d98cff;
    --ok: #4ade80;
    --bad: #f87171;
    --warn: #fbbf24;

    --r-lg: 24px;
    --r: 16px;
    --r-sm: 12px;

    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --wrap: 1200px;
    --gutter: 1.5rem;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; width: 100%; }
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 70% 45% at 50% -12%, rgba(255, 255, 255, 0.075), transparent 70%);
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: var(--grain);
    background-size: 200px 200px;
    opacity: 0.035;
}
::selection { background: rgba(199, 0, 255, 0.45); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232329; border-radius: 5px; border: 2px solid var(--bg); }
* { scrollbar-width: thin; scrollbar-color: #232329 var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { display: block; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(560px, 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    height: 2.5rem; padding: 0 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem; font-weight: 500; letter-spacing: -0.005em;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 2.1rem; padding: 0 0.9rem; font-size: 0.84rem; }
.btn-xs { height: 1.8rem; padding: 0 0.7rem; font-size: 0.76rem; }
.btn-light, .btn-primary { color: #09090b; background: #ededf0; }
.btn-light:hover, .btn-primary:hover { background: #fff; }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-danger { color: #fca5a5; background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.25); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.14); }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.9rem; font-weight: 500; color: var(--text-2);
    transition: color 0.2s ease;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover svg { transform: translateX(2px); }
.icon-btn { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; color: var(--text-2); transition: color 0.2s ease; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { color: var(--text); }

.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: 0.75rem; pointer-events: none; }
.site-head > .wrap { pointer-events: auto; }
.bar {
    display: flex; align-items: center; gap: 1rem;
    height: 3.25rem; padding: 0 0.45rem 0 1rem;
    border-radius: 999px;
    background: rgba(18, 18, 22, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 26px; width: auto; }
.brand-tag {
    padding: 0.15rem 0.5rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.02em; color: var(--text-2);
    background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line);
}
.nav-links { display: flex; align-items: center; gap: 0.1rem; margin-inline: auto; }
.nav-links a { padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--text-2); transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.nav-cta { margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
form.nav-cta { display: inline-flex; }

.display {
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    font-weight: 600; line-height: 1; letter-spacing: -0.05em;
}
.display .line { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.display .line + .line { color: var(--text-3); }
.lede {
    max-width: 38rem;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 500; line-height: 1.2; letter-spacing: -0.03em;
    color: var(--text-3);
}
.lede strong { font-weight: 500; color: var(--text); }
.display, .lede, .page-title { text-wrap: balance; }
.sub { max-width: 30rem; color: var(--text-2); font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }

.hero { padding-top: clamp(7.5rem, 15vh, 9.5rem); }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-copy .sub { margin-top: -0.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.loader {
    display: flex; align-items: center; gap: 0.6rem;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.55rem 0.35rem 0.55rem 0.95rem;
    border-radius: var(--r-sm);
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow 0.25s ease;
}
.loader:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.loader code {
    flex: 1; min-width: 0;
    font-family: var(--mono); font-size: 0.74rem; line-height: 1.6; color: var(--text-2);
    white-space: pre-wrap; word-break: break-all;
}
.tk-fn { color: var(--text); }
.tk-str { color: var(--accent-soft); }
.copy-btn {
    flex-shrink: 0; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.4rem;
    height: 2.15rem; padding: 0 0.8rem;
    border-radius: 9px;
    font-size: 0.8rem; font-weight: 500; color: var(--text);
    background: var(--bg-3);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { background: #1d1d22; }
.copy-btn.copied { color: var(--ok); }
.copy-btn svg { width: 14px; height: 14px; }

.stage { position: relative; }
.feed-card { padding: 1.25rem; }
.feed-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 0.86rem; font-weight: 500; color: var(--text-2); }
.feed { display: grid; gap: 0.45rem; }
.feed-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--r-sm);
    background: var(--bg-3);
    box-shadow: inset 0 0 0 1px var(--line);
}
.feed-row .nm { font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .rt { margin-left: auto; flex-shrink: 0; font-size: 0.78rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.feed-row .pl { flex-shrink: 0; font-size: 0.78rem; color: var(--text-3); font-family: var(--mono); }
.feed-empty { padding: 1.2rem; text-align: center; color: var(--text-3); font-size: 0.88rem; }
.live-dot {
    width: 7px; height: 7px; margin-right: 0.15rem; border-radius: 50%;
    background: var(--ok);
    animation: live 2s ease-out infinite;
}
@keyframes live {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
    100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

.sec { padding-top: clamp(5rem, 11vh, 8rem); }
.sec-sm { padding-top: 2.5rem; }
.sec-tight { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

.stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    overflow: hidden;
}
.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: block; padding: 2rem 2rem 2.1rem; transition: background 0.2s ease; }
.stat + .stat { border-left: 1px solid var(--line); }
a.stat:hover { background: rgba(255, 255, 255, 0.02); }
.stat-num { font-size: clamp(2.2rem, 3.8vw, 3.1rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat-lbl { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.75rem; font-size: 0.86rem; color: var(--text-3); }
.stat-lbl svg { width: 13px; height: 13px; }
.stat-lbl a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.stat-lbl a:hover { color: var(--text); }

.sec-cta { padding-bottom: clamp(4rem, 9vh, 6rem); }
.cta {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap;
    padding: clamp(2.2rem, 5vw, 3.5rem);
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
}
.cta::before {
    content: ""; position: absolute; top: -40%; bottom: -40%; right: -10%; width: 60%; z-index: -1;
    background: url("lumin-art-900.webp") center / cover no-repeat;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 90%);
    mask-image: linear-gradient(to left, #000 20%, transparent 90%);
}
.cta .lede { max-width: 32rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.page-hero { padding-top: clamp(8rem, 17vh, 10rem); padding-bottom: 2.75rem; }
.page-hero.compact { padding-top: 6.25rem; padding-bottom: 1.75rem; }
.page-title { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; }
.page-hero.compact .page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-title .count { color: var(--text-3); font-weight: 500; }
.page-hero .sub { margin-top: 1rem; }
.page-hero.compact .sub { margin-top: 0.4rem; font-size: 0.95rem; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }

.card {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 1.75rem;
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: box-shadow 0.25s ease;
}
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.card-featured::before {
    content: ""; position: absolute; inset: 0 0 45% 0; z-index: -1;
    background: url("lumin-art-900.webp") 50% 35% / cover no-repeat;
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    mask-image: linear-gradient(to bottom, #000, transparent);
}
.card h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.card .desc { color: var(--text-2); font-size: 0.92rem; margin-bottom: 1.2rem; }
.card .foot-btn { margin-top: auto; }
.stack { display: grid; gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.key-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.key-badge {
    position: absolute; top: 1.4rem; right: 1.4rem;
    padding: 0.2rem 0.6rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 500; color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.key-card h3 { font-size: 1rem; font-weight: 500; color: var(--text-2); }
.price { font-size: 2.3rem; font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; margin: 0.3rem 0 1.4rem; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-left: 0.3rem; }
.key-list { list-style: none; margin: 0 0 2rem; display: grid; gap: 0.55rem; }
.key-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--text-2); }
.key-list svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-3); }
.key-card .btn { width: 100%; margin-top: auto; }

.why-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--r-lg);
    background: var(--bg-2);
    box-shadow: inset 0 0 0 1px var(--line);
    overflow: hidden;
}
.why-card { padding: 1.9rem 2rem 2rem; }
.why-card + .why-card { border-left: 1px solid var(--line); }
.why-card .icon { color: var(--text-2); margin-bottom: 1.1rem; }
.why-card .icon svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.why-card p { font-size: 0.92rem; color: var(--text-2); text-wrap: pretty; }

.pay-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pay-tags a, .pay-tags span {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.32rem 0.7rem; border-radius: 999px;
    font-size: 0.8rem; color: var(--text-2);
    background: var(--bg-3);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: color 0.2s ease, box-shadow 0.2s ease;
}
.pay-tags a:hover, .pay-tags a[aria-current="true"] { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.pay-tags b { font-weight: 500; color: var(--text); }

.legal-list { list-style: none; display: grid; gap: 0.6rem; }
.legal-list li { position: relative; padding-left: 1.2rem; color: var(--text-2); font-size: 0.97rem; line-height: 1.65; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 7px; height: 1px; background: var(--text-3); }

.foot { flex-shrink: 0; border-top: 1px solid var(--line); padding: 1.75rem 0; margin-top: clamp(2rem, 5vh, 4rem); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot p { font-size: 0.84rem; color: var(--text-3); }
.foot-links { display: flex; align-items: center; gap: 1.25rem; }
.foot-links a:not(.icon-btn) { font-size: 0.84rem; color: var(--text-2); transition: color 0.2s ease; }
.foot-links a:not(.icon-btn):hover { color: var(--text); }

.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field > span { font-size: 0.82rem; font-weight: 500; color: var(--text-2); }
.input {
    display: block; width: 100%; height: 2.6rem; padding: 0 0.9rem;
    border: 0; outline: 0; border-radius: var(--r-sm);
    background: var(--bg-3);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 0.92rem;
    transition: box-shadow 0.2s ease;
}
.input:focus { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 4px rgba(255, 255, 255, 0.04); }
.input::placeholder { color: var(--text-3); }
.input-sm { height: 2rem; padding: 0 0.6rem; font-size: 0.82rem; border-radius: 9px; }
.auth { width: min(420px, 100%); margin-inline: auto; }
.auth .card { padding: 2rem; }
.auth h1 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 0.3rem; }
.auth .lead { color: var(--text-2); font-size: 0.92rem; margin-bottom: 1.5rem; }
.auth .btn { width: 100%; margin-top: 0.5rem; }
.auth .alt { margin-top: 1.25rem; font-size: 0.88rem; color: var(--text-2); text-align: center; }
.auth .alt a, .alert a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.alert {
    padding: 0.8rem 1rem; border-radius: var(--r-sm);
    font-size: 0.88rem; line-height: 1.5;
    background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text-2);
}
.alert-bad { color: #fca5a5; background: rgba(248, 113, 113, 0.07); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }
.alert-ok { color: #86efac; background: rgba(74, 222, 128, 0.07); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.3); }
.alert strong { display: block; margin-bottom: 0.4rem; color: inherit; }
.token-box {
    font-family: var(--mono); font-size: 0.84rem; line-height: 1.6;
    padding: 0.9rem 1rem; border-radius: var(--r-sm);
    background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
    color: var(--accent-soft); word-break: break-all;
}

.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tbl th { text-align: left; font-weight: 500; font-size: 0.74rem; letter-spacing: 0.01em; color: var(--text-3); padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--text); }
.tbl .num { font-variant-numeric: tabular-nums; }
.tbl tr.faded td { opacity: 0.45; }
.tbl td form { margin: 0; }
.tbl .msg { white-space: pre-wrap; word-break: break-word; max-width: 560px; color: var(--text); }
.tbl .ua { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.78rem; }
.tbl-wrap { overflow-x: auto; margin: 0 -0.6rem; }
.mono { font-family: var(--mono); font-size: 0.78rem; }
.pos { color: var(--ok); }
.neg { color: var(--bad); }
.warn { color: var(--warn); }
.pill {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.15rem 0.55rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 500; line-height: 1.5; white-space: nowrap;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line);
}
.pill-ok { color: var(--ok); background: rgba(74, 222, 128, 0.1); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.3); }
.pill-bad { color: var(--bad); background: rgba(248, 113, 113, 0.1); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }
.pill-warn { color: var(--warn); background: rgba(251, 191, 36, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3); }
.pill-accent { color: var(--accent-soft); background: rgba(199, 0, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(217, 140, 255, 0.3); }
details summary { cursor: pointer; font-size: 0.76rem; color: var(--text-3); margin-top: 0.3rem; }
details pre { margin-top: 0.4rem; padding: 0.7rem 0.8rem; border-radius: 9px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 0.74rem; color: var(--text-2); overflow: auto; }

.toolbar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.toolbar form { display: flex; align-items: center; gap: 0.5rem; }
.toolbar .input { width: auto; min-width: 15rem; }
.toolbar .push { margin-left: auto; }
.inline-form { display: flex; align-items: center; gap: 0.35rem; }
.inline-form .input-sm { width: 5rem; }
.inline-form .input-sm.wide { width: 8rem; }

.presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 1rem; }
.preset { position: relative; margin: 0; }
.preset input, .method input { position: absolute; opacity: 0; pointer-events: none; }
.preset span {
    display: grid; place-items: center; height: 2.6rem;
    border-radius: var(--r-sm);
    background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line);
    font-size: 0.92rem; font-weight: 500; color: var(--text-2);
    cursor: pointer; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.preset span:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.preset input:checked + span { background: #ededf0; color: #09090b; box-shadow: none; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0.4rem 0 1.4rem; }
.method {
    position: relative; display: flex; align-items: center; gap: 0.8rem;
    padding: 0.9rem 1rem; margin: 0;
    border-radius: var(--r);
    background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer; transition: box-shadow 0.2s ease;
}
.method:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.method:has(input:checked) { box-shadow: inset 0 0 0 1px var(--text), 0 0 0 4px rgba(255, 255, 255, 0.04); }
.method .mi {
    display: grid; place-items: center; flex-shrink: 0;
    width: 2.4rem; height: 2.4rem; border-radius: 12px;
    background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
}
.method .mi svg { width: 18px; height: 18px; }
.method strong { display: block; font-size: 0.95rem; font-weight: 500; }
.method small { display: block; color: var(--text-3); font-size: 0.78rem; line-height: 1.4; }
.note { font-size: 0.84rem; color: var(--text-3); margin-top: 1rem; text-wrap: pretty; }

.admin-nav .nav-links a { font-size: 0.82rem; padding: 0.35rem 0.7rem; }

@media (max-width: 1100px) {
    .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-4 .stat:nth-child(3) { border-left: 0; }
    .stats-4 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .stage { max-width: 640px; }
    .key-grid, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .why-grid { grid-template-columns: minmax(0, 1fr); }
    .why-card, .why-card + .why-card { padding: 1.5rem; border-left: 0; }
    .why-card + .why-card { border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
    :root { --gutter: 1rem; }
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
    .bar { background: rgba(18, 18, 22, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .hero { padding-top: 6.5rem; }
    .hero-ctas { width: 100%; }
    .hero-ctas .btn { flex: 1 1 10rem; height: 2.75rem; }
    .stats, .stats-4 { grid-template-columns: minmax(0, 1fr); }
    .stat { padding: 1.5rem 1.5rem; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
    .cta { flex-direction: column; align-items: flex-start; }
    .cta::before { width: 100%; right: -30%; opacity: 0.4; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 10rem; height: 2.75rem; }
    .presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .methods { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 1.3rem; }
}
@media (max-width: 600px) {
    .foot-inner { flex-direction: column; text-align: center; }
}

.egg { display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.egg img { width: 30px; height: 30px; object-fit: contain; }
.egg-lg { width: 60px; height: 60px; border-radius: 16px; }
.egg-lg img { width: 50px; height: 50px; }
.egg-ph { color: var(--text-3); font-size: 0.8rem; font-weight: 600; }
.egg-cell { display: inline-flex; align-items: center; gap: 0.55rem; }
.egg-cell .egg { width: 28px; height: 28px; border-radius: 8px; }
.egg-cell .egg img { width: 22px; height: 22px; }
.feed-row .egg { background: var(--bg-2); }

.pill.r-common { color: #a1a1aa; }
.pill.r-uncommon { color: #4ade80; background: rgba(74, 222, 128, 0.1); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.3); }
.pill.r-rare { color: #60a5fa; background: rgba(96, 165, 250, 0.1); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.3); }
.pill.r-epic { color: #a78bfa; background: rgba(167, 139, 250, 0.1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.3); }
.pill.r-legendary { color: #fbbf24; background: rgba(251, 191, 36, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.3); }
.pill.r-mythic { color: #f472b6; background: rgba(244, 114, 182, 0.1); box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.3); }
.pill.r-divine { color: #fde68a; background: rgba(253, 230, 138, 0.1); box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.35); }
.pill.r-cosmic { color: #22d3ee; background: rgba(34, 211, 238, 0.1); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.3); }
.pill.r-eternal { color: #e879f9; background: rgba(232, 121, 249, 0.12); box-shadow: inset 0 0 0 1px rgba(232, 121, 249, 0.35); }
.pill.r-secret { color: #ededf0; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 12px rgba(255, 255, 255, 0.12); }
.pill.r-monster { color: #a3e635; background: rgba(163, 230, 53, 0.1); box-shadow: inset 0 0 0 1px rgba(163, 230, 53, 0.3); }
.pill.r-brainrot { color: #fb923c; background: rgba(251, 146, 60, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.3); }
.pill.r-titan { color: #ff5c5c; background: rgba(255, 64, 64, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 64, 64, 0.4), 0 0 12px rgba(255, 64, 64, 0.15); }
.pill.r-lightdark { color: #c494ff; background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(20, 0, 40, 0.5)); box-shadow: inset 0 0 0 1px rgba(196, 148, 255, 0.45), 0 0 12px rgba(196, 148, 255, 0.18); }
.pill.r-transcendent { color: #c3ffff; background: rgba(195, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(195, 255, 255, 0.35); }
.pill.r-limited { color: #f87171; background: rgba(248, 113, 113, 0.1); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }

.egg-strip { display: flex; gap: 0.6rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip-egg { flex-shrink: 0; animation: strip 60s linear infinite; }
.strip-egg .egg-lg { background: var(--bg-2); transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease; }
.strip-egg:hover .egg-lg { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
@keyframes strip { to { transform: translateX(calc(-100% - 0.6rem)); } }
.egg-strip:hover .strip-egg { animation-play-state: paused; }

.rarity-head { display: flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0.7rem; font-size: 0.8rem; }
.rarity-head:first-child { margin-top: 0; }
.egg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.5rem; }
.egg-chip { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.6rem 0.4rem 0.4rem; border-radius: var(--r-sm); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.84rem; font-weight: 500; color: var(--text-2); text-align: left; cursor: copy; transition: color 0.2s ease, box-shadow 0.2s ease; }
.egg-chip span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.egg-chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.egg-chip.copied { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.5); }

.tier-card .delay { display: inline-flex; align-items: center; gap: 0.4rem; margin: -0.6rem 0 1.2rem; padding: 0.3rem 0.7rem 0.3rem 0.55rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; color: var(--text-2); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); align-self: flex-start; }
.tier-card .delay svg { width: 14px; height: 14px; }
.tier-card .delay.pos { color: var(--ok); background: rgba(74, 222, 128, 0.08); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.3); }
.tier-card .delay.neg { color: var(--bad); background: rgba(248, 113, 113, 0.08); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.3); }
.method:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.methods-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.method strong em { font-style: normal; font-weight: 400; font-size: 0.82rem; margin-left: 0.2rem; }
.total { display: flex; align-items: baseline; justify-content: space-between; margin: 0.2rem 0 1rem; font-size: 0.9rem; color: var(--text-2); }
.total b { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.foot p a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
@media (max-width: 768px) {
    .methods-3 { grid-template-columns: minmax(0, 1fr); }
    .egg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

select.input { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.85rem center; }
select.input option { background: #16161a; color: var(--text); }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
.field > span em { font-style: normal; font-weight: 400; }
.toggles { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.toggle { position: relative; margin: 0; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .pill { padding: 0.35rem 0.8rem; font-size: 0.8rem; opacity: 0.45; transition: opacity 0.2s ease, transform 0.2s ease; }
.toggle:hover .pill { opacity: 0.8; }
.toggle input:checked + .pill { opacity: 1; }
.toggle input:focus-visible + .pill { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.picker { position: relative; }
.picker .input.shake { animation: shake 0.3s ease; box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.5); }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.6rem; min-height: 0; }
.chip-egg { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.3rem 0.25rem 0.3rem; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.84rem; font-weight: 500; }
.chip-egg .egg { width: 28px; height: 28px; border-radius: 50%; }
.chip-egg .egg img { width: 22px; height: 22px; }
.chip-x { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: var(--text-3); font-size: 1rem; line-height: 1; transition: background 0.2s ease, color 0.2s ease; }
.chip-x:hover { background: rgba(248, 113, 113, 0.15); color: #fca5a5; }
.frow { display: flex; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.frow .note { margin: 0; }
@media (max-width: 960px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
