/* ============================================================
 * 51shanhao —— 1:1 还原样式
 * 主色 #ffdc00（金黄）  辅色 #ff7926（橙）  奶白 #fcf8eb
 * ============================================================ */

@font-face {
  font-family: 'SourceHanSansCN';
  src: url('../fonts/SourceHanSansCN-VF.13b1783c.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --gold: #ffdc00;
  --gold-deep: #ffc400;
  --orange: #ff7926;
  --cream: #fcf8eb;
  --red: #e53935;
  --price: #ff2741;
  --text: #333;
  --text-2: #767779;
  --text-3: #afaeae;
  --line: #e6e1e1;
  --bg: #f2f2f2;
  --wrap: 1280px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'SourceHanSansCN', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange); }
ul, li { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: var(--wrap); margin: 0 auto; }
.hide { display: none !important; }

/* ---------- 顶栏 ---------- */
.topbar { background: #f7f7f7; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.topbar .wrap { display: flex; align-items: center; height: 36px; gap: 12px; min-width: 0; }
.topbar .welcome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .welcome b { color: var(--orange); }
.topbar .t-links { display: flex; gap: 0; align-items: center; flex-shrink: 0; }
.topbar .t-links a { padding: 0 12px; position: relative; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .t-links a + a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 11px; background: var(--line); }
.topbar .t-btn { color: var(--orange); font-weight: 600; }

/* ---------- 头部 ---------- */
.header { background: #fff; }
.header .wrap { display: flex; align-items: center; height: 92px; gap: 10px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { height: 48px; }
.logo .logo-fallback { font-size: 36px; font-weight: 900; color: var(--orange); letter-spacing: 1px; }
.logo .slogan { border-left: 1px solid var(--line); padding-left: 10px; color: var(--text-2); font-size: 11px; line-height: 1.25; }
.logo .slogan b { display: block; color: var(--text); font-size: 13px; }

/* 主导航 */
.mainnav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.mainnav > li { position: relative; }
.mainnav > li > a { display: block; padding: 9px 8px; font-size: 14px; font-weight: 600; border-radius: var(--radius); white-space: nowrap; }
.mainnav > li.active > a, .mainnav > li:hover > a { color: var(--orange); }
.mainnav > li.has-child > a::after { content: '▾'; font-size: 10px; margin-left: 2px; color: var(--text-3); }
.mainnav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 160px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s; z-index: 50;
}
.mainnav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mainnav .dropdown li a { display: block; padding: 9px 18px; font-size: 14px; font-weight: 400; }
.mainnav .dropdown li a:hover { background: var(--cream); color: var(--orange); }

/* 搜索框 */
.search { display: flex; align-items: center; border: 2px solid var(--gold); border-radius: 22px; overflow: hidden; height: 38px; width: 200px; background: #fff; flex-shrink: 0; }
/* 账号交易页（具体游戏）已经有筛选区 + 底部搜索，顶部搜索框冗余，隐藏 */
body[data-page="account"] .header .search { display: none; }
.search input { flex: 1; border: 0; outline: 0; padding: 0 14px; font-size: 13px; height: 100%; min-width: 0; }
.search button { background: var(--gold); border: 0; padding: 0 18px; height: 100%; font-size: 14px; font-weight: 600; cursor: pointer; color: #5a4a00; }
.search button:hover { background: var(--gold-deep); }

/* ---------- 主区域三栏（对齐原站 264 / 720 / 264）---------- */
.main { padding: 10px 0 40px; }
.layout { display: grid; grid-template-columns: 264px 1fr 264px; gap: 16px; align-items: stretch; }

/* 左侧服务栏（精确对齐原站尺寸） */
.side-services { background: #fff; border-radius: 12px; padding: 20px 0; display: flex; flex-direction: column; justify-content: space-between; height: 418px; }
.side-services li { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 10px 20px; cursor: pointer; transition: background .15s; }
.side-services li:hover { background: rgba(255, 234, 102, .5); }
.side-services .img-box { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.side-services .font-box { width: 144px; height: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.side-services .title-box { font-size: 16px; font-weight: 700; color: #333; line-height: 1.2; }
.side-services .label-box { font-size: 12px; font-weight: 400; color: #999; line-height: 1.3; }
.side-services .arrow-box { width: 20px; text-align: center; color: #ccc; font-size: 18px; flex-shrink: 0; }
.side-services li:hover .arrow-box { color: var(--orange); }

/* 中间轮播（横向滑动，对齐原站 720×418） */
.carousel { position: relative; border-radius: 12px; overflow: hidden; background: #e9eef5; height: 418px; }
.carousel .slides.track { display: flex; height: 100%; width: 100%; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.carousel .slide { flex: 0 0 100%; height: 100%; }
.carousel .slide a, .carousel .slide img { display: block; width: 100%; height: 100%; }
.carousel .slide img { object-fit: cover; }
.carousel .dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.carousel .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: all .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.carousel .dots i.on { background: var(--gold); width: 24px; border-radius: 5px; }
.carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 56px; background: rgba(0,0,0,.28); color: #fff; border: 0; cursor: pointer; font-size: 22px; z-index: 3; opacity: 0; transition: opacity .2s; }
.carousel .arrow.prev { left: 0; border-radius: 0 6px 6px 0; }
.carousel .arrow.next { right: 0; border-radius: 6px 0 0 6px; }
.carousel:hover .arrow { opacity: 1; background: rgba(0,0,0,.45); }
.carousel .arrow:hover { background: var(--gold) !important; color: #5a4a00; }

/* 右侧用户面板（264px，与左栏/轮播等高，顶部用户卡 + 底部公告卡） */
.side-right { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.side-right > div { background: #fff; border-radius: 12px; }
.user-card { padding: 16px; text-align: center; }
.user-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: #fff; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; color: var(--text-3); overflow: hidden; border: 1px solid var(--line); }
.user-card .avatar svg { width: 30px; height: 30px; }
.user-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-card .login-tip { color: var(--text-2); font-size: 13px; margin-bottom: 12px; }
.user-card .u-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.user-card .u-stats div { padding: 4px 2px; position: relative; }
.user-card .u-stats div + div::before { content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.user-card .u-stats b { display: block; font-size: 18px; color: var(--orange); line-height: 1.4; }
.user-card .u-stats span { font-size: 11px; color: var(--text-2); }

.notice-card { padding: 12px 14px; }
.notice-card .nc-hd { font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.notice-card .nc-hd::before { content: ''; width: 4px; height: 14px; background: var(--gold); border-radius: 2px; }
.notice-card li { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eee; }
.notice-card li:last-child { border-bottom: 0; }
.notice-card li .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.notice-card li .d { color: var(--text-3); font-size: 12px; }

/* 用户卡内的快捷入口（4 列一行） */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f2f2f2; }
.quick-links a { font-size: 12px; color: var(--text-2); text-align: center; line-height: 1.3; }
.quick-links a:hover { color: var(--orange); }

/* ---------- 热门游戏 ---------- */
.section { background: #fff; border-radius: var(--radius); margin-top: 16px; }
.sec-hd { display: flex; align-items: center; padding: 0 18px; height: 52px; border-bottom: 1px solid #f2f2f2; }
.sec-hd h3 { font-size: 19px; font-weight: 800; position: relative; padding-left: 12px; }
.sec-hd h3::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 20px; background: var(--gold); border-radius: 3px; }
.sec-hd .tabs { display: flex; gap: 4px; margin-left: 22px; }
.sec-hd .tabs button { border: 0; background: transparent; padding: 6px 16px; font-size: 14px; cursor: pointer; border-radius: 16px; color: var(--text-2); }
.sec-hd .tabs button.on { background: var(--gold); color: #5a4a00; font-weight: 600; }
.sec-hd .more { margin-left: auto; color: var(--text-3); font-size: 13px; }

/* 游戏推荐头部 */
.game-hd .hd-ico { display: inline-flex; color: var(--orange); margin-right: 6px; }
.game-hd .hd-ico svg { width: 22px; height: 22px; }
.game-hd .hd-title { font-size: 19px; font-weight: 800; }
.game-hd .tabs { margin-left: 18px; }
.game-hd .tabs button { font-size: 15px; padding: 7px 18px; }
/* 游戏筛选标签（精品豪号 / 游戏推荐区，多个游戏 pill） */
.game-filter { margin-left: 22px; flex-wrap: wrap; }
.game-filter button { border: 1px solid var(--line) !important; background: #fff; padding: 5px 14px; font-size: 13px; border-radius: 16px; cursor: pointer; color: var(--text-2); }
.game-filter button.on { background: var(--gold); border-color: var(--gold) !important; color: #5a4a00; font-weight: 600; }
/* 「更多游戏」悬浮面板 */
.more-games { margin-left: auto; position: relative; }
.more-games .mg-title { font-size: 14px; color: var(--text-2); cursor: pointer; padding: 6px 4px; }
.more-games:hover .mg-title { color: var(--orange); }
.more-games .mg-panel { position: absolute; top: 100%; right: 0; width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 12px 16px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; z-index: 60; }
.more-games:hover .mg-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mg-group { padding: 8px 0; border-bottom: 1px dashed #eee; }
.mg-group:last-child { border-bottom: 0; }
.mg-group h5 { font-size: 13px; color: var(--text-3); margin-bottom: 8px; font-weight: 600; }
.mg-items { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-items a { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 16px; background: var(--cream); font-size: 13px; color: var(--text-2); }
.mg-items a:hover { background: var(--gold); color: #5a4a00; }
.mg-items a img { width: 22px; height: 22px; border-radius: 5px; }

/* 游戏网格（按 --cols 等分，热门=全部一行） */
.games-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 18px; }
.games-grid.all-row { grid-template-columns: repeat(var(--cols, 13), 1fr); }
.games-grid.all-row .gicon { width: 60px; height: 60px; }
.game-item { text-align: center; padding: 12px 4px; border-radius: var(--radius); cursor: pointer; transition: all .15s; position: relative; min-width: 0; overflow: hidden; }
.game-item:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.game-item .gicon { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.game-item .gicon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-item > span { font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 角标（手游/端游/双端 角点丝带；手游、双端多已烘焙进图，端游用此补齐） */
.gbadge { position: absolute; top: 7px; right: -15px; width: 52px; transform: rotate(45deg); text-align: center; font-size: 9px; line-height: 16px; color: #fff; font-weight: 700; letter-spacing: .5px; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.gbadge-端游 { background: linear-gradient(135deg, #2dc7c7, #12a3a3); }
.gbadge-手游 { background: linear-gradient(135deg, #ffb14a, #ff7926); }
.gbadge-双端 { background: linear-gradient(135deg, #5aa9ff, #2c7be5); }
/* 「搜索更多」入口 */
.game-item.more-entry .more-circle { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--text-3); border: 2px dashed var(--line); background: #fafafa; }
.game-item.more-entry:hover .more-circle { color: var(--orange); border-color: var(--gold); }
/* 旧版游戏类目悬浮菜单：当前首页不再展示 */
.game-item .types { position: absolute; left: 50%; transform: translateX(-50%); top: 86%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.14); padding: 6px; display: none; z-index: 20; white-space: nowrap; }
.game-item:hover .types { display: none; }
.game-item .types a { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: var(--cream); color: var(--text-2); }
.game-item .types a:hover { background: var(--gold); color: #5a4a00; }

/* ---------- 商品卡（游戏推荐区，大卡）---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px; }
.load-more-btn {
  display: block; margin: 0 18px 18px; padding: 12px 16px; width: calc(100% - 36px);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.load-more-btn:hover { background: var(--cream); color: var(--orange); border-color: var(--gold); }
.card { border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; cursor: pointer; transition: all .18s; background: #fff; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--gold); }
.card .thumb { position: relative; height: 190px; background: #1a1a1a; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px; }
.card .card-title { font-size: 14px; line-height: 1.6; height: 45px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; }
.card .card-region-line { margin-top: 6px; color: var(--text-3); font-size: 12px; line-height: 1.45; min-height: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card .card-meta { font-size: 12px; color: var(--text-3); margin: 8px 0; display: flex; gap: 14px; }
/* 签约商家 角标 */
.seal { display: inline-block; background: linear-gradient(135deg, #ffa83a, #ff7926); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 3px; margin-right: 6px; vertical-align: middle; white-space: nowrap; }
/* 彩色保障标签 */
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; min-height: 22px; }
.card .tags span { font-size: 11px; padding: 2px 7px; border-radius: 3px; border: 1px solid; background: #fff; }
.tag-blue { color: #2c7be5; border-color: #b6d4fe !important; background: #f0f7ff !important; }
.tag-red { color: #e53935; border-color: #ffc9c9 !important; background: #fff5f5 !important; }
.tag-orange { color: #ff7926; border-color: #ffd8a8 !important; background: #fff8f0 !important; }
.tag-green { color: #2f9e44; border-color: #b2f2bb !important; background: #f3fff5 !important; }
.card .foot { display: flex; align-items: center; justify-content: space-between; }
.card .price { color: var(--price); font-weight: 800; font-size: 22px; }
.card .price small { font-size: 14px; font-weight: 600; }
.card .region { color: var(--text-3); font-size: 12px; }

.news-tabs { display: flex; gap: 10px; margin: 16px 0 0; }
.news-tabs a {
  min-width: 108px; height: 38px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); font-weight: 700;
}
.news-tabs a.on, .news-tabs a:hover { background: var(--gold); border-color: var(--gold); color: #5a4a00; }
.help-search-box { display: grid; grid-template-columns: 1fr 110px; gap: 10px; margin: 4px 0 14px; }
.help-top-search { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; padding: 14px; margin-top: 16px; }
.help-search-box input { height: 42px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; outline: 0; }
.help-search-box input:focus { border-color: var(--gold); }
.help-search-box button { border: 0; border-radius: var(--radius); background: var(--gold); color: #5a4a00; font-weight: 800; cursor: pointer; }
.help-result-meta { color: var(--text-2); margin-bottom: 12px; }
.help-result-list { display: grid; gap: 10px; }
.help-result-list a { display: block; border: 1px solid #f0f0f0; border-radius: var(--radius); background: #fff; padding: 14px; }
.help-result-list a:hover { border-color: var(--gold); color: inherit; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.help-result-list b { display: block; font-size: 16px; margin-bottom: 4px; }
.help-result-list span { color: var(--orange); font-size: 12px; font-weight: 700; }
.help-result-list p { color: var(--text-2); line-height: 1.8; margin-top: 6px; }

/* ---------- 发布 / 记录 / 订单详情 ---------- */
.publish-tabs { display: flex; gap: 10px; margin: 0 0 16px; }
.publish-tabs a {
  min-width: 112px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--text-2); font-weight: 600;
}
.publish-tabs a.on, .publish-tabs a:hover { background: var(--gold); border-color: var(--gold); color: #5a4a00; }
.publish-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.publish-form, .publish-guide, .publish-success {
  background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid #f0f0f0;
}
.publish-login-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; padding: 28px; display: grid; gap: 12px;
}
.publish-login-card b { font-size: 20px; }
.publish-login-card span { color: var(--text-2); line-height: 1.8; }
.publish-login-card a { width: 160px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--gold); color: #5a4a00; font-weight: 800; }
.publish-form select, .publish-form input, .publish-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; outline: 0; background: #fff;
  font-family: inherit; font-size: 14px;
}
.publish-form textarea { min-height: 150px; resize: vertical; }
.publish-attrs { display: grid; gap: 14px; margin: 8px 0 20px; }
.publish-attr-section { display: grid; gap: 8px; }
.publish-attr-label { font-size: 15px; font-weight: 800; color: var(--text); }
.publish-attr-label span { color: var(--red); margin-right: 2px; }
.publish-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.publish-chips button {
  border: 0; border-radius: 17px; background: #f7f7f7; color: #555; min-height: 34px;
  padding: 6px 14px; font: inherit; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.publish-chips button:hover, .publish-chips button.on {
  background: var(--gold); color: #5a4a00; font-weight: 700; box-shadow: 0 2px 8px rgba(255, 220, 0, .28);
}
.publish-chips { position: relative; padding-right: 64px; }
.publish-chips.one-line { max-height: 44px; overflow: hidden; }
.publish-sub-heading {
  margin: 2px 0 -2px 2px;
  color: var(--text-2);
  font-weight: 700;
  font-size: 14px;
}
.publish-chips-sub {
  margin-left: 12px; padding: 8px 12px; border-left: 3px solid var(--gold);
  background: #fffdf3; border-radius: 0 8px 8px 0;
}
.publish-chips-sub.hide { display: none; }
.publish-chips-sub.one-line { max-height: 50px; }
.publish-chips-sub button { background: #fff; }
.publish-chips-sub button.on,
.publish-chips-sub button[data-selected="1"],
.publish-chips-sub button[aria-pressed="true"] {
  background: var(--gold);
  color: #5a4a00;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 220, 0, .28);
}
.publish-chips button.hide { display: none; }
.publish-chips .publish-chip-toggle {
  background: transparent; color: var(--orange); font-weight: 600; padding: 4px 10px;
  border: 1px dashed var(--orange); border-radius: 14px;
  position: absolute; right: 8px; top: 4px; display: none;
}
.publish-chips.has-overflow .publish-chip-toggle { display: inline-block; }
.publish-chips .publish-chip-toggle:hover { background: rgba(255, 145, 0, .08); }
.publish-guide h3 { font-size: 18px; margin-bottom: 10px; }
.publish-guide p { color: var(--text-2); line-height: 1.9; margin-bottom: 16px; }
.publish-guide div { display: grid; gap: 10px; }
.publish-guide b { color: var(--orange); }
.publish-guide span { color: var(--text-2); padding-bottom: 10px; border-bottom: 1px dashed #eee; }
.save-draft {
  border: 1px solid var(--line); background: #fff; color: var(--text-2); border-radius: var(--radius); padding: 0 28px;
  height: 42px; cursor: pointer; font-weight: 600;
}
.publish-success { text-align: center; padding: 50px 20px; }
.success-mark {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: #5a4a00; display: inline-flex;
  align-items: center; justify-content: center; font-size: 40px; font-weight: 900; margin-bottom: 16px;
}
.publish-success h2 { font-size: 26px; margin-bottom: 10px; }
.publish-success p { color: var(--text-2); max-width: 620px; margin: 0 auto 22px; line-height: 1.9; }
.success-actions { display: flex; justify-content: center; gap: 12px; }
.success-actions a, .service-actions a {
  height: 40px; padding: 0 22px; border-radius: var(--radius); background: var(--gold); color: #5a4a00;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.success-actions a + a, .service-actions a + a { background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.publish-message { min-height: 22px; margin-top: 10px; color: var(--text-3); font-size: 13px; }
.publish-message.ok { color: #2f9e44; }
.publish-message.bad { color: var(--price); }
.publish-form button:disabled { opacity: .65; cursor: not-allowed; }
.draft-list, .history-list { display: grid; gap: 12px; }
.panel-hd .mini-clear { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text-2); cursor: pointer; }
.panel-hd .mini-clear:hover { border-color: var(--gold); color: var(--orange); }
.draft-row, .history-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center;
  border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 12px; background: #fff;
}
.draft-row img, .history-row img { width: 92px; height: 68px; object-fit: cover; border-radius: var(--radius); background: #f6f6f6; }
.draft-row b, .history-row b { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
.draft-row span, .history-row span { color: var(--text-3); font-size: 13px; }
.draft-row a { color: var(--orange); font-weight: 700; }
.history-row { cursor: pointer; transition: all .15s; }
.history-row:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.history-row strong { color: var(--price); font-size: 20px; }
.order-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.order-card, .order-steps { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid #f0f0f0; }
.order-state { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #f2f2f2; margin-bottom: 18px; }
.order-state span { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,121,38,.14); }
.order-state b { font-size: 20px; }
.order-state em { color: var(--text-2); font-style: normal; margin-left: auto; }
.order-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.order-meta div { background: #fafafa; border-radius: var(--radius); padding: 14px; }
.order-meta span { display: block; color: var(--text-3); font-size: 13px; margin-bottom: 6px; }
.order-steps { display: grid; gap: 12px; }
.order-steps div { border-left: 3px solid #eee; padding: 6px 0 8px 16px; }
.order-steps div.on { border-color: var(--orange); }
.order-steps b {
  width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: inline-flex; align-items: center;
  justify-content: center; margin-right: 8px; color: var(--orange);
}
.order-steps strong { font-size: 15px; }
.order-steps span { display: block; color: var(--text-2); margin-top: 6px; line-height: 1.7; }

.user-center { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: start; }
.uc-side { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; overflow: hidden; margin-top: 16px; }
.uc-profile { padding: 20px 16px; text-align: center; background: linear-gradient(180deg, #fffdf0, #fff); border-bottom: 1px solid #f2f2f2; }
.uc-avatar { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; background: #fff; color: #5a4a00; font-weight: 900; overflow: hidden; border: 1px solid var(--line); }
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-profile b { display: block; font-size: 16px; }
.uc-profile span { color: var(--text-3); font-size: 12px; }
.uc-menu-group { padding: 10px 0; border-bottom: 1px solid #f6f6f6; }
.uc-menu-group:last-child { border-bottom: 0; }
.uc-menu-group h4 { padding: 6px 18px; color: var(--text-3); font-size: 12px; font-weight: 700; }
.uc-menu-group a { display: block; padding: 8px 18px; color: var(--text-2); font-size: 13px; border-left: 3px solid transparent; }
.uc-menu-group a:hover, .uc-menu-group a.on { color: var(--orange); background: #fffdf0; border-left-color: var(--gold); }
.uc-main { min-width: 0; }
.uc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin-bottom: 16px; }
.uc-stats > div, .uc-stats > a { background: #fffdf0; border: 1px solid #ffe9b3; border-radius: var(--radius); padding: 18px; display: block; cursor: pointer; transition: all .15s; color: inherit; text-decoration: none; }
.uc-stats > a:hover { background: #fff7d6; border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,180,0,.15); }
.uc-stats b { display: block; color: var(--orange); font-size: 22px; line-height: 1.2; }
.uc-stats span { color: var(--text-2); font-size: 13px; }
.uc-two { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.uc-table { border: 1px solid #f0f0f0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.uc-table-row { display: grid; grid-template-columns: 150px 1fr 130px 130px 64px; gap: 10px; align-items: center; min-height: 48px; padding: 10px 14px; border-bottom: 1px dashed #eee; font-size: 13px; }
.uc-table-row:last-child { border-bottom: 0; }
.uc-table-row b { color: var(--orange); }
.uc-table-row em { color: var(--price); font-style: normal; font-weight: 800; }
.uc-table-row a { color: var(--orange); font-weight: 700; }
.uc-product { display: grid; grid-template-columns: 92px 1fr 110px; gap: 12px; align-items: center; border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 12px; background: #fff; }
.uc-product + .uc-product { margin-top: 12px; }
.uc-product img { width: 92px; height: 68px; border-radius: var(--radius); object-fit: cover; background: #111; }
.uc-product b { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 4px; }
.uc-product span { color: var(--text-3); font-size: 12px; }
.uc-product strong { color: var(--price); font-size: 18px; text-align: right; }
.uc-detail { background: #fff; border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 18px; }
.uc-alert { border: 1px solid #ffe9b3; background: #fffdf0; border-radius: var(--radius); padding: 16px; line-height: 1.8; }
.uc-alert b { display: block; color: var(--orange); font-size: 16px; }
.uc-alert span { color: var(--text-2); }
.uc-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.uc-actions a { height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 0 18px; background: var(--gold); color: #5a4a00; font-weight: 800; }
.uc-form { display: grid; gap: 14px; max-width: 680px; }
.uc-form label { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.uc-form label span { color: var(--text-2); }
.uc-form input, .uc-form textarea, .uc-form select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; outline: 0; font: inherit; background: #fff; }
.uc-form textarea { min-height: 96px; padding-top: 10px; resize: vertical; }
.uc-form input:focus, .uc-form textarea:focus, .uc-form select:focus { border-color: var(--gold); }
.uc-form .btn-submit { width: 150px; margin-left: 132px; }
.uc-message-list { display: grid; gap: 10px; }
.uc-message-list a { display: grid; grid-template-columns: 180px 1fr 100px; gap: 12px; align-items: center; padding: 14px; border: 1px solid #f0f0f0; border-radius: var(--radius); background: #fff; }
.uc-message-list span { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-message-list em { color: var(--text-3); font-style: normal; text-align: right; }
.uc-article { margin-top: 0; padding: 24px; }
.uc-article h1 { font-size: 22px; margin-bottom: 8px; }
.uc-article p { line-height: 2; color: var(--text-2); margin-top: 14px; }
.uc-empty { border: 1px dashed #eadfae; background: #fffdf0; border-radius: var(--radius); padding: 16px; color: var(--text-2); line-height: 1.7; }
.uc-publish-list { display: grid; gap: 10px; }
.uc-publish-row { display: grid; grid-template-columns: 1fr 120px 90px; gap: 12px; align-items: center; padding: 14px; border: 1px solid #f0f0f0; border-radius: var(--radius); background: #fff; }
.uc-publish-row b { display: block; font-size: 15px; line-height: 1.45; }
.uc-publish-row span { color: var(--text-3); font-size: 12px; }
.uc-publish-row strong { color: var(--price); font-size: 17px; }
.uc-publish-row em { justify-self: end; font-style: normal; color: var(--orange); font-weight: 800; }
.uc-row-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed #f0f0f0; }
.uc-row-actions .uc-row-btn { height: 30px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.uc-row-actions .uc-row-btn[data-pub-act="edit"] { background: var(--gold); color: #5a4a00; border-color: var(--gold); }
.uc-row-actions .uc-row-btn[data-pub-act="offline"] { color: #c00; }
.uc-row-actions .uc-row-btn[data-pub-act="delete"],
.uc-row-actions .uc-row-btn[data-order-act="delete"] { color: #c00; border-color: #ffd7d7; }
.uc-row-btn { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text-2); cursor: pointer; font-weight: 700; }
.uc-row-btn:hover { border-color: var(--gold); color: var(--orange); }
.uc-row-btn:disabled { opacity: .65; cursor: not-allowed; }
.uc-form-message { min-height: 20px; margin-left: 132px; color: var(--text-3); }
.uc-form-message.ok { color: #2f9e44; }
.uc-form-message.bad { color: var(--price); }

/* ---------- 精品豪号区（左竖banner + 5卡）---------- */
.lux-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px; align-items: stretch; }
.lux-banner { position: relative; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #fff3d6, #ffe9b3); display: flex; align-items: flex-end; justify-content: center; min-height: 300px; }
.lux-banner img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 92%; width: auto; object-fit: contain; }
.lux-banner-title { position: relative; z-index: 2; font-size: 26px; font-weight: 900; color: #8a5a00; letter-spacing: 4px; writing-mode: vertical-rl; text-orientation: upright; position: absolute; top: 24px; left: 18px; text-shadow: 0 2px 4px rgba(255,255,255,.6); }
.lux-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lux-card { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #f0f0f0; cursor: pointer; transition: all .18s; }
.lux-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--gold); }
.lux-card .thumb { height: 150px; background: #1a1a1a; }
.lux-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lux-card .body { padding: 8px 10px 10px; }
.lux-card .seal-row { margin-bottom: 6px; }
.lux-card .title { font-size: 13px; height: 38px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text); }
.lux-card .foot { margin-top: 6px; }
.lux-card .price { color: var(--price); font-weight: 800; font-size: 18px; }
.lux-card .region { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ---------- 游戏服务区（按游戏分组）---------- */
.svc-game-hd { display: flex; align-items: center; gap: 10px; padding: 12px 18px 0; }
.svc-game-hd img { width: 28px; height: 28px; border-radius: 6px; }
.svc-game-hd b { font-size: 16px; }
.svc-game-hd .more { margin-left: auto; color: var(--text-3); font-size: 13px; }

/* ---------- 游戏资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px; }
.news-card { min-width: 0; max-width: 100%; display: flex; gap: 12px; padding: 12px; border: 1px solid #f0f0f0; border-radius: var(--radius); cursor: pointer; transition: all .15s; }
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: var(--gold); }
.news-card .nimg { width: 96px; height: 72px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: #eee; }
.news-card .nimg img { width: 100%; height: 100%; object-fit: cover; }
.news-card .ninfo { min-width: 0; flex: 1; }
.news-card .ninfo h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-card .ninfo p { font-size: 12px; color: var(--text-3); line-height: 1.5; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card .ninfo .date { font-size: 11px; color: var(--text-3); margin-top: 6px; }

/* ---------- 底部保障条 ---------- */
.guarantee { background: #fff; margin-top: 16px; border-radius: var(--radius); }
.guarantee ul { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 0; }
.guarantee li { text-align: center; border-right: 1px solid #f2f2f2; }
.guarantee li:last-child { border-right: 0; }
.guarantee .g-ico { display: flex; justify-content: center; margin-bottom: 8px; color: var(--orange); }
.guarantee .g-ico svg { width: 32px; height: 32px; }
.guarantee b { display: block; font-size: 15px; }
.guarantee span { font-size: 12px; color: var(--text-3); }

/* ---------- 页脚 ---------- */
.footer { background: #2b2b2b; color: #aaa; margin-top: 30px; padding: 22px 0; font-size: 12px; }
.footer .f-links { text-align: center; margin-bottom: 0; }
.footer .f-links a { color: #ccc; padding: 0 12px; position: relative; }
.footer .f-links a + a::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 11px; background: #555; }

/* ---------- 回到顶部 ---------- */
.backtop { position: fixed; right: 24px; bottom: 90px; width: 44px; height: 44px; border-radius: 8px; background: var(--gold); color: #5a4a00; border: 0; font-size: 18px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); display: none; z-index: 99; }
.backtop.show { display: block; }

/* ---------- 左下角微信客服 ---------- */
.wechat-service { position: fixed; left: 24px; bottom: 24px; z-index: 120; min-width: 92px; height: 46px; border: 0; border-radius: 6px; background: #07c160; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(7,193,96,.32); font-family: inherit; }
.wechat-service b { font-size: 15px; line-height: 1.1; }
.wechat-service span { margin-top: 2px; font-size: 11px; line-height: 1; opacity: .92; }
.wechat-service:hover { filter: brightness(.96); }
.wechat-fallback-mask { position: fixed; inset: 0; z-index: 330; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wechat-fallback { position: relative; width: min(320px, 100%); background: #fff; border-radius: 8px; padding: 24px 22px 22px; text-align: center; box-shadow: 0 20px 54px rgba(0,0,0,.24); }
.wechat-fallback-close { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f3f3f3; color: var(--text-1); font-size: 20px; line-height: 1; cursor: pointer; }
.wechat-fallback h3 { font-size: 20px; margin-bottom: 8px; }
.wechat-fallback p { color: var(--text-2); font-size: 14px; line-height: 1.7; }
.wechat-fallback img { width: min(220px, 100%); height: auto; object-fit: contain; margin: 16px auto; border: 1px solid #f0f0f0; padding: 6px; }
.wechat-fallback a { height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #07c160; color: #fff; padding: 0 20px; font-weight: 800; }

/* ---------- 手机版底部导航 ---------- */
.mobile-tabbar { display: none; }
.mobile-tabbar svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 弹窗提醒 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal-mask.hide { display: none; }
.modal { background: #fff; border-radius: 8px; overflow: hidden; max-width: 420px; position: relative; }
.modal img { width: 100%; }
.modal .close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; border: 0; cursor: pointer; font-size: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  :root { --wrap: 100%; }
  .wrap { padding: 0 12px; }
  body[data-page] .header .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  body[data-page] .mainnav { display: none; }
  body[data-page] .search { width: 100%; }
}
@media (max-width: 980px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .header .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .search { width: 100%; }
  .mobile-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 118; height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.98); border-top: 1px solid #e8e8e8; box-shadow: 0 -4px 18px rgba(0,0,0,.08); display: grid; grid-template-columns: repeat(4, 1fr); }
  .mobile-tabbar a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #555; font-size: 12px; line-height: 1; }
  .mobile-tabbar a.on { color: #2b2b2b; font-weight: 700; }
  .mobile-tabbar a.on svg { color: #f7d531; filter: drop-shadow(0 1px 0 rgba(0,0,0,.14)); }
  .wechat-service { left: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); min-width: 82px; height: 42px; }
  .wechat-service b { font-size: 14px; }
  .wechat-service span { font-size: 10px; }
  .backtop { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
  .layout { grid-template-columns: 1fr; height: auto; }
  .carousel { height: auto; aspect-ratio: 720 / 418; }
  .side-services, .side-right { display: none; }
  .sec-hd { height: auto; min-height: 52px; padding: 12px; flex-wrap: wrap; align-items: center; gap: 10px; }
  .sec-hd h3, .game-hd .hd-title { white-space: nowrap; font-size: 17px; line-height: 1.3; }
  .sec-hd h3::before { height: 18px; }
  .game-hd .hd-ico { margin-right: 0; }
  .sec-hd .more { margin-left: auto; flex: 0 0 auto; }
  .sec-hd .tabs, .game-hd .tabs, .game-filter {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sec-hd .tabs::-webkit-scrollbar, .game-filter::-webkit-scrollbar { display: none; }
  .sec-hd .tabs button, .game-filter button {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 34px;
    padding: 6px 14px;
  }
  .games-grid, .games-grid.all-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games-grid { padding: 12px; gap: 8px; }
  .game-item { padding: 8px 2px; }
  .game-item .gicon, .games-grid.all-row .gicon { width: 48px; height: 48px; border-radius: 12px; }
  .game-item > span { font-size: 12px; }
  .game-item .types { display: none !important; }
  .lux-row { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .lux-banner { min-height: 96px; align-items: center; justify-content: flex-start; padding: 16px 140px 16px 18px; }
  .lux-banner img { left: auto; right: 0; bottom: -18px; transform: none; height: 150%; max-width: 52%; }
  .lux-banner-title {
    position: relative;
    top: auto;
    left: auto;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0;
    font-size: 22px;
    line-height: 1.2;
  }
  .cards, .lux-grid { grid-template-columns: repeat(2, 1fr); }
  .card .foot { align-items: flex-start; flex-direction: column; gap: 2px; }
  .card .price { font-size: 18px; }
  .card .card-meta { display: block; }
  .lux-card .price { display: block; max-width: 100%; font-size: 15px; overflow-wrap: anywhere; }
  .news-grid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .mainnav > li.has-child > a::after { content: none; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* ============================================================
 * 内页通用组件
 * ============================================================ */

/* 面包屑 */
.crumb { padding: 14px 0; font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--orange); }
.crumb i { color: var(--text-3); font-style: normal; margin: 0 2px; }
.crumb span { color: var(--text); }

/* 页面标题条 */
.page-banner { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #5a4a00; padding: 28px 0; }
.page-banner .wrap { display: flex; align-items: center; gap: 16px; }
.page-banner h2 { font-size: 26px; font-weight: 800; }
.page-banner p { font-size: 14px; opacity: .8; }

/* 通用卡片容器 */
.panel { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 0; }
.panel-hd { display: flex; align-items: center; padding: 0 18px; height: 52px; border-bottom: 1px solid #f2f2f2; }
.panel-hd h3 { font-size: 18px; font-weight: 800; position: relative; padding-left: 12px; }
.panel-hd h3::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 18px; background: var(--gold); border-radius: 3px; }
.panel-bd { padding: 18px; }

/* 追回案例网格 */
.case-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 18px; }
.case-card { border: 1px solid #f0f0f0; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .18s; background: #fff; }
.case-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-3px); border-color: var(--gold); }
.case-card .cimg { position: relative; height: 150px; background: #1a1a1a; }
.case-card .cimg img { width: 100%; height: 100%; object-fit: cover; }
.case-card .cimg .play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; }
.case-card .cimg .play svg { width: 18px; height: 18px; margin-left: 2px; }
.case-card .ctitle { padding: 10px 12px 4px; font-size: 13px; line-height: 1.5; height: 54px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.case-card .cmeta { display: flex; justify-content: space-between; padding: 0 12px 12px; font-size: 12px; color: var(--text-3); }
.case-card .cmeta .views { display: inline-flex; align-items: center; gap: 4px; }
.case-card .cmeta .views svg { width: 13px; height: 13px; }

/* 全部游戏（按首字母索引） */
.allgame-tabs { display: flex; gap: 18px; padding: 18px 22px 8px; border-bottom: 1px solid #f7f7f7; }
.allgame-tabs button { border: 0; background: transparent; color: var(--text-2); font-size: 16px; font-weight: 700; cursor: pointer; padding: 0 0 10px; position: relative; }
.allgame-tabs button.on { color: var(--text); }
.allgame-tabs button.on::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); transform: translateX(-50%); }
.alpha-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px; border-bottom: 1px solid #f2f2f2; }
.alpha-bar a { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; color: var(--text-2); }
.alpha-bar a.on, .alpha-bar a:hover { background: var(--gold); color: #5a4a00; font-weight: 700; }
.allgames-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; padding: 18px; }
.allgames-grid .game-item img { width: 60px; height: 60px; }
.allgames-grid .game-item .gtype { display: block; font-size: 11px; color: var(--text-3); }

/* 账号交易：左筛选 + 右列表 */
.trade-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.filter-box { background: #fff; border-radius: var(--radius); margin-top: 16px; }
.filter-row { display: flex; flex-wrap: wrap; border-bottom: 1px dashed #eee; padding: 12px 0; align-items: flex-start; }
.filter-row:last-child { border-bottom: 0; }
.filter-row .flabel { width: 80px; flex-shrink: 0; color: var(--text-2); padding: 4px 0 0 18px; font-size: 13px; }
.filter-row .fopts { flex: 1; display: flex; flex-wrap: wrap; gap: 6px 4px; padding-right: 18px; }
.filter-row .fopts a { padding: 4px 12px; border-radius: 14px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.filter-row .fopts a.on, .filter-row .fopts a:hover { background: var(--gold); color: #5a4a00; }
.subfilter { flex: 0 0 calc(100% - 80px); margin: 6px 18px 0 80px; padding: 8px 12px; background: var(--cream); border-radius: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.subfilter a { padding: 3px 10px; font-size: 12px; border-radius: 12px; color: var(--text-2); cursor: pointer; }
.subfilter a.on, .subfilter a:hover { background: var(--gold); color: #5a4a00; }
.sortbar { display: flex; align-items: center; gap: 4px; background: #fff; padding: 10px 18px; border-radius: var(--radius); margin-top: 14px; }
.sortbar button { border: 0; background: transparent; padding: 6px 14px; font-size: 13px; cursor: pointer; border-radius: 4px; color: var(--text-2); }
.sortbar button.on { background: var(--gold); color: #5a4a00; font-weight: 600; }
.sortbar .count { margin-left: auto; font-size: 13px; color: var(--text-3); }
.list-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.trade-tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trade-tips > div { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; }
.trade-tips b { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: #5a4a00; grid-row: span 2; }
.trade-tips strong { font-size: 15px; }
.trade-tips span { color: var(--text-3); font-size: 12px; line-height: 1.6; }

body[data-page="account"] .trade-crumb { padding: 18px 0 12px; font-size: 16px; color: #1f1f1f; }
body[data-page="account"] #content > .wrap,
body[data-page="account"] .trade-crumb {
  width: calc(100% - 48px);
  max-width: none;
}
body[data-page="account"] .trade-crumb i { margin: 0 14px; color: #7a7a7a; }
body[data-page="account"] .filter-box {
  margin-top: 8px;
  padding: 34px 52px;
  border-radius: 12px;
  background: #fff;
}
body[data-page="account"] .filter-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  min-height: 74px;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
  align-items: flex-start;
}
body[data-page="account"] .filter-row:last-child { border-bottom: 0; }
body[data-page="account"] .filter-row .flabel {
  width: auto;
  padding: 10px 0 0;
  color: #111;
  font-size: 18px;
  line-height: 28px;
  font-weight: 800;
}
body[data-page="account"] .filter-row .fopts {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 0;
  align-items: center;
}
body[data-page="account"] .filter-row .fopts a {
  min-width: 98px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  background: #f7f7f7;
  border: 1px solid transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
body[data-page="account"] .filter-row .fopts a.on,
body[data-page="account"] .filter-row .fopts a:hover {
  background: #fffdf2;
  border-color: var(--gold);
  color: #111;
}
body[data-page="account"] .filter-more {
  width: 52px;
  height: 34px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font-weight: 700;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  display: none;
}
body[data-page="account"] .filter-row .fopts { position: relative; padding-right: 64px; }
body[data-page="account"] .filter-row .fopts.one-line { max-height: 40px; overflow: hidden; }
body[data-page="account"] .filter-row .fopts.has-overflow .filter-more { display: inline-block; }
body[data-page="account"] .subfilter {
  grid-column: 2;
  flex: none;
  margin: 0;
  padding: 10px 14px;
  border-radius: 4px;
  background: #fffaf0;
  gap: 10px;
}
body[data-page="account"] .subfilter a {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
}
body[data-page="account"] .range-opts input {
  width: 140px;
  height: 40px;
  border: 1px solid #d9dde5;
  border-radius: 4px;
  padding: 0 14px;
  color: #333;
  outline: none;
  font-size: 15px;
}
body[data-page="account"] .range-opts input:focus,
body[data-page="account"] .price-filter input:focus,
body[data-page="account"] .trade-search input:focus { border-color: var(--gold); }
body[data-page="account"] .range-opts span { color: #aaa; font-size: 24px; line-height: 1; }
body[data-page="account"] .sortbar {
  margin-top: 20px;
  padding: 22px 40px;
  border-radius: 10px;
  gap: 18px;
  background: #fff;
  flex-wrap: wrap;
}
body[data-page="account"] .sortbar button {
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}
body[data-page="account"] .sortbar button.on {
  background: var(--gold);
  color: #5a4a00;
}
body[data-page="account"] .sortbar .sort-arrows { color: #b5b5b5; font-size: 13px; margin-left: 3px; }
body[data-page="account"] .price-filter,
body[data-page="account"] .trade-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}
body[data-page="account"] .price-filter input {
  width: 118px;
  height: 42px;
  border: 1px solid #d9dde5;
  border-radius: 22px;
  padding: 0 18px;
  outline: none;
  font-size: 14px;
  font-weight: 500;
}
body[data-page="account"] .trade-search { margin-left: auto; gap: 12px; }
body[data-page="account"] .trade-search input {
  width: 260px;
  height: 42px;
  border: 0;
  border-radius: 22px;
  background: #f5f5f5;
  padding: 0 18px;
  outline: none;
  font-size: 14px;
  font-weight: 500;
}
body[data-page="account"] .trade-search button {
  width: 72px;
  height: 44px;
  border-radius: 6px;
  background: var(--gold);
}
body[data-page="account"] .sortbar .list-mode { background: transparent; color: #111; }
body[data-page="account"] .sortbar .count { display: none; }
body[data-page="account"] .list-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
/* "列表模式 ↔" 按钮所有视口隐藏 */
.sortbar .list-mode { display: none; }
body[data-page="account"] .list-cards .card {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  min-height: 178px;
  padding: 12px 18px;
  border-radius: 8px;
  overflow: visible;
}
body[data-page="account"] .list-cards .card:hover { transform: none; }
body[data-page="account"] .list-cards .card .thumb {
  height: 154px;
  border-radius: 6px;
}
body[data-page="account"] .list-cards .card .body {
  min-width: 0;
  padding: 2px 150px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
body[data-page="account"] .list-cards .card .card-title {
  height: auto;
  min-height: 58px;
  color: #111;
  font-size: 18px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}
body[data-page="account"] .list-cards .card .seal {
  font-size: 13px;
  padding: 2px 8px;
  margin-right: 8px;
}
body[data-page="account"] .list-cards .card .card-region-line {
  margin-top: 8px;
  color: #8a8a8a;
  font-size: 15px;
}
body[data-page="account"] .list-cards .card .card-meta {
  margin: 8px 0 0;
  color: #9a9a9a;
  font-size: 14px;
}
body[data-page="account"] .list-cards .card .tags { margin-top: auto; min-height: 24px; }
body[data-page="account"] .list-cards .card .tags span { font-size: 13px; padding: 2px 8px; }
body[data-page="account"] .list-cards .card .foot {
  position: absolute;
  right: 0;
  bottom: 4px;
}
body[data-page="account"] .list-cards .card .price { font-size: 26px; color: #ff6a00; }

/* 金币交易 */
.gold-buy-panel { background: #fff; border-radius: var(--radius); margin-top: 16px; overflow: hidden; }
.gold-title { min-height: 88px; background: linear-gradient(90deg, #fff7d1, #fff); display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid #f2f2f2; }
.gold-title img { width: 54px; height: 54px; border-radius: 12px; }
.gold-title b { display: block; font-size: 22px; margin-bottom: 4px; }
.gold-title span { color: var(--orange); font-weight: 700; }
.gold-calculator { padding: 8px 18px 18px; }
.gold-row { display: grid; grid-template-columns: 190px 210px 1fr 120px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed #eee; }
.gold-row:last-child { border-bottom: 0; }
.gold-area { display: flex; align-items: center; gap: 10px; }
.gold-area img { width: 28px; height: 28px; object-fit: contain; }
.gold-area b { font-size: 15px; }
.gold-rate { color: var(--price); font-weight: 800; }
.gold-rate span { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; margin-top: 2px; }
.gold-inputs { display: grid; grid-template-columns: 72px 72px minmax(90px, 1fr) 42px minmax(110px, auto); gap: 8px; align-items: center; }
.gold-inputs label { color: var(--text-2); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.gold-inputs input.gold-num { height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; outline: 0; }
.gold-inputs input.gold-num:focus { border-color: var(--gold); }
.gold-inputs em { font-style: normal; color: var(--text-3); }
.gold-inputs strong { color: var(--price); font-size: 16px; text-align: right; }
.gold-buy { height: 40px; border: 0; border-radius: 6px; background: var(--price); color: #fff; font-weight: 800; cursor: pointer; }
.gold-buy:hover { filter: brightness(.96); }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 6px; margin: 24px 0; }
.pager a { min-width: 34px; height: 34px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; background: #fff; cursor: pointer; }
.pager a.on { background: var(--gold); border-color: var(--gold); color: #5a4a00; font-weight: 700; }
.pager a:hover { border-color: var(--gold); }
.pager a.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* 主播墙 */
.anchor-tabs { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #f2f2f2; flex-wrap: wrap; }
.anchor-tabs button { border: 1px solid var(--line); background: #fff; padding: 6px 18px; border-radius: 16px; font-size: 13px; cursor: pointer; }
.anchor-tabs button.on { background: var(--gold); border-color: var(--gold); color: #5a4a00; font-weight: 600; }
.anchor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px; }
.anchor-card { border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .18s; position: relative; background: #1a1a1a; height: 200px; }
.anchor-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.anchor-card img { width: 100%; height: 100%; object-fit: cover; }
.anchor-card .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.anchor-card .ov b { font-size: 16px; }
.anchor-card .ov span { font-size: 12px; opacity: .85; display: block; }
.anchor-card .live { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; }

/* 帮助中心 */
.help-layout { display: grid; grid-template-columns: 200px 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.help-menu { background: #fff; border-radius: var(--radius); overflow: hidden; }
.help-menu .hm-cat { padding: 14px 18px; font-weight: 700; border-bottom: 1px solid #f2f2f2; background: var(--cream); }
.help-menu li a { display: block; padding: 11px 18px; font-size: 13px; color: var(--text-2); border-bottom: 1px solid #f7f7f7; }
.help-menu li a:hover, .help-menu li a.on { background: #fffdf0; color: var(--orange); border-left: 3px solid var(--gold); }
.help-content { background: #fff; border-radius: var(--radius); padding: 24px; min-height: 400px; }
.help-content h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f2f2f2; }
.help-content .faq-list li { padding: 14px 0; border-bottom: 1px dashed #eee; }
.help-content .faq-list li h4 { font-size: 15px; margin-bottom: 6px; color: var(--orange); }
.help-content .faq-list li p { color: var(--text-2); line-height: 1.8; }
.verify-result { border: 1px solid #f0f0f0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.verify-result .vr-title { padding: 12px 14px; font-weight: 800; background: var(--cream); border-bottom: 1px solid #f0f0f0; }
.risk-row { display: grid; grid-template-columns: 76px 120px 1fr 2fr; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px dashed #eee; font-size: 13px; }
.risk-row:last-child { border-bottom: 0; }
.risk-row b { color: var(--orange); }
.risk-row span { color: var(--text-2); }
.risk-row em { font-style: normal; color: var(--text-3); }

/* 关于我们 */
.about-hero { background: #fff; border-radius: var(--radius); margin-top: 16px; min-height: 260px; padding: 36px 42px; display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: center; overflow: hidden; }
.about-hero span { color: var(--orange); font-weight: 800; letter-spacing: 2px; font-size: 12px; }
.about-hero h1 { font-size: 34px; margin: 10px 0 12px; line-height: 1.25; }
.about-hero p { color: var(--text-2); line-height: 1.9; font-size: 15px; }
.about-hero img { width: 100%; max-height: 230px; object-fit: contain; }
.about-sec { background: #fff; border-radius: var(--radius); padding: 30px; margin-top: 16px; }
.about-sec h2 { font-size: 22px; margin-bottom: 16px; position: relative; padding-left: 14px; }
.about-sec h2::before { content: ''; position: absolute; left: 0; top: 4px; width: 5px; height: 22px; background: var(--gold); border-radius: 3px; }
.about-sec p { line-height: 2; color: var(--text-2); margin-bottom: 12px; }
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-cards div { border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 18px; background: #fffdf8; }
.about-cards img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; }
.about-cards b, .about-service-grid b { display: block; font-size: 16px; margin-bottom: 8px; }
.about-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-service-grid div { border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 18px; background: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.stats-row .stat { text-align: center; padding: 20px; background: var(--cream); border-radius: var(--radius); }
.stats-row .stat b { display: block; font-size: 30px; color: var(--orange); }
.stats-row .stat span { color: var(--text-2); font-size: 14px; }
.history-line li { position: relative; padding: 0 0 26px 28px; border-left: 2px solid var(--gold); }
.history-line li::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.history-line li b { color: var(--orange); font-size: 16px; }
.legal-sec ul { display: grid; gap: 10px; }
.legal-sec li { color: var(--text-2); line-height: 1.9; padding-left: 18px; position: relative; }
.legal-sec li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* 账号回收 */
.recycle-hero { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 34px 40px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: center; overflow: hidden; }
.recycle-hero span { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 1.8px; }
.recycle-hero h1 { font-size: 30px; line-height: 1.35; margin: 10px 0 12px; }
.recycle-hero p { color: var(--text-2); line-height: 1.9; max-width: 720px; }
.recycle-hero img { width: 100%; max-height: 220px; object-fit: contain; }
.recycle-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.recycle-modes div { border: 1px solid #ffe9b3; background: var(--cream); border-radius: var(--radius); padding: 14px; }
.recycle-modes b { display: block; color: #8a5a00; margin-bottom: 6px; }
.recycle-modes span { color: var(--text-3); font-size: 12px; line-height: 1.6; letter-spacing: 0; font-weight: 400; }
.recycle-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.recycle-form .field { margin: 0; }
.recycle-form label { display: block; margin-bottom: 8px; color: var(--text-2); font-weight: 700; }
.recycle-form input, .recycle-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; font-size: 14px; outline: none; background: #fff; }
.recycle-form input { height: 44px; }
.recycle-form textarea { min-height: 112px; padding-top: 12px; resize: vertical; }
.recycle-form input:focus, .recycle-form textarea:focus { border-color: var(--gold); }
.recycle-form .field:nth-child(4), .recycle-form .field.contact-field, .recycle-form .publish-message, .recycle-form .submit { grid-column: 1 / -1; }
.recycle-form .submit { width: 220px; height: 46px; background: var(--gold); border: 0; border-radius: 6px; font-size: 16px; font-weight: 800; color: #5a4a00; cursor: pointer; }
.recycle-form .submit:hover { background: var(--gold-deep); }
.recycle-form .submit:disabled { opacity: .65; cursor: not-allowed; }

/* 登录 / 注册 */
.auth-page { background: linear-gradient(135deg, #fffdf4 0%, #fff 58%, #fff7df 100%); padding: 44px 0 58px; }
.auth-wrap { padding: 0; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 34px; align-items: stretch; }
.auth-visual { min-height: 430px; border-radius: var(--radius); background: #15110b url('../img/loginBack.da75ab17.png') center / cover no-repeat; color: #fff; padding: 42px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.auth-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.72)); }
.auth-visual > * { position: relative; z-index: 1; }
.auth-logo { font-size: 46px; font-weight: 900; color: var(--gold); line-height: 1; }
.auth-visual h1 { font-size: 30px; line-height: 1.3; margin: 16px 0 12px; }
.auth-visual p { color: rgba(255,255,255,.82); line-height: 1.9; max-width: 620px; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.auth-benefits span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; }
.auth-box { width: 420px; background: #fff; border-radius: 10px; padding: 36px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.auth-tabs { display: flex; margin-bottom: 26px; border-bottom: 1px solid #f2f2f2; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: 12px 6px; font-size: 16px; cursor: pointer; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.auth-tabs button.on { color: var(--text); border-bottom: 2px solid var(--gold); }
.auth-box .field { margin-bottom: 16px; }
.auth-box .field input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; font-size: 14px; outline: none; }
.auth-box .field input:focus { border-color: var(--gold); }
.auth-box .field.code { display: flex; gap: 10px; }
.auth-box .field.code input { flex: 1; }
.auth-box .field.code button { width: 110px; border: 1px solid var(--gold); background: #fffdf0; color: var(--orange); border-radius: 6px; cursor: pointer; font-size: 13px; }
.auth-box .submit { width: 100%; height: 48px; background: var(--gold); border: 0; border-radius: 6px; font-size: 16px; font-weight: 700; color: #5a4a00; cursor: pointer; }
.auth-box .submit:hover { background: var(--gold-deep); }
.auth-box .extra { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); margin-top: 14px; }
.auth-box .extra a { white-space: nowrap; }
.auth-message { min-height: 22px; margin-top: 10px; color: var(--text-3); font-size: 13px; }
.auth-message.ok { color: #2f9e44; }
.auth-message.bad { color: var(--price); }
.auth-box .field.code button:disabled { opacity: .65; cursor: not-allowed; }
.agree-row { font-size: 13px; color: var(--text-3); margin: -4px 0 16px; display: flex; align-items: center; gap: 6px; }
.agree-row input { width: 14px; height: 14px; }
.agree-row a { color: var(--orange); }

/* 商品详情 */
.detail-top { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; background: #fff; border-radius: var(--radius); padding: 20px; margin-top: 16px; overflow: hidden; }
.detail-gallery, .detail-info { min-width: 0; }
.detail-gallery .main-img { aspect-ratio: 420 / 340; min-height: 0; border-radius: 6px; overflow: hidden; background: #1a1a1a; }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .thumb-strip { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 6px; align-items: center; margin-top: 10px; max-width: 100%; }
.detail-gallery .thumbs { display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%; overflow: hidden; scroll-behavior: smooth; }
.detail-gallery .thumbs img { width: 70px; height: 52px; flex: 0 0 70px; border-radius: 4px; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.detail-gallery .thumbs img.on { border-color: var(--gold); }
.thumb-nav { width: 28px; height: 52px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--text-2); font-size: 22px; line-height: 1; cursor: pointer; }
.thumb-nav:hover { border-color: var(--gold); color: var(--orange); background: #fffdf0; }
.detail-info h1 { font-size: 19px; line-height: 1.5; margin-bottom: 14px; }
.detail-info .price-box { background: linear-gradient(135deg, #fff6e5, #fffdf5); border: 1px solid #ffe9b3; border-radius: 6px; padding: 16px 18px; margin-bottom: 16px; }
.detail-info .price-box .p { color: var(--price); font-size: 32px; font-weight: 800; }
.detail-info .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 16px; font-size: 14px; }
.detail-info .meta-grid div { color: var(--text-2); }
.detail-info .meta-grid b { color: var(--text); }
.detail-info .safe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-info .safe-tags span { font-size: 12px; padding: 4px 12px; border: 1px solid var(--gold); color: var(--orange); border-radius: 4px; background: #fffdf0; }
.detail-service { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.detail-service div { border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 10px 12px; background: #fff; }
.detail-service b { display: block; font-size: 13px; margin-bottom: 3px; }
.detail-service span { color: var(--text-3); font-size: 12px; }
.detail-info .actions { display: flex; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.detail-info .actions button { width: 150px; padding: 0 22px; height: 50px; border-radius: 6px; font-size: 17px; font-weight: 700; cursor: pointer; border: 0; }
.detail-info .actions .buy { background: var(--price); color: #fff; }
.detail-info .actions .bargain { background: var(--gold); color: #5a4a00; }
.detail-info .actions .favorite { width: 130px; background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.detail-info .actions .favorite.on { background: #fffdf0; border-color: var(--gold); color: var(--orange); }
.detail-info .actions .favorite:disabled { opacity: .7; cursor: not-allowed; }
.detail-body { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 24px; }
.detail-body h3 { font-size: 17px; margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--gold); }
.detail-body .desc { line-height: 2; color: var(--text-2); white-space: pre-wrap; }
.detail-steps { margin-top: 0; }
.detail-screenshots { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 24px; }
.detail-screenshots h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; padding-left: 12px; position: relative; }
.detail-screenshots h3::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 18px; border-radius: 3px; background: var(--gold); transform: translateY(-50%); }
.detail-shot-list { display: grid; gap: 14px; }
.detail-shot-list img { display: block; width: 100%; height: auto; border-radius: 8px; background: #f6f6f6; object-fit: contain; cursor: zoom-in; }
.shot-lightbox { position: fixed; inset: 0; z-index: 520; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(0,0,0,.88); }
.shot-lightbox figure { width: 100%; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.shot-lightbox img { max-width: min(100%, 1180px); max-height: calc(100vh - 84px); object-fit: contain; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.4); background: #111; }
.shot-lightbox figcaption { color: rgba(255,255,255,.86); font-size: 14px; line-height: 1; }
.shot-close, .shot-nav { position: fixed; z-index: 1; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.shot-close { right: 18px; top: 18px; width: 42px; height: 42px; font-size: 30px; line-height: 1; }
.shot-nav { top: 50%; width: 46px; height: 46px; font-size: 36px; line-height: 1; transform: translateY(-50%); }
.shot-prev { left: 18px; }
.shot-next { right: 18px; }
.shot-close:hover, .shot-nav:hover { background: rgba(255,255,255,.24); }

.busy-mask { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.48); display: flex; align-items: center; justify-content: center; }
.busy-dialog { width: 380px; background: #fff; border-radius: 10px; padding: 34px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.busy-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #5a4a00; font-size: 30px; font-weight: 900; margin: 0 auto 14px; }
.busy-dialog h3 { font-size: 22px; margin-bottom: 8px; }
.busy-dialog p { color: var(--text-2); line-height: 1.8; }
.busy-progress { height: 6px; background: #f2f2f2; border-radius: 999px; overflow: hidden; margin-top: 18px; }
.busy-progress span { display: block; width: 100%; height: 100%; background: var(--gold); animation: busybar 1.2s linear forwards; transform-origin: left; }
@keyframes busybar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.service-modal-mask { position: fixed; inset: 0; z-index: 320; background: rgba(0,0,0,.52); display: flex; align-items: center; justify-content: center; padding: 24px; }
.service-modal { width: min(460px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 10px; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.service-modal.direct { box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.service-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 22px; border-bottom: 1px solid #f0f0f0; background: var(--gold); color: #3b3100; }
.service-modal-head b { display: block; font-size: 22px; line-height: 1.2; }
.service-modal-head span { display: block; margin-top: 4px; color: rgba(59,49,0,.76); font-size: 14px; font-weight: 700; }
.service-close { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); color: #3b3100; font-size: 22px; line-height: 1; cursor: pointer; }
.service-direct { min-height: calc(100vh - 210px); display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: #eee; }
.service-modal-layout { margin: 0; padding: 24px 30px 28px; }
.service-layout { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.service-layout.service-modal-layout { margin: 0; }
.service-card { width: min(520px, 100%); margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 0; }
.service-status { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); background: #fff7ed; border: 1px solid #ffd8a8; border-radius: 999px; padding: 5px 12px; font-size: 13px; margin-bottom: 14px; }
.service-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,121,38,.12); }
.service-card h2 { font-size: 24px; margin-bottom: 10px; }
.service-card p { color: var(--text-2); line-height: 1.9; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.contact-grid div { background: var(--cream); border-radius: var(--radius); padding: 12px; }
.contact-grid span { display: block; color: var(--text-3); font-size: 12px; margin-bottom: 6px; }
.contact-grid b { font-size: 15px; }
.service-product { display: flex; gap: 12px; border: 1px solid #f0f0f0; border-radius: var(--radius); padding: 10px; margin: 0 auto 14px; width: 100%; }
.service-product img { width: 88px; height: 64px; object-fit: cover; border-radius: 4px; background: #111; }
.service-product b { display: block; line-height: 1.45; max-height: 40px; overflow: hidden; }
.service-product span { display: block; color: var(--text-3); font-size: 12px; margin: 3px 0; }
.service-product strong { color: var(--price); font-size: 17px; }
.service-actions { display: flex; justify-content: center; gap: 12px; align-items: center; }
.btn-submit, .query-btn { height: 44px; border: 0; border-radius: 6px; background: var(--gold); color: #5a4a00; padding: 0 28px; font-size: 15px; font-weight: 800; cursor: pointer; }
.btn-submit.is-done, .query-btn.is-done { background: #2f9e44; color: #fff; }
.service-actions a, .article-actions a, .app-card a { height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 0 22px; color: var(--text-2); }
.service-qr { width: min(260px, 100%); margin: 0 auto 16px; text-align: center; background: #fff; border-radius: var(--radius); padding: 0; }
.service-qr img { width: min(220px, 100%); height: auto; object-fit: contain; margin: 0 auto 10px; border: 1px solid #f0f0f0; padding: 5px; }
.service-qr b, .service-qr span { display: block; }
.service-qr span { color: var(--text-3); font-size: 12px; margin-top: 4px; }

.article-page { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 34px 44px; }
.article-page h1 { font-size: 28px; line-height: 1.4; margin-bottom: 10px; }
.article-meta { color: var(--text-3); padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.article-cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); margin: 22px 0; }
.article-page p { color: var(--text-2); line-height: 2.1; margin: 14px 0; font-size: 15px; }
.article-actions { display: flex; gap: 12px; margin-top: 24px; }

.form-page .form-grid, .form-grid.compact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.form-grid.compact { grid-template-columns: 1fr 240px; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; min-height: 44px; outline: 0; font: inherit; }
.form-grid textarea { grid-column: 1 / -1; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--gold); }
.feedback-types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.feedback-types button { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 7px 18px; cursor: pointer; color: var(--text-2); }
.feedback-types button.on { background: var(--gold); border-color: var(--gold); color: #5a4a00; font-weight: 700; }
.form-row-title { margin: 18px 0 8px; font-weight: 700; color: var(--text); }
.form-row-title span { color: var(--red); margin-right: 4px; }
.upload-grid { display: grid; grid-template-columns: repeat(6, 84px); gap: 10px; }
.upload-grid button { position: relative; overflow: hidden; width: 84px; height: 84px; border: 1px dashed var(--line); background: #fafafa; border-radius: 6px; color: var(--text-3); font-size: 30px; cursor: pointer; }
.upload-grid button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-grid button span { position: absolute; right: 4px; bottom: 4px; min-width: 20px; height: 20px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 700; }
.upload-grid button:hover { border-color: var(--gold); color: var(--orange); background: #fffdf0; }
.upload-grid button.done { background: #111; border-style: solid; border-color: var(--gold); color: #fff; font-size: 20px; font-weight: 800; }
.upload-grid button.uploading::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.form-actions a { height: 44px; display: inline-flex; align-items: center; justify-content: center; min-width: 110px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-2); }

.app-page { margin-top: 16px; }
.app-download-hero { background: #fff; min-height: 520px; display: flex; align-items: center; background-image: url('../img/img21.e3a408a2.png'); background-repeat: no-repeat; background-position: center right; background-size: auto 100%; }
.app-copy { width: 420px; padding: 60px 0; }
.app-copy span { display: block; font-size: 42px; font-weight: 900; color: var(--orange); line-height: 1.1; }
.app-copy h1 { font-size: 32px; margin: 12px 0 18px; color: #222; line-height: 1.35; }
.app-copy p { color: var(--text-2); margin-bottom: 16px; font-size: 18px; }
.app-copy img { width: 156px; height: 156px; padding: 8px; background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; margin-bottom: 18px; }
.app-copy a { height: 44px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--gold); color: #5a4a00; padding: 0 22px; font-weight: 800; }
.app-card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; align-items: center; gap: 28px; }
.app-card img { width: 180px; height: 180px; border: 1px solid #f0f0f0; padding: 8px; border-radius: 8px; }
.app-card h2 { font-size: 24px; margin-bottom: 10px; }
.app-card p { color: var(--text-2); line-height: 1.9; margin-bottom: 18px; }
.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.app-features div { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid #f0f0f0; }
.app-features b { display: block; font-size: 16px; margin-bottom: 6px; }
.app-features span { color: var(--text-3); }

.feature-hero { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 34px 40px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: center; overflow: hidden; }
.feature-hero span { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 1.8px; }
.feature-hero h1 { font-size: 30px; line-height: 1.35; margin: 10px 0 12px; }
.feature-hero p { color: var(--text-2); line-height: 1.9; max-width: 680px; }
.feature-hero img { width: 100%; max-height: 220px; object-fit: contain; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature-tags b { font-size: 12px; background: var(--cream); color: #8a5a00; border: 1px solid #ffe9b3; border-radius: 999px; padding: 5px 12px; }
.notice-strip { background: #fff7ed; border: 1px solid #ffd8a8; border-radius: var(--radius); margin-top: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
.notice-strip b { color: var(--orange); flex-shrink: 0; }
.notice-strip span { color: var(--text-2); line-height: 1.8; }
.query-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: stretch; }
.query-side { background: #fff; border-radius: var(--radius); margin-top: 16px; padding: 26px; text-align: center; border: 1px solid #f0f0f0; }
.query-side img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 16px; }
.query-side b { display: block; font-size: 18px; margin-bottom: 8px; }
.query-side span { color: var(--text-2); line-height: 1.9; }

/* 白情中介 */
.inter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; background: #fff; border-radius: var(--radius); padding: 14px 18px; border: 1px solid #f0f0f0; }
.inter-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 7px 18px; color: var(--text-2); cursor: pointer; font-weight: 700; }
.inter-tabs button.on { background: var(--gold); border-color: var(--gold); color: #5a4a00; }
.inter-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-top: 16px; align-items: start; }
.inter-main, .verify-card { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; padding: 20px; }
.inter-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inter-card { position: relative; min-height: 228px; border: 1px solid #f0f0f0; border-radius: var(--radius); background: linear-gradient(180deg, #fff, #fffdf5); padding: 22px 16px 16px; text-align: center; }
.inter-card img { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid #fff2bd; background: #fff; }
.inter-card b { display: block; font-size: 16px; margin-bottom: 4px; }
.inter-card em { display: block; font-style: normal; color: var(--text-3); font-size: 13px; margin-bottom: 14px; }
.inter-card button { height: 36px; border: 0; border-radius: 6px; background: var(--gold); color: #5a4a00; padding: 0 16px; cursor: pointer; font-weight: 800; }
.inter-status { position: absolute; right: 12px; top: 12px; border-radius: 999px; background: #f1f3f5; color: var(--text-3); font-size: 12px; padding: 3px 9px; }
.inter-status.on { background: #ecfdf3; color: #2f9e44; }
.verify-card h3 { font-size: 20px; margin-bottom: 8px; }
.verify-card p { color: var(--text-2); line-height: 1.8; margin-bottom: 14px; }
.verify-card input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; outline: none; }
.verify-card input:focus { border-color: var(--gold); }
.verify-card .query-btn { width: 100%; height: 42px; border: 0; border-radius: 6px; background: var(--gold); color: #5a4a00; font-weight: 800; cursor: pointer; margin-top: 12px; }
.verify-output { margin-top: 14px; border-radius: 6px; background: #fffdf0; border: 1px solid #ffe9b3; padding: 12px; color: var(--text-2); line-height: 1.7; }
.verify-output b { color: #2f9e44; margin-right: 6px; }
.guide-list { display: grid; gap: 12px; }
.guide-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; line-height: 1.8; color: var(--text-2); }
.guide-list b { color: var(--text); }
.guide-list a, .app-link { color: var(--orange); font-weight: 800; }
.app-link { display: inline-flex; margin-top: 16px; }

/* 简单通用区块 */
.simple-page { background: #fff; border-radius: var(--radius); padding: 40px; margin-top: 16px; min-height: 300px; }
.simple-page h2 { font-size: 22px; margin-bottom: 16px; }
.simple-page p { line-height: 2; color: var(--text-2); }

@media (max-width: 980px) {
  /* 窄屏下隐藏 welcome 提示，topbar 只保留登录/个人中心等快捷入口 */
  .topbar .welcome { display: none; }
  .topbar .t-links { flex: 1; justify-content: flex-end; }
  .topbar .t-links a { padding: 0 8px; max-width: 100px; font-size: 11px; }
  body[data-page] .header .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  body[data-page] .search { width: 100%; }
  .crumb { padding: 12px; overflow-x: auto; white-space: nowrap; }
  .page-banner { padding: 20px 0; }
  .page-banner .wrap { align-items: flex-start; gap: 8px; }
  .page-banner h2 { font-size: 24px; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
  .page-banner p { font-size: 13px; line-height: 1.7; }
  .case-grid, .anchor-grid { grid-template-columns: repeat(2, 1fr); }
  .allgames-grid { grid-template-columns: repeat(3, 1fr); }
  .list-cards { grid-template-columns: repeat(2, 1fr); }
  .filter-box { margin-top: 12px; border-radius: 8px; overflow: hidden; }
  .filter-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 12px; }
  .filter-row .flabel { width: auto; padding: 6px 0 0; font-size: 14px; white-space: nowrap; }
  .filter-row .fopts { min-width: 0; padding-right: 0; gap: 8px; }
  .filter-row .fopts a { min-height: 34px; display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 17px; white-space: nowrap; }
  .subfilter { grid-column: 2; width: auto; margin-top: 0; }
  .sortbar { overflow-x: auto; padding: 10px 12px; }
  .sortbar button { flex: 0 0 auto; white-space: nowrap; }
  .sortbar .count { min-width: 100%; margin-left: 0; padding: 4px 2px 0; }
  .help-layout, .detail-top, .service-layout, .publish-layout, .order-layout, .form-page .form-grid, .form-page .form-grid.compact, .about-hero, .user-center, .uc-two { grid-template-columns: 1fr; }
  /* 发布页 chip：手机端自然多行 wrap，关闭桌面端的一行折叠+钉右 toggle */
  .publish-chips { padding-right: 0; }
  .publish-chips.one-line { max-height: none; }
  .publish-chips .publish-chip-toggle { display: none !important; }
  .publish-sub-heading { margin-top: 0; font-size: 15px; }
  .publish-chips-sub { margin-left: 0; padding: 8px 0 0; border-left: 0; background: transparent; }
  .feature-hero, .query-layout, .recycle-hero, .recycle-form, .inter-layout { grid-template-columns: 1fr; }
  .inter-service-grid { grid-template-columns: repeat(2, 1fr); }
  .gold-row, .gold-inputs { grid-template-columns: 1fr; }
  .gold-buy { width: 160px; }
  .trade-tips, .contact-grid, .app-features, .about-cards, .about-service-grid, .recycle-modes { grid-template-columns: 1fr 1fr; }
  .risk-row { grid-template-columns: 70px 1fr; }
  .risk-row em { grid-column: 1 / -1; }
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat b { font-size: 24px; overflow-wrap: anywhere; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-box { width: 100%; padding: 26px 22px; }
  .auth-box .field.code { display: grid; grid-template-columns: 1fr; }
  .auth-box .field.code button { width: 100%; height: 40px; }
  .detail-gallery { min-width: 0; }
  .detail-gallery .thumbs { flex-wrap: nowrap; max-width: 100%; }
  .service-modal-mask { align-items: flex-start; padding: 14px; overflow: auto; }
  .service-modal { max-height: none; }
  .service-modal-head { padding: 18px; }
  .service-modal-head b { font-size: 21px; }
  .service-modal-layout { padding: 14px; }
  .recycle-form .submit { width: 100%; }
  .app-download-hero { background-position: center bottom; background-size: 100% auto; min-height: 640px; align-items: flex-start; }
  .app-copy { width: 100%; }
  .upload-grid { grid-template-columns: repeat(3, 84px); }
  .guide-list div { grid-template-columns: 1fr; }
  .publish-form .form-grid.compact, .order-meta { grid-template-columns: 1fr; }
  .publish-tabs { overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .publish-tabs::-webkit-scrollbar { display: none; }
  .publish-tabs a { flex: 0 0 auto; min-width: auto; padding: 0 16px; height: 36px; }
  .publish-form, .publish-guide, .publish-success, .publish-login-card { padding: 16px; border-radius: 8px; }
  .publish-guide { display: none; }
  .publish-form select, .publish-form input, .publish-form textarea { min-height: 44px; font-size: 15px; }
  .form-row-title { margin-top: 16px; }
  .form-actions { position: sticky; bottom: calc(58px + env(safe-area-inset-bottom)); z-index: 50; background: rgba(255,255,255,.96); margin: 16px -16px -16px; padding: 12px 16px; border-top: 1px solid #f0f0f0; }
  .form-actions button { flex: 1; height: 44px; }
  .uc-stats { grid-template-columns: repeat(2, 1fr); }
  .uc-side { margin-top: 12px; border-radius: 10px; }
  .uc-profile { display: grid; grid-template-columns: 46px 1fr; gap: 4px 12px; text-align: left; align-items: center; padding: 14px; }
  .uc-avatar { width: 46px; height: 46px; margin: 0; grid-row: 1 / 3; }
  .uc-profile b { font-size: 15px; }
  .uc-profile span { font-size: 12px; }
  .uc-menu-group { display: none; }
  .uc-main .panel { border-radius: 10px; }
  .uc-main .panel-hd { min-height: 46px; padding: 0 14px; }
  .uc-main .panel-bd { padding: 14px; }
  .uc-stats { gap: 10px; margin-bottom: 12px; }
  .uc-stats > div, .uc-stats > a { padding: 14px; border-radius: 8px; }
  .uc-stats b { font-size: 20px; }
  .uc-publish-row { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .uc-publish-row strong { font-size: 18px; }
  .uc-publish-row em { justify-self: start; }
  .uc-table-row { grid-template-columns: 1fr; gap: 4px; }
  .uc-product { grid-template-columns: 76px 1fr; }
  .uc-product img { width: 76px; height: 58px; }
  .uc-product strong { grid-column: 2; text-align: left; }
  .uc-form label { grid-template-columns: 1fr; gap: 6px; }
  .uc-form .btn-submit { width: 100%; margin-left: 0; }
  .uc-form-message { margin-left: 0; }
  .uc-message-list a { grid-template-columns: 1fr; gap: 4px; }
  .uc-message-list span { white-space: normal; line-height: 1.6; }
  .uc-message-list em { text-align: left; }
  .draft-row, .history-row { grid-template-columns: 76px 1fr; }
  .draft-row img, .history-row img { width: 76px; height: 58px; }
  .draft-row a, .history-row strong { grid-column: 2; }
  .order-state { align-items: flex-start; flex-wrap: wrap; }
  .order-state em { flex-basis: 100%; margin-left: 20px; }

  body[data-page="account"] .crumb { display: none; }
  body[data-page="account"] #content > .wrap { width: auto; margin: 0 10px; padding: 0; }
  /* 手机端账号交易列表改纵式 2 列：图在上、信息在下 */
  body[data-page="account"] .list-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-page="account"] .list-cards .card { grid-template-columns: 1fr; min-height: auto; padding: 8px; gap: 8px; }
  body[data-page="account"] .list-cards .card .thumb { height: 120px; }
  body[data-page="account"] .list-cards .card .body { padding: 0; }
  body[data-page="account"] .list-cards .card .card-title { font-size: 13px; min-height: auto; -webkit-line-clamp: 2; line-height: 1.4; }
  body[data-page="account"] .list-cards .card .card-region-line { font-size: 12px; margin-top: 4px; }
  body[data-page="account"] .list-cards .card .card-meta { font-size: 11px; margin-top: 4px; }
  body[data-page="account"] .list-cards .card .seal { font-size: 11px; padding: 2px 6px; margin-right: 4px; }
  /* 删除"列表模式"按钮 */
  body[data-page="account"] .sortbar .list-mode { display: none; }
  body[data-page="account"] .filter-box { margin-top: 10px; padding: 0; border-radius: 8px; }
  body[data-page="account"] .filter-row {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 0;
    padding: 8px 10px;
    gap: 6px;
    align-items: center;
  }
  body[data-page="account"] .filter-row .flabel { padding: 0; font-size: 13px; line-height: 32px; }
  body[data-page="account"] .filter-row .fopts {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  /* 手机上不限制单行高度（PC 用了 max-height 折叠 + 钉右 toggle，移动端改为横滑展示） */
  body[data-page="account"] .filter-row .fopts.one-line {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  body[data-page="account"] .filter-row .fopts .filter-more { display: none !important; }
  body[data-page="account"] .filter-row .fopts::-webkit-scrollbar, body[data-page="account"] .subfilter::-webkit-scrollbar { display: none; }
  body[data-page="account"] .filter-row .fopts a {
    min-width: auto;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    flex: 0 0 auto;
  }
  body[data-page="account"] .filter-more { flex: 0 0 auto; width: 48px; height: 30px; font-size: 12px; }
  body[data-page="account"] .subfilter {
    grid-column: 2;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
  }
  body[data-page="account"] .subfilter a { flex: 0 0 auto; }
  body[data-page="account"] .range-opts input { width: 96px; height: 34px; font-size: 13px; }
  body[data-page="account"] .sortbar {
    margin-top: 10px;
    padding: 10px;
    gap: 8px;
    overflow-x: visible;
  }
  body[data-page="account"] .sortbar button { height: 34px; padding: 0 12px; font-size: 13px; flex: 0 0 auto; }
  body[data-page="account"] .price-filter,
  body[data-page="account"] .trade-search { width: 100%; font-size: 13px; gap: 6px; margin-left: 0; }
  body[data-page="account"] .price-filter input { width: 0; flex: 1; height: 36px; }
  body[data-page="account"] .trade-search input { width: 0; flex: 1; height: 36px; }
  body[data-page="account"] .trade-search button { width: 68px; height: 36px; }
  body[data-page="account"] .sortbar .count { display: none; }
  /* 手机端账号交易商品列表 2 列布局规则已在本 media query 上方定义，此处保留 foot/tags/price 微调 */
  body[data-page="account"] .list-cards .card .tags span { font-size: 10px; padding: 1px 4px; }
  body[data-page="account"] .list-cards .card .foot { position: static; margin-top: 6px; }
  body[data-page="account"] .list-cards .card .price { font-size: 18px; }
}
