/* =============================================================================
 * 日宜百货 · 潮流活力风（VIBRANT / STREET-POP）设计系统
 * 高对比墨黑 + 霓虹撞色大色块 · 年轻跳脱 · 错落网格
 * 说明：类名契约与既有模板保持一致（保证 user/login、notice、terms 等未重构
 *       页面自动获得新视觉）；仅重写取值与视觉语言。暗夜变体见 front-theme-dark.css。
 * ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  color-scheme: light;

  /* 墨黑 / 纸白（强对比基底） */
  --ink:      #14141A;
  --ink-2:    #2A2A33;
  --paper:    #FFFFFF;
  --paper-2:  #F4F4F1;
  --paper-3:  #ECECE8;

  /* 玻璃 / 卡片 */
  --glass:    rgba(255,255,255,.74);
  --card:     #FFFFFF;
  --card-hi:  #FFFFFF;

  /* 描边 */
  --border:    #E9E9E4;
  --border-hi: #D6D6CF;

  /* 文本 */
  --text:   #15151B;
  --text-2: #3B3B46;
  --muted:  #77777F;

  /* 品牌主色 = 墨黑；强调 = 霓虹粉（价格 / 主 CTA） */
  --primary:      #14141A;
  --primary-dark: #000000;
  --primary-2:    #2A2A33;
  --accent:       #FF2D6F;   /* 霓虹粉 */
  --accent-2:     #FF7A3D;   /* 橙 */
  --ok:           #16A34A;
  --err:          #E5484D;
  --warn:         #E58A00;

  --grad-primary: linear-gradient(135deg, #14141A 0%, #2A2A33 100%);
  --grad-accent:  linear-gradient(135deg, #FF2D6F 0%, #FF7A3D 100%);

  /* 圆角 */
  --radius-sm: 10px;
  --radius:    20px;
  --radius-lg: 26px;

  /* 阴影 / 光晕（克制） */
  --shadow:       0 16px 44px rgba(20,20,26,.12);
  --shadow-soft:  0 6px 22px rgba(20,20,26,.07);
  --glow:         0 0 26px rgba(20,20,26,.10);
  --glow-soft:    0 0 40px rgba(20,20,26,.08);
  --glow-accent:  0 12px 30px rgba(255,45,111,.34);

  /* 霓虹撞色调色板（分类 / 区块大色块） */
  --pop-pink:   #FF2D6F;
  --pop-blue:   #2D5BFF;
  --pop-lime:   #C8F23C;
  --pop-orange: #FF6A00;
  --pop-violet: #8B5CFF;
  --pop-cyan:   #00D6C2;
  --pop-yellow: #FFD23F;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. 重置 / 页面底色 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: var(--accent); color: #fff; }

/* ---------- 3. 顶部品牌条（粗体墨黑块） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--pop-lime);
}
.topbar .inner {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  height: 66px; display: flex; align-items: center; gap: 18px;
}
.topbar .logo {
  font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: #fff;
  white-space: nowrap; display: inline-flex; align-items: baseline; gap: 5px;
}
.topbar .logo small {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  color: var(--pop-lime);
}
.topbar .top-search {
  flex: 0 1 440px; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 4px 4px 4px 16px; height: 42px; max-width: 440px;
}
.topbar .top-search .ts-ic { width: 18px; height: 18px; color: rgba(255,255,255,.65); flex-shrink: 0; display: block; }
.topbar .top-search input { flex: 1; border: none; outline: none; background: transparent; color: #fff; font-size: 14px; }
.topbar .top-search input::placeholder { color: rgba(255,255,255,.55); }
.topbar .top-search .btn { border-radius: 999px; height: 34px; padding: 0 18px; background: #fff; color: var(--ink); font-weight: 800; }
.topbar .top-search .btn:hover { background: var(--pop-lime); color: var(--ink); }
@media (max-width: 760px) {
  .topbar .top-search { flex: 1; max-width: none; }
}
.topbar .right { display: flex; gap: 16px; align-items: center; margin-left: auto; font-size: 14px; }
.topbar .right > a { color: #fff; font-weight: 600; opacity: .92; }
.topbar .right > a:hover { color: var(--pop-lime); opacity: 1; }
.topbar .cart-link { position: relative; }
.topbar .muted { color: #9a9aa6; }
.theme-toggle {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 800;
}
.theme-toggle:hover { border-color: var(--pop-lime); color: var(--pop-lime); }

/* ---------- 4. 分类轨道（横向撞色胶囊，替代原顶部分类条） ---------- */
.catrail { background: var(--paper); border-bottom: 1px solid var(--border); position: sticky; top: 69px; z-index: 40; }
.catrail .inner { max-width: 1240px; margin: 0 auto; padding: 11px 20px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.catrail .inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 800;
  color: var(--ink); background: var(--paper-2); border: 2px solid transparent; white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.cat-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); }
.cat-chip:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow-soft); }
.cat-chip.active { background: var(--ink); color: #fff; }
.cat-chip.active .dot { box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.cat-chip.is-all { background: var(--accent); color: #fff; }
.cat-chip.is-all.active { background: var(--accent); }

/* ---------- 5. 公告条（撞色细条） ---------- */
.notice-strip { background: var(--pop-yellow); color: var(--ink); }
.notice-strip-inner { max-width: 1240px; margin: 0 auto; padding: 9px 20px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.notice-strip .ns-tag { background: var(--ink); color: #fff; font-weight: 800; font-size: 11px; padding: 2px 9px; border-radius: 6px; flex-shrink: 0; }
.notice-strip .ns-link { color: var(--ink); font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-strip .ns-link:hover { text-decoration: underline; }
.notice-strip .ns-more { color: var(--ink); font-weight: 800; flex-shrink: 0; }

/* ---------- 6. 布局容器 ---------- */
.container { max-width: 1240px; margin: 26px auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 34px auto; padding: 0 20px; }
.site-main { padding: 26px 0 50px; }

/* ---------- 7. 卡片 ---------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 20px; margin-bottom: 16px; overflow: hidden;
}
.card h2, .card h3 { margin: 0 0 14px; font-size: 17px; color: var(--text); }

/* ---------- 8. 栅格 ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 9. 商品卡片 ---------- */
.product {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit;
  box-shadow: var(--shadow-soft); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.product:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow), var(--glow-accent); color: inherit; }
.product .cover { display: block; width: 100%; aspect-ratio: 1/1; background-color: var(--paper-2); background-repeat: no-repeat; background-position: center; background-size: cover; }
.product .cover-ph { display: flex; align-items: center; justify-content: center; background: var(--paper-3); color: var(--muted); font-weight: 800; }
.product .cover-ph::after { content: attr(data-cat); letter-spacing: 2px; }
.product .body { display: flex; flex-direction: column; flex: 1; gap: 5px; padding: 13px 14px 15px; }
.product .title { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--text); min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product:hover .title { color: var(--ink); }
.product .price { margin: 2px 0 0; color: var(--accent); font-size: 19px; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.product .price small { font-size: 11px; color: var(--muted); font-weight: 600; }
.product .meta { margin: 0; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 徽标（贴角） */
.badge-rec, .badge-hot, .badge-new {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 900; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; color: #fff;
}
.badge-rec { background: var(--ink); }
.badge-hot { background: var(--pop-pink); }
.badge-new { background: var(--pop-blue); }

/* 标签行 */
.p-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }
.p-tags .t { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--accent); background: rgba(255,45,111,.10); border: 1px solid rgba(255,45,111,.3); }

/* ---------- 10. 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent; background: var(--paper-2); color: var(--ink);
  cursor: pointer; font-size: 14px; font-weight: 800; font-family: inherit; line-height: 1; white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: var(--glow-soft); color: #fff; }
.btn-accent { background: var(--grad-accent); color: #fff; }
.btn-accent:hover { box-shadow: var(--glow-accent); filter: brightness(1.05); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border-hi); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-danger { background: #FF3B3B; color: #fff; }
.btn-danger:hover { filter: brightness(1.05); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 11. 表单 ---------- */
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--text-2); }
.form-item .hint { color: var(--muted); font-size: 12px; margin-top: 5px; }
input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel],
input[type=search], input[type=date], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #a9a9b3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,45,111,.12); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: auto; }
select option { background: var(--card); color: var(--text); }
textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; background: var(--paper-2); }

/* ---------- 12. 表格 ---------- */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; font-size: 13.5px; }
.table th, .table td { padding: 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { background: var(--paper-2); font-weight: 800; color: var(--text-2); font-size: 12.5px; letter-spacing: .03em; }
.table tbody tr:last-child td { border-bottom: none; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.table a { color: var(--accent); }

/* ---------- 13. 标签 ---------- */
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.85; border: 1px solid transparent; white-space: nowrap; }
.tag-gray   { background: #ECECE8; color: #55555f; }
.tag-blue   { background: rgba(45,91,255,.12); color: #1f3fd0; border-color: rgba(45,91,255,.3); }
.tag-green  { background: rgba(22,163,74,.12); color: #15803D; border-color: rgba(22,163,74,.3); }
.tag-orange { background: rgba(255,106,0,.12); color: #c2500a; border-color: rgba(255,106,0,.34); }
.tag-red    { background: rgba(255,45,111,.12); color: #c01e53; border-color: rgba(255,45,111,.32); }
.tag-yellow { background: rgba(255,210,63,.20); color: #8a6a00; border-color: rgba(255,210,63,.4); }

/* ---------- 14. 数据统计卡 ---------- */
.stat { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: transform .16s ease, box-shadow .16s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--glow-soft); }
.stat .label { color: var(--muted); font-size: 12.5px; }
.stat .value { font-size: 27px; font-weight: 900; margin-top: 7px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.stat .value.accent  { color: var(--accent); }
.stat .value.primary { color: var(--primary); }
.stat .value.ok      { color: var(--ok); }

/* ---------- 15. 侧边布局（会员中心侧栏等） ---------- */
.layout { display: flex; min-height: calc(100dvh - 66px); }
.sidebar { width: 224px; flex-shrink: 0; padding: 18px 0; background: var(--paper-2); border-right: 1px solid var(--border); color: var(--text-2); }
.sidebar .brand { padding: 0 20px 16px; margin-bottom: 12px; font-weight: 800; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.sidebar .brand::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex-shrink: 0; }
.sidebar a { display: block; padding: 11px 20px; color: var(--text-2); font-size: 13.5px; border-left: 3px solid transparent; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.sidebar a:hover { background: rgba(255,45,111,.07); color: var(--accent); border-left-color: rgba(255,45,111,.5); }
.sidebar a.active { background: rgba(255,45,111,.10); color: var(--accent); border-left-color: var(--accent); }
.sidebar .spacer { flex: 1; }
.main { flex: 1; min-width: 0; padding: 22px 26px; overflow: auto; }
@media (max-width: 820px) { .layout { flex-direction: column; } .sidebar { width: 100%; display: flex; overflow-x: auto; padding: 0; border-right: none; border-bottom: 1px solid var(--border); } .sidebar .brand { display: none; } .sidebar a { border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; } .sidebar a.active { border-left: none; border-bottom-color: var(--accent); } }

/* ---------- 16. 页头 / 区块标题 ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.page-head h1 { font-size: 26px; margin: 0; font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: 11px; }
.page-head h1::after { content: ""; width: 46px; height: 5px; border-radius: 3px; background: var(--grad-accent); }
.page-head select, .page-head input[type="text"] { height: 40px; padding: 0 12px; border: 2px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); font-size: 13.5px; }
.page-head .btn { height: 40px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 25px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 12px; }
.section-head h2 .idx { font-size: 13px; font-weight: 900; color: #fff; background: var(--ink); padding: 3px 9px; border-radius: 8px; transform: translateY(-3px); }
.section-head .muted { font-size: 13.5px; }
.section-more { color: var(--ink); font-weight: 800; font-size: 14px; flex-shrink: 0; }
.section-more:hover { color: var(--accent); }
.title-anchor:hover { color: var(--accent); }

/* ---------- 17. 工具类 ---------- */
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 14px; }
.mb { margin-bottom: 14px; }
.divider { height: 1px; background: var(--border); margin: 18px 0; }
.empty { text-align: center; color: var(--muted); padding: 46px 0; }
.empty a { color: var(--accent); font-weight: 700; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.price-lg { color: var(--accent); font-size: 30px; font-weight: 900; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }

/* ---------- 18. 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; list-style: none; padding: 20px 0 6px; margin: 18px 0 0; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination li span, .pagination li a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 11px; border: 2px solid var(--border); border-radius: 999px; background: #fff; color: var(--text-2); font-size: 13.5px; font-variant-numeric: tabular-nums; transition: all .15s ease; }
.pagination li a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.pagination li.active span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 800; }
.pagination li.disabled span { color: var(--muted); background: var(--paper-2); cursor: not-allowed; }

/* ---------- 19. 商品详情 ---------- */
.detail { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; overflow: hidden; }
.detail .gallery { display: flex; align-items: center; justify-content: center; height: 520px; padding: 18px; background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.detail .gallery img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; border-radius: 8px; }
.detail .gallery .gallery-empty { color: var(--muted); }
.detail-title { font-size: 23px; line-height: 1.45; margin: 0 0 12px; font-weight: 800; }
.detail-desc { color: var(--text-2); white-space: pre-line; line-height: 1.85; }
.detail-actions { gap: 10px; }
.detail-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; margin-top: 12px; }
.detail-thumbs .th { position: relative; aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: var(--radius-sm); background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: cover; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.detail-thumbs .th:hover { transform: translateY(-2px); border-color: var(--border-hi); }
.detail-thumbs .th.active { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255,45,111,.5), 0 0 18px rgba(255,45,111,.28); }

/* ---------- 20. 收银台 / 支付 ---------- */
.pay-channel { display: flex; align-items: center; gap: 13px; padding: 15px; border: 2px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 11px; cursor: pointer; background: #fff; transition: all .15s ease; }
.pay-channel:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,45,111,.10); }
.pay-channel input[type="radio"] { flex-shrink: 0; accent-color: var(--accent); }
.pay-channel .pay-info { display: flex; flex-direction: column; gap: 2px; }
.pay-channel.disabled { opacity: .45; cursor: not-allowed; background: var(--paper-2); }
.pay-price { color: var(--accent); font-size: 29px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* ---------- 21. 页脚（墨黑大块 + 撞色分栏） ---------- */
.site-footer { position: relative; margin-top: 60px; background: var(--ink); color: #cfcfd6; }
.site-footer-inner { max-width: 1240px; margin: 0 auto; padding: 46px 20px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px 24px; }
.footer-brand .footer-logo { display: inline-flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 900; color: #fff; }
.footer-brand .footer-logo small { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--pop-lime); }
.footer-brand .footer-desc { margin: 14px 0; font-size: 13px; line-height: 1.8; color: #a9a9b3; max-width: 30em; }
.footer-brand .footer-contact { margin: 0; font-size: 13px; line-height: 1.9; color: #cfcfd6; }
.footer-brand .footer-contact b { color: #fff; font-size: 15px; }
.footer-col h4 { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.footer-col a { display: block; margin-bottom: 9px; font-size: 13px; color: #a9a9b3; line-height: 1.5; }
.footer-col a:hover { color: var(--pop-lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #8a8a94; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #8a8a94; }
.footer-bottom a:hover { color: var(--pop-lime); }
.footer-bottom .beian { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .beian .dot-mark { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pop-pink); margin-right: 6px; vertical-align: middle; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer-inner { padding: 28px 16px 22px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* 兼容旧页脚链接 */
.site-footer-links a { color: #a9a9b3; }
.site-footer-links a:hover { color: var(--pop-lime); }

/* 头像首字母占位 */
.avatar-initial { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; }

/* ---------- 22. 跳转提示页 ---------- */
.jump-body { display: flex; align-items: center; justify-content: center; min-height: 100dvh; padding: 20px; }
.jump-box { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 52px; text-align: center; box-shadow: var(--shadow); }
.jump-icon { width: 68px; height: 68px; border-radius: 50%; line-height: 68px; font-size: 34px; margin: 0 auto 18px; color: #fff; font-weight: 800; }
.jump-icon.is-ok  { background: var(--grad-accent); box-shadow: 0 0 34px rgba(255,45,111,.4); }
.jump-icon.is-err { background: linear-gradient(135deg, #FF6B6B, #E01E29); }
.jump-msg { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.jump-tip { color: var(--muted); margin: 0; font-size: 13px; }

/* ---------- 23. Toast / 弹层浅色适配 ---------- */
.layui-layer, .layer-anim { border-radius: var(--radius) !important; }
.layui-layer-msg { background: rgba(255,255,255,.98) !important; border: 1px solid var(--border-hi) !important; color: var(--text) !important; box-shadow: var(--shadow), var(--glow-soft) !important; }

/* ---------- 24. 动效 / 无障碍 ---------- */
@keyframes xph-float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes xph-pulse { 0%,100%{opacity:1;} 50%{opacity:.55;} }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }
