:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5f2e9;
  background: #071624;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; height: 100%; overflow: hidden; }
body { -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible { outline: 2px solid #efd5a6; outline-offset: 3px; }
img { display: block; }
#app { position: relative; }
.app-shell {
  width: 100%; height: 100dvh; min-height: 560px; overflow: hidden;
  position: relative; isolation: isolate; background: #0a1b29;
}
.app-shell::after {
  content: ""; position: absolute; z-index: 30; inset: 0; pointer-events: none;
  opacity: .13; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='5'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
.eyebrow, .serial, .scene-index, .scene-kicker, .ticket-label, .stop-copy small {
  font-family: Georgia, "Times New Roman", serif; font-size: 11px; letter-spacing: .2em;
}
.eyebrow { color: #dfc092; text-transform: uppercase; }
.serial { color: #c7d0cf; }
.primary, .secondary, .choice {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 52px; width: 100%; padding: 11px 20px; border-radius: 50px;
  font-size: 15px; line-height: 1.35; transition: transform .2s, background .2s, border-color .2s;
}
.primary { background: #ead4ae; color: #162a30; border: 1px solid #ead4ae; font-weight: 600; }
.secondary { background: rgba(15, 35, 47, .32); color: #f6f1e6; border: 1px solid rgba(241, 234, 218, .38); }
.choice { justify-content: space-between; background: rgba(229, 208, 176, .13); color: #f8efdf; border: 1px solid rgba(238, 218, 185, .68); }
.primary:active, .secondary:active, .choice:active { transform: scale(.975); }
.screen {
  position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%;
  padding: calc(env(safe-area-inset-top) + 27px) 25px calc(env(safe-area-inset-bottom) + 26px);
}
.cover { position: absolute; inset: 0; background-size: cover; background-position: center; animation: cover-in 2.1s ease-out both; }
.cover--intro { background-image: linear-gradient(180deg, rgba(4, 16, 27, .25), rgba(4, 16, 27, .72)), url('./assets/japan-street.jpg'); }
.cover--ticket { background-image: linear-gradient(180deg, rgba(6, 19, 30, .35), rgba(5, 18, 28, .82)), url('./assets/japan-fuji.jpg'); }
.cover--ending { background-image: linear-gradient(180deg, rgba(4, 18, 29, .58), rgba(4, 18, 29, .87)), url('./assets/hongkong-blue-hour.jpg'); }
@keyframes cover-in { from { opacity: .4; transform: scale(1.1); } to { opacity: 1; transform: scale(1.035); } }

/* Invitation */
.intro-top, .ticket-top, .map-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.intro-body { margin: auto 0 30px; }
.intro-title { margin: 0 0 34px; font-size: clamp(30px, 8vw, 42px); font-weight: 400; line-height: 1.35; letter-spacing: .04em; text-shadow: 0 4px 22px rgba(0, 0, 0, .3); }
.conversation { display: grid; gap: 11px; max-width: 100%; }
.bubble {
  width: fit-content; max-width: 94%; padding: 13px 16px; border: 0; border-left: 2px solid #e6cb9e;
  border-radius: 2px 15px 15px 2px; background: rgba(8, 27, 38, .61);
  backdrop-filter: blur(13px); box-shadow: 0 12px 35px rgba(0, 0, 0, .11);
  font-size: 16px; line-height: 1.6; text-wrap: pretty;
}
.bubble--reply { justify-self: end; border-left: 0; border-right: 2px solid #e6cb9e; border-radius: 15px 2px 2px 15px; color: #f8e9d1; background: rgba(222, 197, 155, .21); }
.bubble--typing:empty::after { content: "▍"; color: #e9cc99; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro-actions { display: flex; flex-direction: column; gap: 9px; }
.intro-actions .secondary { min-height: 44px; font-size: 13px; }

/* Boarding pass */
.ticket-screen { justify-content: space-between; }
.ticket-card {
  position: relative; margin: auto 9px; padding: 26px 24px 31px; border-radius: 7px;
  color: #213038; background: #f0e9dc; box-shadow: 0 28px 90px rgba(0, 0, 0, .39);
  transform: rotate(-2deg); touch-action: pan-y;
}
.ticket-card::before, .ticket-card::after { content: ""; position: absolute; width: 24px; height: 24px; top: 58%; border-radius: 50%; background: #0a1b29; }
.ticket-card::before { left: -12px; } .ticket-card::after { right: -12px; }
.ticket-label { color: #737a71; }
.ticket-card h1 { margin: 33px 0 24px; font: normal clamp(31px, 8vw, 40px)/1.24 Georgia, "Songti SC", serif; letter-spacing: .06em; }
.ticket-route { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid #c6c5b8; border-bottom: 1px dashed #aaa99c; font-size: 14px; line-height: 1.5; }
.ticket-foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; font: 11px/1.8 Georgia, serif; letter-spacing: .12em; color: #777e74; }
.ticket-foot strong { color: #273832; font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; letter-spacing: 0; }
.ticket-traveler { position: absolute; right: 17px; top: 15%; height: 105px; width: auto; filter: saturate(.64) drop-shadow(2px 8px 10px rgba(0, 0, 0, .18)); pointer-events: none; }
.ticket-footer { display: grid; gap: 12px; }
.ticket-caption { margin: 0 0 2px; text-align: center; font-size: 14px; color: #e9e4d8; }
.sound-choices { display: flex; gap: 8px; }
.sound-choices button { flex: 1; min-height: 42px; border: 1px solid rgba(243, 236, 221, .3); border-radius: 30px; background: rgba(255, 255, 255, .05); color: #e9e9e3; font-size: 13px; }
.sound-choices button.is-active { border-color: #e6ca98; color: #f4d8a7; background: rgba(234, 206, 157, .12); }
.quiet-note { margin: 0; text-align: center; font-size: 12px; line-height: 1.5; color: #d2d5d0; }

/* Travel transition */
.flight-screen { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 32px) 28px calc(env(safe-area-inset-bottom) + 27px); background: radial-gradient(circle at 55% 43%, #1b3b48 0, #0a2230 35%, #081826 75%); }
.flight-art { position: relative; height: 42%; margin-top: auto; }
.flight-circle { position: absolute; left: 50%; top: 42%; width: 225px; height: 225px; border: 1px solid rgba(229, 206, 166, .18); border-radius: 50%; transform: translate(-50%, -50%); }
.flight-circle--two { width: 315px; height: 315px; opacity: .5; }
.flight-trail { position: absolute; left: 8%; top: 48%; width: 84%; border-top: 1px dashed rgba(239, 212, 170, .58); transform: rotate(-13deg); }
.flight-plane { position: absolute; left: 11%; top: 40%; color: #ead1aa; font-size: 35px; line-height: 1; transform: rotate(27deg); animation: plane-move 1.85s ease-in-out both; }
@keyframes plane-move { 0% { left: 8%; top: 45%; opacity: 0; } 15% { opacity: 1; } 100% { left: 82%; top: 29%; opacity: 1; } }
.flight-copy { margin-bottom: auto; }
.flight-copy h1 { margin: 14px 0; font: normal clamp(33px, 8vw, 44px)/1.25 Georgia, "Songti SC", serif; }
.flight-copy p { margin: 0; color: #cbd5d3; font-size: 15px; line-height: 1.6; }
.flight-skip { align-self: flex-end; border: 0; background: none; color: #d6c9ae; font-size: 13px; padding: 12px 0; }

/* Regional route map */
.map-photo { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.035); filter: saturate(.82); }
.map-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,29,.12), rgba(7,20,29,.2)); }
.map-screen { padding-top: calc(env(safe-area-inset-top) + 24px); padding-bottom: calc(env(safe-area-inset-bottom) + 20px); }
.map-top { min-height: 30px; }
.sound-toggle { min-height: 34px; border: 1px solid rgba(235, 230, 217, .34); border-radius: 30px; background: rgba(7, 25, 36, .28); color: #f5ebd5; padding: 6px 11px; font-size: 12px; white-space: nowrap; }
.journey-line { position: relative; display: flex; justify-content: space-between; gap: 4px; margin: 22px 0 26px; }
.journey-line::before { content: ""; position: absolute; top: 14px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, rgba(224, 192, 149, .65), rgba(224, 192, 149, .23)); }
.journey-stop { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; width: 25%; color: #c7cfcb; }
.journey-dot { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(227, 207, 174, .55); border-radius: 50%; background: #172b34; font: 13px Georgia, serif; }
.journey-stop.is-current .journey-dot { color: #1b2c31; background: #e7d0a9; border-color: #e7d0a9; }
.journey-stop.is-stamped .journey-dot { color: #d7bd8d; font-size: 19px; }
.journey-stop small { font-size: 11px; }
.map-heading { position: relative; padding-bottom: 12px; }
.map-heading h1 { margin: 8px 0 6px; font: normal clamp(47px, 13vw, 66px)/1.05 Georgia, "Songti SC", serif; letter-spacing: .1em; text-shadow: 0 5px 28px rgba(0, 0, 0, .25); }
.map-heading p { margin: 0; max-width: 90%; color: #e5e6df; font-size: 14px; line-height: 1.65; }
.map-progress { display: flex; align-items: center; gap: 12px; margin-top: 17px; font-size: 12px; color: var(--accent); }
.mini-stamp { border: 1px solid currentColor; border-radius: 2px; padding: 2px 7px; transform: rotate(-6deg); }
.stop-list { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(145px, 1fr); align-content: start; gap: 9px; margin: 13px -5px 0; padding: 4px 5px 18px; scrollbar-width: none; }
.stop-list::-webkit-scrollbar { display: none; }
.stop-card { position: relative; display: flex; align-items: flex-end; min-height: 145px; width: 100%; overflow: hidden; padding: 13px; border: 1px solid rgba(238, 227, 207, .35); border-radius: 3px; background: #1a303c; text-align: left; color: #fff9eb; transition: transform .2s, border-color .2s; }
.stop-card::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(5,16,25,.13), rgba(5,16,25,.1) 38%, rgba(5,16,25,.86)); pointer-events: none; }
.stop-card:active:not(:disabled) { transform: scale(.98); }
.stop-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .5s; }
.stop-card:active:not(:disabled) img { transform: scale(1.05); }
.stop-card.is-locked img { filter: saturate(.35) brightness(.58); }
.stop-card.is-locked { opacity: .68; }
.stop-card.is-done { border-color: rgba(230, 200, 145, .8); }
.stop-card:last-child:nth-child(odd) { grid-column: span 2; }
.stop-copy { position: relative; z-index: 2; display: grid; gap: 4px; min-width: 0; padding-right: 15px; }
.stop-copy small { font-size: 9px; color: #f1d6aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stop-copy strong { font: normal 21px/1.18 Georgia, "Songti SC", serif; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.stop-copy > span { display: none; }
.stop-mark { position: absolute; z-index: 2; top: 11px; right: 12px; color: #f4dfb7; font: 18px Georgia, serif; }
.map-footer { margin-top: 3px; }
.map-footnote { margin: 0; color: #d6d7cd; font-size: 12px; text-align: center; line-height: 1.5; }
.map-next { min-height: 47px; font-size: 14px; }

/* Photographic scenes */
.scene-screen { position: relative; height: 100%; background: #091b28; }
.scene-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.scene-image, .scene-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-after { z-index: 1; opacity: 0; transform: translateY(2%) scale(1.025); transition: opacity .9s ease, transform 1.15s cubic-bezier(.2,.7,.18,1); pointer-events: none; }
.scene-stage.is-advanced .scene-after { opacity: 1; transform: translateY(0) scale(1); }
.scene-stage.is-complete .detail-marker,
.scene-stage.is-complete .hotspot,
.scene-stage.is-complete .camera-frame,
.scene-stage.is-complete .shutter,
.scene-stage.is-complete .time-control,
.scene-stage.is-complete .look-control { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.scene-screen--xinjiang-hills .scene-after { transform: translateX(5%); }
.scene-screen--xinjiang-hills .scene-stage.is-advanced .scene-after { transform: translateX(0); }
.scene-screen--hongkong-sunset .scene-after { transform: none; transition: opacity .16s linear; }
.scene-tone { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(5, 19, 29, .45) 0%, rgba(5, 19, 29, .03) 30%, rgba(5, 19, 29, .02) 58%, rgba(5, 19, 29, .56) 100%); pointer-events: none; }
.scene-character { position: absolute; z-index: 2; bottom: 19%; max-height: 16%; width: auto; opacity: .71; pointer-events: none; filter: saturate(.55) contrast(.9) drop-shadow(2px 8px 12px rgba(2, 10, 13, .42)); }
.scene-character--left { left: 4%; }
.scene-character--right { right: 4%; }
.scene-screen:not(.scene-screen--hongkong-sunset) .scene-stage.is-advanced .scene-character { opacity: 0; transform: translateY(16px); transition: opacity .55s, transform .65s; }
.scene-header { position: absolute; z-index: 12; left: 23px; right: 23px; top: calc(env(safe-area-inset-top) + 21px); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.back-link { padding: 6px 0; border: 0; background: none; color: #fff; font-size: 13px; white-space: nowrap; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.scene-index { color: #f6efe3; text-align: center; font-size: 10px; white-space: nowrap; }
.scene-header .sound-toggle { background: rgba(5, 18, 26, .42); }
.scene-title { position: absolute; z-index: 4; top: calc(env(safe-area-inset-top) + 90px); left: 26px; right: 24px; pointer-events: none; text-shadow: 0 3px 16px rgba(0, 0, 0, .35); }
.scene-title h1 { margin: 9px 0 0; font: normal clamp(31px, 8vw, 42px)/1.2 Georgia, "Songti SC", serif; letter-spacing: .04em; }
.scene-bottom { position: absolute; z-index: 12; bottom: calc(env(safe-area-inset-bottom) + 36px); left: 25px; right: 25px; padding: 4px 0 4px 15px; border: 0; border-left: 2px solid var(--scene-accent); border-radius: 0; background: none; text-shadow: 0 2px 11px rgba(0,0,0,.65); }
.scene-kicker { color: var(--scene-accent); text-transform: uppercase; }
.scene-bottom p { margin: 9px 0 0; font-size: 16px; line-height: 1.55; }
.scene-hint { display: flex; align-items: center; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-size: 13px; color: #e3e7e3; transition: opacity .45s, max-height .45s, margin .45s; }
.hint-visible .scene-hint { max-height: 40px; opacity: 1; margin-top: 13px; }
.hint-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--scene-accent); box-shadow: 0 0 14px var(--scene-accent); }
.scene-fallback { display: block; max-height: 0; overflow: hidden; width: 100%; margin-top: 0; padding: 0; border: 0; border-top: 0 solid transparent; background: none; color: var(--scene-accent); text-align: left; font-size: 13px; opacity: 0; transition: max-height .4s, margin .4s, padding .4s, opacity .4s; }
.hint-visible .scene-fallback { max-height: 54px; margin-top: 13px; padding: 11px 0 0; border-top-width: 1px; border-color: rgba(239, 231, 211, .17); opacity: 1; }
.scene-bottom--result { left: 20px; right: 20px; bottom: calc(env(safe-area-inset-bottom) + 25px); padding: 20px; border: 0; border-radius: 3px; background: #f0e9dc; color: #24343b; text-shadow: none; box-shadow: 0 20px 60px rgba(0,0,0,.26); animation: note-in .48s ease both; }
.scene-bottom--result .scene-kicker { color: #987249; }
.scene-bottom--result p { font-size: 17px; }
.scene-bottom--result .primary { background: #1c3942; border-color: #1c3942; color: #f8ead0; }
@keyframes note-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.result-actions { display: grid; gap: 8px; margin-top: 18px; }
.result-actions .primary { min-height: 46px; font-size: 14px; }
.text-button { min-height: 36px; border: 0; background: none; color: #47606a; font-size: 13px; }
.hotspot { position: absolute; z-index: 7; display: grid; place-items: center; width: 76px; height: 76px; border: 0; border-radius: 50%; background: transparent; color: #fff; transform: translate(-50%, -50%); }
.hotspot-ring { position: absolute; width: 48px; height: 48px; border: 1px solid #f5dfb9; border-radius: 50%; opacity: 0; box-shadow: 0 0 18px rgba(255, 232, 194, .45), inset 0 0 18px rgba(255, 232, 194, .12); }
.hotspot-core { font: 20px Georgia, serif; opacity: 0; }
.hint-visible .hotspot-ring, .hint-visible .hotspot-core { opacity: .9; animation: hotspot-breathe 2.5s ease-in-out infinite; }
@keyframes hotspot-breathe { 50% { transform: scale(1.13); opacity: .45; } }
.petal-layer { position: absolute; z-index: 5; top: 16%; left: -13%; width: 126%; height: 47%; object-fit: contain; opacity: 0; transform: translate(12%,-18%) rotate(-8deg); pointer-events: none; transition: opacity .25s, transform 2.1s ease-out; }
.is-blossom .petal-layer { opacity: .9; transform: translate(-5%,23%) rotate(8deg); }
.blossom-hotspot[hidden] { display: none; }
.river-hotspot[hidden] { display: none; }
.camera-frame { position: absolute; z-index: 5; left: 11%; top: 27%; width: 78%; height: 42%; pointer-events: none; transition: transform .15s; }
.camera-frame--hidden { display: none; }
.scene-screen--korea-hangang .camera-frame { top: 40%; height: 39%; }
.frame-corner { position: absolute; width: 26px; height: 26px; border-color: rgba(255,255,255,.86); border-style: solid; }
.frame-corner--tl { left: 0; top: 0; border-width: 2px 0 0 2px; }.frame-corner--tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.frame-corner--bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; }.frame-corner--br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.camera-cross { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 20px Georgia, serif; color: rgba(255,255,255,.8); }
.camera-frame.is-aligned .frame-corner { border-color: #f9d79e; box-shadow: 0 0 14px rgba(249,215,158,.28); }
.camera-frame.is-aligned .camera-cross { color: #f9d79e; }
.shutter { position: absolute; z-index: 8; left: 50%; bottom: 25%; width: 66px; height: 66px; display: grid; place-items: center; transform: translateX(-50%); border: 2px solid #fff; border-radius: 50%; background: rgba(13, 25, 32, .24); box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.shutter span { display: block; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.shutter--hidden { display: none; }
.scene-screen--hongkong-sunset .scene-stage.is-ready-to-film .time-control { opacity: 0; pointer-events: none; }
.stone-token { position: absolute; z-index: 7; left: 20%; bottom: 32%; width: 58px; height: 38px; border: 1px solid rgba(241,239,230,.7); border-radius: 50% 48% 45% 43%; background: radial-gradient(circle at 38% 30%, #c9c8bd, #858b82 75%); box-shadow: 0 9px 24px rgba(0,0,0,.35); transform: translateY(var(--drag-y, 0px)) rotate(-18deg); touch-action: none; }
.drink-token { position: absolute; z-index: 7; left: 45%; bottom: 28%; width: 76px; height: 112px; border: 0; background: transparent; transform: rotate(-6deg); }
.drink-straw { position: absolute; left: 48px; top: 4px; width: 3px; height: 37px; background: #f6ede0; transform: rotate(12deg); }
.drink-lid { position: absolute; left: 10px; top: 29px; width: 59px; height: 10px; border-radius: 5px; background: #e9dbcb; }
.drink-cup { position: absolute; left: 14px; top: 37px; width: 52px; height: 66px; background: linear-gradient(90deg, #eee2cd, #b99e7c); clip-path: polygon(0 0,100% 0,86% 100%,14% 100%); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.mini-ticket { position: absolute; z-index: 7; left: 50%; bottom: 29%; width: 145px; height: 90px; display: grid; align-content: center; gap: 5px; padding: 15px; border: 1px dashed #a9926e; border-radius: 3px; background: #e8dcc6; color: #243640; text-align: left; box-shadow: 0 12px 30px rgba(0,0,0,.3); transform: translate(-50%, var(--drag-y, 0px)) rotate(-7deg); touch-action: none; }
.mini-ticket small { font: 10px Georgia,serif; letter-spacing: .16em; }.mini-ticket strong { font-size: 14px; }.mini-ticket span { font-size: 11px; }
.time-control { position: absolute; z-index: 8; bottom: 26%; left: 12%; right: 12%; padding: 12px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(5,20,29,.48); backdrop-filter: blur(10px); }
.time-control div { display: flex; justify-content: space-between; color: #fff0d7; font-size: 12px; }
.time-control input { display: block; width: 100%; margin: 11px 0 2px; accent-color: #ead0a2; }
.ripple { position: absolute; z-index: 4; width: 13px; height: 13px; border: 2px solid rgba(242,247,236,.85); border-radius: 50%; transform: translate(-50%,-50%); animation: ripple-out 1.25s ease-out forwards; pointer-events: none; }
@keyframes ripple-out { to { width: 180px; height: 65px; opacity: 0; } }
.ripple--lake { border-color: rgba(239,251,255,.9); animation: lake-ripple 1.2s ease-out forwards; }
@keyframes lake-ripple { to { width: 95px; height: 27px; opacity: 0; } }
.look-reticle { position: absolute; z-index: 6; left: 15%; top: 25%; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; color: #fff; font: 22px Georgia,serif; transform: translate(-50%,-50%); box-shadow: 0 0 24px rgba(255,255,255,.18); transition: left .13s; pointer-events: none; }
.look-control { position: absolute; z-index: 8; bottom: 26%; left: 12%; right: 12%; padding: 12px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(5,20,29,.48); backdrop-filter: blur(10px); color: #fff0d7; font-size: 12px; }
.look-control input { display: block; width: 100%; margin: 10px 0 2px; accent-color: #ead0a2; }
.scene-stage.is-camera-action::after { content: ""; position: absolute; z-index: 9; inset: 0; background: white; opacity: 0; pointer-events: none; animation: camera-flash .58s ease-out; }
@keyframes camera-flash { 0% { opacity: 0; } 20% { opacity: .5; } 100% { opacity: 0; } }

/* The final film stays inside the travel journal page. */
.film-screen { position: relative; width: 100%; height: 100%; overflow-y: auto; background: #102c37; color: #183842; scrollbar-width: none; }
.film-screen::-webkit-scrollbar { display: none; }
.film-hero { position: absolute; inset: 0 0 auto; height: clamp(210px, 35vh, 300px); background: linear-gradient(180deg, rgba(7,24,35,.3), rgba(7,24,35,.08) 50%, rgba(7,24,35,.52)), url('./assets/hongkong-blue-hour.jpg') center 63% / cover; }
.film-top { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 20px); left: 21px; right: 21px; display: flex; align-items: center; justify-content: space-between; color: #fff7e8; font: 10px/1.3 Georgia, "Songti SC", serif; letter-spacing: .12em; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.film-top span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.film-top .icon { width: 17px; height: 17px; }
.film-paper { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; min-height: calc(100% - clamp(150px, 26vh, 210px)); margin-top: clamp(150px, 26vh, 210px); padding: 24px 21px calc(env(safe-area-inset-bottom) + 27px); border-radius: 7px 7px 0 0; background: #f7f4eb url('./assets/paper-texture.jpg') center / cover; box-shadow: 0 -8px 28px rgba(9,20,24,.16); }
.film-heading { padding-bottom: 3px; }
.film-kicker { display: inline-flex; align-items: center; gap: 7px; color: #976e51; font: 10px/1.2 Georgia, serif; letter-spacing: .17em; }
.film-kicker .icon { width: 16px; height: 16px; }
.film-heading h1 { margin: 10px 0 5px; font: normal clamp(27px, 7.3vw, 34px)/1.18 Georgia, "Songti SC", serif; letter-spacing: .015em; }
.film-heading p { margin: 0; color: #687572; font-size: 13px; line-height: 1.45; }
.film-player { position: relative; align-self: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 4px solid #fffaf1; border-radius: 5px; background: #18313d url('./assets/hongkong-blue-hour.jpg') center 64% / cover; box-shadow: 0 8px 24px rgba(25,38,42,.22); }
.film-player--portrait { width: min(64%, 230px); aspect-ratio: 9 / 16; }
.film-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.film-meta { display: flex; justify-content: space-between; margin-top: -4px; color: #8c806f; font: 10px/1.2 Georgia, serif; letter-spacing: .12em; }
.film-message { min-height: 57px; padding-top: 11px; border-top: 1px solid #d8d1c5; }
.film-message-label { color: #9a7554; font: 10px/1.3 Georgia, "Songti SC", serif; letter-spacing: .11em; }
.film-message h2 { margin: 7px 0 3px; font: normal 27px/1.15 Georgia, "Songti SC", serif; }
.film-message p { margin: 6px 0 0; color: #4d625f; font-size: 13px; line-height: 1.5; }
.film-message-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; margin-top: 12px; padding: 8px 17px; border: 0; border-radius: 4px; background: #17424a; color: #fff8e9; font-size: 13px; }
.film-message-button .icon { width: 15px; height: 15px; }
.film-foot-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 7px; }
.film-foot-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-height: 38px; padding: 7px 5px; border: 1px solid #cfc4b3; border-radius: 4px; background: rgba(255,255,255,.38); color: #53655f; font-size: 12px; }
.film-foot-actions .icon { width: 14px; height: 14px; }
.flash { position: absolute; z-index: 8; inset: 0; pointer-events: none; background: white; animation: camera-flash .8s ease-out forwards; }
@media (max-height: 680px) {
  .film-paper { gap: 8px; min-height: calc(100% - 145px); margin-top: 145px; padding: 16px 16px calc(env(safe-area-inset-bottom) + 16px); }
  .film-heading h1 { margin: 6px 0 3px; font-size: 26px; }
  .film-heading p { font-size: 12px; }
  .film-message { min-height: 45px; padding-top: 8px; }
  .film-message p { margin-top: 4px; font-size: 12px; }
  .film-message-button { margin-top: 8px; }
  .film-foot-actions { padding-top: 2px; }
}
.ending-screen { justify-content: space-between; }
.ending-center { margin: auto 0; }
.ending-stamps { color: #e7cba2; font-size: 13px; letter-spacing: .06em; }
.ending-center h1 { margin: 24px 0 16px; font: normal clamp(35px, 9vw, 47px)/1.32 Georgia, "Songti SC", serif; }
.ending-center p { margin: 0; color: #e9e5d9; font-size: 16px; }
.ending-actions { display: grid; gap: 10px; }

@media (min-width: 520px) {
  body { display: grid; place-items: center; min-height: 100dvh; background: radial-gradient(circle at 50% 40%, #17313d, #06121e 70%); }
  .app-shell { width: 430px; height: min(920px, 100dvh); min-height: 0; box-shadow: 0 0 110px rgba(0,0,0,.65); }
}
@media (max-width: 359px) {
  .screen { padding-left: 20px; padding-right: 20px; }
  .map-heading h1 { font-size: 45px; }
  .stop-list { grid-auto-rows: minmax(126px, 1fr); }
  .stop-card { min-height: 126px; padding: 10px; }
  .stop-copy strong { font-size: 18px; }
  .scene-bottom { left: 15px; right: 15px; }
}
@media (max-height: 670px) {
  .map-heading h1 { font-size: 44px; }
  .map-heading p { font-size: 13px; }
  .journey-line { margin: 12px 0 16px; }
  .stop-list { grid-auto-rows: minmax(115px, 1fr); }
  .stop-card { min-height: 115px; }
  .ticket-card h1 { margin: 18px 0; }
  .ticket-route { padding: 12px 0; }
  .scene-title { top: calc(env(safe-area-inset-top) + 74px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Travel-journal edition: photographs, paper and restrained wayfinding. */
.icon { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; }
.eyebrow .icon, .scene-kicker .icon, .map-progress .icon { width: 14px; height: 14px; margin-right: 5px; }
.primary .icon, .secondary .icon, .choice .icon, .text-button .icon { width: 17px; height: 17px; }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid rgba(244,235,217,.43); border-radius: 50%; background: rgba(10,31,41,.42); color: #fff4df; backdrop-filter: blur(10px); }
.icon-button .icon { width: 17px; height: 17px; }
.sound-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 35px; min-height: 35px; padding: 5px 10px; border-radius: 19px; background: rgba(10,31,41,.42); backdrop-filter: blur(10px); }
.sound-toggle .icon { width: 16px; height: 16px; }
.sound-choices button { display: flex; align-items: center; justify-content: center; gap: 7px; }
.sound-choices .icon { width: 16px; height: 16px; }

.intro-heading { width: fit-content; max-width: 100%; margin-bottom: 20px; padding: 17px 20px 13px; border-left: 3px solid #d7b781; border-radius: 1px 7px 7px 1px; background: rgba(242,234,217,.92); color: #24363a; box-shadow: 0 16px 40px rgba(0,0,0,.23); backdrop-filter: blur(12px); }
.intro-heading > .icon { width: 16px; height: 16px; margin-right: 7px; color: #956f44; }
.intro-heading > span { font-size: 11px; letter-spacing: .13em; color: #7d7768; }
.intro-title { margin: 12px 0 0; font-size: clamp(27px,7.5vw,37px); text-shadow: none; }
.conversation { gap: 9px; }
.bubble { border-radius: 4px 13px 13px 4px; background: rgba(8,29,40,.7); }
.bubble--reply { border-radius: 13px 4px 4px 13px; background: rgba(235,220,193,.32); }
.choice { border-radius: 7px; background: rgba(239,231,214,.86); color: #223941; border-color: rgba(255,252,244,.8); }
.intro-actions .secondary { border-radius: 7px; }
.ticket-card { border-radius: 3px; background: #f2ebdd; }
.ticket-top .eyebrow, .ticket-top .serial { font-size: 9px; white-space: nowrap; letter-spacing: .13em; }
.ticket-card::before, .ticket-card::after { background: #19303a; }
.flight-plane .icon { width: 38px; height: 38px; stroke-width: 1.6; }
.flight-copy { width: 100%; padding: 19px 20px; border-left: 3px solid #d7b781; border-radius: 2px 6px 6px 2px; background: #f1eadc; color: #253c42; box-shadow: 0 14px 35px rgba(0,0,0,.25); }
.flight-copy .serial { color: #8f795b; }
.flight-copy h1 { margin: 9px 0; font-size: clamp(28px,7.5vw,38px); }
.flight-copy p { color: #596668; font-size: 13px; }
.ending-center { padding: 25px 21px; border-left: 3px solid #d7b781; border-radius: 2px 6px 6px 2px; background: #f1eadc; color: #23383d; box-shadow: 0 16px 39px rgba(0,0,0,.25); }
.ending-stamps { color: #8b6d49; }
.ending-center h1 { margin: 17px 0 12px; font-size: clamp(30px,8vw,40px); }
.ending-center p { color: #66706b; font-size: 14px; }

.map-photo { top: 0; bottom: auto; height: 235px; background-position: center 42%; transform: none; filter: saturate(.95); }
.map-photo::after { background: linear-gradient(180deg,rgba(4,19,30,.67),rgba(4,19,30,.02) 60%,rgba(4,19,30,.1)); }
.map-screen { display: block; padding: 0; color: #23343a; }
.map-top { position: absolute; z-index: 5; top: calc(env(safe-area-inset-top) + 22px); left: 20px; right: 20px; min-height: 35px; }
.map-top .eyebrow { display: inline-flex; align-items: center; color: #f6e9d1; font-size: 10px; letter-spacing: .14em; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.map-top .eyebrow .icon { width: 17px; height: 17px; margin-right: 7px; }
.map-paper { position: absolute; inset: 174px 0 0; display: flex; flex-direction: column; min-height: 0; padding: 18px 20px calc(env(safe-area-inset-bottom) + 18px); border-radius: 18px 18px 0 0; background: #f1eadc; box-shadow: 0 -15px 38px rgba(8,24,35,.16); }
.map-paper::before { content: ''; position: absolute; top: 10px; left: 50%; width: 30px; height: 3px; border-radius: 5px; background: #c9bcaa; transform: translateX(-50%); }
.map-heading { padding: 5px 3px 0; }
.map-heading-top { display: flex; align-items: center; gap: 9px; }
.map-heading-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #ac9679; color: #8b6d49; }
.map-heading-icon .icon { width: 15px; height: 15px; }
.map-heading .serial { color: #826e57; font-size: 9px; letter-spacing: .14em; line-height: 1.4; }
.map-heading h1 { margin: 6px 0 2px; color: #23343a; font-size: clamp(36px,9vw,45px); line-height: 1.02; letter-spacing: .08em; text-shadow: none; }
.map-heading p { max-width: 100%; color: #576066; font-size: 13px; line-height: 1.45; }
.map-progress { justify-content: space-between; margin-top: 9px; color: #7d694f; font-size: 11px; }
.map-progress > span { display: inline-flex; align-items: center; }
.mini-stamp { gap: 3px; color: #7f765e; font-size: 10px; }
.mini-stamp .icon { margin: 0; width: 12px; height: 12px; }
.journey-line { flex: 0 0 auto; gap: 0; margin: 12px 0 13px; padding: 10px 8px 8px; border: 1px solid #ded2bd; border-radius: 5px; background: #eae1d0; }
.journey-line::before { top: 24px; left: 14%; right: 14%; background: #cbb898; }
.journey-stop { color: #746f66; gap: 4px; }
.journey-stop small { font-size: 10px; }
.journey-dot { width: 29px; height: 29px; background: #eee7d9; border-color: #b9a98c; color: #887c67; }
.journey-dot .icon { width: 14px; height: 14px; }
.journey-stop.is-current .journey-dot { background: #273d42; border-color: #273d42; color: #f5e5ca; }
.journey-stop.is-stamped .journey-dot { background: #d8c8aa; color: #4b554d; }
.stop-list { margin: 0 -3px; padding: 3px 3px 6px; gap: 9px; grid-auto-rows: minmax(120px,1fr); }
.stop-card { min-height: 120px; padding: 12px; border: 2px solid #f9f6ee; border-radius: 2px; box-shadow: 0 3px 11px rgba(43,55,58,.12); color: #fffaf0; }
.stop-card img { filter: saturate(.94); }
.stop-card::after { background: linear-gradient(180deg,rgba(4,16,24,.15),rgba(4,16,24,.09) 37%,rgba(4,16,24,.77)); }
.stop-card.is-done { border-color: #c4a779; }
.stop-card.is-locked { opacity: .66; }
.stop-card.is-locked img { filter: saturate(.28) brightness(.65); }
.stop-copy strong { font-size: 19px; }
.stop-copy small { font-size: 9px; letter-spacing: .1em; }
.stop-mark { top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(252,244,226,.7); border-radius: 50%; background: rgba(8,24,30,.28); }
.stop-mark .icon { width: 13px; height: 13px; }
.stop-found { position: absolute; z-index: 2; bottom: 7px; right: 8px; display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: #f3d8a5; }
.stop-found .icon { width: 11px; height: 11px; }
.map-footer { flex: 0 0 auto; padding-top: 10px; }
.map-footnote { color: #747269; font-size: 11px; }
.map-next { border-radius: 5px; background: #263d42; border-color: #263d42; color: #f7e9d1; justify-content: space-between; padding: 10px 15px; }
.map-next .icon:last-child { margin-left: auto; }

.scene-tone { background: linear-gradient(180deg,rgba(5,18,28,.48),rgba(5,18,28,.03) 25%,rgba(5,18,28,.01) 55%,rgba(5,18,28,.53)); }
.scene-header { left: 18px; right: 18px; top: calc(env(safe-area-inset-top) + 17px); }
.back-link { display: inline-flex; align-items: center; gap: 5px; min-height: 35px; padding: 0 10px; border: 1px solid rgba(244,235,217,.43); border-radius: 18px; background: rgba(10,31,41,.42); backdrop-filter: blur(10px); }
.back-link .icon { width: 15px; height: 15px; }
.scene-index { font-size: 9px; }
.scene-title { top: calc(env(safe-area-inset-top) + 76px); left: 19px; right: auto; max-width: calc(100% - 38px); width: fit-content; min-width: 180px; padding: 11px 14px 12px; border-left: 3px solid var(--scene-accent); border-radius: 1px 6px 6px 1px; background: rgba(244,237,222,.93); color: #23343b; box-shadow: 0 12px 30px rgba(0,0,0,.2); backdrop-filter: blur(8px); text-shadow: none; }
.scene-title .eyebrow { display: flex; align-items: center; color: #8d704e; font-size: 9px; letter-spacing: .14em; }
.scene-title h1 { margin-top: 5px; font-size: clamp(26px,7vw,34px); line-height: 1.14; }
.scene-character { bottom: 27%; max-height: 14%; opacity: .7; }
.scene-bottom { left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 19px); padding: 15px 17px 13px; border: 1px solid rgba(244,232,207,.32); border-top: 2px solid var(--scene-accent); border-radius: 7px; background: rgba(8,27,36,.72); box-shadow: 0 14px 35px rgba(0,0,0,.2); backdrop-filter: blur(16px); text-shadow: none; }
.scene-kicker { display: inline-flex; align-items: center; color: #e6cda5; font-size: 10px; letter-spacing: .14em; }
.scene-kicker:has(#scene-detail-count) { display: flex; justify-content: space-between; gap: 8px; width: 100%; }
#scene-detail-count { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; color: #e7d7b8; letter-spacing: .02em; }
#scene-detail-count .icon { width: 12px; height: 12px; margin: 0 2px 0 0; }
.scene-bottom p { margin-top: 5px; font-size: 15px; line-height: 1.35; }
.scene-hint { gap: 7px; font-size: 12px; color: #f1eadd; }
.scene-hint .icon { width: 15px; height: 15px; color: #e7c795; }
.hint-visible .scene-hint { margin-top: 10px; }
.scene-fallback { display: inline-flex; align-items: center; gap: 7px; min-height: 0; font-size: 12px; color: #f0d5a9; }
.hint-visible .scene-fallback { max-height: 40px; margin-top: 7px; padding-top: 8px; }
.scene-bottom--result { left: 18px; right: 18px; bottom: calc(env(safe-area-inset-bottom) + 19px); padding: 19px; border: 0; border-radius: 5px; background: #f1eadc; color: #24343b; }
.scene-bottom--result .scene-kicker { color: #8b6b46; }
.scene-bottom--result p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.scene-bottom--result .primary { border-radius: 5px; justify-content: center; }
.result-actions { margin-top: 14px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.detail-marker { position: absolute; z-index: 7; display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid rgba(251,241,217,.93); border-radius: 50%; background: rgba(13,37,45,.56); color: #fff4de; box-shadow: 0 0 0 6px rgba(255,245,224,.09),0 3px 15px rgba(0,0,0,.2); backdrop-filter: blur(7px); transform: translate(-50%,-50%) scale(.8); opacity: 0; transition: opacity .4s, transform .4s, background .3s; }
.detail-marker .icon { width: 16px; height: 16px; }
.hint-visible .detail-marker { opacity: .88; transform: translate(-50%,-50%) scale(1); }
.detail-marker.is-found { background: rgba(230,201,154,.8); color: #26383b; }
.detail-marker.is-pulsing { animation: marker-pulse 1s ease-out; }
@keyframes marker-pulse { 50% { box-shadow: 0 0 0 16px rgba(255,245,224,.16),0 3px 15px rgba(0,0,0,.2); } }
.detail-effect { position: absolute; z-index: 6; width: 25px; height: 25px; border: 2px solid rgba(255,244,212,.9); border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; animation: detail-wave 1.3s ease-out forwards; }
.detail-effect--glimmer { box-shadow: 0 0 30px 18px rgba(255,222,159,.45); }
.detail-effect--float { border-style: dotted; }
.detail-effect--trail { border-radius: 35%; }
.detail-effect--ripple { transform: translate(-50%,-50%) scaleY(.4); }
@keyframes detail-wave { to { width: 150px; height: 150px; opacity: 0; } }
.detail-toast { position: absolute; z-index: 18; top: 38%; left: 50%; display: flex; align-items: flex-start; gap: 10px; width: min(82%,310px); padding: 13px 15px; border-radius: 4px; background: rgba(245,237,220,.95); color: #24363a; box-shadow: 0 15px 38px rgba(0,0,0,.24); opacity: 0; pointer-events: none; transform: translate(-50%,10px); transition: opacity .25s, transform .25s; }
.detail-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.detail-toast-icon { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: #dfc7a0; color: #394844; }
.detail-toast-icon .icon { width: 15px; height: 15px; }
.detail-toast strong { font-size: 13px; }
.detail-toast p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: #536063; }
.hotspot-ring { opacity: .7; background: rgba(243,226,187,.1); }
.hotspot-core { opacity: .8; }
.shutter { bottom: 34%; width: 59px; height: 59px; }
.shutter span { width: 43px; height: 43px; }
.stone-token { bottom: 35%; width: 70px; height: 55px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.stone-token img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.scene-stage.is-complete .stone-token { animation: stone-throw .52s ease-in forwards; }
@keyframes stone-throw { to { opacity: 0; transform: translate(125px,-115px) scale(.36) rotate(75deg); } }
.drink-token { left: 5%; bottom: 14%; width: 115px; height: 160px; padding: 0; }
.drink-token img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 9px rgba(0,0,0,.28)); }
.scene-stage.is-complete .drink-token { animation: take-a-sip .65s ease-in-out forwards; }
@keyframes take-a-sip { 50% { transform: translateY(-32px) rotate(8deg) scale(1.08); } to { transform: translateY(-12px) rotate(5deg); } }
.mini-ticket { bottom: 35%; }
.scene-stage.is-complete .mini-ticket { animation: ticket-board .65s ease-in forwards; }
@keyframes ticket-board { to { opacity: 0; transform: translate(-50%,-185px) rotate(-3deg) scale(.7); } }
.time-control, .look-control { bottom: 34%; left: 16%; right: 16%; border-radius: 5px; }

.journal-modal { position: absolute; z-index: 25; inset: 0; display: flex; flex-direction: column; background: #f1eadc; color: #24373d; animation: note-in .35s ease-out; }
.journal-head { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 18px) 20px 13px; border-bottom: 1px solid #d6c8b1; }
.journal-head > span { display: flex; align-items: center; gap: 7px; color: #806b50; font: 10px Georgia,serif; letter-spacing: .15em; }
.journal-head .icon-button { color: #374b50; background: #e4d7c2; border-color: #d2bea0; }
.journal-scroll { min-height: 0; overflow-y: auto; padding: 25px 20px calc(env(safe-area-inset-bottom) + 30px); }
.journal-heading small { color: #9b7d56; font-size: 11px; letter-spacing: .16em; }
.journal-heading h2 { margin: 8px 0; font: normal 37px/1.1 Georgia,"Songti SC",serif; }
.journal-heading p { margin: 0; color: #64706e; font-size: 13px; }
.journal-stamps { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 24px 0 31px; }
.journal-stamp { display: grid; justify-items: center; gap: 4px; padding: 11px 1px; border: 1px dashed #bda989; border-radius: 50% / 36%; color: #aaa193; transform: rotate(-4deg); }
.journal-stamp:nth-child(even) { transform: rotate(4deg); }
.journal-stamp.is-stamped { color: #8c6744; border-color: #a97f56; background: rgba(199,162,113,.1); }
.journal-stamp .icon { width: 18px; height: 18px; }
.journal-stamp strong { font-size: 11px; font-weight: 500; }
.journal-stamp small { font-size: 9px; }
.journal-scroll h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid #d6c8b1; font-size: 14px; font-weight: 500; }
.journal-scroll h3 span { margin-left: auto; color: #8f7a5f; font-size: 12px; }
.journal-photos { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.journal-photo { padding: 6px 6px 10px; background: #fffaf0; box-shadow: 0 4px 13px rgba(49,53,48,.15); transform: rotate(-2deg); }
.journal-photo:nth-child(even) { transform: rotate(2deg); }
.journal-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.journal-photo span { display: block; margin: 7px 3px 0; font-size: 11px; }
.journal-empty { grid-column: 1/-1; color: #8c8a7f; font-size: 13px; }
.journal-restart { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 43px; margin-top: 36px; border: 1px solid #c9b9a0; border-radius: 4px; background: transparent; color: #6d6a5d; font-size: 12px; }
.journal-restart .icon { width: 14px; height: 14px; }

@media (max-width:359px), (max-height:670px) {
  .map-photo { height: 195px; }
  .map-paper { top: 143px; padding: 15px 15px calc(env(safe-area-inset-bottom) + 13px); }
  .map-top { left: 15px; right: 15px; }
  .map-heading h1 { font-size: 34px; }
  .map-heading p { font-size: 12px; }
  .journey-line { margin: 8px 0; padding: 7px 6px 6px; }
  .journey-line::before { top: 21px; }
  .stop-list { grid-auto-rows: minmax(105px,1fr); gap: 7px; }
  .stop-card { min-height: 105px; }
  .scene-header { left: 11px; right: 11px; gap: 4px; }
  .scene-header .header-actions { gap: 4px; }
  .scene-index { display: none; }
  .scene-title { top: calc(env(safe-area-inset-top) + 65px); }
  .scene-bottom { left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 12px); padding: 12px 14px; }
  .scene-bottom p { font-size: 14px; }
  .shutter, .mini-ticket, .time-control, .look-control, .stone-token { bottom: 38%; }
  .drink-token { bottom: 14%; }
}
