@font-face{font-family:Brand;src:url('/journey/fonts/ChosunCentennial.woff2') format('woff2');font-display:swap}
@font-face{font-family:PlayerUI;src:url('/journey/player-ui.woff2') format('woff2');font-display:swap;font-weight:400 700}
:root{--paper:#f6f3eb;--ink:#443d33;--line:#dcd7ca}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 PlayerUI,Pretendard,-apple-system,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #ad512f;outline-offset:4px}button:disabled{cursor:wait;opacity:.45}.page-shell{height:100svh;height:100dvh;max-width:1536px;padding:0 32px 12px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:68px minmax(0,var(--stage-height,1fr)) auto auto;align-content:center;gap:0}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:Brand,serif;font-size:22px;white-space:nowrap}.site-header nav{display:flex;gap:10px}.site-header nav a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;background:#e9e5db;font-size:13px}.story-area{min-height:0}.stage-wrap{height:100%;position:relative;overflow:hidden;background:#d9e2df}.stage-wrap iframe{border:0;display:block;width:100%;height:100%}.loading{position:absolute;inset:0;display:grid;place-content:center;margin:0;background:#d9e2df;font-size:13px;color:#5c665e}.loading[hidden]{display:none}.player-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.player-controls button{border:0;background:none;min-height:40px;padding:6px 14px;font-size:12px}.player-controls>button{padding-left:0;padding-right:0;color:#756e61}.transport{display:flex;gap:4px}.transport button[aria-pressed=true]{background:#443d33;color:#f6f3eb}.branch-cards{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.branch{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;padding:12px 24px;gap:3px 20px}.branch:first-child{padding-left:0;border-right:1px solid var(--line)}.branch:last-child{padding-right:0}.branch-name{font-size:18px;font-weight:600}.branch-note{grid-row:2;font-size:12px;color:#7a7368}.branch-action{grid-column:2;grid-row:1/3;align-self:center;font-size:12px}.branch:hover .branch-name{color:#ad512f}.social-links{display:flex;align-items:center;justify-content:flex-end;gap:17px;font-size:11px;color:#716a60}.social-links a{min-height:32px;display:inline-flex;align-items:center}.place-label{margin-left:12px;color:#8c8579}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}dialog{border:0;background:var(--paper);color:var(--ink);width:min(620px,calc(100% - 32px));max-height:85dvh;padding:28px 36px;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#17232066}dialog h1{font-family:Brand,serif;font-size:24px;font-weight:400}dialog button{display:block;margin-left:auto;border:0;background:#e9e5db;padding:8px 15px}.story-text{font-size:16px;line-height:1.9}noscript .story-text{padding:28px}
@media(max-width:700px){.page-shell{padding:0 14px max(8px,env(safe-area-inset-bottom));grid-template-rows:58px minmax(0,var(--stage-height,1fr)) auto auto}.site-header{gap:9px}.brand{font-size:17px}.site-header nav{gap:5px}.site-header nav a{padding:0 9px;font-size:11px;min-height:36px}.player-controls{gap:4px}.player-controls button{padding:7px 9px;font-size:11px}.player-controls>button{font-size:10px;padding:0}.transport{gap:1px}.branch{padding:9px 12px;gap:3px 5px;grid-template-columns:1fr}.branch-name{font-size:15px}.branch-note{font-size:10px}.branch-action{display:none}.social-links{gap:10px;font-size:10px;justify-content:center}.place-label{margin-left:2px}.story-text{font-size:15px}dialog{padding:20px 24px}}
@media(max-height:620px) and (min-width:701px){.page-shell{grid-template-rows:48px minmax(0,var(--stage-height,1fr)) auto auto;padding-bottom:4px}.brand{font-size:19px}.branch-name{font-size:16px}.branch-note{font-size:11px}}
@media(max-width:350px){.brand{font-size:15px}.site-header nav a{padding:0 7px}.social-links{gap:7px;font-size:9px}}
/* Scene-matched ambient light around the story, without a beige mat. */
body{background:#c6dce4;transition:background-color 1.1s ease,color .8s ease;--ink:#263c43;--muted:#4b626b;--line:rgba(32,58,67,.18);--ambient-glow:#c5dce3;--active-text:#f3f6f6;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,var(--ambient-glow),transparent 78%);opacity:.3}
.stage-wrap{box-shadow:0 0 70px -10px var(--ambient-glow)}
.site-header nav a{background:rgba(255,255,255,.13)}
.player-controls>button,.branch-note,.social-links,.place-label{color:var(--muted)}
.transport button[aria-pressed=true]{background:var(--ink);color:var(--active-text)}
.branch:hover .branch-name{color:var(--ink)}
dialog{background:var(--ink);color:var(--active-text)}dialog button{background:rgba(128,150,165,.18);color:inherit}
@media(prefers-reduced-motion:reduce){body{transition:none}}

/* A contained 16:10 desktop composition; scale both axes together. */
.story-area{display:flex;align-items:center;justify-content:center;min-width:0}
.stage-wrap{flex:none;max-width:100%}
.stage-wrap iframe{position:absolute;left:0;top:0;transform-origin:0 0}
.player-controls,.branch-cards,.social-links{width:min(100%,var(--stage-width,100%));margin-left:auto;margin-right:auto}
@media(max-width:700px){.stage-wrap{width:100%;height:100%}}

/* Two quiet controls. Manual navigation is a gesture, not another mode button. */
.player-controls{justify-content:flex-end;position:relative}
.gesture-hint{margin-right:auto;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}
.gesture-hint[hidden]{display:none}
.gesture-hint svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.hint-mobile{display:none}
.player-controls .icon-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;color:var(--ink);background:transparent!important}
.icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.icon-button .pause-icon{display:none}
body[data-playing=true] .icon-button .pause-icon{display:block}
body[data-playing=true] .icon-button .play-icon{display:none}
@media(max-width:700px){.hint-desktop{display:none}.hint-mobile{display:inline}.gesture-hint{font-size:10px}}

/* R194: transport belongs to the stage, anchored to its lower center at every size. */
.stage-wrap .player-controls{position:absolute;z-index:5;left:50%;bottom:12px;transform:translateX(-50%);width:auto;margin:0;display:block;color:#edf3f6}
.player-controls .transport{position:relative;display:flex;align-items:center;gap:0;padding:0;border-radius:0;background:transparent;box-shadow:none}
.player-controls .transport::before{content:"";position:absolute;inset:7px 9px;border-radius:999px;background:rgba(13,27,39,.08);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);pointer-events:none}
.player-controls .icon-button{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;color:var(--ink);background:transparent!important;touch-action:manipulation;transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease}
.player-controls #play{background:transparent!important;box-shadow:none}
.player-controls .icon-button:active{transform:scale(.93)}
.player-controls .icon-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.player-controls .icon-button:disabled{cursor:wait;opacity:.45}
.player-controls .icon-button svg{width:16px;height:16px;stroke-width:1.6;opacity:.8}
.player-controls #play svg{position:absolute;width:16px;height:16px;fill:currentColor;stroke:none;transition:opacity .18s ease,transform .18s ease}
.player-controls #play .play-icon{display:block;opacity:1;transform:translateX(-4px) scale(1)}
.player-controls #play .pause-icon{display:block;opacity:0;transform:translateX(-5px) scale(.7)}
body[data-playing=true] .player-controls #play .play-icon{display:block;opacity:0;transform:translateX(-4px) scale(.7)}
body[data-playing=true] .player-controls #play .pause-icon{display:block;opacity:1;transform:translateX(-5px) scale(1)}
.stage-wrap .gesture-hint{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);margin:0;padding:0;gap:4px;border-radius:0;background:none;color:var(--muted);text-shadow:0 1px 5px rgba(9,20,30,.45);font-size:9px;line-height:1.3;white-space:nowrap;pointer-events:none}
.stage-wrap .gesture-hint svg{width:14px;height:14px}
@media(hover:hover){.player-controls .icon-button:hover{background:transparent!important}.player-controls .icon-button:hover svg{opacity:1}}
@media(prefers-reduced-motion:reduce){.player-controls .icon-button,.player-controls #play svg{transition:none}}

/* Header, art and CTA share one fitted composition instead of viewport edges. */
.site-header{width:min(100%,var(--stage-width,100%));height:100%;margin:0 auto}

/* R196: reserve exactly two small, unbroken footer lines inside the same viewport. */
html,body{height:100%;overflow:hidden}
.legal-footer{width:min(100%,var(--stage-width,100%));margin:0 auto;padding:4px 0 0;display:grid;gap:1px;text-align:center;color:var(--muted);font-size:10px;line-height:1.4;font-weight:400;min-width:0}
.legal-footer p{margin:0;white-space:nowrap}
.legal-footer a{display:inline-block;white-space:nowrap;color:inherit;text-decoration:none}
.legal-footer a:focus-visible{outline-offset:1px}
@media(max-width:700px){.legal-footer{font-size:clamp(8.5px,2.4vw,10px)}}

/* R197: no pale fallback is exposed at fractional clipped iframe edges. */
.stage-wrap{background:linear-gradient(var(--stage-sky-top,#d2dcd4),var(--stage-sky-bottom,#ece5ce))}

/* R198: move the glyphs inward without overlapping their separate 44px hit areas. */
.player-controls #restart svg{translate:5px 0}
