/* Hallmark v2.0.0 · shape: storefront · theme: custom cream/beauty (by request) · genre: editorial · job: browse products, no cart */
/* critique: floor FAIL 全清（19/48/50/F21/F3/F6/F15）；waive 24b spacing scale（中文正文与后台表格采用 6/10/14/18px 级差，4px 网格过密难读） */
:root {
  --bg: #f6f1ea;
  --surface: #fdfbf7;
  --ink: #2c2620;
  --muted: #6f6458;
  --line: rgba(44, 38, 32, 0.14);
  --accent: #9a5b3c;
  --accent-hover: #7e4629;
  --on-accent: #fdfbf7;
  --tint-blush: #ead7c9;
  --tint-sage: #d8ddc8;
  --tint-sand: #e6dbd0;
  --tint-clay: #dfc0ab;
  --ink-soft: rgba(44, 38, 32, 0.65);
  --green-ink: #55663f;
  --ok-ink: #43512f;
  --font-display: "Noto Serif SC", Georgia, "Songti SC", serif;
  --font-body: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(44, 38, 32, 0.08);
}
html, body { overflow-x: clip; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; margin: 0; text-wrap: balance; }
h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 顶部公告条 */
.topbar {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}
/* 导航 */
.nav { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.wordmark { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.16em; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; max-width: 220px; object-fit: contain; display: block; }
footer.site .brand-logo { height: 40px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.nav-links a { padding: 6px 2px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
/* 导航下拉 */
.nav-drop { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 4px; cursor: default; }
.caret { font-size: 10px; opacity: 0.6; }
.nav-drop-menu { position: absolute; top: 100%; left: -14px; min-width: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 20; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: flex; }
.nav-drop-menu a { padding: 8px 12px !important; border-radius: 6px; white-space: nowrap; }
.nav-drop-menu a:hover { background: var(--bg); }

/* 按钮 */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: var(--accent-hover); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost:active { background: var(--tint-sand); }
.btn-sm { padding: 7px 16px; font-size: 13px; white-space: nowrap; }

/* Hero（无 Banner 时的兼容布局） */
.hero { padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: center; }
.hero-text p { color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-media img, .hero-media video { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* 首页 Banner 轮播 · 电脑端通栏自适应（建议 16:9）/ 移动端竖屏自适应（建议 9:16） */
.hero-banner-section { width: 100%; }
.hero-banner { position: relative; width: 100%; background: var(--tint-sand); isolation: isolate; }
.hero-banner-track { position: relative; }
/* 只有当前幻灯片参与撑开高度，切换时高度随图片原始比例自然变化 */
.hero-slide { position: absolute; inset: 0 0 auto 0; width: 100%; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero-slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: auto; }
.hero-slide img { max-width: 100%; }
/* 文案叠加在图片上：电脑端距左 20px / 距上 40px 左对齐，移动端由下方媒体查询改为底部左对齐 */
.hero-slide-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(28,22,17,.66) 0%, rgba(28,22,17,.4) 34%, rgba(28,22,17,.1) 66%, rgba(28,22,17,.02) 100%);
}
.hero-slide-inner {
  position: absolute; inset: 0; display: flex; align-items: flex-start;
  justify-content: flex-start; padding: 40px 0 0 20px;
}
.hero-slide-content {
  position: relative; z-index: 2; width: 100%; max-width: 980px;
  padding: 0; text-align: left; color: #fff;
}
.hero-slide-content h1 {
  margin: 0; color: #fff; font-size: clamp(32px, 5vw, 64px); line-height: 1.1;
  text-shadow: 0 3px 24px rgba(0,0,0,.38);
}
.hero-slide-content p {
  margin: 18px 0 0; color: rgba(255,255,255,.94); max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 20px); line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.hero-slide-content .hero-actions { justify-content: flex-start; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.55); background: rgba(28,22,17,.38); color: #fff;
  border-radius: 50%; cursor: pointer; font-size: 30px; line-height: 1;
  backdrop-filter: blur(4px); transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(28,22,17,.68); transform: translateY(-50%) scale(1.06); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; padding: 0; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9); background: transparent;
  cursor: pointer; transition: width .25s, background .25s;
}
.hero-dot.is-active { width: 28px; background: #fff; }

@media (max-width: 960px) {
  .hero-banner-section { background: var(--surface); padding: 12px; }
  .hero-banner {
    width: min(100%, 520px); margin: 0 auto;
    border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  }
  .hero-slide-shade {
    display: block;
    background: linear-gradient(0deg, rgba(28,22,17,.76) 0%, rgba(28,22,17,.32) 46%, rgba(28,22,17,.02) 100%);
  }
  .hero-slide-inner { align-items: flex-end; justify-content: center; padding: 0; }
  .hero-slide-content { max-width: none; text-align: left; padding: 0 22px 58px; }
  .hero-slide-content h1 {
    color: #fff; font-size: clamp(22px, 6vw, 30px); max-width: 14ch;
    text-shadow: 0 2px 18px rgba(0,0,0,.3);
  }
  .hero-slide-content p {
    color: rgba(255,255,255,.92); max-width: 32ch; margin: 8px 0 0; font-size: 13px;
    text-shadow: 0 1px 10px rgba(0,0,0,.3);
  }
  /* 选购按钮已移除 */
  .hero-slide-content .btn:not(.btn-ghost) { display: none; }
  .hero-arrow { width: 36px; height: 36px; font-size: 22px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-dots { bottom: 16px; gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
  .hero-dot.is-active { width: 22px; background: #fff; }
}

/* 区块通用 */
.section { padding: 64px 0; }
.section-head { margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 46ch; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 品类三分 */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cat-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform 0.2s, box-shadow 0.2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tint { height: 180px; }
.cat-body { padding: 20px 22px 24px; }
.cat-body p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.tint-blush { background: var(--tint-blush); }
.tint-sage { background: var(--tint-sage); }
.tint-sand { background: var(--tint-sand); }
.tint-clay { background: var(--tint-clay); }
.link-more { color: var(--accent); font-size: 14px; font-weight: 600; }

/* 产品橱窗 */
.shop-tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.shop-tabs a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.shop-tabs a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prod-media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 28px; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-name { font-family: var(--font-body); font-weight: 600; font-size: 15px; margin: 0; }
.prod-media span { font-family: var(--font-display); font-size: 18px; color: var(--ink-soft); text-align: center; }
.placeholder-name { font-family: var(--font-display); font-size: 22px; color: var(--muted); text-align: center; }
.prod-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.prod-price { font-size: 15px; font-weight: 600; }
.prod-price del { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.chip { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--tint-blush); color: var(--accent-hover); width: fit-content; }
.chip-best { background: var(--tint-sage); color: var(--green-ink); }

/* 品牌故事 */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: center; }
.story-grid img, .story-grid video { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 460px; object-fit: cover; width: 100%; }
.story-text p { color: var(--muted); }

/* 公告 */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.news-card time { font-size: 13px; color: var(--muted); }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* 页脚 */
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 24px; }
.foot-label { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a:hover { color: var(--ink); }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* 产品详情 */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.detail-media { border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 48px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.detail-info .price { font-size: 24px; font-weight: 700; margin: 14px 0; font-variant-numeric: tabular-nums; }
.detail-info .price del { font-size: 16px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.detail-info p { color: var(--muted); }
.ing-list { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.ing-list li { padding: 8px 0; border-top: 1px solid var(--line); }

/* 列表页 + 公告页 */
.page-head { padding: 56px 0 24px; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.filter-row { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-row a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.filter-row a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ann-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 20px; }
.ann-item time { font-size: 13px; color: var(--muted); }
.ann-item p { color: var(--muted); margin: 8px 0 0; }

/* 提示条 */
.flash { max-width: var(--container); margin: 12px auto 0; padding: 0 24px; }
.flash p { margin: 6px 0; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.flash .ok { background: var(--tint-sage); color: var(--ok-ink); }
.flash .error { background: var(--tint-blush); color: var(--accent-hover); }

/* ---------- 后台 ---------- */
.admin-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 40px 0; align-items: start; }
.admin-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 88px; }
.admin-side a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }
.admin-side a:hover, .admin-side a.on { background: var(--surface); color: var(--ink); }
.admin-main h1 { font-size: 26px; margin-bottom: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-card strong { font-size: 32px; font-family: var(--font-display); display: block; font-variant-numeric: tabular-nums; }
.stat-card span { font-size: 14px; color: var(--muted); }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.tbl th { font-weight: 600; background: var(--tint-sand); }
.tbl tr:last-child td { border-bottom: none; }
.tbl img.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; display: block; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--muted); }
.field input[type="text"], .field input[type="number"], .field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--bg); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.check-row { display: flex; gap: 22px; flex-wrap: wrap; }
.check-row label { font-size: 14px; color: var(--ink); display: flex; gap: 6px; align-items: center; }
.img-preview { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-top: 8px; }
.login-card { max-width: 360px; margin: 80px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.off { color: var(--muted); font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }

/* 素材库 */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.media-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.media-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; top: 8px; right: 8px; background: var(--ink); color: var(--bg); font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.media-meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.media-name { font-size: 13px; font-weight: 600; word-break: break-all; }
.media-size { font-size: 12px; color: var(--muted); }
.media-item .row-actions { padding: 0 12px 12px; }

/* 多语言：前台切换器 */
.lang-switch { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch a { font-size: 12px; line-height: 1; padding: 5px 9px; border-radius: 999px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.on { background: var(--ink); color: var(--surface); }

/* 多语言：后台 tab 与翻译录入 */
.lang-tabs { display: inline-flex; gap: 6px; }
.lang-tabs a { font-size: 14px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; background: var(--surface); }
.lang-tabs a:hover { color: var(--ink); }
.lang-tabs a.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.i18n-row label span { font-size: 12px; }
.translate-block { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.translate-block:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

@media (max-width: 960px) {
  h1 { font-size: 32px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid, .news-list, .foot-grid, .stat-row { grid-template-columns: 1fr; }
  .hero-grid, .story-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; flex-wrap: wrap; position: static; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(44,38,32,.1);
    padding: 10px 24px 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-drop { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; }
  .nav-drop-menu {
    position: static; display: none; box-shadow: none; border: 0;
    padding: 0 0 4px 14px; min-width: 0;
  }
  .nav-drop.is-open .nav-drop-menu { display: flex; }
}

/* ---- 移动端导航按钮（默认桌面隐藏）---- */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- 跳转到主内容（可访问性）---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- 产品详情转化区 ---- */
.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.detail-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ---- 后台：首页 Banner 管理 ---- */
.banner-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.banner-card-body { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.banner-preview-wrap { flex: 0 0 min(320px, 100%); }
.banner-preview {
  width: 100%; min-height: 120px; max-height: 260px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
}
.banner-preview img { display: block; max-width: 100%; max-height: 260px; width: auto; height: auto; object-fit: contain; }
.banner-edit { flex: 1 1 420px; min-width: 0; }
.banner-lang-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.banner-lang-tabs button {
  padding: 6px 16px; font-size: 13px; cursor: pointer;
  background: var(--bg); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-body);
}
.banner-lang-tabs button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.banner-common { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; margin-top: 6px; }
.banner-common .field:first-child { flex: 1 1 320px; }
.banner-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* 后台：Banner 竖版预览（按图片原始比例显示） */
.banner-preview-portrait { width: 120px; max-height: 240px; margin-top: 10px; }
.banner-preview-portrait img { max-height: 240px; }
.banner-portrait-upload { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.banner-portrait-upload label { font-size: 12px; color: var(--muted); }
.banner-portrait-upload input { font-size: 12px; max-width: 100%; }
.banner-portrait-upload button { align-self: flex-start; }
