:root {
  --ink: #15251f;
  --muted: #6e786f;
  --paper: #f4f0e8;
  --paper-deep: #e9e2d6;
  --card: #fffdf8;
  --forest: #173f35;
  --forest-2: #285d4d;
  --sage: #86a190;
  --gold: #c58a3f;
  --gold-soft: #ead7b1;
  --danger: #a64935;
  --danger-soft: #f5ded6;
  --line: rgba(23, 63, 53, 0.12);
  --shadow: 0 16px 45px rgba(39, 48, 37, 0.1);
  --radius: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #d8ddd8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { background: #d8ddd8; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
}

button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.app-shell {
  min-height: 100dvh;
  padding-bottom: calc(92px + var(--safe-bottom));
  background:
    radial-gradient(circle at 95% 18%, rgba(197, 138, 63, 0.08), transparent 28%),
    var(--paper);
}

.topbar {
  height: calc(58px + var(--safe-top));
  padding: calc(10px + var(--safe-top)) 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 232, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 63, 53, 0.05);
}

.brand-lockup { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 6px 14px rgba(23, 63, 53, 0.2);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name { font-family: Georgia, "Noto Serif SC", serif; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; white-space: nowrap; }

.sync-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 11px;
}
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: #4f9d69; box-shadow: 0 0 0 4px rgba(79,157,105,.12); }
.sync-pill.offline .sync-dot { background: #bd7d32; box-shadow: 0 0 0 4px rgba(189,125,50,.12); }
.sync-pill.syncing .sync-dot { animation: pulse 1s infinite; }
.top-actions { display: flex; align-items: center; gap: 7px; }
.identity-pill { height: 31px; padding: 0 9px; display: flex; align-items: center; gap: 5px; border: 1px solid rgba(23,63,53,.08); border-radius: 999px; color: var(--danger); background: rgba(255,255,255,.65); font-size: 9px; font-weight: 750; cursor: pointer; }
.identity-pill.selected { color: var(--forest-2); }
.identity-pill svg { width: 13px; height: 13px; }
.identity-pill > img { width: 22px; height: 22px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(23,63,53,.12); }
.install-pill { width: 31px; height: 31px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--forest-2); background: rgba(255,255,255,.62); cursor: pointer; }
.install-pill svg { width: 16px; height: 16px; }

.page { animation: rise .38s ease both; }
.page-content { padding: 22px 18px 26px; }
.page-heading { margin-bottom: 22px; }
.page-kicker { margin: 0 0 7px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.page-title { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 31px; line-height: 1.16; letter-spacing: -.03em; }
.page-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.hero {
  --visual-image: url('/assets/zhangjiajie-hero.webp');
  min-height: 458px;
  margin: 0;
  padding: 24px 22px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(11, 27, 22, .16) 0%, rgba(11, 27, 22, .03) 35%, rgba(10, 29, 23, .84) 100%),
    var(--visual-image);
  background-size: cover;
  background-position: center 52%;
}
.visual-warm, .visual-soft, .visual-homestay { --visual-image: url('/assets/homestay-card.webp'); }
.visual-bus { --visual-image: url('/assets/coach-bus-card-v1.webp'); }
.visual-night { --visual-image: url('/assets/sleeper-train-card.webp'); }
.visual-tianmen { --visual-image: url('/assets/tianmen-card.webp'); }
.visual-mountain { --visual-image: url('/assets/zhangjiajie-hero.webp'); }
.visual-town { --visual-image: url('/assets/furong-card.webp'); }
.visual-return { --visual-image: url('/assets/highspeed-train-card.webp'); }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(12, 35, 28, .24));
  pointer-events: none;
}
.hero-top, .hero-bottom { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-day {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.hero-date { font: 12px/1.4 Georgia, serif; opacity: .9; text-align: right; }
.hero-eyebrow { margin: 0 0 8px; color: #ead7b1; font-size: 11px; letter-spacing: .2em; font-weight: 800; }
.hero-title { max-width: 310px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 40px; line-height: 1.08; letter-spacing: -.045em; text-shadow: 0 3px 20px rgba(0,0,0,.18); }
.hero-caption { margin: 10px 0 20px; color: rgba(255,255,255,.8); font-size: 12px; }
.hero-next {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(252, 249, 241, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  color: var(--ink);
}
.next-label { color: var(--gold); font-size: 10px; letter-spacing: .16em; font-weight: 900; }
.next-title { margin-top: 5px; font-size: 14px; font-weight: 750; }
.next-meta { margin-top: 3px; color: var(--muted); font-size: 11px; }
.next-time { position: relative; padding-left: 14px; border-left: 1px solid var(--line); font-family: Georgia, serif; font-size: 18px; font-weight: 700; white-space: nowrap; }
.next-time .moment-badge { position: absolute; top: -17px; right: -8px; }

.home-body { margin-top: -1px; padding: 20px 18px 0; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 23px; }
.quick-button {
  min-height: 72px;
  padding: 10px 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--card);
  box-shadow: 0 6px 20px rgba(40, 54, 45, .04);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}
.quick-button svg { width: 20px; height: 20px; color: var(--forest-2); }
.quick-button:active { transform: scale(.97); }

.section { margin: 0 0 25px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 2px 13px; }
.section-title { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 20px; letter-spacing: -.02em; }
.section-link { border: 0; background: none; color: var(--gold); font-size: 11px; font-weight: 750; cursor: pointer; }
.section-caption { color: var(--muted); font-size: 11px; }

.intensity-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 63, 53, .18);
}
.intensity-top { display: flex; justify-content: space-between; align-items: center; }
.intensity-label { color: rgba(255,255,255,.68); font-size: 11px; }
.intensity-dots { display: flex; gap: 5px; }
.intensity-dot { width: 19px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.18); }
.intensity-dot.on { background: var(--gold-soft); }
.weather-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font: 14px/1.7 Georgia, "Noto Serif SC", serif; }

.route-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.route-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 5px; }
.route-scroll::-webkit-scrollbar { display: none; }
.route-stop { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.route-chip { padding: 9px 11px; background: #edf0ea; border-radius: 999px; font-size: 11px; font-weight: 650; }
.route-arrow { color: var(--gold); font-size: 12px; }

.alert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--danger-soft);
  color: #702e21;
  border: 1px solid rgba(166, 73, 53, .11);
}
.alert-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: rgba(166,73,53,.1); }
.alert-icon svg { width: 18px; }
.alert-card strong { display: block; margin: 1px 0 4px; font-size: 13px; }
.alert-card p { margin: 0; font-size: 11px; line-height: 1.55; opacity: .82; }
.alert-stack { display: flex; flex-direction: column; gap: 9px; }

.mini-timeline { display: flex; flex-direction: column; }
.event-row { position: relative; display: grid; grid-template-columns: 53px 24px 1fr; gap: 9px; min-height: 76px; cursor: pointer; }
.event-row:not(:last-child)::after { content: ""; position: absolute; left: 64px; top: 31px; bottom: -4px; width: 1px; background: rgba(23,63,53,.14); }
.event-time { padding-top: 3px; text-align: right; color: var(--muted); font-size: 10px; line-height: 1.35; }
.event-node { position: relative; z-index: 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid rgba(23,63,53,.14); color: var(--forest-2); }
.event-node svg { width: 12px; height: 12px; }
.event-row.completed .event-node { color: #fff; border-color: var(--forest-2); background: var(--forest-2); }
.event-copy { padding: 1px 0 18px; }
.event-copy h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.35; }
.event-copy h3, .task-title, .ticket-date { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.event-row.completed .event-copy h3 { text-decoration: line-through; opacity: .55; }
.event-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.event-experience-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.event-experience-badge { min-height: 23px; padding: 4px 7px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(40,93,77,.13); border-radius: 99px; color: var(--forest-2); background: #edf3ee; font-size: 8px; font-weight: 800; }
.event-experience-badge.audio { color: #fff; border-color: rgba(23,63,53,.28); background: var(--forest); }
.event-experience-badge.food { color: #88572c; border-color: rgba(197,138,63,.2); background: #f8ecd8; }
.event-experience-badge svg { width: 11px; height: 11px; }
.event-note { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; padding: 4px 7px; border-radius: 7px; color: var(--forest-2); background: rgba(134,161,144,.14); font-size: 10px; }
.event-note svg { width: 11px; height: 11px; }
.moment-preview { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--gold); font-size: 9px; font-weight: 750; }
.moment-preview svg { width: 11px; height: 11px; }
.moment-badge { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border: 2px solid var(--card); border-radius: 999px; color: #fff; background: #d6533d; box-shadow: 0 4px 10px rgba(166,73,53,.25); font: 800 8px/1 Inter, sans-serif; text-decoration: none; }
.today-experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.today-experience-card { min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 19px; background: var(--card); text-align: left; cursor: pointer; }
.today-experience-card img { display: block; width: 100%; height: 105px; object-fit: cover; }
.today-experience-card > span { display: block; padding: 10px; }
.today-experience-card small { display: block; color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.today-experience-card b { display: block; min-height: 32px; margin-top: 4px; font: 13px/1.25 Georgia, "Noto Serif SC", serif; }
.today-experience-card em { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 8px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }

.planb {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7e2d8;
  border: 1px solid rgba(23,63,53,.06);
}
.planb summary { list-style: none; padding: 16px 17px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 13px; font-weight: 750; }
.planb summary::-webkit-details-marker { display: none; }
.planb summary svg { width: 18px; transition: transform .25s; }
.planb[open] summary svg { transform: rotate(45deg); }
.planb-list { margin: 0; padding: 0 19px 18px 35px; color: #4d584f; font-size: 11px; line-height: 1.75; }

.day-strip { display: flex; gap: 9px; margin: 0 -18px 20px; padding: 0 18px 5px; overflow-x: auto; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-pill { position: relative; min-width: 66px; padding: 11px 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: center; cursor: pointer; }
.day-pill > .moment-badge { position: absolute; z-index: 2; top: -7px; right: -6px; }
.day-pill.active { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: 0 10px 22px rgba(23,63,53,.18); }
.day-pill .weekday { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.day-pill.active .weekday { color: rgba(255,255,255,.65); }
.day-pill .daynum { display: block; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.day-pill .month { font-size: 9px; opacity: .7; }

.journey-cover { --visual-image: url('/assets/zhangjiajie-hero.webp'); position: relative; overflow: hidden; min-height: 190px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 28px; color: #fff; background-image: linear-gradient(180deg, transparent, rgba(8,28,21,.78)), var(--visual-image); background-size: cover; background-position: center 58%; box-shadow: var(--shadow); }
.journey-cover .cover-day { margin-bottom: 7px; color: var(--gold-soft); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.journey-cover h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 27px; }
.journey-cover p { margin: 6px 0 0; color: rgba(255,255,255,.75); font-size: 11px; }
.journey-schedule { margin-top: 24px; }

.experience-disclosure { margin: -4px 0 24px; padding: 13px 14px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid rgba(197,138,63,.22); border-radius: 17px; color: #70593b; background: #f5ead6; font-size: 10px; line-height: 1.65; }
.experience-disclosure svg { flex: 0 0 auto; width: 18px; margin-top: 1px; color: var(--gold); }
.experience-section { margin-top: 27px; }
.experience-section:first-of-type { margin-top: 0; }
.photo-guide-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; align-items: start; }
.food-guide-stack { display: flex; flex-direction: column; gap: 14px; }
.photo-guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: var(--card); box-shadow: 0 8px 24px rgba(39,48,37,.06); }
.photo-guide-card[open] { grid-column: 1 / -1; }
.photo-guide-card > summary { position: relative; min-height: 238px; display: block; overflow: hidden; list-style: none; cursor: pointer; }
.photo-guide-card:nth-child(4n + 2) > summary, .photo-guide-card:nth-child(4n + 3) > summary { min-height: 276px; }
.photo-guide-card[open] > summary { min-height: 330px; }
.photo-guide-card > summary::-webkit-details-marker, .food-details > summary::-webkit-details-marker { display: none; }
.photo-guide-card > summary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,21,.03) 25%, rgba(8,28,21,.87)); }
.photo-guide-card > summary img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.photo-guide-card[open] > summary img { transform: scale(1.025); }
.guide-real-badge { position: absolute; z-index: 3; top: 11px; left: 11px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; background: rgba(12,30,24,.48); backdrop-filter: blur(9px); font-size: 7px; font-weight: 800; letter-spacing: .05em; }
.photo-guide-overlay { position: absolute; z-index: 2; left: 12px; right: 42px; bottom: 13px; color: #fff; }
.guide-date { display: block; margin-bottom: 7px; color: var(--gold-soft); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.photo-guide-overlay strong { display: block; font: 16px/1.25 Georgia, "Noto Serif SC", serif; }
.photo-guide-overlay small { display: none; }
.photo-guide-card > summary.has-sample-preview .photo-guide-overlay { bottom: 88px; }
.guide-sample-preview { position: absolute; z-index: 3; left: 12px; right: 42px; bottom: 12px; height: 62px; padding: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; background: rgba(10,31,24,.45); }
.guide-sample-thumb { position: relative; display: block; min-width: 0; width: 100%; height: 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 8px; background: #e9e2d7; box-shadow: 0 4px 13px rgba(0,0,0,.2); }
.photo-guide-card > summary .guide-sample-preview img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; transition: none; }
.guide-sample-thumb small { position: absolute; right: 3px; bottom: 3px; min-width: 16px; padding: 2px 4px; border-radius: 99px; color: #fff; background: rgba(13,37,29,.7); font-size: 6px; font-weight: 850; text-align: center; }
.photo-guide-card[open] .guide-sample-preview { display: none; }
.photo-guide-card[open] .photo-guide-overlay { left: 18px; right: 56px; bottom: 18px; }
.photo-guide-card[open] > summary.has-sample-preview .photo-guide-overlay { bottom: 18px; }
.photo-guide-card[open] .photo-guide-overlay strong { font-size: 24px; }
.photo-guide-card[open] .photo-guide-overlay small { display: block; margin-top: 7px; color: rgba(255,255,255,.78); font-size: 10px; line-height: 1.55; }
.guide-expand { position: absolute; z-index: 3; right: 11px; bottom: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.photo-guide-card[open] .guide-expand { right: 17px; bottom: 18px; width: 29px; height: 29px; }
.guide-expand svg { width: 16px; transition: transform .25s; }
.photo-guide-card[open] .guide-expand svg { transform: rotate(45deg); }
.audio-section { scroll-margin-top: 16px; }
.audio-section-intro { margin: -4px 0 13px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.audio-guide-stack { display: grid; gap: 14px; }
.audio-guide-card { overflow: hidden; border: 1px solid rgba(23,63,53,.1); border-radius: 25px; background: #f8f4ec; box-shadow: 0 12px 30px rgba(39,48,37,.09); }
.audio-guide-cover { position: relative; min-height: 190px; overflow: hidden; color: #fff; background: var(--forest); }
.audio-guide-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audio-guide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,35,29,.08), rgba(10,35,29,.78)); }
.audio-guide-label { position: absolute; top: 14px; left: 15px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.32); border-radius: 99px; background: rgba(14,43,36,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.audio-guide-title { position: absolute; right: 17px; bottom: 16px; left: 17px; }
.audio-guide-title small { display: block; margin-bottom: 6px; color: #f0dcb6; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.audio-guide-title strong { display: block; max-width: 95%; font: 22px/1.18 Georgia, "Noto Serif SC", serif; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.audio-guide-card .guide-narration { margin: 0; border-radius: 0; box-shadow: none; }
.guide-narration { margin: 15px 14px 8px; padding: 16px; overflow: hidden; border-radius: 21px; color: #fff; background: linear-gradient(145deg, #173f35, #285d4d 68%, #496f5e); box-shadow: 0 11px 28px rgba(23,63,53,.18); }
.guide-narration-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.guide-narration-head > span { min-width: 0; }
.guide-narration-head small { display: block; color: #ead7b1; font-size: 8px; font-weight: 850; letter-spacing: .11em; }
.guide-narration-head h3 { margin: 5px 0 0; font: 18px/1.2 Georgia, "Noto Serif SC", serif; }
.guide-audio-button { flex: 0 0 auto; min-width: 64px; min-height: 48px; padding: 7px 10px; display: grid; grid-template-columns: auto auto; place-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.22); border-radius: 17px; color: var(--forest); background: #f8ecd3; cursor: pointer; box-shadow: 0 7px 18px rgba(0,0,0,.13); }
.guide-audio-button svg { width: 19px; height: 19px; }
.guide-audio-button b { font-size: 9px; }
.guide-audio-button.playing { color: #fff; background: #a64935; animation: audioPulse 1.5s ease-in-out infinite; }
.guide-audio-button.loading { color: var(--forest); background: #f3dfba; animation: audioPulse .85s ease-in-out infinite; }
.guide-narration-intro { margin: 14px 0 0; color: rgba(255,255,255,.79); font-size: 10px; line-height: 1.75; }
.guide-transcript { margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.14); }
.guide-transcript > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; color: #f2dfbd; font-size: 9px; font-weight: 800; cursor: pointer; }
.guide-transcript > summary::-webkit-details-marker { display: none; }
.guide-transcript > summary svg { width: 15px; transition: transform .25s; }
.guide-transcript[open] > summary svg { transform: rotate(45deg); }
.guide-transcript > div { margin-top: 13px; }
.guide-transcript article { display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.guide-transcript article > span { padding-top: 2px; color: #d9bb85; font: 11px Georgia, serif; }
.guide-transcript h4 { margin: 0 0 5px; color: #fff; font: 13px/1.35 Georgia, "Noto Serif SC", serif; }
.guide-transcript article p, .guide-closing { margin: 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.72; }
.guide-closing { margin-top: 11px; padding: 11px 12px; border-radius: 12px; color: #f5e4c5; background: rgba(255,255,255,.08); }
.guide-audio-note { margin: 12px 0 0; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.62); font-size: 8px; line-height: 1.55; }
.guide-audio-note svg { flex: 0 0 auto; width: 13px; height: 13px; }
.guide-narration-sources { margin-top: 9px; color: rgba(255,255,255,.5); font-size: 7px; line-height: 1.65; }
.guide-narration-sources a { color: #ead7b1; text-decoration: underline; text-decoration-color: rgba(234,215,177,.35); text-underline-offset: 2px; }
.photo-shot-list { padding: 5px 17px 2px; }
.photo-shot { display: grid; grid-template-columns: 32px 1fr; gap: 11px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.photo-shot:last-child { border-bottom: 0; }
.shot-number { padding-top: 2px; color: var(--gold); font: 14px Georgia, serif; }
.photo-shot-body { min-width: 0; }
.photo-shot h3 { margin: 0 0 7px; font: 16px Georgia, "Noto Serif SC", serif; }
.photo-shot-content { display: grid; grid-template-columns: minmax(108px, 43%) minmax(0, 1fr); gap: 12px; align-items: start; }
.pose-sample { position: relative; margin: 0; overflow: hidden; border-radius: 15px; background: #e4ded3; box-shadow: 0 7px 18px rgba(39,48,37,.1); }
.pose-sample img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pose-sample > span { position: absolute; top: 7px; left: 7px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; color: #fff; background: rgba(16,42,34,.53); backdrop-filter: blur(7px); font-size: 6px; font-weight: 800; letter-spacing: .04em; }
.pose-sample figcaption { min-height: 30px; padding: 7px 8px; display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--forest); background: #f4efe5; font-size: 7px; font-weight: 800; }
.pose-sample figcaption em { overflow: hidden; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.pose-sample figcaption a { flex: 0 0 auto; color: var(--gold); text-decoration: none; }
.photo-shot-copy { min-width: 0; }
.photo-shot p { margin: 5px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.photo-shot p b { display: block; margin-bottom: 3px; color: var(--forest-2); font-size: 8px; letter-spacing: .08em; }
.photo-shot .shot-source { padding-top: 4px; border-top: 1px dashed var(--line); font-size: 8px; }
.photo-safety { margin: 4px 14px 15px; padding: 11px 12px; display: flex; gap: 8px; align-items: flex-start; border-radius: 14px; color: #783426; background: var(--danger-soft); font-size: 9px; line-height: 1.6; }
.photo-safety svg { flex: 0 0 auto; width: 15px; }
.media-source { margin: 2px 16px 13px; padding-top: 11px; display: flex; gap: 7px; align-items: flex-start; border-top: 1px dashed var(--line); color: var(--muted); font-size: 8px; line-height: 1.6; }
.media-source svg { flex: 0 0 auto; width: 13px; height: 13px; color: var(--gold); }
.media-source a { color: var(--forest-2); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(40,93,77,.28); text-underline-offset: 2px; }
.food-section { margin-top: 32px; }
.food-guide-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: var(--card); box-shadow: 0 9px 25px rgba(39,48,37,.065); }
.food-guide-photo { position: relative; width: 100%; aspect-ratio: 2 / 3; background: #ded8cc; }
.food-guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.food-guide-photo span { position: absolute; right: 11px; bottom: 10px; padding: 5px 8px; border-radius: 99px; color: rgba(255,255,255,.92); background: rgba(12,30,24,.48); backdrop-filter: blur(8px); font-size: 8px; }
.food-guide-body { padding: 16px; }
.food-guide-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; }
.food-guide-meta strong { color: var(--gold); font-size: 11px; white-space: nowrap; }
.food-guide-body > h3 { margin: 9px 0 4px; font: 21px/1.25 Georgia, "Noto Serif SC", serif; }
.food-flavor { margin: 0 0 14px; color: var(--forest-2); font-size: 10px; font-weight: 700; }
.food-info { padding: 12px 13px; border-radius: 15px; background: #f3efe6; }
.food-info b, .food-details b { color: var(--gold); font-size: 9px; letter-spacing: .08em; }
.food-info p, .food-details p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.food-details { margin-top: 10px; border-top: 1px solid var(--line); }
.food-details > summary { padding: 13px 1px 3px; display: flex; align-items: center; justify-content: space-between; list-style: none; color: var(--forest); font-size: 10px; font-weight: 800; cursor: pointer; }
.food-details > summary svg { width: 16px; transition: transform .25s; }
.food-details[open] > summary svg { transform: rotate(45deg); }
.food-details > div { padding: 10px 1px 2px; }
.food-details > div b:not(:first-child) { display: block; margin-top: 12px; }
.food-source { margin: 13px 0 0; padding: 12px 1px 0; }
.nutrition-disclaimer { margin: 14px 4px 0; color: #8a8f88; font-size: 8px; line-height: 1.6; }

.expense-card { margin: -4px 0 20px; padding: 18px; border-radius: 25px; color: #fff; background: linear-gradient(145deg, #173f35, #285d4d); box-shadow: 0 16px 35px rgba(23,63,53,.17); }
.expense-main span { display: block; color: var(--gold-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.expense-main strong { display: block; margin: 6px 0 3px; font: 36px/1 Georgia, serif; }
.expense-main small { color: rgba(255,255,255,.6); font-size: 9px; }
.expense-grid { margin-top: 16px; padding-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid rgba(255,255,255,.13); }
.expense-grid span { display: flex; flex-direction: column; gap: 4px; }
.expense-grid b { font: 18px Georgia, serif; }
.expense-grid small { color: rgba(255,255,255,.58); font-size: 8px; }
.expense-warning { margin-top: 14px; padding: 10px 11px; display: flex; gap: 8px; align-items: flex-start; border-radius: 13px; color: #5e351e; background: #f4dfbb; font-size: 9px; line-height: 1.55; }
.expense-warning svg { flex: 0 0 auto; width: 15px; }

.ticket-filters { display: flex; gap: 7px; margin: 0 -18px 18px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.filter-chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: 11px; white-space: nowrap; cursor: pointer; }
.filter-chip.active { color: #fff; background: var(--forest); border-color: var(--forest); }

.ticket-stack { display: flex; flex-direction: column; gap: 11px; }
.ticket-card { position: relative; overflow: hidden; padding: 17px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.ticket-card::before, .ticket-card::after { content: ""; position: absolute; top: 169px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ticket-card::before { left: -7px; }
.ticket-card::after { right: -7px; }
.ticket-photo { --visual-image: url('/assets/zhangjiajie-hero.webp'); height: 116px; margin: -17px -17px 15px; position: relative; background-image: linear-gradient(180deg, rgba(14,35,27,.02), rgba(14,35,27,.34)), var(--visual-image); background-size: cover; background-position: center; }
.ticket-photo span { position: absolute; right: 10px; bottom: 9px; padding: 4px 7px; border-radius: 99px; color: rgba(255,255,255,.9); background: rgba(12,30,24,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 8px; letter-spacing: .08em; }
.visual-warm, .visual-soft, .visual-homestay { --visual-image: url('/assets/homestay-card.webp'); }
.visual-bus { --visual-image: url('/assets/coach-bus-card-v1.webp'); }
.visual-night { --visual-image: url('/assets/sleeper-train-card.webp'); }
.visual-tianmen { --visual-image: url('/assets/tianmen-card.webp'); }
.visual-mountain { --visual-image: url('/assets/zhangjiajie-hero.webp'); }
.visual-town { --visual-image: url('/assets/furong-card.webp'); }
.visual-return { --visual-image: url('/assets/highspeed-train-card.webp'); }
.ticket-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed rgba(23,63,53,.16); }
.ticket-date { color: var(--muted); font-size: 10px; }
.ticket-status { padding: 5px 8px; border-radius: 99px; color: var(--forest-2); background: rgba(134,161,144,.15); font-size: 9px; font-weight: 750; }
.ticket-status.todo { color: var(--danger); background: var(--danger-soft); }
.ticket-status.activate { color: #8a4b16; background: #f7dfbd; }
.ticket-body { padding-top: 13px; }
.ticket-category { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.ticket-card h3 { margin: 6px 0 5px; font-family: Georgia, "Noto Serif SC", serif; font-size: 17px; }
.ticket-time { font-size: 11px; font-weight: 700; }
.ticket-summary { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.ticket-payment { margin-top: 11px; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
.ticket-payment strong { color: var(--forest-2); font-size: 11px; }
.ticket-payment span { color: var(--muted); font-size: 8px; }
.ticket-payment.conflict strong { color: #9a5a19; }
.ticket-payment.missing strong, .ticket-payment.planned strong { color: var(--danger); }
.ticket-payment.included strong { color: var(--muted); }

.task-progress { margin-bottom: 20px; padding: 18px; border-radius: 24px; background: var(--forest); color: #fff; }
.progress-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.progress-title { font: 19px Georgia, serif; }
.progress-count { color: var(--gold-soft); font: 23px Georgia, serif; }
.progress-track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.14); }
.progress-fill { height: 100%; border-radius: inherit; background: var(--gold-soft); transition: width .35s ease; }
.progress-0-of-8 { width: 0; }
.progress-1-of-8 { width: 12.5%; }
.progress-2-of-8 { width: 25%; }
.progress-3-of-8 { width: 37.5%; }
.progress-4-of-8 { width: 50%; }
.progress-5-of-8 { width: 62.5%; }
.progress-6-of-8 { width: 75%; }
.progress-7-of-8 { width: 87.5%; }
.progress-8-of-8 { width: 100%; }
.task-group-label { margin: 20px 2px 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.task-list { display: flex; flex-direction: column; gap: 9px; }
.task-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 19px; background: var(--card); border: 1px solid var(--line); }
.task-check { width: 24px; height: 24px; padding: 0; border: 1.5px solid rgba(23,63,53,.25); border-radius: 8px; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; }
.task-check svg { width: 14px; }
.task-card.completed .task-check { background: var(--forest-2); border-color: var(--forest-2); }
.task-title { margin: 0 0 4px; font-size: 12px; line-height: 1.45; }
.task-card.completed .task-title { text-decoration: line-through; color: var(--muted); }
.task-due { color: var(--muted); font-size: 9px; }
.task-tag { padding: 5px 7px; border-radius: 8px; background: #edf0ea; color: var(--forest-2); font-size: 9px; font-weight: 700; }
.task-card.critical:not(.completed) .task-tag { color: var(--danger); background: var(--danger-soft); }

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(72px + var(--safe-bottom));
  padding: 7px 10px var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 253, 248, .92);
  border-top: 1px solid rgba(23,63,53,.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.nav-button { position: relative; border: 0; background: none; color: #879087; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 8.5px; cursor: pointer; }
.nav-button svg { width: 21px; height: 21px; }
.nav-button.active { color: var(--forest); font-weight: 750; }
.nav-button.active::before { content: ""; position: absolute; top: -7px; width: 25px; height: 3px; border-radius: 99px; background: var(--gold); }
.nav-badge { position: absolute; top: 4px; margin-left: 22px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; color: #fff; background: var(--danger); border: 2px solid var(--card); font-size: 8px; }

.access-gate { min-height: 100dvh; padding: calc(36px + var(--safe-top)) 22px calc(32px + var(--safe-bottom)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; color: #fff; background-image: linear-gradient(180deg, rgba(8,31,24,.08), rgba(8,31,24,.88)), url('/assets/zhangjiajie-hero.webp'); background-size: cover; background-position: center; }
.gate-brand { position: absolute; top: calc(25px + var(--safe-top)); left: 22px; display: flex; align-items: center; gap: 10px; font: 700 16px Georgia, serif; letter-spacing: .16em; }
.gate-card { position: relative; z-index: 1; padding: 24px; border-radius: 28px; color: var(--ink); background: rgba(255,253,248,.95); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.gate-kicker { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.gate-card h1 { margin: 0; font: 34px/1.15 Georgia, "Noto Serif SC", serif; }
.gate-card p { margin: 10px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.code-input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(23,63,53,.16); border-radius: 16px; outline: none; color: var(--ink); background: #fff; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.code-input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(40,93,77,.09); }
.primary-button { width: 100%; height: 51px; margin-top: 10px; border: 0; border-radius: 16px; color: #fff; background: var(--forest); font-weight: 750; cursor: pointer; box-shadow: 0 10px 22px rgba(23,63,53,.2); }
.primary-button:disabled { opacity: .55; }
.gate-error { min-height: 18px; margin-top: 8px; color: var(--danger); font-size: 10px; }
.privacy-note { display: flex; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.privacy-note svg { flex: 0 0 auto; width: 14px; color: var(--forest-2); }

.sheet-backdrop { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 20px 0 0; background: rgba(10,25,20,.46); animation: fade .2s ease; }
.sheet { width: 100%; max-height: 84dvh; overflow: auto; padding: 12px 20px calc(25px + var(--safe-bottom)); border-radius: 30px 30px 0 0; background: var(--card); box-shadow: 0 -18px 50px rgba(0,0,0,.16); animation: sheetUp .28s ease; }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 19px; border-radius: 99px; background: #d8d5cc; }
.sheet-kicker { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.sheet h2 { margin: 8px 0 7px; font: 25px/1.25 Georgia, "Noto Serif SC", serif; }
.sheet-detail { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.item-experience { margin: 2px 0 20px; padding: 15px; overflow: hidden; border: 1px solid rgba(40,93,77,.16); border-radius: 23px; background: linear-gradient(150deg, #edf4ef, #fffaf0 76%); box-shadow: 0 10px 26px rgba(39,48,37,.07); animation: rise .32s ease both; }
.item-experience-head { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: start; }
.item-experience-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--forest); box-shadow: 0 7px 16px rgba(23,63,53,.17); }
.item-experience-mark svg { width: 21px; height: 21px; }
.item-experience-head small { display: block; color: var(--gold); font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.item-experience-head h3 { margin: 4px 0 3px; font: 17px/1.25 Georgia, "Noto Serif SC", serif; }
.item-experience-head p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.item-experience-grid { display: grid; gap: 8px; margin-top: 14px; }
.item-experience-card { width: 100%; min-width: 0; min-height: 78px; padding: 6px 9px 6px 6px; display: grid; grid-template-columns: 74px minmax(0, 1fr) 18px; align-items: center; gap: 10px; overflow: hidden; border: 1px solid rgba(23,63,53,.1); border-radius: 18px; color: var(--ink); background: rgba(255,253,248,.94); text-align: left; cursor: pointer; box-shadow: 0 5px 15px rgba(39,48,37,.05); }
.item-experience-card.food { border-color: rgba(197,138,63,.18); }
.item-experience-card.audio { border-color: rgba(23,63,53,.24); background: linear-gradient(100deg, #e8f1ec, #fffdf8); }
.item-experience-card > img { width: 74px; height: 66px; display: block; object-fit: cover; border-radius: 13px; }
.item-experience-card > span { min-width: 0; }
.item-experience-card small { display: flex; align-items: center; gap: 4px; color: var(--forest-2); font-size: 7px; font-weight: 850; letter-spacing: .06em; }
.item-experience-card.food small { color: #9a642e; }
.item-experience-card.audio small { color: var(--forest); }
.item-experience-card small svg { width: 10px; height: 10px; }
.item-experience-card b { display: block; margin-top: 5px; overflow: hidden; font: 13px/1.3 Georgia, "Noto Serif SC", serif; text-overflow: ellipsis; }
.item-experience-card em { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.item-experience-card > svg { width: 15px; color: var(--gold); }
.item-food-hint { margin-top: 10px; padding: 13px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; border: 1px solid rgba(197,138,63,.18); border-radius: 17px; background: #fff7e8; }
.item-food-hint-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--gold); }
.item-food-hint-icon svg { width: 18px; }
.item-food-hint small { color: #9a642e; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.item-food-hint h4 { margin: 4px 0 8px; font: 15px/1.3 Georgia, "Noto Serif SC", serif; }
.item-food-hint p { margin: 5px 0; color: var(--muted); font-size: 9px; line-height: 1.58; }
.item-food-hint p b { display: block; margin-bottom: 1px; color: #8a5c32; font-size: 7px; letter-spacing: .07em; }
.context-experience-sheet { padding-top: 0; }
.context-return-bar { position: sticky; z-index: 8; top: 0; margin: 0 -20px 17px; padding: 10px 15px 9px; border-bottom: 1px solid rgba(23,63,53,.08); background: rgba(255,253,248,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.context-return { width: 100%; min-height: 47px; padding: 7px 11px; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; border: 1px solid rgba(40,93,77,.16); border-radius: 15px; color: var(--forest); background: #edf4ef; text-align: left; cursor: pointer; }
.context-return > svg { width: 16px; transform: rotate(180deg); }
.context-return small, .context-return b { display: block; }
.context-return small { color: var(--gold); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.context-return b { margin-top: 2px; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.context-guide-heading { margin-bottom: 14px; }
.context-guide-heading h2 { margin-bottom: 6px; }
.context-guide-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.context-guide-content .photo-guide-card[open] > summary { min-height: 300px; }
.context-guide-content .food-guide-photo { aspect-ratio: 4 / 5; }
.context-guide-content .audio-guide-card { border-radius: 22px; }
.context-guide-content .audio-guide-cover { min-height: 235px; }
.context-return-bottom { width: 100%; min-height: 49px; margin-top: 17px; padding: 10px 14px; border: 0; border-radius: 16px; color: #fff; background: var(--forest); font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(23,63,53,.18); }
.transport-options { display: grid; gap: 10px; margin: -4px 0 18px; }
.transport-option { padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: #faf8f2; }
.transport-option.recommended { border-color: rgba(40,93,77,.3); background: linear-gradient(145deg, #edf4ef, #faf8f2); box-shadow: 0 7px 20px rgba(40,93,77,.08); }
.transport-option-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.transport-option-head h3 { margin: 0; color: var(--ink); font-size: 13px; }
.transport-option-head span { padding: 3px 7px; border-radius: 99px; color: #fff; background: var(--forest-2); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.transport-option > strong { display: block; margin-top: 7px; color: var(--forest-2); font-size: 11px; }
.transport-option > p { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.transport-option > a { color: var(--forest-2); font-size: 9px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.sheet-payment { margin: 10px 0 16px; padding: 12px 13px; border-radius: 15px; background: #eef3ef; border: 1px solid rgba(40,93,77,.1); }
.sheet-payment > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-payment b { color: var(--forest-2); font-size: 11px; }
.sheet-payment small { color: var(--muted); font-size: 8px; }
.sheet-payment p { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.sheet-payment.conflict { background: #f8ead2; border-color: rgba(197,138,63,.2); }
.sheet-payment.conflict b { color: #94551b; }
.sheet-payment.missing, .sheet-payment.planned { background: var(--danger-soft); border-color: rgba(166,73,53,.12); }
.sheet-payment.missing b, .sheet-payment.planned b { color: var(--danger); }
.sheet-field { margin-top: 14px; }
.sheet-field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 750; }
.sheet textarea, .sheet input { width: 100%; border: 1px solid var(--line); border-radius: 14px; outline: none; background: #faf8f2; }
.sheet textarea { min-height: 84px; resize: vertical; padding: 12px; line-height: 1.6; }
.sheet input { height: 44px; padding: 0 12px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
.secondary-button, .save-button { height: 47px; border-radius: 14px; cursor: pointer; font-weight: 700; }
.secondary-button { border: 1px solid var(--line); color: var(--forest); background: transparent; }
.save-button { border: 0; color: #fff; background: var(--forest); }
.contact-list { display: grid; gap: 10px; margin: 4px 0 16px; }
.contact-option { position: relative; min-height: 72px; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: #faf8f2; text-decoration: none; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.contact-option:active { transform: scale(.98); }
.contact-option.preferred { border-color: rgba(40,93,77,.35); background: #eef4ef; }
.contact-option-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--forest); }
.contact-option-icon svg { width: 18px; height: 18px; }
.contact-option-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-option-copy b { font-size: 13px; line-height: 1.25; }
.contact-option-copy small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.contact-option > strong { align-self: center; color: var(--forest-2); font-size: 11px; white-space: nowrap; }
.contact-option em { position: absolute; right: 12px; bottom: 7px; color: var(--gold); font-size: 8px; font-style: normal; font-weight: 800; }
.contact-close { width: 100%; margin-top: 2px; }
.location-quick-button { border-color: rgba(40,93,77,.25); background: linear-gradient(145deg, #eef6f0, #fffaf0); }
.location-quick-button svg { color: var(--forest); }
.location-person-grid { display: grid; gap: 10px; margin: 4px 0 15px; }
.location-person-card { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: #faf8f2; }
.location-person-card.active { border-color: rgba(40,93,77,.28); background: #eef5ef; }
.location-person-card.warning { border-color: rgba(197,138,63,.35); background: #fff8eb; }
.location-person-card.danger { border-color: rgba(166,73,53,.25); background: #fff3ef; }
.location-person-head { display: flex; align-items: center; gap: 10px; }
.location-avatar { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; color: #fff; background: var(--forest); font-weight: 800; }
.location-avatar img { width: 100%; height: 100%; object-fit: cover; }
.location-person-head > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.location-person-head b { font-size: 13px; }
.location-person-head small { color: var(--muted); font-size: 9px; }
.location-person-time, .location-accuracy { margin: 8px 0 0 48px; color: var(--muted); font-size: 9px; }
.location-accuracy { margin-top: 4px; }
.location-meet-button { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; border: 1px solid rgba(40,93,77,.18); border-radius: 12px; color: var(--forest); background: #fff; font-weight: 750; cursor: pointer; }
.location-meet-button svg { width: 16px; }
.location-meet-panel { display: grid; gap: 12px; margin: 3px 0 14px; padding: 14px; border-radius: 18px; border: 1px solid rgba(40,93,77,.18); background: linear-gradient(145deg, #edf7ef, #fffaf0); }
.location-meet-panel.pending { border-color: rgba(197,138,63,.25); background: #fff8eb; }
.location-meet-copy { display: flex; align-items: flex-start; gap: 10px; }
.location-meet-copy > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.location-meet-copy b { color: var(--forest); font-size: 13px; }
.location-meet-copy small { color: var(--muted); font-size: 10px; line-height: 1.55; }
.location-meet-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 11px; color: #fff; background: var(--forest); }
.location-meet-icon svg { width: 17px; }
.location-meet-distance { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed rgba(40,93,77,.18); }
.location-meet-distance strong { color: var(--forest); font-family: var(--display); font-size: 22px; }
.location-meet-distance span { color: var(--muted); font-size: 9px; text-align: right; }
.location-meet-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.location-meet-cta svg { width: 17px; }
.meeting-start-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 2px 0 13px; }
.meeting-start-button svg { width: 17px; }
.meeting-start-card { margin: 2px 0 13px; padding: 13px; border: 1px solid rgba(40,93,77,.14); border-radius: 17px; background: linear-gradient(145deg, #f5fbf4, #fffaf0); }
.meeting-start-card-head { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; }
.meeting-start-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; border-radius: 11px; color: var(--forest); background: #dbeee0; }
.meeting-start-icon svg { width: 16px; }
.meeting-start-card-head > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.meeting-start-card-head b { color: var(--forest); font-size: 12px; }
.meeting-start-card-head small, .meeting-start-help { color: var(--muted); font-size: 9px; line-height: 1.55; }
.meeting-start-help { margin: -4px 2px 0; text-align: center; }
.meeting-photo-draft { margin: 4px 0 10px; }
.meeting-photo-draft-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; color: var(--forest); font-size: 10px; font-weight: 800; }
.meeting-photo-draft-title small { color: var(--muted); font-size: 9px; font-weight: 500; }
.meeting-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.meeting-photo-grid img { display: block; width: 100%; max-height: 190px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 13px; background: #e7eee8; }
.meeting-photo-grid-draft { margin-top: 0; }
.meeting-photo-grid-draft figure { position: relative; margin: 0; }
.meeting-photo-grid-draft button { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(11,31,27,.74); font-size: 17px; line-height: 1; cursor: pointer; }
.location-active-meeting { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; margin: 2px 0 13px; padding: 11px 12px; border: 1px solid rgba(166,73,53,.2); border-radius: 15px; background: #fff3ef; color: var(--ink); }
.location-active-meeting > svg { width: 18px; color: #a64935; }
.location-active-meeting > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.location-active-meeting b { font-size: 11px; }
.location-active-meeting small { color: var(--muted); font-size: 9px; }
.location-active-meeting button { padding: 7px 9px; font-size: 10px; }
.location-active-actions { display: flex; flex-direction: row !important; align-items: center; gap: 5px; }
.location-active-actions button { min-width: 42px; }
.location-active-locked { color: var(--muted); font-size: 9px; text-align: right; }
.meeting-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(11,31,27,.72); backdrop-filter: blur(9px); }
.meeting-modal { width: min(100%, 430px); max-height: min(92vh, 760px); overflow-y: auto; padding: 24px 19px 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 28px; color: #173f35; background: linear-gradient(155deg, #fffdf7, #eef7ef); box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.meeting-modal-kicker { display: flex; align-items: center; gap: 7px; color: #a64935; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.meeting-modal-kicker svg { width: 17px; }
.meeting-modal h2 { margin: 12px 0 9px; color: var(--forest); font-family: var(--display); font-size: clamp(28px, 8vw, 39px); line-height: 1.05; }
.meeting-modal-lead { margin: 0; color: #496158; font-size: 12px; line-height: 1.7; }
.meeting-keep-open { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 17px 0 13px; padding: 12px 13px; border-radius: 15px; color: #8a4b27; background: #fff0db; }
.meeting-keep-open svg { width: 16px; }
.meeting-keep-open strong { font-size: 12px; }
.meeting-keep-open span { width: 100%; margin-left: 24px; color: #9d7152; font-size: 10px; }
.meeting-point-card { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 17px; color: #fff; background: var(--forest); }
.meeting-point-card-button { width: 100%; border: 0; font: inherit; text-align: left; cursor: pointer; }
.meeting-point-card-button:active { transform: scale(.99); }
.meeting-point-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 12px; color: var(--forest); background: #fff; }
.meeting-point-icon svg { width: 18px; }
.meeting-point-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.meeting-point-card b { font-size: 12px; }
.meeting-point-card small { color: rgba(255,255,255,.72); font-size: 9px; }
.meeting-photo-section { margin-top: 12px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(40,93,77,.11); }
.meeting-photo-title { display: flex; align-items: center; gap: 6px; color: var(--forest); font-size: 10px; font-weight: 800; }
.meeting-photo-title svg { width: 15px; }
.meeting-photo-note { display: block; margin: 7px 2px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.meeting-navigate-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; }
.meeting-navigate-button svg { width: 17px; }
.meeting-web-navigate { display: block; margin: 8px 0 0; color: var(--forest); font-size: 10px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.meeting-waiting { margin-top: 12px; padding: 12px; border-radius: 13px; color: #315d50; background: rgba(215,235,219,.8); font-size: 11px; line-height: 1.55; }
.meeting-suggestions { display: grid; gap: 8px; margin-top: 15px; }
.meeting-suggestions-title { color: var(--muted); font-size: 10px; }
.meeting-suggestion { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 11px 12px; border: 1px solid rgba(40,93,77,.14); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.72); text-align: left; cursor: pointer; }
.meeting-suggestion > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.meeting-suggestion b { font-size: 11px; }
.meeting-suggestion small { color: var(--muted); font-size: 9px; }
.meeting-suggestion svg { width: 16px; flex: 0 0 16px; color: var(--forest); }
.meeting-modal-actions { display: grid; gap: 8px; margin-top: 15px; }
.meeting-modal-actions button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.meeting-modal-actions svg { width: 16px; }
.meeting-initiator-actions { grid-template-columns: 1fr 1.25fr; }
.meeting-modal-footnote { margin: 12px 3px 0; color: var(--muted); font-size: 9px; line-height: 1.55; text-align: center; }
.meeting-alert-controls { display: grid; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid rgba(166,73,53,.2); border-radius: 16px; background: #fff3ef; }
.meeting-alert-controls.muted { border-color: rgba(40,93,77,.15); background: #eef6ef; }
.meeting-alert-status { display: flex; align-items: flex-start; gap: 9px; }
.meeting-alert-status > svg { width: 18px; flex: 0 0 18px; color: #a64935; }
.meeting-alert-controls.muted .meeting-alert-status > svg { color: var(--forest); }
.meeting-alert-status > span { display: flex; flex-direction: column; gap: 3px; }
.meeting-alert-status b { font-size: 11px; }
.meeting-alert-status small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.meeting-alert-controls button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.meeting-alert-controls button svg { width: 16px; }
.emergency-enable-button { background: #a64935; }
.emergency-silence-button { border-color: rgba(166,73,53,.23); color: #8b3e2e; background: #fff; }
.emergency-test-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px; margin: 2px 0 12px; padding: 11px 12px; border: 1px solid rgba(197,138,63,.24); border-radius: 15px; background: #fff9eb; }
.emergency-test-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #a64935; }
.emergency-test-icon svg { width: 17px; }
.emergency-test-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.emergency-test-card b { color: var(--ink); font-size: 11px; }
.emergency-test-card small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.emergency-test-card button { min-width: 52px; padding: 8px 10px; font-size: 10px; }
.push-alert-card { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 9px 10px; margin: 14px 0 10px; padding: 13px; border: 1px solid rgba(166,73,53,.2); border-radius: 17px; background: linear-gradient(145deg, #fff5ef, #fffaf1); }
.push-alert-card.active { border-color: rgba(40,93,77,.2); background: linear-gradient(145deg, #edf7ef, #f9fbf2); }
.push-alert-card.needs-install { border-color: rgba(197,138,63,.3); background: #fff9eb; }
.push-alert-card.unavailable { border-color: rgba(113,107,97,.18); background: #f2f0eb; }
.push-alert-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #a64935; }
.push-alert-card.active .push-alert-icon { background: var(--forest); }
.push-alert-card.needs-install .push-alert-icon { background: var(--gold); }
.push-alert-card.unavailable .push-alert-icon { background: #8c8b84; }
.push-alert-icon svg { width: 18px; }
.push-alert-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.push-alert-copy b { color: var(--ink); font-size: 11px; }
.push-alert-copy small { color: var(--muted); font-size: 9px; line-height: 1.55; }
.push-alert-card > button, .push-alert-actions { grid-column: 1 / -1; width: 100%; }
.push-alert-card > button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.push-alert-card > button svg { width: 16px; }
.push-alert-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.push-alert-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; }
.push-alert-actions button svg { width: 15px; }
.push-alert-actions .text-button { padding: 8px 12px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 9px; cursor: pointer; }
.location-actions { display: grid; gap: 9px; margin-top: 3px; }
.location-toggle-button, .location-refresh-button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.location-toggle-button svg, .location-refresh-button svg { width: 16px; }
.badge-permission-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.badge-permission-button svg { width: 16px; }
.badge-help { margin: 8px 2px 15px; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }

.moments-section { margin: 24px -5px 18px; padding: 18px 15px; border-radius: 24px; background: linear-gradient(155deg, #edf2ed, #f7f3eb 70%); border: 1px solid rgba(23,63,53,.1); }
.moments-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.moments-heading h3 { margin: 4px 0 0; font: 18px/1.25 Georgia, "Noto Serif SC", serif; }
.moment-compose { flex: 0 0 auto; min-height: 37px; padding: 0 11px; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 12px; color: #fff; background: var(--forest); font-size: 10px; font-weight: 750; cursor: pointer; box-shadow: 0 7px 16px rgba(23,63,53,.16); }
.moment-compose svg { width: 14px; height: 14px; }
.moments-intro { margin: 11px 0 15px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.identity-callout { width: 100%; margin: 0 0 13px; padding: 11px 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px dashed rgba(197,138,63,.45); border-radius: 15px; color: var(--ink); background: #fff8e8; text-align: left; cursor: pointer; }
.identity-callout > svg { width: 18px; color: var(--gold); }
.identity-callout > svg:last-child { width: 14px; }
.identity-callout b, .identity-callout small { display: block; }
.identity-callout b { font-size: 10px; }
.identity-callout small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.moment-feed { display: flex; flex-direction: column; gap: 12px; }
.moment-post { padding: 14px; overflow: hidden; border-radius: 19px; background: rgba(255,253,248,.96); border: 1px solid rgba(23,63,53,.09); box-shadow: 0 8px 22px rgba(39,48,37,.05); }
.moment-post.own { border-color: rgba(197,138,63,.23); }
.moment-post-head { display: flex; align-items: center; gap: 9px; }
.moment-avatar { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--forest-2); font: 700 14px Georgia, serif; }
.moment-post.own .moment-avatar { background: var(--gold); }
.moment-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.moment-author { min-width: 0; flex: 1; }
.moment-author b, .moment-author small { display: block; }
.moment-author b { font-size: 11px; }
.moment-author small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.moment-delete { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #9e8d82; background: transparent; cursor: pointer; }
.moment-delete svg { width: 14px; }
.moment-text { margin: 12px 2px; color: #36453d; font-size: 11px; line-height: 1.72; }
.moment-photos { display: grid; gap: 4px; overflow: hidden; border-radius: 13px; }
.moment-photos.count-1 { grid-template-columns: 1fr; }
.moment-photos.count-2, .moment-photos.count-4 { grid-template-columns: repeat(2, 1fr); }
.moment-photos.count-3, .moment-photos.count-5, .moment-photos.count-6 { grid-template-columns: repeat(3, 1fr); }
.moment-photos button { min-width: 0; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: #e7e2d8; cursor: zoom-in; }
.moment-photos.count-1 button { aspect-ratio: 4 / 3; }
.moment-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.moment-meta { display: flex; align-items: center; gap: 6px; margin: 10px 2px 0; color: #879087; font-size: 8px; }
.moment-meta svg { width: 12px; height: 12px; }
.moment-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b6bcb7; }
.moment-comments { margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: #eef0eb; }
.moment-comments p { margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 5px; color: #445149; font-size: 9px; line-height: 1.5; }
.moment-comments p + p { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(23,63,53,.07); }
.moment-comments b { color: var(--forest-2); }
.moment-comments small { color: #929991; font-size: 7px; white-space: nowrap; }
.moment-comment-box { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 10px; }
.sheet .moment-comment-box input { height: 37px; min-width: 0; border-radius: 11px; background: #faf8f2; font-size: 9px; }
.moment-comment-box button { padding: 0 10px; display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 11px; color: #fff; background: var(--forest-2); font-size: 9px; cursor: pointer; }
.moment-comment-box button svg { width: 12px; }
.moment-empty { min-height: 135px; display: grid; place-items: center; align-content: center; color: #99a198; text-align: center; }
.moment-empty svg { width: 29px; }
.moment-empty p { margin: 8px 0 0; font: 13px/1.4 Georgia, "Noto Serif SC", serif; }
.moment-empty small { font: 8px Inter, sans-serif; }
.collab-panel { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #f4f0e8; }
.collab-panel > summary { padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; list-style: none; font-size: 10px; font-weight: 750; cursor: pointer; }
.collab-panel > summary::-webkit-details-marker { display: none; }
.collab-panel > summary svg { width: 16px; transition: transform .2s; }
.collab-panel[open] > summary svg { transform: rotate(45deg); }
.collab-panel > div { padding: 0 14px 15px; }

.identity-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.identity-option { min-width: 0; padding: 16px 12px; display: grid; grid-template-columns: 42px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 9px; border: 1px solid var(--line); border-radius: 18px; background: #faf8f2; text-align: left; cursor: pointer; }
.identity-option > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--forest-2); font: 700 16px Georgia, serif; }
.identity-option.selected > span { background: var(--gold); }
.identity-option > span img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.identity-option b { font-size: 12px; }
.identity-option small { color: var(--muted); font-size: 8px; }
.identity-option svg { grid-column: 3; grid-row: 1 / 3; width: 14px; color: var(--gold); }
.sheet-back { margin: -4px 0 14px; padding: 0; border: 0; color: var(--forest-2); background: none; font-size: 10px; font-weight: 700; cursor: pointer; }
.moment-photo-actions { margin: 13px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.moment-photo-action { min-height: 86px; padding: 13px 11px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; border: 1px solid rgba(40,93,77,.18); border-radius: 16px; color: var(--forest-2); background: #f1f5f1; cursor: pointer; }
.moment-photo-action.camera { color: #fff; border-color: var(--forest); background: linear-gradient(145deg, var(--forest-2), var(--forest)); box-shadow: 0 10px 24px rgba(21,68,55,.18); }
.moment-photo-action svg { width: 22px; height: 22px; margin-bottom: 3px; }
.moment-photo-action b { font-size: 11px; }
.moment-photo-action small { color: var(--muted); font-size: 7px; line-height: 1.45; }
.moment-photo-action.camera small { color: rgba(255,255,255,.74); }
.moment-photo-help { margin: -5px 2px 13px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.moment-draft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.moment-draft-grid figure { position: relative; aspect-ratio: 1; margin: 0; }
.moment-draft-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.moment-draft-grid button { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--danger); cursor: pointer; }
.moment-editor .primary-button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.moment-editor .primary-button svg { width: 16px; }
.photo-viewer { position: fixed; z-index: 100; inset: 0; padding: calc(50px + var(--safe-top)) 12px calc(28px + var(--safe-bottom)); display: grid; place-items: center; background: rgba(6,15,12,.94); }
.photo-viewer > button { position: absolute; top: calc(14px + var(--safe-top)); right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }
.photo-viewer > button svg { width: 20px; }
.photo-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.activation-card { margin: 18px -5px 22px; padding: 16px; border-radius: 22px; background: #f1ede4; border: 1px solid var(--line); }
.activation-heading { display: flex; align-items: center; gap: 11px; }
.activation-heading .alert-icon { color: var(--forest-2); background: rgba(40,93,77,.1); }
.activation-heading h3 { margin: 4px 0 0; font: 18px Georgia, "Noto Serif SC", serif; }
.activation-warning { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 11px; border-radius: 13px; color: #7c3123; background: var(--danger-soft); font-size: 11px; line-height: 1.55; }
.activation-warning svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; }
.activation-steps { margin: 14px 0; padding-left: 23px; color: #4f5b52; font-size: 11px; line-height: 1.75; }
.activation-figure { margin: 14px 0 0; overflow: hidden; border-radius: 15px; background: var(--card); }
.activation-figure img { display: block; width: 100%; max-height: 370px; object-fit: cover; object-position: center; }
.activation-figure figcaption { padding: 9px 11px; color: var(--muted); font-size: 9px; }
.activation-figure.guide-figure img { max-height: none; object-fit: contain; }
.guide-video { margin-top: 12px; padding: 12px; border-radius: 15px; background: #fff; border: 1px solid rgba(23,63,53,.1); }
.guide-video video { display: block; width: 100%; max-height: 480px; border-radius: 10px; background: #0c1713; }
.activation-service-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold); color: var(--muted); background: rgba(234,215,177,.2); font-size: 10px; line-height: 1.65; }
.barcode-panel { margin-top: 12px; padding: 14px; border-radius: 15px; background: #fff; border: 1px solid rgba(23,63,53,.1); text-align: center; }
.barcode-label { display: block; margin-bottom: 10px; color: var(--danger); font-size: 10px; font-weight: 800; }
.barcode-panel img { display: block; width: 100%; max-width: 330px; height: auto; margin: 0 auto; padding: 10px 4px; object-fit: contain; background: #fff; }
.barcode-panel p { margin: 10px 0; color: var(--muted); font-size: 10px; }
.barcode-panel small { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; color: var(--muted); font-size: 8px; }
.barcode-panel small svg { width: 11px; height: 11px; }
.install-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.install-steps li { position: relative; min-height: 43px; padding: 0 0 14px 40px; color: var(--muted); font-size: 12px; line-height: 1.55; counter-increment: steps; }
.install-steps li::before { content: counter(steps); position: absolute; left: 0; top: -2px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font: 12px Georgia, serif; }

.toast { position: fixed; z-index: 110; left: 50%; bottom: calc(88px + var(--safe-bottom)); max-width: calc(100vw - 42px); padding: 11px 15px; border-radius: 13px; color: #fff; background: rgba(21,37,31,.93); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 11px; line-height: 1.45; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty-state svg { width: 35px; color: var(--sage); }
.empty-state p { margin: 10px 0 0; font-size: 12px; }
.skeleton { min-height: 100dvh; background: linear-gradient(100deg, #ebe7df 25%, #f6f3ec 45%, #ebe7df 65%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(7px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes audioPulse { 50% { box-shadow: 0 0 0 5px rgba(255,255,255,.08), 0 7px 18px rgba(0,0,0,.13); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (min-width: 680px) {
  body { width: 430px; margin: 0 auto; box-shadow: 0 0 60px rgba(20,40,30,.18); }
  .bottom-nav { left: 50%; right: auto; width: 430px; transform: translateX(-50%); }
  .sheet { max-width: 430px; border-radius: 30px 30px 0 0; }
  .hero { min-height: 500px; }
}

@media (max-width: 360px) {
  .topbar { padding-left: 13px; padding-right: 13px; }
  .top-actions { gap: 4px; }
  .sync-pill { width: 31px; height: 31px; justify-content: center; padding: 0; }
  .sync-pill > span:last-child { display: none; }
  .identity-pill { padding: 0 7px; }
  .brand-lockup { gap: 6px; }
  .identity-options { grid-template-columns: 1fr; }
  .photo-shot-content { grid-template-columns: minmax(96px, 42%) minmax(0, 1fr); gap: 9px; }
}

@media (display-mode: standalone) {
  .install-pill { display: none; }
}

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