/* ==========================================================
   链圈通 · 模板彻底重构 v3 (2026-10)
   设计语言：深色交易终端 × 杂志编辑风
   配色：炭黑基底 / 金色强调 / 荧光绿涨·红跌
   ========================================================== */

/* ---------- 设计令牌 ---------- */
:root {
    --bg: #0b0f14;
    --bg-deep: #070a0e;
    --panel: #12171f;
    --panel-2: #161d27;
    --panel-3: #1c2531;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .12);

    --text: #eaecef;
    --text-2: #a6b0bc;
    --text-3: #6b7686;

    --gold: #f0b90b;
    --gold-2: #fcd535;
    --gold-soft: rgba(240, 185, 11, .12);

    --up: #0ecb81;       /* 荧光绿 涨 */
    --down: #f6465d;     /* 荧光红 跌 */
    --star: #f0b90b;

    --radius: 16px;
    --radius-sm: 12px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --num: "SFMono-Regular", "Roboto Mono", "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input { font-family: inherit; }

/* ---------- 顶部行情带（随页滚动，不吸顶，避免遮挡） ---------- */
.mkt-tape {
    position: relative;
    z-index: 200;
    background: rgba(7, 10, 14, .92);
    border-bottom: 1px solid var(--line);
}
.mkt-tape-inner { display: flex; align-items: stretch; overflow: hidden; }
.mkt-tape-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    background: var(--gold);
    color: #0b0f14;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    flex-shrink: 0;
    z-index: 99;
}
.mkt-tape-label::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #0b0f14;
    animation: pulse-dot 1.6s ease-in-out infinite;
}
.mkt-tape-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tape-scroll 45s linear infinite;
    padding-left: 6px;
}
.mkt-tape:hover .mkt-tape-track { animation-play-state: paused; }
@keyframes tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    border-right: 1px solid var(--line);
    font-size: 13px;
    height: 44px;
}
.tape-item .ti-sym { font-weight: 700; color: var(--text); }
.tape-item .ti-price { color: var(--text-2); font-family: var(--num); font-variant-numeric: tabular-nums; }
.tape-item .ti-pct { font-weight: 700; font-family: var(--num); font-variant-numeric: tabular-nums; }
.tp-up { color: var(--up); }
.tp-down { color: var(--down); }

/* ---------- 主头部（深色品牌条） ---------- */
.hd {
    position: sticky;
    top: 0;
    z-index: 150;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
}
.hd-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
a.logo img { max-height: 26px; width: auto; }
a.logo span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
}
a.logo span i { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 4px; }
.nav a {
    font-size: 14px;
    color: var(--text-2);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .18s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}
.nav a svg { opacity: .8; }
.nav a.is-active,
.nav a:hover { color: var(--gold); background: var(--gold-soft); font-weight: 600; }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 12px;
    transition: all .2s ease;
}
.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 185, 11, .12); }
.search-form svg { color: var(--text-3); flex-shrink: 0; }
.search-form input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 170px;
    color: var(--text);
}
.search-form input::placeholder { color: var(--text-3); }
.hd-menu { display: none; color: var(--text); }

/* ---------- 版心 ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 10px; }

/* ---------- 沉浸式首屏（首页 hero） ---------- */
.hero {
    position: relative;
    padding: 40px 0 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 80% 0%, rgba(240, 185, 11, .10), transparent 60%),
        radial-gradient(50% 70% at 10% 100%, rgba(14, 203, 129, .06), transparent 60%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; position: relative; }

/* 首屏大标题区 */
.hero-editorial { padding: 12px 0 6px; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 14px;
}
.hero-kicker::before { content: ''; width: 22px; height: 2px; background: var(--gold); }
.hero-editorial h1 {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    color: #fff;
}
.hero-editorial h1 a:hover { color: var(--gold-2); }
.hero-editorial p.hero-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 640px; margin-bottom: 16px; }
.hero-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-3); }

/* 首屏行情数字板 */
.hero-market {
    background: linear-gradient(160deg, var(--panel-2), var(--bg-deep));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.hero-market::after {
    content: '';
    position: absolute; right: -40px; top: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, .14), transparent 65%);
}
.hero-market-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.hero-market-hd .hm-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.hero-market-hd .hm-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--up); font-weight: 700; }
.hero-market-hd .hm-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse-dot 1.4s infinite; }
.hero-price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hero-price { font-size: 46px; font-weight: 800; font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -1px; color: #fff; }
.hero-pct { font-size: 16px; font-weight: 700; font-family: var(--num); }
.up { color: var(--up); }
.down { color: var(--down); }
.hero-chart { height: 160px; margin-top: 14px; }
.hero-tabs { display: flex; gap: 4px; margin-top: 6px; }
.hero-tabs a { padding: 4px 12px; border-radius: 6px; font-size: 12px; color: var(--text-3); transition: all .18s; }
.hero-tabs a:hover { color: var(--gold); }
.hero-tabs a.on { background: var(--gold); color: #0b0f14; font-weight: 700; }

/* ---------- 板块标题 ---------- */
.sec-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 34px 0 18px;
}
.sec-t {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: .3px;
}
.sec-t::before {
    content: '';
    width: 5px; height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
    box-shadow: 0 0 14px rgba(240, 185, 11, .5);
}
.sec-sub { font-size: 13px; color: var(--text-3); font-weight: 400; }
.sec-more {
    font-size: 13px;
    color: var(--gold);
    padding: 7px 16px;
    border: 1px solid rgba(240, 185, 11, .35);
    border-radius: 20px;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sec-more:hover { background: var(--gold); color: #0b0f14; box-shadow: 0 4px 16px rgba(240, 185, 11, .3); }

/* ---------- 首页非对称杂志网格 ---------- */
.ed-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.ed-feature { grid-column: span 7; }
.ed-stack { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.ed-strip { grid-column: span 6; }

/* 大头条卡 */
.ed-lead {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel-2);
    border: 1px solid var(--line);
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}
.ed-lead .ed-lead-img { position: absolute; inset: 0; }
.ed-lead .ed-lead-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
/* 无图占位：深色品牌渐变 + 中央金色标识，不露出浏览器 alt 文字 */
.ed-ph {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(1200px 600px at 80% -20%, rgba(240, 185, 11, .10), transparent 60%),
        linear-gradient(160deg, #161d28 0%, #0c111a 100%);
    position: relative;
}
.ed-ph::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    opacity: .8;
    -webkit-mask: radial-gradient(6px at 20px 20px, transparent 98%, #000) ;
            mask: radial-gradient(6px at 20px 20px, transparent 98%, #000);
}
.ed-ph::after {
    content: "CHAIN";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(34px);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-3);
    font-family: var(--num);
}
.ed-lead .ed-lead-body {
    position: relative;
    padding: 26px;
    background: linear-gradient(transparent, rgba(7, 10, 14, .95) 55%);
    width: 100%;
}
.ed-lead .ed-tag {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    color: #0b0f14;
    background: var(--gold);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.ed-lead h3 { font-size: 26px; line-height: 1.3; font-weight: 800; color: #fff; margin-bottom: 10px; }
.ed-lead h3 a:hover { color: var(--gold-2); }
.ed-lead p { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.ed-lead .ed-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-3); }

/* 列表卡 */
.ed-list-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.ed-list-card .ed-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.ed-list-card .ed-row:last-child { border-bottom: none; }
.ed-row .ed-rk {
    font-family: var(--num);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-3);
    width: 22px;
    flex-shrink: 0;
}
.ed-row:first-child .ed-rk { color: var(--gold); }
.ed-row .ed-link { flex: 1; min-width: 0; font-size: 15px; color: var(--text); }
.ed-row .ed-link:hover { color: var(--gold-2); }
.ed-row .ed-time { font-size: 12px; color: var(--text-3); flex-shrink: 0; font-family: var(--num); }

/* 图文横条卡 */
.ed-strip {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    transition: border-color .2s ease;
}
.ed-strip:hover { border-color: rgba(240, 185, 11, .4); }
.ed-strip figure { flex: 0 0 46%; position: relative; overflow: hidden; }
.ed-strip figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ed-strip:hover figure img { transform: scale(1.04); }
.ed-strip .ed-strip-body { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; }
.ed-strip h3 { font-size: 17px; line-height: 1.45; font-weight: 700; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed-strip h3 a:hover { color: var(--gold-2); }
.ed-strip p { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.ed-strip .ed-meta { margin-top: auto; display: flex; gap: 14px; font-size: 12px; color: var(--text-3); }

/* ---------- 行情表 ---------- */
.mkt-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.mkt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mkt-table th, .mkt-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.mkt-table th { color: var(--text-3); font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.mkt-table tbody tr { transition: background .15s; }
.mkt-table tbody tr:hover { background: var(--panel-2); }
.mkt-table tbody tr:last-child td { border-bottom: none; }
.coin-cell { display: flex; align-items: center; gap: 12px; }
.coin-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--panel-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--line-2);
}
.coin-icon img { width: 100%; height: 100%; object-fit: cover; }
.coin-symbol { font-weight: 700; color: #fff; }
.coin-desc { font-size: 12px; color: var(--text-3); }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.star { color: var(--star); font-size: 13px; letter-spacing: 1px; }

/* ---------- 横向行情卡片滑动带 ---------- */
.coin-track-wrap { overflow: hidden; margin: 0 -20px; padding: 4px 20px; }
.coin-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.coin-track::-webkit-scrollbar { height: 6px; }
.coin-track::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 3px; }
.coin-track::-webkit-scrollbar-track { background: transparent; }
.coin-slide {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: border-color .2s ease, transform .2s ease;
}
.coin-slide:hover { border-color: rgba(240, 185, 11, .4); transform: translateY(-2px); }
.coin-slide .cs-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.coin-slide .cs-sym { font-weight: 700; }
.coin-slide .cs-pair { font-size: 11px; color: var(--text-3); }
.coin-slide .cs-price { font-size: 20px; font-weight: 800; font-family: var(--num); color: #fff; font-variant-numeric: tabular-nums; }
.coin-slide .cs-pct { font-size: 13px; font-weight: 700; font-family: var(--num); margin-top: 4px; }
.coin-slide .cs-vol { font-size: 11px; color: var(--text-3); margin-top: 8px; }

/* ---------- 页面容器（内页统一） ---------- */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 26px; align-items: start; }
.page-main { min-width: 0; }
.page-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 76px; }

/* ---------- 页面头部（去面包屑，改大标题页眉） ---------- */
.page-hero { padding: 34px 0 8px; }
.page-hero .ph-kicker { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; }
.page-hero h1 { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.page-hero p { font-size: 14px; color: var(--text-2); margin-top: 6px; }

/* ---------- 列表 feed ---------- */
.feed { display: flex; flex-direction: column; gap: 14px; }
.fitem {
    display: flex;
    gap: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    transition: border-color .2s ease, transform .2s ease;
}
.fitem:hover { border-color: rgba(240, 185, 11, .4); transform: translateY(-1px); }
.fitem-body { flex: 1; min-width: 0; }
.fitem-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 7px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fitem:hover .fitem-body h3 { color: var(--gold-2); }
.fdesc { font-size: 13px; color: var(--text-2); margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fitem-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.fm-right { display: flex; align-items: center; gap: 12px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; }
.tag-line { border: 1px solid var(--line-2); color: var(--text-2); }
.tag-fill { background: var(--gold-soft); color: var(--gold); }
.fitem-fig { flex: 0 0 190px; height: 118px; border-radius: var(--radius-sm); overflow: hidden; }
.fitem-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.fitem:hover .fitem-fig img { transform: scale(1.04); }

/* 分页 */
.pager-wrap { padding: 22px 0; text-align: center; }
.pager-wrap .pagination { display: inline-flex; list-style: none; gap: 6px; }
.pager-wrap .pagination li a,
.pager-wrap .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-2);
    background: var(--panel);
    border: 1px solid var(--line);
    transition: all .18s ease;
}
.pager-wrap .pagination li a:hover { border-color: var(--gold); color: var(--gold); }
.pager-wrap .pagination li.active a,
.pager-wrap .pagination li.active span { background: var(--gold); border-color: var(--gold); color: #0b0f14; font-weight: 700; }
.pager-wrap .pagination li.disabled a,
.pager-wrap .pagination li.disabled span { color: var(--text-3); cursor: not-allowed; opacity: .5; }

/* ---------- 侧栏组件 ---------- */
.widget { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.widget-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}
.widget-hd h3 { font-size: 14px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 9px; letter-spacing: .5px; text-transform: uppercase; }
.widget-hd h3::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(240, 185, 11, .5); }
.wh-more { font-size: 12px; color: var(--gold); }
.widget-body { padding: 14px 18px; }
.rank li { padding: 10px 0; }
.rank a { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.rank a:hover .rk-txt { color: var(--gold-2); }
.rk-no {
    font-family: var(--num);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-3);
    width: 22px;
    flex-shrink: 0;
}
.rank li:nth-child(1) .rk-no,
.rank li:nth-child(2) .rk-no,
.rank li:nth-child(3) .rk-no { color: var(--gold); }
.rk-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-num { font-size: 13px; font-weight: 700; flex-shrink: 0; font-family: var(--num); }
.rk-icon { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.rk-star { font-size: 11px; flex-shrink: 0; letter-spacing: 0; }
.rk-hot { font-size: 12px; color: var(--text-3); flex-shrink: 0; font-family: var(--num); }

/* 行情速览 */
.quote { width: 100%; border-collapse: collapse; font-size: 13px; }
.quote th, .quote td { padding: 8px 4px; text-align: left; }
.quote th { color: var(--text-3); font-weight: 500; font-size: 11px; letter-spacing: 1px; }
.quote td { font-family: var(--num); font-variant-numeric: tabular-nums; }
.q-code { display: block; font-size: 10px; color: var(--text-3); font-family: var(--font); }

/* 广告位 */
.ad-box {
    display: block;
    background: linear-gradient(135deg, rgba(240, 185, 11, .18), rgba(240, 185, 11, .04));
    border: 1px solid rgba(240, 185, 11, .3);
    border-radius: var(--radius);
    padding: 22px;
    color: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.ad-box:hover { border-color: var(--gold); transform: translateY(-2px); }
.ad-kicker { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.ad-box h4 { font-size: 18px; margin: 9px 0 7px; line-height: 1.4; }
.ad-box p { font-size: 12px; color: var(--text-2); }

/* ---------- 详情页 ---------- */
.article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.article-hd { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); padding: 15px;}
.article-hd h1 { font-size: 28px; line-height: 1.4; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-3); margin-top: 13px; flex-wrap: wrap; }
.am-src { color: var(--text-2); }
.am-fav { color: var(--gold); font-weight: 700; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--text-2);padding: 15px; }
.article-body p { font-size: 16px; line-height: 32px; text-indent: 2em; color: #cbd5e1; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 18px auto; }
.article-body h2, .article-body h3 { color: #fff; margin: 22px 0 10px; }
.article-body a { color: var(--gold-2); }
.article-tags { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.at-label { font-size: 13px; color: var(--text-3); margin-right: 8px; }
.article-tags a {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 6px 6px 0;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-2);
    transition: all .18s;
}
.article-tags a:hover { background: var(--gold); color: #0b0f14; border-color: var(--gold); }
.pn-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pn-prev, .pn-next { font-size: 13px; color: var(--text-2); max-width: 48%; }
.pn-k { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 5px; letter-spacing: 1px; text-transform: uppercase; }
.pn-prev:hover, .pn-next:hover { color: var(--gold-2); }
.related { margin-top: 32px; }
.related .mkt-panel { overflow: hidden; }
.related ul { background: var(--panel); }
.related li { border-bottom: 1px solid var(--line); }
.related li:last-child { border-bottom: none; }
.related a { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 15px; transition: background .15s; }
.related a:hover { color: var(--gold-2); background: var(--panel-2); }
.re-time { font-size: 12px; color: var(--text-3); flex-shrink: 0; margin-left: 16px; font-family: var(--num); }

/* ---------- 行情详情面板 ---------- */
.coin-panel { background: linear-gradient(160deg, var(--panel-2), var(--bg-deep)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; position: relative; overflow: hidden; }
.coin-panel::after {
    content: '';
    position: absolute; right: -50px; top: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 185, 11, .12), transparent 62%);
}
.coin-panel-hd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; position: relative; }
.coin-panel-id { display: flex; align-items: center; gap: 15px; }
.coin-icon-lg {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--panel-3);
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
    overflow: hidden;
}
.coin-icon-lg img { width: 100%; height: 100%; object-fit: cover; }
.coin-panel-name { font-size: 26px; font-weight: 800; line-height: 1.3; color: #fff; }
.coin-panel-code { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.coin-panel-price { text-align: right; }
.cpp-num { font-size: 38px; font-weight: 800; font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.cpp-chg { font-size: 14px; font-weight: 700; margin-top: 5px; font-family: var(--num); }
.cpp-chg span { color: var(--text-3); font-weight: 400; font-size: 11px; margin-left: 2px; }
.coin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 26px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    position: relative;
}
.coin-stats li { display: flex; flex-direction: column; }
.cs-k { font-size: 12px; color: var(--text-3); letter-spacing: .5px; }
.cs-v { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 3px; font-family: var(--num); font-variant-numeric: tabular-nums; }
.coin-ex { margin-top: 20px; }
.ex-empty { text-align: center; color: var(--text-3); padding: 24px 0 !important; }
.jys-score { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.jys-score-num { font-size: 38px; font-weight: 800; color: var(--gold); font-family: var(--num); }
.jys-stats { grid-template-columns: repeat(4, 1fr); }

/* ---------- 快讯页 ---------- */
.live-hero { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 34px 0 18px; }
.live-hero h1 { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.5px; display: flex; align-items: center; gap: 14px; }
.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--up);
    font-weight: 700;
}
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: pulse-dot 1.4s infinite; }
.lh-desc { font-size: 13px; color: var(--text-3); }
.live-list { display: flex; flex-direction: column; }
.live-list > li {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.live-list > li:last-child { border-bottom: none; }
.live-list > li.is-key { background: linear-gradient(90deg, rgba(240, 185, 11, .08), transparent); }
.live-list > li.is-key::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.lv-t { flex-shrink: 0; width: 84px; text-align: right; }
.lv-t b { font-size: 20px; font-weight: 800; color: #fff; font-family: var(--num); }
.lv-t span { font-size: 12px; color: var(--text-3); }
.lv-c { flex: 1; min-width: 0; }
.lv-c h3 { font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.lv-c h3 a:hover { color: var(--gold-2); }
.lv-txt { font-size: 13px; color: var(--text-2); margin-bottom: 9px; }
.lv-txt p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); }
.lv-src { color: var(--text-2); }

/* 币圈日历 */
.cal-day { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.cal-day b { font-size: 24px; font-family: var(--num); }
.cal li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.cal li:last-child { border-bottom: none; }
.cal-t { flex-shrink: 0; width: 76px; font-size: 13px; color: var(--text-2); font-family: var(--num); }
.cal-star { color: var(--gold); font-weight: 700; }
.cal-n { font-size: 13px; color: var(--text-2); }

/* ---------- 搜索 ---------- */
.search-hero {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 24px;
    margin-top: 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.search-hero::after {
    content: '';
    position: absolute; left: 50%; bottom: -60px;
    transform: translateX(-50%);
    width: 420px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(240, 185, 11, .12), transparent 65%);
}
.search-hero h1 { font-size: 26px; font-weight: 800; margin-bottom: 20px; color: #fff; position: relative; }
.sh-form { display: flex; gap: 0; max-width: 600px; margin: 0 auto; position: relative; }
.sh-input {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    border: 1.5px solid var(--gold);
    border-radius: 10px 0 0 10px;
    font-size: 15px;
    outline: none;
    background: var(--bg-deep);
    color: var(--text);
}
.sh-input:focus { box-shadow: 0 0 0 3px rgba(240, 185, 11, .15); }
.sh-btn {
    padding: 0 34px;
    height: 48px;
    background: var(--gold);
    color: #0b0f14;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .2s ease;
}
.sh-btn:hover { filter: brightness(1.1); }
.search-stat { padding: 16px 0; font-size: 14px; color: var(--text-2); }
.search-stat b { color: var(--gold); }
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    margin-bottom: 18px;
}
.fb-label { font-size: 13px; color: var(--text-3); margin-right: 4px; }
.filter-bar a { font-size: 13px; color: var(--text-2); padding: 5px 14px; border-radius: 8px; transition: all .18s; }
.filter-bar a:hover { color: var(--gold); background: var(--gold-soft); }
.filter-bar a.is-on { background: var(--gold); color: #0b0f14; font-weight: 700; }
.fb-right { margin-left: auto; display: flex; gap: 8px; }
.fb-sort { font-size: 13px; color: var(--text-2); padding: 5px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; transition: all .18s; }
.fb-sort:hover { border-color: var(--gold); color: var(--gold); }
.fb-sort.is-on { background: var(--gold); color: #0b0f14; border-color: var(--gold); font-weight: 700; }
.search-empty {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 60px 24px;
    text-align: center;
    font-size: 15px;
    color: var(--text-3);
}

/* ---------- 底部 ---------- */
.ft { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 48px 0 30px; margin-top: 48px; }
.ft-top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 30px; max-width: 1280px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.ft-brand { max-width: 440px; }
.ft-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.ft-logo i { font-style: normal; color: var(--gold); }
.ft-brand p { font-size: 13px; line-height: 1.85; color: var(--text-3); }
.ft-col h4 { color: #fff; font-size: 14px; margin-bottom: 13px; letter-spacing: 1px; text-transform: uppercase; }
.ft-col ul { display: flex; flex-direction: column; gap: 9px; }
.ft-col a { font-size: 13px; color: var(--text-2); }
.ft-col a:hover { color: var(--gold-2); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 20px 20px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.ft-links { display: flex; gap: 16px; }
.ft-links a:hover { color: var(--gold-2); }
.to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--panel-2);
    border: 1px solid var(--line-2);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: all .2s ease;
}
.to-top:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.25); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .ed-feature { grid-column: span 12; }
    .ed-stack { grid-column: span 12; }
    .hero-grid { grid-template-columns: 1fr; }
    .page-grid { grid-template-columns: minmax(0, 1fr); }
    .page-side { position: static; }
    .page-main { min-width: 0; max-width: 100%; overflow: hidden; }
    .fitem-meta { flex-wrap: wrap; gap: 4px 10px; }
    .coin-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
    .hd { top: 0; }
    .nav { display: none; }
    .hd-menu { display: block; }
    .nav.is-open {
        display: flex;
        position: absolute;
        top: 60px; left: 0; right: 0;
        flex-direction: column;
        gap: 2px;
        background: var(--bg-deep);
        border-bottom: 1px solid var(--line);
        padding: 8px 16px;
        z-index: 99;
    }
    .nav.is-open a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
    .nav.is-open a:last-child { border-bottom: none; }
    .search-form input { width: 110px; }
    .hero-editorial h1 { font-size: 30px; }
    .hero-price { font-size: 34px; }
    .ed-lead { min-height: 340px; }
    .ed-lead h3 { font-size: 22px; }
    .coin-stats { grid-template-columns: repeat(3, 1fr); }
    .coin-panel-hd { flex-direction: column; align-items: flex-start; }
    .coin-panel-price { text-align: left; }
    .col-type { display: none !important; }
    .mkt-panel { overflow-x: auto; }
    .mkt-table { min-width: 640px; }
    .ft-top { flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
    .hd-inner { height: 52px; }
    .hd { top: 0; }
    .hero { padding-top: 24px; }
    .hero-editorial h1 { font-size: 24px; }
    .hero-price { font-size: 28px; }
    .ed-lead { min-height: 280px; }
    .ed-lead h3 { font-size: 19px; }
    .ed-strip { flex-direction: column; grid-column: span 12 !important; }
    .ed-strip figure { flex: none; width: 100%; height: 150px; }
    /* 交易平台表格转卡片（移动端） */
    .mkt-table thead { display: none; }
    .mkt-table, .mkt-table tbody, .mkt-table tr, .mkt-table td { display: block; width: 100%; }
    .mkt-panel { overflow: visible; }
    .mkt-table { min-width: 0; }
    .mkt-table tr {
        padding: 16px;
        margin-bottom: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--panel);
    }
    .mkt-table tr:last-child { margin-bottom: 0; }
    .mkt-table td { padding: 6px 0; border-bottom: none !important; }
    .mkt-table td[data-l] { padding-left: 0; padding-right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .mkt-table td[data-l]::before { content: attr(data-l); color: var(--text-3); font-size: 12px; flex-shrink: 0; }
    .mkt-table td[data-l="星级"] { justify-content: flex-start; }
    .mkt-table td[data-l="交易所"], .mkt-table td[data-l="币种"] { display: block !important; }
    .mkt-table td[data-l="交易所"]::before, .mkt-table td[data-l="币种"]::before { margin-bottom: 10px; }
    .mkt-table td[data-l="交易所"] .coin-cell, .mkt-table td[data-l="币种"] .coin-cell { margin-top: 4px; }
    .mkt-table td.col-type { display: flex !important; }
    .fitem { flex-direction: column; gap: 12px; padding: 14px; }
    .fitem-fig { order: -1; flex: none; width: 100%; height: 170px; }
    .article { margin-left: -20px; margin-right: -20px; border-radius: 0; padding: 22px 16px; }
    .coin-stats { grid-template-columns: repeat(2, 1fr); }
    .live-list > li { gap: 12px; padding: 15px; }
    .lv-t { width: 66px; }
    .ft-bot { flex-direction: column; gap: 10px; align-items: flex-start; }
    .to-top { bottom: 20px; right: 16px; }
}
