/* =============================================================
   Voxel / 沃盒 — 开发者控制台（Developer Console）
   作用域：.gd-root（仅开发者中心，与用户中心 .gh-dash 分离）
   设计目标：专业控制台观感 —— 固定左侧导航 + 顶部面包屑 + 数据看板
   ============================================================= */

.gd-root {
    position: relative;
    z-index: 1;
    max-width: var(--gh-max);
    margin: 0 auto;
    padding: 0 22px 72px;
    color: var(--gh-text);
}

/* ---------- 骨架：侧栏 + 主区 ---------- */
.gd-shell {
    display: grid;
    grid-template-columns: 254px minmax(0, 1fr);
    align-items: start;
    margin: 0;
}

.gd-rail {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 16px 24px 22px;
    border-right: 1px solid var(--gh-border);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.gd-rail::-webkit-scrollbar { width: 6px; }
.gd-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 99px; }

.gd-body {
    min-width: 0;
    padding: 22px 0 0 28px;
}

/* ---------- 侧栏：品牌 ---------- */
.gd-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 16px;
    border-bottom: 1px solid var(--gh-border);
    margin-bottom: 14px;
}
.gd-brand__logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .95rem;
    color: #fff;
    background: var(--gh-gradient);
    box-shadow: 0 8px 22px -12px rgba(168, 85, 247, .9);
    flex: 0 0 auto;
}
.gd-brand__txt { line-height: 1.2; min-width: 0; }
.gd-brand__txt strong {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gd-brand__txt span {
    display: block;
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--gh-muted);
}
.gd-brand__tag {
    margin-left: auto;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gh-cyan);
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .08);
    border-radius: 6px;
    padding: 2px 6px;
}

/* ---------- 侧栏：开发者身份卡 ---------- */
.gd-idcard {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(168, 85, 247, .12), rgba(34, 211, 238, .05));
    margin-bottom: 18px;
}
.gd-idcard__ava {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    background: linear-gradient(140deg, #6d28d9, #22d3ee);
}
.gd-idcard__meta { min-width: 0; line-height: 1.35; }
.gd-idcard__meta strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gh-text);
    line-height: 1.25;
}
.gd-idcard__meta small {
    display: block;
    font-size: .7rem;
    color: var(--gh-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gd-idcard__status {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 3px 7px;
    border-radius: 999px;
    color: #34d399;
    background: rgba(52, 211, 153, .12);
    border: 1px solid rgba(52, 211, 153, .3);
}
.gd-idcard__status.is-pending { color: #fbbf24; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .32); }
.gd-idcard__status.is-rejected { color: #f87171; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .32); }

/* ---------- 侧栏：分组导航 ---------- */
.gd-nav { display: flex; flex-direction: column; gap: 2px; }
.gd-nav__group { margin-bottom: 6px; }
.gd-nav__label {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(154, 166, 196, .72);
    padding: 12px 10px 6px;
}
.gd-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: .855rem;
    font-weight: 600;
    color: var(--gh-muted);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.gd-nav__link i {
    width: 16px;
    text-align: center;
    font-size: .84rem;
    opacity: .85;
    flex: 0 0 auto;
}
.gd-nav__link:hover {
    color: var(--gh-text);
    background: rgba(255, 255, 255, .05);
}
.gd-nav__link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(168, 85, 247, .22), rgba(34, 211, 238, .08));
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .3);
}
.gd-nav__link.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    border-radius: 0 3px 3px 0;
    background: var(--gh-gradient);
}
.gd-nav__link.active i { opacity: 1; color: var(--gh-cyan); }

/* ---------- 侧栏：底部操作 ---------- */
.gd-rail__foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--gh-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gd-rail__foot a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--gh-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: .18s;
}
.gd-rail__foot a:hover { color: var(--gh-text); background: rgba(255, 255, 255, .05); }

/* ---------- 顶部条 ---------- */
.gd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--gh-border);
    margin-bottom: 24px;
}
.gd-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--gh-muted);
    min-width: 0;
}
.gd-crumb a { color: var(--gh-muted); text-decoration: none; }
.gd-crumb a:hover { color: var(--gh-text); }
.gd-crumb i { font-size: .6rem; opacity: .5; }
.gd-crumb strong {
    color: var(--gh-text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gd-topbar__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.gd-topbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gh-text);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--gh-border);
    text-decoration: none;
    transition: .2s;
    white-space: nowrap;
}
.gd-topbtn:hover { background: rgba(255, 255, 255, .09); border-color: var(--gh-border-strong); color: #fff; }
.gd-topbtn.is-primary {
    color: #fff;
    background: var(--gh-gradient);
    border-color: transparent;
    box-shadow: 0 10px 26px -16px rgba(168, 85, 247, .9);
}
.gd-topbtn.is-primary:hover { filter: brightness(1.08); }

/* ---------- 页面问候区 ---------- */
.gd-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 2px 0 22px;
}
.gd-hero__eyebrow {
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gh-cyan);
    margin: 0 0 8px;
}
.gd-hero h1 {
    font-size: 1.62rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 6px;
    line-height: 1.25;
}
.gd-hero p { margin: 0; color: var(--gh-muted); font-size: .875rem; max-width: 560px; }
.gd-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- KPI ---------- */
.gd-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.gd-kpi {
    position: relative;
    padding: 16px 18px;
    border: 1px solid var(--gh-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035);
    overflow: hidden;
    transition: border-color .2s, transform .2s, background .2s;
}
.gd-kpi:hover { border-color: var(--gh-border-strong); transform: translateY(-2px); background: rgba(255, 255, 255, .055); }
.gd-kpi::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--gh-gradient);
    opacity: .7;
}
.gd-kpi__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--gh-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.gd-kpi__label i { font-size: .78rem; color: var(--gh-cyan); opacity: .9; }
.gd-kpi__value {
    font-size: 1.72rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.gd-kpi__value small { font-size: .8rem; font-weight: 600; color: var(--gh-muted); margin-left: 4px; }
.gd-kpi__value .gd-cur {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gh-muted);
    margin-right: 3px;
    vertical-align: 2px;
}
.gd-kpi__foot { margin-top: 8px; font-size: .72rem; color: var(--gh-muted); display: flex; align-items: center; gap: 6px; }
.gd-kpi__foot .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gh-violet); }
.gd-kpi__foot.is-up { color: #34d399; }

/* ---------- 面板 ---------- */
.gd-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.gd-grid--2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.gd-grid--wide { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }

.gd-panel {
    border: 1px solid var(--gh-border);
    border-radius: 15px;
    background: rgba(255, 255, 255, .035);
    overflow: hidden;
    min-width: 0;
}
.gd-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--gh-border);
}
.gd-panel__head h3 {
    font-size: .95rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gd-panel__head h3 i { color: var(--gh-cyan); font-size: .85rem; }
.gd-panel__head .gd-hint { font-size: .72rem; color: var(--gh-muted); }
.gd-panel__head a { font-size: .76rem; color: var(--gh-cyan); text-decoration: none; font-weight: 600; }
.gd-panel__head a:hover { text-decoration: underline; }
.gd-panel__body { padding: 18px; }
.gd-panel__body.is-flush { padding: 0; }

/* ---------- 趋势图（纯 CSS 柱状） ---------- */
.gd-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 148px;
    padding: 6px 2px 0;
    position: relative;
}
.gd-chart::before {
    content: "";
    position: absolute;
    inset: 8px 0 22px 0;
    background-image: repeating-linear-gradient(to top, rgba(255, 255, 255, .055) 0 1px, transparent 1px 33.333%);
    pointer-events: none;
}
.gd-chart__col {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 6px;
    z-index: 1;
}
.gd-chart__bar {
    width: 100%;
    max-width: 30px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(34, 211, 238, .95), rgba(168, 85, 247, .55));
    min-height: 3px;
    transition: height .5s cubic-bezier(.2, .8, .2, 1), filter .2s;
}
.gd-chart__bar.is-zero { background: rgba(255, 255, 255, .08); }
.gd-chart__col:hover .gd-chart__bar { filter: brightness(1.25); }
.gd-chart__bar:hover { box-shadow: 0 0 0 1px rgba(34, 211, 238, .5), 0 8px 22px -12px rgba(34, 211, 238, .9); }
.gd-chart__x {
    font-size: .62rem;
    color: rgba(154, 166, 196, .75);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.gd-chart__legend {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--gh-border);
    font-size: .75rem;
    color: var(--gh-muted);
}
.gd-chart__legend b { color: var(--gh-text); font-variant-numeric: tabular-nums; }
.gd-chart__legend .swatch {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gh-cyan), var(--gh-violet));
    display: inline-block;
    margin-right: 6px;
}

/* ---------- 待办 / 合规 ---------- */
.gd-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.gd-progress__track {
    flex: 1 1 auto;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}
.gd-progress__fill {
    height: 100%;
    border-radius: 99px;
    background: var(--gh-gradient);
    transition: width .6s ease;
}
.gd-progress__val { font-size: .74rem; font-weight: 700; color: var(--gh-text); font-variant-numeric: tabular-nums; }

.gd-todo { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.gd-todo li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gh-border);
}
.gd-todo li:last-child { border-bottom: 0; padding-bottom: 0; }
.gd-todo__ico {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: .72rem;
    background: rgba(255, 255, 255, .06);
    color: var(--gh-muted);
}
.gd-todo li.is-done .gd-todo__ico { background: rgba(52, 211, 153, .14); color: #34d399; }
.gd-todo__txt { min-width: 0; line-height: 1.3; }
.gd-todo__txt strong { display: block; font-size: .82rem; font-weight: 600; }
.gd-todo__txt small { font-size: .7rem; color: var(--gh-muted); }
.gd-todo li.is-done .gd-todo__txt strong { color: var(--gh-muted); text-decoration: line-through; text-decoration-color: rgba(154, 166, 196, .5); }
.gd-todo__act { margin-left: auto; flex: 0 0 auto; }
.gd-todo__act a {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gh-cyan);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, .25);
    background: rgba(34, 211, 238, .06);
}
.gd-todo__act a:hover { background: rgba(34, 211, 238, .14); }
.gd-todo__done { font-size: .72rem; color: #34d399; font-weight: 700; }

/* ---------- 数据表 ---------- */
.gd-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .83rem; }
.gd-table--wide { min-width: 860px; }
.gd-table thead th {
    text-align: left;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--gh-muted);
    padding: 11px 14px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--gh-border);
    white-space: nowrap;
}
.gd-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    vertical-align: middle;
    color: var(--gh-text);
}
.gd-table tbody tr:last-child td { border-bottom: 0; }
.gd-table tbody tr:hover td { background: rgba(255, 255, 255, .035); }
.gd-table .num { font-variant-numeric: tabular-nums; }
.gd-table .muted { color: var(--gh-muted); }

.gd-gamecell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gd-gamecell__img {
    width: 46px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--gh-border);
}
.gd-gamecell__txt { min-width: 0; }
.gd-gamecell__txt strong {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.gd-gamecell__txt small { font-size: .68rem; color: var(--gh-muted); }

.gd-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.gd-pill--live { color: #34d399; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .28); }
.gd-pill--hot { color: #fbbf24; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .3); }
.gd-pill--muted { color: var(--gh-muted); background: rgba(255, 255, 255, .06); border: 1px solid var(--gh-border); }
.gd-pill--draft { color: #94a3b8; background: rgba(148, 163, 184, .12); border: 1px solid rgba(148, 163, 184, .3); }
.gd-pill--pending { color: #60a5fa; background: rgba(96, 165, 250, .12); border: 1px solid rgba(96, 165, 250, .3); }
.gd-pill--rejected { color: #f87171; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .3); }
.gd-pill--offline { color: #fbbf24; background: rgba(251, 191, 36, .1); border: 1px dashed rgba(251, 191, 36, .4); }

/* 编辑游戏：截图与版本日志管理 */
.gd-ss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gd-ss-item { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--gh-border); cursor: pointer; }
.gd-ss-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gd-ss-item input { position: absolute; top: 6px; left: 6px; width: 16px; height: 16px; accent-color: #ef4444; cursor: pointer; }
.gd-ver-list { display: flex; flex-direction: column; gap: 8px; }
.gd-ver-item {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 14px; border-radius: 10px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--gh-border);
}
.gd-ver-del { flex: none; padding-top: 2px; cursor: pointer; }
.gd-ver-del input { width: 15px; height: 15px; accent-color: #ef4444; cursor: pointer; }
.gd-root .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.gd-chiprow { display: flex; flex-wrap: wrap; gap: 4px; }
.gd-mini {
    display: inline-block;
    font-size: .66rem;
    color: var(--gh-muted);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--gh-border);
    border-radius: 5px;
    padding: 1px 6px;
    white-space: nowrap;
}

/* ---------- 快捷操作 ---------- */
.gd-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gd-quick a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 11px;
    border: 1px solid var(--gh-border);
    background: rgba(255, 255, 255, .03);
    text-decoration: none;
    transition: .2s;
}
.gd-quick a:hover {
    border-color: rgba(168, 85, 247, .45);
    background: linear-gradient(160deg, rgba(168, 85, 247, .12), rgba(34, 211, 238, .05));
    transform: translateY(-2px);
}
.gd-quick i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: .82rem;
    color: var(--gh-cyan);
    background: rgba(34, 211, 238, .1);
    border: 1px solid rgba(34, 211, 238, .22);
}
.gd-quick strong { font-size: .8rem; font-weight: 600; color: var(--gh-text); line-height: 1.3; }
.gd-quick small { font-size: .68rem; color: var(--gh-muted); }

/* ---------- 工具条（列表页） ---------- */
.gd-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.gd-toolbar__count { font-size: .8rem; color: var(--gh-muted); }
.gd-toolbar__count b { color: var(--gh-text); font-variant-numeric: tabular-nums; }
.gd-toolbar .gd-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--gh-border);
    background: rgba(255, 255, 255, .04);
    min-width: 240px;
}
.gd-toolbar .gd-search i { color: var(--gh-muted); font-size: .78rem; }
.gd-toolbar .gd-search input {
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--gh-text);
    font-size: .82rem;
    width: 100%;
}
.gd-toolbar .gd-search input::placeholder { color: rgba(154, 166, 196, .7); }

/* 空状态 */
.gd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 54px 20px;
    text-align: center;
}
.gd-empty i { font-size: 2rem; color: rgba(168, 85, 247, .5); }
.gd-empty h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.gd-empty p { margin: 0; color: var(--gh-muted); font-size: .82rem; }

/* ---------- 侧栏窄屏：折叠为顶部横向滚动条 ---------- */
@media (max-width: 991.98px) {
    .gd-shell { grid-template-columns: minmax(0, 1fr); }
    .gd-rail {
        position: static;
        max-height: none;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--gh-border);
        padding: 14px 14px 10px;
    }
    .gd-brand, .gd-idcard, .gd-rail__foot { display: none; }
    .gd-nav {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .gd-nav::-webkit-scrollbar { display: none; }
    .gd-nav__group { margin: 0; display: flex; }
    .gd-nav__label { display: none; }
    .gd-nav__link {
        white-space: nowrap;
        padding: 7px 12px;
        border: 1px solid var(--gh-border);
        background: rgba(255, 255, 255, .04);
    }
    .gd-nav__link.active::before { display: none; }
    .gd-body { padding: 18px 0 0; }
    .gd-topbar { margin-bottom: 18px; }
}

@media (max-width: 767.98px) {
    .gd-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gd-kpi__value { font-size: 1.4rem; }
    .gd-grid--2, .gd-grid--wide { grid-template-columns: minmax(0, 1fr); }
    .gd-hero { align-items: flex-start; }
    .gd-hero h1 { font-size: 1.3rem; }
    .gd-topbar { flex-wrap: wrap; }
    .gd-topbar__actions { width: auto; margin-left: auto; }
    .gd-topbar__actions .gd-topbtn { flex: 0 0 auto; }
    .gd-panel__body { padding: 14px; }
    .gd-chart { height: 124px; }
    .gd-chart__x { font-size: .55rem; }
    .gd-quick { grid-template-columns: 1fr 1fr; }
    .gd-gamecell__txt strong { max-width: 130px; }
}

/* 趋势区间切换 + 收入曲线 */
.gd-hint--range { display: inline-flex; gap: 4px; }
.gd-hint--range a { padding: 2px 8px; border-radius: 999px; font-size: .72rem; color: var(--gh-muted); text-decoration: none; border: 1px solid var(--gh-border); }
.gd-hint--range a.is-active { color: #fff; background: var(--gh-gradient); border-color: transparent; }
.gd-spark { width: 100%; height: 120px; display: block; }
.gd-kpi__foot.is-up b { color: #34d399; }
