
  /* ============ 设计令牌(Design Tokens · v2.1) ============ */
  :root {
    /* 品牌色系 */
    --c-brand:        #1E5AE6;   /* 品牌蓝,主色 */
    --c-brand-deep:   #0F2C5C;   /* 深蓝,顶栏/标题/重音 */
    --c-brand-soft:   #E8EFFE;   /* 极浅蓝,标签底/选中态 */
    --c-accent:       #F5A623;   /* 强调橙,运营卡/活动 */

    /* 频道色(主排5块) */
    --c-ch-news:    #1E5AE6;     /* 新闻 · 蓝 */
    --c-ch-guide:   #7C4DFF;     /* 攻略 · 紫 */
    --c-ch-event:   #F5A623;     /* 活动 · 橙 */
    --c-ch-review:  #16A34A;     /* 评测 · 绿 */
    --c-ch-member:  #D4A23A;     /* 会员 · 金 */

    /* 中性色 */
    --c-bg:         #F4F6FA;     /* 页面底,极浅冷灰 */
    --c-card:       #FFFFFF;     /* 卡片底 */
    --c-line:       #E5E8EF;     /* 浅分割线 */
    --c-line-2:     #EEF1F6;     /* 更浅分割线 */
    --c-text:       #1F2937;     /* 主文字 */
    --c-text-2:     #6B7280;     /* 次文字 */
    --c-text-3:     #9CA3AF;     /* 三级文字(辅助) */

    /* 奖杯难度色 */
    --c-diff-easy:    #16A34A;   /* 易 · 绿 */
    --c-diff-mid:     #3B82F6;   /* 中 · 蓝 */
    --c-diff-hard:    #F59E0B;   /* 难 · 橙 */
    --c-diff-extreme: #DC2626;   /* 极难 · 红 */

    /* 圆角/阴影/字号 */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-pill: 999px;
    --sh-1: 0 1px 2px rgba(15,44,92,.04);
    --sh-2: 0 2px 8px rgba(15,44,92,.06);
    --sh-3: 0 8px 24px rgba(15,44,92,.10);

    --f-base: 14px;
    --f-h:    "PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: var(--f-h); font-size: var(--f-base);
    background: var(--c-bg); color: var(--c-text); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  img { display: block; }

  /* 容器 */
  .container { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }

  /* 通用卡片 */
  .card {
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--r-md); box-shadow: var(--sh-1);
  }
  .card-hd {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-bottom: 1px solid var(--c-line);
    font-size: 15px; font-weight: 700; color: var(--c-brand-deep);
  }
  .card-hd .badge {
    font-size: 11px; font-weight: 500; color: var(--c-text-2);
    padding: 2px 8px; background: var(--c-brand-soft); border-radius: var(--r-pill);
  }
  .card-hd .more {
    margin-left: auto; font-weight: 400; font-size: 12px; color: var(--c-text-2);
    cursor: pointer;
  }
  .card-hd .more:hover { color: var(--c-brand); }

  /* ============ ① 顶栏 · 深蓝品牌色 ============ */
  .site-nav { background: var(--c-brand-deep); color: #fff; position: sticky; top: 0; z-index: 50; }
  .site-nav .inner {
    max-width: 1200px; margin: 0 auto; height: 56px;
    display: flex; align-items: center; gap: 16px; padding: 0 20px;
  }
  /* Logo:PSNINE + 蓝三角 */
  .logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 800; letter-spacing: .5px; color: #fff;
  }
  .logo .tri {
    width: 0; height: 0;
    border-left: 9px solid transparent; border-right: 9px solid transparent;
    border-bottom: 14px solid var(--c-brand);
    transform: rotate(90deg); margin-right: 2px;
  }
  .nav-menu { display: flex; gap: 4px; margin-left: 8px; }
  .nav-menu a {
    padding: 7px 14px; font-size: 13px; color: rgba(255,255,255,.85);
    border-radius: var(--r-sm); transition: background .15s;
  }
  .nav-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-menu a.active { background: rgba(255,255,255,.12); color: #fff; }
  .nav-menu a.member {
    color: #FFE6A8;
    border: 1px solid rgba(212,162,58,.4);
  }
  .nav-menu a.member:hover { background: rgba(212,162,58,.12); }

  /* 搜索框 */
  .search-box {
    margin-left: auto; flex: none;
    width: 240px; height: 34px;
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-pill); padding: 0 14px; cursor: pointer; color: inherit; font: inherit;
  }
  .search-box:hover { background: rgba(255,255,255,.16); }
  .search-box .ico { width: 15px; height: 15px; color: rgba(255,255,255,.7); }
  .desktop-search-input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    color: #fff; font: inherit; font-size: 12px;
  }
  .desktop-search-input::placeholder { color: rgba(255,255,255,.55); }
  .desktop-search-input::-webkit-search-cancel-button,
  .mobile-search-input::-webkit-search-cancel-button { display: none; }
  .desktop-search-clear {
    flex: none; width: 20px; height: 20px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: transparent;
    color: rgba(255,255,255,.55); cursor: pointer;
  }
  .desktop-search-clear:hover { background: rgba(255,255,255,.1); color: #fff; }
  .desktop-search-clear svg { width: 12px; height: 12px; }
  .desktop-search-clear[hidden] { display: none; }

  /* 用户区 */
  .nav-user { position: relative; display: flex; align-items: center; gap: 10px; }
  .login-link {
    padding: 0 14px; height: 32px;
    display: flex; align-items: center;
    border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm);
    font-size: 12px; color: rgba(255,255,255,.9);
  }
  .login-link:hover { background: rgba(255,255,255,.08); }
  .auth-user {
    display: flex; align-items: center; gap: 8px;
    padding: 0 10px 0 4px; height: 34px;
    background: rgba(255,255,255,.08); border-radius: var(--r-pill); cursor: pointer;
    border: 0; font: inherit; position: relative;
  }
  .auth-user .msg-dot {
    position: absolute; top: 2px; left: 26px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #EF4444; border: 1.5px solid var(--c-brand-deep);
    pointer-events: none;
  }
  .auth-user:hover { background: rgba(255,255,255,.14); }
  .auth-user img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .auth-user .name { font-size: 13px; color: #fff; }
  .auth-user .caret { font-size: 9px; color: rgba(255,255,255,.6); }
  .auth-user .vip {
    font-size: 10px; padding: 1px 6px;
    background: var(--c-accent); color: #fff;
    border-radius: var(--r-pill); font-weight: 600;
  }

  /* 用户下拉菜单 */
  .user-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0; z-index: 80;
    width: 232px; padding: 8px;
    background: var(--c-card); color: var(--c-text);
    border: 1px solid var(--c-line); border-radius: var(--r-md);
    box-shadow: var(--sh-3);
  }
  .user-dropdown::before {
    content: ""; position: absolute; top: -6px; right: 24px;
    width: 10px; height: 10px; background: var(--c-card);
    border-left: 1px solid var(--c-line); border-top: 1px solid var(--c-line);
    transform: rotate(45deg);
  }
  .user-dropdown[hidden], .mobile-nav-panel[hidden] { display: none; }
  .user-menu-member {
    display: flex; align-items: center; gap: 9px; padding: 11px 12px;
    color: var(--c-brand-deep); font-size: 14px; font-weight: 700;
    border-bottom: 1px solid var(--c-line); margin-bottom: 4px;
  }
  .user-menu-member svg { width: 16px; height: 16px; color: var(--c-ch-member); }
  .user-menu-list a {
    display: flex; align-items: center; min-height: 38px; padding: 8px 12px;
    border-radius: var(--r-sm); font-size: 13px; color: var(--c-text-2);
    transition: background .15s, color .15s;
  }
  .user-menu-list a:hover, .user-menu-list a:focus-visible {
    background: var(--c-brand-soft); color: var(--c-brand); outline: none;
  }
  .user-menu-list .badge-4 {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
    background: #EF4444; color: #fff;
    border: 1px solid #B91C1C; border-radius: var(--r-pill);
    font-size: 11px; font-weight: 700; line-height: 1;
  }
  .user-menu-list .logout { margin-top: 4px; border-top: 1px solid var(--c-line-2); }

  /* 汉堡 + 搜索按钮(仅手机) */
  .nav-toggle, .nav-search-btn {
    display: none; width: 34px; height: 34px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-sm); color: #fff; cursor: pointer;
    align-items: center; justify-content: center; font-size: 16px;
  }
  .nav-toggle svg, .nav-search-btn svg { width: 18px; height: 18px; }
  .mobile-search-panel {
    position: absolute; top: 56px; left: 0; right: 0; z-index: 75;
    padding: 10px 12px; background: var(--c-card);
    border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-2);
  }
  .mobile-search-panel[hidden] { display: none; }
  .mobile-search-inner {
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px;
  }
  .mobile-search-field {
    flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 8px;
    padding: 0 12px; border: 1px solid var(--c-line); border-radius: var(--r-pill);
    background: var(--c-card); transition: border-color .15s, box-shadow .15s;
  }
  .mobile-search-field:focus-within {
    border-color: var(--c-brand); box-shadow: 0 0 0 2px var(--c-brand-soft);
  }
  .mobile-search-field .ico { flex: none; width: 15px; height: 15px; color: var(--c-text-3); }
  .mobile-search-input {
    flex: 1; min-width: 0; height: 34px; padding: 0;
    border: 0; background: transparent; color: var(--c-text); font: inherit; font-size: 13px; outline: none;
  }
  .mobile-search-input::placeholder { color: var(--c-text-3); }
  .p9-toast {
    position: fixed; left: 0; top: 0;
    z-index: 99; padding: 8px 16px; border-radius: var(--r-sm);
    background: rgba(17,24,39,.88); color: #fff; font-size: 13px;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
  }
  .p9-toast.show { opacity: 1; }
  .mobile-search-cancel {
    flex: none; width: 30px; height: 30px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: none;
    color: var(--c-text-2); cursor: pointer;
  }
  .mobile-search-cancel:hover { background: var(--c-bg); color: var(--c-brand); }
  .mobile-search-cancel svg { width: 15px; height: 15px; }
  .mobile-nav-panel {
    position: absolute; top: 56px; left: 0; right: 0; z-index: 70;
    padding: 12px; background: var(--c-card); border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-3);
  }
  .mobile-nav-panel nav { display: grid; gap: 8px; max-width: 1200px; margin: 0 auto; }
  .mobile-nav-panel a {
    display: flex; align-items: center; justify-content: center; min-height: 46px;
    border: 1px solid var(--c-line); border-radius: var(--r-md);
    color: var(--c-text); font-size: 14px; font-weight: 600;
  }
  .mobile-nav-panel a:hover, .mobile-nav-panel a:focus-visible {
    border-color: var(--c-brand); background: var(--c-brand-soft); color: var(--c-brand); outline: none;
  }
  .mobile-nav-panel a.member {
    border-style: solid; border-color: var(--c-ch-member); color: var(--c-ch-member);
    background: rgba(212,162,58,.06);
  }
  .mobile-nav-panel a.member:hover, .mobile-nav-panel a.member:focus-visible {
    background: rgba(212,162,58,.12); border-color: var(--c-ch-member); color: #9A741C;
  }

  /* ============ ② 本周运营条 · 3 张横排卡 ============ */
  .ops-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  }
  .ops-card {
    position: relative; height: 92px;
    border-radius: var(--r-md); overflow: hidden;
    background: var(--c-brand-deep); color: #fff;
    display: flex; align-items: center; padding: 0 18px; gap: 14px;
    box-shadow: var(--sh-2);
  }
  /* 三张卡用不同色调做区分(全部深色底,符合克制风格) */
  .ops-card.op-plus   { background: linear-gradient(135deg, #0F2C5C 0%, #1E3A8A 100%); }
  .ops-card.op-sale   { background: linear-gradient(135deg, #1F2937 0%, #374151 100%); }
  .ops-card.op-launch { background: linear-gradient(135deg, #7C2D12 0%, #9A3412 100%); }
  /* 不用更花的渐变,只用角度+暗调,保持稳重 */
  .ops-card .tag {
    flex: none; font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: var(--r-sm); letter-spacing: .5px;
    background: rgba(255,255,255,.15); color: #fff;
  }
  .ops-card .title {
    font-size: 16px; font-weight: 700; line-height: 1.35;
    margin-top: 4px;
  }
  .ops-card .sub {
    font-size: 11px; color: rgba(255,255,255,.65); margin-top: 3px;
  }
  .ops-card .ico-area {
    margin-left: auto; flex: none;
    width: 60px; height: 60px;
    background: rgba(255,255,255,.08);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: rgba(255,255,255,.5);
  }

  /* ============ ③ 热门游戏墙(封面 + 游戏名 + 热度) ============ */
  .hot-wall {
    display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px;
    padding: 14px;
  }
  .hot-item { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
  .hot-item .cover {
    width: 100%; aspect-ratio: 1/1;
    background: #f0f0f0; border-radius: var(--r-sm);
    object-fit: cover; box-shadow: var(--sh-1);
  }
  .hot-item .name {
    font-size: 12px; font-weight: 600; color: var(--c-text);
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hot-item .heat {
    font-size: 10px; color: var(--c-text-3);
    display: flex; align-items: center; gap: 3px;
  }
  .hot-item .heat .flame { color: var(--c-accent); }

  /* ============ ④ 频道区(主排 5 块带频道色 + 次排) ============ */
  .channels { padding: 14px; }
  .ch-grid-5 {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  }
  .ch-card {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px;
    border-radius: var(--r-md); cursor: pointer;
    background: var(--c-brand-soft);
    transition: transform .15s, box-shadow .15s;
  }
  .ch-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
  /* 各频道色卡:左侧 4px 色条 + 同色系图标 */
  .ch-card.ch-news    { border-left: 3px solid var(--c-ch-news); }
  .ch-card.ch-guide   { border-left: 3px solid var(--c-ch-guide); }
  .ch-card.ch-event   { border-left: 3px solid var(--c-ch-event); }
  .ch-card.ch-review  { border-left: 3px solid var(--c-ch-review); }
  .ch-card.ch-member  { border-left: 3px solid var(--c-ch-member); }
  .ch-card .ico {
    flex: none; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm); font-size: 18px; color: #fff;
  }
  .ch-card.ch-news    .ico { background: var(--c-ch-news); }
  .ch-card.ch-guide   .ico { background: var(--c-ch-guide); }
  .ch-card.ch-event   .ico { background: var(--c-ch-event); }
  .ch-card.ch-review  .ico { background: var(--c-ch-review); }
  .ch-card.ch-member  .ico { background: var(--c-ch-member); }
  .ch-card .text { flex: 1; min-width: 0; }
  .ch-card .name { font-size: 14px; font-weight: 700; color: var(--c-brand-deep); }
  .ch-card .desc {
    font-size: 11px; color: var(--c-text-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
  }
  /* 次排 */
  .ch-grid-sub {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
    margin-top: 10px;
  }
  .ch-sub {
    text-align: center; padding: 10px 0;
    background: var(--c-bg); border-radius: var(--r-sm);
    font-size: 12px; color: var(--c-text-2); cursor: pointer;
  }
  .ch-sub:hover { background: var(--c-brand-soft); color: var(--c-brand); }
  .ch-sub.all { background: #fff; border: 1px dashed var(--c-line); color: var(--c-text-2); }

  /* ============ ⑤ 主题列表 ============ */
  .topic-row {
    display: flex; align-items: center; gap: 12px;
    min-height: 52px; padding: 10px 16px;
    border-bottom: 1px solid var(--c-line-2);
    transition: background .15s;
  }
  .topic-row:last-of-type { border-bottom: none; }
  .topic-row:hover { background: var(--c-bg); }
  /* 置顶条:左侧 3px 蓝色高亮条 + 浅蓝底 */
  .topic-row.pinned {
    background: var(--c-brand-soft);
    position: relative;
  }
  .topic-row.pinned::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--c-brand);
  }
  .topic-row .avatar {
    display: block; order: 3;
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    object-fit: cover; background: #f0f0f0;
  }
  .topic-row .tag {
    order: 1;
    flex: none; font-size: 11px; font-weight: 600;
    padding: 3px 8px; border-radius: var(--r-sm);
    background: var(--c-bg); color: var(--c-text-2);
  }
  .topic-row .tag.t-news { background: #E8EFFE; color: var(--c-ch-news); }
  .topic-row .tag.t-guide { background: #F0E9FE; color: var(--c-ch-guide); }
  .topic-row .tag.t-plus { background: #FEF3C7; color: #B45309; }
  .topic-row .tag.t-ann { background: #DCFCE7; color: #15803D; }
  .topic-row .tag.t-talk { background: #F3F4F6; color: var(--c-text-2); }
  .topic-row .tag.t-site { background: #EDE9E3; color: #85552B; }
  .topic-row .tag.t-gamelist { background: #FCE8D5; color: #A63D00; }
  .topic-row .tag.t-openbox { background: #FCE7F3; color: #BE185D; }
  .topic-row .tag.t-exp { background: #CCFBF1; color: #0F766E; }
  .topic-row .topic-main {
    order: 2; flex: 1; min-width: 0;
    display: flex; flex-direction: column;
  }
  .topic-row .title {
    font-size: 14px; font-weight: 500; color: var(--c-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .topic-row.pinned .title { font-weight: 700; }
  .topic-row .desc {
    display: none;
  }
  .topic-row .topic-thumbs {
    display: none;
  }
  .topic-row .topic-thumb {
    width: 72px; aspect-ratio: 4 / 3;
    border: 1px solid rgba(30,90,230,.14);
    border-radius: var(--r-sm);
    overflow: hidden; position: relative; flex: none;
    background: var(--c-card);
    box-shadow: 0 1px 2px rgba(15,44,92,.06);
  }
  .topic-row .topic-thumb::before {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0) 42%),
      var(--thumb-bg, linear-gradient(135deg, #DCEBFF, #F8FAFC));
  }
  .topic-row .topic-thumb::after {
    content: attr(aria-label);
    position: absolute; left: 6px; right: 6px; bottom: 5px;
    color: #fff; font-size: 10px; font-weight: 700; line-height: 1.2;
    text-shadow: 0 1px 3px rgba(15,44,92,.35);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .topic-thumb.t-rule { --thumb-bg: linear-gradient(135deg, #1E5AE6 0%, #7BA7FF 100%); }
  .topic-thumb.t-qa { --thumb-bg: linear-gradient(135deg, #0F2C5C 0%, #4B78C4 100%); }
  .topic-thumb.t-plus-a { --thumb-bg: linear-gradient(135deg, #1E3A8A 0%, #38BDF8 100%); }
  .topic-thumb.t-plus-b { --thumb-bg: linear-gradient(135deg, #6D28D9 0%, #A78BFA 100%); }
  .topic-thumb.t-plus-c { --thumb-bg: linear-gradient(135deg, #B45309 0%, #FBBF24 100%); }
  .topic-row .meta {
    order: 4; flex: none; font-size: 12px; color: var(--c-text-2);
    display: flex; align-items: center; gap: 10px; white-space: nowrap;
  }
  .topic-row .meta .author { color: var(--c-text); }
  .topic-row .meta .replies {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 8px; background: var(--c-bg); border-radius: var(--r-pill);
    font-weight: 600; color: var(--c-text-2);
  }
  .topic-row .meta .replies::before {
    content: ""; width: 13px; height: 13px; flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 18.5 3.5 21l1.1-4.7A8.4 8.4 0 0 1 3 11.5C3 6.8 7 3 12 3s9 3.8 9 8.5-4 8.5-9 8.5c-1.6 0-3.2-.4-4.5-1.1Z'/%3E%3Cpath d='M8 11.5h8M8 8.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 18.5 3.5 21l1.1-4.7A8.4 8.4 0 0 1 3 11.5C3 6.8 7 3 12 3s9 3.8 9 8.5-4 8.5-9 8.5c-1.6 0-3.2-.4-4.5-1.1Z'/%3E%3Cpath d='M8 11.5h8M8 8.5h5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* 底部分区入口 */
  .see-all {
    display: flex; justify-content: center; padding: 14px 16px;
    border-top: 1px solid var(--c-line-2);
  }
  .see-all a {
    padding: 8px 24px; font-size: 13px; color: var(--c-brand);
    border: 1px solid var(--c-brand); border-radius: var(--r-pill);
  }
  .see-all a:hover { background: var(--c-brand); color: #fff; }

  /* ============ ⑥ 双列:奖杯 TIPS + 游戏评论 ============ */
  .dual-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  /* 奖杯 TIPS 条目 */
  .tip-item {
    display: flex; gap: 10px; padding: 12px 16px;
    border-bottom: 1px solid var(--c-line-2);
  }
  .tip-item:last-of-type { border-bottom: none; }
  .tip-item .cover {
    flex: none; width: 52px; aspect-ratio: 1; border-radius: var(--r-sm);
    object-fit: cover; background: #f0f0f0;
  }
  .tip-item .body { flex: 1; min-width: 0; }
  .tip-item .text {
    font-size: 13px; line-height: 1.5; color: var(--c-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tip-item .meta {
    font-size: 11px; color: var(--c-text-2);
    margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }
  .tip-item .game { color: var(--c-text); font-weight: 500; }
  /* 奖杯难度徽章 */
  .tip-item .diff {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 1px 6px; border-radius: var(--r-sm);
    font-size: 10px; font-weight: 700; color: #fff;
  }
  .tip-item .diff.easy    { background: var(--c-diff-easy); }
  .tip-item .diff.mid     { background: var(--c-diff-mid); }
  .tip-item .diff.hard    { background: var(--c-diff-hard); }
  .tip-item .diff.extreme { background: var(--c-diff-extreme); }
  .tip-item .trophy-ico {
    flex: none; width: 14px; height: 14px; display: inline-block;
    background: var(--c-brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4Z'/%3E%3Cpath d='M8 6H4v2a4 4 0 0 0 4 4M16 6h4v2a4 4 0 0 1-4 4M12 13v4M8.5 20h7M10 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4Z'/%3E%3Cpath d='M8 6H4v2a4 4 0 0 0 4 4M16 6h4v2a4 4 0 0 1-4 4M12 13v4M8.5 20h7M10 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
 }

  /* 游戏评论(右列) */
  .review-item {
    display: flex; gap: 10px; padding: 12px 16px;
    border-bottom: 1px solid var(--c-line-2);
  }
  .review-item:last-of-type { border-bottom: none; }
  .review-item .cover {
    flex: none; width: 52px; aspect-ratio: 1; border-radius: var(--r-sm);
    object-fit: cover; background: #f0f0f0;
  }
  .review-item .body { flex: 1; min-width: 0; }
  .review-item .text {
    font-size: 13px; line-height: 1.5; color: var(--c-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .review-item .meta {
    font-size: 11px; color: var(--c-text-2);
    margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }
  .review-item .game { color: var(--c-text); font-weight: 500; }
  /* 评分星级 */
  .review-item .stars {
    display: inline-flex; align-items: center; gap: 1px;
    font-size: 11px; letter-spacing: 1px;
  }
  .review-item .stars .on  { color: #F5A623; }
  .review-item .stars .off { color: #E5E8EF; }
  .review-item .stars .score { color: var(--c-text); margin-left: 4px; font-weight: 700; }
  .section-icon {
    width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px;
    color: var(--c-brand); fill: none; stroke: currentColor; stroke-width: 1.65;
    stroke-linecap: round; stroke-linejoin: round;
  }

  /* ============ ⑦ 页脚 ============ */
  .site-footer {
    background: var(--c-card); border-top: 1px solid var(--c-line);
    margin-top: 4px;
  }
  .site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
  .footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .footer-col h4 {
    font-size: 13px; font-weight: 700; color: var(--c-brand-deep);
    margin-bottom: 10px; padding-bottom: 6px;
    border-bottom: 1px solid var(--c-line);
  }
  .footer-col p {
    font-size: 12px; color: var(--c-text-2); line-height: 1.9;
  }
  .footer-bottom {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid var(--c-line);
    font-size: 11px; color: var(--c-text-3); line-height: 1.9;
  }

  /* ============ ⑧ 悬浮层 ============ */
  .float-layer {
    position: fixed; right: 18px; bottom: 18px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 40;
  }
  .float-btn {
    width: 52px; height: 52px;
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--r-md); box-shadow: var(--sh-2);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 11px; color: var(--c-text-2); cursor: pointer;
    gap: 0;
  }
  .float-btn:hover { color: var(--c-brand); }
  .float-btn .ico { font-size: 18px; line-height: 1; color: var(--c-brand); }
  .float-btn.sign .ico { color: var(--c-accent); }

  /* 签到弹窗 */
  .checkin-modal {
    position: fixed; inset: 0; z-index: 120;
    display: grid; place-items: center; padding: 20px;
    background: rgba(15,44,92,.38);
  }
  .checkin-modal[hidden] { display: none; }
  .checkin-dialog {
    width: min(340px, 100%); overflow: hidden;
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--r-lg); box-shadow: var(--sh-3);
  }
  .checkin-dialog-hd {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 48px; border-bottom: 1px solid var(--c-line);
    color: var(--c-brand-deep); font-size: 15px; font-weight: 700;
  }
  .checkin-close {
    position: absolute; top: 8px; right: 10px; width: 34px; height: 34px;
    display: grid; place-items: center; border: 0; border-radius: 50%;
    background: transparent; color: var(--c-text-2); cursor: pointer;
  }
  .checkin-close:hover { background: var(--c-bg); color: var(--c-brand); }
  .checkin-close svg { width: 18px; height: 18px; }
  .checkin-dialog-body { padding: 16px 16px 20px; text-align: center; }
  .checkin-dialog-body img { width: 96px; height: 96px; margin: 0 auto; display: block; }
  .checkin-msg { margin: 12px 0 0; font-size: 13px; color: var(--c-text-2); line-height: 1.6; }
  .checkin-msg:empty { display: none; margin: 0; }

  /* ============ 响应式 ============ */
  @media (max-width: 1023px) {
    /* 热门游戏墙:10 → 6 列 */
    .hot-wall { grid-template-columns: repeat(6, 1fr); }
    /* 主题列表:作者隐藏 */
    .topic-row .meta .author { display: none; }
    .topic-row .meta .replies { margin-left: 0; }
    /* 频道:主排描述隐藏 */
    .ch-card .desc { display: none; }
    .ch-card { padding: 12px 14px; }
  }
  @media (max-width: 820px) {
    .container { padding: 12px; gap: 12px; }
    .site-nav .inner { padding: 0 12px; gap: 10px; }
    .nav-toggle, .nav-search-btn { display: flex; }
    .nav-toggle { margin-left: auto; }
    .search-box, .nav-menu { display: none; }
    .login-link { padding: 0 8px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
    .nav-user { gap: 6px; }
    .auth-user .name { display: none; }
    .auth-user { padding: 0 6px 0 4px; }
    .auth-user .vip, .auth-user .caret { display: none; }
    .user-dropdown { position: fixed; top: 64px; left: auto; right: 12px; width: 220px; }
    .user-dropdown::before { right: 18px; }
    .site-nav.search-active .logo,
    .site-nav.search-active .nav-toggle,
    .site-nav.search-active .nav-search-btn { display: none; }
    .site-nav.search-active .nav-user { margin-left: auto; }
    .mobile-search-panel {
      top: 0; bottom: auto; left: 12px; right: 56px; height: 56px;
      display: flex; align-items: center; padding: 0;
      background: transparent; border: 0; box-shadow: none;
    }
    .mobile-search-inner { width: 100%; gap: 6px; }
    .mobile-search-field {
      height: 36px; border-color: rgba(255,255,255,.22);
      background: rgba(255,255,255,.98); box-shadow: 0 1px 2px rgba(5,20,45,.12);
    }
    .mobile-search-field:focus-within {
      border-color: rgba(255,255,255,.8); box-shadow: 0 0 0 2px rgba(255,255,255,.16);
    }
    .mobile-search-input { height: 34px; }
    .mobile-search-cancel {
      color: rgba(255,255,255,.82); background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
    }
    .mobile-search-cancel:hover { color: #fff; background: rgba(255,255,255,.14); }
    .checkin-modal { padding: 16px; }
    .checkin-dialog { width: min(310px, 100%); }

    /* 运营条:横滑 */
    .ops-row {
      display: flex; gap: 10px;
      overflow-x: auto; padding-bottom: 4px;
      scroll-snap-type: x mandatory;
    }
    .ops-card {
      flex: none; width: 78%;
      scroll-snap-align: start;
    }

    /* 热门:单行横滑 */
    .hot-wall {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
    }
    .hot-item { flex: none; width: 90px; scroll-snap-align: start; }

    /* 频道：5 项采用 3 + 2 网格，不再出现双横滑 */
    .ch-grid-5 {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 8px;
      overflow: visible;
    }
    .ch-card {
      grid-column: span 2;
      min-width: 0;
      width: auto;
      padding: 12px 10px;
      gap: 8px;
    }
    .ch-card:nth-child(n + 4) { grid-column: span 3; }
    .ch-card .desc { display: none; }
    .ch-grid-sub {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 6px;
      overflow: visible;
    }
    .ch-sub {
      min-width: 0;
      padding: 8px 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* 主题列表:标签+标题独占首行，头像+元信息收纳到第二行 */
    .topic-row {
      display: grid;
      grid-template-columns: auto 26px minmax(0, 1fr);
      column-gap: 8px;
      row-gap: 8px;
      align-items: center;
      min-height: 72px;
      padding: 12px 16px;
    }
    .topic-row .tag {
      order: 0;
      grid-column: 1;
      grid-row: 1;
      align-self: start;
      font-size: 10px;
      padding: 2px 6px;
    }
    .topic-row .topic-main {
      grid-column: 2 / -1;
      grid-row: 1;
    }
    .topic-row .title {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      white-space: normal;
      font-size: 13px;
      line-height: 1.45;
    }
    .topic-row .avatar {
      grid-column: 1;
      grid-row: 2;
      width: 26px;
      height: 26px;
    }
    .topic-row .meta {
      grid-column: 2 / -1;
      grid-row: 2;
      width: 100%;
      min-width: 0;
    }
    .topic-row .meta .replies { margin-left: auto; }

    /* 双列:单列 */
    .dual-col { grid-template-columns: 1fr; }

    /* 页脚 */
    .footer-cols { grid-template-columns: 1fr; gap: 16px; }

    /* 悬浮 */
    .float-btn { width: 46px; height: 46px; font-size: 10px; }
    .float-btn .ico { font-size: 16px; }
  }
  @media (max-width: 480px) {
    .channels { padding: 10px; }
    .ch-card { padding: 10px 8px; }
    .ch-card .ico { width: 32px; height: 32px; }
    .ch-card .ico svg { width: 22px; height: 22px; }
    .ch-sub { font-size: 11px; }
    .ch-sub svg { display: none; }
  }
  @media (min-width: 821px) {
    .mobile-nav-panel { display: none !important; }
  }

/* v2.1 清新美化副本：仅调整品牌图形与频道视觉，保留布局参数。 */
.logo .brand-mark { width:20px; height:24px; object-fit:contain; flex:none; }
.ch-card { border-left-color:transparent !important; box-shadow:inset 0 0 0 1px rgba(15,44,92,.035); transition:background .18s,box-shadow .18s; }
.ch-card:hover { transform:none; box-shadow:inset 0 0 0 1px var(--channel-ink),0 2px 8px rgba(15,44,92,.05); }
.ch-card.ch-news { --channel-ink:#4289ba; background:#f0f7fc; }
.ch-card.ch-guide { --channel-ink:#8880b8; background:#f5f3fb; }
.ch-card.ch-event { --channel-ink:#c69050; background:#fcf7ee; }
.ch-card.ch-review { --channel-ink:#4e9b86; background:#eff8f4; }
.ch-card.ch-member { --channel-ink:#b39755; background:#faf7ed; }
.ch-card .ico { border-radius:10px; color:var(--channel-ink); background:rgba(255,255,255,.85) !important; box-shadow:0 2px 5px rgba(15,44,92,.035); }
.ch-card .ico svg { width:25px; height:25px; }
.ch-card .name { color:#34465b; }
.ch-card .desc { color:#85909d; }
.ch-sub { background:#f7f9fb; color:#768493; }
.ch-sub svg { width:15px; height:15px; vertical-align:-3px; margin-right:7px; color:#8b9fb0; }
.ch-sub.all { border-style:solid; border-color:#edf0f4; }
.ch-sub:hover svg { color:var(--c-brand); }
.ch-card:focus-visible,.ch-sub:focus-visible { outline:2px solid var(--c-brand); outline-offset:2px; }

  /* ============ 黑暗模式 ============ */
  :root[data-theme="dark"] {
    color-scheme: dark;
    --c-brand: #79aaff;
    --c-brand-deep: #dce7f7;
    --c-brand-soft: #1d2b3e;
    --c-bg: #10151d;
    --c-card: #1a222d;
    --c-line: #303b49;
    --c-line-2: #27313e;
    --c-text: #e6ebf2;
    --c-text-2: #a8b3c2;
    --c-text-3: #7f8b9b;
    --sh-1: 0 1px 2px rgba(0,0,0,.22);
    --sh-2: 0 2px 8px rgba(0,0,0,.28);
    --sh-3: 0 8px 24px rgba(0,0,0,.38);
  }

  :root[data-theme="dark"] body { background: var(--c-bg); }
  :root[data-theme="dark"] .site-nav { background: #111a27; }
  :root[data-theme="dark"] .mobile-search-field {
    background: #1a222d;
    border-color: #3a4656;
    box-shadow: none;
  }
  :root[data-theme="dark"] .mobile-search-input { color: var(--c-text); }
  :root[data-theme="dark"] .mobile-search-field:focus-within {
    border-color: var(--c-brand);
    box-shadow: 0 0 0 2px rgba(121,170,255,.16);
  }
  :root[data-theme="dark"] .mobile-search-cancel { color: rgba(255,255,255,.82); }
  :root[data-theme="dark"] .mobile-nav-panel a.member:hover,
  :root[data-theme="dark"] .mobile-nav-panel a.member:focus-visible { color: #f0c96f; }
  :root[data-theme="dark"] .ch-card.ch-news { --channel-ink: #76b9e5; background: #1b2b38; }
  :root[data-theme="dark"] .ch-card.ch-guide { --channel-ink: #b0a4ec; background: #29263b; }
  :root[data-theme="dark"] .ch-card.ch-event { --channel-ink: #e4b578; background: #342b20; }
  :root[data-theme="dark"] .ch-card.ch-review { --channel-ink: #79c6a8; background: #1d302b; }
  :root[data-theme="dark"] .ch-card.ch-member { --channel-ink: #d4bd78; background: #302d22; }
  :root[data-theme="dark"] .ch-card .ico {
    background: rgba(10,16,24,.42) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.14);
  }
  :root[data-theme="dark"] .ch-card .name { color: #e6edf7; }
  :root[data-theme="dark"] .ch-card .desc { color: #a2adbb; }
  :root[data-theme="dark"] .ch-sub { background: #202a36; color: #a8b3c2; }
  :root[data-theme="dark"] .ch-sub.all { background: #1a222d; border-color: #354152; }
  :root[data-theme="dark"] .ch-sub svg { color: #9aa9ba; }
  :root[data-theme="dark"] .topic-row .tag.t-news { background: #1d2b3e; color: #91b9ff; }
  :root[data-theme="dark"] .topic-row .tag.t-guide { background: #302844; color: #c1adff; }
  :root[data-theme="dark"] .topic-row .tag.t-plus { background: #3c3020; color: #f3c46f; }
  :root[data-theme="dark"] .topic-row .tag.t-ann { background: #1d382c; color: #80d9a4; }
  :root[data-theme="dark"] .topic-row .tag.t-talk { background: #2a323e; color: #b4bfce; }
  :root[data-theme="dark"] .topic-row .tag.t-site { background: #332b24; color: #d8ab7c; }
  :root[data-theme="dark"] .topic-row .tag.t-gamelist { background: #39271c; color: #f0966a; }
  :root[data-theme="dark"] .topic-row .tag.t-openbox { background: #3a2330; color: #f19ac2; }
  :root[data-theme="dark"] .topic-row .tag.t-exp { background: #163432; color: #7dd2c7; }
  :root[data-theme="dark"] .hot-item .cover,
  :root[data-theme="dark"] .topic-row .avatar,
  :root[data-theme="dark"] .tip-item .cover,
  :root[data-theme="dark"] .review-item .cover { background: #26313e; }
  :root[data-theme="dark"] .review-item .stars .off { color: #465262; }
  :root[data-theme="dark"] .checkin-modal { background: rgba(0,0,0,.66); }

  .float-btn { font-family: inherit; }
  .theme-toggle .ico { width: 18px; height: 18px; }
  .theme-toggle .sun { display: none; }
  :root[data-theme="dark"] .theme-toggle .moon { display: none; }
  :root[data-theme="dark"] .theme-toggle .sun { display: block; }
  .theme-toggle .theme-label { font-size: 10px; line-height: 1.35; white-space: nowrap; }
  .theme-toggle:hover .ico { color: var(--c-accent); }
  .theme-toggle:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
