:root {
  --primary: #1757a6;
  --primary-dark: #11427d;
  --primary-light: #e8f0fb;
  --accent: #d9772b;
  --text: #1f2a37;
  --text-soft: #5b6776;
  --line: #e3e8ef;
  --bg: #f5f7fa;
  --white: #ffffff;
  --ok: #2e7d4f;
  --shadow: 0 1px 3px rgba(16, 36, 64, 0.08), 0 6px 18px rgba(16, 36, 64, 0.06);
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--text); font-weight: 700; }
.container { width: 1180px; max-width: 100%; margin: 0 auto; padding: 0 20px; }
.btn-primary-sm, .btn-primary, .btn-outline {
  display: inline-block; cursor: pointer; border: none; border-radius: 6px;
  font-size: 14px; padding: 9px 18px; transition: background .15s, color .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary-sm { background: var(--primary); color: #fff; padding: 7px 14px; }
.btn-primary-sm:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-link { color: var(--text-soft); padding: 7px 12px; }
.btn-link:hover { color: var(--primary); }
.btn-block { width: 100%; text-align: center; }
.muted { color: var(--text-soft); }
.center { text-align: center; }

/* ---------- 页眉 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(16,36,64,.03);
}
.header-inner { display: flex; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); font-size: 17px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover; display: block;
  box-shadow: 0 1px 4px rgba(11, 110, 110, 0.18); flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.footer-logo { width: 32px; height: 32px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.footer-beian { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.footer-icp-host { color: #8ea0bd; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 30px; }
.nav-link { padding: 8px 14px; color: var(--text-soft); border-radius: 6px; font-size: 15px; }
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -2px; right: -2px; background: var(--accent); color: #fff;
  font-size: 11px; min-width: 17px; height: 17px; line-height: 17px; text-align: center;
  border-radius: 9px; padding: 0 4px;
}
.cart-badge-pop { animation: badgePop .45s ease; }
@keyframes badgePop {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.cart-link-flash { animation: cartFlash .55s ease; }
@keyframes cartFlash {
  0%, 100% { background: transparent; }
  40% { background: var(--primary-light); color: var(--primary); }
}
.header-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.user-menu { position: relative; }
.user-btn {
  background: linear-gradient(135deg, #eef5ff, #e4edfb);
  color: var(--primary); border: 1px solid #d5e4f7; cursor: pointer;
  padding: 5px 10px 5px 5px; border-radius: 999px; font-size: 14px;
  display: flex; align-items: center; gap: 8px; transition: box-shadow .2s, border-color .2s;
}
.user-btn:hover { border-color: #b9d0f0; box-shadow: 0 4px 14px rgba(23,87,166,.12); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), #2f78c9);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.user-avatar.sm { width: 36px; height: 36px; font-size: 15px; }
.user-avatar.has-img { background: #dfe7f3; padding: 0; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.user-name { font-size: 13px; font-weight: 700; color: var(--text); max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-role { font-size: 11px; color: var(--text-soft); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--primary); margin-left: 2px; }
.user-drop {
  display: none; position: absolute; right: 0; top: 50px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(16,36,64,.14); min-width: 200px; overflow: hidden; z-index: 60;
}
.user-drop.show { display: block; animation: dropIn .16s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-drop-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: linear-gradient(135deg, #f4f8ff, #eaf2fc); border-bottom: 1px solid var(--line);
}
.user-drop-head .ud-name { font-weight: 700; font-size: 14px; color: var(--text); }
.user-drop-head .ud-sub { font-size: 12px; color: var(--ok); }
.user-drop a { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; color: var(--text-soft); font-size: 14px; }
.user-drop a em { font-style: normal; background: var(--accent); color: #fff; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px; padding: 0 5px; }
.user-drop a:hover { background: var(--primary-light); color: var(--primary); }
.user-drop a.danger { color: #b42318; border-top: 1px solid var(--line); }
.user-drop a.danger:hover { background: #fff1f0; color: #912018; }

/* 加购飞入 / Toast */
.cart-flyer {
  position: fixed; z-index: 9999; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; overflow: hidden; pointer-events: none;
  box-shadow: 0 10px 24px rgba(23,87,166,.35);
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
  will-change: transform, opacity;
}
.cart-flyer img { width: 100%; height: 100%; object-fit: cover; }
.cart-flyer span { font-size: 22px; font-weight: 700; line-height: 1; }
.px-toast {
  position: fixed; left: 50%; top: 84px; transform: translateX(-50%) translateY(-8px);
  background: rgba(20,33,58,.94); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; z-index: 10000; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.px-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.btn-added { background: var(--ok) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ---------- 页脚 ---------- */
.site-footer { background: #14213a; color: #c7d2e3; margin-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 36px; padding: 44px 20px 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #9fb0c9; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: #c7d2e3; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 13px; color: #9fb0c9; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; color: #8ea0bd; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-icp { color: #8ea0bd; text-decoration: none; }
.footer-icp:hover { color: #ffffff; text-decoration: underline; }

/* ---------- 通用区块 ---------- */
.section { padding: 44px 0; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: 26px; }
.section-head p { color: var(--text-soft); margin: 0; }

/* ---------- 首页 Hero ---------- */
.hero { background: linear-gradient(120deg, #11427d 0%, #1757a6 60%, #2a6fc0 100%); color: #fff; padding: 64px 0; }
.hero h1 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.hero p { font-size: 16px; color: #d7e6fb; max-width: 640px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.5); }
.hero .btn-outline:hover { background: rgba(255,255,255,.22); }
.hero-stats { display: flex; gap: 40px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .num { font-size: 26px; font-weight: 700; }
.hero-stats .label { font-size: 13px; color: #cfe0f6; }

/* 模块卡片 */
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.module-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); display: flex; gap: 22px; align-items: flex-start;
}
.module-icon {
  width: 58px; height: 58px; border-radius: 12px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; flex-shrink: 0;
}
.module-card h3 { font-size: 20px; margin-bottom: 8px; }
.module-card p { color: var(--text-soft); margin: 0 0 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature-card .fc-no { color: var(--primary); font-weight: 700; font-size: 14px; }
.feature-card h4 { font-size: 17px; margin: 8px 0 6px; }
.feature-card p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* ---------- 商城 / 列表 ---------- */
.page-title { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.page-title h1 { font-size: 24px; margin: 0; }
.page-title .crumb { color: var(--text-soft); font-size: 13px; margin-bottom: 6px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filter-bar .label { color: var(--text-soft); font-size: 14px; margin-right: 4px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--text-soft); cursor: pointer;
  padding: 7px 16px; border-radius: 20px; font-size: 14px; transition: all .15s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.search-box { display: flex; margin: 4px 0 28px; }
.search-box input { border: 1px solid var(--line); border-right: none; border-radius: 6px 0 0 6px; padding: 8px 12px; width: 280px; max-width: 100%; font-size: 14px; outline: none; }
.search-box button { border: 1px solid var(--primary); background: var(--primary); color: #fff; border-radius: 0 6px 6px 0; padding: 0 16px; cursor: pointer; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(16,36,64,.12); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: #eef2f7; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .pname { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.product-card .pmeta { color: var(--text-soft); font-size: 13px; margin-bottom: 10px; }
.product-card .ptags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.product-card .tag { background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.product-card .pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { color: var(--accent); font-weight: 700; font-size: 18px; }
.price small { color: var(--text-soft); font-weight: 400; font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.empty { text-align: center; color: var(--text-soft); padding: 60px 0; }

/* ---------- 商品详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.gallery .main-img { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef2f7; aspect-ratio: 4/3; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs img { width: 72px; height: 60px; object-fit: cover; border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.thumbs img.active { border-color: var(--primary); }
.detail-info h1 { font-size: 24px; margin-bottom: 10px; }
.detail-price { font-size: 28px; color: var(--accent); font-weight: 700; margin: 12px 0; }
.detail-price small { font-size: 15px; color: var(--text-soft); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.detail-meta { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 14px 0; margin: 16px 0; color: var(--text-soft); font-size: 14px; }
.detail-meta div { margin: 4px 0; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.qty-ctrl { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-ctrl button { width: 36px; height: 38px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--text); }
.qty-ctrl input { width: 50px; height: 38px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 15px; outline: none; }
.detail-desc { margin-top: 30px; }
.detail-desc h3 { font-size: 18px; }
.detail-desc p { color: var(--text-soft); }

/* ---------- 购物车 ---------- */
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-row { display: grid; grid-template-columns: 90px 1fr 120px 140px 100px 60px; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-row.head { background: #fafbfd; font-weight: 600; color: var(--text-soft); font-size: 14px; }
.cart-row .c-img { width: 80px; height: 64px; object-fit: cover; border-radius: 6px; background: #eef2f7; }
.cart-row .c-name { font-weight: 600; }
.cart-row .c-sub { color: var(--text-soft); font-size: 13px; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-top: 22px; box-shadow: var(--shadow); }
.cart-summary .line { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-soft); }
.cart-summary .total { font-size: 22px; font-weight: 700; color: var(--accent); }

/* ---------- 信息列表 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.info-card .cover { aspect-ratio: 16/9; overflow: hidden; background: #eef2f7; }
.info-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.info-card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.info-card .cat { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 2px 10px; border-radius: 4px; margin-bottom: 10px; align-self: flex-start; }
.info-card h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.45; }
.info-card .summary { color: var(--text-soft); font-size: 14px; margin: 0 0 14px; flex: 1; }
.info-card .foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 12px; }
.info-card .foot .phone { color: var(--primary); }

/* ---------- 信息详情 ---------- */
.info-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.info-detail .cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef2f7; aspect-ratio: 16/9; margin-bottom: 22px; }
.info-detail .cover img { width: 100%; height: 100%; object-fit: cover; }
.info-detail h1 { font-size: 26px; }
.info-detail .meta { color: var(--text-soft); font-size: 14px; margin-bottom: 20px; }
.info-detail .meta span { margin-right: 16px; }
.info-detail .content p { color: #36424f; line-height: 1.9; margin: 0 0 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 84px; }
.contact-card h4 { font-size: 16px; margin-bottom: 14px; }
.contact-card .row { margin-bottom: 12px; font-size: 14px; }
.contact-card .row .k { color: var(--text-soft); display: inline-block; width: 64px; }
.contact-card .phone-mask { font-weight: 600; color: var(--primary); }
.contact-card .tip { background: var(--primary-light); color: var(--primary); font-size: 13px; padding: 10px 12px; border-radius: 6px; margin-top: 8px; }
.contact-card .tip a { color: var(--primary); text-decoration: underline; }

/* ---------- 表单 / 认证 ---------- */
.auth-wrap { max-width: 460px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.auth-wrap h2 { text-align: center; font-size: 22px; }
.auth-wrap .sub { text-align: center; color: var(--text-soft); margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 14px; outline: none; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 120px; }
.agree { font-size: 13px; color: var(--text-soft); margin: 6px 0 18px; line-height: 1.7; }
.agree input { margin-right: 6px; vertical-align: middle; }
.agree a { color: var(--primary); }
.form-msg { font-size: 13px; margin-bottom: 12px; padding: 8px 12px; border-radius: 6px; }
.form-msg.err { background: #fdecec; color: #c0392b; }
.form-msg.ok { background: #eafaf0; color: var(--ok); }
.auth-switch { text-align: center; font-size: 14px; color: var(--text-soft); margin-top: 16px; }
.auth-switch a { color: var(--primary); }

/* 发布表单 */
.publish-wrap { max-width: 720px; margin: 30px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }

/* 富文本编辑器 */
.rte {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
}
.rte-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  padding: 8px 10px; background: #f5f7fa; border-bottom: 1px solid var(--line);
}
.rte-toolbar button {
  border: 1px solid transparent; background: transparent; color: var(--text);
  border-radius: 6px; padding: 5px 10px; cursor: pointer; font-size: 13px; line-height: 1.2;
}
.rte-toolbar button:hover { background: #fff; border-color: var(--line); color: var(--primary); }
.rte-sep { width: 1px; height: 18px; background: #d5dde8; margin: 0 4px; }
.rte-body {
  min-height: 180px; max-height: 420px; overflow: auto; padding: 12px 14px;
  font-size: 14px; line-height: 1.75; outline: none; color: var(--text);
}
.rte-body.is-empty:before {
  content: attr(data-placeholder); color: #9aa6b5; pointer-events: none;
}
.rte-body p { margin: 0 0 10px; }
.rte-body ul, .rte-body ol { margin: 0 0 10px; padding-left: 1.4em; }
.rte-img, .info-detail .content img.rte-img, .info-detail .content img {
  max-width: 100%; height: auto; display: block; margin: 12px 0; border-radius: 8px;
}
.info-detail .content {
  color: #36424f; line-height: 1.9; word-break: break-word;
}
.info-detail .content p { margin: 0 0 16px; }
.info-detail .content a { color: var(--primary); text-decoration: underline; }

/* 封面上传 / 裁剪 */
.cover-upload {
  display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap;
}
.cover-upload-preview {
  width: 260px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 10px;
  border: 1px dashed #b9c5d6; background: #f3f6fa; overflow: hidden;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.cover-upload-preview.has-img { border-style: solid; border-color: var(--line); }
.cover-upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-upload-placeholder {
  text-align: center; color: var(--text-soft); font-size: 13px; line-height: 1.6; padding: 12px;
}
.cover-upload-placeholder small { color: #8a97a8; }
.cover-upload-actions {
  flex: 1; min-width: 180px; display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.cover-upload-tip { margin: 0; font-size: 13px; color: var(--text-soft); line-height: 1.7; }

.crop-overlay {
  position: fixed; inset: 0; z-index: 10050; background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.crop-modal {
  width: min(860px, 100%); background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.crop-modal-head { padding: 16px 20px 8px; }
.crop-modal-head h3 { margin: 0 0 4px; font-size: 18px; }
.crop-modal-head .muted { margin: 0; font-size: 13px; }
.crop-stage {
  position: relative; height: min(58vh, 460px); margin: 8px 16px; background: #111827;
  border-radius: 10px; overflow: hidden; user-select: none; touch-action: none;
}
.crop-stage img {
  position: absolute; display: block; max-width: none; pointer-events: none;
}
.crop-shade { display: none; }
.crop-box {
  position: absolute; border: 2px solid #fff;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.55);
  cursor: move; box-sizing: border-box;
}
.crop-handle {
  position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid var(--primary);
  border-radius: 2px;
}
.crop-handle.tl { left: -7px; top: -7px; cursor: nwse-resize; }
.crop-handle.tr { right: -7px; top: -7px; cursor: nesw-resize; }
.crop-handle.bl { left: -7px; bottom: -7px; cursor: nesw-resize; }
.crop-handle.br { right: -7px; bottom: -7px; cursor: nwse-resize; }
.crop-modal-foot {
  display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px 18px;
}

/* 关于 / 账户 */
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.about-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.about-side h4 { margin-bottom: 12px; }
.about-side .kv { font-size: 14px; margin: 8px 0; color: var(--text-soft); }
.about-side .kv b { color: var(--text); font-weight: 600; }
.about-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.about-main h3 { font-size: 20px; margin-top: 24px; }
.about-main p { color: var(--text-soft); line-height: 1.9; }
.account-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); max-width: 560px; }
.account-card .uname { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.account-card .line { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 12px 0; font-size: 14px; }
.account-card .line .k { color: var(--text-soft); }
.notice-bar { background: var(--primary-light); color: var(--primary); padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.notice-bar.ok { background: #eafaf0; color: var(--ok); }
.notice-bar a { color: inherit; text-decoration: underline; font-weight: 600; }
.settle-wrap .field textarea { min-height: 90px; }

/* 入驻成功态 */
.settled-success {
  text-align: center; padding: 28px 12px 8px;
}
.settled-check {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(145deg, #2e7d4f, #4caf75);
  color: #fff; font-size: 36px; font-weight: 700; line-height: 72px;
  box-shadow: 0 8px 20px rgba(46,125,79,.25);
}
.settled-check.lg {
  width: 96px; height: 96px; margin: 8px auto 20px; font-size: 52px; line-height: 96px;
  box-shadow: 0 12px 28px rgba(46,125,79,.28);
}
.settled-check.sm {
  width: 42px; height: 42px; margin: 0; font-size: 22px; line-height: 42px; flex-shrink: 0;
}
.settled-success { padding: 36px 12px 28px; }
.settled-name {
  font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 18px; word-break: break-all;
}
.settled-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center;
}
.settled-banner {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  padding: 14px 16px; border-radius: 12px; background: #eafaf0; border: 1px solid #b7e0c4;
}
.settled-banner-main {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.settled-banner .settled-name { margin: 0; font-size: 16px; color: var(--ok); }
.settled-edit-btn { padding: 7px 14px; white-space: nowrap; }

/* 账户中心 */
.account-layout { display: flex; flex-direction: column; gap: 20px; }
.account-hero {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, #163f7a 0%, #1f6bb8 55%, #3a8ad4 100%);
  color: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: var(--shadow);
}
.account-hero .account-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.account-hero .account-avatar.has-img { padding: 0; background: rgba(255,255,255,.25); }
.account-hero .account-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-avatar-row {
  display: flex; gap: 16px; align-items: center; margin-bottom: 18px;
  padding-bottom: 18px; border-bottom: 1px dashed var(--line);
}
.profile-avatar-preview {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(145deg, var(--primary), #2f78c9);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; border: 3px solid var(--primary-light);
}
.profile-avatar-preview.has-img { background: #e8eef6; }
.profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-avatar-actions { flex: 1; min-width: 0; }
.profile-avatar-title { font-weight: 700; margin-bottom: 4px; }
.profile-avatar-actions .muted { margin: 0 0 10px; font-size: 13px; }
.profile-avatar-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.profile-upload-btn { cursor: pointer; }
.account-panel .field { margin-bottom: 14px; }
.account-panel .field label { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.account-panel .field input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-size: 14px; outline: none; background: #fff;
}
.account-panel .field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,87,166,.1); }
.account-panel .field input:disabled { background: #f3f5f8; color: var(--text-soft); }
.account-hello { font-size: 13px; opacity: .8; }
.account-name { font-size: 26px; margin: 2px 0 6px; color: #fff; }
.account-tagline { margin: 0; font-size: 13px; opacity: .85; }
.account-hero-text { flex: 1; min-width: 160px; }
.account-hero-stats { display: flex; gap: 12px; margin-left: auto; }
.account-stat {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 12px 18px; min-width: 120px; text-align: center;
}
.account-stat .num { font-size: 20px; font-weight: 700; }
.account-stat .label { font-size: 12px; opacity: .8; margin-top: 2px; }
.account-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.account-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow);
}
.account-panel h3 { font-size: 16px; margin-bottom: 14px; }
.account-line {
  display: flex; justify-content: space-between; gap: 16px;
  border-bottom: 1px dashed var(--line); padding: 13px 0; font-size: 14px;
}
.account-line:last-of-type { border-bottom: none; }
.account-line .k { color: var(--text-soft); }
.account-actions { display: flex; flex-direction: column; gap: 10px; }
.account-action {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s, transform .15s;
}
.account-action:hover { border-color: #b9d0f0; background: var(--primary-light); transform: translateY(-1px); }
.aa-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; flex-shrink: 0;
}
.aa-icon.cart-ic { background: linear-gradient(145deg, #d9772b, #e89a4e); }
.aa-icon.mall-ic { background: linear-gradient(145deg, #1757a6, #3a8ad4); }
.aa-icon.info-ic { background: linear-gradient(145deg, #2e7d4f, #4caf75); }
.aa-icon.pub-ic { background: linear-gradient(145deg, #5b4bb7, #7c6be0); }
.aa-text { display: flex; flex-direction: column; gap: 2px; }
.aa-text strong { font-size: 14px; color: var(--text); }
.aa-text small { font-size: 12px; color: var(--text-soft); }
.account-logout { margin-top: 16px; width: 100%; text-align: center; padding: 10px 16px; cursor: pointer; }
.cart-empty { padding: 48px 20px; }
.cart-empty-icon { font-size: 42px; margin-bottom: 8px; }

/* 内容管理 */
.manage-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.manage-list { display: flex; flex-direction: column; gap: 14px; }
.manage-item {
  display: grid; grid-template-columns: 200px 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; box-shadow: var(--shadow); align-items: stretch;
}
.manage-cover {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #eef2f7;
}
.manage-cover.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 13px;
}
.manage-body { display: flex; flex-direction: column; min-width: 0; }
.manage-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 13px; color: var(--text-soft); margin-bottom: 8px;
}
.manage-meta .tag {
  background: var(--primary-light); color: var(--primary);
  padding: 2px 8px; border-radius: 4px; font-size: 12px;
}
.manage-body h3 { margin: 0 0 8px; font-size: 17px; }
.manage-summary {
  margin: 0 0 14px; color: var(--text-soft); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.manage-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.manage-actions .btn-outline,
.manage-actions .btn-primary-sm { padding: 7px 14px; }
.danger-btn { color: #b42318 !important; border-color: #f0b4ae !important; }
.danger-btn:hover { background: #fff1f0 !important; color: #912018 !important; }
.aa-icon.mgr-ic { background: linear-gradient(145deg, #0f766e, #14b8a6); }

@media (max-width: 720px) {
  .manage-item { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout, .info-detail-layout, .about-layout { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .cart-row { grid-template-columns: 70px 1fr 90px 110px 80px 40px; font-size: 13px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-hero-stats { margin-left: 0; width: 100%; }
  .account-stat { flex: 1; }
}
@media (max-width: 720px) {
  .menu-toggle { display: flex; margin-left: 8px; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); gap: 2px;
  }
  .nav.open { display: flex; }
  .header-right { margin-left: auto; }
  .user-meta { display: none; }
  .user-btn { padding: 4px; }
  .product-grid, .info-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 26px; }
  .cart-row { grid-template-columns: 60px 1fr; }
  .cart-row .c-price, .cart-row .c-qty, .cart-row .c-sub-total, .cart-row .c-del { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .account-hero { padding: 22px; }
  .account-name { font-size: 22px; }
}
@media (max-width: 480px) {
  .product-grid, .info-grid, .feature-grid { grid-template-columns: 1fr; }
}

/* ========== 信息大厅（firervip 风格） ========== */
.page-head { margin: 8px 0 6px; }
.page-head h1 { font-size: 28px; margin: 0 0 8px; color: #16202c; }
.page-head .lead { color: #6b7a8c; font-size: 14px; margin: 0; }
.hall-filters {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; box-shadow: var(--shadow); margin: 20px 0 8px;
}
.hall-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.hall-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: #3d4b5c; font-size: 13.5px; cursor: pointer;
}
.hall-chip:hover { border-color: #d5e0ef; color: var(--primary); background: var(--primary-light); }
.hall-chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.hall-search { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.hall-search input {
  flex: 1 1 220px; min-width: 0; height: 40px; border: 1px solid var(--line);
  border-radius: 8px; padding: 0 14px; background: #fff; font: inherit;
}
.hall-search input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(23,87,166,.1); }
.hall-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin: 18px 0 14px;
}
.igrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.icard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(22,32,44,.09); border-color: #d5e0ef; }
.icard__media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #eef3fa; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.icard:hover .icard__media img { transform: scale(1.04); }
.icard__badge {
  position: absolute; z-index: 2; left: 12px; top: 12px;
  background: rgba(23,87,166,.92); color: #fff; font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
}
.icard__body { padding: 16px 17px 14px; display: flex; flex-direction: column; flex: 1; }
.icard__title { font-size: 16px; line-height: 1.5; margin: 0 0 9px; }
.icard__title a { color: #16202c; }
.icard__title a:hover { color: var(--primary); }
.icard__meta { display: flex; align-items: center; gap: 14px; color: #97a3b1; font-size: 12.5px; margin-bottom: 10px; }
.icard__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.itag {
  font-size: 12px; color: #6b7a8c; background: #eef1f5;
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
}
.itag--ok { color: #1f7a54; background: #eaf6f0; }
.icard__foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid #eef1f5;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: #6b7a8c;
}
.hall-two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.detail-head {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 28px; box-shadow: var(--shadow);
}
.detail-head h1 { font-size: 24px; line-height: 1.5; margin: 0; }
.detail-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: #6b7a8c; font-size: 13px; margin-top: 14px;
}
/* 对标顺企网产品图册：主图 contain + 缩略图条 + 放大镜 */
.album { margin-top: 20px; max-width: 560px; position: relative; z-index: 2; }
.album-viewer { position: relative; width: 100%; }
.album-stage {
  width: 100%;
  height: 420px;
  max-height: 56vw;
  border: 1px solid #eee;
  background: #f2f2f2;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: crosshair;
  position: relative;
}
.album-stage img#mainCover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f2f2f2;
  user-select: none;
  pointer-events: none;
}
.album-lens {
  display: none;
  position: absolute;
  width: 160px;
  height: 120px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid #ddd;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 6;
}
.album-zoom {
  display: none;
  position: absolute;
  left: calc(100% + 14px);
  top: 0;
  width: 420px;
  height: 420px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  z-index: 30;
  box-shadow: 0 10px 28px rgba(22, 32, 44, 0.14);
}
.album-zoom img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  display: block;
  background: #f2f2f2;
}
.album.is-zooming .album-lens,
.album.is-zooming .album-zoom { display: block; }
.album.zoom-left .album-zoom {
  left: auto;
  right: calc(100% + 14px);
}
.album-thumbs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 16px;
  position: relative;
  height: 64px;
}
.album-nav {
  flex: 0 0 32px;
  width: 32px;
  height: 56px;
  border: 0;
  background: #fff;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-nav:hover { color: #111; }
.album-nav:disabled { opacity: 0.35; cursor: default; }
.album-thumbs-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 56px;
}
.album-thumbs-track {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  transition: transform 0.25s ease;
  will-change: transform;
}
.album-thumb {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 1px solid #c0c0c0;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 0;
  overflow: hidden;
}
.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f5f5f5;
  display: block;
}
.album-thumb.is-on {
  border-color: #ff6600;
  background: #ff6600;
  padding: 2px;
}
.album-thumb.is-on img { background: #fff; }
.album-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.72);
  display: none; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.album-lightbox.is-open { display: flex; }
.album-lightbox img {
  max-width: min(960px, 94vw);
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
/* 兼容旧类名 */
.detail-cover { margin-top: 20px; border-radius: 4px; overflow: hidden; border: 1px solid #eee; background: #f2f2f2; }
.detail-cover img { width: 100%; height: 420px; max-height: 56vw; object-fit: contain; object-position: center; }
.detail-gallery { display: none; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; box-shadow: var(--shadow); margin-top: 24px; }
.article-card .para { color: #3d4b5c; font-size: 15px; line-height: 1.95; text-align: justify; }
.article-card .para h2 {
  margin: 22px 0 10px; font-size: 18px; font-weight: 700; color: #1a2332; line-height: 1.45;
}
.article-card .para h2:first-child { margin-top: 0; }
.article-card .para h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 650; color: #243447; }
.article-card .para h4 { margin: 14px 0 6px; font-size: 15px; font-weight: 600; color: #2c3e50; }
.article-card .para p { margin: 0 0 12px; }
.article-card .para img {
  display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: 8px;
}
.article-card .summary {
  background: var(--primary-light); border-left: 3px solid var(--primary);
  padding: 14px 16px; border-radius: 0 8px 8px 0; color: #3d4b5c; font-size: 14.5px;
}
.article-card p.para { margin: 18px 0 0; color: #3d4b5c; font-size: 15px; line-height: 1.95; text-align: justify; }
.hall-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.hall-card + .hall-card { margin-top: 20px; }
.hall-card__head {
  padding: 16px 20px; border-bottom: 1px solid #eef1f5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hall-card__head h3 { margin: 0; font-size: 15.5px; }
.hall-card__body { padding: 20px; }
.contact-rows { display: grid; gap: 14px; }
.contact-rows .crow { display: grid; gap: 2px; }
.contact-rows .k { font-size: 12.5px; color: #97a3b1; }
.contact-rows .v { font-size: 14px; color: #16202c; word-break: break-all; }
.contact-phone { font-size: 22px; font-weight: 600; color: var(--primary); letter-spacing: 1px; }
.contact-lock { display: flex; align-items: center; gap: 8px; color: #6b7a8c; font-size: 13px; margin-top: 8px; }
.side-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list .th { width: 76px; height: 52px; border-radius: 7px; overflow: hidden; flex: 0 0 76px; background: #eef3fa; }
.side-list .th img { width: 100%; height: 100%; object-fit: cover; }
.side-list .tt { font-size: 13.5px; line-height: 1.5; }
.side-list .tt a { color: #16202c; }
.side-list .tt a:hover { color: var(--primary); }
.side-list .mm { font-size: 12px; color: #97a3b1; margin-top: 5px; display: block; }
.gallery-upload-list { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-upload-item {
  width: 110px; height: 110px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); position: relative; background: #eef3fa;
}
.gallery-upload-item img { width: 100%; height: 100%; object-fit: contain; background: #f5f7fa; }
.gallery-upload-item .rm {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: none;
  border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: 14px; line-height: 22px;
}
.gallery-upload-add {
  width: 110px; height: 110px; border-radius: 8px; border: 1px dashed #b9c6d8;
  background: #f8fafc; color: #6b7a8c; cursor: pointer; font-size: 13px;
}
@media (max-width: 980px) {
  .igrid { grid-template-columns: repeat(2, 1fr); }
  .hall-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .album-zoom { width: 320px; height: 320px; }
}
@media (max-width: 900px) {
  .album-lens, .album-zoom { display: none !important; }
  .album-stage { cursor: zoom-in; }
}
@media (max-width: 640px) {
  .igrid { grid-template-columns: 1fr; }
  .detail-head, .article-card { padding: 20px; }
  .detail-head h1 { font-size: 20px; }
  .album { max-width: 100%; }
  .album-stage { height: 300px; max-height: 70vw; }
  .detail-cover img { height: 300px; }
}
