:root {
    color-scheme: dark;
    --bg: #101216;
    --panel: #1a1e24;
    --gold: #f0b90b;
    --text: #f4f5f7;
    --muted: #b2b9c5;
    --line: #303640
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 system-ui, 'Microsoft YaHei', sans-serif;
    overflow-wrap: anywhere
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block
}

figure {
    margin: 0;
    min-width: 0
}

figcaption,
small,
.muted {
    color: var(--muted);
    font-size: 13px
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select {
    font: inherit
}

button,
a,
input,
select,
summary {
    outline-offset: 4px
}

button {
    cursor: pointer
}

h1,
h2,
h3,
p {
    margin: 0 0 14px
}

h1 {
    font-size: clamp(32px, 5vw, 66px);
    line-height: 1.16;
    letter-spacing: -.035em
}

h2 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.25
}

h3 {
    font-size: 21px
}

.shell {
    width: min(1320px, 100%);
    margin: auto;
    padding-inline: clamp(16px, 4vw, 56px)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #101216f5;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px)
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    line-height: 1.4;
    min-width: 0
}

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 500
}

.mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    /* background: var(--gold); */
    color: #141414;
    border-radius: 10px;
    flex: none;
    font-size: 24px
}

.header-inner nav {
    display: flex;
    gap: 22px;
    color: var(--muted)
}

.header-inner nav a:hover {
    color: var(--gold)
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    min-width: 0
}

.gold {
    background: var(--gold);
    color: #151515
}

.outline {
    border: 1px solid #565b63
}

.btn:hover {
    filter: brightness(1.13)
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 82px 0 65px
}

.hero>*,
.split>*,
.grid>*,
.gallery>* {
    min-width: 0
}

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 13px
}

.lead {
    font-size: 19px;
    color: #d0d4db
}

.identity {
    border-left: 3px solid var(--gold);
    padding-left: 12px;
    color: var(--muted);
    font-size: 14px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px
}

.hero-art {
    background: radial-gradient(ellipse, #2b291e, transparent 75%);
    text-align: center
}

.hero-art img {
    width: 100%;
    object-fit: contain
}

.section {
    padding: 52px 0;
    scroll-margin-top: 85px
}

.heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0
}

.tabs button {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    border-radius: 8px;
    padding: 8px 16px
}

.tabs button[aria-pressed=true] {
    background: var(--gold);
    color: #151515;
    border-color: var(--gold)
}

.market {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden
}

.market-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, .8fr);
    gap: 10px;
    padding: 18px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-variant-numeric: tabular-nums
}

.market-row:last-child {
    border: 0
}

.coin {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0
}

.coin-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #353b45;
    color: #fff;
    font-weight: 800;
    font-size: 20px
}

.coin small {
    display: block
}

.up {
    color: #39cf9c
}

.down {
    color: #ff7889
}

.spark {
    width: 100%;
    height: 38px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px
}

.panel>svg:not(#candles) {
    width: 35px;
    height: 35px;
    color: var(--gold);
    margin-bottom: 28px
}

.panel p {
    color: var(--muted)
}

.panel:hover {
    border-color: #73632e
}

.split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px
}

.split label {
    display: block;
    margin-top: 14px;
    color: var(--muted)
}

input,
select {
    width: 100%;
    min-width: 0;
    background: #101216;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 12px
}

.result {
    font-size: 22px;
    margin-top: 20px;
    color: var(--gold) !important
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px
}

.gallery figure {
    display: grid;
    align-content: center;
    justify-items: center
}

.gallery img {
    max-height: 420px;
    width: auto;
    object-fit: contain
}

.channel {
    display: grid;
    grid-template-columns: 1fr .6fr;
    align-items: center;
    gap: 24px;
    background: linear-gradient(125deg, #292617, #171a20 60%);
    border: 1px solid #5e502a;
    border-radius: 24px;
    padding: clamp(22px, 5vw, 64px);
    margin-block: 30px
}

.channel img {
    max-height: 290px;
    width: auto;
    margin: auto
}

.channel figure {
    text-align: center
}

.channel p {
    color: var(--muted)
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

summary {
    cursor: pointer;
    font-weight: 700
}

details p {
    margin: 12px 0 0;
    color: var(--muted)
}

.footer {
    border-top: 1px solid var(--line);
    padding-block: 35px;
    color: var(--muted);
    font-size: 14px
}

.reveal {
    transition: opacity .45s, transform .45s
}

.js .reveal:not(.visible) {
    opacity: .15;
    transform: translateY(14px)
}

@media(max-width:850px) {
    .header-inner nav {
        display: none
    }

    .hero,
    .split {
        grid-template-columns: 1fr
    }

    .hero {
        padding-top: 45px
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .gallery {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .header-inner {
        gap: 8px;
        min-height: 65px
    }

    .header-inner .btn {
        font-size: 12px;
        padding: 10px 8px
    }

    .brand {
        font-size: 13px
    }

    .brand small {
        font-size: 10px
    }

    .mark {
        width: 30px;
        height: 30px
    }

    .section {
        padding-block: 32px
    }

    .hero {
        gap: 20px
    }

    .actions .btn {
        flex: 1 1 140px
    }

    .grid,
    .gallery,
    .channel {
        grid-template-columns: 1fr
    }

    .panel {
        padding: 18px
    }

    .market-row {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .65fr);
        font-size: 13px;
        padding: 13px 10px;
        gap: 6px
    }

    .market-row .spark,
    .market-row .spark-title {
        display: none
    }

    .coin-icon {
        width: 25px;
        height: 25px;
        font-size: 15px
    }

    .coin {
        gap: 5px
    }

    .coin small {
        font-size: 10px
    }

    .channel {
        padding: 22px
    }

    .channel .btn {
        width: 100%
    }

    .hero-art img {
        max-height: 350px;
        object-fit: contain
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none
    }
}

.header-actions {
    display: flex;
    gap: 8px;
    flex: none;
    align-items: center
}

.header-actions .outline {
    background: var(--gold);
    color: #111;
    border-color: var(--gold)
}

.register {
    background: #252a32;
    color: var(--text)
}

.btn svg {
    width: 22px;
    height: 22px;
    flex: none
}

.external-note {
    display: block;
    margin-top: 14px
}

.cost-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line)
}

.cost-item b {
    color: var(--gold);
    font-size: 24px
}

.cost-item h3 {
    font-size: 17px;
    margin-bottom: 4px
}

.cost-item p {
    margin: 0;
    font-size: 14px
}

.checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.checklist progress {
    display: block;
    width: 100%;
    height: 12px;
    accent-color: var(--gold);
    margin: 14px 0
}

.check-items label {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--line)
}

.check-items input {
    width: 19px;
    height: 19px;
    accent-color: var(--gold);
    flex: none
}

.channel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: radial-gradient(ellipse at 90% 20%, #4a3a18 0, transparent 52%), linear-gradient(130deg, #24231c, #14171d 64%);
    overflow: hidden;
    gap: 30px
}

.channel h2 {
    font-size: clamp(30px, 4vw, 50px)
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.platform-tags span {
    font-size: 13px;
    border: 1px solid #625637;
    border-radius: 7px;
    padding: 5px 10px
}

.channel-device {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0
}

.channel-device img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 12px 18px #0008)
}

.channel-device figcaption {
    grid-column: 1/-1
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px
}

.footer-grid h3 {
    color: var(--text);
    font-size: 16px
}

.footer-grid a {
    display: block;
    margin-bottom: 10px
}

.footer-grid a:hover {
    color: var(--gold)
}

.footer-brand {
    color: var(--gold);
    font-size: 22px;
    display: block;
    margin-bottom: 12px
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.risk-note {
    font-size: 12px;
    margin-top: 16px
}

.header-inner>* {
    min-width: 0
}

@media(max-width:850px) {

    .channel,
    .checklist {
        grid-template-columns: minmax(0, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:480px) {
    .header-inner {
        padding-inline: 10px
    }

    .header-actions {
        gap: 5px
    }

    .header-actions .btn {
        white-space: nowrap;
        padding: 9px 8px;
        font-size: 12px
    }

    .brand {
        gap: 5px
    }

    .brand .mark {
    }

    .brand small {
        font-size: 9px
    }

    .channel .actions .btn {
        flex: 1 1 110px;
        width: auto
    }

    .channel {
        padding: 18px
    }

    .footer-grid {
        gap: 18px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .checklist {
        gap: 12px
    }

    .btn svg {
        width: 18px;
        height: 18px
    }
}