/* ============================================================
   金陵万象城 · 单商场活动宣传 H5
   复用「万象灯火」框架：深蓝夜空 + 单一金色 + 收藏大卡牌
   移动端优先，桌面窄栏居中；仅金陵万象城一张大卡牌
   ============================================================ */
:root {
  color-scheme: dark;
  --bg-deep: #05081a;
  --bg: #080c1e;
  --bg-raise: #0d1330;
  --ink: #f4f2ff;
  --ink-2: #b9b6d9;
  --ink-3: #8f8cae;
  --line: rgba(233, 231, 255, 0.14);
  --line-strong: rgba(233, 231, 255, 0.26);
  --gold: #ffc94d;
  --gold-light: #ffd27a;
  --gold-soft: rgba(255, 201, 77, 0.12);
  --gold-line: rgba(255, 201, 77, 0.35);
  --on-gold: #2a1b00;
  --r: 16px;
  --r-lg: 20px;
  --r-pill: 999px;
  --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --shadow-2: 0 18px 44px rgba(0, 0, 0, 0.35);
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: var(--gold); text-decoration: none; }
::selection { background: rgba(255, 201, 77, 0.3); color: #fff8e6; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ---------- 环境背景 ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg-deep); }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.ambient-glow-a { width: 420px; height: 420px; top: -120px; right: -120px; background: radial-gradient(circle, rgba(40, 56, 102, .7), transparent 68%); }
.ambient-glow-b { width: 360px; height: 360px; bottom: 8%; left: -140px; background: radial-gradient(circle, rgba(255, 201, 77, .08), transparent 66%); }
.ambient-runway {
  position: absolute; left: 50%; top: 34%; width: 130%; height: 300px;
  transform: translateX(-50%) perspective(560px) rotateX(58deg);
  background: repeating-linear-gradient(90deg, transparent 0 120px, rgba(255, 201, 77, .05) 121px 122px, transparent 123px 240px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.ambient-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 26, .55) 0%, rgba(5, 8, 26, .3) 34%, rgba(5, 8, 26, .72) 72%, var(--bg-deep) 100%);
}

.app { position: relative; z-index: 1; max-width: 430px; margin: 0 auto; min-height: 100dvh; padding: 0 18px; }

/* ---------- 多视图（首页 / 介绍页，沿用原 H5 的 view 切换范式） ---------- */
.view { min-height: 100dvh; }
.view[hidden] { display: none; }
.view-about { padding-bottom: 24px; }

/* ---------- 登录授权确认页（仿一点万象授权确认版式） ---------- */
.view-login { display: flex; flex-direction: column; min-height: 100dvh; padding-top: calc(8px + env(safe-area-inset-top)); }
.login-card { flex: 1; display: flex; flex-direction: column; padding: 14px 2px 18px; }
.login-title { margin: 6px 0 0; text-align: center; font-size: 17px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }

.login-partners { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 34px 0 0; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 104px; }
.partner-seal {
  width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 201, 77, .6); border-radius: 10px; background: rgba(255, 201, 77, .08);
}
.partner-seal b { font-size: 12px; font-weight: 600; line-height: 1.15; color: var(--gold-light); }
.partner-logo { display: flex; align-items: center; gap: 2px; height: 44px; }
.partner-logo i {
  width: 21px; height: 26px; display: grid; place-items: center;
  border-radius: 5px; color: #fff; font-size: 13px; font-weight: 700; font-style: normal; letter-spacing: 0;
}
.partner-logo .pl { background: #f04438; }
.partner-logo .pi { background: #f79009; }
.partner-logo .px { background: #12b76a; }
.partner-logo .pc { background: #2e90fa; }
.partner-name { font-size: 12px; color: var(--ink-2); letter-spacing: .05em; }
.login-swap { font-size: 20px; color: var(--ink-3); align-self: center; }

.login-request { margin: 28px 12px 0; text-align: center; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.login-request strong { color: var(--ink); font-weight: 500; }
.login-request em { font-style: normal; color: var(--gold-light); }

.login-divider { margin: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
.login-scope-title { margin: 22px 2px 0; font-size: 14px; color: var(--ink); }
.login-scopes { margin: 14px 2px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.login-scopes li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.login-scopes li i { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #ff5a3c; }

.login-tip { margin: 18px 2px 0; padding: 10px 13px; border-radius: var(--r); background: rgba(255, 90, 60, .1); border: 1px solid rgba(255, 90, 60, .3); color: #ffb4a6; font-size: 12.5px; line-height: 1.6; text-align: center; }

.login-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 28px; }
.login-btn {
  flex: 1; min-height: 50px; border: 0; border-radius: 26px; font-size: 16px; font-weight: 500;
  cursor: pointer; transition: transform .16s, filter .2s;
}
.login-btn:active { transform: scale(.97); }
.login-btn-reject { background: rgba(233, 231, 255, .12); color: var(--ink-2); }
.login-btn-reject:active { background: rgba(233, 231, 255, .18); }
.login-btn-agree { background: linear-gradient(135deg, #ff5a3c, #ff7a45); color: #fff; box-shadow: 0 12px 26px rgba(255, 90, 60, .28); }
.login-btn-agree:active { filter: brightness(1.06); }

.login-policy { margin: 16px 6px 0; text-align: center; font-size: 10px; line-height: 1.7; color: var(--ink-3); }

/* 首页右侧操作区：状态标签 + 退出登录 */
.home-side { display: flex; align-items: center; gap: 10px; }
.logout-btn {
  flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); background: rgba(13, 19, 48, .5); color: var(--ink-2);
  font-size: 12px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.logout-btn:active { color: var(--ink); border-color: var(--gold-line); background: var(--gold-soft); }
.user-line { margin: 8px 0 0; font-size: 12px; color: var(--gold-light); letter-spacing: .04em; }
.geo-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(8, 13, 30, .68);
}
.geo-banner[hidden] { display: none !important; }
.geo-pin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  color: var(--gold-light);
  background: var(--gold-soft);
}
.geo-pin svg { width: 15px; height: 15px; }
.geo-copy { min-width: 0; flex: 1; }
.geo-copy strong { display: block; color: var(--ink); font-size: 10px; font-weight: 500; }
.geo-copy span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 8.5px; line-height: 1.4; }
.geo-retry {
  flex: none;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  font-size: 8.5px;
}
.geo-banner.is-in { border-color: rgba(120, 210, 150, .28); }
.geo-banner.is-in .geo-pin { color: #9ce0b0; background: rgba(40, 140, 80, .1); }
.geo-banner.is-out, .geo-banner.is-error { border-color: rgba(255, 130, 100, .28); }
.geo-banner.is-out .geo-pin, .geo-banner.is-error .geo-pin { color: #ffb09a; background: rgba(160, 50, 30, .14); }
.geo-banner.is-loading .geo-pin { animation: geo-pulse 1.6s ease-in-out infinite; }
@keyframes geo-pulse { 50% { opacity: .45; } }

/* 首页：大卡牌主页面，内容一屏内纵向排布，不做长滚动 */
.view-home { display: flex; flex-direction: column; min-height: 100dvh; padding-bottom: 16px; }
.view-home .greeting { padding: 8px 0 10px; }
.view-home .collection { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; }

/* ---------- 顶部品牌栏 ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 0 6px;
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-seal {
  width: 27px; height: 31px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 201, 77, .6); border-radius: 3px; background: rgba(255, 201, 77, .08);
}
.brand-seal b { font-size: 9px; font-weight: 600; line-height: 1.1; color: var(--gold-light); letter-spacing: .05em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; min-width: 0; }
.brand-text strong { font-size: 19px; font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.brand-text > span { font-size: 9px; color: var(--ink-2); letter-spacing: .16em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--gold-line); border-radius: var(--r-pill); background: rgba(10, 15, 35, .62);
  color: var(--gold-light); font-size: 12px; white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

/* ---------- 问候 ---------- */
.greeting { padding: 14px 0 12px; }
.greeting-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 10px; letter-spacing: .22em; color: var(--ink-2); }
.greeting-eyebrow i { width: 18px; height: 1px; background: var(--gold); }
.greeting h1 { margin: 0 0 6px; font-size: 25px; font-weight: 500; line-height: 1.32; letter-spacing: .02em; }
.greeting h1 em { font-style: normal; color: var(--gold-light); }
.greeting p { margin: 0; color: var(--ink-2); font-size: 13px; max-width: 34ch; line-height: 1.6; }

/* ---------- 收藏标题 ---------- */
.collection { margin: 2px 0 10px; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 8px; }
.collection-heading h2 { margin: 0; font-size: 16px; font-weight: 500; color: #f5eee0; letter-spacing: .04em; }
.collection-index { font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.collection-index strong { font-size: 14px; font-weight: 600; color: var(--gold-light); letter-spacing: .06em; }

/* ---------- 首页大卡牌（单张） ---------- */
.deck { position: relative; padding: 12px 20px 14px; perspective: 1100px; }
.deck-back {
  position: absolute; inset: 18px 12px 0; border-radius: 19px;
  background: #0d1330; transform: translate(10px, 10px) rotate(2.4deg);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .4);
}
.deck-card {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; font: inherit; border: 0; padding: 0; text-align: left; cursor: pointer;
  border-radius: 19px; background: #10182c; color: #fff8e9;
  height: clamp(392px, 55svh, 452px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, .4);
  transition: transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .2s;
}
.deck-card:hover { transform: translateY(-2px); box-shadow: 0 26px 48px rgba(0, 0, 0, .48); }
.deck-card:active { transform: scale(.985); }
.deck-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.deck-card::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(237, 213, 165, .74), inset 0 1px 1px rgba(255, 251, 231, .7), inset 0 -1px 2px rgba(235, 191, 112, .32);
}
.deck-art, .deck-shade { position: absolute; inset: 0; pointer-events: none; }
.deck-art { background-size: cover; background-position: center; transform: scale(1.015); filter: brightness(.8) saturate(.78) contrast(1.05); }
.deck-shade { background:
  radial-gradient(120% 55% at 50% 100%, rgba(255, 201, 77, .1), transparent 62%),
  linear-gradient(180deg, rgba(5, 10, 22, .74), rgba(5, 10, 22, .18) 24%, rgba(5, 10, 22, .12) 40%, rgba(5, 10, 22, .78) 66%, rgba(5, 10, 22, .98) 100%); }
.deck-frame { position: absolute; z-index: 2; inset: 10px; border: 1px solid rgba(235, 209, 157, .38); border-radius: 11px; pointer-events: none; }
.deck-frame::before, .deck-frame::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: #e3c38a; border-style: solid; }
.deck-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-radius: 10px 0 0; }
.deck-frame::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 10px; }

.deck-top { position: absolute; inset: 22px 22px auto; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.deck-mark { display: flex; flex-direction: column; font-size: 12px; font-weight: 500; letter-spacing: .17em; color: #f2dec0; line-height: 1.5; text-shadow: 0 1px 5px #000; }
.deck-mark > small { font-size: 9px; letter-spacing: .12em; font-weight: 400; opacity: .87; }
.deck-state { padding: 4px 9px; border: 1px solid rgba(235, 209, 157, .5); border-radius: 4px; font-size: 10px; color: #eee4cf; background: rgba(5, 10, 22, .72); line-height: 1.5; color: #f3d38f; }

.deck-number { position: absolute; z-index: 2; top: 84px; right: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #ead2a4; }
.deck-number > span { display: grid; place-items: center; width: 30px; height: 37px; border: 1px solid rgba(235, 209, 157, .6); border-radius: 12px 12px 4px 4px; background: rgba(5, 10, 22, .64); font-size: 16px; font-weight: 500; }
.deck-number small { writing-mode: vertical-rl; font-size: 8px; letter-spacing: .18em; text-shadow: 0 1px 5px #000; }

.deck-copy { position: absolute; z-index: 2; bottom: 62px; left: 24px; right: 24px; text-shadow: 0 2px 10px rgba(0, 0, 0, .65); }
.deck-place { font-size: 10px; color: #e0d3ba; margin: 0 0 10px; letter-spacing: .08em; }
.deck-copy h3 { font-size: 32px; font-weight: 500; line-height: 1.22; letter-spacing: .075em; margin: 0 0 10px; color: #fff8ed; }
.deck-caption { font-size: 11px; letter-spacing: .08em; color: #e5d5b8; margin: 0; line-height: 1.6; }

.deck-bottom { position: absolute; z-index: 2; bottom: 19px; left: 24px; right: 24px; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(235, 209, 157, .32); font-size: 10px; }
.deck-footnote { color: #d6d1c7; }
.deck-link { color: #f0ce89; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* ---------- 主按钮（介绍页结尾 CTA 复用） ---------- */
.btn-primary {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: transform .16s, background .2s;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:active { transform: scale(.97); background: var(--gold-light); }
.card-note { margin: 12px 2px 0; color: var(--ink-3); font-size: 10.5px; line-height: 1.7; text-align: center; }

/* ---------- 介绍页顶栏 ---------- */
.about-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  background: linear-gradient(180deg, rgba(5, 8, 26, .94), rgba(5, 8, 26, .78) 80%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.about-back {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(13, 19, 48, .6);
  color: var(--ink); cursor: pointer; transition: transform .15s, border-color .2s, background .2s;
}
.about-back:active { transform: scale(.94); border-color: var(--gold-line); background: var(--gold-soft); }
.about-back svg { width: 18px; height: 18px; }
.about-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.about-title strong { font-size: 16px; font-weight: 600; letter-spacing: .06em; }
.about-title span { font-size: 9px; color: var(--ink-3); letter-spacing: .16em; }
.about-chip { min-height: 32px; padding: 0 11px; font-size: 11px; }

/* ---------- 介绍页头图横幅 ---------- */
.about-hero { position: relative; margin: 6px 0 0; border: 1px solid rgba(226, 202, 158, .28); border-radius: var(--r-lg); overflow: hidden; }
.about-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 38%; filter: brightness(.7) saturate(.72) contrast(1.04); }
.about-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 20, .5), rgba(5, 9, 20, .86)), linear-gradient(90deg, rgba(5, 9, 20, .85), rgba(5, 9, 20, .2)); }
.about-hero-body { position: relative; z-index: 1; padding: 44px 20px 26px; }
.about-hero-body h2 { margin: 0; font-size: 27px; font-weight: 500; line-height: 1.32; letter-spacing: .03em; }

/* ---------- 章节通用 ---------- */
.chapters { display: block; }
.chapter { padding: 34px 2px 8px; border-top: 1px solid var(--line); margin-top: 22px; }
.chapter-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--ink-3); font-size: 10px; letter-spacing: .22em; }
.chapter-label span:first-child { color: var(--gold); }
.chapter-label::after { content: ""; width: 44px; height: 1px; background: var(--line); }
.section-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--gold); font-size: 10px; letter-spacing: .18em; }
.section-kicker::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.chapter-head h2 { margin: 0 0 12px; font-size: 25px; font-weight: 500; line-height: 1.4; letter-spacing: .03em; }
.chapter-head > p:last-child { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.95; max-width: 40ch; }

.figure { margin: 20px 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #060a18; box-shadow: var(--shadow-2); }
.figure-img { position: relative; width: 100%; aspect-ratio: 16 / 10; background-size: cover; background-position: center 38%; filter: brightness(.92) saturate(.78) contrast(1.04); }
.figure-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(6, 10, 24, .82)); pointer-events: none; }
.figure-wide .figure-img { aspect-ratio: 16 / 10; }
.figure figcaption { padding: 10px 13px; font-size: 10px; color: var(--ink-3); letter-spacing: .06em; background: #0a1024; border-top: 1px solid var(--line); }

/* 跑道路线示意 */
.route { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 24px 2px 0; padding: 18px 4px 6px; border-block: 1px solid var(--line); background: linear-gradient(160deg, transparent, rgba(255, 201, 77, .05)); }
.route-line { position: absolute; left: 18%; right: 18%; top: 31px; height: 1px; background: linear-gradient(90deg, rgba(255, 201, 77, .25), var(--gold), rgba(255, 201, 77, .38)); }
.route-node { position: relative; z-index: 1; display: flex; flex: 0 1 44%; flex-direction: column; gap: 5px; }
.route-node.is-end { align-items: flex-end; text-align: right; }
.route-dot { width: 13px; height: 13px; margin: 12px 0 8px; border: 1px solid var(--gold-light); background: var(--bg-deep); }
.route-dot.is-origin { border-radius: 50%; }
.route-dot.is-dest { width: 17px; height: 17px; border: 1px solid var(--gold-light); transform: rotate(45deg); background: #b89b60; box-shadow: 0 0 18px rgba(255, 201, 77, .46); }
.route-node small { color: var(--ink-3); font-size: 10px; line-height: 1.5; }
.route-node strong { color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .06em; }

/* 建筑灵感标签 */
.notes { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.notes li { position: relative; padding-left: 12px; color: var(--gold-light); font-size: 12px; letter-spacing: .06em; }
.notes li::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7; transform: translateY(-50%); }

/* 亮点数据 */
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.hl-item { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(120deg, rgba(27, 37, 64, .6), rgba(11, 17, 36, .5)); }
.hl-num { display: block; font-size: 24px; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); }
.hl-num em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-2); margin-left: 3px; }
.hl-item p { margin: 8px 0 0; color: var(--ink-2); font-size: 11.5px; line-height: 1.7; }
.facts-note { margin: 14px 2px 0; color: var(--ink-3); font-size: 10px; line-height: 1.7; }

/* 到访卡片 */
.visit-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.visit-card { padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(120deg, rgba(27, 37, 64, .6), rgba(11, 17, 36, .5)); }
.visit-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border: 1px solid var(--gold-line); border-radius: var(--r-pill); color: var(--gold-light); font-size: 10px; letter-spacing: .12em; }
.visit-card h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 500; letter-spacing: .03em; }
.visit-card p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.85; }

/* 结尾 CTA */
.closing { position: relative; min-height: 360px; margin-top: 34px; overflow: hidden; border: 1px solid rgba(226, 202, 158, .3); border-radius: var(--r-lg); }
.closing::before { content: ""; position: absolute; inset: 0; background: url("assets/malls/aerial.jpg") center 40% / cover; filter: saturate(.55) brightness(.72); }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 9, 20, .72), rgba(5, 9, 20, .82) 60%, rgba(5, 9, 20, .95)), linear-gradient(90deg, rgba(5, 9, 20, .9), rgba(5, 9, 20, .25)); }
.closing-body { position: relative; z-index: 1; padding: 40px 22px; }
.closing-body h2 { margin: 0 0 12px; font-size: 32px; font-weight: 500; line-height: 1.25; letter-spacing: .03em; }
.closing-body > p:not(.section-kicker) { margin: 0 0 22px; color: var(--ink-2); font-size: 13px; max-width: 34ch; }
.closing-body .btn-primary { min-height: 48px; padding: 0 22px; }

/* 页脚 */
.footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); }
.footer-brand { font-size: 13px; color: var(--ink-2); letter-spacing: .08em; margin-bottom: 10px; }
.footer p { margin: 6px 0; font-size: 10px; line-height: 1.75; }
.footer-year { margin-top: 12px; opacity: .8; }

/* ---------- 进入淡入 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2, .8, .3, 1), transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (min-width: 520px) {
  .app { max-width: 460px; }
  .greeting h1 { font-size: 30px; }
}
@media (max-height: 720px) {
  .view-home .greeting { padding: 4px 0 8px; }
  .view-home .greeting-eyebrow { display: none; }
  .view-home .greeting h1 { font-size: 23px; margin-bottom: 4px; }
  .view-home .greeting p { display: none; }
  .deck { padding-block: 8px; }
  .deck-card { height: clamp(336px, 50svh, 400px); }
  .deck-copy { bottom: 52px; }
  .deck-copy h3 { font-size: 27px; }
}
@media (max-width: 380px) {
  .app { padding-inline: 14px; }
  .deck { padding-inline: 18px; }
  .deck-copy { left: 20px; right: 20px; bottom: 56px; }
  .deck-copy h3 { font-size: 27px; }
  .deck-caption { font-size: 10px; line-height: 1.55; }
  .deck-bottom { left: 20px; right: 20px; }
  .hl-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary, .deck-card { transition: none; }
}

/* ============================================================
   纵向活动列表 / 活动详情 / 照片打卡
   ============================================================ */
.view-home .collection {
  flex: 0 0 auto;
  justify-content: flex-start;
}
.deck-card {
  height: clamp(310px, 39svh, 380px);
}
.activity-section {
  margin: 8px 0 4px;
}
.activity-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.activity-head .section-kicker {
  margin-bottom: 5px;
}
.activity-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
}
.streak-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 0 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(255, 201, 77, .07), transparent 55%),
    rgba(8, 13, 30, .68);
}
.streak-strip[hidden] { display: none !important; }
.streak-strip.is-hit { border-color: var(--gold-line); }
.streak-main { min-width: 0; }
.streak-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-light);
  font-size: 7.5px;
  letter-spacing: .22em;
}
.streak-main strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.streak-main strong b {
  margin: 0 2px;
  color: var(--gold-2);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.streak-main p {
  margin: 4px 0 0;
  color: var(--ink-3);
  font-size: 8.5px;
  line-height: 1.45;
}
.streak-stats {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-3);
  font-size: 8px;
  text-align: right;
}
.streak-stats b {
  margin-left: 3px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.activity-hint {
  padding-bottom: 2px;
  color: var(--ink-3);
  font-size: 9px;
  white-space: nowrap;
}
.event-rail {
  position: relative;
  margin-top: 8px;
}
.event-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(255, 201, 77, .3) 0 1px, transparent 1px 18px);
  opacity: .55;
  pointer-events: none;
}
.event-track {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 9px 0 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0;
  scrollbar-width: none;
}
.event-track::-webkit-scrollbar { display: none; }
.event-ticket {
  position: relative;
  flex: 0 0 244px;
  min-height: 102px;
  padding: 11px 12px 11px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(26, 35, 67, .72), rgba(8, 13, 32, .9)),
    rgba(8, 13, 32, .82);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  overflow: hidden;
  transition: border-color .2s, background .2s, transform .16s;
}
.event-ticket::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 201, 77, .45);
}
.event-ticket::after {
  content: "";
  position: absolute;
  top: 13px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 100% 50%, rgba(5, 8, 26, .95) 0 5px, transparent 5.5px);
  pointer-events: none;
}
.event-ticket:hover { border-color: var(--gold-line); transform: translateY(-1px); }
.event-ticket:active { transform: scale(.985); }
.event-ticket.is-live::before { background: var(--gold); box-shadow: 0 0 10px rgba(255, 201, 77, .65); }
.event-ticket.is-ended { opacity: .56; }
.event-ticket-top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.event-date {
  color: var(--gold-light);
  font-size: 19px;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.event-weekday { color: var(--ink-3); font-size: 9px; }
.event-status {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.3;
  white-space: nowrap;
}
.event-ticket.is-upcoming .event-status { border-color: var(--gold-line); color: var(--gold-light); }
.event-ticket.is-live .event-status { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.event-ticket h3 {
  margin: 8px 0 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--ink);
}
.event-where {
  display: block;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-ticket-foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: rgba(255, 201, 77, .8);
  font-size: 8.5px;
  letter-spacing: .05em;
}
.event-ticket-foot::after { content: "→"; font-size: 11px; }

/* ---------- 活动详情页 ---------- */
.view-event {
  padding-bottom: calc(30px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
.event-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  background: linear-gradient(180deg, rgba(5, 8, 26, .97), rgba(5, 8, 26, .84) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.event-topbar .about-back { flex: none; }
.event-topbar-title {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.event-topbar-title strong { font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.event-topbar-title span { color: var(--ink-3); font-size: 8px; letter-spacing: .16em; }
.event-topbar .status-chip {
  margin-left: auto;
  min-height: 30px;
  padding: 0 9px;
  font-size: 10px;
  gap: 5px;
}
.event-topbar .status-dot { width: 5px; height: 5px; }
.event-hero {
  position: relative;
  height: 258px;
  margin: 2px -18px 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 20px 20px;
  background: var(--bg-raise);
}
.event-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.72) saturate(.8) contrast(1.04);
  transform: scale(1.015);
}
.event-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 26, .18), rgba(5, 8, 26, .14) 30%, rgba(5, 8, 26, .88) 78%, #080c1e 100%),
    radial-gradient(100% 65% at 20% 100%, rgba(255, 201, 77, .14), transparent 65%);
}
.event-hero-body {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
}
.event-hero-kicker {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: .2em;
}
.event-hero h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff8ed;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.event-hero-summary {
  margin: 6px 0 0;
  max-width: 32ch;
  color: rgba(238, 231, 216, .82);
  font-size: 10.5px;
  line-height: 1.55;
}
.event-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: rgba(238, 231, 216, .9);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.event-hero-place {
  margin: 5px 0 0;
  color: var(--gold-light);
  font-size: 9.5px;
  letter-spacing: .03em;
}
.event-content { padding-top: 12px; }
.event-content-long { padding-top: 8px; }
.event-long {
  margin: 0 -18px;
  background: #05081a;
}
.event-long img {
  display: block;
  width: 100%;
  height: auto;
}
.event-long-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  margin: 0 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--ink-3);
  font-size: 11px;
}
.event-long-empty[hidden],
.event-long img[hidden] { display: none !important; }
.event-content-long .checkin-panel { margin-top: 12px; }
.event-panel {
  margin-top: 10px;
  padding: 17px 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 26, 53, .74), rgba(8, 13, 30, .82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.event-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.event-panel-head .section-kicker { margin: 0; font-size: 8.5px; }
.event-panel-no {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: .1em;
}
.event-panel-mark {
  color: var(--ink-3);
  font-size: 9px;
  letter-spacing: .08em;
}
.event-panel h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .02em;
}
.event-description {
  margin: 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.8;
}
.event-facts {
  margin: 15px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.event-facts > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(233, 231, 255, .07);
}
.event-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.event-facts dt { color: var(--ink-3); font-size: 10px; }
.event-facts dd { margin: 0; color: var(--ink); font-size: 11.5px; line-height: 1.6; }
.event-hints, .event-tips {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.event-hints li, .event-tips li {
  position: relative;
  padding-left: 13px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.65;
}
.event-hints li::before, .event-tips li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--gold);
}
.event-hints li { color: rgba(255, 210, 122, .75); }

/* 打卡 */
.checkin-panel { overflow: hidden; }
.checkin-state {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-3);
  font-size: 8.5px;
  line-height: 1.35;
}
.checkin-state[data-state="pending"] { color: var(--gold-light); border-color: var(--gold-line); background: var(--gold-soft); }
.checkin-state[data-state="approved"] { color: #9ce0b0; border-color: rgba(120, 210, 150, .35); background: rgba(40, 140, 80, .1); }
.checkin-state[data-state="rejected"] { color: #ff9f95; border-color: rgba(255, 100, 90, .35); background: rgba(160, 30, 30, .1); }
.checkin-upload {
  width: 100%;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px 12px;
  border: 1px dashed rgba(255, 201, 77, .48);
  border-radius: 13px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 201, 77, .09), transparent 70%);
  color: var(--ink-2);
  cursor: pointer;
}
.checkin-upload:active { background-color: rgba(255, 201, 77, .06); }
.checkin-upload-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-light);
}
.checkin-upload-icon svg { width: 18px; height: 18px; }
.checkin-upload strong { color: var(--ink); font-size: 13.5px; font-weight: 500; }
.checkin-upload span { color: var(--ink-3); font-size: 9.5px; }
.checkin-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, .28);
}
.checkin-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.checkin-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(5, 8, 26, .65));
  pointer-events: none;
}
.checkin-photo-badge {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 9px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 201, 77, .35);
  border-radius: 4px;
  background: rgba(5, 8, 26, .7);
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: .06em;
}
.checkin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 9px;
}
.checkin-actions { display: flex; gap: 8px; margin-top: 10px; }
.checkin-retake {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(13, 19, 48, .5);
  color: var(--ink-2);
  font-size: 11px;
  cursor: pointer;
}
.checkin-retake:active { border-color: var(--gold-line); color: var(--gold-light); }
.checkin-note {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.6;
}
.checkin-note.is-alert { color: #ffb4a6; }
.event-footnote {
  margin: 17px 2px 0;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 380px) {
  .event-ticket { flex-basis: 230px; }
  .event-hero { height: 238px; }
  .event-hero h1 { font-size: 24px; }
  .event-panel { padding-inline: 13px; }
}
@media (max-height: 720px) {
  .deck-card { height: 300px; }
  .view-home .greeting { padding-bottom: 4px; }
  .activity-section { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-ticket, .event-ticket:hover { transition: none; transform: none; }
}

/* 首页把活动列表收进首屏 */
.view-home .card-note { display: none; }
@media (max-height: 720px) {
  .deck-card { height: 278px; }
  .activity-section { margin-top: 3px; }
  .activity-head .section-kicker { margin-bottom: 3px; }
  .event-track { padding-top: 7px; padding-bottom: 2px; }
}
.status-chip.is-live {
  border-color: var(--gold);
  background: rgba(255, 201, 77, .12);
  box-shadow: 0 0 18px rgba(255, 201, 77, .12);
}
.status-chip.is-ended { opacity: .55; }

@media (max-height: 720px) {
  .view-home { padding-bottom: 2px; }
}

/* 活动改为纵向列表 */
.activity-head { margin-bottom: 0; }
.event-list {
  margin-top: 9px;
  border-top: 1px solid var(--line);
}
.event-row {
  width: 100%;
  min-height: 80px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.event-row:hover { background: rgba(255, 201, 77, .035); }
.event-row:active { background: rgba(255, 201, 77, .07); }
.event-row:last-child { border-bottom: 0; }
.event-date-col { display: flex; flex-direction: column; gap: 2px; align-self: start; padding-top: 2px; }
.event-date { color: var(--gold-light); font-size: 20px; line-height: 1.1; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.event-weekday { color: var(--ink-3); font-size: 8px; letter-spacing: .08em; }
.event-row-main { min-width: 0; display: flex; flex-direction: column; }
.event-row-main strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-row-main .event-where {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.45;
}
.event-row-foot {
  margin-top: 4px;
  color: rgba(255, 201, 77, .8);
  font-size: 8.5px;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: .03em;
}
.event-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.event-row .event-status { margin-left: 0; }
.event-arrow { color: rgba(255, 201, 77, .65); font-size: 12px; line-height: 1; }
.event-row.is-live .event-date { color: var(--gold); }
.event-row.is-live .event-arrow { color: var(--gold); }
.event-row.is-ended { opacity: .55; }
.event-row.is-ended .event-arrow { display: none; }
@media (max-width: 380px) {
  .event-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 9px; }
  .event-date { font-size: 18px; }
  .event-row-main strong { font-size: 13.5px; }
  .event-row-main .event-where { font-size: 8.5px; }
}


/* 活动行：查看详情 + 立即打卡双操作 */
.event-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 92px;
  padding: 10px 2px;
}
.event-row:hover { background: rgba(255, 201, 77, .035); }
.event-row-open {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.event-row-main { min-width: 0; display: flex; flex-direction: column; }
.event-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.event-row-meta .event-status { flex: none; }
.event-row-foot { margin: 0; }
.event-quick {
  flex: none;
  width: 66px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border: 1px solid var(--gold-line);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 201, 77, .15), rgba(255, 201, 77, .045)),
    rgba(8, 13, 30, .5);
  color: var(--gold-light);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .16s;
}
.event-quick svg { width: 18px; height: 18px; }
.event-quick span { white-space: nowrap; }
.event-quick:hover { border-color: var(--gold); background-color: rgba(255, 201, 77, .08); }
.event-quick:active { transform: scale(.96); }
.event-quick.is-done {
  border-color: var(--line);
  background: rgba(13, 19, 48, .35);
  color: var(--ink-3);
}
.event-quick:disabled { opacity: .38; cursor: default; }
.event-row.is-live .event-quick { border-color: var(--gold); }
.event-geo-hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -5px 0 3px 64px;
  padding-top: 1px;
  color: #ffb09a;
  font-size: 8.5px;
  line-height: 1.4;
}
.event-geo-hint span { min-width: 0; }
.event-geo-hint button {
  flex: none;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(255, 130, 100, .26);
  border-radius: 5px;
  background: transparent;
  color: #ffb09a;
  font-size: 8px;
}
.quick-toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100vw - 48px);
  padding: 9px 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  background: rgba(8, 13, 30, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
  color: var(--gold-light);
  font-size: 10.5px;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.quick-toast[hidden] { display: none; }
@media (max-width: 380px) {
  .event-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
  .event-row-open { grid-template-columns: 48px minmax(0, 1fr); gap: 9px; }
  .event-quick { width: 60px; min-height: 52px; }
  .event-quick svg { width: 17px; height: 17px; }
  .event-quick span { font-size: 8.5px; }
}

.quick-photo-input {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 活动详情中的打卡只读；没有记录时只提示，不提供上传入口 */
.checkin-empty {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 16px;
  border: 1px dashed rgba(233, 231, 255, .2);
  border-radius: 13px;
  background: rgba(7, 12, 29, .28);
  text-align: center;
}
.checkin-empty-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-3);
}
.checkin-empty-icon svg { width: 18px; height: 18px; }
.checkin-empty strong { color: var(--ink); font-size: 14px; font-weight: 500; }
.checkin-empty p { margin: 2px 0 0; color: var(--ink-3); font-size: 9.5px; line-height: 1.65; }
.checkin-note[hidden] { display: none; }

/* 审核通过后的奖励 */
.checkin-reward {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 9px;
  align-items: center;
  margin-top: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 201, 77, .28);
  border-radius: 10px;
  background: rgba(255, 201, 77, .06);
}
.checkin-reward-label {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 8px;
  letter-spacing: .1em;
}
.checkin-reward strong { color: var(--gold-light); font-size: 12px; font-weight: 500; }
.checkin-reward-code {
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .1em;
}
.checkin-reward-state {
  color: var(--ink-2);
  font-size: 9px;
  text-align: right;
}
.checkin-reward.is-failed { border-color: rgba(255, 100, 90, .28); background: rgba(160, 30, 30, .07); }
.checkin-reward.is-failed strong { color: #ffb4a6; }
