:root {
    --bg: #08111a;
    --bg-2: #0d1b27;
    --ink: #e8eef3;
    --muted: #b7c4d0;
    --faint: #8ea0b0;
    --brass: #e4b56a;
    --brass-2: #f3d7a6;
    --mint: #8ee0c8;
    --line: rgba(228, 181, 106, 0.32);
    --line-soft: rgba(232, 238, 243, 0.08);
    --card: rgba(10, 24, 36, 0.78);
    --danger: #ffb0a4;
    --ok: #b7f3df;
    --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 360;
    background:
        radial-gradient(900px 480px at 100% -10%, rgba(228, 181, 106, 0.18), transparent 55%),
        radial-gradient(700px 420px at -15% 10%, rgba(142, 224, 200, 0.1), transparent 50%),
        var(--bg);
    line-height: 1.5;
}
body > * { position: relative; z-index: 1; }
.backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(228, 181, 106, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 181, 106, 0.045) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(#000 0%, transparent 78%);
    animation: drift 32s linear infinite;
}
@keyframes drift { to { background-position: 76px 76px; } }

a { color: var(--brass-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: white; }
img, svg { max-width: 100%; }

.foot, .hero, .section, .split, .band, .flash {
    box-sizing: border-box;
    width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.mast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
}
.ticker {
    overflow: hidden;
    background: #1a1208;
    color: var(--brass-2);
    border-bottom: 1px solid var(--line);
    font-size: 0.84rem;
    line-height: 1.35;
}
.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    padding: 8px 0;
    animation: ticker-move 80s linear infinite;
}
.ticker-track span {
    white-space: nowrap;
    padding: 0 18px;
    border-left: 1px solid rgba(228, 181, 106, 0.35);
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.top {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    position: relative;
    z-index: 5;
    padding: 0 max(16px, calc((100% - 1120px) / 2));
    background: rgba(8, 17, 26, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 181, 106, 0.16);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}
.mark {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--brass);
    transform: rotate(45deg);
    box-shadow: inset 0 0 0 3px rgba(142, 224, 200, 0.7);
}
.nav-links {
    display: none;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-cta {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
}
.nav-toggle {
    display: inline-flex;
    margin-left: auto;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    min-height: 44px;
    padding: 0 14px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 28px 20px 18px;
}
.hero > *, .steps > *, .split > *, .band > * { min-width: 0; }
.kicker {
    margin: 0 0 8px;
    color: var(--brass);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.76rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.15rem, 8vw, 5.1rem); line-height: 0.96; margin: 0 0 16px; overflow-wrap: break-word; }
.hero h1 { font-size: clamp(2.05rem, 4.8vw, 3.7rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 12px; }
h3 { margin: 0 0 8px; font-size: 1.35rem; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 46rem; overflow-wrap: break-word; }
.narrow { max-width: 40rem; }
.hero-actions, .filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.hero-card, .panel, .auth-card, .stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.hero-card { padding: 18px 18px 8px; }
.hero-card-top, .panel-head, .user-card-top, .page-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.pill {
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--mint);
    border: 1px solid rgba(142, 224, 200, 0.4);
    font-size: 0.82rem;
}
.chart { width: 100%; max-width: 100%; height: auto; display: block; }
.chart-base { stroke: rgba(232, 238, 243, 0.15); }
.chart-price {
    fill: none;
    stroke: var(--mint);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    animation: draw 2.2s ease forwards 0.2s;
}
.chart-dot { fill: var(--brass); animation: pulse 2.2s ease-in-out infinite; }
.chart-runner {
    fill: var(--brass-2);
    offset-path: path("M16 150 C70 150 86 78 132 92 S214 176 268 118 S360 36 504 74");
    offset-rotate: 0deg;
    animation: travel 5.5s ease-in-out infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
@keyframes travel {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}
.hero-card { animation: cardglow 5.5s ease-in-out infinite; }
@keyframes cardglow {
    0%, 100% { box-shadow: var(--shadow); }
    50% { box-shadow: 0 22px 50px rgba(142, 224, 200, 0.18); }
}
.band p { animation: rise 0.7s ease both; }
.band p:nth-child(2) { animation-delay: 0.1s; }
.band p:nth-child(3) { animation-delay: 0.2s; }
.band p:nth-child(4) { animation-delay: 0.3s; }
.band p:nth-child(5) { animation-delay: 0.4s; }
@media (prefers-reduced-motion: no-preference) {
    html.js .reveal {
        opacity: 0;
        transform: translateY(18px);
    }
    html.js .reveal.in { animation: rise 0.75s ease both; }
    html.js .reveal.d2.in { animation-delay: 0.08s; }
    html.js .reveal.d3.in { animation-delay: 0.16s; }
    html.js .reveal.d4.in { animation-delay: 0.24s; }
}
.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
}
.hero-meta div { padding: 10px 4px 14px; }
.hero-meta dt { color: var(--faint); font-size: 0.78rem; }
.hero-meta dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.15rem; }

.band {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 8px 0 10px;
}
.band p {
    margin: 0;
    padding: 14px 12px;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--brass-2);
}
.section { padding: 54px 0; }
.section.guide { padding-left: 20px; padding-right: 20px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.shot-grid figure { margin: 0; min-width: 0; }
.shot-grid img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line-soft); }
.shot-open { display: block; cursor: zoom-in; border-radius: 14px; }
.shot-open:focus-visible { outline: 2px solid rgba(228, 181, 106, 0.7); outline-offset: 3px; }
body.shot-open-lock { overflow: hidden; }
body > .shot-zoom {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(5, 10, 16, 0.92);
}
body > .shot-zoom[hidden] { display: none; }
.shot-zoom-bar { width: min(1100px, 100%); display: flex; justify-content: flex-end; }
.shot-zoom figure { margin: 0; width: min(1100px, 100%); }
.shot-zoom img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
    background: #071018;
}
.shot-zoom figcaption { margin: 10px 0 0; text-align: center; color: var(--ink); }
.shot-grid figcaption { margin-top: 8px; color: var(--muted); }
.shot-admin { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; min-width: 0; }
.shot-admin img { width: 112px; max-width: 40%; height: auto; border-radius: 10px; border: 1px solid var(--line-soft); }
.shot-admin p { margin: 0; }
.expert-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.broker-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}
.broker-card {
    padding: 22px;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line);
}
.broker-card h3 { margin-top: 0; }
.broker-card p { color: var(--muted); }
.ref-code {
    margin: 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 1.6rem;
    letter-spacing: 0.14em;
    color: var(--brass-2);
}
.broker-note { margin-top: 16px; }
.strat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-num {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--brass-2);
    letter-spacing: -0.02em;
}
.stat-feature {
    grid-column: 1 / -1;
    border-color: var(--brass);
    background:
        radial-gradient(520px 140px at 0% 0%, rgba(228, 181, 106, 0.2), transparent 60%),
        #122033;
}
.stat-split { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 4px 0 8px; }
.stat-split .stat-num { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.stat-split span { color: var(--muted); }
.stage {
    margin: 0 0 16px;
    padding: 12px 12px 10px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background:
        radial-gradient(420px 180px at 50% 100%, rgba(142, 224, 200, 0.12), transparent 70%),
        #071018;
}
.stage canvas { display: block; width: 100%; height: 380px; }
.stage figcaption { margin-top: 8px; color: var(--faint); font-size: 0.92rem; }
.backtest-warn {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 176, 164, 0.5);
    background: rgba(72, 22, 16, 0.45);
    color: #ffd7d1;
}
.warn[hidden] { display: none; }
.warn:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 16px;
    background: #08111a;
}
.warn-card {
    display: flex;
    flex-direction: column;
    width: min(560px, 100%);
    max-height: min(86vh, 760px);
    overflow: hidden;
    padding: 22px 22px 18px;
    border-radius: 22px;
    background: #0d1b27;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.warn-body {
    min-height: 0;
    overflow: auto;
}
.warn-card > .btn {
    flex: none;
    margin-top: 14px;
}
.warn-card h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.warn-card p { color: var(--muted); }
.warn-line { color: var(--brass-2); font-family: var(--serif); }
.section-head { margin-bottom: 22px; }
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.steps li, .lock-list li {
    padding: 18px;
    border-radius: 18px;
    background: rgba(8, 17, 26, 0.45);
    border: 1px solid var(--line-soft);
}
.steps span { color: var(--brass); font-family: var(--serif); }
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    padding-bottom: 20px;
}
.lock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lock-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.lock-list span { color: var(--muted); }
.faq details {
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 0;
}
.faq summary { cursor: pointer; font-size: 1.05rem; min-height: 44px; display: flex; align-items: center; }
.faq p { color: var(--muted); margin-top: 0; }

.foot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0 40px;
    color: var(--faint);
    border-top: 1px solid var(--line-soft);
}
.foot p { margin: 6px 0 0; }
.foot-links { display: flex; gap: 16px; align-items: center; }
.terms p, .guide p { max-width: 42rem; }
.guide h2 { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 14px; color: var(--faint); }
.crumbs a { color: var(--brass-2); }
.guide-grid, .expert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-grid a { color: inherit; text-decoration: none; display: block; min-height: 100%; }
.guide-grid a:hover { color: inherit; border-color: var(--brass); }
.guide-grid h3 { margin-top: 0; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(180deg, #f0cd8d, var(--brass));
    color: #24180a;
    font: 580 0.98rem/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { color: #24180a; filter: brightness(1.05); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.turnstile-slot { min-height: 68px; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-ghost:hover { color: white; }
.btn-google {
    background: #fff;
    color: #1f1f1f;
    gap: 10px;
    border: 1px solid #dadce0;
}
.btn-google:hover { color: #1f1f1f; filter: none; background: #f8f9fa; }
.g-mark { width: 18px; height: 18px; display: block; }
.auth-card .btn-google { width: 100%; }
.text-btn {
    background: none;
    border: 0;
    color: var(--brass-2);
    cursor: pointer;
    min-height: 44px;
    font: inherit;
}

.auth-wrap {
    box-sizing: border-box;
    width: min(560px, 100%);
    margin: 24px auto 60px;
    padding-left: 16px;
    padding-right: 16px;
}
.auth-card { padding: 28px 22px; max-width: 100%; }
.auth-card h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.stack { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 0.92rem; }
label span { color: var(--faint); }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(232, 238, 243, 0.16);
    background: #071018;
    color: var(--ink);
    padding: 10px 12px;
    font: 480 1rem/1.4 var(--sans);
}
textarea.token {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92rem;
    min-height: 92px;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(228, 181, 106, 0.7);
    border-color: transparent;
}
.auth-switch { color: var(--muted); }

.flash {
    width: min(1120px, calc(100% - 32px));
    margin: 12px auto;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(142, 224, 200, 0.1);
    border: 1px solid rgba(142, 224, 200, 0.35);
    color: var(--ok);
}
.flash-err {
    background: rgba(255, 176, 164, 0.08);
    border-color: rgba(255, 176, 164, 0.4);
    color: var(--danger);
}

.shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid var(--line-soft);
    background: rgba(6, 14, 22, 0.72);
}
.side-nav { display: grid; gap: 4px; }
.side-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    min-height: 44px;
}
.side-nav a[aria-current="page"], .side-nav a:hover { background: rgba(228, 181, 106, 0.12); }
.side-out { margin-top: auto; }
.main { padding: 22px 22px 64px; }
.main-top { margin-bottom: 8px; }
.who { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.who-mail, .meta-line, .fine { color: var(--faint); }
.page-head { margin: 8px 0 14px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.stats, .split-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 18px; }
.split-cards { grid-template-columns: 1fr 1fr; }
.stat { padding: 16px; box-shadow: none; }
.stat p { margin: 0; color: var(--faint); }
.stat strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 1.55rem; font-weight: 560; }
.stat .build-line { margin-top: 8px; color: var(--text); font-size: 0.92rem; line-height: 1.35; }
.panel { padding: 16px 16px 18px; margin: 14px 0; box-shadow: none; }
.panel h2 { font-size: 1.5rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { color: var(--faint); font-weight: 480; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.empty, .note {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(228, 181, 106, 0.08);
    color: var(--brass-2);
}
.form-panel { max-width: 520px; }
textarea.message { min-height: 140px; resize: vertical; }
.request-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }
.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.ticket-list li { min-width: 0; }
.ticket-list a {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
}
.ticket-list a:hover { color: var(--ink); border-color: var(--brass); }
.ticket-list a:focus-visible { outline: 2px solid rgba(228, 181, 106, 0.7); outline-offset: 2px; }
.ticket-subject { flex: 1 1 12rem; min-width: 0; font-weight: 580; overflow-wrap: anywhere; }
.ticket-time { margin-left: auto; color: var(--faint); font-size: 0.85rem; }
.ticket-who, .ticket-snippet {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tag {
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tag-open { color: var(--mint); border: 1px solid rgba(142, 224, 200, 0.45); }
.tag-closed { color: var(--faint); border: 1px solid var(--line); }
.tag-kind { color: var(--brass-2); border: 1px solid var(--line); }
.thread { display: grid; gap: 10px; margin: 14px 0; }
.bubble { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); max-width: 42rem; }
.bubble-user { background: #0d1b27; }
.bubble-admin { background: rgba(228, 181, 106, 0.1); }
.quick-row, .reply-actions, .quick-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick-row button, .quick-status .btn { min-height: 44px; }
.quick-row button {
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    padding: 0 12px;
    cursor: pointer;
    font: inherit;
}
.reply-actions .btn { width: auto; }
.filters { margin: 8px 0 12px; }
.filters label { min-width: min(100%, 240px); }
.pager { display: flex; gap: 14px; align-items: center; }
.guide { color: var(--muted); padding-left: 18px; }
.guide li { margin: 8px 0; }
code { color: var(--brass-2); }
.user-list { display: grid; gap: 12px; }
.user-card h2 { font-size: 1.4rem; margin: 0; }
.link-list { list-style: none; margin: 8px 0 0; padding: 0; }
.link-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--line-soft);
    min-height: 48px;
}
.drop input { padding: 14px; background: #0b1722; }

.rise { animation: rise 0.7s ease both; }
.hero-card.rise { animation: rise 0.7s ease both, cardglow 5.5s ease-in-out 0.75s infinite; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }
.rise-4 { animation-delay: 0.24s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .hero, .steps, .split, .band, .stats, .guide-grid, .expert-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .steps, .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 801px) {
    .nav-toggle { display: none; }
    .nav-links { display: flex; position: static; margin-left: auto; padding: 0; border: 0; background: transparent; flex-direction: row; }
}
@media (max-width: 800px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        right: 16px;
        left: 16px;
        margin: 0;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        background: #0d1b27;
        border: 1px solid var(--line);
        border-radius: 16px;
    }
    .nav-links.open { display: flex; }
    .hero-meta { grid-template-columns: 1fr; }
    .hero-meta div { display: flex; justify-content: space-between; gap: 12px; }
    .shell { display: block; }
    .side {
        position: sticky;
        top: 0;
        height: auto;
        z-index: 4;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }
    .side-nav { display: flex; flex-wrap: wrap; gap: 6px; overflow: visible; }
    .side-nav a { white-space: nowrap; }
    .side-out { margin-top: 0; }
    .side-out .btn { width: auto; }
    .hero, .steps, .split, .band, .stats, .split-cards, .broker-grid, .strat-grid, .guide-grid, .expert-grid, .shot-grid { grid-template-columns: minmax(0, 1fr); }
    .result-grid { grid-template-columns: 1fr 1fr; }
    .stage canvas { height: 280px; }
    .main { padding: 16px 14px 48px; }
    .page-head, .user-card-top, .hero-card-top { align-items: flex-start; flex-direction: column; }
    .foot { flex-direction: column; }
    .link-list li { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    .chart-price { stroke-dashoffset: 0; }
    .chart-runner { display: none; }
    .ticker { overflow-x: auto; }
    .ticker-track { width: auto; }
    .ticker-track span[aria-hidden="true"] { display: none; }
}
