:root {
  --paper: #f3f1e9;
  --paper-high: #fffef9;
  --ink: #14201c;
  --green: #286b5b;
  --green-deep: #143b32;
  --sage: #dbe6dd;
  --rust: #a95643;
  --muted: #6c766f;
  --line: rgba(20, 32, 28, .14);
  --ease: cubic-bezier(.2, .72, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); background: #dfe4de; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif; }
button { color: inherit; font: inherit; }
button:focus-visible { outline: 3px solid rgba(169, 86, 67, .38); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif; letter-spacing: 0; }
p { text-wrap: pretty; }

.demo-stage { min-height: 100dvh; display: grid; grid-template-columns: minmax(360px, 43%) minmax(520px, 57%); overflow: hidden; background: var(--paper); transition: grid-template-columns 520ms var(--ease); }
.stage-context { position: relative; min-height: 100dvh; display: flex; flex-direction: column; padding: 38px clamp(36px, 5vw, 76px) 34px; background: var(--paper); border-right: 1px solid var(--line); opacity: 1; transition: opacity 320ms ease, transform 480ms var(--ease); }
.stage-brand, .app-brand { display: flex; align-items: center; gap: 8px; }
.stage-brand img { width: 34px; height: 34px; border-radius: 8px; }
.stage-brand strong { font-size: 15px; }
.stage-brand span { margin-left: 7px; color: var(--muted); font: 9px Georgia, serif; letter-spacing: .1em; }
.stage-copy { margin: auto 0 0; max-width: 560px; }
.stage-kicker { margin: 0 0 16px; color: var(--green); font: 700 11px Georgia, serif; letter-spacing: .08em; }
.stage-copy h1 { font-size: clamp(40px, 4vw, 62px); line-height: 1.12; transition: opacity 180ms ease, transform 240ms var(--ease); }
.stage-copy > p { max-width: 500px; margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; transition: opacity 180ms ease, transform 240ms var(--ease); }
.stage-copy.is-changing h1, .stage-copy.is-changing > p { opacity: 0; transform: translateY(7px); }
.stage-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage-proof div { min-width: 0; display: grid; gap: 7px; padding: 15px 13px; }
.stage-proof div + div { border-left: 1px solid var(--line); }
.stage-proof dt { color: var(--muted); font-size: 9px; }
.stage-proof dd { overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; font: 650 13px "Songti SC", Georgia, serif; }
.stage-guide { max-width: 560px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 5px 18px; margin-top: 34px; padding: 18px 0 0; border-top: 2px solid var(--ink); }
.stage-guide > span { color: var(--green); font-size: 9px; font-weight: 750; }
.stage-guide > strong { grid-column: 1; font: 650 16px "Songti SC", Georgia, serif; }
.stage-guide button { grid-column: 2; grid-row: 1 / 3; min-width: 164px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 15px; border: 0; color: #fff; background: var(--green-deep); cursor: pointer; font-size: 11px; font-weight: 700; transition: background 180ms ease; }
.stage-guide button:hover { background: var(--green); }
.stage-guide button i { font-size: 18px; font-style: normal; font-weight: 400; animation: arrow-nudge 1.05s var(--ease) infinite; }
.stage-steps { max-width: 560px; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 32px; border-top: 1px solid var(--line); }
.stage-steps button { position: relative; min-height: 68px; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 9px 0 0; border: 0; color: #9aa09b; background: transparent; cursor: pointer; text-align: left; }
.stage-steps button::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 240ms var(--ease); }
.stage-steps button.is-active { color: var(--ink); }
.stage-steps button.is-active::before { width: 70%; }
.stage-steps b { font: 650 9px Georgia, serif; }
.stage-steps span { font: 650 11px "Songti SC", Georgia, serif; }

.demo-stage[data-stage="lock"] { grid-template-columns: 1fr; }
.demo-stage[data-stage="lock"] .stage-context { display: none; }
.device-wrap { min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 12px; padding: 28px; background: #dfe5df; transition: background 420ms ease; }
.demo-stage[data-stage="lock"] .device-wrap { background: #d6ddd7; }
.device { position: relative; width: 430px; height: min(880px, calc(100dvh - 82px)); min-height: 700px; overflow: hidden; border: 8px solid var(--ink); border-radius: 44px; background: var(--paper); box-shadow: 0 26px 72px rgba(20, 32, 28, .23); transition: width 440ms var(--ease), height 440ms var(--ease); }
.device-caption { margin: 0; color: var(--muted); font-size: 10px; transition: opacity 180ms ease; }

.device-lock { position: absolute; z-index: 80; inset: 0; overflow: hidden; color: #fff; background: #26322e; opacity: 1; visibility: visible; transition: opacity 460ms ease, transform 620ms var(--ease), visibility 0s linear 0s; }
.device-lock.is-leaving { opacity: 0; transform: scale(1.025); visibility: hidden; transition-delay: 0s, 0s, 620ms; }
.lock-wallpaper, .lock-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.lock-wallpaper { object-fit: cover; filter: saturate(.42) brightness(.64); }
.lock-shade { background: linear-gradient(rgba(13, 23, 19, .18), rgba(13, 23, 19, .3)); }
.lock-rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lock-rain i { position: absolute; top: -80px; width: 1px; height: 64px; background: rgba(255,255,255,.34); transform: rotate(9deg); animation: lock-rain-fall var(--lock-speed) linear infinite; animation-delay: var(--lock-delay); }
@keyframes lock-rain-fall { to { transform: translate3d(-80px, 980px, 0) rotate(9deg); } }
.lock-clock { position: absolute; z-index: 2; top: 60px; left: 0; right: 0; display: grid; justify-items: center; gap: 6px; text-shadow: 0 2px 14px rgba(0,0,0,.18); }
.lock-clock span { font-size: 12px; font-weight: 650; }
.lock-clock strong { font: 500 66px/1 Georgia, serif; letter-spacing: .02em; }
.lock-notification { position: absolute; z-index: 4; top: 225px; left: 14px; right: 14px; min-height: 132px; display: grid; gap: 9px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.74); border-radius: 20px; color: var(--ink); background: rgba(248,250,247,.9); backdrop-filter: blur(24px); box-shadow: 0 18px 42px rgba(16,25,22,.2); text-align: left; cursor: pointer; }
.lock-app { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 7px; }
.lock-app img { width: 24px; height: 24px; border-radius: 6px; }
.lock-app b { font-size: 10px; }.lock-app i { color: var(--muted); font-size: 8px; font-style: normal; }
.lock-notification > strong { font-size: 12px; }.lock-notification > span:last-child { color: #49544e; font-size: 10px; line-height: 1.55; }
.lock-guide { position: absolute; z-index: 4; top: 405px; left: 24px; right: 24px; padding: 21px 19px; color: var(--ink); background: var(--paper-high); box-shadow: 0 18px 48px rgba(12,23,18,.18); }
.lock-guide::before { content: ""; position: absolute; top: -10px; left: 50%; width: 18px; height: 18px; background: var(--paper-high); transform: translateX(-50%) rotate(45deg); }
.lock-guide > span { color: var(--green); font-size: 8px; font-weight: 750; }.lock-guide > strong { display: block; margin-top: 8px; font: 650 20px "Songti SC", Georgia, serif; }.lock-guide p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.lock-guide > i { position: absolute; top: -47px; left: 50%; color: #fff; font-size: 25px; font-style: normal; transform: translateX(-50%); animation: guide-bob 1.4s ease-in-out infinite; }
@keyframes guide-bob { 50% { transform: translate(-50%, -7px); } }
@keyframes arrow-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
.guided-target { animation: target-glow 2.2s ease-in-out infinite; }
@keyframes target-glow { 50% { box-shadow: 0 0 0 5px rgba(169,86,67,.16), 0 18px 42px rgba(20,32,28,.16); } }

.status-bar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 3px 22px 0; background: rgba(243,241,233,.96); font-size: 10px; font-weight: 750; }
.app-header { position: absolute; z-index: 20; top: 32px; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(243,241,233,.95); backdrop-filter: blur(14px); }
.app-brand img { width: 28px; height: 28px; border-radius: 7px; }.app-brand strong { font-size: 14px; }
.profile-button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--green); cursor: pointer; font: 700 12px Georgia, serif; }
.app-screens { position: absolute; inset: 86px 0 68px; overflow: hidden; }
.app-screen { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; padding: 22px 18px 34px; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity 260ms ease, transform 320ms var(--ease), visibility 0s linear 320ms; scrollbar-width: none; }
.app-screen::-webkit-scrollbar, .app-detail::-webkit-scrollbar { display: none; }.app-screen.is-active { opacity: 1; visibility: visible; transform: translateX(0); transition-delay: 0s; }
.screen-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }.screen-heading p, .book-top p, .map-heading p { margin: 0 0 5px; color: var(--green); font: 700 8px Georgia, serif; letter-spacing: .08em; }.screen-heading h2 { font-size: 34px; line-height: 1; }
.updates-heading { align-items: center; }.unread-count { display: flex; align-items: center; gap: 6px; padding: 0; color: #805143; background: transparent; font-size: 8px; font-weight: 700; }.unread-count i { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 4px rgba(169,86,67,.1); animation: live-pulse 1.8s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .5; transform: scale(.82); } }
.live-story { overflow: hidden; border: 1px solid var(--line); border-top: 2px solid var(--green-deep); color: var(--ink); background: var(--paper-high); box-shadow: 0 16px 36px rgba(20,32,28,.11); }.time-compare { position: relative; height: 250px; overflow: hidden; cursor: ew-resize; }.compare-past, .compare-now, .compare-now > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.compare-past { filter: saturate(.78) brightness(.86); }.compare-now { overflow: hidden; clip-path: inset(0 0 0 64%); }.compare-now > img { filter: saturate(.42) brightness(.72); }.compare-now::after { content: ""; position: absolute; inset: 0; background: rgba(18,30,26,.16); }.mini-rain { position: absolute; inset: 0; overflow: hidden; }.mini-rain i { position: absolute; top: -55px; width: 1px; height: 45px; background: rgba(255,255,255,.36); transform: rotate(10deg); animation: mini-rain-fall var(--rain-speed) linear infinite; animation-delay: var(--rain-delay); } @keyframes mini-rain-fall { to { transform: translate3d(-34px,330px,0) rotate(10deg); } }
.compare-label { position: absolute; z-index: 3; top: 13px; padding: 6px 8px; color: #fff; background: rgba(20,32,28,.68); font-size: 8px; font-weight: 700; pointer-events: none; }.past-label { left: 12px; }.now-label { right: 12px; }.compare-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: 64%; width: 1px; background: rgba(255,255,255,.9); pointer-events: none; }.compare-handle i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: var(--green-deep); background: #fff; transform: translate(-50%,-50%); font-size: 12px; font-style: normal; }#timeCompareSlider { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.live-story-copy { padding: 18px 17px 17px; }.live-line { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }.live-line span { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 750; }.live-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); animation: live-pulse 1.8s ease-in-out infinite; }.personal-reason { margin: 17px 0 7px; color: #96503d; font-size: 9px; font-weight: 700; }.live-story-copy h3 { color: var(--ink); font-size: 28px; line-height: 1.13; }.event-summary { margin: 12px 0 17px; color: var(--muted); font-size: 10px; line-height: 1.7; }.open-letter { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; color: #fff; background: var(--green-deep); cursor: pointer; font-size: 10px; font-weight: 750; }.open-letter span { display: inline-block; animation: arrow-nudge 1.05s var(--ease) infinite; }

.map-heading, .book-top { display: flex; align-items: end; justify-content: space-between; gap: 12px; }.map-heading h2, .book-top h2 { font-size: 33px; }.map-share { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 19px; }.filter-row { display: grid; grid-template-columns: repeat(5,1fr); margin: 17px 0 14px; background: #e4e5df; }.filter-row button { min-height: 44px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 9px; }.filter-row button.is-selected { color: var(--ink); background: var(--paper-high); box-shadow: 0 1px 5px rgba(20,32,28,.08); }
.atlas-map { position: relative; height: 342px; overflow: hidden; color: #e7efe9; background: #1f594d; box-shadow: 0 16px 34px rgba(27,67,58,.16); }.atlas-map::after { content: "2026"; position: absolute; right: -8px; bottom: -19px; color: rgba(255,255,255,.08); font: italic 92px Georgia, serif; }.atlas-running { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }.atlas-running span { font: 6px Georgia, serif; letter-spacing: .09em; opacity: .7; }.atlas-running b { font: 650 11px "Songti SC", Georgia, serif; }.atlas-map > img { position: absolute; left: -61%; top: 46px; width: 185%; height: 215px; object-fit: contain; opacity: .32; filter: brightness(0) invert(1); }.atlas-pin { position: absolute; z-index: 3; min-width: 44px; min-height: 44px; display: grid; place-items: center; align-content: center; gap: 2px; padding: 0; border: 0; color: #e8efe9; background: transparent; cursor: pointer; font-size: 8px; }.atlas-pin i { width: 10px; height: 10px; border: 2px solid #f5f2ec; border-radius: 50%; background: #d29b75; }.atlas-pin.is-live i { background: var(--rust); animation: pin-pulse 1.8s ease-out infinite; }@keyframes pin-pulse { 50% { box-shadow: 0 0 0 9px rgba(210,155,117,0); } 0%,100% { box-shadow: 0 0 0 4px rgba(210,155,117,.22); } }.pin-lushan { left: 64%; top: 42%; }.pin-dali { left: 48%; top: 54%; }.pin-kyoto { left: 76%; top: 31%; }.pin-sanya { left: 61%; top: 67%; }.atlas-total { position: absolute; z-index: 3; left: 16px; bottom: 15px; display: flex; align-items: baseline; gap: 7px; }.atlas-total strong { font: italic 40px/.8 Georgia, serif; }.atlas-total span { font-size: 8px; opacity: .75; }.selected-visit { width: 100%; min-height: 96px; display: grid; grid-template-columns: 86px 1fr 26px; align-items: center; gap: 12px; margin-top: 13px; padding: 9px; border: 1px solid var(--line); background: var(--paper-high); text-align: left; cursor: pointer; }.selected-visit img { width: 86px; height: 76px; object-fit: cover; }.selected-visit > span { display: grid; gap: 5px; }.selected-visit small, .selected-visit em { color: var(--muted); font-size: 8px; font-style: normal; }.selected-visit strong { font: 650 13px "Songti SC", Georgia, serif; }.selected-visit > b { display: inline-block; font-size: 18px; font-weight: 400; animation: arrow-nudge 1.05s var(--ease) infinite; }

.book-top span { color: var(--muted); font: 9px Georgia, serif; }.chromatic-card { position: relative; width: 100%; height: 520px; min-height: 0; display: grid; grid-template-rows: 30px 62px minmax(0,1fr) 70px 24px; margin-top: 18px; padding: 0 15px 13px; overflow: hidden; border: 0; color: #183129; background: #dce6dc; text-align: left; cursor: pointer; box-shadow: 0 18px 40px rgba(24,49,41,.16); transition: background 260ms ease, color 260ms ease; }.card-running-head { display: flex; align-items: center; justify-content: space-between; font: 7px Georgia, serif; letter-spacing: .08em; }.chromatic-title { display: flex; align-items: start; justify-content: space-between; border-top: 1px solid currentColor; padding-top: 7px; }.chromatic-title h3 { font-size: 37px; line-height: 1; }.chromatic-title span { padding-right: 5px; font-size: 8px; line-height: 1.5; text-align: right; opacity: .82; }.chromatic-card > img { min-width: 0; min-height: 0; width: calc(100% - 40px); height: 100%; object-fit: cover; filter: saturate(.74); }.color-spine { position: absolute; top: 92px; right: 15px; bottom: 107px; width: 40px; display: grid; grid-template-rows: repeat(4,1fr); }.color-spine i:nth-child(1) { background:#eff2e9; }.color-spine i:nth-child(2) { background:#9daaa1; }.color-spine i:nth-child(3) { background:#597467; }.color-spine i:nth-child(4) { background:#254b40; }.chromatic-card blockquote { min-height: 0; overflow: hidden; margin: 0; padding-top: 11px; border-top: 1px solid currentColor; font: 650 14px/1.5 "Songti SC", Georgia, serif; }.chromatic-card footer { display: flex; align-items: end; justify-content: space-between; font-size: 8px; opacity: .82; }.book-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin-top: 12px; }.book-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-high); cursor: pointer; }.book-controls div { display: flex; justify-content: center; gap: 7px; }.book-controls i { width: 5px; height: 5px; border-radius: 50%; background: #b2b8b3; }.book-controls i.is-active { background: var(--green); }.book-note { margin: 6px auto 0; max-width: 280px; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }

.tab-bar { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: 68px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); background: rgba(255,254,249,.97); backdrop-filter: blur(16px); }.tab-bar button { position: relative; min-height: 48px; display: grid; place-items: center; align-content: center; gap: 3px; padding: 0; border: 0; color: #829087; background: transparent; cursor: pointer; font-size: 9px; }.tab-bar button.is-active { color: var(--green); font-weight: 750; }.tab-icon { position: relative; width: 20px; height: 18px; display: block; }.map-icon { border: 1.8px solid currentColor; border-radius: 50% 50% 50% 2px; transform: rotate(-45deg) scale(.65); }.map-icon::after { content: ""; position: absolute; width: 5px; height: 5px; border: 1.6px solid currentColor; border-radius: 50%; top: 4px; left: 5px; }.cards-icon::before, .cards-icon::after { content: ""; position: absolute; width: 13px; height: 15px; border: 1.6px solid currentColor; top: 0; left: 3px; background: var(--paper-high); }.cards-icon::before { transform: translate(-3px,2px); opacity: .6; }.signal-icon { border: 1.7px solid currentColor; border-radius: 50%; }.signal-icon::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: currentColor; top: 5px; left: 6px; }.tab-dot { position: absolute; top: 10px; left: calc(50% + 10px); width: 6px; height: 6px; border: 1px solid var(--paper-high); border-radius: 50%; background: var(--rust); }

.app-detail { position: absolute; z-index: 45; inset: 0; overflow-x: hidden; overflow-y: auto; background: var(--paper); transform: translateX(104%); transition: transform 420ms var(--ease); scrollbar-width: none; }.app-detail.is-open { transform: translateX(0); }.detail-photo { position: relative; height: 330px; }.detail-photo > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.48); }.detail-photo::after { content: ""; position: absolute; inset: 0; background: rgba(20,32,28,.18); pointer-events: none; }.back-button { position: absolute; z-index: 3; top: 46px; left: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(20,32,28,.7); cursor: pointer; font-size: 20px; }.detail-photo > span { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: #fff; font-size: 10px; font-weight: 700; }.detail-content { padding: 26px 20px 38px; }.detail-kicker { margin: 0 0 9px; color: var(--green); font-size: 9px; font-weight: 750; }.detail-content h2 { font-size: 38px; line-height: 1.08; }.detail-content > p:not(.detail-kicker) { margin: 18px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }.memory-echo { display: grid; grid-template-columns: 96px 1fr; min-height: 88px; margin-top: 20px; background: var(--paper-high); }.memory-echo img { width: 96px; height: 88px; object-fit: cover; }.memory-echo span { display: grid; align-content: center; gap: 5px; padding: 12px; }.memory-echo small, .memory-echo em { color: var(--muted); font-size: 8px; font-style: normal; }.memory-echo strong { font: 650 12px Georgia, "Songti SC", serif; }.signal-logic { margin-top: 18px; padding: 16px 14px 14px; border-top: 2px solid var(--ink); background: var(--paper-high); }.logic-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.logic-heading > span { display: grid; gap: 4px; }.logic-heading small { color: var(--green); font: 700 7px Georgia, serif; letter-spacing: .08em; }.logic-heading h3 { font-size: 18px; }.logic-heading > b { padding: 6px 8px; color: #914934; background: #efe0d9; font-size: 8px; }.logic-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 13px; border-top: 1px solid var(--line); }.logic-metrics span { min-width: 0; display: grid; gap: 4px; padding: 10px 6px 0; }.logic-metrics span + span { border-left: 1px solid var(--line); }.logic-metrics small, .logic-metrics em { color: var(--muted); font-size: 7px; font-style: normal; }.logic-metrics strong { color: var(--green); font: 650 15px Georgia, serif; }.detail-next { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 16px; border: 0; color: #fff; background: var(--green-deep); text-align: left; cursor: pointer; }.detail-next span { display: grid; gap: 4px; }.detail-next small { color: rgba(255,255,255,.62); font-size: 8px; }.detail-next strong { font-size: 11px; }.detail-next i { display: inline-block; font-size: 20px; font-style: normal; animation: arrow-nudge 1.05s var(--ease) infinite; }.detail-source { display: grid; gap: 4px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }.detail-source small, .detail-source span { color: var(--muted); font-size: 7px; }.detail-source strong { font-size: 9px; }

.card-detail { background: #e5e9e3; }.detail-nav, .share-head { position: sticky; z-index: 6; top: 0; height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 15px; border-bottom: 1px solid var(--line); background: rgba(243,241,233,.97); backdrop-filter: blur(14px); }.detail-nav > button, .share-head > button { min-height: 44px; padding: 0; border: 0; color: var(--green-deep); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }.detail-nav > button:last-child, .share-head > button:last-child { text-align: right; }.card-artwork { position: relative; height: 500px; margin: 18px; padding: 16px; border: 1px solid rgba(20,32,28,.18); color: #102b23; background: #dce6dc; box-shadow: 0 16px 34px rgba(24,49,41,.12); }.art-running { display: flex; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px solid currentColor; font: 7px Georgia, serif; font-weight: 700; letter-spacing: .08em; }.card-artwork h2 { margin: 10px 0; font-size: 39px; }.card-artwork > img { width: calc(100% - 48px); height: 292px; object-fit: cover; }.art-spine { position: absolute; top: 92px; right: 16px; width: 48px; height: 292px; display: grid; grid-template-rows: repeat(3,1fr); }.art-spine span { display: grid; place-items: center; border-left: 1px solid rgba(20,32,28,.24); border-bottom: 1px solid rgba(20,32,28,.24); font-size: 8px; font-weight: 700; writing-mode: vertical-rl; }.card-artwork blockquote { margin: 12px 0 6px; color: #102b23; font: 700 14px/1.5 "Songti SC", Georgia, serif; }.card-artwork > span { color: #485b53; font-size: 8px; font-weight: 650; }.edit-sheet { margin: 0 18px 28px; padding: 0 14px 16px; border-top: 2px solid var(--ink); background: var(--paper-high); box-shadow: 0 12px 28px rgba(20,32,28,.08); }.edit-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }.edit-row > span { min-width: 0; display: grid; gap: 6px; }.edit-row small { color: var(--green); font-size: 8px; font-weight: 750; }.edit-row strong { overflow: hidden; max-width: 250px; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; font-size: 10px; font-weight: 700; }.edit-row button { min-width: 52px; min-height: 44px; padding: 0 8px; border: 0; color: var(--green-deep); background: var(--sage); cursor: pointer; font-size: 9px; font-weight: 750; }.palette { display: flex; gap: 7px; }.palette i { width: 18px; height: 18px; border: 1px solid rgba(20,32,28,.2); border-radius: 50%; }.palette i:nth-child(1) { background:#eff2e9; }.palette i:nth-child(2) { background:#597467; }.palette i:nth-child(3) { background:#254b40; }.share-button { width: 100%; min-height: 52px; margin-top: 14px; border: 0; color: #fff; background: var(--green-deep); cursor: pointer; font-size: 11px; font-weight: 700; }

.share-detail { color: #edf2ee; background: #101c18; }.share-head { color: #edf2ee; border-color: rgba(255,255,255,.12); background: rgba(16,28,24,.96); }.share-head .app-brand img { filter: none; }.share-head .app-brand strong { color: #edf2ee; }.share-head > button { color: #d6e2da; }.share-content { padding: 24px 18px 36px; }.share-content > p:first-child { margin: 0 0 6px; color: #8eaa9b; font: 700 7px Georgia, serif; letter-spacing: .1em; }.share-content > h2 { font-size: 29px; }.template-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 17px 0; }.template-picker button { min-height: 46px; border: 1px solid rgba(255,255,255,.18); color: #8fa198; background: transparent; cursor: pointer; font-size: 8px; }.template-picker button.is-selected { color: var(--ink); background: #edf2ee; }.zine-preview { aspect-ratio: 13/8; display: grid; grid-template-columns: 1.25fr .9fr; color: var(--ink); background: #edf2e9; box-shadow: 0 22px 48px rgba(0,0,0,.25); }.zine-photo { display: grid; grid-template-rows: 1fr 42px; margin: 0; border-right: 1px solid #cad3cb; }.zine-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }.zine-photo footer { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; }.zine-photo strong { font: 650 15px "Songti SC", Georgia, serif; }.zine-photo span { font-size: 5px; }.zine-memory { display: grid; grid-template-rows: 24px 1fr 14px 46px; padding: 10px; }.zine-memory > span { color: var(--green); font: 700 5px Georgia, serif; letter-spacing: .08em; }.zine-memory blockquote { margin: 5px 0; font: 650 12px/1.55 "Songti SC", Georgia, serif; }.zine-memory > div { display: grid; grid-template-columns: repeat(4,1fr); }.zine-memory > div i:nth-child(1) { background:#eff2e9; }.zine-memory > div i:nth-child(2) { background:#9daaa1; }.zine-memory > div i:nth-child(3) { background:#597467; }.zine-memory > div i:nth-child(4) { background:#254b40; }.zine-memory footer { display: flex; align-items: end; justify-content: space-between; border-top: 1px solid #cad3cb; }.zine-memory footer b { font: italic 24px Georgia, serif; }.zine-memory footer span { font-size: 5px; line-height: 1.5; text-align: right; }.share-note { margin: 14px auto 0; color: #9fafA6; font-size: 8px; line-height: 1.6; text-align: center; }.share-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin-top: 18px; }.share-actions button { min-height: 50px; border: 1px solid rgba(255,255,255,.18); color: #edf2ee; background: transparent; cursor: pointer; font-size: 10px; }.share-actions button.primary { color: var(--ink); background: #edf2ee; }
.zine-preview[data-template="cover"] { position: relative; width: 68%; aspect-ratio: 3/4; grid-template-columns: 1fr; margin: 0 auto; color: #fff; background: #173c33; }
.zine-preview[data-template="cover"] .zine-photo { grid-template-rows: 1fr; border: 0; }
.zine-preview[data-template="cover"] .zine-photo img { filter: saturate(.72) brightness(.76); }
.zine-preview[data-template="cover"] .zine-photo footer { position: absolute; left: 0; right: 0; bottom: 0; min-height: 62px; align-items: end; padding: 12px; background: linear-gradient(transparent, rgba(15,31,26,.85)); }
.zine-preview[data-template="cover"] .zine-photo strong { font-size: 22px; }
.zine-preview[data-template="cover"] .zine-memory { display: none; }
.zine-preview[data-template="spine"] { position: relative; width: 68%; aspect-ratio: 3/4; grid-template-columns: 1fr; margin: 0 auto; background: #edf2e9; }
.zine-preview[data-template="spine"] .zine-photo { grid-template-rows: 1fr 44px; border: 0; padding-right: 34px; }
.zine-preview[data-template="spine"] .zine-memory { position: absolute; top: 0; right: 0; bottom: 0; width: 34px; display: grid; grid-template-rows: 1fr; padding: 0; color: #edf2e9; background: #285d4f; }
.zine-preview[data-template="spine"] .zine-memory > span, .zine-preview[data-template="spine"] .zine-memory > div, .zine-preview[data-template="spine"] .zine-memory footer { display: none; }
.zine-preview[data-template="spine"] .zine-memory blockquote { display: grid; place-items: center; margin: 0; padding: 8px; font-size: 8px; line-height: 1.4; writing-mode: vertical-rl; }
.mobile-tour { display: none; }

@media (max-width: 1050px) and (min-width: 901px) {
  .demo-stage { grid-template-columns: minmax(330px, 40%) minmax(500px, 60%); }.stage-context { padding-left: 32px; padding-right: 32px; }.stage-copy h1 { font-size: 40px; }.stage-guide { grid-template-columns: 1fr; }.stage-guide button { grid-column: 1; grid-row: auto; margin-top: 8px; }.device-wrap { padding: 20px; }
}

@media (max-width: 900px) {
  body { background: var(--paper); }.demo-stage, .demo-stage[data-stage="lock"] { display: block; min-height: 100dvh; }.stage-context { display: none; }.device-wrap { min-height: 100dvh; padding: 0; background: var(--paper); }.device { width: 100%; height: 100dvh; min-height: 640px; border: 0; border-radius: 0; box-shadow: none; }.device-caption { display: none; }.status-bar { padding-top: env(safe-area-inset-top); height: calc(30px + env(safe-area-inset-top)); }.app-header { top: calc(30px + env(safe-area-inset-top)); }.app-screens { top: calc(84px + env(safe-area-inset-top)); bottom: calc(66px + env(safe-area-inset-bottom)); }.tab-bar { height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }.back-button { top: calc(14px + env(safe-area-inset-top)); }.detail-nav, .share-head { padding-top: env(safe-area-inset-top); height: calc(66px + env(safe-area-inset-top)); }.lock-clock { top: calc(56px + env(safe-area-inset-top)); }.lock-notification { top: calc(218px + env(safe-area-inset-top)); }.lock-guide { top: calc(398px + env(safe-area-inset-top)); }
  .mobile-tour { position: absolute; z-index: 72; left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(20,59,50,.94); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(20,32,28,.22); text-align: left; cursor: pointer; }
  .mobile-tour span { display: grid; gap: 3px; }.mobile-tour small { color: rgba(255,255,255,.58); font: 650 6px Georgia, serif; letter-spacing: .08em; }.mobile-tour strong { font-size: 9px; }.mobile-tour i { display: inline-block; font-size: 18px; font-style: normal; animation: arrow-nudge 1.05s var(--ease) infinite; }
  .demo-stage[data-stage="lock"] .mobile-tour { display: none; }.demo-stage[data-stage="signal"] .mobile-tour, .demo-stage[data-stage="share"] .mobile-tour { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

@media (max-height: 760px) and (min-width: 901px) {
  .device { min-height: 650px; height: calc(100dvh - 40px); }.stage-context { padding-top: 24px; padding-bottom: 20px; }.stage-copy h1 { font-size: 38px; }.stage-copy > p { margin-top: 16px; }.stage-proof { margin-top: 18px; }.stage-guide { margin-top: 20px; }.stage-steps { margin-top: 18px; }.chromatic-card { height: 435px; }
}

/* Final layout safeguards: artwork must scale without pushing its text out. */
.chromatic-card { height: auto; aspect-ratio: .73; grid-template-rows: 30px 62px minmax(0, 1fr) 70px 24px; }
.chromatic-card > img { min-width: 0; min-height: 0; }
.compare-handle i { animation: handle-breathe 1.6s ease-in-out infinite; }
@keyframes handle-breathe { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,.22); } }
.time-compare:has(#timeCompareSlider:focus-visible) { outline: 3px solid rgba(169,86,67,.48); outline-offset: 2px; }
.tab-bar button.is-guided::before { content: "↓"; position: absolute; top: -22px; left: 50%; color: var(--rust); font-size: 16px; font-weight: 800; transform: translateX(-50%); animation: guide-down 1.05s var(--ease) infinite; }
@keyframes guide-down { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
.card-artwork { color: var(--city-ink, #102b23); background: var(--city-paper, #dce6dc); }
.art-spine span:nth-child(1) { background: var(--city-tone-1, #9daaa1); }
.art-spine span:nth-child(2) { color: #fff; background: var(--city-tone-2, #597467); }
.art-spine span:nth-child(3) { color: #fff; background: var(--city-tone-3, #254b40); }
.card-artwork blockquote, .card-artwork > span { color: inherit; }
.card-artwork > span { opacity: .78; }

@media (max-width: 900px) {
  .app-screens { bottom: calc(116px + env(safe-area-inset-bottom)); }
  .app-screen { padding-bottom: 34px; }
  .mobile-tour { left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); min-height: 50px; border-right: 0; border-left: 0; }
  .demo-stage[data-stage="signal"] .app-detail.is-open,
  .demo-stage[data-stage="editor"] .app-detail.is-open { bottom: calc(58px + env(safe-area-inset-bottom)); }
  .demo-stage[data-stage="signal"] .mobile-tour,
  .demo-stage[data-stage="editor"] .mobile-tour { left: 0; right: 0; bottom: env(safe-area-inset-bottom); min-height: 58px; border: 0; }
  .signal-detail .detail-content { padding-bottom: 38px; }
  .card-detail .edit-sheet { margin-bottom: 28px; }
  .demo-stage[data-stage="share"] .mobile-tour { display: none; }
  .demo-stage[data-stage="share"] .app-detail.is-open { bottom: 0; }
}

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