/* 电池模组防伪追溯 · 移动端优先样式（375px 基准） */

:root {
  --c-ok: #087350;
  --c-ok-bg: #e4f7ef;
  --c-warn: #a65011;
  --c-warn-bg: #fff3df;
  --c-ng: #bd3d3d;
  --c-ng-bg: #fff0ef;
  --c-miss: #67768a;
  --c-miss-bg: #eef2f7;
  --c-primary: #0b4f9c;
  --c-primary-strong: #082f67;
  --c-primary-bg: #e9f2fb;
  --c-text: #102033;
  --c-text-2: #53657b;
  --c-line: #d5e0eb;
  --c-bg: #f4f8fc;
  --c-card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(23, 55, 90, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(circle at 80% -10%, #dceeff 0, transparent 34%), var(--c-bg);
  color: var(--c-text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.page { max-width: 760px; margin: 0 auto; padding: 0 16px 28px; }
.brandbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brandbar__link { color: var(--c-primary-strong); display: inline-flex; align-items: baseline; gap: 8px; }
.brandbar__wordmark { font-size: 19px; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.brandbar__cn { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--c-text-2); }
.brandbar__tag { color: var(--c-text-2); font-size: 9px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: .4em 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-primary); text-decoration: none; }

/* 缺失值唯一措辞的视觉形态 */
.miss {
  color: var(--c-miss);
  background: var(--c-miss-bg);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 13px;
  white-space: nowrap;
}
.note { color: var(--c-text-2); font-size: 13px; }
.unit { color: var(--c-text-2); font-size: 12px; margin-left: 2px; }
.val { word-break: break-all; }

/* ---------- 卡片与通用 ---------- */
.card {
  background: var(--c-card);
  border: 1px solid #e0eaf3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 14px;
}
.card__title { font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.card__sub { color: var(--c-text-2); font-size: 13px; margin: 2px 0 12px; }

.kv__row { display: flex; justify-content: space-between; gap: 12px;
           padding: 7px 0; border-bottom: 1px solid #f1f3f4; font-size: 14px; }
.kv__row:last-child { border-bottom: none; }
.kv__row dt { color: var(--c-text-2); flex-shrink: 0; }
.kv__row dd { margin: 0; text-align: right; word-break: break-all; }
.kv--grid .kv__row { border-bottom: 1px solid #f1f3f4; }

.pill {
  display: inline-block; border-radius: 999px;
  font-size: 12px; padding: 1px 8px; white-space: nowrap;
}
.pill--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.pill--ng { background: var(--c-ng-bg); color: var(--c-ng); }
.pill--off { background: var(--c-miss-bg); color: var(--c-miss); }
.pill--plain { background: var(--c-primary-bg); color: var(--c-primary); }

.tag {
  display: inline-block; border-radius: 4px; font-size: 12px;
  padding: 1px 6px; background: var(--c-primary-bg); color: var(--c-primary);
}
.tag--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.tag--warn { background: var(--c-warn-bg); color: var(--c-warn); }

.warn-strip {
  background: var(--c-warn-bg); color: var(--c-warn);
  border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-top: 8px;
}

.tool {
  min-height: 36px; min-width: 44px;
  border: 1px solid var(--c-line); border-radius: 8px;
  background: #fff; color: var(--c-primary);
  font-size: 14px; padding: 4px 12px; cursor: pointer;
}
.tool:active { background: var(--c-primary-bg); }

/* ---------- 首页 / 纳撒斯防伪入口 ---------- */
.index { padding-top: clamp(24px, 7vh, 72px); max-width: 580px; margin: 0 auto; }
.hero-index { position: relative; margin-bottom: 34px; padding-right: 98px; }
.hero-index__eyebrow { color: var(--c-primary); font-size: 12px; font-weight: 700; letter-spacing: .14em; margin: 0 0 8px; }
.hero-index__title { font-size: clamp(29px, 8vw, 43px); line-height: 1.2; letter-spacing: -.045em; margin: 0; }
.hero-index__sub { color: var(--c-text-2); font-size: 14px; line-height: 1.8; margin: 12px 0 0; }
.hero-index__orbit { width: 76px; height: 76px; position: absolute; right: 2px; top: 4px; display: grid; place-items: center; color: var(--c-primary); }
.hero-index__orbit-ring { position: absolute; inset: 0; border: 1px solid #a8c8e7; border-radius: 50%; }
.hero-index__orbit-ring::after { content: ""; position: absolute; inset: 9px; border: 1px dashed #bfd5e9; border-radius: 50%; }
.hero-index__orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 99px; background: #de6e35; top: 5px; left: 12px; animation: orbit-dot 4s linear infinite; transform-origin: 26px 33px; }
.hero-index__orbit svg { filter: drop-shadow(0 6px 8px rgba(11, 79, 156, .16)); }
@keyframes orbit-dot { to { transform: rotate(360deg); } }

.msg {
  background: var(--c-warn-bg); border: 1px solid #f6dfa4;
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px;
}
.msg__main { font-size: 16px; color: var(--c-warn); font-weight: 600; }
.msg__hint { font-size: 13px; color: var(--c-text-2); margin: 6px 0 0; }

.search { display: grid; gap: 9px; margin-bottom: 16px; }
.search__label { color: var(--c-text); font-size: 13px; font-weight: 700; }
.search__field { position: relative; }
.search__scan-icon { color: var(--c-primary); position: absolute; width: 22px; height: 22px; left: 15px; top: 14px; pointer-events: none; }
.search__input {
  width: 100%; height: 52px; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); padding: 0 14px 0 50px; font-size: 16px; color: var(--c-text); outline: none;
  background: var(--c-card); transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.search__input::placeholder { color: #708096; opacity: 1; }
.search__input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px #dcecff; }
.search__btn {
  height: 52px; border: none; border-radius: var(--radius-sm); padding: 0 18px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--c-primary-strong); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 16px rgba(8, 47, 103, .18); transition: transform .2s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.search__btn:hover { background: #0a4087; transform: translateY(-1px); box-shadow: 0 14px 20px rgba(8, 47, 103, .2); }
.search__btn:active { transform: translateY(0) scale(.985); }
.search__btn:disabled { opacity: .8; cursor: wait; }

.tips { color: var(--c-text-2); font-size: 12.5px; padding: 2px 2px; }
.tips p { margin: 4px 0; }

.scan-loading { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(244, 248, 252, .82); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-out), visibility .2s; }
.scan-loading--active { opacity: 1; visibility: visible; }
.scan-loading__panel { width: min(100%, 340px); text-align: center; background: #fff; border: 1px solid #d6e4f1; border-radius: 20px; padding: 34px 24px 28px; box-shadow: 0 20px 60px rgba(17, 51, 89, .16); }
.scan-loading__raster { width: 92px; height: 92px; margin: 0 auto 18px; position: relative; border: 2px solid #82add7; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #edf6ff, #fff); }
.scan-loading__raster span { position: absolute; width: 18px; height: 18px; border: 3px solid var(--c-primary); }
.scan-loading__raster span:nth-child(1) { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.scan-loading__raster span:nth-child(2) { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.scan-loading__raster span:nth-child(3) { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.scan-loading__raster span:nth-child(4) { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.scan-loading__raster i { position: absolute; left: 8px; right: 8px; height: 2px; background: #e26d37; box-shadow: 0 0 10px #e26d37; animation: scan-line 1.25s var(--ease-out) infinite alternate; }
.scan-loading__label { font-size: 16px; font-weight: 700; margin: 0; }
.scan-loading__brand { margin: 10px 0 0; color: var(--c-primary-strong); font-size: 22px; font-weight: 800; letter-spacing: .12em; animation: wordmark-shift 1.8s var(--ease-out) infinite alternate; }
.scan-loading__hint { margin: 7px 0 0; color: var(--c-text-2); font-size: 12px; }
@keyframes scan-line { from { top: 16px; } to { top: 73px; } }
@keyframes wordmark-shift { from { letter-spacing: .12em; opacity: .65; } to { letter-spacing: .2em; opacity: 1; } }

/* ---------- 全站首屏加载动效：追溯页 HTML 内直接渲染，不依赖中转路由 ---------- */
.route-loading { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 22px; background: #f4f8fc; opacity: 1; visibility: visible; transition: opacity .32s var(--ease-out), visibility .32s; }
.route-loading--leaving { opacity: 0; visibility: hidden; }
.route-loading--hidden { display: none; }
.route-loading__content { width: min(100%, 360px); text-align: center; }
.route-loading__scanner { width: 116px; height: 116px; margin: 0 auto 22px; position: relative; overflow: hidden; border: 2px solid #77a6d2; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px rgba(21, 67, 111, .12), inset 0 0 0 7px #edf6fd; }
.route-loading__scanner span { position: absolute; z-index: 2; width: 25px; height: 25px; border: 4px solid var(--c-primary-strong); }
.route-loading__scanner span:nth-child(1) { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.route-loading__scanner span:nth-child(2) { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.route-loading__scanner span:nth-child(3) { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.route-loading__scanner span:nth-child(4) { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.route-loading__scanner b { position: absolute; inset: 0; display: grid; place-items: center; color: #638cb3; font-size: 16px; letter-spacing: .13em; animation: raster-pulse 1s var(--ease-out) infinite alternate; }
.route-loading__scanner i { position: absolute; z-index: 3; left: 11px; right: 11px; height: 3px; border-radius: 999px; background: #df6a36; box-shadow: 0 0 13px #df6a36; animation: route-scan-line 1.05s var(--ease-out) infinite alternate; }
.route-loading__label { margin: 0; color: var(--c-text); font-size: 17px; font-weight: 800; }
.route-loading__wordmark { margin-top: 12px; display: flex; justify-content: center; gap: 2px; color: var(--c-primary-strong); font-size: clamp(25px, 8vw, 32px); font-weight: 800; letter-spacing: .055em; }
.route-loading__wordmark span { display: inline-block; animation: brand-wave .9s var(--ease-out) infinite alternate; }
.route-loading__wordmark span:nth-child(2) { animation-delay: 60ms; }
.route-loading__wordmark span:nth-child(3) { animation-delay: 120ms; }
.route-loading__wordmark span:nth-child(4) { animation-delay: 180ms; }
.route-loading__wordmark span:nth-child(5) { animation-delay: 240ms; }
.route-loading__wordmark span:nth-child(6) { animation-delay: 300ms; }
.route-loading__wordmark span:nth-child(7) { animation-delay: 360ms; }
.route-loading__wordmark span:nth-child(8) { animation-delay: 420ms; }
.route-loading__hint { margin: 7px 0 18px; color: var(--c-text-2); font-size: 12px; }
.route-loading__progress { height: 3px; overflow: hidden; border-radius: 99px; background: #d8e8f5; }
.route-loading__progress i { display: block; width: 46%; height: 100%; border-radius: inherit; background: var(--c-primary); animation: progress-move 1s var(--ease-out) infinite; }
@keyframes route-scan-line { from { top: 16px; } to { top: 96px; } }
@keyframes raster-pulse { from { transform: scale(.94); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes brand-wave { from { transform: translateY(0); opacity: .55; } to { transform: translateY(-5px); opacity: 1; } }
@keyframes progress-move { from { transform: translateX(-105%); } to { transform: translateX(240%); } }

/* ---------- IP 访问频率限制提示 ---------- */
.limit-page { min-height: calc(100vh - 180px); display: grid; place-items: center; padding: 32px 0 56px; }
.limit-card { width: min(100%, 470px); text-align: center; padding: 34px 26px 30px; background: #fff; border: 1px solid #efd9c7; border-radius: 20px; box-shadow: 0 18px 48px rgba(80, 57, 34, .1); }
.limit-card__icon { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; color: var(--c-warn); border-radius: 50%; background: var(--c-warn-bg); }
.limit-card__eyebrow { color: var(--c-warn); font-size: 10px; font-weight: 800; letter-spacing: .14em; margin: 0 0 8px; }
.limit-card__title { font-size: 26px; line-height: 1.25; letter-spacing: -.03em; }
.limit-card__text { max-width: 390px; margin: 13px auto 0; color: var(--c-text-2); font-size: 14px; line-height: 1.8; }
.limit-card__countdown { margin: 22px auto 17px; display: flex; align-items: baseline; justify-content: center; gap: 7px; color: var(--c-text-2); }
.limit-card__countdown strong { color: var(--c-primary-strong); font-size: 37px; line-height: 1; font-variant-numeric: tabular-nums; }
.limit-card__countdown span { font-size: 13px; }
.limit-card__retry { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #dde5ed; color: #64748a; font-size: 15px; font-weight: 700; pointer-events: none; }
.limit-card__retry--ready { background: var(--c-primary-strong); color: #fff; pointer-events: auto; box-shadow: 0 10px 20px rgba(8, 47, 103, .18); }
.limit-card__home { display: inline-block; margin-top: 13px; color: var(--c-primary); font-size: 14px; }
.limit-card__note { margin: 20px 0 0; color: var(--c-miss); font-size: 12px; }

.recent { margin-top: 24px; }
.recent__head { display: flex; justify-content: space-between; align-items: center; }
.recent__title { font-size: 15px; }
.recent__clear { border: none; background: none; color: var(--c-text-2);
                 font-size: 13px; min-height: 44px; cursor: pointer; }
.recent__list { margin-top: 4px; }
.recent__list li a {
  display: block; padding: 10px 4px; border-bottom: 1px solid #f1f3f4;
  font-size: 15px; word-break: break-all;
}

/* ---------- 查询结果总览 ---------- */
.card--hero { padding: 20px; background: linear-gradient(135deg, #fff 0%, #f1f8ff 100%); border-color: #cfe0f1; }
.result-hero__topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--c-text-2); font-size: 12px; font-weight: 700; }
.result-hero__stamp { color: var(--c-primary); font-size: 9px; letter-spacing: .1em; white-space: nowrap; }
.hero__verified {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-ok); font-size: 13px; font-weight: 700;
  background: var(--c-ok-bg); border-radius: 999px; padding: 4px 11px; margin-top: 13px;
}
.shield-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-ok); display: inline-block; box-shadow: 0 0 0 4px rgba(8, 115, 80, .1); }
.hero__code-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; }
.hero__code { font-size: clamp(20px, 6vw, 27px); line-height: 1.24; font-weight: 800; letter-spacing: .02em; word-break: break-all; flex: 1; }
.hero__code--sm { font-size: 17px; }

.verdict { border-radius: 12px; padding: 13px 14px; margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verdict--OK { background: var(--c-ok-bg); color: var(--c-ok); }
.verdict--PARTIAL { background: var(--c-warn-bg); color: var(--c-warn); }
.verdict--NG { background: var(--c-ng-bg); color: var(--c-ng); }
.verdict__label { font-size: 18px; font-weight: 800; line-height: 1.35; }
.verdict__reason { font-size: 13px; opacity: .92; line-height: 1.35; }

.hero__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; text-align: left; }
.hero__cell { background: rgba(255, 255, 255, .72); border: 1px solid #dce9f4; border-radius: var(--radius-sm); padding: 10px 9px; display: flex; flex-direction: column; gap: 2px; }
.hero__cell b { font-size: 18px; color: var(--c-primary-strong); }
.hero__cell span { font-size: 11px; line-height: 1.35; color: var(--c-text-2); }
.hero__time { margin-top: 12px; font-size: 12.5px; color: var(--c-text-2); word-break: break-all; }

/* ---------- 时间轴 ---------- */
.timeline { margin-top: 4px; }
.node { position: relative; padding-left: 4px; }
.node + .node { margin-top: 4px; }
.node__head {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 44px; padding: 8px 4px; border-radius: 8px;
}
.node--on .node__head { cursor: pointer; }
.node--on .node__head:active { background: #f8f9fa; }
.node__rail {
  width: 12px; height: 12px; border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
  background: var(--c-card); border: 3px solid var(--c-miss);
}
.node--on .node__rail { border-color: var(--c-ok); }
.node--off .node__rail { border-style: dashed; }
.node__body { flex: 1; min-width: 0; }
.node__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.node__no {
  font-size: 12px; color: var(--c-text-2);
  border: 1px solid var(--c-line); border-radius: 50%;
  width: 20px; height: 20px; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.node__name { font-size: 15px; font-weight: 600; }
.node--off .node__name { color: var(--c-miss); }
.node__meta {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: 13px; color: var(--c-text-2); margin-top: 2px;
}
.node__chevron {
  color: var(--c-text-2); flex-shrink: 0; margin-top: 8px;
  transition: transform .2s ease;
}
.node.open .node__chevron { transform: rotate(180deg); }

.node__detail {
  display: none;
  background: #f8f9fa; border-radius: 10px;
  padding: 12px; margin: 0 0 10px 26px;
  animation: fade-in .25s ease;
}
.node.open .node__detail { display: block; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.sub { margin-top: 10px; }
.sub__title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.points { display: flex; flex-wrap: wrap; gap: 6px; }
.points__item {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px;
  font-size: 12px; padding: 2px 8px; display: flex; gap: 8px;
}

/* ---------- EOL 柱状图（CSS 实现，服务端算好高度） ---------- */
.chart__bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 130px; padding: 4px 2px 0; background: #fff;
  border: 1px solid #f1f3f4; border-radius: 8px;
}
.chart__col {
  flex: 1; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; height: 100%;
}
.chart__bar {
  width: 100%; max-width: 22px; background: #8ab4f8;
  border-radius: 2px 2px 0 0; min-height: 2px;
}
.chart__bar--max { background: var(--c-ok); }
.chart__bar--min { background: var(--c-ng); }
.chart__idx { font-size: 10px; color: var(--c-text-2); margin-top: 2px; }
.chart__legend {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: 12.5px; color: var(--c-text-2); margin-top: 6px;
}
.chart__range { font-size: 12.5px; color: var(--c-text-2); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--c-primary-bg); color: var(--c-primary);
  border-radius: 6px; font-size: 13px; padding: 2px 10px;
}

/* ---------- 历史记录列表 ---------- */
.history__title { font-size: 13px; color: var(--c-text-2); margin: 10px 0 4px; }
.hlist__item {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  font-size: 13px; padding: 6px 4px; border-bottom: 1px dashed #eceff1;
  word-break: break-all;
}
.hlist__item:last-child { border-bottom: none; }
.hlist__time { color: var(--c-text-2); }
.hlist__item--sel { background: #f4faf5; border-radius: 6px; }
.hlist__item--inv { color: var(--c-miss); }

.mark-detail p { font-size: 14px; }

/* ---------- 电芯明细 ---------- */
.cells__stats {
  font-size: 14px; background: var(--c-primary-bg); color: var(--c-primary);
  border-radius: 8px; padding: 8px 12px; margin: 8px 0;
}
.cons {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center;
  font-size: 13px; color: var(--c-text-2);
  background: #f8f9fa; border-radius: 8px; padding: 8px 12px; margin-bottom: 8px;
}
.cons--warn { background: var(--c-warn-bg); color: var(--c-warn); }

.cell-tools {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px;
}
.cell-tools__label { font-size: 13px; color: var(--c-text-2); }

.cell-list { display: flex; flex-direction: column; gap: 8px; }
.cell-row {
  border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden;
  background: #fff;
}
.cell-row--miss { background: #fafafa; border-style: dashed; }
.cell-row--ng { border-color: #f3c1bf; background: #fffafa; }
.cell-row__main {
  min-height: 44px; padding: 8px 10px; cursor: pointer;
}
.cell-row__l1 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cell-row__idx {
  font-size: 12px; color: var(--c-text-2);
  background: #f1f3f4; border-radius: 4px; padding: 0 5px; flex-shrink: 0;
}
.cell-row__code {
  font-size: 13.5px; font-weight: 600; word-break: break-all;
}
.cell-row--miss .cell-row__code { color: var(--c-miss); font-weight: 400; }
.cell-row__l2, .cell-row__l3 {
  display: flex; flex-wrap: wrap; gap: 3px 12px;
  font-size: 13px; color: var(--c-text-2); margin-top: 3px;
}
.cell-row__l3 .win { font-size: 12.5px; }
.cell-row__hist {
  display: none; border-top: 1px dashed var(--c-line);
  padding: 6px 10px 10px; background: #fafbfc;
}
.cell-row.open .cell-row__hist { display: block; animation: fade-in .25s ease; }

/* ---------- 防伪信息 ---------- */
.card--auth { border-left: 4px solid var(--c-ok); }
.auth__row { font-size: 14px; padding: 4px 0; }
.auth__ok { color: var(--c-ok); font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer {
  text-align: center; color: var(--c-miss); font-size: 12px;
  padding: 16px 8px 8px;
}
.footer__brand { font-weight: 600; }
.footer__snapshot { margin-top: 2px; }
.footer__contact { margin-top: 2px; }

/* ---------- 复制反馈 ---------- */
.tool[data-copied="1"] { color: var(--c-ok); border-color: var(--c-ok); }

/* ---------- 桌面端双栏 ---------- */
@media (min-width: 800px) {
  .page { max-width: 960px; }
  .layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .layout > .card--hero,
  .layout > .card--auth { grid-column: 1 / -1; }
}

/* ---------- 打印 ---------- */
@media print {
  body { background: #fff; }
  .brandbar, .cell-tools, .search, .recent { display: none; }
  .card { box-shadow: none; border: 1px solid #eee; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
