/* 田头播报官 · 设计系统
   主色 #12507B / 辅色 #C8963E / 暖白 #FAF8F3 / 分割线 #E6E1D8 */
:root {
  --navy: #12507B;
  --navy-deep: #0C3A5B;
  --navy-soft: #E8EFF4;
  --gold: #C8963E;
  --gold-soft: #F6EDDC;
  --bg: #FAF8F3;
  --card: #FFFFFF;
  --line: #E6E1D8;
  --line-strong: #CFC8BA;
  --ink: #1F2328;
  --muted: #6B7480;
  --red: #B42318;
  --red-soft: #FDECEA;
  --yellow: #8A6100;
  --yellow-soft: #FFF6DF;
  --green: #1F6B47;
  --green-soft: #E7F3EC;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(31, 35, 40, .07);
  --shadow-sm: 0 3px 12px rgba(31, 35, 40, .05);
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-h: 68px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.28; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--muted); }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 通用元件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; line-height: 1.4;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap; background: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: .45; cursor: not-allowed; transform: none; pointer-events: none; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(18, 80, 123, .18); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(200, 150, 62, .2); }
.btn-gold:hover { background: #B4842F; color: #fff; }
.btn-danger-ghost { color: var(--red); }
.btn-danger-ghost:hover { background: var(--red-soft); }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.text-link { color: var(--navy); font-size: 14px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.inline-form { display: inline; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font-size: 12px; font-weight: 600; }
.badge-gold { background: var(--gold); color: #fff; }
.req { color: var(--red); }
.optional { color: var(--muted); font-weight: 400; font-size: 12px; }
.status-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-draft { background: #F0EEE8; color: #59544A; }
.status-pending { background: var(--yellow-soft); color: var(--yellow); }
.status-published { background: var(--green-soft); color: var(--green); }
.status-rejected { background: var(--red-soft); color: var(--red); }
.status-offline { background: #EEEEF0; color: var(--muted); }
.status-checked { background: var(--navy-soft); color: var(--navy); }
.status-exported { background: var(--green-soft); color: var(--green); }
.type-badge { display: inline-flex; padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 12px; }
.gen-success { background: var(--green-soft); color: var(--green); }
.gen-running { background: var(--yellow-soft); color: var(--yellow); }
.gen-failed { background: var(--red-soft); color: var(--red); }
.gen-insufficient { background: var(--gold-soft); color: var(--yellow); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 30px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 21px; font-weight: 700;
  border-radius: 11px 11px 11px 3px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .14);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text b { font-family: var(--serif); font-size: 18px; letter-spacing: .05em; }
.brand-text small { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.main-nav a { color: var(--muted); font-size: 14px; padding: 8px 13px; border-radius: 8px; }
.main-nav a:hover { color: var(--navy); background: rgba(18, 80, 123, .05); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.nav-work { color: var(--navy); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.user-chip img, .avatar-fallback { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.avatar-fallback { display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); font-family: var(--serif); font-weight: 700; }
.user-name { font-size: 13px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 提示 ---------- */
.flash-wrap { padding-top: 14px; }
.flash { display: flex; align-items: center; gap: 16px; padding: 11px 16px; margin-bottom: 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: 14px; }
.flash-success { background: var(--green-soft); border-color: #C6E3D2; color: #155C3B; }
.flash-error { background: var(--red-soft); border-color: #F3C9C4; color: var(--red); }
.flash-warning { background: var(--yellow-soft); border-color: #EBD9A6; color: var(--yellow); }
.flash-info { background: var(--navy-soft); border-color: #C8DBE7; color: var(--navy); }
.flash span { flex: 1; }
.flash-close { border: 0; background: none; font-size: 19px; line-height: 1; color: inherit; opacity: .6; }
.flash-close:hover { opacity: 1; }

/* ---------- 首页 ---------- */
.hero { padding: 68px 0 48px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 45%; height: 520px;
  background: radial-gradient(ellipse at center, rgba(200, 150, 62, .14), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.16; letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--navy); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 9px; background: rgba(200, 150, 62, .28); z-index: -1; }
.hero-lead { margin-top: 22px; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-points li { display: flex; flex-direction: column; }
.hero-points b { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.hero-points span { color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; }
.hero-banner { position: relative; display: block; border-radius: 26px 26px 26px 6px; overflow: hidden; box-shadow: 0 28px 60px rgba(12, 58, 91, .18); background: #DDE6E3; }
.hero-banner img { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; }
.hero-banner-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 26px 22px; background: linear-gradient(transparent, rgba(8, 30, 44, .82)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.hero-banner-caption b { font-family: var(--serif); font-size: 21px; }
.hero-banner-caption small { opacity: .82; font-size: 12px; letter-spacing: .05em; }
.hero-stamp {
  position: absolute; right: -18px; top: -20px; width: 92px; height: 92px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid #E4CE9F; color: var(--yellow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 9px; letter-spacing: .12em; transform: rotate(7deg); box-shadow: var(--shadow-sm);
}
.hero-stamp b { font-size: 15px; font-family: var(--serif); letter-spacing: .05em; }
.stat-strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 12px; text-align: center; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--serif); font-size: 31px; color: var(--navy); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 12px; letter-spacing: .04em; }

/* ---------- 区块 ---------- */
.section { padding: 66px 0; }
.section-tint { background: linear-gradient(180deg, #F4F0E7, #FAF8F3); border-block: 1px solid var(--line); }
.section-deep { background: var(--navy-deep); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-desc { color: var(--muted); margin-top: 8px; max-width: 560px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 17px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.chip:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-soft); }

/* ---------- 案例卡 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-cover { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9E5DB; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-cover img { transform: scale(1.035); }
.case-cover .badge { position: absolute; left: 12px; top: 12px; }
.case-body { padding: 18px 19px 16px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 5px; color: var(--muted); font-size: 11.5px; letter-spacing: .03em; }
.case-body h3 { font-size: 19px; margin: 7px 0 7px; line-height: 1.45; }
.case-body h3 a { color: var(--ink); }
.case-body h3 a:hover { color: var(--navy); }
.case-summary { color: var(--muted); font-size: 13.5px; line-height: 1.7; min-height: 46px; }
.case-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.case-grid-featured .case-card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.case-grid-featured .case-card:first-child .case-cover { aspect-ratio: auto; height: 100%; }
.case-grid-featured .case-card:first-child .case-body { display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.case-grid-featured .case-card:first-child h3 { font-size: 24px; }
.empty-state { text-align: center; padding: 70px 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state h2 { font-size: 25px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ---------- 四步 ---------- */
.how-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.how-copy h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; }
.how-copy p { color: rgba(255, 255, 255, .66); }
.section-deep .eyebrow { color: #E2B75F; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; }
.steps li { padding: 24px; background: var(--navy-deep); }
.steps li span { display: block; color: #E2B75F; font-family: var(--mono); font-size: 12px; margin-bottom: 10px; }
.steps li b { font-family: var(--serif); font-size: 19px; }
.steps li p { color: rgba(255, 255, 255, .62); font-size: 13px; margin-top: 6px; line-height: 1.7; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--gold-soft); border: 1px solid #E9D6AE; border-radius: 22px; padding: 38px 44px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); }
.cta-band p { color: var(--yellow); margin-top: 8px; }

/* ---------- 页头 ---------- */
.page-head { padding: 54px 0 8px; }
.page-head-tight { padding: 38px 0 4px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 700px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head-actions { display: flex; gap: 10px; }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------- 案例列表 ---------- */
.filter-bar { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px; }
.filter-search { display: flex; gap: 10px; }
.filter-search input { flex: 1; border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 18px; background: var(--bg); outline: none; }
.filter-search input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 80, 123, .1); }
.filter-selects { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-selects label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.filter-selects select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.page-btn { padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink); }
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.disabled { color: #B8B4AA; pointer-events: none; background: transparent; }
.page-info { color: var(--muted); font-size: 13px; }

/* ---------- 案例详情 ---------- */
.case-detail { padding-bottom: 20px; }
.case-detail-head { padding: 44px 0 30px; }
.case-detail-head h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 12px 0 14px; }
.case-lead { color: var(--muted); font-size: 17px; line-height: 1.8; }
.case-detail .case-meta { font-size: 12.5px; }
.case-author-line { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--serif); }
.case-author-line > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.case-author-line b { font-size: 14px; }
.case-author-line small { color: var(--muted); font-size: 11.5px; }
.case-hero-img { margin: 12px 0 34px; border-radius: 18px; overflow: hidden; background: #E9E5DB; }
.case-hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.copy-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.copy-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.platform-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.platform-dot.xhs { background: #C13B3B; box-shadow: 0 0 0 4px #FBEAEA; }
.panel-note { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.segment-list { display: flex; flex-direction: column; gap: 15px; }
.segment-list li p { line-height: 1.85; }
.segment-label { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 3px; }
.xhs-title { font-size: 21px; margin-bottom: 14px; }
.xhs-body p { line-height: 1.95; margin-bottom: 11px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { padding: 3px 9px; border-radius: 5px; background: var(--navy-soft); color: var(--navy); font-size: 12px; }
.publish-kit { margin-top: 26px; background: var(--gold-soft); border: 1px solid #E9D6AE; border-radius: var(--radius); padding: 24px; }
.publish-kit h2 { font-size: 19px; margin-bottom: 14px; }
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit-item b { font-size: 12px; color: var(--yellow); letter-spacing: .04em; }
.kit-item p { margin-top: 4px; font-size: 14px; }
.kit-item small { color: var(--muted); font-size: 12px; }
.declaration-box { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: var(--muted); }
.declaration-box b { display: block; color: var(--ink); margin-bottom: 5px; }
.declaration-box p + p { margin-top: 8px; }
.case-source { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-source b { font-size: 13px; }
.case-source p { color: var(--muted); font-size: 13px; }
.case-source small { color: var(--muted); font-size: 12px; }

/* ---------- 静态页 ---------- */
.prose { line-height: 1.95; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #3F454C; margin-bottom: 12px; }
.prose b { color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 10px; }
.value-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.value-item b { display: block; margin-bottom: 6px; }
.value-item p { margin: 0; color: var(--muted); font-size: 13.5px; }
.error-page { text-align: center; padding: 60px 20px 80px; }
.error-code { font-family: var(--serif); font-size: 100px; line-height: 1; color: var(--line-strong); letter-spacing: .04em; }
.error-page h1 { font-size: 30px; margin: 8px 0 10px; }
.error-page p { color: var(--muted); }
.error-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; color: #3B424A; }
.input, .field input[type="text"], .field input[type="password"], .field input[type="number"],
.field input[type="search"], .field input[type="file"], .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 13px; background: #fff; outline: none; font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 80, 123, .09);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
.field-error { color: var(--red); font-size: 12.5px; }
.form-alert { padding: 11px 14px; border: 1px solid #F3C9C4; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red); font-size: 13.5px; }
.form-alert.is-ok { border-color: #C6E3D2; background: var(--green-soft); color: var(--green); }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.check-row input { margin-top: 3px; accent-color: var(--navy); }
.check-row a { text-decoration: underline; text-underline-offset: 2px; }
.input-row { display: flex; gap: 9px; }
.input-row .input, .input-row input { flex: 1; }
.form-foot-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.form-actions { display: flex; align-items: center; gap: 12px; padding-top: 6px; flex-wrap: wrap; }
.choice-list { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-list label { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: #fff; cursor: pointer; }
.choice-list input { accent-color: var(--navy); }
.upload-label input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-label { cursor: pointer; display: inline-block; }

/* ---------- 登录注册 ---------- */
.auth-section { padding: 56px 0 80px; }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 70px; align-items: center; }
.auth-grid-single { grid-template-columns: 460px; justify-content: center; }
.auth-aside h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 12px 0 18px; line-height: 1.22; }
.auth-aside p { color: var(--muted); max-width: 430px; font-size: 16px; line-height: 1.85; }
.auth-points { margin-top: 28px; display: flex; flex-direction: column; gap: 11px; }
.auth-points li { position: relative; padding-left: 22px; color: #3F454C; font-size: 14px; }
.auth-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 32px 26px; box-shadow: var(--shadow); }
.auth-head { margin-bottom: 22px; }
.auth-head h2 { font-size: 25px; margin-bottom: 4px; }
.auth-head p { color: var(--muted); font-size: 13.5px; }
.auth-head a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.auth-fineprint { margin-top: 18px; color: var(--muted); font-size: 11.5px; text-align: center; line-height: 1.7; }
.auth-fineprint a { text-decoration: underline; text-underline-offset: 2px; }
.login-type { display: flex; gap: 6px; padding: 4px; background: var(--bg); border-radius: 10px; }
.seg-option { flex: 1; text-align: center; }
.seg-option input { position: absolute; opacity: 0; }
.seg-option span { display: block; padding: 7px 10px; border-radius: 7px; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg-option input:checked + span { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }
.sms-btn { white-space: nowrap; }
.sms-btn:disabled { opacity: .5; }

/* ---------- 会员中心 ---------- */
.member-grid { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: start; }
.member-side { position: sticky; top: calc(var(--header-h) + 20px); }
.member-nav { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.member-nav a { display: flex; flex-direction: column; padding: 10px 13px; border-radius: 8px; color: var(--ink); line-height: 1.35; }
.member-nav a span { font-size: 14px; font-weight: 500; }
.member-nav a small { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.member-nav a:hover { background: var(--bg); }
.member-nav a.active { background: var(--navy); color: #fff; }
.member-nav a.active small { color: rgba(255, 255, 255, .66); }
.member-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.quota-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quota-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 17px 18px; display: flex; flex-direction: column; gap: 5px; }
.quota-label { color: var(--muted); font-size: 12px; }
.quota-card b { font-family: var(--serif); font-size: 27px; line-height: 1.1; color: var(--navy); }
.quota-card b small { font-family: var(--sans); font-size: 11px; color: var(--muted); font-weight: 400; }
.quota-card a, .quota-note { color: var(--muted); font-size: 11.5px; }
.meter { height: 4px; border-radius: 4px; background: #EFEBE2; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), #3C7DA8); border-radius: 4px; }
.dash-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-muted { background: #F5F2EA; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.panel-head h2 { font-size: 19px; }
.panel-empty { color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mini-card-list { display: flex; flex-direction: column; }
.mini-card-list li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-card-list li:last-child { border-bottom: 0; }
.mini-cover { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; flex: none; background: #EEE9DE; }
.mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mini-title { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-meta { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-list { display: flex; flex-direction: column; }
.timeline-list li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline-list li:last-child { border-bottom: 0; }
.timeline-list div { flex: 1; display: flex; flex-direction: column; }
.timeline-list b { font-size: 13.5px; font-weight: 600; }
.timeline-list span:not(.dot) { color: var(--muted); font-size: 11.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.dot-success { background: var(--green); }
.dot-failed { background: var(--red); }
.dot-running { background: var(--gold); }
.dot-insufficient { background: #C89B3E; }
.tip-band { background: var(--navy-soft); border: 1px solid #C8DBE7; border-radius: var(--radius); padding: 18px 20px; }
.tip-band b { color: var(--navy); }
.tip-band p { color: #3B596D; font-size: 13px; margin-top: 3px; }

/* ---------- 卡片列表 ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.status-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.status-tabs a { padding: 7px 13px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.status-tabs a span { font-size: 11px; opacity: .75; }
.status-tabs a.active { background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.toolbar-search { display: flex; gap: 7px; }
.toolbar-search .input { width: 180px; padding: 7px 12px; }
.card-table { display: flex; flex-direction: column; gap: 12px; }
.card-row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.card-row-cover { width: 86px; height: 86px; border-radius: 9px; overflow: hidden; flex: none; background: #EEE9DE; }
.card-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-row-main { flex: 1; min-width: 0; }
.card-row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-row-title h3 { font-size: 18px; }
.card-row-meta { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.card-row-time { color: #99948A; font-size: 11px; margin-top: 6px; }
.reject-note { color: var(--red); background: var(--red-soft); padding: 6px 10px; border-radius: 6px; font-size: 12px; margin-top: 7px; }
.card-row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 250px; }
.action-note { color: var(--muted); font-size: 12px; }

/* ---------- 产品卡表单 ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.card-form { display: flex; flex-direction: column; gap: 20px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.form-section legend { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 20px; font-weight: 700; padding: 0 4px; }
.form-section legend span { font-family: var(--mono); font-size: 11px; color: var(--gold); border: 1px solid #E3CFA6; border-radius: 4px; padding: 1px 6px; }
.form-section-desc { color: var(--muted); font-size: 13px; margin-top: -6px; }
.type-choices { display: flex; gap: 10px; }
.type-choice { flex: 1; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; }
.type-choice input + span { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.type-choice input:checked + span { border-color: var(--navy); background: var(--navy-soft); box-shadow: inset 0 0 0 1px var(--navy); }
.type-choice b { font-size: 14px; }
.form-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; }
.aside-card b { display: block; font-size: 14px; margin-bottom: 8px; }
.aside-card ul { display: flex; flex-direction: column; gap: 8px; padding-left: 0; }
.aside-card li { color: var(--muted); font-size: 12.5px; line-height: 1.65; padding-left: 14px; position: relative; }
.aside-card li::before { content: "·"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }
.aside-card p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.aside-card-warn { background: var(--yellow-soft); border-color: #EBD9A6; }
.aside-card-warn b { color: var(--yellow); }
.cover-current { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.cover-current img { width: 90px; height: 68px; object-fit: cover; border-radius: 8px; }
.gallery-manage { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-item { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item form { position: absolute; top: 3px; right: 3px; }
.icon-btn { width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .58); color: #fff; line-height: 18px; font-size: 14px; padding: 0; }
.extra-group[hidden] { display: none; }

/* ---------- 工作台 ---------- */
.studio-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 13px 0; }
.studio-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.studio-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.studio-title h1 { font-size: 22px; margin-right: 2px; }
.back-link { color: var(--muted); font-size: 12.5px; }
.studio-top-actions { display: flex; gap: 8px; align-items: center; }
.studio-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 18px; align-items: start; padding-top: 20px; padding-bottom: 40px; }
.studio-side, .studio-check { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 14px); }
.studio-side .panel, .studio-check .panel { padding: 17px; }
.studio-side .panel-head, .studio-check .panel-head { margin-bottom: 12px; }
.studio-side .panel-head h2, .studio-check .panel-head h2 { font-size: 16px; }
.fact-list { display: flex; flex-direction: column; gap: 8px; }
.fact-list > div { display: flex; gap: 8px; font-size: 12.5px; }
.fact-list dt { color: var(--muted); flex: 0 0 58px; }
.fact-list dd { margin: 0; flex: 1; word-break: break-word; }
.fact-story { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; }
.fact-story summary { cursor: pointer; color: var(--navy); }
.fact-story p { color: var(--muted); margin-top: 6px; line-height: 1.7; }
.fact-hint { margin-top: 12px; padding: 9px 10px; background: var(--bg); border-radius: 7px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.gen-quota { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.gen-quota b { color: var(--navy); }
.quota-warn { color: var(--red); margin-left: 5px; }
.btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen-progress { margin-top: 13px; background: #102B3C; border-radius: 9px; padding: 11px 12px; color: #D6E3EA; }
.gen-progress-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; margin-bottom: 6px; }
.gen-progress-head small { margin-left: auto; opacity: .6; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #64C8A0; animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.gen-preview { margin: 0; max-height: 180px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: #B9CDD8; }
.editor-empty { padding: 50px 40px; text-align: center; }
.editor-empty-art { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-family: var(--serif); font-size: 30px; }
.editor-empty h2 { font-size: 24px; margin-bottom: 8px; }
.editor-empty p { color: var(--muted); max-width: 420px; margin: 0 auto 16px; font-size: 14px; }
.empty-points { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 12.5px; }
#editor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #FCFBF8; }
.editor-tabs { display: flex; gap: 2px; }
.editor-tab { border: 0; background: none; padding: 14px 14px 12px; color: var(--muted); font-size: 13.5px; border-bottom: 2px solid transparent; }
.editor-tab.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.editor-status { display: flex; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted); }
.save-state.is-dirty { color: var(--gold); }
.save-state.is-saving { color: var(--navy); }
.char-count { font-family: var(--mono); }
.editor-panel { padding: 20px 22px 22px; }
.editor-panel[hidden] { display: none; }
.panel-tip { color: var(--muted); font-size: 12px; background: var(--bg); border-radius: 7px; padding: 8px 11px; margin-bottom: 16px; line-height: 1.65; }
.segment-editor { display: flex; flex-direction: column; gap: 13px; }
.segment-row { display: grid; grid-template-columns: 110px 1fr 28px; gap: 9px; align-items: start; }
.segment-row .seg-label { padding: 9px 10px; font-size: 12px; }
.segment-row textarea { min-height: 64px; resize: vertical; }
.seg-remove, .para-remove { border: 0; background: none; color: #B8B4AA; font-size: 17px; line-height: 1; padding: 9px 2px; }
.seg-remove:hover, .para-remove:hover { color: var(--red); }
.add-line { border: 1px dashed var(--line-strong); background: #FCFBF8; border-radius: 8px; width: 100%; padding: 8px; color: var(--navy); font-size: 12.5px; margin-top: 11px; }
.add-line:hover { border-color: var(--navy); background: var(--navy-soft); }
.compact-field { margin-top: 16px; }
.input-title { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.body-editor { display: flex; flex-direction: column; gap: 10px; }
.para-row { display: flex; gap: 8px; align-items: start; }
.para-row textarea { min-height: 76px; resize: vertical; flex: 1; }
.missing-box { margin: 0 22px 18px; padding: 13px 15px; border: 1px solid #E9D6AE; background: var(--gold-soft); border-radius: var(--radius-sm); }
.missing-box b { color: var(--yellow); font-size: 13px; }
.missing-box ul { margin-top: 5px; padding-left: 16px; list-style: disc; color: #6B520F; font-size: 12.5px; line-height: 1.7; }
.editor-actions { display: flex; align-items: center; gap: 9px; padding: 14px 22px; border-top: 1px solid var(--line); background: #FCFBF8; flex-wrap: wrap; }
.editor-actions-note { margin-left: auto; color: var(--muted); font-size: 11px; }
.check-time { color: var(--muted); font-size: 11px; }
.check-counts { display: flex; gap: 6px; margin-bottom: 12px; }
.count { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 3px; padding: 6px 4px; border-radius: 6px; font-size: 11px; }
.count b { font-family: var(--mono); font-size: 16px; }
.count-red { background: var(--red-soft); color: var(--red); }
.count-yellow { background: var(--yellow-soft); color: var(--yellow); }
.count-green { background: var(--green-soft); color: var(--green); }
.check-ai { margin-bottom: 11px; }
.record-list { display: flex; flex-direction: column; gap: 9px; margin-top: 13px; max-height: 430px; overflow: auto; }
.record-list.compact { max-height: none; }
.record { border: 1px solid var(--line); border-left-width: 3px; border-radius: 7px; padding: 10px 11px; background: #fff; }
.record-red { border-left-color: var(--red); }
.record-yellow { border-left-color: var(--gold); }
.record-green { border-left-color: var(--green); }
.record-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.record-type { font-size: 12px; font-weight: 700; }
.record-level { font-size: 10.5px; color: var(--muted); }
.record-hit { font-size: 12px; color: #3F454C; margin-top: 4px; word-break: break-word; }
.record-hit mark { background: #FFE9A8; padding: 0 2px; }
.record-suggestion { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.record-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 10.5px; color: #99948A; }
.record-check { display: flex; align-items: center; gap: 5px; color: var(--red); font-weight: 600; }
.record-check input { accent-color: var(--red); }
.record-empty { color: var(--muted); font-size: 12px; text-align: center; padding: 22px 6px; border: 1px dashed var(--line); border-radius: 7px; }
.export-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.export-state { font-size: 11.5px; color: var(--muted); min-height: 18px; }
.export-state .ok { color: var(--green); font-weight: 600; }
.export-state .blocked { color: var(--red); }

/* ---------- 记录 / 发布包 ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; color: var(--muted); font-size: 11.5px; font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 11px 10px; border-bottom: 1px solid #F0ECE3; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.package-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; }
.package-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.package-card h3 { font-size: 20px; margin: 9px 0 3px; }
.package-card p { color: var(--muted); font-size: 12.5px; }
.package-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 12px; border-top: 1px dashed var(--line); }
.package-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.package-main, .package-side { display: flex; flex-direction: column; gap: 18px; }
.package-side { position: sticky; top: calc(var(--header-h) + 20px); }
.diff-block + .diff-block { margin-top: 18px; }
.diff-block > b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.diff { font-size: 13px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; background: var(--bg); border-radius: 7px; padding: 12px 14px; }
.diff .ins { background: var(--green-soft); color: var(--green); text-decoration: none; }
.diff .del { background: var(--red-soft); color: var(--red); text-decoration: line-through; }
.kit-list { display: flex; flex-direction: column; gap: 12px; }
.kit-list b { display: block; font-size: 11.5px; color: var(--muted); }
.kit-list p { font-size: 13px; margin-top: 2px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 40px; background: #14252F; color: #C6D0D6; padding: 48px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { background: var(--gold); color: #14252F; box-shadow: none; }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .46); }
.brand-footer b { color: #fff; }
.footer-note { color: rgba(255, 255, 255, .5); font-size: 12.5px; line-height: 1.8; margin-top: 14px; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { color: #fff; font-size: 13px; margin-bottom: 3px; }
.footer-col a { color: rgba(255, 255, 255, .56); font-size: 12.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .38); font-size: 11px; flex-wrap: wrap; }
.toast-root { position: fixed; right: 18px; bottom: 26px; z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { background: #14252F; color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); animation: toast-in .22s ease; max-width: 320px; }
.toast-error { background: var(--red); }
.toast-success { background: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-tabbar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .studio-grid { grid-template-columns: 210px minmax(0, 1fr); }
  .studio-check { grid-column: 1 / -1; position: static; }
  .studio-check .panel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 20px; align-items: start; }
  .studio-check .panel-head, .studio-check .check-counts, .studio-check .check-ai, .studio-check #btnCheck, .studio-check .field-hint { grid-column: 1; }
  .studio-check .record-list, .studio-check #btnConfirm, .studio-check .export-box { grid-column: 2; grid-row: 1 / span 6; }
  .studio-check .record-list { max-height: 320px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .case-grid, .case-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .case-grid-featured .case-card:first-child { grid-column: span 2; }
  .auth-grid { grid-template-columns: 1fr 420px; gap: 40px; }
  .member-grid { grid-template-columns: 180px 1fr; gap: 20px; }
  .quota-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-columns { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .studio-check { position: static; }
  .package-layout { grid-template-columns: 1fr; }
  .package-side { position: static; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 58px; }
  body { font-size: 14.5px; padding-bottom: 62px; }
  .shell, .narrow { width: calc(100% - 32px); }
  .main-nav { display: none; }
  .header-inner { gap: 12px; min-height: var(--header-h); }
  .brand-text small { display: none; }
  .brand-text b { font-size: 16px; }
  .brand-mark { width: 33px; height: 33px; font-size: 18px; }
  .user-name { display: none; }
  .header-actions .btn { padding: 7px 13px; }
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 15px; margin-top: 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1; }
  .hero-points { gap: 20px; margin-top: 26px; padding-top: 18px; }
  .hero-points b { font-size: 16px; }
  .hero-stamp { width: 72px; height: 72px; right: -4px; top: -10px; font-size: 7.5px; }
  .hero-stamp b { font-size: 12px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .case-grid, .case-grid-featured { grid-template-columns: 1fr; }
  .case-grid-featured .case-card:first-child { grid-column: auto; display: block; }
  .case-grid-featured .case-card:first-child .case-cover { aspect-ratio: 16 / 10; height: auto; }
  .case-grid-featured .case-card:first-child .case-body { padding: 18px 19px 16px; }
  .case-grid-featured .case-card:first-child h3 { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 18px; }
  .page-head { padding: 30px 0 4px; }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .case-detail-head { padding: 26px 0 20px; }
  .case-detail-head h1 { font-size: 30px; }
  .copy-columns { grid-template-columns: 1fr; }
  .kit-grid { grid-template-columns: 1fr; }
  .case-source { flex-direction: column; align-items: flex-start; }
  .auth-section { padding: 30px 0 50px; }
  .auth-grid, .auth-grid-single { grid-template-columns: 1fr; gap: 26px; }
  .auth-aside { display: none; }
  .auth-card { padding: 24px 20px; box-shadow: var(--shadow-sm); }
  .form-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .member-side { position: static; }
  .member-nav { flex-direction: row; overflow-x: auto; padding: 6px; gap: 2px; scrollbar-width: none; }
  .member-nav::-webkit-scrollbar { display: none; }
  .member-nav a { flex: none; padding: 7px 12px; align-items: center; }
  .member-nav a small { display: none; }
  .quota-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .quota-card { padding: 13px 14px; }
  .quota-card b { font-size: 23px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-search .input { flex: 1; width: auto; }
  .card-row { flex-wrap: wrap; }
  .card-row-cover { width: 64px; height: 64px; }
  .card-row-actions { max-width: none; width: 100%; justify-content: flex-start; padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 4px; }
  .form-section { padding: 20px 16px; }
  .form-aside { grid-template-columns: 1fr; }
  .type-choices { flex-direction: column; }
  .studio-topbar-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
  .studio-topbar { padding: 10px 0; }
  .studio-title h1 { font-size: 19px; }
  .studio-top-actions { width: 100%; }
  .studio-top-actions .btn { flex: 1; }
  .studio-side { grid-template-columns: 1fr; }
  .studio-side .panel-facts { display: none; }
  .studio-grid { padding-top: 12px; }
  .editor-head { padding: 0 10px; flex-wrap: wrap; }
  .editor-tabs { overflow-x: auto; }
  .editor-tab { padding: 12px 10px 10px; font-size: 13px; }
  .editor-status { margin-left: auto; }
  .editor-panel { padding: 15px 14px 17px; }
  .segment-row { grid-template-columns: 1fr 24px; }
  .segment-row .seg-label { grid-column: 1 / -1; padding: 0; font-size: 11px; color: var(--muted); }
  .editor-actions { padding: 12px 14px; }
  .editor-actions-note { display: none; }
  .studio-check .panel { display: block; }
  .studio-check .record-list { max-height: none; }
  .package-grid { grid-template-columns: 1fr; }
  .data-table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { display: flex; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 26px; }
  .site-footer { margin-top: 20px; padding-bottom: 18px; }
  .toast-root { bottom: 76px; right: 12px; left: 12px; align-items: stretch; }
  .toast { max-width: none; text-align: center; }
  .mobile-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .mobile-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0; color: var(--muted); font-size: 10px; }
  .mobile-tabbar a.active { color: var(--navy); font-weight: 600; }
  .tab-icon { font-size: 17px; line-height: 1.2; }
  .tab-icon-main { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; }
  .page-errors .mobile-tabbar { display: none; }
  .error-code { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
