:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: rgba(79,70,229,.08);
  --accent: #4f46e5;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --border: #eceef2;
  --border-soft: #f3f4f6;
  --text: #111827;
  --text-2: #374151;
  --bg: #fafafa;
  --card: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 1px 3px rgba(17,24,39,.04);
  --shadow-md: 0 4px 12px rgba(17,24,39,.06);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* ================= 顶栏 ================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar .brand { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--text); }
.topbar .brand .logo {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.topbar .right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.topbar .email {
  font-size: .8125rem; color: var(--text-2); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: var(--border-soft);
}
.topbar .tb-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8125rem; color: var(--text-2); padding: 6px 12px; border-radius: 999px;
  background: transparent; transition: background .15s, color .15s; font-weight: 500;
}
.topbar .tb-link:hover { background: var(--border-soft); color: var(--text); }

/* ================= 布局 ================= */
.container { max-width: 1080px; margin: 28px auto; padding: 0 20px; padding-bottom: env(safe-area-inset-bottom); flex: 1 0 auto; }
@media (max-width: 640px) { .container { margin: 20px auto; padding: 0 16px; } }

/* ================= 卡片 ================= */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; animation: fadeUp .3s ease both;
}
@media (max-width: 640px) { .card { padding: 18px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-head h2 { margin: 0 0 3px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.card-head .sub { margin: 0; color: var(--muted); font-size: .8125rem; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ================= 提示 ================= */
.alert { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .8125rem; margin-bottom: 16px; }
.alert-error { background: rgba(239,68,68,.06); color: var(--danger); border: 1px solid rgba(239,68,68,.18); }

/* ================= 登录页 ================= */
.login-bg {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(79,70,229,.06), transparent 50%),
    radial-gradient(1000px 500px at 0% 100%, rgba(124,58,237,.05), transparent 50%),
    var(--bg);
  position: relative;
}
.login-card {
  width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px 28px;
  box-shadow: 0 8px 32px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.04); position: relative; z-index: 1;
  animation: fadeUp .35s ease both;
}
.login-logo {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 14px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(79,70,229,.22);
}
.login-card h2 { text-align: center; margin: 0 0 5px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.login-card .sub { text-align: center; color: var(--muted); font-size: .8125rem; margin: 0 0 26px; }
.login-form .field { margin-bottom: 16px; }
.login-form label { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 6px; color: var(--text-2); }
.login-form .input-wrap { position: relative; }
.login-form .input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.login-form input {
  width: 100%; padding: 11px 14px 11px 38px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.login-form input::placeholder { color: var(--muted-2); }
.login-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.login-form button {
  width: 100%; padding: 12px; border: none; border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff; font-size: .875rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 1px 2px rgba(79,70,229,.2); transition: background .15s, box-shadow .15s, transform .1s;
}
.login-form button:hover { background: var(--primary-hover); box-shadow: 0 4px 12px rgba(79,70,229,.22); }
.login-form button:active { transform: scale(.99); }
.login-tip { margin: 20px 0 0; font-size: .75rem; color: var(--muted-2); text-align: center; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ================= 工具条 ================= */
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.toolbar select {
  padding: 8px 32px 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .8125rem;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 38px; color: var(--text); transition: border-color .15s;
}
.toolbar select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.toolbar .meta { font-size: .8125rem; color: var(--muted); }

/* ================= 表格(桌面) ================= */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
thead { background: var(--border-soft); }
th { padding: 10px 14px; text-align: left; font-weight: 500; color: var(--muted); font-size: .75rem; letter-spacing: .02em; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; color: var(--text-2); }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--border-soft); }
.muted { color: var(--muted); font-size: .75rem; }

/* ================= 主机卡片(移动端) ================= */
.host-cards { display: none; flex-direction: column; gap: 10px; }
.m-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.m-card:hover { border-color: #d1d5db; box-shadow: var(--shadow-md); }
.m-card .m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.m-card .m-name { font-weight: 600; font-size: .9375rem; line-height: 1.4; color: var(--text); }
.m-card .m-id { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.m-card .m-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 14px; }
.m-card .m-row { min-width: 0; }
.m-card .m-k { font-size: .6875rem; color: var(--muted); margin-bottom: 3px; }
.m-card .m-v { font-size: .8125rem; font-weight: 500; word-break: break-all; color: var(--text-2); }
.m-card .m-actions { display: flex; gap: 8px; }
.m-card .m-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 859px) {
  .table-wrap { display: none; }
  .host-cards { display: flex; }
}

/* ================= 徽标/按钮 ================= */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge .dot.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.b-default { background: var(--border-soft); color: var(--muted); }
.b-success { background: rgba(34,197,94,.10); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
.b-warn { background: rgba(245,158,11,.10); color: #d97706; border: 1px solid rgba(245,158,11,.25); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm); font-size: .8125rem; font-weight: 500;
  background: #fff; color: var(--text-2); border: 1px solid var(--border); cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s; min-height: 34px;
}
.btn:hover { background: var(--border-soft); border-color: #d1d5db; color: var(--text); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 1px 2px rgba(79,70,229,.18); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-sm { padding: 5px 11px; font-size: .75rem; min-height: 28px; }
.btn-block { width: 100%; }

/* ================= 复制行 ================= */
.copy-line { display: flex; align-items: center; gap: 6px; }
.copy-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); cursor: pointer; transition: all .15s;
}
.copy-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }

/* ================= 详情 ================= */
.detail-hero {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--border-soft);
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px;
}
.detail-hero .h-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 10px rgba(79,70,229,.18);
}
.detail-hero h2 { margin: 0 0 3px; font-size: 1.0625rem; font-weight: 600; word-break: break-all; letter-spacing: -.01em; }
.detail-hero .sub { margin: 0; color: var(--muted); font-size: .8125rem; }
.detail-hero .h-badge { margin-left: auto; flex-shrink: 0; }

.section-title {
  display: flex; align-items: center; gap: 8px; margin: 24px 0 12px;
  font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-title svg { color: var(--primary); }

.grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid .item {
  padding: 12px 14px; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  transition: border-color .15s;
}
.grid .item:hover { border-color: #d1d5db; }
.grid .item .k { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.grid .item .v { font-size: .875rem; font-weight: 500; word-break: break-all; color: var(--text); }
.actions { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }

/* ================= 分页 ================= */
.pager { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: .8125rem; color: var(--muted); }
.pager .pages { display: flex; gap: 6px; align-items: center; }
.pager a, .pager .cur {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff; font-size: .8125rem; color: var(--text-2); transition: background .15s;
}
.pager a:hover { background: var(--border-soft); }
.pager .cur { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ================= 空状态 ================= */
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .icon { font-size: 40px; margin-bottom: 12px; opacity: .6; }
.empty .t { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: .9375rem; }
.empty .d { font-size: .8125rem; }

/* ================= Toast ================= */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: #111827; color: #fff; padding: 9px 16px; border-radius: 999px; font-size: .8125rem;
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 100; box-shadow: 0 8px 24px rgba(17,24,39,.18);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= Debug ================= */
.debug-box { max-width: 1080px; margin: 16px auto 0; padding: 0 20px; }
.debug-box .card { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow: auto; }

/* ================= 底部导航(手机 app 风格) ================= */
body.app { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(58px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: .6875rem; font-weight: 500;
  transition: color .15s; -webkit-tap-highlight-color: transparent;
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--primary); }

/* ================= 订单卡片 ================= */
.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-item {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.order-item:hover { border-color: #d1d5db; box-shadow: var(--shadow-md); }
.order-item .o-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.order-item .o-name { font-weight: 600; font-size: .9375rem; color: var(--text); line-height: 1.4; word-break: break-all; }
.order-item .o-no { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.order-item .o-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; }
@media (max-width: 520px) { .order-item .o-rows { grid-template-columns: 1fr 1fr; } }

/* ================= 产品目录(购物车) ================= */
/* ================= 分组筛选条 ================= */
.filter-bar-wrap {
  position: relative;
  margin-bottom: 22px;
}
.filter-bar-wrap::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 4px; width: 24px;
  background: linear-gradient(to right, transparent, var(--bg) 90%);
  pointer-events: none; opacity: 0;
}
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-bottom: 2px;
}
.chip {
  border: 1px solid var(--border-soft); background: #fff; color: var(--muted);
  font-size: .8125rem; font-weight: 500; line-height: 1;
  padding: 8px 15px; border-radius: 999px; cursor: pointer;
  white-space: nowrap; transition: all .15s;
}
.chip:hover { border-color: #d1d5db; color: var(--text); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 520px) {
  .filter-bar-wrap::after { opacity: 1; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; padding-right: 24px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; padding: 6px 12px; font-size: .75rem; }
  .chip.active { padding: 6px 12px; }
}

.catalog { display: flex; flex-direction: column; gap: 26px; }
.pg {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
}
.pg-title {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8125rem; font-weight: 600; color: var(--accent);
  background: var(--primary-soft); border-radius: 999px;
  padding: 5px 14px; margin: 0 0 16px;
}
.pg-title::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pg-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.pcard {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pcard:hover { border-color: #d1d5db; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pc-name { font-weight: 600; font-size: .9375rem; color: var(--text); line-height: 1.4; }
.pc-specs { display: flex; flex-direction: column; gap: 7px; }
.pc-spec { display: flex; gap: 8px; font-size: .8125rem; line-height: 1.5; }
.pc-k { flex: 0 0 76px; color: var(--muted); }
.pc-v { flex: 1; color: var(--text-2); word-break: break-word; }
.pc-note {
  font-size: .75rem; color: #e31519; background: rgba(227,21,25,.06);
  border-radius: var(--radius-sm); padding: 7px 10px; line-height: 1.5;
}
.pc-actions { margin-top: auto; display: flex; }
.btn-sm { padding: 7px 14px; font-size: .8125rem; }
@media (max-width: 520px) {
  /* 分组区块更紧凑 */
  .pg { padding: 14px 12px 18px; border-radius: var(--radius-sm); }
  .pg-title { margin-bottom: 14px; font-size: .8125rem; }
  /* 卡片单列 */
  .pg-items { grid-template-columns: 1fr; gap: 12px; }
  /* 卡片本体:去掉统一 gap,改用子元素间距,层级更清晰 */
  .pcard { padding: 14px 13px; gap: 0; }
  /* 标题行:产品名 + 类型徽标 同行(可换行),底部加分隔线 */
  .pc-head {
    flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 10px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border-soft);
  }
  .pc-name { font-size: 1rem; flex: 1; min-width: 0; }
  .pc-head .badge { flex: 0 0 auto; }
  /* 规格改两列网格,每项:标签在上、值在下,像一张规格表 */
  .pc-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; align-items: start; margin-top: 12px; min-width: 0; }
  /* 关键:网格项默认 min-width:auto,遇到超长不可断行的值(长 IP/MAC/URL)会把列撑出屏幕;
     必须 min-width:0 + 断词,才能正常收缩换行 */
  .pc-spec { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
  .pc-k { flex: none; font-size: .7rem; line-height: 1.3; min-width: 0; }
  .pc-v { font-size: .8125rem; color: var(--text); line-height: 1.4; overflow-wrap: break-word; word-break: break-word; min-width: 0; }
  /* 备注 */
  .pc-note { margin-top: 12px; padding: 8px 10px; font-size: .75rem; }
  /* 操作:整行主按钮,便于拇指点击 */
  .pc-actions { margin-top: 14px; }
  .pc-actions .btn {
    width: 100%; justify-content: center;
    padding: 10px 14px; min-height: 42px; font-size: .875rem;
    background: var(--primary); color: #fff; border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(79,70,229,.22);
  }
  .pc-actions .btn:active { transform: scale(.99); background: var(--primary-hover); border-color: var(--primary-hover); }
}

/* ================= 产品配置页 ================= */
.cfg-hero { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.cfg-head { margin-bottom: 14px; }
.cfg-name { font-size: 1.125rem; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.cfg-section { margin-top: 22px; }
.cfg-desc { font-size: .8125rem; color: var(--muted); margin: -8px 0 12px; }
.cfg-option { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; }
.cfg-opt-name { font-size: .8125rem; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.cfg-opt-values { display: flex; flex-wrap: wrap; gap: 7px; }
.cfg-tag { display: inline-flex; font-size: .75rem; color: var(--text-2); background: var(--border-soft); border-radius: 999px; padding: 4px 10px; }
.price-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.price-item {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-width: 0;
}
.price-item span { font-size: .8125rem; color: var(--muted); word-break: break-word; }
.price-item strong { font-size: 1rem; color: var(--primary); font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
  .price-list { grid-template-columns: 1fr; }
  .cfg-hero { padding: 14px 12px; }
  .cfg-option { padding: 12px; }
  .cfg-tag { padding: 4px 9px; }
}

/* ================= 危险按钮 ================= */
.btn-danger { color: var(--danger); border-color: rgba(239,68,68,.3); }
.btn-danger:hover { background: rgba(239,68,68,.06); border-color: var(--danger); color: var(--danger); }

footer.foot { flex-shrink: 0; text-align: center; color: var(--muted-2); font-size: .75rem; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }