/* ================= 基础 ================= */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --ink: #16181d;
  --muted: #6b7280;
  --line: #e7e9ee;
  --line-strong: #d6dae2;
  --brand: #16181d;
  --accent: #2f6bff;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --shadow-lift: 0 2px 6px rgba(16, 24, 40, .06), 0 18px 36px -16px rgba(16, 24, 40, .22);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#app { display: flex; flex-direction: column; flex: 1 0 auto; }

main { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
s { color: var(--muted); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.hidden { display: none !important; }
.spacer { flex: 1; }

/* ================= 顶栏 ================= */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .2px; }
.brand .mark { font-size: 20px; line-height: 1; }
.brand-logo { width: 30px; height: 30px; object-fit: contain; }
.pcover .cover-mark { width: 46%; max-width: 110px; height: auto; opacity: .95; }
.pd-cover .cover-mark { width: 42%; max-width: 220px; height: auto; opacity: .95; }
.avatar img { width: 100%; height: 100%; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px;
  color: var(--muted); transition: .16s; display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover { color: var(--ink); background: #f1f3f6; }
.nav a.on { background: #eef1f6; color: var(--ink); font-weight: 600; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 16px; transition: .16s; position: relative; color: var(--ink);
}
.icon-btn:hover { background: #f1f3f6; }
.badge {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
}
.lang-select {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 10px; font-size: 12.5px; color: var(--muted); outline: none;
}

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: var(--brand); color: #fff; transition: .16s; white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.btn.lg { height: 52px; padding: 0 30px; font-size: 15px; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: #f7f8fa; }
.btn.subtle { background: #f1f3f6; color: var(--ink); }
.btn.danger { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.btn.link { background: none; color: var(--muted); height: auto; padding: 0; }
.btn.link:hover { color: var(--ink); }

/* ================= 表单 ================= */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-strong); outline: none; transition: .16s;
}
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 24, 29, .06); }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
select.input { appearance: none; background-image: none; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.err { font-size: 12.5px; color: var(--danger); margin-top: 6px; }

/* ================= 卡片 ================= */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

.page { padding: 44px 0 80px; }
.narrow { max-width: 620px; margin: 0 auto; }

/* ================= Hero ================= */
.hero { padding: 56px 0 12px; }
.hero h1 { font-size: 40px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.hero p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* ================= 商品网格 ================= */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2 { font-size: 26px; letter-spacing: -.01em; font-weight: 750; }
.section-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.pcover {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 54px;
  position: relative; overflow: hidden;
}
.pcover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .28), transparent 60%);
}
.pbody { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.pcat { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; margin-bottom: 6px; }
.pname { font-size: 15.5px; font-weight: 650; line-height: 1.45; min-height: 45px; }
.pdesc {
  font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 24px; }
.ptag {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: #f2f4f7; color: #5b6472; border: 1px solid #e9ecf1;
}
.ptag.guest { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.ptag.auto { background: #eff6ff; color: #1d4ed8; border-color: #dbeafe; }
.ptag.stock { background: #f0fdf4; color: #15803d; border-color: #dcfce7; }
.pfoot { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; gap: 10px; }
.pmeta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--muted); min-height: 17px; }
.pmeta i { font-style: normal; opacity: .5; }
.st.ok { color: #15803d; }
.st.low { color: #c2410c; }
.st.out { color: #b91c1c; }

/* 公告弹窗 */
.notice-layer { position: fixed; inset: 0; z-index: 90; display: none; }
.notice-layer.on { display: block; }
.notice-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.notice-card {
  position: relative; max-width: 560px; margin: 8vh auto 0; background: #fff;
  border-radius: 16px; box-shadow: 0 24px 64px rgba(15, 23, 42, .25);
  max-height: 78vh; display: flex; flex-direction: column; overflow: hidden;
}
.notice-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.notice-head b { font-size: 16px; }
.notice-x { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.notice-body { padding: 16px 22px; overflow-y: auto; font-size: 13.5px; line-height: 1.85; color: #334155; }
.notice-body .nline.gap { height: 8px; }
.notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.notice-week { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* 客服浮层 */
.fab-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 80; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent, #2563eb); color: #fff; font-size: 22px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
}
.fab-panel {
  position: absolute; right: 0; bottom: 64px; width: 268px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift);
  padding: 14px; display: none; flex-direction: column; gap: 8px;
}
.fab-panel.open { display: flex; }
.fab-title { font-weight: 700; font-size: 14px; }
.fab-hint { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.fab-item {
  display: grid; grid-template-columns: 22px 70px 1fr; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 10px;
  font-size: 12.5px; color: inherit; cursor: pointer; text-align: left; text-decoration: none;
}
.fab-item:hover { border-color: var(--line-strong); background: #f8fafc; }
.fab-item .fv { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.fab-item .fl { font-weight: 600; }
@media (max-width: 640px) {
  .notice-card { margin: 4vh 12px 0; max-height: 84vh; }
  .fab-wrap { right: 14px; bottom: 14px; }
}
.price { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.price small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price s { font-size: 12px; font-weight: 400; margin-left: 8px; }
.cart-mini {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-size: 15px; transition: .16s; background: #fff;
}
.cart-mini:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ================= 商品中心 ================= */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; padding: 34px 0 60px; }
.side h3 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side a {
  display: block; padding: 9px 14px; border-radius: 10px; font-size: 13.5px;
  color: #4b5563; margin-bottom: 2px; transition: .14s;
}
.side a:hover { background: #eef1f6; color: var(--ink); }
.side a.on { background: var(--ink); color: #fff; font-weight: 600; }
.shop-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.shop-toolbar .input { max-width: 280px; height: 40px; }
.result-count { font-size: 13px; color: var(--muted); margin-left: auto; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination button {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; color: #4b5563;
}
.pagination button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ================= 商品详情 ================= */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 34px 0 60px; align-items: start; }
.detail-cover {
  aspect-ratio: 1 / 1; border-radius: 20px; display: grid; place-items: center;
  font-size: 96px; border: 1px solid var(--line);
}
.detail h1 { font-size: 30px; line-height: 1.3; letter-spacing: -.015em; font-weight: 780; }
.detail .sub { color: var(--muted); margin-top: 10px; font-size: 14px; }
.big-price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 4px; }
.big-price b { font-size: 34px; font-weight: 780; letter-spacing: -.02em; }
.big-price s { font-size: 14px; }
.big-price em { font-size: 11.5px; color: var(--muted); font-style: normal; }

.sku-block { margin: 24px 0 6px; }
.sku-block .label { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.skus { display: flex; flex-wrap: wrap; gap: 9px; }
.sku {
  padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: #fff; font-size: 13.5px; transition: .14s;
}
.sku:hover { border-color: #9aa3b2; }
.sku.on { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.sku:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 11px; overflow: hidden; height: 44px; }
.qty button { width: 42px; height: 100%; font-size: 17px; color: var(--muted); }
.qty button:hover { background: #f3f4f7; color: var(--ink); }
.qty span { width: 46px; text-align: center; font-weight: 650; }

.buy-row { display: flex; gap: 12px; margin-top: 22px; }
.hl-list { list-style: none; margin-top: 26px; display: grid; gap: 11px; }
.hl-list li { display: flex; gap: 10px; font-size: 13.5px; color: #3f4753; }
.hl-list li::before {
  content: "✓"; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: #ecfdf5; color: var(--ok); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: #4b5563; white-space: pre-wrap; line-height: 1.85; }

/* ================= 购物车 ================= */
.cart-page { padding: 34px 0 70px; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-line { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: none; }
.cart-thumb {
  width: 74px; height: 74px; border-radius: 14px; flex: 0 0 74px;
  display: grid; place-items: center; font-size: 30px; border: 1px solid var(--line);
}
.cart-info { flex: 1; min-width: 0; }
.cart-info h4 { font-size: 14px; font-weight: 620; }
.cart-info .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.summary h3 { font-size: 16px; margin-bottom: 18px; }
.sumrow { display: flex; justify-content: space-between; font-size: 13.5px; color: #4b5563; margin-bottom: 12px; }
.sumrow.total { font-size: 16px; color: var(--ink); font-weight: 700; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; }

/* ================= 结算步骤 ================= */
.steps { display: flex; gap: 10px; margin: 30px 0 34px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.step .n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #eef1f6; font-size: 11.5px; font-weight: 700; color: #8b93a1;
}
.step.on { color: var(--ink); font-weight: 600; }
.step.on .n { background: var(--ink); color: #fff; }
.step.done .n { background: #ecfdf5; color: var(--ok); }
.step-sep { color: var(--line-strong); }

/* ================= 订单 / 状态 ================= */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.status.pending { background: #fff7ed; color: var(--warn); }
.status.paid { background: #eff6ff; color: #1d4ed8; }
.status.delivered { background: #f0fdf4; color: var(--ok); }
.status.refunded { background: #fef2f2; color: var(--danger); }
.status.closed { background: #f3f4f7; color: var(--muted); }

.rows { margin-top: 4px; }
.row { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.row:last-child { border-bottom: none; }
.row span { color: var(--muted); }
.row b { font-weight: 600; text-align: right; word-break: break-all; }

.keybox { margin-top: 20px; padding: 18px; border-radius: 14px; background: #f0fdf4; border: 1px dashed #86efac; }
.keybox .label { font-size: 12px; color: var(--ok); font-weight: 600; margin-bottom: 9px; }
.keybox code {
  display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px;
  letter-spacing: .6px; word-break: break-all; color: #14532d; padding: 5px 0;
}
.pendingbox { margin-top: 18px; padding: 15px; border-radius: 12px; font-size: 13px; background: #fffbeb; border: 1px dashed #fcd34d; color: #92400e; }

/* ================= 支付页 ================= */
.paybox { text-align: center; padding: 8px 0 4px; }
.paybox .amount { font-size: 42px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.payitems { text-align: left; margin: 4px 0 12px; border-top: 1px solid var(--line, #e8e8e8); }
.payitem { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line, #e8e8e8); font-size: 14px; }
.payitem span { color: var(--muted, #666); }
.payitem b { white-space: nowrap; }
.qr {
  width: 176px; height: 176px; margin: 24px auto; border-radius: 16px;
  border: 1px solid var(--line);
  background: repeating-conic-gradient(#eceff4 0 25%, #fff 0 50%) 0 0 / 18px 18px;
  display: grid; place-items: center; font-size: 12px; color: var(--muted);
}
.sandbox-note {
  font-size: 12.5px; color: #92400e; background: #fffbeb;
  border: 1px solid #fde68a; border-radius: 12px; padding: 11px 15px; margin: 18px 0;
}

/* ================= 博客 ================= */
.blog-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-cover { height: 130px; display: grid; place-items: center; font-size: 40px; }
.post-body { padding: 18px; }
.post-body h3 { font-size: 15.5px; font-weight: 650; line-height: 1.5; }
.post-body p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.65; }
.post-meta { font-size: 12px; color: #9aa3b2; margin-top: 14px; }
.article { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.article h1 { font-size: 32px; line-height: 1.3; letter-spacing: -.02em; }
.article .content { margin-top: 28px; font-size: 15px; line-height: 1.95; color: #374151; white-space: pre-wrap; }

/* ================= 认证 ================= */
.auth-page { max-width: 420px; margin: 0 auto; padding: 56px 0 90px; }
.auth-page h1 { font-size: 26px; letter-spacing: -.01em; }
.auth-page .lead { color: var(--muted); margin: 8px 0 28px; font-size: 13.5px; }

/* ================= 后台 ================= */
.admin { padding: 30px 0 80px; }
.admin-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-tabs button {
  padding: 9px 16px; border-radius: 10px; font-size: 13.5px; color: var(--muted);
  border: 1px solid transparent;
}
.admin-tabs button.on { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 600; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.kpi b { display: block; font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line);
}
td { padding: 12px; border-bottom: 1px solid #f1f3f6; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* ================= 支付方式 ================= */
.payopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payopt {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #fff; transition: .16s; font-size: 13.5px;
}
.payopt:hover { border-color: #9aa3b2; }
.payopt.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,24,29,.06); }
.payopt .pi { font-size: 20px; line-height: 1; }
.payopt b { display: block; font-size: 14px; margin-bottom: 2px; }
.payopt .small { font-size: 11px; line-height: 1.45; white-space: nowrap; }

.qrimg {
  display: block; width: 200px; height: 200px; margin: 20px auto;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 8px;
}

.qrimg.poster { width: 260px; height: auto; padding: 0; border: none; background: transparent; }

.addrbox {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-top: 6px;
}
.addrbox code {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px;
  background: #f4f6f9; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; word-break: break-all; max-width: 100%;
}

/* ================= 商品详情（新版） ================= */
.pd { display: grid; grid-template-columns: 1fr 420px; gap: 26px; padding: 28px 0 10px; align-items: start; }
.pd-left { min-width: 0; }

.shopbar {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 16px;
}
.avatar { width: 42px; height: 42px; border-radius: 12px; background: #f2f4f7; display: grid; place-items: center; font-size: 20px; }
.sb-info b { font-size: 14px; }

.pd-cover {
  aspect-ratio: 1 / 1; border-radius: 16px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 110px; overflow: hidden;
}

.pd-tabs { display: flex; gap: 6px; margin: 16px 0 12px; }
.pd-tabs button { padding: 7px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid transparent; }
.pd-tabs button.on { background: #fff; border-color: var(--line); color: var(--ink); font-weight: 600; }

.param-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; }
.prow { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.prow:last-child { border-bottom: none; }
.prow span { color: var(--muted); }

.buycard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; position: sticky; top: 92px;
}
.buycard h1 { font-size: 21px; line-height: 1.4; font-weight: 750; letter-spacing: -.01em; }
.buycard .ptags { margin-top: 12px; }

.pdprice { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.pdprice b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pdprice s { font-size: 14px; color: var(--muted); }
.stock { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

.pd-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; margin-top: 4px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.pd-total b { font-size: 22px; color: var(--ink); letter-spacing: -.01em; }
.guarantee { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

.pd-desc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 24px 24px; margin-top: 26px; }
.desc-head { display: flex; gap: 22px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.desc-head b { font-weight: 700; }
.desc-body { margin-top: 18px; font-size: 13.5px; color: #4b5563; line-height: 1.95; }
.dline { margin: 5px 0; white-space: pre-wrap; }
.dl-gap { height: 11px; }
.dl-blue { color: #2563eb; }
.dl-red { color: #dc2626; }
.dl-big { color: #dc2626; font-size: 15.5px; font-weight: 650; margin: 8px 0; }

.warn { margin-top: 8px; font-size: 12px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 8px 10px; }

.pd-rec { margin-top: 24px; }
.rec-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 14px; }
.rec-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .18s; }
.rec-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rec-cover { height: 96px; display: grid; place-items: center; font-size: 34px; }
.rec-name { padding: 10px 12px 4px; font-size: 12.5px; line-height: 1.5; height: 52px; overflow: hidden; }
.rec-price { padding: 0 12px 12px; font-weight: 700; font-size: 14px; }

/* ================= 空状态 ================= */
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty .icon { font-size: 48px; margin-bottom: 16px; opacity: .5; }
.empty h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }

/* ================= Toast ================= */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 16px);
  background: #16181d; color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: .24s; z-index: 999;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b91c1c; }

/* ================= 页脚 ================= */
.footer { border-top: 1px solid var(--line); margin-top: 70px; background: #fff; }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 34px 24px 44px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.footer-inner a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ================= 骨架 ================= */
.skeleton {
  height: 300px; border-radius: var(--radius);
  background: linear-gradient(90deg, #eef0f4 25%, #f7f8fa 50%, #eef0f4 75%);
  background-size: 200% 100%; animation: sh 1.3s infinite;
}
@keyframes sh { to { background-position: -200% 0; } }

/* ================= 响应式 ================= */
@media (max-width: 980px) {
  .pd { grid-template-columns: 1fr; }
  .buycard { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .side { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .side h3 { display: none; }
  .side a { white-space: nowrap; margin-bottom: 0; }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 720px) {
  .nav a { padding: 7px 10px; font-size: 13px; }
  .nav a .lbl { display: none; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 21px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pcover { font-size: 40px; }
  .pname { font-size: 14px; min-height: auto; }
  .pdesc { display: none; }
  .detail h1 { font-size: 24px; }
  .detail-cover { font-size: 64px; }
  .article h1 { font-size: 25px; }
  .header-inner { height: 60px; gap: 12px; }
}

/* ============================ 卡密页 ============================ */
.deliver { padding-top: 36px; padding-bottom: 44px; }
.done-head { text-align: center; margin-bottom: 22px; }
.done-ic {
  width: 56px; height: 56px; border-radius: 50%; background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 12px;
}
.done-head h2 { font-size: 24px; margin: 0 0 6px; }
.kp-label { font-weight: 700; margin-bottom: 12px; font-size: 14px; }
.keyrow {
  display: flex; gap: 10px; align-items: center; background: #f8fafc;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.keyrow code { flex: 1; font: 600 15px/1.5 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.redeem-card { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.rc-title { font-weight: 700; margin-bottom: 10px; font-size: 14px; }
.rc-steps { margin: 0 0 16px 18px; padding: 0; color: #475569; font-size: 13.5px; line-height: 1.9; }
.rc-url { margin-top: 10px; font-size: 12px; color: var(--muted); word-break: break-all; text-align: center; }
.deliver-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.waitbox { text-align: center; padding: 26px 10px; }
.waitbox .no { margin-top: 8px; }
.spin {
  width: 28px; height: 28px; border: 3px solid #e2e8f0; border-top-color: #2563eb;
  border-radius: 50%; margin: 0 auto 14px; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Skill & tools edition — a quiet, tactile digital workbench. */
:root { --bg:#ffffff; --card:#fff; --ink:#1e302b; --muted:#6b7770; --line:#dfe5dc; --line-strong:#ccd5c9; --brand:#243b31; --accent:#3d6642; --radius:12px; --shadow:none; --shadow-lift:0 12px 30px -20px #253d3155; }
html { scroll-behavior:smooth; }
body { font-size:14px; }
.wrap,.header-inner,.footer-inner { max-width:1240px; padding-left:38px; padding-right:38px; }
.header { background:rgba(255,255,255,.92); backdrop-filter:blur(16px); }
/* 顶栏：首页顶部黑色、下滑后变浅色（刘 2026-11-19 要求恢复） */
.header.over-hero { background:rgba(10,10,10,.94); border-bottom-color:rgba(255,255,255,.08); }
.header.over-hero .brand-name { color:#fff; }
.header.over-hero .brand-name small { color:rgba(255,255,255,.62); }
.header.over-hero .nav a { color:rgba(255,255,255,.78); }
.header.over-hero .nav a:hover { color:#fff; background:rgba(255,255,255,.12); }
.header.over-hero .nav a.on { background:rgba(255,255,255,.16); color:#fff; }
.header.over-hero .lang-select { background:#161616; color:#fff; border-color:rgba(255,255,255,.28); }
.header.over-hero .header-tools .btn.ghost { border-color:rgba(255,255,255,.35); color:#fff; background:transparent; }
/* 正在装修中占位 */
.ys-renovating { text-align:center; padding:72px 20px; }
.ys-renovating-big { font-size:clamp(24px,4vw,34px); font-weight:800; letter-spacing:.06em; }
.ys-renovating p { margin-top:12px; color:var(--muted); font-size:14px; }
.header-inner { height:86px; gap:28px; }
.brand { gap:11px; flex-shrink:0; }
.brand-logo { width:39px; height:39px; background:#fff; border-radius:10px; padding:2px; }
.brand-name { font-size:18px; letter-spacing:-.5px; line-height:1.35; }
.brand-name small { display:block; font-size:8px; letter-spacing:2.3px; font-weight:600; margin-top:3px; color:var(--muted); }
.nav a { font-size:13px; border-radius:6px; padding:8px 11px; }
.nav a.on { background:#e7ecdf; }
.nav a:hover { background:#e9ede4; }
.lang-select { background:transparent; border:0; max-width:100px; }
.btn { border-radius:7px; height:44px; font-weight:600; letter-spacing:.1px; }
.btn.lg { height:50px; font-size:14px; padding:0 23px; }
.btn svg { width:20px; height:20px; margin-left:10px; }
.btn.ghost { background:transparent; }
.header-tools .btn { height:35px; border-radius:6px; }
.eyebrow { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:10px; letter-spacing:1.6px; font-weight:500; display:flex; align-items:center; gap:9px; color:#617266; }
.green-dot { width:6px; height:6px; border-radius:50%; background:#5d8c44; box-shadow:0 0 0 4px #e6efdf; }
.studio-hero { padding:74px 0 70px; display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:center; }
.hero-copy h1 { font-size:clamp(42px,4.6vw,64px); font-weight:650; letter-spacing:-3px; line-height:1.25; margin:26px 0 23px; }
.hero-copy h1 span { position:relative; z-index:0; white-space:nowrap; }
.hero-copy h1 span:after { content:''; position:absolute; z-index:-1; height:16px; background:#d2e9ad; bottom:3px; left:-2px; right:-2px; transform:rotate(-2deg); }
.hero-copy>p { color:var(--muted); font-size:14px; line-height:1.95; }
.hero-actions { display:flex; gap:24px; align-items:center; margin-top:30px; flex-wrap:wrap; }
.hero-secondary { font-size:13px; border-bottom:1px solid #a8b5a3; padding-bottom:4px; }
.hero-note { font-size:11px; color:#7f897e; margin-top:22px; }
.workbench { position:relative; min-height:370px; border:1px solid #d5ddcc; border-radius:13px; background-color:#eaf0e2; background-image:linear-gradient(#bdcbb433 1px,transparent 1px),linear-gradient(90deg,#bdcbb433 1px,transparent 1px); background-size:23px 23px; transform:rotate(1.2deg); }
.wb-top { height:40px; display:flex; align-items:center; justify-content:space-between; padding:0 18px; border-bottom:1px solid #cad5be; font:8px ui-monospace,monospace; letter-spacing:1.5px; color:#6b7f60; }
.wb-top>span:first-child { display:flex; gap:5px; }
.wb-top i { display:block; width:5px; height:5px; background:#a8b59a; border-radius:50%; }
.wb-paper { position:relative; margin:28px 64px 31px 36px; padding:25px; background:#fffffb; border:1px solid #dbe1d2; box-shadow:8px 9px 0 #bccbaa33; transform:rotate(-4deg); }
.paper-label { font:8px ui-monospace,monospace; color:#8c9686; letter-spacing:2px; }
.paper-title { font-size:28px; letter-spacing:-1px; line-height:1.4; margin:14px 0; }
.paper-line { height:3px; width:88%; background:#e8eddf; margin:7px 0; }
.paper-line.short { width:60%; margin-bottom:23px; }
.wb-task { border-top:1px solid #edf0e8; padding:9px 0; font-size:11px; display:flex; align-items:center; gap:12px; }
.wb-task>span { font:9px ui-monospace,monospace; color:#8d9c83; }
.wb-task>b { margin-left:auto; font-weight:400; color:#63873e; }
.floating-skill { position:absolute; bottom:62px; right:-15px; background:#243b31; color:#e9f3dc; border:1px solid #456247; border-radius:9px; display:flex; align-items:center; gap:14px; padding:16px 19px; box-shadow:0 12px 20px -15px #1e302baa; transform:rotate(4deg); }
.floating-skill>svg { width:29px; height:29px; color:#d3ecaa; }
.floating-skill span { font:13px ui-monospace,monospace; }
.floating-skill small { display:block; font-size:7px; letter-spacing:1.2px; margin-top:6px; color:#a9bba1; }
.floating-skill>b { font-size:24px; font-weight:300; margin-left:12px; }
.wb-stamp { position:absolute; top:72px; right:-17px; border:1px solid #a2b28c; background:#d3e9ad; padding:12px 13px; transform:rotate(8deg); font:8px/1.6 ui-monospace,monospace; letter-spacing:1px; }
.wb-stamp span { display:block; font-size:30px; line-height:1; margin-top:8px; }
.collection-strip { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; color:#788472; font:9px ui-monospace,monospace; letter-spacing:1px; }
.collection-strip>span:nth-child(2) { font-family:inherit; font-size:11px; }
.section { padding:62px 0; }
.section-head { align-items:flex-end; margin-bottom:27px; gap:18px; }
.section-head h2,.tool-banner h2,.studio-faq h2,.upcoming-description h2 { font-size:29px; letter-spacing:-.9px; font-weight:600; line-height:1.4; margin:12px 0 9px; }
.section-head p { font-size:12px; color:var(--muted); }
.text-link { font-size:12px; color:var(--ink); padding-bottom:3px; }
a.text-link:hover,.text-link:hover { text-decoration:underline; text-underline-offset:5px; }
.grid.studio-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.pcard { border:1px solid var(--line); border-radius:10px; box-shadow:none; overflow:hidden; background:#fff; transition:transform .2s,border-color .2s; }
.pcard:hover { transform:translateY(-4px); border-color:#a2b38b; box-shadow:var(--shadow-lift); }
.pcover { position:relative; height:175px; min-height:0; padding:17px; display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; overflow:hidden; border-bottom:1px solid #d5ddce55; }
.cover-kicker { display:flex; justify-content:space-between; font:8px ui-monospace,monospace; letter-spacing:1.2px; color:#3a4d3a; }
.cover-symbol { display:grid; place-items:center; flex:1; color:#3a4e3c; }
.cover-symbol svg { height:67px; width:67px; }
.cover-caption { font:5.5px ui-monospace,monospace; letter-spacing:.8px; color:#53654f; white-space:nowrap; }
.pbody { padding:19px 17px 15px; }
.pcat { display:flex; justify-content:space-between; align-items:center; font:8px ui-monospace,monospace; letter-spacing:1px; margin-bottom:11px; color:#7d897b; }
.launch-label { display:inline-block; border:1px solid #dce4d4; background:#f4f6ef; color:#698057; border-radius:4px; padding:3px 6px; font:9px/1.3 inherit; letter-spacing:0; }
.pname { font-size:15px; font-weight:600; line-height:1.6; height:auto; min-height:24px; }
.pdesc { font-size:11px; margin-top:9px; color:#7b8479; min-height:40px; line-height:1.8; }
.ptags { gap:5px; margin-top:12px; }
.ptag { border:0; border-radius:3px; font-size:9px; padding:3px 6px; background:#f2f4ee; color:#6a7666; }
.pfoot { border-top:1px solid #edf0e7; margin-top:19px; padding-top:14px; gap:8px; }
.price { font-size:11px; color:#7c8775; font-weight:400; }
.card-more { font-size:10px; color:#354e35; }
.tool-banner { display:grid; grid-template-columns:.8fr 1fr; align-items:center; gap:50px; padding:46px 70px; border:1px solid #d9e0cc; background:#eef2e6; border-radius:11px; }
.tool-banner-art { display:flex; align-items:center; justify-content:center; gap:25px; color:#486040; min-height:210px; }
.tool-banner-art>svg { width:65px; height:65px; }
.tool-banner-art>span { font:110px Georgia,serif; letter-spacing:-12px; }
.tool-banner h2 { margin:15px 0; font-size:32px; }
.tool-banner p { color:#74816b; font-size:12px; max-width:360px; line-height:1.9; margin-bottom:23px; }
.guide-row { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.guide-row>a { display:block; border-top:1px solid #ccd7c5; padding:23px 0; position:relative; }
.guide-row span { font:9px ui-monospace,monospace; color:#7f8e76; letter-spacing:1px; }
.guide-row h3 { font-size:18px; font-weight:500; margin-top:14px; padding-right:35px; }
.guide-row b { position:absolute; right:0; bottom:23px; font-size:22px; font-weight:400; }
.studio-faq { border-top:1px solid var(--line); padding:45px 0 65px; display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; }
.studio-faq h2 { font-size:24px; }
.faq-list details { border-bottom:1px solid var(--line); padding:16px 0; }
.faq-list summary { cursor:pointer; font-size:13px; }
.faq-list p { color:var(--muted); padding:13px 0 0; font-size:12px; line-height:1.9; }
.footer { background:#f0f3eb; border-top:1px solid var(--line); padding:36px 0; margin-top:0; }
.footer-inner { display:flex; gap:30px; justify-content:space-between; align-items:flex-start; }
.footer-brand b { font-size:19px; font-weight:600; }
.footer-brand p { font-size:11px; margin:9px 0; color:#7a8575; }
.footer-brand small { font-size:9px; color:#8b9487; }
.footer-links { max-width:430px; justify-content:flex-end; font-size:10px; gap:13px; padding-top:5px; }
.fab { background:#243b31; }
.upcoming-page { padding-top:35px; padding-bottom:65px; }
.upcoming-layout { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; margin:30px 0 60px; }
.upcoming-art { min-height:355px; padding:30px; display:flex; flex-direction:column; justify-content:space-between; border-radius:12px; }
.upcoming-art .cover-kicker { font-size:11px; }
.upcoming-art .cover-symbol svg { height:140px; width:140px; }
.upcoming-art .cover-caption { font-size:8px; }
.upcoming-copy>.launch-label { margin:20px 0 12px; }
.upcoming-copy h1 { font-size:34px; letter-spacing:-1.2px; line-height:1.35; margin:7px 0 15px; }
.upcoming-sub { color:var(--muted); font-size:14px; line-height:1.8; }
.upcoming-highlights { display:flex; flex-wrap:wrap; gap:9px; margin:24px 0; }
.upcoming-highlights>span { font-size:11px; padding:6px 9px; border:1px solid var(--line); border-radius:4px; }
.upcoming-info { font-size:12px; line-height:1.9; color:#7b8575; border-top:1px solid var(--line); padding-top:18px; margin-bottom:22px; }
.request-link { display:block; margin-top:17px; }
.upcoming-description { max-width:760px; border-top:1px solid var(--line); padding-top:30px; }
.upcoming-description .dline { color:#6b7866; font-size:13px; line-height:2; }
.shop-layout { padding-top:35px; padding-bottom:50px; }
.shop-side { background:transparent; box-shadow:none; }
.shop-side h3 { font-size:10px; letter-spacing:1.5px; }
.blog-grid { padding-bottom:30px; }
.post-card { box-shadow:none; border-color:var(--line); }
.pd-cover { min-height:280px; max-height:360px; }
.pd { gap:30px; }
.tools-page { padding-top:55px; padding-bottom:65px; }
.tools-page h1 { font-size:43px; font-weight:600; letter-spacing:-1.5px; margin:17px 0 9px; }
.page-intro { font-size:13px; color:var(--muted); }
.tools-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:25px; margin-top:30px; }
.editor-card { background:#fff; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.editor-head,.editor-status { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:16px 20px; }
.editor-head { border-bottom:1px solid var(--line); font-size:12px; }
.editor-status { border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
#workText { display:block; resize:vertical; min-height:370px; width:100%; padding:22px; border:0; outline:none; font:14px/1.9 ui-monospace,'PingFang SC',monospace; color:var(--ink); background:#fff; }
#workText::placeholder { color:#a2ab9b; }
.text-stats { display:grid; grid-template-columns:1fr 1fr; gap:15px; padding:20px; background:#eaf0e1; border-radius:10px; margin-bottom:24px; }
.text-stats b { display:block; font:26px ui-monospace,monospace; }
.text-stats span { font-size:10px; color:#78876e; }
.tools-sidebar h3 { font-size:12px; font-weight:500; margin-bottom:9px; }
.tool-action { display:flex; align-items:center; justify-content:space-between; width:100%; padding:12px 0; font-size:11px; border-bottom:1px solid var(--line); text-align:left; }
.tool-action:disabled { opacity:.4; cursor:default; }
.tool-exports { display:grid; gap:9px; margin-top:21px; }
.tool-footnote { font-size:11px; color:var(--muted); margin-top:17px; }
:focus-visible { outline:2px solid #608149; outline-offset:4px; }
@media (min-width:1500px) { .studio-hero { padding-top:88px; padding-bottom:85px; } }
@media (max-width:1050px) {
  .wrap,.header-inner,.footer-inner { padding-left:26px; padding-right:26px; }
  .header-inner { gap:14px; }.nav { gap:1px; margin-left:0; }.nav a { padding:7px 8px; font-size:12px; }
  .studio-hero { gap:35px; }.hero-copy h1 { font-size:46px; }.workbench { min-height:340px; }.wb-paper { margin-right:44px; padding:20px; }.floating-skill { right:-8px; padding:14px; }
  .grid.studio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.pcover { height:190px; }.cover-caption { font-size:7px; }
  .tool-banner { padding:35px; gap:30px; }.tool-banner-art>span { font-size:90px; }.upcoming-layout { gap:35px; }
}
@media (max-width:700px) {
  .wrap,.header-inner,.footer-inner { padding-left:20px; padding-right:20px; }
  .header-inner { height:auto; min-height:77px; padding-top:14px; padding-bottom:12px; gap:9px 12px; flex-wrap:wrap; }
  .brand-logo { width:30px; height:30px; }.brand-name { font-size:16px; }.brand-name small { font-size:7px; }
  .header-tools { margin-left:auto; }.header-tools .btn { font-size:10px; padding:0 9px; height:30px; }.lang-select { padding:5px 2px; max-width:72px; font-size:10px; }
  .nav { order:3; width:100%; display:flex; justify-content:space-between; gap:2px; padding-top:6px; }.nav a { font-size:11px; padding:6px 9px; }
  .studio-hero { grid-template-columns:1fr; padding:37px 0 34px; gap:40px; }.hero-copy h1 { font-size:45px; margin-top:24px; letter-spacing:-2px; }.hero-copy>p { font-size:12px; }.hero-actions { gap:18px; }.btn.lg { font-size:12px; padding:0 16px; height:45px; }.hero-secondary { font-size:11px; }.hero-note { font-size:10px; }
  .workbench { margin:0 12px 10px 0; min-height:340px; }.wb-paper { margin-left:28px; margin-right:54px; }.paper-title { font-size:26px; }.floating-skill { bottom:48px; }.wb-stamp { right:-12px; }
  .collection-strip { gap:10px; flex-wrap:wrap; font-size:7px; padding:14px 0; }.collection-strip>span:nth-child(2) { font-size:9px; }.collection-strip>span:last-child { display:none; }
  .section { padding:35px 0; }.section-head { align-items:flex-start; }.section-head h2 { font-size:24px; }.section-head p { font-size:11px; max-width:280px; }.section-head>.text-link { font-size:10px; white-space:nowrap; margin-top:31px; }
  .grid.studio-grid { gap:12px; }.pcover { height:145px; padding:13px; }.cover-caption { font-size:4px; letter-spacing:.3px; }.cover-symbol svg { height:52px; width:52px; }.cover-kicker { font-size:7px; }.pbody { padding:13px; }.pcat { font-size:6px; letter-spacing:.5px; }.launch-label { font-size:8px; }.pname { font-size:13px; min-height:40px; }.pdesc { font-size:10px; min-height:50px; }.ptag { font-size:8px; }.pfoot { margin-top:15px; padding-top:12px; flex-wrap:wrap; }.price,.card-more { font-size:9px; }
  .tool-banner { grid-template-columns:1fr; padding:28px; gap:15px; }.tool-banner-art { min-height:100px; justify-content:flex-start; gap:27px; }.tool-banner-art>span { font-size:85px; }.tool-banner-art>svg { width:50px; height:50px; }.tool-banner h2 { font-size:27px; }
  .guide-row { grid-template-columns:1fr; gap:0; }.guide-row h3 { font-size:17px; }.studio-faq { grid-template-columns:1fr; gap:14px; padding-bottom:35px; }.studio-faq h2 { font-size:22px; }
  .footer-inner { flex-direction:column; gap:24px; }.footer-links { justify-content:flex-start; font-size:10px; }
  .upcoming-page { padding-top:25px; }.upcoming-layout { grid-template-columns:1fr; gap:30px; margin:24px 0 40px; }.upcoming-art { min-height:270px; padding:24px; }.upcoming-art .cover-symbol svg { width:100px; height:100px; }.upcoming-art .cover-caption { font-size:6px; }.upcoming-copy h1 { font-size:30px; }.upcoming-copy>.launch-label { margin-top:12px; }
  .tools-page { padding-top:35px; }.tools-page h1 { font-size:35px; }.tools-layout { grid-template-columns:1fr; gap:22px; }#workText { min-height:270px; padding:17px; font-size:13px; }.text-stats { grid-template-columns:repeat(4,1fr); gap:8px; }.text-stats b { font-size:22px; }.text-stats span { font-size:9px; }.tools-sidebar { padding-bottom:10px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { transition:none!important; animation:none!important; } }

.nav a .lbl { display:inline; }
.side { background:transparent; border-color:var(--line); box-shadow:none; border-radius:8px; }
.side h3 { font-size:10px; letter-spacing:1.5px; color:var(--muted); }
.pdesc { display:block; }
.launch-label { font-family:inherit; font-size:9px; line-height:1.3; }

/* ================= 首页 · 影视飓风风格（2026-11-17） ================= */
.ys-home { background:#fff; color:#111; }
.ys-wrap { max-width:none; margin:0 auto; padding-left:32px; padding-right:32px; }
/* Hero：全屏视频，视频未提供时为纯黑底 */
.ys-hero { position:relative; height:100vh; height:100svh; background:#000; overflow:hidden; }
.ys-hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ys-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.28), transparent 32%, transparent 58%, rgba(0,0,0,.42)); pointer-events:none; }
.ys-hero-title { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; font-size:clamp(54px,9vw,116px); font-weight:800; font-style:italic; letter-spacing:-.03em; text-align:center; padding:0 20px; transition:opacity .9s ease; pointer-events:none; }
/* Cormorant Garamond 斜体自托管：不依赖 Google Fonts，国内访问也不卡 */
@font-face {
  font-family:'Cormorant Garamond';
  font-style:italic;
  font-weight:500 600;
  font-display:swap;
  src:url('/fonts/cormorant-garamond-italic.woff2') format('woff2');
}
.ys-hero-title-en { display:block; margin-top:8px; font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-size:clamp(18px,3vw,30px); font-weight:500; font-style:italic; letter-spacing:.3em; text-indent:.3em; opacity:.92; }
.ys-hero-title.is-en { font-size:clamp(36px,6.5vw,84px); }
.ys-hero.is-playing .ys-hero-title { opacity:0; }
.ys-hero-caption { display:flex; justify-content:space-between; max-width:none; margin:0 auto; padding:26px 32px 0; font-size:11px; letter-spacing:3px; color:#666; }
/* 板块 */
.ys-section { padding:110px 0 30px; }
.ys-head { display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; margin-bottom:34px; }
.ys-eyebrow { font-size:11px; letter-spacing:4px; color:#999; margin-bottom:14px; }
.ys-head h2 { font-size:clamp(28px,3.4vw,44px); font-weight:800; letter-spacing:-.02em; line-height:1.2; }
.ys-head p { color:#777; font-size:13px; margin-top:10px; }
.ys-more { font-size:13px; color:#111; white-space:nowrap; padding-bottom:0; margin-top:10px; }
.ys-more:hover { text-decoration:underline; text-underline-offset:4px; }
/* 横向滚动轨道 */
.ys-track { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:6px 2px 18px; }
.ys-track::-webkit-scrollbar { display:none; }
/* 视频卡片 */
.ys-carousel { position:relative; }
.ys-video-card { flex:0 0 300px; scroll-snap-align:start; display:block; }
.ys-video-cover { position:relative; aspect-ratio:9/16; border-radius:20px; overflow:hidden; background-size:cover; background-position:center; display:flex; align-items:flex-end; padding:20px; }
.ys-video-cover--ph { background:linear-gradient(135deg,#1a1a1a,#3d3d3d); }
.ys-ph-1 { background:linear-gradient(135deg,#222,#4a4a48); }
.ys-ph-2 { background:linear-gradient(135deg,#141414,#2c2c34); }
.ys-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:56px; height:56px; border-radius:50%; background:rgba(255,255,255,.92); color:#111; display:grid; place-items:center; font-size:18px; padding-left:4px; transition:opacity .25s ease; }
/* 悬停预览：鼠标放上自动静音播放，移开停住回到开头（刘 2026-11-25：学影视飓风） */
.ys-video-preview { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#000; opacity:0; transition:opacity .25s ease; pointer-events:none; }
.ys-video-card.is-previewing .ys-video-preview { opacity:1; }
.ys-video-card.is-previewing .ys-play { opacity:0; }
.ys-video-title { color:#fff; font-size:clamp(16px,1.5vw,20px); font-weight:800; letter-spacing:-.01em; line-height:1.35; position:relative; }
.ys-video-body { padding:18px 6px 0; }
.ys-video-name { font-size:17px; font-weight:700; }
.ys-video-sub { font-size:12.5px; color:#999; margin-top:6px; }
.ys-arrow { position:absolute; top:42%; z-index:2; width:48px; height:48px; border-radius:50%; background:#fff; border:1px solid #e5e5e5; box-shadow:0 6px 20px rgba(0,0,0,.10); font-size:22px; line-height:1; display:grid; place-items:center; cursor:pointer; }
.ys-arrow.prev { left:10px; }
.ys-arrow.next { right:10px; }
.ys-video-card { cursor:pointer; }
/* 站内播放弹层 */
.ys-video-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; }
.ys-video-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.85); }
.ys-video-modal-box { position:relative; width:min(400px,92vw); }
/* 横屏视频的弹窗放宽到 1000px（竖屏保持 400px） */
.ys-video-modal-box--wide { width:min(1000px,94vw); }
.ys-video-modal-box video { width:100%; max-height:82vh; display:block; border-radius:16px; background:#000; }
.ys-video-modal-close { position:absolute; top:-46px; right:0; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.16); color:#fff; border:0; font-size:20px; line-height:1; cursor:pointer; }
.ys-video-modal-meta { display:flex; align-items:baseline; gap:10px; margin-top:14px; color:#fff; font-size:13px; flex-wrap:wrap; }
.ys-video-modal-meta b { font-size:15px; }
.ys-video-modal-meta span { color:rgba(255,255,255,.65); }
.ys-video-modal-meta a { color:#fff; text-decoration:underline; text-underline-offset:3px; margin-left:auto; }
/* 商品横行 */
.ys-shop-track { scroll-snap-type:x proximity; }
.ys-shop-card { flex:0 0 270px; scroll-snap-align:start; display:block; }
.ys-shop-cover { aspect-ratio:4/3; border-radius:16px; background:#f5f5f5; overflow:hidden; display:grid; place-items:center; position:relative; }
/* 实拍封面图：铺满卡片，悬停轻轻放大（刘 2026-11-20：Skill 卡片要图片感 + 悬停放大） */
.ys-shop-cover-img { width:100%; height:100%; background-size:cover; background-position:center; transition:transform .45s ease; }
.ys-shop-card:hover .ys-shop-cover-img { transform:scale(1.05); }
/* 商品网格卡片的实拍封面图（同款悬停放大） */
.pcover-img { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .45s ease; }
.pcard:hover .pcover-img { transform:scale(1.05); }
/* 视频复刻 Skill 专属详情页（2026-11-28） */
.skd-shell { background:#f5f5f7; color:#1d1d1f; padding-bottom:84px; }
.wrap.skd { max-width:1360px; padding:24px 28px 0; }
.skd-crumb { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.skd-back { font-size:13px; color:#0071e3; font-weight:500; text-decoration:none; }
.skd-back:hover { text-decoration:underline; }
.skd-ver-pill { display:inline-flex; align-items:center; gap:7px; padding:5px 12px; border-radius:999px; background:rgba(255,255,255,.86); border:1px solid rgba(0,0,0,.08); font-size:12px; font-weight:600; color:#1d1d1f; }
.skd-ver-pill i { width:7px; height:7px; border-radius:50%; background:#30d158; box-shadow:0 0 0 3px rgba(48,209,88,.18); }

.skd-hero-stage { text-align:center; max-width:860px; margin:40px auto 36px; }
.skd-hero-eyebrow { font-size:12px; font-weight:650; letter-spacing:.12em; color:#0071e3; text-transform:uppercase; }
.skd-hero-title { font-size:clamp(34px,4.5vw,56px); font-weight:750; letter-spacing:-.035em; line-height:1.1; color:#1d1d1f; margin:12px 0 16px; }
.skd-hero-sub { font-size:clamp(15px,1.5vw,19px); color:#6e6e73; line-height:1.65; margin:0 auto; max-width:740px; }
.skd-hero-cta { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:26px; flex-wrap:wrap; }
.skd-btn-primary { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:12px 26px; border-radius:999px; background:#0071e3; color:#fff; font-size:14.5px; font-weight:600; text-decoration:none; transition:background .18s ease, transform .14s ease; }
.skd-btn-primary:hover { background:#0077ed; color:#fff; transform:translateY(-1px); }
.skd-btn-secondary { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:12px 24px; border-radius:999px; background:#fff; color:#1d1d1f; border:1px solid rgba(0,0,0,.14); font-size:14.5px; font-weight:600; text-decoration:none; transition:border-color .18s ease, background .18s ease; }
.skd-btn-secondary:hover { border-color:#0071e3; color:#0071e3; background:#f8fbff; }
.skd-hero-meta { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 20px; margin-top:18px; font-size:12.5px; color:#86868b; }
.skd-hero-meta span { position:relative; }

.skd-eyebrow { font-size:11.5px; font-weight:650; letter-spacing:.1em; color:#0071e3; text-transform:uppercase; }
.skd-eyebrow-light { color:#64d2ff; }
.skd-desc { font-size:14.5px; color:#6e6e73; line-height:1.65; margin:8px 0 0; max-width:760px; }

/* Interactive Workbench Showcase Stage */
.skd-stage { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:28px; padding:30px; box-shadow:0 12px 40px rgba(0,0,0,.05); }
.skd-stage-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; margin-bottom:22px; }
.skd-stage-copy { max-width:720px; }
.skd-stage-copy h2 { font-size:clamp(22px,2.3vw,30px); font-weight:700; letter-spacing:-.025em; margin:6px 0 0; color:#1d1d1f; }
.skd-proj-tabs { display:flex; gap:8px; flex-wrap:wrap; }
.skd-proj-tab { appearance:none; text-align:left; border:1px solid rgba(0,0,0,.09); background:#f5f5f7; border-radius:14px; padding:10px 14px; cursor:pointer; transition:all .18s ease; }
.skd-proj-tab b { display:block; font-size:13px; font-weight:650; color:#1d1d1f; }
.skd-proj-tab span { display:block; font-size:11.5px; color:#6e6e73; margin-top:2px; }
.skd-proj-tab:hover { border-color:rgba(0,113,227,.35); background:#fff; }
.skd-proj-tab.active { background:#1d1d1f; border-color:#1d1d1f; box-shadow:0 6px 18px rgba(0,0,0,.14); }
.skd-proj-tab.active b { color:#fff; }
.skd-proj-tab.active span { color:#a1a1a6; }

.skd-window { border-radius:20px; overflow:hidden; border:1px solid rgba(0,0,0,.12); background:#0e0e12; box-shadow:0 24px 64px rgba(0,0,0,.14); }
.skd-winbar { height:44px; padding:0 16px; background:#1c1c20; border-bottom:1px solid rgba(255,255,255,.10); display:grid; grid-template-columns:80px minmax(0,1fr) auto; align-items:center; gap:12px; }
.skd-dots { display:flex; align-items:center; gap:7px; }
.skd-dots i { width:11px; height:11px; border-radius:50%; display:block; }
.skd-dots i:nth-child(1) { background:#ff5f56; }
.skd-dots i:nth-child(2) { background:#ffbd2e; }
.skd-dots i:nth-child(3) { background:#27c93f; }
.skd-wintitle { text-align:center; font-size:12px; color:#a1a1a6; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.skd-winopen { font-size:12px; color:#64d2ff; font-weight:600; text-decoration:none; white-space:nowrap; }
.skd-winopen:hover { text-decoration:underline; }
.skd-bench { width:100%; height:960px; border:0; display:block; background:#f5f5f7; }
.skd-pane[hidden] { display:none; }
.skd-pane-pad { padding:28px; background:#141418; color:#f5f5f7; }
.skd-preview-pair { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:780px; margin:0 auto; }
.skd-preview-single { max-width:420px; margin:0 auto; }
.skd-preview-pair figure, .skd-preview-single figure { margin:0; }
.skd-preview-pair img, .skd-preview-single img { width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:14px; display:block; background:#050507; border:1px solid rgba(255,255,255,.10); }
.skd-preview-pair figcaption, .skd-preview-single figcaption { font-size:12.5px; color:#a1a1a6; margin-top:10px; text-align:center; }

/* Sections & Bento Cards */
.skd-sec { margin-top:64px; }
.skd-sec-head h2 { font-size:clamp(24px,2.6vw,34px); font-weight:700; letter-spacing:-.028em; margin:8px 0 0; color:#1d1d1f; }
.skd-modes-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:24px; }
.skd-mode-card { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:24px; padding:28px 30px; box-shadow:0 4px 20px rgba(0,0,0,.035); }
.skd-mode-num { display:inline-block; font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace; color:#0071e3; background:rgba(0,113,227,.10); padding:4px 10px; border-radius:999px; }
.skd-mode-card h3 { font-size:21px; font-weight:700; letter-spacing:-.02em; margin:14px 0 10px; color:#1d1d1f; }
.skd-mode-card p { font-size:14.5px; color:#6e6e73; line-height:1.7; margin:0; }
.skd-mode-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.skd-mode-tags span { font-size:12px; font-weight:600; color:#1d1d1f; background:#f5f5f7; border-radius:999px; padding:5px 12px; }

.skd-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:32px; }
.skd-stat { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:20px; padding:22px 24px; box-shadow:0 2px 12px rgba(0,0,0,.03); }
.skd-stat b { display:block; font-size:28px; font-weight:750; letter-spacing:-.03em; color:#1d1d1f; font-variant-numeric:tabular-nums; }
.skd-stat span { display:block; font-size:13px; color:#6e6e73; margin-top:6px; line-height:1.5; }

/* Dark Obsidian Cinema Showcase */
.skd-dark-stage { background:#0b0b0e; color:#f5f5f7; border-radius:28px; padding:44px 36px; box-shadow:0 20px 54px rgba(0,0,0,.18); }
.skd-dark-stage .skd-sec-head h2 { color:#fff; }
.skd-strip { display:grid; grid-template-columns:repeat(9,1fr); gap:10px; margin-top:26px; }
.skd-strip figure { margin:0; }
.skd-strip img { width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:12px; display:block; background:#1c1c20; border:1px solid rgba(255,255,255,.10); transition:transform .25s ease; }
.skd-strip figure:hover img { transform:scale(1.03); }
.skd-strip figcaption { display:flex; justify-content:space-between; font-size:11px; color:#8e8e93; margin-top:7px; padding:0 2px; font-variant-numeric:tabular-nums; }
.skd-strip figcaption b { color:#f5f5f7; font-weight:600; }

.skd-whitemodel { display:grid; grid-template-columns:1.1fr .9fr; gap:36px; margin-top:40px; padding-top:36px; border-top:1px solid rgba(255,255,255,.10); align-items:center; }
.skd-wm-copy h3 { font-size:24px; font-weight:700; letter-spacing:-.02em; color:#fff; margin:8px 0 12px; }
.skd-wm-copy p { font-size:14.5px; color:#a1a1a6; line-height:1.7; margin:0; }
.skd-wm-points { margin:18px 0 0; padding:0; list-style:none; display:grid; gap:10px; }
.skd-wm-points li { position:relative; padding-left:18px; font-size:13.5px; color:#e5e5ea; line-height:1.6; }
.skd-wm-points li::before { content:''; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background:#0a84ff; }
.skd-clay { margin:0 auto; max-width:440px; }
.skd-clay video { width:100%; border-radius:16px; display:block; background:#000; border:1px solid rgba(255,255,255,.14); box-shadow:0 16px 40px rgba(0,0,0,.45); }
.skd-clay figcaption { font-size:12px; color:#8e8e93; margin-top:10px; text-align:center; }

/* Roles Roster */
.skd-roles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.skd-role-card { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:20px; padding:22px 24px; box-shadow:0 2px 12px rgba(0,0,0,.03); }
.skd-role-card b { display:block; font-size:16px; font-weight:700; color:#1d1d1f; }
.skd-role-card p { font-size:13.5px; color:#6e6e73; margin:8px 0 0; line-height:1.65; }

/* Comparison Table */
.skd-table-wrap { margin-top:24px; background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:22px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.035); }
.skd-table { width:100%; border-collapse:collapse; font-size:14px; }
.skd-table th, .skd-table td { text-align:left; padding:16px 20px; border-bottom:1px solid rgba(0,0,0,.06); vertical-align:top; line-height:1.6; }
.skd-table tr:last-child td { border-bottom:0; }
.skd-table th { font-size:12.5px; color:#86868b; font-weight:600; background:#fafafa; }
.skd-table td:first-child { color:#1d1d1f; font-weight:600; width:150px; }
.skd-table td:nth-child(2) { color:#6e6e73; }
.skd-table td b { color:#1d1d1f; font-weight:650; }

/* Deliverables Bento */
.skd-deliver { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.skd-deliver div { background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:20px; padding:22px 24px; box-shadow:0 2px 12px rgba(0,0,0,.03); }
.skd-deliver b { display:block; font-size:16px; font-weight:700; color:#1d1d1f; }
.skd-deliver p { font-size:13.5px; color:#6e6e73; margin:8px 0 0; line-height:1.65; }

/* Bottom Conversion Card */
.skd-bottom-cta { margin-top:64px; background:#fff; border:1px solid rgba(0,0,0,.07); border-radius:28px; padding:36px 40px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; box-shadow:0 8px 30px rgba(0,0,0,.04); }
.skd-bottom-cta h2 { font-size:clamp(22px,2.4vw,30px); font-weight:700; letter-spacing:-.025em; margin:6px 0 8px; color:#1d1d1f; }
.skd-bottom-cta p { font-size:14.5px; color:#6e6e73; margin:0; max-width:600px; line-height:1.65; }
.skd-bottom-cta .skd-hero-cta { margin-top:0; }

@media (max-width:1024px) {
  .skd-stats { grid-template-columns:repeat(2,1fr); }
  .skd-roles-grid, .skd-deliver { grid-template-columns:repeat(2,1fr); }
  .skd-whitemodel { grid-template-columns:1fr; }
  .skd-strip { grid-template-columns:repeat(3,1fr); }
  .skd-bench { height:820px; }
}
@media (max-width:720px) {
  .wrap.skd { padding:18px 16px 0; }
  .skd-stage { padding:18px; border-radius:20px; }
  .skd-dark-stage { padding:28px 18px; border-radius:20px; }
  .skd-modes-grid, .skd-roles-grid, .skd-deliver, .skd-preview-pair { grid-template-columns:1fr; }
  .skd-stats { grid-template-columns:1fr 1fr; }
  .skd-winbar { grid-template-columns:64px minmax(0,1fr) auto; }
  .skd-bench { height:760px; }
  .skd-bottom-cta { padding:24px 20px; border-radius:20px; }
  .skd-table td:first-child { width:auto; }
}
.ys-shop-body { padding:16px 4px 0; }
.ys-shop-name { font-size:15px; font-weight:700; line-height:1.5; }
.ys-shop-sub { font-size:12.5px; color:#999; margin-top:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:38px; }
.ys-shop-price { font-size:15px; font-weight:700; margin-top:10px; }
/* 顶栏：首页 Hero 上透明白字，滚下去变白底 */
.header { transition:background .25s, border-color .25s; }
/* 页脚：白色多栏 */
.footer { background:#fff; border-top:1px solid #ececec; margin-top:0; }
.ys-footer { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding:70px 64px 50px; }
.ys-foot-col b { display:block; font-size:14px; margin-bottom:16px; }
.ys-foot-col a { display:block; font-size:13px; color:#666; margin-bottom:10px; }
.ys-foot-col a:hover { color:#111; }
.ys-foot-brand b { font-size:20px; }
.ys-foot-brand p { font-size:12.5px; color:#888; margin-top:10px; max-width:260px; line-height:1.8; }
.ys-foot-legal { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; padding:0 24px 34px; }
.ys-foot-slogan-cn { font-size:15px; font-weight:600; color:#222; }
.ys-foot-slogan-en { font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-style:italic; font-size:16px; color:#777; }
.ys-foot-copy { font-size:11.5px; color:#aaa; }
@media (max-width:980px) {
  .ys-wrap, .ys-hero-caption { padding-left:26px; padding-right:26px; }
  .ys-section { padding:70px 0 20px; }
  .ys-video-card { flex:0 0 min(280px,72%); }
  .ys-footer { grid-template-columns:1fr 1fr; padding:50px 26px 36px; gap:32px; }
  .ys-arrow { display:none; }
}
@media (max-width:640px) {
  .ys-hero-caption { font-size:9px; letter-spacing:2px; padding:20px 20px 0; }
  .ys-video-card { flex:0 0 240px; }
  .ys-shop-card { flex-basis:220px; }
  /* 手机竖屏：Hero 不再全屏，改为 16:9 视频横幅，整帧可见、不裁切 */
  .ys-hero { height:auto; aspect-ratio:16/9; }
  .ys-hero-title { font-size:clamp(34px,10vw,54px); }
  .ys-hero-title.is-en { font-size:clamp(26px,8vw,40px); }
}

.skd-case-pill { background:#f5f5f7; border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:10px 16px; text-align:right; }
.skd-case-pill b { display:block; font-size:13px; font-weight:650; color:#1d1d1f; }
.skd-case-pill span { display:block; font-size:11.5px; color:#6e6e73; margin-top:2px; }
.skd-whitemodel-solo { margin-top:0; padding-top:0; border-top:0; }
