/* 步迷 Walkaholic · Web 高保真原型样式（零依赖）
 * 依据 docs/design-system.md：奶油纸 + 墨色 + 琥珀光 + 旧纸纹理
 * 禁止：渐变紫蓝 / 科技蓝 / 玻璃拟态 / 外链字体与图片
 */

/* ============================================================
   0. Tokens
   ============================================================ */
:root {
  --ink: #111827;
  --ink-2: #4B5563;
  --ink-3: #9CA3AF;
  --cream: #F3F5FB;
  --paper: #FFFFFF;
  --paper-2: #EEF1F9;
  --line: #E2E7F2;
  --amber: #5B6CFF;
  --amber-deep: #3D4FE0;
  --ember: #FF6B6B;
  --teal: #14B8A6;
  --plum: #8B5CF6;
  --gold: #F59E0B;
  --shadow: rgba(17, 24, 39, .10);

  --font: -apple-system, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 180ms;
  --base: 320ms;
  --slow: 520ms;

  --radius-card: 24px;
  --radius-panel: 28px;
  --radius-img: 16px;
}

/* ============================================================
   1. Reset & base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--cream);
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
svg { display: block; }
::selection { background: rgba(91, 108, 255, .3); }

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 2px;
  border-radius: 6px;
}

.nosel { user-select: none; -webkit-user-select: none; }

/* ============================================================
   2. Stage / device / screen
   ============================================================ */
.stage {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.device {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: var(--cream);
}

.device__island { display: none; }

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--cream);
}

.stage__caption { display: none; }

/* 纸纹噪点：内联 SVG feTurbulence，低透明度（design-system §3） */
.grain {
  position: absolute;
  inset: 0;
  z-index: 44;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.home-indicator { display: none; }

/* ============================================================
   3. Status bar
   ============================================================ */
.statusbar {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 24px 0 26px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.statusbar__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  opacity: .92;
}

.statusbar--light { color: rgba(243, 245, 251, .92); }
.statusbar--light .statusbar__icons { color: rgba(243, 245, 251, .92); }

/* ============================================================
   4. Main / tab bar
   ============================================================ */
.main {
  position: relative;
  z-index: 10;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.main::-webkit-scrollbar { display: none; }

.main--flush {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tabbar {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  height: 74px;
  padding: 7px 10px 19px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.tabbar[hidden] { display: none; }

/* 弹层根节点：本身不拦截点击，子元素才可交互 */
.sheet-root,
.overlay-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sheet-root { z-index: 60; }
.overlay-root { z-index: 70; }
.sheet-root > *,
.overlay-root > * { pointer-events: auto; }

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 0;
  border-radius: 14px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.tab svg { width: 23px; height: 23px; }
.tab span { font-size: 12px; font-weight: 550; letter-spacing: .02em; }
.tab.is-active { color: var(--amber-deep); }
.tab.is-active span { color: var(--ink); font-weight: 650; }
.tab:active { transform: scale(.94); }
.tab__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--amber-deep); opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.tab.is-active .tab__dot { opacity: 1; }

/* ============================================================
   5. Shared atoms
   ============================================================ */
.micro {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .08em;
  font-weight: 650;
  color: var(--ink-3);
  text-transform: uppercase;
}

.pd { padding-left: 20px; padding-right: 20px; }

.rule { height: 1px; background: var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform var(--fast) var(--ease),
    background-color var(--fast) var(--ease),
    color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease),
    opacity var(--fast) var(--ease);
}
.btn:active { transform: scale(.975); }

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(201, 123, 46, .95);
}
.btn--primary:hover { background: #7C8BFF; }
.btn--primary:active { background: var(--amber-deep); color: #F7F8FD; }

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.btn--ghost:hover { background: var(--paper-2); }
.btn--ghost:active { color: var(--ink); }

.btn--quiet {
  height: 42px;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--ink-2);
}
.btn--quiet:hover { color: var(--ink); }

.btn--block { width: 100%; height: 52px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-busy { pointer-events: none; }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.iconbtn:hover { background: var(--paper); color: var(--ink); }
.iconbtn:active { transform: scale(.93); }
.iconbtn--line { background: var(--paper); border-color: var(--line); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.chip--streak { color: var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge--common { color: #5E665A; background: rgba(139, 148, 132, .14); border: 1px solid rgba(139, 148, 132, .36); }
.badge--rare { color: #22605C; background: rgba(46, 125, 120, .13); border: 1px solid rgba(46, 125, 120, .34); }
.badge--epic { color: #51447E; background: rgba(107, 91, 158, .13); border: 1px solid rgba(107, 91, 158, .32); }
.badge--hidden { color: #8A6508; background: rgba(185, 138, 31, .15); border: 1px solid rgba(185, 138, 31, .4); }

.rdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rdot--common { background: #94A3B8; }
.rdot--rare { background: var(--teal); }
.rdot--epic { background: var(--plum); }
.rdot--hidden { background: var(--gold); }

/* 牛皮纸盒线稿 */
.boxart { display: block; }
.boxart--float { animation: float 4.6s ease-in-out infinite; }

/* ============================================================
   6. Home
   ============================================================ */
.screen[data-route="home"] .main { padding-bottom: 26px; }

.home { padding: 6px 20px 0; }

.home__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
}
.home__greet {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--ink);
}

.home__hero { margin: 17px 0 16px; }
.home__hero h2 {
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -.018em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.home__hero p {
  font-size: 15.5px;
  color: var(--ink-2);
  letter-spacing: .005em;
}

.boxcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 15px 18px 14px;
  background: linear-gradient(152deg, #E8ECFB 0%, #DDE3F5 52%, #D6DDF3 100%);
  border: 1px solid rgba(17, 24, 39, .10);
  box-shadow:
    0 18px 38px -20px rgba(17, 24, 39, .45),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}
.boxcard::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23k)'/%3E%3C/svg%3E");
}
.boxcard__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
}
.boxcard__resume {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(17, 24, 39, .12);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(17, 24, 39, .68);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.boxcard__resume:hover { background: rgba(255, 255, 255, .9); color: var(--ink); }
.boxcard__art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 2px 0 8px;
}
.boxcard__art svg { width: 118px; height: 104px; }
.boxcard__meta {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  text-align: right;
  font-size: 12.5px;
  letter-spacing: .01em;
  color: rgba(17, 24, 39, .52);
}
.boxcard .btn { position: relative; z-index: 2; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.stat span {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
  white-space: nowrap;
}

.friends {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}
.friends__avatars { display: flex; padding-bottom: 12px; }
.avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 3px 0 rgba(17, 24, 39, .03);
}
.avatar + .avatar { margin-left: -9px; }
.avatar__name {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
  letter-spacing: .01em;
}
.avatar__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--cream);
}
.friends__copy {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: -10px;
}
.friends__copy b { display: block; color: var(--ink-2); font-weight: 650; font-size: 14px; }

.lastcard {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -24px rgba(17, 24, 39, .7);
  text-align: left;
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.lastcard:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -22px rgba(17, 24, 39, .6);
}
.lastcard__thumb {
  flex-shrink: 0;
  width: 46px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(160deg, #E9EDFC, #D6DDF3);
  border: 1px solid rgba(17, 24, 39, .08);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.lastcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lastcard__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lastcard__date { font-size: 13px; color: var(--ink-3); }
.lastcard__arrow { flex-shrink: 0; color: var(--ink-3); }

.firsthint {
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, .5);
}
.firsthint__title { font-size: 15.5px; font-weight: 650; margin-bottom: 4px; }
.firsthint__sub { font-size: 14px; color: var(--ink-3); }

/* ============================================================
   7. Setup sheet (#/setup)
   ============================================================ */
.scrim {
  position: absolute;
  inset: 0;
  z-index: 55;
  background: rgba(17, 24, 39, .38);
  animation: fade-in var(--base) var(--ease) both;
}

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--paper);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  padding: 10px 20px 22px;
  box-shadow: 0 -22px 60px rgba(17, 24, 39, .3);
  max-height: 92%;
  overflow-y: auto;
  scrollbar-width: none;
  animation: sheet-up .34s var(--ease) both;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet__grabber {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin: 2px auto 16px;
}
.sheet__title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 4px;
}
.sheet__sub { font-size: 14.5px; color: var(--ink-3); margin-bottom: 18px; }

.field { display: block; margin-bottom: 15px; }
.field__label {
  display: block;
  font-size: 12px;
  letter-spacing: .09em;
  font-weight: 650;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.segmented button {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--ink-2);
  transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), color var(--fast) var(--ease);
}
.segmented button b { font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.segmented button em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.segmented button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(17, 24, 39, .08), inset 0 0 0 1px rgba(91, 108, 255, .55);
}
.segmented button[aria-pressed="true"] em { color: var(--amber-deep); }

.moods { display: flex; flex-direction: column; gap: 7px; }
.mood {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.mood__emoji {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-size: 19px;
}
.mood__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mood__title { font-size: 15px; font-weight: 650; letter-spacing: -.005em; }
.mood__sub { font-size: 12.5px; color: var(--ink-3); }
.mood[aria-pressed="true"] {
  border-color: rgba(91, 108, 255, .7);
  background: #F7F8FD;
  box-shadow: inset 0 0 0 1px rgba(91, 108, 255, .45);
}
.mood[aria-pressed="true"] .mood__emoji { background: #E8ECFB; }

.areachips { display: flex; gap: 8px; }
.chipbtn {
  height: 34px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.chipbtn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.sheet__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 17px;
}
.sheet__actions .btn--primary { height: 52px; }

.shakebox { width: 22px; height: 22px; }
.btn.is-shaking .shakebox { animation: box-shake .6s var(--ease) both; }

/* ============================================================
   8. Journey
   ============================================================ */
.journey {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.journey__side { display: contents; }

.journey__top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 2px 12px;
  min-height: 40px;
}
.journey__topinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.journey__timer {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.journey__pause {
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.journey__pause[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.journey__map {
  position: relative;
  flex: 1;
  min-height: 176px;
  margin-top: 4px;
  overflow: hidden;
}
.journey__map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey__mapcap {
  position: absolute;
  left: 22px;
  bottom: 11px;
  font-size: 12.5px;
  letter-spacing: .015em;
  color: var(--ink-3);
  transform: rotate(-1.4deg);
  font-variant-numeric: tabular-nums;
}

.journey__distance {
  flex-shrink: 0;
  text-align: center;
  padding: 4px 20px 8px;
}
.journey__digits {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.journey__unit {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.journey__bearing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink-2);
}
.journey__bearing b {
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
  color: var(--amber-deep);
}

.journey__clues {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 20px 8px;
}
.clue {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  box-shadow: 0 8px 20px -22px rgba(17, 24, 39, .9);
}
.clue__mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 11px;
}
.clue--locked {
  background: transparent;
  border-style: dashed;
  border-color: var(--line);
  color: var(--ink-3);
}
.clue--locked .clue__mark { background: transparent; }
.clue--new { animation: clue-pop var(--slow) var(--ease) both; }

.journey__actions {
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 2px 20px 15px;
}
.journey__actions .btn--primary { height: 48px; font-size: 17px; }
.journey__actions .btn--quiet { height: 34px; font-size: 14.5px; }
.demo-tag {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .10);
  color: rgba(17, 24, 39, .58);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* 地图元素 */
.map-river { fill: #DDE3F5; stroke: #C7D2FE; stroke-width: 1; }
.map-riverline { stroke: #C7D2FE; stroke-width: 1; fill: none; opacity: .8; }
.map-block { fill: #E2E7F2; stroke: rgba(17, 24, 39, .16); stroke-width: 1; }
.map-block--alt { fill: #DDE3F5; }
.map-road { stroke: #E2E7F2; stroke-width: 13; stroke-linecap: round; fill: none; }
.map-road--thin { stroke-width: 7; }
.map-roadline { stroke: rgba(17, 24, 39, .10); stroke-width: 1; stroke-dasharray: 3 6; fill: none; }
.map-tree { fill: #E1E6F7; stroke: rgba(17, 24, 39, .10); stroke-width: 1; }
.map-park { fill: #E6E9F8; stroke: rgba(17, 24, 39, .10); stroke-width: 1; }
.map-route {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 8;
  opacity: .8;
  animation: dash-flow 18s linear infinite;
}
.map-start { fill: var(--ink); }
.map-start-halo { fill: rgba(91, 108, 255, .22); }
.map-start-label {
  font-size: 10px;
  font-weight: 650;
  fill: var(--ink-2);
  letter-spacing: .04em;
}
.map-dest-halo { fill: rgba(91, 108, 255, .2); }
.map-dest-ring { fill: none; stroke: rgba(91, 108, 255, .5); stroke-width: 1; }
.map-dest-core { fill: var(--amber); }
.map-q {
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink);
  text-anchor: middle;
}
.map-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 2.4s ease-in-out infinite;
}

/* ============================================================
   9. Reveal (full-screen overlay #/reveal)
   ============================================================ */
.reveal-stage {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 85% at 50% 26%, #3C3023 0%, #251E17 48%, #111827 100%);
  color: var(--cream);
  overflow: hidden;
}
.reveal-stage__bar {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 20px 0 26px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .01em;
  color: rgba(243, 245, 251, .92);
  font-variant-numeric: tabular-nums;
}
.reveal-stage__bar .statusbar__icons { color: rgba(243, 245, 251, .92); }
.reveal-stage__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(243, 245, 251, .7);
  background: rgba(243, 245, 251, .08);
  border: 1px solid rgba(243, 245, 251, .14);
}
.reveal-stage__close:hover { color: var(--cream); background: rgba(243, 245, 251, .14); }

.reveal-open {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-bottom: 40px;
}
.reveal-open__box { width: 168px; height: 150px; }
.reveal-open__copy {
  font-size: 16px;
  letter-spacing: .02em;
  color: rgba(243, 245, 251, .7);
}
.open-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 108, 255, .5) 0%, rgba(91, 108, 255, .16) 38%, transparent 68%);
  opacity: .65;
  pointer-events: none;
}
.reveal-open.is-opening .open-glow { animation: glow-burst 1.2s var(--ease) both; }
.reveal-open.is-opening #box-lid { animation: lid-pop 1.15s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.reveal-open.is-opening #box-body { animation: body-shake 1.15s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.reveal-open.is-opening #box-q { animation: q-out .9s var(--ease) both; transform-box: fill-box; transform-origin: center; }

.confetti {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 6px;
  height: 8px;
  border-radius: 1.5px;
  background: var(--amber);
  opacity: 0;
  pointer-events: none;
}
.reveal-open.is-opening .confetti {
  animation: confetti-fly 1.15s var(--ease) var(--delay, 0s) both;
}

.reveal-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 22px;
  overflow-y: auto;
  scrollbar-width: none;
}
.reveal-wrap::-webkit-scrollbar { display: none; }

.reveal-card {
  position: relative;
  width: 86%;
  max-width: 340px;
  border-radius: var(--radius-card);
  padding: 17px 20px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(-1.2deg);
  animation: card-flip var(--slow) var(--ease) both;
}
.reveal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.serial {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.reveal-card__hero { text-align: center; padding: 13px 0 11px; }
.reveal-card__emoji { font-size: 46px; line-height: 1; display: block; margin-bottom: 7px; }
.reveal-card__name {
  font-size: 24px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.022em;
}
.reveal-card__area {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.reveal-card .rule { margin: 12px 0; }
.reveal-card__label {
  font-size: 12px;
  letter-spacing: .09em;
  font-weight: 650;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.reveal-card__why {
  font-size: 15px;
  line-height: 1.66;
  color: var(--ink-2);
  white-space: pre-line;
}
.taskcard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-img);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.taskcard__body { flex: 1; min-width: 0; }
.taskcard__title { font-size: 11.5px; font-weight: 650; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.taskcard__text { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.taskcard__hint { flex-shrink: 0; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; padding-top: 1px; }
.reveal-card.is-flying {
  animation: none;
  transform: translate(-54px, 322px) scale(.1) rotate(-9deg);
  opacity: 0;
  transition: transform .48s var(--ease), opacity .48s var(--ease);
}
.reveal-card__after {
  margin-top: 9px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink-3);
}
.reveal-card__actions { display: flex; gap: 8px; margin-top: 14px; }
.reveal-card__actions .btn { height: 46px; font-size: 16px; padding: 0 10px; }
.reveal-card__actions .btn--primary { flex: 1.45; }
.reveal-card__actions .btn--ghost { flex: 1; }

/* 到达闪屏 */
.flash {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--cream);
  animation: fade-in .16s ease both;
}
.flash__word {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: .14em;
  text-indent: .14em;
  color: var(--ink);
}
.flash__line {
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--amber);
  animation: flash-line .9s var(--ease) both;
}
.flash__sub { font-size: 14px; letter-spacing: .1em; color: var(--ink-3); }

/* ============================================================
   10. Cards (#/cards)
   ============================================================ */
.page { padding-bottom: 22px; }
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 20px 10px;
}
.pagehead h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.022em;
}
.pagehead__right { display: flex; align-items: center; gap: 10px; }
.pagehead__count {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.collectstats {
  padding: 0 20px 12px;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.collectstats b { font-weight: 700; font-variant-numeric: tabular-nums; }
.collectstats i { font-style: normal; color: var(--ink-3); margin: 0 6px; }

.filters {
  display: flex;
  gap: 8px;
  padding: 0 20px 15px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }

.fcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px;
}
.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: .8;
  padding: 9px 9px 8px;
  border-radius: var(--radius-img);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
  overflow: hidden;
  transition: transform var(--base) var(--ease), box-shadow var(--base) var(--ease);
}
.fcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -18px rgba(17, 24, 39, .65);
}
.fcard__emoji { font-size: 21px; line-height: 1; margin-bottom: 6px; }
.fcard__name {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fcard__date {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  padding-right: 10px;
}
.fcard__dot { position: absolute; right: 9px; bottom: 8px; }
.fcard--locked {
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px dashed var(--line);
}
.fcard--locked:hover { transform: none; box-shadow: none; }
.fcard__q { font-size: 22px; line-height: 1; font-weight: 600; color: var(--ink-3); }
.fcard__lock { font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }

/* ============================================================
   11. Social (#/social)
   ============================================================ */
.codecard {
  position: relative;
  overflow: hidden;
  margin: 0 20px 20px;
  padding: 17px 18px 15px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #7C8BFF 0%, #5B6CFF 46%, #4C5FE8 100%);
  color: var(--ink);
  box-shadow: 0 18px 38px -24px rgba(201, 123, 46, .95);
}
.codecard::before {
  content: '';
  position: absolute;
  right: -34px;
  top: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(17, 24, 39, .13);
}
.codecard::after {
  content: '';
  position: absolute;
  right: 6px;
  top: -20px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
}
.codecard__title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.codecard__sub { margin-top: 2px; font-size: 12.5px; color: rgba(17, 24, 39, .58); }
.codecard__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 10px;
}
.codecard__code {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
  color: #241E15;
}
.codecard__copy {
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(17, 24, 39, .12);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.codecard__copy:hover { background: #FFFFFF; }
.codecard__copy:active { transform: scale(.96); }
.codecard__hint {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(17, 24, 39, .62);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.section-head button { font-size: 12.5px; color: var(--ink-3); }
.section-head button:hover { color: var(--ink-2); }

.board {
  margin: 0 20px 20px;
  padding: 6px 8px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -28px rgba(17, 24, 39, .9);
}
.board__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 12px;
}
.board__row--me { background: rgba(91, 108, 255, .13); }
.board__rank {
  width: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.board__rank--1 { color: var(--amber-deep); }
.board__rank--2 { color: var(--ink-2); }
.board__rank--3 { color: #4B5563; }
.board__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.board__name {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board__name i { font-style: normal; font-size: 11px; color: var(--ink-3); margin-left: 5px; letter-spacing: .04em; }
.board__score { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.board__more {
  width: 100%;
  padding: 8px 0 5px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}
.board__more:hover { color: var(--ink-2); }

.feed { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
.post {
  padding: 12px 14px 13px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -26px rgba(17, 24, 39, .9);
}
.post__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.post__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.post__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.post__name { font-size: 14.5px; font-weight: 650; letter-spacing: -.005em; }
.post__time { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post__tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.post__mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.post__mini-emoji { font-size: 18px; }
.post__mini-name {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post__caption { margin-top: 9px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.post__reactions { display: flex; gap: 6px; margin-top: 10px; }
.react {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.react:active { transform: scale(.95); }
.react[aria-pressed="true"] {
  background: rgba(91, 108, 255, .2);
  border-color: rgba(91, 108, 255, .6);
  color: var(--ink);
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 26px 20px 18px;
  text-align: center;
}
.empty__art { width: 72px; height: 62px; opacity: .9; }
.empty p { font-size: 15px; color: var(--ink-2); }
.empty span { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   12. Profile (#/profile)
   ============================================================ */
.levelcard {
  position: relative;
  overflow: hidden;
  margin: 0 20px 18px;
  padding: 18px;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #E9EDFC 0%, #DDE3F5 58%, #D6DDF3 100%);
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 18px 36px -26px rgba(17, 24, 39, .55);
}
.levelcard::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23m)'/%3E%3C/svg%3E");
}
.levelcard__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.levelcard__lv { font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.levelcard__lv small {
  margin-left: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.levelcard__avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(17, 24, 39, .1);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.levelbar { position: relative; z-index: 1; margin-top: 15px; }
.levelbar__track { height: 8px; border-radius: 999px; background: rgba(17, 24, 39, .09); overflow: hidden; }
.levelbar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5B6CFF, #3D4FE0);
  transition: width var(--slow) var(--ease);
}
.levelbar__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 11.5px;
  color: rgba(17, 24, 39, .48);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.levelstats {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, .1);
}
.levelstats div { flex: 1; text-align: center; border-left: 1px solid rgba(17, 24, 39, .1); }
.levelstats div:first-child { border-left: 0; }
.levelstats b { display: block; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.levelstats span { font-size: 11px; color: rgba(17, 24, 39, .48); letter-spacing: .02em; }

.strip {
  display: flex;
  gap: 11px;
  padding: 2px 20px 15px;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.abadge {
  flex-shrink: 0;
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.abadge__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform var(--base) var(--ease);
}
.abadge:hover .abadge__icon { transform: translateY(-2px); }
.abadge--on .abadge__icon {
  border-color: rgba(91, 108, 255, .6);
  background: #F7F8FD;
  box-shadow: 0 4px 12px -5px rgba(201, 123, 46, .7);
}
.abadge--off .abadge__icon { opacity: .45; filter: grayscale(1); }
.abadge span { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }

.settings {
  margin: 0 20px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.setting {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  text-align: left;
  transition: background-color var(--fast) var(--ease);
}
.setting:first-child { border-top: 0; }
.setting:hover { background: var(--paper-2); }
.setting__label { flex: 1; min-width: 0; }
.setting__value { font-size: 13px; color: var(--ink-3); }
.setting--danger .setting__label { color: var(--ember); }
.setting--danger:hover { background: rgba(255, 107, 107, .05); }
.setting__chev { flex-shrink: 0; color: var(--ink-3); }

.switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  transition: background-color var(--fast) var(--ease);
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(17, 24, 39, .25);
  transition: transform var(--fast) var(--ease);
}
.switch[aria-checked="true"] { background: var(--amber); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }

.version {
  margin: 22px 0 6px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--ink-3);
}

/* ============================================================
   13. Achievements (#/achievements)
   ============================================================ */
.pushhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 10px 12px;
}
.pushhead h1 { flex: 1; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.pushhead__count { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.alist { display: flex; flex-direction: column; gap: 9px; padding: 2px 20px 26px; }
.arow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.arow--on {
  border-color: rgba(91, 108, 255, .48);
  background: linear-gradient(180deg, #F7F8FD 0%, #FFFFFF 100%);
}
.arow__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--paper-2);
}
.arow--off .arow__icon { opacity: .45; filter: grayscale(1); }
.arow__body { flex: 1; min-width: 0; }
.arow__name { display: flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 650; letter-spacing: -.005em; }
.arow__detail { margin: 2px 0 7px; font-size: 12.5px; color: var(--ink-3); }
.arow__track { height: 4px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.arow__fill { height: 100%; border-radius: 999px; background: var(--amber); transition: width var(--slow) var(--ease); }
.arow__right { flex-shrink: 0; text-align: right; }
.arow__num { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seal {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(201, 123, 46, .5);
  color: var(--amber-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: rotate(-6deg);
  white-space: nowrap;
}

/* ============================================================
   14. Modal / toast / misc overlays
   ============================================================ */
.modal-scrim {
  position: absolute;
  inset: 0;
  z-index: 74;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(17, 24, 39, .46);
  animation: fade-in .22s ease both;
}
.modal {
  width: 100%;
  max-width: 322px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 16px 20px 18px;
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  animation: modal-pop .3s var(--ease) both;
}
.modal::-webkit-scrollbar { display: none; }
.modal__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.modal__close {
  width: 30px;
  height: 30px;
  margin-right: -6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
}
.modal__close:hover { background: var(--paper-2); color: var(--ink); }
.modal__card-hero { text-align: center; padding: 2px 0 8px; }
.modal__card-hero .reveal-card__emoji { font-size: 40px; margin-bottom: 6px; }
.modal__card-hero h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.modal__area { margin-top: 4px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.modal h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.modal__body { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.modal__body p + p { margin-top: 8px; }
.modal__actions { display: flex; gap: 8px; margin-top: 16px; }
.modal__actions .btn { flex: 1; height: 44px; font-size: 15.5px; }

.toast-root {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  animation: toast-in var(--base) var(--ease) both;
}
.toast__icon { font-size: 16px; }
.toast--amber {
  background: linear-gradient(135deg, #7C8BFF, #5B6CFF);
  color: var(--ink);
}
.toast.is-out { animation: toast-out .26s ease both; }

/* ============================================================
   15. Watch preview route (#/watch) & standalone page
   ============================================================ */
.watchpreview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 12px 20px 30px;
}
.watchpreview__copy { text-align: center; }
.watchpreview__copy h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.watchpreview__copy p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.watchpreview__face { filter: drop-shadow(0 20px 30px rgba(17, 24, 39, .32)); }
.watchpreview__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.watchpreview__link:hover { color: var(--ink); background: var(--paper-2); }

/* 独立表盘（index 与 watch.html 共用同一份视觉） */
.watchface {
  position: relative;
  width: 198px;
  height: 242px;
  flex-shrink: 0;
  border-radius: 44px;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
.watchface::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.watchface__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 16px;
  text-align: center;
}
.watchface__cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
}
.watchface__ring { position: absolute; inset: 0; }
.watchface__big {
  margin-top: 34px;
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.watchface__big small { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-left: 4px; opacity: .6; }
.watchface__foot {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watchface--clues .watchface__inner { align-items: stretch; padding: 16px 14px 14px; text-align: left; }
.watchface__list { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.watchface__clue {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.42;
  color: rgba(255, 255, 255, .9);
}
.watchface__clue i {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(91, 108, 255, .9);
  color: #000;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.watchface__clue--locked { color: rgba(255, 255, 255, .4); }
.watchface__clue--locked i { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .55); }
.watchface--reveal { background: radial-gradient(120% 90% at 50% 20%, #2C2418 0%, #0B0F19 72%); }
.watchface__arrive {
  margin-top: 26px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .28em;
  text-indent: .28em;
  color: var(--amber);
  animation: watch-glow 2.4s ease-in-out infinite;
}
.watchface__place {
  margin-top: 10px;
  padding: 0 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}
.watchface__rarity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}
.watchface__rarity i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.watchface--reveal .watchface__foot { color: rgba(255, 255, 255, .6); }

/* ============================================================
   16. Keyframes
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes breathe {
  0%, 100% { opacity: .5; transform: scale(.86); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes dash-flow { to { stroke-dashoffset: -240; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(102%); } to { transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }
@keyframes modal-pop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes card-flip {
  from { opacity: 0; transform: rotate(-1.2deg) rotateY(-78deg) scale(.94); }
  to { opacity: 1; transform: rotate(-1.2deg) rotateY(0) scale(1); }
}
@keyframes clue-pop {
  0% { opacity: 0; transform: translateY(8px); }
  60% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes box-shake {
  0%, 100% { transform: rotate(0deg); }
  14% { transform: rotate(-6deg); }
  30% { transform: rotate(6deg); }
  46% { transform: rotate(-6deg); }
  62% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}
@keyframes body-shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-2px, 0) rotate(-2deg); }
  20% { transform: translate(2px, 0) rotate(2deg); }
  30% { transform: translate(-2px, 0) rotate(-2deg); }
  40% { transform: translate(2px, 0) rotate(2deg); }
  55% { transform: translate(0, 3px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes lid-pop {
  0%, 46% { transform: translateY(0) rotate(0deg); }
  60% { transform: translateY(-6px) rotate(-1deg); }
  100% { transform: translateY(-64px) rotate(14deg); opacity: 0; }
}
@keyframes q-out {
  0%, 55% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes glow-burst {
  0%, 40% { opacity: .4; transform: translate(-50%, -50%) scale(.7); }
  75% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
  100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
}
@keyframes confetti-fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(.6); }
  12% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, -120px)) rotate(var(--rot, 200deg)) scale(1);
  }
}
@keyframes flash-line {
  0% { width: 0; opacity: 0; }
  40% { opacity: 1; }
  100% { width: 68px; opacity: 1; }
}
@keyframes watch-glow {
  0%, 100% { text-shadow: 0 0 18px rgba(91, 108, 255, .25); opacity: .82; }
  50% { text-shadow: 0 0 26px rgba(91, 108, 255, .7); opacity: 1; }
}

/* ============================================================
   17. Desktop device preview (≥480px) — design-system §7
   ============================================================ */
@media (min-width: 480px) {
  html, body { height: 100%; }

  body {
    background: #111827 radial-gradient(80% 60% at 50% -10%, #3B3229 0%, #111827 62%, #1B1713 100%);
  }

  .stage {
    min-height: 100dvh;
    padding: 26px 0 16px;
    gap: 14px;
  }

  .device {
    flex-shrink: 0;
    width: 414px;
    height: 868px;
    padding: 12px;
    border-radius: 58px;
    background: linear-gradient(160deg, #3D352B 0%, #1C1813 55%, #100E0C 100%);
    box-shadow:
      0 60px 110px rgba(0, 0, 0, .55),
      inset 0 0 0 1px rgba(255, 255, 255, .08);
  }

  .screen {
    width: 390px;
    height: 844px;
    border-radius: 46px;
  }

  .grain { border-radius: 46px; }

  .device__island {
    display: block;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 102px;
    height: 25px;
    border-radius: 999px;
    background: #0B0F19;
    z-index: 35;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  }

  .statusbar { padding-left: 34px; padding-right: 30px; }

  .home-indicator {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
    width: 118px;
    height: 5px;
    border-radius: 999px;
    background: var(--ink);
    opacity: .78;
    z-index: 46;
    pointer-events: none;
  }

  .stage__caption {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(243, 245, 251, .38);
  }

  .toast-root { bottom: 96px; }
}

/* 窄桌面（480–619px）：无边框全屏模式。
   Chrome headless 在 macOS 上有 500px 最小窗口宽度，--window-size=390 时真实布局视口为 500；
   这一档保证 390×844 截图仍然完整、无裁切。≥620px 才是真正的桌面设备外框预览。 */
@media (min-width: 480px) and (max-width: 619px) {
  body { background: var(--cream); }
  .stage {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
  }
  .device {
    width: 390px;
    height: 100dvh;
    padding: 0;
    border-radius: 0;
    background: var(--cream);
    box-shadow: none;
    flex-shrink: 0;
  }
  .screen {
    width: 390px;
    height: 100%;
    border-radius: 0;
  }
  .device__island,
  .home-indicator,
  .stage__caption { display: none; }
  .grain { border-radius: 0; }
  .statusbar { padding-left: 26px; padding-right: 24px; }
}

@media (min-width: 620px) and (max-height: 920px) {
  .stage { padding: 10px 0 8px; gap: 8px; }
  .device { zoom: .85; }
}

@media (min-width: 620px) and (max-height: 800px) {
  .stage { padding: 6px 0 6px; gap: 6px; }
  .device { zoom: .74; }
}

/* ============================================================
   18. Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .map-route { stroke-dashoffset: 0 !important; }
  .boxart--float { animation: none !important; }
}

/* ============================================================
   19. PWA / standalone（装到 iPhone 主屏后）
   - 隐藏模拟状态栏、设备外框、说明文字
   - 铺满整屏，内容避开刘海与 Home indicator
   ============================================================ */
body[data-mode="standalone"] {
  background: var(--cream);
  overflow: hidden;
  overscroll-behavior: none;
}

body[data-mode="standalone"] .stage {
  padding: 0;
  gap: 0;
  min-height: 100dvh;
  background: var(--cream);
}

body[data-mode="standalone"] .device {
  width: 100%;
  height: 100dvh;
  padding: 0;
  border-radius: 0;
  background: var(--cream);
  box-shadow: none;
  zoom: 1;
}

body[data-mode="standalone"] .device__island,
body[data-mode="standalone"] .statusbar,
body[data-mode="standalone"] .home-indicator,
body[data-mode="standalone"] .stage__caption {
  display: none !important;
}

/* 屏幕铺满，并把安全区换成 iOS 真实 safe-area 值 */
body[data-mode="standalone"] .screen {
  width: 100%;
  height: 100dvh;
  border-radius: 0;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

body[data-mode="standalone"] .grain {
  border-radius: 0;
}

/* 有安全区时，头尾留白也跟着走 */
body[data-mode="standalone"] .main {
  padding-top: 4px;
}

body[data-mode="standalone"] .tabbar {
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
}

body[data-mode="standalone"] .toast-root {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* 桌面浏览器里仍保持设备外框预览；iPhone 上直接全屏 */
@media (max-width: 479px) {
  body[data-mode="browser"] .device {
    border-radius: 0;
  }
}

/* ============================================================
   20. 埋惊喜 / 寻惊喜（v0.3）
   ============================================================ */

/* ---- 首页入口卡 ---- */
.hub {
  margin-top: 20px;
  padding: 16px 18px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 30px var(--shadow);
}
.hub__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hub__meta { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hub__copy { margin: 7px 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.hub__actions { display: flex; gap: 8px; }
.hub__btn { flex: 1; padding: 11px 10px; font-size: 15px; }

/* ---- 通用页面容器 ---- */
.page { padding: 4px 20px 40px; }
.page__bar { display: flex; align-items: center; min-height: 40px; }
.page__hero { margin-bottom: 18px; }
.page__hero h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.page__hero p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.page__note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); text-align: center; }
.page__foot { margin-top: 18px; }
.iconbtn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 999px; color: var(--ink-2);
  background: transparent; border: 0; cursor: pointer;
}
.iconbtn:hover { background: var(--paper-2); color: var(--ink); }

/* ---- 拍照区 ---- */
.shot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 188px; padding: 26px 20px;
  background: var(--paper-2);
  border: 1.5px dashed rgba(17, 24, 39, .18);
  border-radius: 20px; cursor: pointer;
  transition: background var(--base) var(--ease), border-color var(--base) var(--ease);
}
.shot:hover { background: var(--paper); border-color: var(--amber); }
.shot__icon { font-size: 30px; line-height: 1; }
.shot__label { margin-top: 10px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.shot__hint { margin-top: 5px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.shotwrap { margin: 16px 0 4px; }
.shotwrap__lead { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.shot__preview { position: relative; }
.shot__preview img {
  display: block; width: 100%; border-radius: 20px;
  border: 1px solid var(--line);
}
.shot__retake { margin-top: 10px; }

/* ---- 输入 ---- */
.ta {
  display: block; width: 100%; box-sizing: border-box;
  min-height: 86px; padding: 12px 14px;
  font: inherit; font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; resize: none;
}
.ta:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(91, 108, 255, .16); }
.ta--short { min-height: 60px; }
.field__count {
  display: block; margin-top: 6px; text-align: right;
  font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.locline {
  margin: 4px 0 16px; font-size: 14px; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---- 寻惊喜列表 ---- */
.slist { display: flex; flex-direction: column; gap: 10px; }
.scard {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 14px; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 8px 20px var(--shadow);
  transition: transform var(--fast) var(--ease);
}
.scard:active { transform: scale(.985); }
.scard__emoji {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
  font-size: 18px; border-radius: 999px; background: var(--paper-2);
  border: 1px solid var(--line);
}
.scard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.scard__who { font-size: 15px; font-weight: 650; color: var(--ink); }
.scard__copy { font-size: 13.5px; color: var(--ink-3); }
.scard__dist { font-size: 13.5px; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.scard__arrow { color: var(--ink-3); display: flex; }
.slist__hint { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); text-align: center; }

/* ---- 作者条 ---- */
.authorbar {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; margin-bottom: 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px;
}
.authorbar__emoji {
  width: 38px; height: 38px; display: grid; place-items: center;
  font-size: 18px; border-radius: 999px; background: var(--paper-2);
}
.authorbar__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.authorbar__who { font-size: 15px; font-weight: 650; color: var(--ink); }
.authorbar__when { font-size: 13px; color: var(--ink-3); }
.authorbar__dist { font-size: 14.5px; font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums; }

/* ---- 线索 ---- */
.cluelist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 6px; }
.clue {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px;
}
.clue--locked { background: transparent; border-style: dashed; opacity: .62; }
.clue__mark { flex: 0 0 auto; font-size: 14px; line-height: 1.6; }
.clue__text { font-size: 15px; line-height: 1.55; color: var(--ink); }
.clue--locked .clue__text { color: var(--ink-3); }

/* ---- 对比 ---- */
.cmp { margin-top: 18px; }
.cmp__row { display: flex; gap: 10px; }
.cmp__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cmp__cap { font-size: 12px; font-weight: 650; letter-spacing: .09em; color: var(--ink-3); }
.cmp__cell {
  aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.cmp__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp__cell--demo { flex-direction: column; gap: 6px; color: var(--ink-3); font-size: 22px; }
.cmp__cell--demo em { font-size: 12.5px; font-style: normal; }
.cmp__score { display: flex; align-items: center; gap: 8px; margin: 12px 0 14px; }

/* ---- 结算 ---- */
.result {
  padding: 16px 18px; border-radius: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.result--pass { background: rgba(91, 108, 255, .12); border: 1px solid rgba(91, 108, 255, .38); }
.result--soft { background: var(--paper); border: 1px solid var(--line); }
.result__big { font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.result--pass .result__big { color: var(--amber-deep); }
.result__sub { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.result__verdict { margin: 10px 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); text-align: center; }
.result__actions { display: flex; gap: 8px; }
.result__btn { flex: 1; }

/* ---- 我的惊喜 ---- */
.minelist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.mine {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px;
}
.mine__emoji { flex: 0 0 auto; font-size: 19px; line-height: 1.5; }
.mine__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mine__msg { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.mine__state { font-size: 12.5px; color: var(--ink-3); }
.mine__state--on { color: var(--teal); font-weight: 650; }

/* ---- 演示标注 ---- */
.demo-tag {
  display: inline-block; margin: 8px 0 0; padding: 3px 8px;
  font-size: 12px; font-weight: 650; letter-spacing: .04em;
  color: var(--amber-deep); background: rgba(91, 108, 255, .14);
  border-radius: 999px;
}

/* ---- 暗色舞台上的坎（寻宝对比在亮底，无需特殊处理） ---- */

/* ============================================================
   21. 真实地理位置（v0.4）
   ============================================================ */
.journey__status {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px 8px;
}
.geo-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
}
.geo-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3); display: block;
}
.geo-pill--live { color: var(--teal); border-color: rgba(46, 125, 120, .3); background: rgba(46, 125, 120, .08); }
.geo-pill--live i { background: var(--teal); box-shadow: 0 0 0 3px rgba(46, 125, 120, .18); }
.geo-pill--gps { color: var(--teal); letter-spacing: .1em; font-size: 11.5px; }

.revealcard__real {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  font-size: 11.5px; font-weight: 650; letter-spacing: .04em;
  color: var(--teal); background: rgba(46, 125, 120, .1);
  border-radius: 999px; vertical-align: middle;
}

/* ============================================================
   22. 折叠屏适配（iPhone Duo）
   - 折叠态 466×678pt：屏幕矮，压缩垂直节奏
   - 展开态 669×951pt：大屏，改双列布局
   判定：html.is-touch（由 app.js 检测 maxTouchPoints / pointer:coarse 后加上）
         —— 不用 CSS 的 pointer:coarse，因为它在部分环境不可靠
   ============================================================ */

/* ---------- 22.1 触摸设备 + 大屏：全屏、不显示桌面假外框、双列 ---------- */
@media (min-width: 620px) {
  html.is-touch,
  html.is-touch body {
    height: 100%;
  }
  html.is-touch body {
    background: var(--cream);
    overflow: hidden;
  }
  html.is-touch .stage {
    padding: 0;
    gap: 0;
    height: 100dvh;
    min-height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
  }
  html.is-touch .device {
    width: 100%;
    height: 100dvh;
    padding: 0;
    border-radius: 0;
    background: var(--cream);
    box-shadow: none;
    zoom: 1;
    flex-shrink: 1;
  }
  html.is-touch .screen {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }
  html.is-touch .grain {
    border-radius: 0;
  }
  html.is-touch .device__island,
  html.is-touch .home-indicator,
  html.is-touch .stage__caption {
    display: none !important;
  }
  html.is-touch .statusbar {
    padding-left: 28px;
    padding-right: 24px;
  }

  /* ---------- 首页：双列 ---------- */
  html.is-touch .home {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 22px;
    row-gap: 18px;
    align-content: start;
    padding: 10px 26px 26px;
  }
  html.is-touch .home__top,
  html.is-touch .home__hero {
    grid-column: 1 / -1;
  }
  html.is-touch .home__hero h2 {
    font-size: 30px;
  }
  html.is-touch .home__hero p {
    font-size: 17px;
  }
  html.is-touch .boxcard {
    grid-column: 1;
  }
  html.is-touch .stats {
    grid-column: 2;
    align-self: start;
  }
  html.is-touch .friends {
    grid-column: 2;
  }
  html.is-touch .lastcard,
  html.is-touch .firsthint {
    grid-column: 1;
  }
  html.is-touch .hub {
    grid-column: 1 / -1;
  }

  /* ---------- 旅程：左地图 / 右「距离 + 线索」，底部按钮 ---------- */
  html.is-touch .journey {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "jtop   jtop"
      "jstat  jstat"
      "jmap   jside"
      "jact   jact";
    column-gap: 24px;
    row-gap: 10px;
    padding: 10px 26px 18px;
  }
  html.is-touch .journey__top { grid-area: jtop; }
  html.is-touch .journey__status { grid-area: jstat; padding: 0 0 2px; }
  html.is-touch .journey__actions { grid-area: jact; padding: 8px 0 0; background: none; }

  html.is-touch .journey__map {
    grid-area: jmap;
    width: 100%;
    height: 100%;
    min-height: 220px;
    margin: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--paper);
  }
  html.is-touch .journey__map svg {
    height: 100%;
    width: 100%;
  }

  /* 右栏：距离在上、线索在下，中间自动填满 */
  html.is-touch .journey__side {
    grid-area: jside;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
  }
  html.is-touch .journey__distance {
    padding: 0;
    margin: 0;
  }
  html.is-touch .journey__digits {
    font-size: 68px;
  }
  html.is-touch .journey__bearing {
    margin-top: 4px;
  }
  html.is-touch .journey__clues {
    margin: 0;
    overflow-y: auto;
    min-height: 0;
    flex: 1;
  }
  html.is-touch .journey__actions {
    grid-column: 1 / -1;
    grid-row: 5;
    padding: 8px 0 0;
    background: none;
  }

  /* ---------- 图鉴：5 列 ---------- */
  html.is-touch .fcards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* ---------- 内容容器留白 ---------- */
  html.is-touch .cards,
  html.is-touch .social,
  html.is-touch .profile,
  html.is-touch .achievements,
  html.is-touch .page {
    padding-left: 26px;
    padding-right: 26px;
  }
  html.is-touch .section-head {
    padding: 0;
  }

  /* ---------- 抽盒 sheet / 揭晓卡：限宽，保持「一张卡」的观感 ---------- */
  html.is-touch .sheet {
    max-width: 620px;
    margin: 0 auto;
  }
  html.is-touch .reveal-card {
    max-width: 460px;
  }

  /* ---------- 埋 / 寻：列表两列 ---------- */
  html.is-touch .slist,
  html.is-touch .minelist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ---------- 22.2 折叠态（矮屏 ≤ 720pt，如 466×678）：压缩垂直节奏 ---------- */
@media (max-height: 720px) {
  html.is-touch .home {
    padding-top: 2px;
  }
  html.is-touch .home__hero h2 {
    font-size: 22px;
  }
  html.is-touch .home__hero p {
    font-size: 15px;
    margin-top: 2px;
  }
  html.is-touch .boxcard {
    margin-top: 10px;
    padding: 14px 16px 12px;
  }
  html.is-touch .boxcard__art,
  html.is-touch .boxcard__art svg {
    height: 92px;
  }
  html.is-touch .stats {
    margin-top: 12px;
  }
  html.is-touch .stat b {
    font-size: 22px;
  }
  html.is-touch .friends {
    margin-top: 12px;
  }
  html.is-touch .avatar {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  html.is-touch .lastcard {
    margin-top: 12px;
    padding: 9px 12px;
  }
  html.is-touch .hub {
    margin-top: 12px;
    padding: 12px 14px;
  }
  html.is-touch .hub__copy {
    margin: 5px 0 9px;
    font-size: 14px;
  }
  html.is-touch .hub__btn {
    padding: 9px 8px;
    font-size: 14px;
  }

  html.is-touch .journey {
    padding-top: 2px;
  }
  html.is-touch .journey__top {
    min-height: 34px;
  }
  html.is-touch .journey__map {
    max-height: 200px;
    min-height: 150px;
  }
  html.is-touch .journey__digits {
    font-size: 52px;
  }
  html.is-touch .journey__unit {
    font-size: 16px;
  }
  html.is-touch .journey__bearing b {
    font-size: 22px;
  }
  html.is-touch .journey__clues {
    margin-top: 8px;
  }
  html.is-touch .clue {
    padding: 9px 12px;
  }
  html.is-touch .clue__text {
    font-size: 14px;
  }
  html.is-touch .journey__actions {
    padding-top: 8px;
    gap: 6px;
  }
  html.is-touch .journey__actions .btn {
    height: 42px;
    font-size: 16px;
  }

  html.is-touch .fcards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html.is-touch .reveal-card {
    padding: 18px 18px 16px;
  }
  html.is-touch .reveal-card__name {
    font-size: 22px;
  }
  html.is-touch .reveal-card__why {
    font-size: 14.5px;
  }
  html.is-touch .taskcard {
    padding: 10px 12px;
  }

  html.is-touch .sheet {
    padding: 16px 18px 20px;
  }
  html.is-touch .segmented button {
    padding: 9px 4px;
  }
  html.is-touch .segmented b {
    font-size: 15px;
  }
  html.is-touch .mood {
    padding: 8px 12px;
  }
  html.is-touch .mood__emoji {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }

  html.is-touch .shot {
    min-height: 130px;
    padding: 16px;
  }
  html.is-touch .shot__icon {
    font-size: 24px;
  }
  html.is-touch .ta {
    min-height: 62px;
  }
}

/* ============================================================
   23. 兴趣点实景照片（来源：Wikimedia Commons / 维基百科）
   仅用于「到达后揭晓」与图鉴，绝不在旅程中展示（保密规则）
   ============================================================ */

.reveal-card__figure {
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}

.reveal-card__photo {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--cream2, #EEF1F9);
}

.reveal-card__photo[hidden] { display: none; }

.reveal-card__credit {
  margin: 0;
  padding: 6px 10px 7px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ink3, #9CA3AF);
  text-align: right;
  background: var(--paper);
}

/* 图鉴卡：把实景图铺在卡片底部做底纹，文字仍然可读 */
.fcard {
  position: relative;
  overflow: hidden;
}

.fcard__photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background-size: cover;
  background-position: center;
  opacity: .28;
  filter: saturate(.9);
  pointer-events: none;
}

.fcard__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--paper) 6%, transparent 70%);
}

.fcard__emoji,
.fcard__name,
.fcard__date {
  position: relative;
  z-index: 1;
}

/* ============================================================
   24. 数据来源标签 + 演示模式出口
   让人一眼看出「这是真实地点 / 编辑精选 / 演示地点」
   ============================================================ */

.srcbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.srcbadge--real {
  color: #14B8A6;
  background: rgba(46, 125, 120, .10);
  border: 1px solid rgba(46, 125, 120, .28);
}
.srcbadge--curated {
  color: #3D4FE0;
  background: rgba(91, 108, 255, .14);
  border: 1px solid rgba(91, 108, 255, .40);
}
.srcbadge--demo {
  color: #6B7280;
  background: rgba(156, 163, 175, .12);
  border: 1px solid rgba(156, 163, 175, .32);
}

.geo-pill--demo {
  color: #6B7280;
  background: rgba(156, 163, 175, .12);
  border: 1px solid rgba(156, 163, 175, .32);
}
.geo-pill--demo i {
  background: #9CA3AF;
}

.geo-pill--action {
  cursor: pointer;
  color: #3D4FE0;
  background: rgba(91, 108, 255, .14);
  border: 1px solid rgba(91, 108, 255, .40);
  font-weight: 600;
}
.geo-pill--action:hover {
  background: rgba(91, 108, 255, .22);
}

/* ============================================================
   25. 诊断页
   ============================================================ */

.dbg { padding-bottom: 28px; }

.dbg__card {
  margin-top: 14px;
  padding: 6px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.dbg__row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
}
.dbg__row:last-child { border-bottom: 0; }

.dbg__k {
  flex: 0 0 38%;
  color: var(--ink3, #9CA3AF);
}

.dbg__v {
  flex: 1;
  color: var(--ink);
  word-break: break-all;
}

.dbg__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.dbg__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink2);
}

.dbg__hint code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(17, 24, 39, .06);
  font-size: 13.5px;
}

/* ============================================================
   26. 演示数据提示条（首页）
   ============================================================ */

.demonotice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 11px 12px;
  background: rgba(156, 163, 175, .12);
  border: 1px solid rgba(156, 163, 175, .34);
  border-radius: 14px;
}

.demonotice__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.demonotice__body {
  flex: 1;
  min-width: 0;
}

.demonotice__title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.demonotice__text {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink2);
}

.demonotice__btn {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(91, 108, 255, .5);
  background: rgba(91, 108, 255, .16);
  color: #3D4FE0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   27. 桌面端统一渲染（不再套「展示用假手机外框」）
   之前 Mac 上会看到 390×844 的假手机壳，鸿蒙上看到全屏，
   同一份数据看起来像两个 App。现在两边用同一套布局，只是宽度不同。
   ============================================================ */

@media (min-width: 480px) {
  html:not(.is-touch) body {
    background: var(--cream);
    overflow: hidden;
  }

  html:not(.is-touch) .stage {
    padding: 0;
    gap: 0;
    height: 100dvh;
    min-height: 100dvh;
    align-items: stretch;
    justify-content: center;
  }

  html:not(.is-touch) .device {
    width: 100%;
    max-width: 460px;
    height: 100dvh;
    padding: 0;
    border-radius: 0;
    background: var(--cream);
    box-shadow: none;
    zoom: 1;
    flex-shrink: 1;
    margin: 0 auto;
  }

  html:not(.is-touch) .screen {
    width: 100%;
    height: 100dvh;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 0;
  }

  html:not(.is-touch) .grain { border-radius: 0; }

  html:not(.is-touch) .device__island,
  html:not(.is-touch) .home-indicator { display: none !important; }

  html:not(.is-touch) .stage__caption {
    display: none;
  }

  html:not(.is-touch) .statusbar {
    padding-left: 20px;
    padding-right: 18px;
  }
}


/* ============================================================
   28. 导航卡（全页唯一的距离数字 + 唯一的箭头）
   ============================================================ */

.navcard {
  margin: 4px 20px 0;
  padding: 18px 18px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color .18s ease, background .18s ease;
}

/* 该拐了：琥珀色边 + 箭头实心 */
.navcard--now {
  border-color: rgba(91, 108, 255, .6);
  background: linear-gradient(180deg, rgba(91, 108, 255, .10), var(--paper) 55%);
}

.navcard__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navcard__arrow {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  background: var(--cream2, #EEF1F9);
  border-radius: 18px;
  transition: background .18s ease, color .18s ease;
}

.navcard--now .navcard__arrow {
  background: var(--amber);
  color: #FFFFFF;
}

.navcard__text { flex: 1; min-width: 0; }

.navcard__main {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink);
}

.navcard__sub {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink2);
}

.navcard__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(17, 24, 39, .10);
}

.navcard__left {
  font-size: 15px;
  color: var(--ink2);
}

.navcard__left b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 3px;
  font-variant-numeric: tabular-nums;
}

.navcard__time {
  font-size: 14px;
  color: var(--ink3, #9CA3AF);
}

@media (max-height: 720px) {
  html.is-touch .navcard { margin: 2px 16px 0; padding: 14px 14px 11px; }
  html.is-touch .navcard__arrow { width: 50px; height: 50px; font-size: 26px; border-radius: 14px; }
  html.is-touch .navcard__main { font-size: 21px; }
  html.is-touch .navcard__left b { font-size: 25px; }
}

/* ============================================================
   29. 接下来几步（提前量预览）
   ============================================================ */

.upcoming {
  margin: 12px 20px 0;
  padding: 12px 14px 10px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.upcoming__title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .10em;
  color: var(--ink3, #9CA3AF);
}

.upcoming__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15.5px;
  line-height: 1.3;
}

.upcoming__row + .upcoming__row {
  border-top: 1px dashed rgba(17, 24, 39, .07);
}

.upcoming__arrow {
  flex: 0 0 22px;
  text-align: center;
  font-size: 18px;
  color: var(--ink);
}

.upcoming__label { flex: 1; color: var(--ink); }

.upcoming__dist {
  flex: 0 0 auto;
  font-size: 14.5px;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}

@media (max-height: 720px) {
  html.is-touch .upcoming { margin: 10px 16px 0; padding: 10px 12px 8px; }
  html.is-touch .upcoming__row { font-size: 14.5px; padding: 4px 0; }
}

/* ============================================================
   30. 定位受阻面板（不许静默用虚构地点）
   ============================================================ */

.locblock {
  margin: 0 0 14px;
  padding: 16px 16px 14px;
  background: rgba(255, 107, 107, .06);
  border: 1px solid rgba(255, 107, 107, .28);
  border-radius: 16px;
}

.locblock__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.locblock__text {
  margin: 6px 0 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink2);
}

.locblock__actions {
  display: flex;
  gap: 8px;
}

.locblock__actions .btn {
  flex: 1;
  height: 42px;
  font-size: 15.5px;
}

.locblock__demo {
  width: 100%;
  margin-top: 10px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink3, #9CA3AF);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* 揭晓卡：演示地点标记（与「真实地点/编辑精选」同结构） */
.revealcard__demo {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .04em;
  color: #6B7280;
  background: rgba(156, 163, 175, .14);
  border-radius: 999px;
  vertical-align: middle;
}

/* ============================================================
   31. 揭晓照片兜底（加载失败不显示破图）
   ============================================================ */

.reveal-card__photofallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 168px;
  background: var(--cream2, #EEF1F9);
  color: var(--ink2);
}

.reveal-card__photofallback[hidden] { display: none; }

.reveal-card__photofallback span { font-size: 30px; line-height: 1; }

.reveal-card__photofallback p {
  margin: 0;
  font-size: 14px;
  color: var(--ink3, #9CA3AF);
}

.reveal-card__photofallback button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 108, 255, .45);
  background: rgba(91, 108, 255, .12);
  color: #3D4FE0;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.reveal-card__figure.is-broken .reveal-card__credit { display: none; }

/* 图片加载中的底色（避免白块闪一下） */
.reveal-card__photo {
  background: var(--cream2, #EEF1F9);
}

/* 揭晓照片：加载中占位（避免空白让人以为坏了） */
.reveal-card__photoloading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 168px;
  background: var(--cream2, #EEF1F9);
}

.reveal-card__photoloading[hidden] { display: none; }

.reveal-card__photoloading p {
  margin: 0;
  font-size: 14px;
  color: var(--ink3, #9CA3AF);
}

.reveal-card__spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(17, 24, 39, .12);
  border-top-color: var(--amber);
  animation: waspin .8s linear infinite;
}

@keyframes waspin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .reveal-card__spinner { animation: none; border-top-color: rgba(17, 24, 39, .3); }
}

/* ============================================================
   32. 按钮可点性加固（鸿蒙/内置浏览器）
   - touch-action: manipulation 去掉双击缩放等待
   - 底部操作条抬高到安全区之上，避免被系统手势条挡住
   ============================================================ */

button, .btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.journey__actions {
  position: relative;
  z-index: 3;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

/* 兜底提示条：按钮点击后若状态没变，给一次可见反馈 */
.journey__actions .btn:active {
  transform: scale(.985);
}

/* 版本号小标记（我的页标题旁） */
.verstamp {
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--ink3, #9CA3AF);
  background: rgba(156, 163, 175, .12);
  border: 1px solid rgba(156, 163, 175, .26);
  vertical-align: middle;
}

/* ============================================================
   33. 账号 / 数据源设置
   ============================================================ */

.acc__form { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 2px; }

.acc__label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink3, #9CA3AF);
}

.acc__input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.acc__input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(91, 108, 255, .16);
}

.acc__state {
  margin-left: 6px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink3, #9CA3AF);
}

.dbg__label {
  margin: 12px 0 6px;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--ink3, #9CA3AF);
}

/* ============================================================
   34. 路径视图（前方窗口，终点不显示）
   ============================================================ */

.pathview {
  position: relative;
  margin: 10px 20px 0;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 80% at 50% 0%, #F7F8FD 0%, var(--paper) 55%),
    var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pathview__svg {
  display: block;
  width: 100%;
  height: 196px;
}

.pathview--empty .pathview__svg { opacity: .45; }

.pathview__cap {
  position: absolute;
  left: 12px;
  top: 10px;
  border: 1px solid rgba(228, 217, 198, .9);
  cursor: pointer;
  font-family: inherit;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(226, 231, 242, .9);
  font-size: 12.5px;
  color: var(--ink3, #9CA3AF);
  letter-spacing: .02em;
}

/* 网格底纹（示意街道感，不映射真实道路） */
.pathview [data-path-grid] rect {
  fill: none;
}

@media (max-height: 720px) {
  html.is-touch .pathview { margin: 8px 16px 0; }
  html.is-touch .pathview__svg { height: 160px; }
}

/* ============================================================
   35. 旅程页滚动与路径卡尺寸修正
   - 路径卡/导航卡不被 flex 压缩
   - 整页可滚动，操作条吸底
   ============================================================ */

.journey {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
}

.journey__top,
.journey__status,
.pathview,
.navcard,
.journey__side {
  flex-shrink: 0;
}

.pathview__svg {
  flex: none;
  min-height: 196px;
}

.journey__actions {
  position: sticky;
  bottom: 0;
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(243, 245, 251, 0) 0%, var(--cream) 30%, var(--cream) 100%);
  z-index: 5;
}

@media (max-height: 720px) {
  html.is-touch .pathview__svg { min-height: 160px; height: 160px; }
}

/* 迷雾感：路径卡片上下两端加雾层（配合线段逐段渐隐） */
.pathview::before,
.pathview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  pointer-events: none;
  z-index: 1;
}

.pathview::before {
  top: 0;
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, 0) 100%);
}

.pathview::after {
  bottom: 0;
  background: linear-gradient(to top, var(--paper) 0%, rgba(255, 255, 255, .5) 42%, rgba(255, 255, 255, 0) 100%);
}

.pathview__svg { position: relative; z-index: 0; }
.pathview__cap { z-index: 2; }

/* ============================================================
   36. 字号整体放大后的适配（v0.11）
   ============================================================ */

/* 状态胶囊：字号调小一点、单行显示，整行可横向滚动 */
.journey__status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.journey__status::-webkit-scrollbar { display: none; }

.geo-pill {
  font-size: 12.5px;
  white-space: nowrap;
  flex: none;
}

.geo-pill--gps { font-size: 12px; }

/* 卡片标题放大后允许两行，避免截断 */
.card__name,
.cards .card__title {
  line-height: 1.32;
}

/* 我的页设置项：字号放大后保证行高舒服 */
.setting__label { line-height: 1.35; }

/* 搜索失败面板的失败来源清单 */
.locblock__list {
  margin: 8px 0 2px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3, #9CA3AF);
}

.locblock__list li { margin: 1px 0; }

/* 搜索失败面板：在弹层里更醒目，且保证底部按钮可点 */
.locblock {
  margin: 6px 0 4px;
}

.locblock__text { margin-bottom: 2px; }

.locblock__actions {
  margin-top: 12px;
}

.locblock__demo {
  margin-top: 10px;
}

/* 弹层打开时把 toast 往上抬，避免盖住底部按钮 */
body[data-sheet="1"] .toast,
.sheet ~ .toast {
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}

@supports not (bottom: env(safe-area-inset-bottom)) {
  body[data-sheet="1"] .toast { bottom: 112px; }
}

/* ============================================================
   37. 「我的」页账号卡片（显眼入口）
   ============================================================ */

.acccard {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 14px 0 4px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #EEF1FF 0%, #FFFFFF 70%);
  text-align: left;
  cursor: pointer;
}

.acccard:active { transform: scale(.99); }

.acccard__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(91, 108, 255, .12);
  font-size: 19px;
}

.acccard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.acccard__title {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}

.acccard__sub {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-3, #9CA3AF);
}

.acccard__chev { margin-left: auto; color: var(--ink-3, #9CA3AF); flex: none; }

/* ============================================================
   38. 图鉴 · 附近惊喜的隐晦提示
   ============================================================ */

.hintbox {
  margin: 14px 0 6px;
  padding: 14px 14px 10px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #F4F6FF 0%, #FFFFFF 62%);
}

.hintbox__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.hintbox__head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.hintbox__sub {
  font-size: 11.5px;
  color: var(--ink-3, #9CA3AF);
}

.hintcard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(91, 108, 255, .18);
  background: #FFFFFF;
  text-align: left;
  cursor: pointer;
}

.hintcard:active { transform: scale(.99); }

.hintcard__emoji {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(91, 108, 255, .1);
  font-size: 17px;
}

.hintcard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.hintcard__title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.hintcard__copy {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2, #4B5563);
}

.hintcard__meta {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
}

.hintcard__go { margin-left: auto; flex: none; color: var(--ink-3, #9CA3AF); }

.hintbox__note {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--ink-3, #9CA3AF);
}

.hintbox__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--amber);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

.hintbox__cta {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(91, 108, 255, .35);
  background: rgba(91, 108, 255, .05);
  color: var(--amber-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

/* ============================================================
   39. 图鉴网格里的「附近惊喜」卡（锁着，点我开始找）
   ============================================================ */

.fcard--seek {
  position: relative;
  justify-content: center;
  gap: 3px;
  border: 1px dashed rgba(91, 108, 255, .45);
  background: linear-gradient(160deg, #F4F6FF 0%, #FFFFFF 70%);
  text-align: center;
}

.fcard--seek .fcard__emoji {
  font-size: 22px;
  opacity: .9;
}

.fcard__lockmark {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 11px;
  opacity: .75;
}

.fcard__words {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: .01em;
}

.fcard__dist {
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
}

.fcard__go {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--amber);
}

/* ============================================================
   40. 疆域与爵位（我的页）
   ============================================================ */

.territory {
  margin: 14px 0 4px;
  padding: 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #FFFFFF 0%, #F7F9FF 100%);
}

.territory__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.territory__seal {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rank-color, #5B6CFF);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.territory__title { flex: 1; min-width: 0; }

.territory__rank {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.territory__desc {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--ink-3, #9CA3AF);
}

.territory__share {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 108, 255, .35);
  background: rgba(91, 108, 255, .08);
  color: var(--amber-deep);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

.territory__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 10px;
}

.territory__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.territory__stats b {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.territory__stats b i {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3, #9CA3AF);
  margin-left: 1px;
}

.territory__stats span {
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
}

.territory__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .07);
  overflow: hidden;
}

.territory__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--rank-color, #5B6CFF);
  transition: width .4s var(--ease, ease);
}

.territory__sub {
  margin: 7px 0 0;
  font-size: 11px;
  color: var(--ink-3, #9CA3AF);
}

.territory__hint {
  margin: 12px 0 2px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

/* 分享卡弹层 */
.sharecard__img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.sharecard__hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3, #9CA3AF);
}

/* ============================================================
   41. 我的城市（个人地图）
   ============================================================ */

.territory__actions { display: flex; gap: 6px; flex: none; }

.territory__map {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 108, 255, .22);
  background: #FFFFFF;
  color: var(--ink-2, #4B5563);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

.mymap__card {
  margin: 8px 0 0;
  padding: 14px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #FFFFFF 0%, #F7F9FF 100%);
}

.mymap__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 6px;
}

.mymap__rank {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.mymap__desc {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--ink-3, #9CA3AF);
}

.mymap__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.mymap__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 260px;
  color: var(--ink-3, #9CA3AF);
  font-size: 13px;
}

.mymap__empty span { font-size: 34px; opacity: .55; }

.mymap__empty p { margin: 0; }

.mymap__empty-sub { font-size: 11.5px; opacity: .85; }

.mymap__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mymap__stats > div { display: flex; flex-direction: column; gap: 2px; }

.mymap__stats b {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.mymap__stats b i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
  margin-left: 1px;
}

.mymap__stats span {
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
}

.mymap__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3, #9CA3AF);
}
.mymap__basis { opacity: .75; font-size: 11px; margin-top: 4px; }

/* ============================================================
   42. 探索基金（金币卡）
   ============================================================ */

.wallet {
  margin: 12px 0 4px;
  padding: 15px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #FFFDF6 0%, #FFFFFF 60%);
}

.wallet--guest { background: linear-gradient(150deg, #F8F9FF 0%, #FFFFFF 70%); }

.wallet__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wallet__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, .12);
  font-size: 20px;
}

.wallet__title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}

.wallet__title b { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }

.wallet__sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--ink-3, #9CA3AF);
}

.wallet__cta {
  flex: none;
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 108, 255, .3);
  background: rgba(91, 108, 255, .08);
  color: var(--amber-deep);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

.wallet__bar {
  height: 5px;
  margin: 12px 0 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, .07);
  overflow: hidden;
}

.wallet__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gold, #F59E0B);
  transition: width .4s var(--ease, ease);
}

.wallet__hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2, #4B5563);
}

.wallet__meta {
  margin: 6px 0 0;
  font-size: 10.5px;
  color: var(--ink-3, #9CA3AF);
}

/* ============================================================
   43. 拍照验证（到达后必须拍带 GPS 的照片）
   ============================================================ */

.photoverify {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, .42);
  backdrop-filter: blur(3px);
}

.photoverify__card {
  width: 100%;
  max-width: 360px;
  padding: 20px 18px 16px;
  border-radius: 20px;
  background: var(--paper, #FFFFFF);
  box-shadow: 0 18px 46px rgba(17, 24, 39, .24);
}

.photoverify__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.photoverify__desc {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2, #4B5563);
  text-align: center;
}

.photoverify__fail {
  margin: 0 0 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 107, .1);
  border: 1px solid rgba(255, 107, 107, .28);
}

.photoverify__fail-title {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 700;
  color: #B91C1C;
}

.photoverify__fail-howto {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #7F1D1D;
}

.photoverify__tip {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-3, #9CA3AF);
  text-align: center;
}

/* 拍照验证：分步指引 */
.photoverify__fail-lead {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  color: #7F1D1D;
}

.photoverify__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photoverify__step {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.photoverify__num {
  flex: none;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 28, 28, .12);
  color: #B91C1C;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}

.photoverify__step-text {
  font-size: 12px;
  line-height: 1.6;
  color: #7F1D1D;
}

.photoverify__step-text strong {
  font-weight: 700;
}

/* ============================================================
   44. 方向罗盘（首页主交互，对齐鸿蒙 DirectionDial）
   ============================================================ */

.dial-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 10px;
}

.dial {
  position: relative;
  width: var(--dial-size, 236px);
  height: var(--dial-size, 236px);
  flex: none;
}

/* 旋转层：跟着手机朝向转，「北」始终指向真实北方 */
.dial__rotor {
  position: absolute;
  inset: 0;
  transition: transform .12s linear;
  will-change: transform;
}

.dial__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(17, 24, 39, .18);
}

.dial__ring-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 62%;
  border-radius: 50%;
  /* 卡片本身是浅紫底，内圈用半透明白而不是实白，否则会变成一个抢眼的白盘 */
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .6);
}

/* 罗盘刻度 */
.dial__tick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  border-radius: 1px;
  background: rgba(17, 24, 39, .18);
  transform-origin: 50% 0;
}

.dial__tick--major {
  height: 9px;
  background: rgba(91, 108, 255, .35);
}

/* 四向按钮 */
.dial__dir {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 1px solid rgba(91, 108, 255, .3);
  background: #FFFFFF;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
  cursor: pointer;
  padding: 0;
  /* 摆到圆周上：先转到方位角，再沿半径推出去 */
  transform: rotate(var(--dial-angle)) translateY(calc(var(--dial-size) / -2 + 26px)) rotate(calc(-1 * var(--dial-angle)));
  transition: box-shadow .15s ease;
}

.dial__dir:active {
  box-shadow: 0 3px 12px rgba(91, 108, 255, .2);
}

.dial__dir:active .dial__dir-inner {
  transform: rotate(var(--dial-counter, 0deg)) scale(.91);
}

/* 内部反向旋转：按钮位置跟着罗盘转，但文字永远正着 */
.dial__dir-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  height: 100%;
  transform: rotate(var(--dial-counter, 0deg));
  transition: transform .12s linear;
}

.dial__dir-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--amber, #5B6CFF);
  line-height: 1;
}


/* 中心按钮 */
.dial__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .15);
  background: var(--amber-deep, #3D4FE0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 0;
  transition: transform .12s ease;
}

.dial__center:active { transform: translate(-50%, -50%) scale(.94); }

.dial__center--resume { background: var(--teal, #14B8A6); }

.dial__center-title {
  font-size: 14px;
  font-weight: 650;
  color: #FFFFFF;
  line-height: 1.15;
}

.dial__center-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, .82);
  line-height: 1;
}

/* 状态提示 */
.dial__statusrow {
  display: flex;
  justify-content: center;
  margin: 2px 0 2px;
}

.dial__status {
  font-size: 10.5px;
  color: var(--amber, #5B6CFF);
}

.dial__status--dim { color: var(--ink-3, #9CA3AF); }

/* 设置页方向标签 */
.sheet__dirtag {
  display: inline-block;
  margin: 0 auto 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 108, 255, .1);
  color: var(--amber-deep, #3D4FE0);
  font-size: 11px;
  font-weight: 650;
}
