/* 超级虾手机端 — 蟹比特（CaBi）风格设计系统
   令牌来源：cabiweb4.com 生产 CSS 提取（紫色主渐变/白卡/22px 圆角/金色点缀/浅紫底） */
:root {
  --purple-a: #7651af;
  --purple-b: #9765c3;
  --purple-soft: #e6d1ff;
  --gold: #f0b90b;
  --gold-text: #b45309;
  --strong: #30243f;
  --mute: #746a80;
  --faint: #80748e;
  --line: #e9e5ef;
  --well: #f5f2f9;
  --card: #ffffff;
  --bg-1: #f4eff9;
  --bg-2: #f7f6fa;
  --green: #0f9d58;
  --red: #d9480f;
  --shadow-card: 0 1px 2px #240f460a, 0 8px 24px -12px #240f4614;
  --shadow-purple: 0 6px 16px -6px #7046a43d;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--strong);
  background: linear-gradient(var(--bg-1), var(--bg-2) 520px) fixed;
  min-height: 100dvh;
  font-size: 15px;
  line-height: 1.5;
}
button { font-family: inherit; }

/* ---------- 连接门（gate） ---------- */
#gate {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  background:
    radial-gradient(600px 340px at 80% -8%, #d9c2f270, transparent 65%),
    linear-gradient(160deg, #4a3766 0%, #3b2b55 55%, #34264c 100%);
}
#gate .card { width: 100%; max-width: 440px; margin: auto; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.gate-banner {
  position: relative; height: auto; aspect-ratio: 543 / 181;
  background: #1a1026 url("img/gate-banner.png") center center / cover no-repeat;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
/* 已换成整幅宣传图，隐藏原来的吉祥物与星星装饰 */
.gate-banner .mascots, .gate-banner .spark { display: none; }
.gate-banner .mascots { font-size: 76px; line-height: 1; transform: translateY(10px); filter: drop-shadow(0 6px 10px #51277133); }
.gate-banner .spark { position: absolute; font-size: 18px; opacity: .8; animation: twinkle 2.2s infinite ease-in-out; }
@keyframes twinkle { 0%,100% { transform: scale(.85); opacity: .45; } 50% { transform: scale(1.1); opacity: .95; } }
.gate-body { padding: 22px 24px 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  color: var(--gold-text); text-transform: uppercase;
}
.eyebrow .ico { font-size: 14px; }
.gate-body h1 { margin: 10px 0 8px; font-size: 24px; font-weight: 800; letter-spacing: .01em; }
.gate-body .sub { margin: 0 0 20px; color: var(--mute); font-size: 13.5px; }
.err-line { color: var(--red); font-size: 12.5px; margin: 10px 0 0; min-height: 18px; }

/* ---------- 通用控件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px;
  border: none; border-radius: 13px; cursor: pointer;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: filter .16s, transform 80ms, opacity .16s;
  white-space: nowrap; user-select: none;
}
.btn:active:not(:disabled) { transform: scale(.985); }
.btn:disabled { cursor: not-allowed; opacity: .55; }
.btn-primary {
  width: 100%;
  background-image: linear-gradient(90deg, var(--purple-a), var(--purple-b));
  box-shadow: var(--shadow-purple), inset 0 1px #ffffff26;
  color: #fff;
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.btn-soft {
  background: var(--well); color: var(--purple-a);
  border: 1px solid var(--line); font-weight: 600;
}
.btn-mini {
  min-height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 10px;
  background: #f1eafb; color: var(--purple-a); border: 1px solid #e4d6f7;
}
.field {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-size: 16px; color: var(--strong);
  background: #fdfcfe; border: 1px solid #e4deec; border-radius: 12px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field:focus { border-color: #a789ca; box-shadow: 0 0 0 3px #7046a414; }
.field::placeholder { color: var(--faint); }
.hint { color: var(--faint); font-size: 12px; line-height: 1.6; margin: 10px 2px 0; }

/* ---------- 应用骨架 ---------- */
#app { display: none; padding-bottom: 86px; }
#app.on { display: block; }
.app-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: #ffffffed; border-bottom: 1px solid #e9e2f080;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16.5px; }
.brand .logo { font-size: 24px; }
.brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--purple-a); }
.acct-chip {
  display: flex; align-items: center; gap: 7px;
  background: #f1eafb; border: 1px solid #e4d6f7; border-radius: 999px;
  padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: var(--purple-a);
}
.acct-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.wrap { padding: 14px 14px 0; display: grid; gap: 12px; max-width: 480px; margin: 0 auto; }
.sec-title { margin: 8px 4px 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }

/* Hero（首页顶部） */
.hero {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(125deg, #f6f1fb, #eee6f6);
  border: 1px solid #e5dfef; box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
}
.hero .row1 { display: flex; justify-content: space-between; align-items: flex-start; }
.hero .mascots { font-size: 52px; line-height: 1; filter: drop-shadow(0 4px 8px #51277126); }
.hero h2 { margin: 6px 0 2px; font-size: 20px; font-weight: 800; }
.hero .price { color: var(--mute); font-size: 13px; }
.hero .price b { color: var(--strong); font-size: 15px; }
.net-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--green);
  background: #e8f7ef; border: 1px solid #cdeeda; border-radius: 999px; padding: 4px 10px;
}
.net-badge.bad { color: var(--red); background: #fdeeea; border-color: #f6d5c8; }

/* 资产宫格 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); padding: 13px 14px; }
.stat-card .k { font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.stat-card .v { font-size: 19px; font-weight: 800; margin-top: 3px; }
.stat-card .s { font-size: 11px; color: var(--faint); }
.stat-card.hl { background: linear-gradient(135deg, #f4ecff, #fbf8ff); border-color: #e4d6f7; }

/* 进度条 */
.progress { height: 8px; border-radius: 999px; background: var(--well); overflow: hidden; margin-top: 8px; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple-a), var(--purple-b)); transition: width .3s; }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick button {
  display: grid; gap: 5px; justify-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card); padding: 13px 4px 10px; cursor: pointer;
  font-size: 11.5px; font-weight: 600; color: var(--mute);
}
.quick button .ico { font-size: 22px; }

/* 卡片内容排布 */
.card-pad { padding: 16px 16px 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-head b { font-size: 15.5px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed #efeaf6; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--mute); }
.kv .v { font-weight: 700; text-align: right; word-break: break-all; }
.kv .v.big { font-size: 16px; color: var(--purple-a); }

/* 交易页 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--well); border-radius: 13px; padding: 5px; margin-bottom: 14px; }
.seg button {
  min-height: 40px; border: none; border-radius: 10px; background: transparent;
  font-size: 14.5px; font-weight: 700; color: var(--mute); cursor: pointer;
}
.seg button.on { background: linear-gradient(90deg, var(--purple-a), var(--purple-b)); color: #fff; box-shadow: var(--shadow-purple); }
.input-wrap { display: flex; align-items: center; gap: 8px; }
.input-wrap .suffix { font-weight: 800; color: var(--mute); font-size: 14px; white-space: nowrap; }
.chips { display: flex; gap: 7px; margin-top: 10px; }
.chips button {
  min-height: 32px; padding: 0 13px; border-radius: 999px; cursor: pointer;
  background: var(--well); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--mute);
}
.chips button.on { background: #f1eafb; border-color: #cdb8ee; color: var(--purple-a); }
.quote-line { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--mute); }
.quote-line b { color: var(--strong); font-size: 15px; }

/* 名单 */
.list { display: grid; gap: 8px; margin-top: 10px; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fdfcfe; border: 1px solid #eee9f4; border-radius: 12px; padding: 10px 12px; font-size: 13px;
}
.list-row .addr { font-weight: 700; word-break: break-all; }
.list-row .meta { color: var(--faint); font-size: 12px; }
.empty { color: var(--faint); font-size: 13px; text-align: center; padding: 16px 0 6px; }

/* 轮次徽章 */
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 10px;
  background: var(--well); color: var(--mute);
}
.badge.live { background: #e8f7ef; color: var(--green); }
.badge.done { background: #fdeeea; color: var(--red); }

/* 大逃杀 10 池分布 */
.pool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pool { background: #fdfcfe; border: 1px solid #eee9f4; border-radius: 12px; padding: 9px 11px; }
.pool.killed { background: #fdeeea; border-color: #f6d5c8; }
.pool .pname { font-size: 11.5px; font-weight: 700; color: var(--mute); }
.pool.killed .pname { color: var(--red); }
.pool .pamt { font-size: 14px; font-weight: 800; margin: 1px 0 5px; }
.pool .bar { height: 5px; border-radius: 999px; background: var(--well); overflow: hidden; }
.pool .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple-a), var(--purple-b)); }
.pool.killed .bar i { background: linear-gradient(90deg, #e2593a, #f08a5d); }

/* 底部导航 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: #fffffff2; border-top: 1px solid #e9e2f080;
  display: flex;
  padding: 6px 6px calc(8px + env(safe-area-inset-bottom));
}
.tabbar button {
  flex: 1 1 0; min-width: 0;
  border: none; background: none; cursor: pointer;
  display: grid; gap: 2px; justify-items: center;
  font-size: 9.5px; font-weight: 600; color: var(--faint); padding: 5px 0 3px; border-radius: 12px;
}
.tabbar button .ico { font-size: 21px; line-height: 1; }
.tabbar button.on { color: var(--purple-a); }
.tabbar button.on .ico { transform: translateY(-1px); }

/* toast */
#toast { position: fixed; top: 14px; left: 0; right: 0; z-index: 99; display: grid; gap: 8px; justify-items: center; pointer-events: none; padding: 0 16px; }
#toast .t {
  background: #2d2140f2; color: #fff; border-radius: 14px; padding: 11px 16px;
  font-size: 13px; max-width: 440px; width: 100%;
  box-shadow: 0 10px 30px -8px #240f4666;
}
#toast .t b { display: block; font-size: 12px; opacity: .75; margin-bottom: 2px; }
#toast .t.ok { background: #0f9d58f2; }
#toast .t.err { background: #c2410cf2; }

/* 账户选择底部弹层 */
.sheet-mask { position: fixed; inset: 0; z-index: 80; background: #28144166; backdrop-filter: blur(2px); display: flex; align-items: flex-end; }
.sheet-mask[hidden] { display: none; }
.sheet {
  width: 100%; max-width: 480px; margin: 0 auto; background: #fff;
  border-radius: 22px 22px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  max-height: 72dvh; overflow-y: auto;
}
.sheet h3 { margin: 0 0 12px; font-size: 16px; }
.sheet .acct-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 8px;
  cursor: pointer; font-size: 13px;
}
.sheet .acct-row.on { border-color: var(--purple-a); background: #f7f2ff; }
.sheet .acct-row .bal { color: var(--mute); font-size: 12px; }

/* 游戏页进度条 */
.hud { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.hud-round { font-size: 12px; font-weight: 800; color: var(--purple-a); white-space: nowrap; }
.hud-timer { font-size: 12px; font-weight: 800; color: var(--text); min-width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.hud-bar { flex: 1; height: 8px; border-radius: 999px; background: #e7dff4; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #b48cf0, #7c4dd6); transition: width 0.4s linear; }

/* 游戏页：隐藏顶部栏（与其他标签页共用浅色底部导航） */
body.pg-battle .app-header { display: none; }

/* ---- 写实风格龙虾形象（品牌 / 门头 / 卡片图标）---- */
.brand .logo-img { width: 30px; height: auto; display: block; filter: drop-shadow(0 2px 4px rgba(81,39,113,.28)); }
.mascot-img { height: 46px; width: auto; vertical-align: middle; margin-right: 2px;
  filter: drop-shadow(0 4px 8px rgba(81,39,113,.25)); }
.gate-banner .mascot-img { height: 86px; transform: translateY(10px); }
.hero .mascot-img { height: 40px; }
.ico-img { height: 15px; width: auto; vertical-align: -2px; }
.card-head .ico-img { height: 17px; }

/* ---- 首页轮播图 ---- */
.carousel{position:relative;margin-top:10px;height:130px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.06)}
.car-track{display:flex;height:100%;transition:transform .45s ease}
.car-slide{min-width:100%;height:100%}
.car-slide img{width:100%;height:100%;object-fit:cover;display:block}
.car-btn{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:none;background:rgba(0,0,0,.35);color:#fff;font-size:18px;line-height:1;z-index:2;cursor:pointer}
.car-btn.prev{left:8px}
.car-btn.next{right:8px}
.car-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:2}
.car-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer}
.car-dots i.on{background:#fff;width:16px;border-radius:4px}

/* ================= 游戏：大逃杀（像素楼层图 · 浅色） ================= */
body.pg-battle .wrap{padding:0 10px calc(74px + env(safe-area-inset-bottom));gap:10px;max-width:560px;margin:0 auto}
body.pg-battle [data-page="battle"]{padding-top:8px;display:grid;gap:10px}
body.pg-battle [data-page="battle"][hidden]{display:none}

.br-head{display:flex;align-items:center;gap:8px;color:var(--text);font-size:15px;font-weight:900;letter-spacing:.02em}
.br-head .br-logo{font-size:17px}
.br-head .badge{margin-left:auto}

.br-hud{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.br-timer{font-size:30px;line-height:1;font-weight:900;color:var(--purple-a);font-variant-numeric:tabular-nums}
.br-phase{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.br-phase::before{content:"";width:7px;height:7px;border-radius:50%;background:#f2a93b;box-shadow:0 0 6px rgba(242,169,59,.55);animation:brBlink 1.1s infinite}
@keyframes brBlink{50%{opacity:.25}}
.br-hud .hud-round{margin-left:auto;font-size:12px;color:var(--purple-a);font-weight:900;white-space:nowrap}
.br-progress{width:100%;height:6px;border-radius:3px;background:#e7dff4;border:1px solid #ddd0ee;flex:none}
.br-progress i{border-radius:3px;background:linear-gradient(90deg,#b48cf0,#7c4dd6)}

.br-banner{display:flex;align-items:center;justify-content:center;gap:8px;background:#ffe3ef;color:#c22b68;border:1px solid #f4a8c6;border-radius:8px;padding:6px 0;font-weight:900;letter-spacing:.12em;font-size:13px;animation:brPulse 1s infinite}
.br-banner[hidden]{display:none}
.br-banner em{opacity:.7;font-style:normal}
@keyframes brPulse{50%{filter:brightness(1.05)}}

/* 像素楼层图（浅色）：上 3×3 + 底部通铺一间，共 10 间 */
.br-map{display:grid;gap:5px;padding:6px;background:#efe6f8;border:1px solid #e0d2f0;border-radius:12px;
  grid-template-columns:repeat(6,1fr);grid-auto-rows:minmax(56px,1fr);min-height:min(62vh,460px);
  grid-template-areas:"A A B B C C" "A A B B C C" "D D E E F F" "D D E E F F" "G G H H I I" "J J J J J J"}
.br-room{position:relative;border:2px solid #b9a07c;border-radius:4px;padding:6px 8px;text-align:left;color:#3f3350;
  background:#e9d9bf;cursor:pointer;overflow:hidden;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35);transition:transform .1s,border-color .1s,box-shadow .1s}
.br-room:active{transform:scale(.98)}
.br-room.tone0{background:#e9d9bf;border-color:#c1a375}
.br-room.tone1{background:#e3d3ef;border-color:#a98cc2}
.br-room.tone2{background:#d6e2ec;border-color:#8aa6bb}
.br-room.tone3{background:#d9e9dd;border-color:#8ab392}
.br-room .nm{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:900;color:#3f3350}
.br-room .nm em{font-style:normal;font-size:10px;color:#c98a25}
.br-room .pb{display:block;margin-top:3px;font-size:17px;font-weight:900;color:#5a3fae;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br-room .pb::before{content:"✦ ";font-size:11px;color:#a97ff0}
.br-room .mine{display:inline-block;margin-top:2px;font-size:10px;color:#1a6fb8}
.br-room .mine[hidden]{display:none}
.br-room.sel{border-color:var(--purple-a);box-shadow:0 0 0 2px rgba(124,77,214,.35),inset 0 0 10px rgba(124,77,214,.12)}
.br-room.killed{background:#f7d7de;border-color:#d9486e;animation:brShake .45s}
.br-room.killed .nm,.br-room.killed .pb{color:#a12a4e}
.br-room.killed .nm{text-decoration:line-through}
.br-room.killed::after{content:"已屠";position:absolute;right:6px;bottom:5px;font-size:10px;font-weight:900;color:#a12a4e}
.br-room.alive{border-color:#3fae7a;box-shadow:inset 0 0 10px rgba(63,174,122,.12)}
@keyframes brShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

/* 底部操作面板 */
.br-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.br-me{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.br-me b{color:var(--text)}
.br-bet-btn{margin-top:10px;width:100%;background:linear-gradient(180deg,#a06ae8,#7c4dd6);color:#fff;font-weight:900;border:1px solid #6a3fc0;box-shadow:0 6px 18px rgba(124,77,214,.28)}
.br-bet-btn:active{transform:translateY(1px)}
.br-rule{margin:8px 0 0;font-size:11px;line-height:1.6;color:var(--muted)}
.br-result{margin:0;font-size:12px;font-weight:800;color:#9a6a10;background:#fff4dc;border:1px solid #eeda9f;border-radius:8px;padding:8px 10px}
.br-hint{margin:6px 0 0;font-size:11px;line-height:1.6;color:var(--muted)}
.br-ops{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}
.br-soft{width:100%;margin-top:0}
.br-panel-head{font-size:13px;font-weight:900;color:var(--text);margin-bottom:6px}

/* 风险确认弹窗（浅色） */
.risk-modal{position:fixed;inset:0;background:rgba(60,40,90,.45);display:flex;align-items:center;justify-content:center;z-index:95;padding:20px}
.risk-modal[hidden]{display:none}
.risk-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;max-width:420px;width:100%;box-shadow:0 18px 50px rgba(60,30,110,.25)}
.risk-box h3{margin:0 0 10px;font-size:16px;color:var(--text)}
.risk-box ul{margin:0;padding-left:18px;color:var(--muted);font-size:13px;line-height:1.8}
.risk-box li+li{margin-top:2px}
.risk-box b{color:#c22b68}

/* ================= 市场补贴上传 ================= */
.field-file{padding:8px;font-size:12px}
.sub-prev{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.sub-prev img{width:84px;height:84px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}

/* ================= 算力页 · 显卡接入 ================= */
.gpu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:8px}
.gpu-item{position:relative;background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;padding:10px;display:grid;gap:6px;justify-items:start}
.gpu-item img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;background:#efeaf5}
.gpu-item b{font-size:11.5px;font-weight:800;color:var(--txt);line-height:1.3}
.gpu-count{font-size:10.5px;font-weight:700;color:var(--purple);background:#f1eafb;border:1px solid #e4d6f7;border-radius:999px;padding:2px 8px}
.gpu-count.none{color:#8a8198;background:#f2eff5;border-color:var(--line)}

/* ===== 底部页签：线性描边图标 + 选中药丸底（v20261125） ===== */
.tabbar button {
  color: #9d95b0;
  font-size: 10px;
  font-weight: 600;
  gap: 3px;
}
.tabbar button .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  border-radius: 13px;
  font-size: 0;
  transition: background 0.18s ease, color 0.18s ease;
}
.tabbar button .ico svg {
  width: 22px;
  height: 22px;
  display: block;
}
.tabbar button.on {
  color: var(--purple-a);
  font-weight: 700;
}
.tabbar button.on .ico {
  background: rgba(118, 81, 175, 0.13);
  transform: translateY(-1px);
}
.tabbar button.on .ico svg {
  stroke-width: 2.1;
}

/* ===== 市场补贴：收货信息 / 留言 ===== */
.sub-title { margin: 16px 0 8px; font-size: 13px; font-weight: 800; color: var(--strong); }
.sub-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.sub-grid3 .field { font-size: 12px; padding: 9px 6px; }
#btnSubApply:disabled { background: #d9d5e2; color: #fff; box-shadow: none; filter: none; opacity: .9; }

/* ===== 未开通红色蒙版 ===== */
.page-locked { position: relative; }
.page-mask {
  position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 236, 236, .38); -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
  border-radius: 18px; cursor: not-allowed;
}
.page-mask-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 26px;
  border-radius: 20px; background: #fff; border: 2px solid #ff5a5a;
  box-shadow: 0 12px 30px rgba(255, 80, 80, .22); color: #e02f2f; text-align: center; max-width: 80%;
}
.page-mask-box b { font-size: 17px; }
.page-mask-box span { font-size: 12px; color: #f08585; }
.page-mask-box .pm-ico { font-size: 28px; line-height: 1; }
