/* 大字用的开源字体 Archivo Black（SIL Open Font License，可商用）
   文件在 assets/fonts，本地加载，不走 CDN */
@font-face {
  font-family: "Archivo Black";
  src: url("fonts/archivo-black-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --yellow: #f7ff78;      
  --accent: #f2ff23;      
  --ink: #101410;         
  --ink-2: #405447;       
  --line: #e6e9e0;        
  --muted: #8b9489;       
  --paper: #ffffff;
  --dark: #101410;
  --dark-2: #1b221c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(16, 20, 16, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font: 14px/1.5 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid #6b7e0a;
  outline-offset: 2px;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  letter-spacing: .04em;
}

.page {
  max-width: 1660px;
  margin: 0 auto;
  padding: 22px clamp(14px, 2.4vw, 40px) 16px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 58px;
  margin-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 50px; height: 50px;
  border: 1.6px solid var(--ink);
  border-radius: 15px;
  display: grid; place-items: center;
  background: #fffdf2;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s;
}
.brand__mark svg { width: 34px; height: 34px; color: var(--ink); overflow: visible; }

.brand:hover .brand__mark { background: var(--accent); }

.brand:hover .brand__mark-dot { transform: translate(-1.6px, -2.2px); }
.brand__mark-dot { transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-origin: 38px 31px; }
.brand__name {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: .01em;
  font-weight: 400;
}

.viewtabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border-radius: 999px;
}
.viewtabs__btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: background .18s, color .18s;
}
.viewtabs__btn.is-active { background: var(--ink); color: var(--yellow); }

.aboutbtn {
  margin-left: auto;
  border: 1.5px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.aboutbtn:hover { background: var(--ink); color: var(--yellow); }

.main { display: block; }

.view { display: none; }
.view.is-active { display: block; }

.display {
  display: flex;
  flex-wrap: wrap;
  gap: .26em;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(32px, 6vw, 84px);
  line-height: .94;
  font-weight: 400;
  letter-spacing: -.012em;
  margin: 4px 0 20px;
}
.display span:nth-child(2) { color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -.01em; }
.display--small { font-size: clamp(26px, 4.4vw, 58px); }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1.5px solid rgba(16, 20, 16, .25);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: .03em;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters__label { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .08em; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  border: 0;
  background: #eef0e8;
  color: #32382f;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .16s, color .16s;
}
.chip:hover { background: #dfe3d6; }
.chip.is-active { background: var(--accent); color: var(--ink); }

.modes { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.mode {
  border: 0;
  background: #f0f1ea;
  color: #3a4037;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}
.mode.is-active { background: var(--ink); color: #fff; }

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 12px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 12px;
}

.mapcol { position: relative; background: var(--dark); border-radius: var(--radius-sm); overflow: hidden; }
.mapcol__head { position: relative; z-index: 3; padding: 14px 16px 0; }
.mapcol__title { font-size: 15px; font-weight: 800; letter-spacing: .1em; color: #f4f8ec; }
.mapcol__sub { font-size: 12px; color: #93a186; letter-spacing: .08em; margin-top: 3px; }

.mapwrap {
  position: relative;
  aspect-ratio: 1000 / 620;
  margin-top: -6px;
}
.map { width: 100%; height: 100%; display: block; }

.node { cursor: pointer; }
.node__ring { fill: rgba(247, 255, 120, .10); stroke: rgba(247, 255, 120, .55); stroke-width: 1.6; }
.node__dot { fill: #0f130e; stroke: var(--yellow); stroke-width: 2.2; transition: fill .18s, stroke .18s; }
.node__num { fill: var(--yellow); font-size: 15px; font-weight: 800; text-anchor: middle; dominant-baseline: central; letter-spacing: -.02em; }
.node__label { fill: #8fa07f; font-size: 12px; letter-spacing: .06em; text-anchor: middle; }
.node__label--big { fill: #c8d3ba; font-size: 12px; }
.node:hover .node__ring { fill: rgba(247, 255, 120, .2); }
.node.is-active .node__dot { fill: var(--accent); stroke: var(--accent); }
.node.is-active .node__num { fill: var(--ink); }
.node.is-dim { opacity: .18; }
.node.is-accent .node__ring { fill: rgba(242, 255, 35, .22); stroke: var(--accent); }
.link { stroke: rgba(200, 220, 160, .22); stroke-width: 1; fill: none; }
.link.is-hot { stroke: rgba(242, 255, 35, .75); stroke-width: 1.6; }

.maptools {
  position: absolute; right: 14px; top: 74px; z-index: 4;
  display: flex; flex-direction: column; gap: 6px;
}
.maptools__btn {
  width: 30px; height: 30px;
  border: 1.4px solid #4b5745;
  background: rgba(16, 20, 16, .82);
  color: #dfe8d3;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1;
}
.maptools__btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.north {
  position: absolute; right: 16px; bottom: 74px; z-index: 4;
  display: grid; justify-items: center; gap: 2px;
}
.north span { font-size: 12px; color: #9fb08d; letter-spacing: .1em; }
.north svg { width: 11px; height: 15px; }

.maphint {
  position: static; margin: 0 16px 12px; max-width: none;
  background: rgba(16,20,16,.9); border: 1px solid rgba(57,67,52,.5);
  border-radius: 8px; padding: 8px 14px; display: flex; gap: 14px; align-items: baseline;
}
.maphint b { color: #eef3e6; font-size: 12px; letter-spacing: .04em; }
.maphint span { color: #8fa07f; font-size: 12px; }

.playbtn {
  position: absolute; right: 16px; bottom: 26px; z-index: 4;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.playbtn.is-playing { background: #fff; }

.detail {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail__head { display: flex; align-items: center; justify-content: space-between; }
.detail__label { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.detail__badge {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  border: 1.2px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink-2);
}
.detail__photo { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #0f130e; }
.detail__photo img { width: 100%; height: 168px; object-fit: cover; }
.detail__no { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.detail__title {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: 0;
}
.detail__kind { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.detail__desc { font-size: 13px; color: #3a423a; line-height: 1.65; }

.metric { border-top: 1px solid var(--line); padding-top: 9px; }
.metric__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #2f362d; margin-bottom: 6px; }
.metric__bar { height: 7px; background: #eceee6; border-radius: 999px; overflow: hidden; }
.metric__bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .45s ease; }

.gap {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.gap__label { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #2f362d; }
.gap__formula { font-size: 12px; color: var(--muted); margin-top: 3px; }
.gap__num { font-family: "Archivo Black", Impact, sans-serif; font-size: 38px; font-weight: 400; line-height: 1; }

.cmpbtn {
  margin-top: auto;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}
.cmpbtn:hover { background: #22301f; }

.index { margin-top: 14px; }
.index__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.index__title { font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.index__hint { font-size: 12px; color: var(--ink-2); }

.cards {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.card {
  border: 1.6px solid transparent;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  text-align: left;
  transition: border-color .15s, transform .15s;
}
.card:hover { transform: translateY(-2px); }
.card.is-active { border-color: var(--ink); }
.card img { height: 62px; width: 100%; object-fit: cover; border-radius: 6px; }
.card__no { font-size: 12px; font-weight: 800; color: var(--ink-2); margin-top: 5px; letter-spacing: .05em; }
.card__name { font-size: 12px; font-weight: 700; line-height: 1.25; margin-top: 1px; }
.card__gap { display: flex; align-items: baseline; justify-content: space-between; margin-top: 5px; }
.card__bar { flex: 1; height: 4px; background: #e9ece2; border-radius: 999px; margin-right: 6px; overflow: hidden; }
.card__bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.card__num { font-size: 13px; font-weight: 900; }

.casebar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark);
  color: #e8efdf;
  border-radius: var(--radius);
  padding: 12px 18px;
}
.casebar__tag {
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  background: #b8261d; color: #ffe9e6; border-radius: 4px; padding: 4px 7px;
}
.casebar__txt { display: grid; gap: 1px; }
.casebar__txt b { font-size: 13px; font-weight: 700; }
.casebar__txt span { font-size: 12px; color: #9fae93; }
.casebar__btn {
  margin-left: auto;
  border: 1.4px solid #5d6b55; background: transparent; color: #dfe8d3;
  border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.casebar__btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.appview {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 34px clamp(20px, 4vw, 60px);
}
.phone {
  width: 300px; height: 610px;
  border-radius: 38px;
  background: #0c0f0b;
  border: 7px solid #2b322a;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
  padding: 16px 12px;
  justify-self: center;
}
.phone__screen { height: 100%; border-radius: 26px; overflow: hidden; background: #131a10; display: grid; grid-template-rows: 1fr auto; }
.phone__map { position: relative; overflow: hidden; }
.phone__map::before {
  content: ""; position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(190, 220, 150, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 220, 150, .07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.phone__discover {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-size: 13px; color: #cfe0bb; letter-spacing: .08em;
}
.phone__node {
  position: absolute; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--ink);
  font-size: 15px; font-weight: 900;
}
.phone__node--a { left: 48px; top: 92px; }
.phone__node--b { left: 176px; top: 214px; width: 62px; height: 62px; font-size: 18px; background: var(--yellow); }
.phone__card {
  display: flex; gap: 9px; align-items: center;
  background: #1b241a; margin: 10px; padding: 8px; border-radius: 12px;
}
.phone__card img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; }
.phone__card b { display: block; font-size: 12px; color: #eaf1e0; }
.phone__card span { font-size: 12px; color: #93a186; }

.appcopy h2 { font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(24px, 3.2vw, 40px); font-weight: 400; color: #f2f7e8; line-height: 1.15; }
.appcopy p { margin: 14px 0 22px; max-width: 40ch; font-size: 13px; line-height: 1.85; color: #a9ba9c; }
.backbtn {
  border: 0; background: var(--accent); color: var(--ink);
  border-radius: 999px; padding: 12px 22px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
}

/* 对比弹窗 */
.modal {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: rgba(8, 12, 8, .62);
  backdrop-filter: blur(3px);
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__box {
  width: min(760px, 100%);
  max-height: 90vh; overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.modal__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.modal__close {
  border: 1.4px solid var(--line); background: #fff; border-radius: 50%;
  width: 30px; height: 30px; line-height: 1; flex: 0 0 auto;
}
.modal__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.compare__side { position: relative; border-radius: 10px; overflow: hidden; background: #0f130e; }
.compare__side img { width: 100%; height: 190px; object-fit: cover; }
.compare__side span {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(0deg, rgba(16,20,16,.9), transparent);
  color: #e6efdb; font-size: 12px; letter-spacing: .06em; padding: 14px 10px 7px;
}

.compare__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compare__stats > div { background: #f4f6ee; border-radius: 10px; padding: 10px 12px; }
.compare__stats b { display: block; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.compare__stats span { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.modal__foot { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.7; }

@media (max-width: 1080px) {
  .board { grid-template-columns: 1fr; }
  .detail { order: 2; }
  .appview { grid-template-columns: 1fr; justify-items: center; }
  .appcopy { text-align: center; }
  .appcopy p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 10px; }
  .viewtabs { order: 3; width: 100%; justify-content: center; }
  .aboutbtn { margin-left: auto; }
  .toolbar { padding: 10px; }
  .modes { margin-left: 0; }
  .mapwrap { aspect-ratio: 4 / 3; }
  .maphint { max-width: 62%; }
  .cards { grid-auto-columns: 128px; }
  .compare { grid-template-columns: 1fr; }
  .compare__side img { height: 150px; }
  .casebar { flex-wrap: wrap; }
  .casebar__btn { margin-left: 0; }
  .phone { width: 260px; height: 540px; }
}

.gap__num, .card__num, .metric__top b {
  font-variant-numeric: tabular-nums;    
}
.detail__photo img { transition: opacity .22s ease; }
.node { transition: opacity .2s; }
.node:hover .node__dot { stroke-width: 3; }

.nodetip {
  position: absolute; z-index: 6; pointer-events: none;
  background: rgba(12, 16, 12, .95);
  border: 1px solid #3b4a33;
  border-radius: 8px;
  padding: 7px 10px;
  display: grid; gap: 1px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.nodetip b { color: #eef4e4; font-size: 12px; letter-spacing: .04em; }
.nodetip span { color: #9cb089; font-size: 12px; letter-spacing: .05em; }

.page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .page::before, .maptools, .playbtn, .viewtabs, .aboutbtn, .cards, .casebar { display: none !important; }
  body { background: #fff; }
  .mapcol { background: #101410; -webkit-print-color-adjust: exact; }
  .board { break-inside: avoid; }
}

@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}

.walk {
  background:
    radial-gradient(120% 80% at 20% 0%, #fffdf6 0%, #f3efe2 60%, #eae4d3 100%);
  border-radius: var(--radius);
  padding: 18px clamp(14px, 2.4vw, 34px) 14px;
  box-shadow: inset 0 0 0 1px rgba(43, 43, 38, .08), 0 24px 60px rgba(43, 43, 38, .16);
  position: relative;
}
.walk::after {   
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius);
  background-image: repeating-linear-gradient(0deg, rgba(43,43,38,.035) 0 1px, transparent 1px 34px);
}

.walk__head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; position: relative; z-index: 1; }
.walk__kicker { display: block; font: 600 15px/1 "Caveat", cursive; color: #8b8371; letter-spacing: .06em; }
.walk__count { display: flex; align-items: baseline; gap: 3px; font: 400 34px/1 "Archivo Black", Impact, sans-serif; }
.walk__count i { font-style: normal; }
.walk__count s { text-decoration: none; font-size: 18px; opacity: .35; }
.walk__count { color: #23231e; }
.walk__route { flex: 1; min-width: 120px; }
.walk__route svg { width: 100%; height: 40px; display: block; }
.walk__date { font: 600 15px/1 "Caveat", cursive; color: #8b8371; white-space: nowrap; }

.walk__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); gap: clamp(18px, 3vw, 44px); align-items: center; position: relative; z-index: 1; }

.polaroid {
  position: relative; background: #fffefb; padding: 12px 12px 40px;
  box-shadow: 0 18px 40px rgba(43, 43, 38, .22), 0 1px 0 rgba(255, 255, 255, .9) inset;
  transform: rotate(-1.4deg);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.polaroid:hover { transform: rotate(0deg) translateY(-2px); }
.polaroid img { width: 100%; height: clamp(260px, 42vh, 420px); object-fit: cover; display: block; filter: saturate(.96); }
.polaroid figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
  font: 600 19px/1 "Caveat", cursive; color: #4a4a40;
}
.polaroid__tape {
  position: absolute; right: 18px; top: -14px; width: 96px; height: 26px;
  background: rgba(226, 216, 188, .82);
  border-left: 1px dashed rgba(255, 255, 255, .5);
  border-right: 1px dashed rgba(255, 255, 255, .5);
  transform: rotate(6deg);
  box-shadow: 0 2px 6px rgba(43, 43, 38, .12);
}

.page { position: relative; padding-right: 6px; }
.page__meta { font: 600 14px/1 "Caveat", cursive; letter-spacing: .1em; color: #8b8371; text-transform: uppercase; }
.page__title { font: 400 clamp(24px, 2.6vw, 34px)/1.1 "Archivo Black", Impact, sans-serif; margin: 6px 0 10px; color: #1d1d19; }
.page__note { font-size: 15px; line-height: 1.85; color: #3d3d34; max-width: 34ch; }
.page__hand {
  font: 400 21px/1.45 "Caveat", cursive; color: #55513f;
  margin-top: 14px; padding-left: 12px; border-left: 2px dashed rgba(43, 43, 38, .25);
}

.page__scores { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; max-width: 300px; }
.page__scores li { display: grid; grid-template-columns: 74px 34px 1fr; align-items: center; gap: 8px; }
.page__scores span { font: 600 15px/1 "Caveat", cursive; color: #8b8371; }
.page__scores b { font: 400 16px/1 "Archivo Black", Impact, sans-serif; }
.page__scores i {
  display: block; height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, #c9a227 var(--w, 50%), rgba(43,43,38,.12) var(--w, 50%));
}

.stamp {
  position: absolute; right: -2px; top: -46px; width: 78px; height: 78px;
  border: 2.5px solid rgba(178, 48, 32, .55); border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  transform: rotate(-11deg); opacity: .8; pointer-events: none;
}
.stamp span { font: 400 13px/1.05 "Archivo Black", Impact, sans-serif; color: rgba(178, 48, 32, .7); letter-spacing: .02em; }
.stamp em { font: 600 12px/1 "Caveat", cursive; font-style: normal; color: rgba(178, 48, 32, .55); margin-top: 3px; display: block; }

.walk__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; position: relative; z-index: 1; }
.walk__nav {
  border: 1.5px solid rgba(43, 43, 38, .3); background: transparent; color: #2b2b26;
  border-radius: 999px; padding: 8px 16px; font: 600 12px/1 "Archivo Black", Impact, sans-serif; letter-spacing: .06em;
}
.walk__nav:hover { background: #23231e; color: #f3efe2; border-color: #23231e; }
.walk__dots { display: flex; gap: 5px; flex: 1; justify-content: center; }
.walk__dots button {
  width: 22px; height: 6px; border: 0; border-radius: 99px; background: rgba(43, 43, 38, .18); padding: 0;
}
.walk__dots button.is-on { background: #c9a227; }

@media (max-width: 900px) {
  .walk__body { grid-template-columns: 1fr; }
  .polaroid { transform: none; }
  .stamp { display: none; }
}

.footer { border-top: 1px solid rgba(16, 20, 16, .14); }
.toolbar { box-shadow: inset 0 0 0 1px rgba(16, 20, 16, .06); }
.detail { border: 1px solid rgba(16, 20, 16, .1); }
.metric { border-top: 1px solid rgba(16, 20, 16, .09); }
.gap { border-top: 1px solid rgba(16, 20, 16, .09); }
.card { border: 1px solid rgba(16, 20, 16, .1); }

.ic { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; }

.chip:active, .mode:active, .card:active, .viewtabs__btn:active,
.aboutbtn:active, .cmpbtn:active, .maptools__btn:active, .playbtn:active,
.walk__nav:active, .walk__dots button:active, .backbtn:active, .casebar__btn:active {
  transform: translateY(1px) scale(.99);
}
.card:hover { border-color: rgba(16, 20, 16, .45); }
.card:focus-visible, .chip:focus-visible, .mode:focus-visible,
.viewtabs__btn:focus-visible, .aboutbtn:focus-visible, .cmpbtn:focus-visible,
.maptools__btn:focus-visible, .playbtn:focus-visible, .walk__nav:focus-visible,
.backbtn:focus-visible, .casebar__btn:focus-visible, .walk__dots button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 999px;
}
.mode:hover, .viewtabs__btn:hover { background: #e4e7dc; }
.mode.is-active:hover, .viewtabs__btn.is-active:hover { background: var(--ink); }
.cmpbtn:hover { background: #243222; }
.playbtn:hover { background: #fff; }
.walk__dots button:hover { background: rgba(43, 43, 38, .4); }

@media (prefers-reduced-motion: reduce) {
  .chip:active, .mode:active, .card:active, .cam:active { transform: none; }
}

.detail__hint { font-size:12px; color:#8a9682; letter-spacing:.04em; margin-top:-4px; }
.detail__photo img:hover { filter:brightness(1.08); }
.detail__photo img { transition: filter .2s; }

.mapcol__meta { position:absolute; right:16px; top:16px; font-size:12px; letter-spacing:.08em;
  color:#7d8a6e; text-align:right; }

/* 对比弹窗左半边：平台上看的样子——压饱和、略糊、偏冷 */
.compare__side { position: relative; }
#cmpDigital { filter: saturate(.55) brightness(1.04) contrast(.92) blur(1.1px); }
.compare__side:first-child::after {
  content: "AS SEEN ONLINE"; position: absolute; right: 8px; top: 8px;
  font-size: 12px; letter-spacing: .08em; color: #e9f0e2;
  background: rgba(16,20,16,.55); padding: 2px 8px; border-radius: 999px;
}

/* 标志：中间掏空用的是页面底色，换底要在 :root 里同步 */
.brand__mark svg path:first-child { transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-origin: 24px 24px; }
.brand:hover .brand__mark svg path:first-child { transform: rotate(9deg) scale(1.02); }
.brand__mark svg circle { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand__mark svg circle { transform: translate(-1.4px, -1.8px); }

.brand__mark img { width: 38px; height: 38px; object-fit: contain; display: block; }
.brand__mark {
  border: 0 !important; background: transparent !important;
  width: 38px; height: 38px; display: grid; place-items: center;
}
.brand { gap: 9px; align-items: center; }
.brand__name { font-size: 21px; line-height: 1; transform: translateY(1px); }
