/* ==========================================================================
   时纬游戏 · 视觉系统
   暖纸底 + 墨黑线 + 朱红 / 松绿 / 芥黄
   ========================================================================== */

:root {
    --paper: #FBF5EA;
    --paper-2: #F4EAD8;
    --paper-3: #EFE2CC;
    --ink: #14202A;
    --ink-2: #4B5A66;
    --ink-3: #7C8A94;
    --line: rgba(20, 32, 42, 0.14);
    --line-2: rgba(20, 32, 42, 0.28);
    --verm: #E8451F;
    --verm-d: #C33515;
    --teal: #0D6B5F;
    --gold: #F2B23E;
    --card: #FFFFFF;
    --r-xl: 30px;
    --r-lg: 22px;
    --r-md: 14px;
    --r-sm: 10px;
    --shadow: 6px 6px 0 rgba(20, 32, 42, 0.92);
    --shadow-sm: 3px 3px 0 rgba(20, 32, 42, 0.92);
    --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "DIN Alternate", "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --wrap: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.72;
    color: var(--ink);
    background-color: var(--paper);
    background-image: radial-gradient(rgba(20, 32, 42, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ------------------------------- 按钮 ------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    background: var(--verm);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn--dark { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--sm { padding: 8px 16px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); border-width: 1.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ------------------------------ 顶部条 ------------------------------ */
.topbar {
    background: var(--ink);
    color: var(--paper-2);
    font-size: 12.5px;
    letter-spacing: 0.04em;
}
.topbar__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 38px;
}
.topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold);
}
.topbar__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(242, 178, 62, 0.22);
    animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ------------------------------- 页头 ------------------------------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 245, 234, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--ink);
}
.head-in {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--verm);
    color: #fff;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-3deg);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.brand__en { font-size: 10px; letter-spacing: 0.22em; color: var(--ink-3); font-family: var(--mono); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    transition: color 0.16s, background 0.16s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 3px;
    border-radius: 3px;
    background: var(--verm);
}
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-user {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 7px;
    border: 1.5px solid var(--line-2);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    background: #fff;
}
.head-user .avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--teal); color: #fff;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 800;
}
.nav-toggle { display: none; }

/* ------------------------------- 跑马灯 ------------------------------ */
.ticker {
    margin-top: 18px;
    background: var(--ink);
    color: var(--gold);
    border-block: 2px solid var(--ink);
    overflow: hidden;
}
.ticker__track {
    display: flex;
    gap: 44px;
    white-space: nowrap;
    padding: 11px 0;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
    animation: marquee 30s linear infinite;
    width: max-content;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker__track i { font-style: normal; color: var(--verm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------- 首屏 ------------------------------- */
.hero { position: relative; padding: 62px 0 54px; overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    width: 620px; height: 620px;
    right: -220px; top: -180px;
    border-radius: 50%;
    border: 2px dashed rgba(232, 69, 31, 0.28);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 54px;
    align-items: center;
    position: relative;
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-sm);
}
.kicker b {
    background: var(--ink); color: var(--gold);
    padding: 2px 9px; border-radius: 999px;
    font-size: 11px; letter-spacing: 0.1em;
}
.hero h1 {
    margin: 22px 0 0;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.035em;
}
.hero h1 .accent {
    position: relative;
    display: inline-block;
    color: var(--verm);
    background-image: linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-size: 100% 0.14em;
    background-position: 0 86%;
}
.hero h1 .boxed {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    padding: 0 14px;
    border-radius: 12px;
    transform: rotate(-1.2deg);
}
.hero__lead {
    margin-top: 22px;
    max-width: 30em;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.85;
}
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
    margin-top: 38px;
    display: flex;
    gap: 34px;
    padding-top: 22px;
    border-top: 1.5px dashed var(--line-2);
}
.hero__stat b {
    display: block;
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero__stat span { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em; }

/* 首屏右侧卡组 */
.hero-stack { position: relative; height: 470px; }
.hero-stack__card {
    position: absolute;
    width: 232px;
    filter: drop-shadow(0 18px 30px rgba(20, 32, 42, 0.18));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-stack__card:nth-child(1) { left: 4%; top: 26px; transform: rotate(-9deg); z-index: 1; }
.hero-stack__card:nth-child(2) { left: 28%; top: 0; transform: rotate(2deg); z-index: 3; }
.hero-stack__card:nth-child(3) { left: 52%; top: 58px; transform: rotate(11deg); z-index: 2; }
.hero-stack:hover .hero-stack__card:nth-child(1) { transform: rotate(-12deg) translateY(-8px); }
.hero-stack:hover .hero-stack__card:nth-child(2) { transform: rotate(0deg) translateY(-12px); }
.hero-stack:hover .hero-stack__card:nth-child(3) { transform: rotate(14deg) translateY(-6px); }
.hero-stack__tag {
    position: absolute;
    right: -6px; bottom: 24px;
    z-index: 5;
    background: var(--gold);
    border: 2px solid var(--ink);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-sm);
    transform: rotate(-3deg);
}
.hero-stack__tag em {
    display: block;
    font-style: normal;
    font-family: var(--mono);
    font-size: 19px;
    letter-spacing: -0.01em;
}

/* ------------------------------- 封面艺术 ----------------------------- */
.cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c1, #14202A);
    border: 2px solid var(--ink);
    isolation: isolate;
}
.cover::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto auto;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, var(--c2, #E8451F), transparent 68%);
    opacity: 0.95;
    filter: blur(2px);
}
.cover::after {
    content: "";
    position: absolute;
    inset: auto -20% -34% -20%;
    height: 62%;
    background: var(--c2, #E8451F);
    opacity: 0.9;
    transform: rotate(-7deg);
    mix-blend-mode: soft-light;
}
.cover__grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}
.cover__art { position: absolute; inset: 0; z-index: 1; }
.cover__art i { position: absolute; display: block; }
/* 真实封面图（cover--photo）：图片铺满，隐藏生成图案，保留文字与角标层 */
.cover--photo { background: #0b0f14; }
.cover--photo::before,
.cover--photo::after { display: none; }
.cover--photo .cover__art { display: none; }
.cover--photo .cover__grain { opacity: 0.1; }
.cover__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.cover--grid .cover__art {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
}
.cover--grid .cover__art i:nth-child(1) {
    width: 120%; height: 34%;
    left: -10%; bottom: 12%;
    background: var(--c2);
    transform: rotate(-8deg);
    opacity: 0.85;
    mix-blend-mode: hard-light;
}
.cover--stars .cover__art {
    background-image:
        radial-gradient(1.6px 1.6px at 20% 18%, rgba(255,255,255,.9), transparent),
        radial-gradient(1.4px 1.4px at 68% 32%, rgba(255,255,255,.75), transparent),
        radial-gradient(1.8px 1.8px at 42% 62%, rgba(255,255,255,.85), transparent),
        radial-gradient(1.2px 1.2px at 82% 74%, rgba(255,255,255,.7), transparent),
        radial-gradient(1.5px 1.5px at 12% 78%, rgba(255,255,255,.6), transparent);
    background-size: 100% 100%;
}
.cover--stars .cover__art i:nth-child(1) {
    width: 210px; height: 210px;
    left: 50%; top: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.cover--stars .cover__art i:nth-child(2) {
    width: 300px; height: 300px;
    left: 50%; top: 32%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.28);
}
.cover--stars .cover__art i:nth-child(3) {
    width: 74px; height: 74px;
    left: 50%; top: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--c2);
    filter: blur(1px);
    opacity: 0.9;
}
.cover--waves .cover__art i {
    inset: auto;
    left: -30%;
    width: 160%;
    height: 34%;
    border-radius: 50% 50% 0 0;
    border-top: 2px solid rgba(255, 255, 255, 0.55);
}
.cover--waves .cover__art i:nth-child(1) { bottom: 30%; }
.cover--waves .cover__art i:nth-child(2) { bottom: 18%; opacity: 0.65; }
.cover--waves .cover__art i:nth-child(3) { bottom: 6%; opacity: 0.35; }
.cover--waves .cover__art i:nth-child(4) {
    width: 130px; height: 130px;
    left: 50%; bottom: 34%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--c2);
    opacity: 0.75;
    filter: blur(18px);
    border: 0;
}
.cover--stripes .cover__art {
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 14px);
}
.cover--stripes .cover__art i:nth-child(1) {
    width: 60%; height: 62%;
    right: -8%; top: -12%;
    background: var(--c2);
    opacity: 0.75;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}
.cover--halo .cover__art i:nth-child(1) {
    width: 78%; aspect-ratio: 1;
    left: 50%; top: 34%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 22px solid var(--c2);
    opacity: 0.85;
    filter: blur(0.4px);
}
.cover--halo .cover__art i:nth-child(2) {
    width: 120%; aspect-ratio: 1;
    left: 50%; top: 34%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.cover--blocks .cover__art i {
    width: 44%; aspect-ratio: 1;
    background: var(--c2);
    opacity: 0.8;
    border-radius: 12px;
}
.cover--blocks .cover__art i:nth-child(1) { left: 8%; top: 12%; transform: rotate(-8deg); }
.cover--blocks .cover__art i:nth-child(2) { right: 6%; top: 26%; opacity: 0.45; transform: rotate(6deg); }
.cover--blocks .cover__art i:nth-child(3) { left: 22%; top: 44%; opacity: 0.3; transform: rotate(3deg); }
.cover--dots .cover__art {
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.6px, transparent 1.6px);
    background-size: 18px 18px;
}
.cover--dots .cover__art i:nth-child(1) {
    width: 68%; aspect-ratio: 1;
    left: 50%; top: 32%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--c2);
    opacity: 0.62;
    filter: blur(10px);
}
.cover__text {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    padding: 44px 18px 16px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 6px 22px rgba(0, 0, 0, 0.28);
}
.cover__text::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(9, 14, 18, 0.9) 8%, rgba(9, 14, 18, 0.55) 48%, rgba(9, 14, 18, 0) 100%);
}
.cover__sub {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    opacity: 0.82;
    margin-bottom: 4px;
    font-weight: 600;
}
.cover__name {
    display: block;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.12;
}
.cover__corner {
    position: absolute;
    z-index: 5;
    top: 12px; right: 12px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-weight: 700;
}

/* -------------------------------- 区块 ------------------------------- */
.sec { padding: 68px 0; }
.sec--tight { padding: 44px 0; }
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    color: var(--verm);
    font-weight: 700;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--verm);
}
.sec-head h2 {
    margin-top: 10px;
    font-size: clamp(26px, 3.1vw, 38px);
    letter-spacing: -0.03em;
}
.sec-head p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; max-width: 42em; }
.sec-head__link {
    font-size: 14px;
    font-weight: 700;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 2px;
    white-space: nowrap;
}
.sec-head__link:hover { color: var(--verm); border-color: var(--verm); }

/* ------------------------------ 游戏卡片 ----------------------------- */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 24px;
}
.game-card { display: block; }
.game-card .cover { transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s; }
.game-card:hover .cover { transform: translate(-3px, -4px); box-shadow: 7px 8px 0 rgba(20, 32, 42, 0.9); }
.game-card__body { padding: 12px 4px 0; }
.game-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.game-card__title .badge {
    font-size: 10px;
    font-family: var(--mono);
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--gold);
    border: 1px solid var(--ink);
    font-weight: 700;
}
.game-card__title .badge--new { background: var(--teal); color: #fff; }
.game-card__meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 12.5px;
    color: var(--ink-3);
    font-family: var(--mono);
}
.game-card__meta em { font-style: normal; color: var(--verm); font-weight: 700; flex: 0 0 auto; }
.game-card__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 窄卡片时销量胶囊整体换到第二行，避免被压扁/溢出重叠 */
.game-card__meta > span:not(.sold-pill) { flex: 1 1 auto; min-width: 0; }
.game-card__meta .sold-pill { margin-left: 0; flex: 0 0 auto; }

/* ------------------------------ 分类胶囊 ----------------------------- */
.cat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.cat-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.cat-pill:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--paper-2); }
.cat-pill__no {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    width: 34px; height: 34px;
    border-radius: 9px;
    display: grid; place-items: center;
    background: var(--paper-3);
    flex: 0 0 auto;
}
.cat-pill:nth-child(4n+1) .cat-pill__no { background: var(--verm); color: #fff; }
.cat-pill:nth-child(4n+2) .cat-pill__no { background: var(--teal); color: #fff; }
.cat-pill:nth-child(4n+3) .cat-pill__no { background: var(--gold); }
.cat-pill__t { display: block; font-weight: 800; font-size: 15.5px; line-height: 1.35; }
.cat-pill__d { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }
.cat-pill__arrow { margin-left: auto; font-size: 18px; color: var(--ink-3); }

/* ------------------------------ 信任条 ------------------------------- */
.trust {
    background: var(--paper-2);
    border-block: 1.5px solid var(--ink);
}
.trust__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
}
.trust__item {
    padding: 26px 26px;
    border-left: 1px dashed var(--line-2);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__icon {
    width: 40px; height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    border: 1.5px solid var(--ink);
    display: grid; place-items: center;
    background: #fff;
}
.trust__icon svg { width: 20px; height: 20px; }
.trust__t { font-weight: 800; font-size: 15px; }
.trust__d { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

/* ------------------------------- 步骤 -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
    position: relative;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 30px 26px 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.step__no {
    position: absolute;
    right: 16px; top: 6px;
    font-family: var(--mono);
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: rgba(20, 32, 42, 0.07);
}
.step h3 { font-size: 18px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.step__tag {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--paper-2);
    border: 1px solid var(--line-2);
}
.step:nth-child(2) { background: var(--ink); color: var(--paper); }
.step:nth-child(2) p { color: rgba(251, 245, 234, 0.72); }
.step:nth-child(2) .step__no { color: rgba(255, 255, 255, 0.1); }
.step:nth-child(2) .step__tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: var(--gold); }

/* ------------------------------- 资讯 -------------------------------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.news-card:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow); }
.news-card__tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--paper-2);
    border: 1px solid var(--line-2);
    color: var(--teal);
}
.news-card h3 { font-size: 16.5px; line-height: 1.45; }
.news-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__date { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.06em; }

/* -------------------------------- FAQ -------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    padding: 4px 20px;
    transition: background 0.2s;
}
.faq details[open] { background: var(--paper-2); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 30px 16px 0;
    font-weight: 700;
    font-size: 15.5px;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--verm);
    transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }

/* ------------------------------ 大 CTA ------------------------------- */
.cta-band {
    background: var(--ink);
    color: var(--paper);
    border-block: 2px solid var(--ink);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(242, 178, 62, 0.25) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
}
.cta-band__in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { margin-top: 10px; color: rgba(251, 245, 234, 0.72); font-size: 14.5px; }

/* ------------------------------- 页脚 -------------------------------- */
.site-foot {
    background: var(--paper-2);
    border-top: 2px solid var(--ink);
    padding: 56px 0 0;
    font-size: 13.5px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
    padding-bottom: 44px;
}
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-brand .brand__mark { width: 38px; height: 38px; font-size: 18px; border-radius: 11px; }
.foot-col h4 {
    font-size: 12px;
    letter-spacing: 0.16em;
    font-family: var(--mono);
    color: var(--ink-3);
    margin-bottom: 14px;
    font-weight: 700;
}
.foot-col li { margin-bottom: 9px; color: var(--ink-2); }
.foot-col a:hover { color: var(--verm); }
.foot-desc { color: var(--ink-2); line-height: 1.8; max-width: 30em; }
.foot-clock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 7px 13px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: #fff;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.foot-clock i {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22a06b;
    box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.16);
    animation: pulse 2s infinite;
}
.foot-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--ink-3);
}
.foot-bottom a:hover { color: var(--verm); }
.foot-icp { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------ 内页头 ------------------------------- */
.page-head {
    background: var(--paper-2);
    border-bottom: 1.5px solid var(--ink);
    padding: 42px 0 38px;
    position: relative;
    overflow: hidden;
}
.page-head::after {
    content: attr(data-en);
    position: absolute;
    right: 4%; top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: clamp(52px, 8vw, 110px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(20, 32, 42, 0.05);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}
.crumb { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--verm); }
.page-head h1 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; }
.page-head p { margin-top: 10px; color: var(--ink-2); max-width: 46em; font-size: 14.5px; }

/* ------------------------------ 筛选条 ------------------------------- */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 0;
}
.chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line-2);
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    transition: all 0.16s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-count { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }

/* ----------------------------- 游戏详情 ------------------------------ */
.detail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 44px;
    align-items: start;
}
.detail-cover { position: sticky; top: 104px; }
.detail-cover .cover { border-radius: var(--r-xl); box-shadow: var(--shadow); }
.detail-title { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; }
.detail-sub { margin-top: 8px; color: var(--ink-3); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.detail-meta span {
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line-2);
}
.detail-meta span b { color: var(--verm); font-family: var(--mono); }
.detail-body { margin-top: 24px; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.detail-feats { margin-top: 22px; display: grid; gap: 10px; }
.detail-feats li {
    position: relative;
    padding-left: 24px;
    color: var(--ink);
    font-size: 14px;
}
.detail-feats li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 10px; height: 10px;
    border-radius: 3px;
    background: var(--gold);
    border: 1.5px solid var(--ink);
}

/* 充值档位 */
.recharge-box {
    margin-top: 34px;
    border: 2px solid var(--ink);
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.recharge-box__head {
    padding: 16px 22px;
    background: var(--paper-2);
    border-bottom: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.recharge-box__head h3 { font-size: 16px; }
.recharge-box__head span { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 22px; }
.pkg {
    position: relative;
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-md);
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    background: var(--paper);
    transition: all 0.16s;
}
.pkg:hover { border-color: var(--ink); box-shadow: 0 6px 16px rgba(20, 32, 42, 0.10); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg:has(input:checked) { border-color: var(--verm); background: #FFF1EC; box-shadow: inset 0 0 0 1px rgba(232, 69, 31, 0.55); }
.pkg__name { display: block; font-weight: 800; font-size: 15px; line-height: 1.4; }
.pkg__bonus { display: block; font-size: 11.5px; color: var(--teal); font-weight: 700; margin-top: 2px; min-height: 17px; line-height: 1.4; }
.pkg__price { display: block; margin-top: 8px; font-family: var(--mono); font-size: 20px; font-weight: 800; color: var(--verm); letter-spacing: -0.02em; line-height: 1.2; }
.recharge-form { padding: 0 22px 22px; display: grid; gap: 14px; }
.recharge-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ------------------------------- 表单 -------------------------------- */
.field { display: grid; gap: 7px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.field .hint { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.input, .textarea, .select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: 14px;
    transition: border-color 0.16s, box-shadow 0.16s;
    outline: none;
}
.input:focus, .textarea:focus, .select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(232, 69, 31, 0.14);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.form-note { font-size: 12px; color: var(--ink-3); line-height: 1.7; }

/* ------------------------------- 弹窗提示 ---------------------------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line-2);
    border-left-width: 5px;
    background: #fff;
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 18px;
}
.alert--ok { border-left-color: #22a06b; background: #F2FAF6; }
.alert--warn { border-left-color: var(--gold); background: #FFF9EC; }
.alert--err { border-left-color: var(--verm); background: #FFF2EE; }

/* -------------------------------- 登录 ------------------------------- */
.auth-wrap {
    display: grid;
    grid-template-columns: 1fr 460px;
    min-height: calc(100vh - 76px - 38px);
}
.auth-side {
    background: var(--ink);
    color: var(--paper);
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}
.auth-side::before {
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    right: -180px; top: -140px;
    border-radius: 50%;
    border: 1px dashed rgba(242, 178, 62, 0.35);
}
.auth-side::after {
    content: "";
    position: absolute;
    left: -120px; bottom: -180px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 69, 31, 0.55), transparent 68%);
}
.auth-side h2 { font-size: clamp(28px, 3.4vw, 42px); position: relative; letter-spacing: -0.03em; }
.auth-side h2 em { font-style: normal; color: var(--gold); }
.auth-side p { color: rgba(251, 245, 234, 0.72); max-width: 30em; position: relative; }
.auth-side__list { display: grid; gap: 14px; position: relative; margin-top: 8px; }
.auth-side__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.auth-side__list i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(242, 178, 62, 0.16);
    color: var(--gold);
    display: grid; place-items: center;
    font-style: normal; font-size: 12px;
    flex: 0 0 auto;
    margin-top: 2px;
}
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(100%, 400px); }
.auth-card h1 { font-size: 28px; letter-spacing: -0.03em; }
.auth-card > p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.auth-form { margin-top: 26px; display: grid; gap: 16px; }
.auth-switch { margin-top: 20px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.auth-switch a { font-weight: 700; border-bottom: 2px solid var(--gold); }
.auth-switch a:hover { color: var(--verm); }

/* ------------------------------- 会员中心 ---------------------------- */
.dash {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 32px;
    padding: 40px 0 70px;
    align-items: start;
}
.dash-side {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: sticky;
    top: 104px;
}
.dash-user {
    padding: 22px 20px;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    gap: 12px;
    align-items: center;
}
.dash-user .avatar {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--verm);
    display: grid; place-items: center;
    font-weight: 900; font-size: 17px;
    border: 1.5px solid rgba(255,255,255,.35);
}
.dash-user b { font-size: 15px; display: block; line-height: 1.3; }
.dash-user span { font-size: 11.5px; color: rgba(251,245,234,.6); font-family: var(--mono); }
.dash-nav { padding: 10px; display: grid; gap: 2px; }
.dash-nav a {
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dash-nav a:hover { background: var(--paper-2); color: var(--ink); }
.dash-nav a.is-on { background: var(--ink); color: var(--paper); }
.dash-nav a.is-on span { color: var(--gold); }
.dash-nav span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.stat-card span { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.stat-card b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 26px; letter-spacing: -0.02em; }
.stat-card:nth-child(1) b { color: var(--verm); }
.stat-card:nth-child(2) b { color: var(--teal); }

.panel {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.panel__head {
    padding: 16px 22px;
    border-bottom: 1.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--paper-2);
}
.panel__head h2 { font-size: 16px; }
.panel__head .mono { font-size: 12px; color: var(--ink-3); }
.panel__body { padding: 22px; }
.panel__body--flush { padding: 0; overflow-x: auto; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
    text-align: left;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    font-weight: 700;
    padding: 12px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FDFAF4; }
.table .mono { font-size: 12.5px; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}
.tag--paid { background: #E9F7F0; color: #1B7A50; border-color: #B9E3CE; }
.tag--pending { background: #FFF6E2; color: #8A5A00; border-color: #F2D79B; }
.tag--closed { background: #F0F1F2; color: #6B7780; border-color: #D8DDE1; }
.tag--refund { background: #FDEDEA; color: var(--verm-d); border-color: #F3C3B8; }

.empty {
    padding: 56px 24px;
    text-align: center;
    color: var(--ink-3);
    font-size: 14px;
}
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* ------------------------------ 内容页 ------------------------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h3 { font-size: 17px; margin: 26px 0 10px; }
.prose p { margin: 12px 0; color: var(--ink-2); line-height: 1.95; font-size: 15px; }
.prose ul { margin: 12px 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--ink-2); line-height: 1.85; font-size: 15px; }
.prose ul li::before {
    content: "";
    position: absolute; left: 2px; top: 0.65em;
    width: 7px; height: 7px; border-radius: 2px;
    background: var(--verm);
}
.prose strong { color: var(--ink); }
.prose .lead { font-size: 17px; color: var(--ink); line-height: 1.85; }

.info-card {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.info-card dl { margin: 0; display: grid; gap: 16px; }
.info-card dt { font-size: 11.5px; letter-spacing: 0.12em; color: var(--ink-3); font-family: var(--mono); }
.info-card dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.info-card dd a:hover { color: var(--verm); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }

/* ------------------------------- 分页 -------------------------------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a, .pager span {
    min-width: 38px; height: 38px;
    display: grid; place-items: center;
    padding: 0 12px;
    border-radius: 9px;
    border: 1.5px solid var(--line-2);
    font-size: 13.5px;
    font-weight: 600;
    background: #fff;
}
.pager a:hover { border-color: var(--ink); }
.pager .is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------- 支付页 ------------------------------ */
.pay-wrap { max-width: 620px; margin: 56px auto 76px; }
.pay-card {
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.pay-card__head {
    padding: 24px 30px;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.pay-card__head h1 { font-size: 20px; }
.pay-card__head .mono { font-size: 12px; color: var(--gold); }
.pay-card__body { padding: 30px; }
.pay-amount {
    text-align: center;
    padding: 18px 0 24px;
    border-bottom: 1px dashed var(--line-2);
    margin-bottom: 22px;
}
.pay-amount span { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.1em; font-family: var(--mono); }
.pay-amount b { display: block; font-family: var(--mono); font-size: 46px; letter-spacing: -0.03em; color: var(--verm); line-height: 1.2; }
.pay-rows { display: grid; gap: 0; }
.pay-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.pay-row:last-child { border-bottom: 0; }
.pay-row span { color: var(--ink-3); }
.pay-row b { font-weight: 600; text-align: right; }
.pay-tip {
    margin-top: 22px;
    background: var(--paper-2);
    border-radius: var(--r-md);
    padding: 16px 18px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.8;
}
.pay-tip b { color: var(--ink); }

/* ------------------------------- 响应式 ------------------------------ */
@media (max-width: 1080px) {
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust__inner { grid-template-columns: repeat(2, 1fr); }
    .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-cover { position: static; max-width: 320px; }
    .two-col { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
}

@media (max-width: 860px) {
    .nav { display: none; }
    .nav.is-open {
        display: flex;
        position: absolute;
        top: 76px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px 20px 18px;
        background: var(--paper);
        border-bottom: 2px solid var(--ink);
    }
    .nav.is-open a { padding: 12px 14px; }
    .nav-toggle {
        display: inline-grid;
        place-items: center;
        width: 42px; height: 42px;
        border: 1.5px solid var(--ink);
        border-radius: 11px;
        background: #fff;
        cursor: pointer;
        order: 3;
    }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stack { height: 380px; max-width: 420px; margin-inline: auto; width: 100%; }
    .hero-stack__card { width: 180px; }
    .hero__stats { gap: 22px; }
    .steps, .news-list { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .dash { grid-template-columns: 1fr; }
    .dash-side { position: static; }
    .stat-row { grid-template-columns: 1fr; }
    .sec { padding: 46px 0; }
    .topbar__in { justify-content: center; }
    .topbar__in > span:last-child { display: none; }
}

@media (max-width: 560px) {
    .wrap { width: calc(100% - 32px); }
    .head-in { height: 66px; gap: 14px; }
    .brand__name { font-size: 16px; }
    .brand__mark { width: 38px; height: 38px; font-size: 19px; }
    .hero { padding: 38px 0 32px; }
    .hero__stats { flex-wrap: wrap; gap: 18px 26px; }
    .hero__stat b { font-size: 24px; }
    .hero-stack { height: 340px; }
    .hero-stack__card { width: 152px; }
    .hero-stack__card:nth-child(1) { left: 0; }
    .hero-stack__card:nth-child(2) { left: 27%; }
    .hero-stack__card:nth-child(3) { left: 54%; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cover__name { font-size: 17px; }
    .cover__text { padding: 38px 12px 11px; }
    .cat-strip { grid-template-columns: 1fr; }
    .trust__inner { grid-template-columns: 1fr; }
    .trust__item { border-left: 0; padding-left: 0; padding-block: 18px; }
    .row2, .recharge-form .row2 { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 28px; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); padding: 16px; }
    .recharge-form { padding: 0 16px 18px; }
    .table { font-size: 12.5px; }
    .table th, .table td { padding: 10px 12px; }
}
/* ==========================================================================
   管理后台 · 通栏顶栏 + 侧栏 + 页头
   ========================================================================== */
.admin { min-height: 100vh; min-width: 1000px; display: flex; flex-direction: column; background: var(--paper); }

/* 顶部通栏 */
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: stretch;
    height: 64px;
    background: var(--ink);
    color: var(--paper);
    border-bottom: 2px solid var(--ink);
}
.admin-brand {
    width: 246px;
    flex: 0 0 246px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-brand .brand__mark {
    width: 34px; height: 34px;
    font-size: 17px;
    border-radius: 10px;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.25);
    transform: rotate(-3deg);
}
.admin-brand b { display: block; font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
.admin-brand .brand-en {
    display: block;
    margin-top: 2px;
    font-size: 8.5px;
    letter-spacing: 0.18em;
    color: rgba(251, 245, 234, 0.42);
    font-family: var(--mono);
    text-transform: uppercase;
}

.admin-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 22px;
    font-size: 12.5px;
    color: rgba(251, 245, 234, 0.5);
}
.admin-crumb a { color: rgba(251, 245, 234, 0.5); }
.admin-crumb a:hover { color: var(--gold); }
.admin-crumb i { font-style: normal; opacity: 0.35; }
.admin-crumb b { color: var(--paper); font-weight: 600; }

.admin-topbar__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 18px;
}
.admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11.5px;
    letter-spacing: 0.01em;
    color: rgba(251, 245, 234, 0.78);
    font-family: var(--mono);
    white-space: nowrap;
}
.admin-pill i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3DDC97;
    box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
    animation: pulse 2.4s infinite;
}
.admin-pill--off i { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 178, 62, 0.16); }
.admin-pill--domain { color: var(--gold); border-color: rgba(242, 178, 62, 0.35); }
.admin-pill--domain:hover { background: rgba(242, 178, 62, 0.12); }
.admin-clock {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: rgba(251, 245, 234, 0.5);
    padding-left: 4px;
}

/* 主体骨架 */
.admin-shell {
    display: grid;
    grid-template-columns: 246px minmax(0, 1fr);
    flex: 1;
    align-items: start;
}
.admin-side {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    background: var(--ink);
    color: var(--paper);
    padding: 14px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}
.admin-nav { display: grid; gap: 2px; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(251, 245, 234, 0.68);
    transition: background 0.15s, color 0.15s;
}
.admin-nav a svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: 0.7; }
.admin-nav a .n {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(251, 245, 234, 0.38);
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav a:hover svg { opacity: 1; }
.admin-nav a.is-on { background: var(--verm); color: #fff; }
.admin-nav a.is-on svg { opacity: 1; }
.admin-nav a.is-on .n { color: rgba(255, 255, 255, 0.72); }

.admin-side__foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 1px;
}
.admin-side__foot > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12.5px;
    color: rgba(251, 245, 234, 0.62);
}
.admin-side__foot > a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-side__meta {
    margin-top: 10px;
    padding: 0 11px;
    display: grid;
    gap: 2px;
    font-size: 10.5px;
    line-height: 1.6;
    color: rgba(251, 245, 234, 0.3);
}
.admin-side__meta a { color: rgba(251, 245, 234, 0.42); }
.admin-side__meta a:hover { color: var(--gold); }

/* 页头 */
.admin-pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.55);
    border-bottom: 1px solid var(--line);
}
.admin-pagehead__l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-pagehead__icon {
    width: 38px; height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--paper-2);
    border: 1.5px solid var(--ink);
    color: var(--verm);
    box-shadow: 2px 2px 0 rgba(20, 32, 42, 0.9);
}
.admin-pagehead__icon svg { width: 18px; height: 18px; }
.admin-pagehead h1 { font-size: 19px; letter-spacing: -0.02em; }
.admin-pagehead p { margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.admin-pagehead__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-main { min-width: 0; }
.admin-body { padding: 26px 30px 60px; max-width: 1400px; }

.admin-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.admin-cols > * { min-width: 0; }

/* 指标卡 */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.kpi span { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.05em; }
.kpi b { display: block; font-family: var(--mono); font-size: 24px; letter-spacing: -0.02em; margin-top: 2px; }
.kpi small { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.kpi--hot b { color: var(--verm); }
.kpi--ok b { color: var(--teal); }

/* 卡片区块 */
.admin-section {
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-lg);
    margin-bottom: 22px;
    overflow: hidden;
}
.admin-section__head {
    padding: 14px 22px;
    border-bottom: 1.5px solid var(--ink);
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.admin-section__head h2 { font-size: 15px; }
.admin-section__head span { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.06em; }
.admin-section__body { padding: 22px; }
.admin-section__body--flush { padding: 0; overflow-x: auto; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--line-2);
}

/* 后台登录 */
.admin-login::before {
    content: "";
    position: absolute;
    width: 680px; height: 680px;
    right: -260px; top: -280px;
    border-radius: 50%;
    border: 1px dashed rgba(242, 178, 62, 0.3);
}
.admin-login__card {
    position: relative;
    color: var(--ink);
    width: min(100%, 400px);
    background: var(--paper);
    border-radius: var(--r-xl);
    padding: 34px;
    border: 2px solid var(--ink);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35);
}
.admin-login__card h1 { font-size: 24px; margin-top: 14px; }
.admin-login__card p { color: var(--ink-2); font-size: 13.5px; margin-top: 6px; }

.cert-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.cert-status i { width: 7px; height: 7px; border-radius: 50%; background: #22a06b; }
.cert-status.is-off i { background: var(--verm); }

.thumb {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    background: linear-gradient(135deg, var(--c1, #14202A) 20%, var(--c2, #E8451F));
    flex: 0 0 auto;
    border: 1.5px solid var(--ink);
}

/* 后台登录 · 与后台框架同一顶栏语言 */
.admin-login {
    min-height: 100vh;
    min-width: 720px;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.admin-login__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-login__bar .admin-brand { width: auto; flex: 0 0 auto; border-right: 0; padding: 0; }
.admin-login__body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    place-items: center;
    padding: 48px 24px;
}
.admin-login__foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 24px 24px;
    font-size: 11.5px;
    color: rgba(251, 245, 234, 0.32);
}
.admin-login__foot a { color: rgba(251, 245, 234, 0.46); }
.admin-login__foot a:hover { color: var(--gold); }
.admin-login__mark {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.admin-login__mark .brand__mark { width: 38px; height: 38px; font-size: 19px; }

/* 销量/评价高亮（2026-10-20） */
.sold-pill{display:inline-flex;align-items:center;font-size:10.5px;font-weight:700;color:var(--verm);border:1px solid rgba(232,69,31,.4);background:rgba(232,69,31,.07);border-radius:999px;padding:2px 8px;margin-left:6px;white-space:nowrap}
.game-card__meta .sold-pill{margin-left:0}
.detail-meta .sold-pill{margin-left:0;margin-top:4px}

/* 左下角版权信息放大（2026-10-20） */
.admin-side__meta{font-size:12.5px;line-height:1.65;color:rgba(251,245,234,.5)}
.admin-side__meta a{color:rgba(251,245,234,.62)}
