/* Gameplay-only hierarchy; old source/art and saved histories remain intact. */
.focused-game{padding:10px 16px 40px;max-width:1000px}.journey-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:76px minmax(0,1fr);gap:6px 14px;padding:12px max(12px,env(safe-area-inset-right)) 7px max(12px,env(safe-area-inset-left));background:#0c192cfb;border:1px solid #49617e;box-shadow:0 5px 0 #061020;font-family:Manrope,Arial,sans-serif}.journey-time strong{display:block;color:#eacb92;font-size:29px;line-height:1.1}.journey-time small{font-size:12px}.journey-time>span{font-size:12px;color:#b8cbe3}.journey-identity{min-width:0}.journey-identity h1{font-size:19px;line-height:1.25;margin:0;overflow-wrap:anywhere;max-height:48px;overflow:auto}.journey-identity p{font-size:12px;margin:4px 0;color:#b7c8dd;overflow-wrap:anywhere}.journey-controls{grid-column:1/-1;display:flex;gap:6px;align-items:stretch}.journey-controls button{min-height:40px;font-size:12px;padding:6px 12px;background:#182c48;color:#f5f1e9;border:1px solid #486489;cursor:pointer}.journey-controls button:disabled{opacity:.45;cursor:default}.speed-buttons{display:flex;gap:3px;margin-left:auto}.speed-buttons button{padding:6px 10px}.journey-controls [aria-pressed=true]{color:#071324;background:#adc9f2;border-color:#dce9fa}.advanced-speed{display:none}.journey-header .reading-progress{grid-column:1/-1;margin:2px 0 0;height:3px}.journey-header #playback-state{grid-column:1/-1;margin:0;font-size:10px;color:#abc2de;line-height:1.4;min-height:14px}.journey-header .reading-progress i{transition:width .15s linear}.focused-game .game-toolbar{margin:10px 0;display:flex}.focused-game .game-shell{display:block}.focused-game .game-main{width:100%;display:block}.character-details{position:static!important;width:100%;margin-top:22px}.focused-game .story-card{min-height:0;padding:18px 22px}.focused-game .story-card h2{font-size:25px;margin:8px 0 12px}.focused-game .active-narrative{font-size:16px;line-height:1.75}.journey-story-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#b3cbed;margin:15px 0 8px}.journey-situation{font-size:13px;line-height:1.6;color:#b8cce6;margin:8px 0}.focused-game .dock-attributes.attributes-019{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:0;margin:8px 0 14px;border:0}.attributes-019 .attribute-button{position:relative;--attribute-color:#8eb7e6}.attributes-019 [data-attribute=health]{--attribute-color:#8dc2ab}.attributes-019 [data-attribute=happiness]{--attribute-color:#e4c27a}.attributes-019 [data-attribute=relations]{--attribute-color:#d796ab}.attributes-019 .attribute-track i{background:var(--attribute-color)}.attribute-change{position:absolute;right:5px;top:8px;font-size:12px;color:var(--attribute-color);animation:attribute-notice 2.5s ease-out forwards;pointer-events:none}@keyframes attribute-notice{0%,60%{opacity:1}100%{opacity:.4}}.death-passage{text-align:center;padding:18px}.death-passage p{font-size:15px;color:#bed0e7}.death-passage button{min-height:44px}.focused-game [id=active-event-title]{scroll-margin-top:190px}.focused-game .playback-dock{display:none!important}
@media(max-width:600px){.focused-game{padding:6px 10px 25px}.journey-header{gap:5px 9px;padding:8px 9px 5px;grid-template-columns:65px minmax(0,1fr)}.journey-time strong{font-size:26px}.journey-identity h1{font-size:16px;max-height:40px}.journey-identity p{font-size:11px}.journey-controls{gap:4px;display:grid;grid-template-columns:auto minmax(0,1fr) auto 36px}.journey-controls button{padding:5px 8px;min-height:40px;font-size:11px}.speed-buttons{margin:0;justify-content:center}.speed-buttons button{padding:4px 7px}.journey-controls #open-reading-settings{padding:0}.journey-controls #open-reading-settings span{display:none}.journey-stage svg{height:150px;max-height:170px}.journey-stage figcaption{font-size:10px;padding:6px 8px;gap:4px}.focused-game .active-narrative{font-size:15px;line-height:1.7}.focused-game .story-card{padding:16px}.focused-game .story-card h2{font-size:23px}.attribute-label{font-size:9px}.attributes-019 strong{font-size:16px}.journey-header #playback-state{font-size:9px}.journey-situation{font-size:11px}.journey-stage figcaption span{font-size:9px}.journey-controls .speed-buttons{gap:2px}.focused-game .game-toolbar button{font-size:11px}.focused-game .game-toolbar{margin:6px 0}.attribute-change{top:22px}}
@media(prefers-reduced-motion:reduce){.journey-stage *,.attribute-change{animation:none!important;transition:none!important}.journey-stage .walk-frame{opacity:0}.journey-stage .frame-0{opacity:1}.journey-stage .journey-spirit{display:none}.journey-header .reading-progress i{transition:none}}
.journey-identity h1{max-height:none;overflow:visible}.journey-stage svg{height:210px;max-height:210px}.reduce-motion .journey-stage *,.reduce-motion .attribute-change{animation:none!important;transition:none!important}.reduce-motion .journey-stage .walk-frame{opacity:0}.reduce-motion .journey-stage .frame-0{opacity:1}.reduce-motion .journey-spirit{display:none}.reduce-motion .reading-progress i{transition:none}@media(max-width:600px){.journey-stage svg{height:145px;max-height:145px}.journey-identity h1{font-size:15px;line-height:1.25}}
.journey-header{padding-top:max(12px,env(safe-area-inset-top));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}@media(max-width:600px){.journey-header{padding-top:max(8px,env(safe-area-inset-top));padding-left:max(9px,env(safe-area-inset-left));padding-right:max(9px,env(safe-area-inset-right))}}

/* Corrective addendum: restrained header motion and static supporting artwork. */
.journey-controls{align-items:center;gap:6px}.playback-sprite{display:inline-flex;flex:0 0 40px;width:40px;height:44px;overflow:hidden;align-items:center;justify-content:center}.playback-sprite svg{width:32px;height:44px;image-rendering:pixelated;overflow:visible}.walk-frame{opacity:0;animation:compact-walk var(--journey-duration,1.1s) steps(1,end) infinite}.frame-1{animation-delay:calc(var(--journey-duration,1.1s)*-.75)}.frame-2{animation-delay:calc(var(--journey-duration,1.1s)*-.5)}.frame-3{animation-delay:calc(var(--journey-duration,1.1s)*-.25)}.playback-sprite[data-motion=paused] .walk-frame{animation-play-state:paused}.compact-spirit{opacity:0}.sprite-farewell .walk-frame{animation:none;opacity:0}.sprite-farewell .frame-0{opacity:1}.sprite-farewell .compact-actor{animation:compact-rest 1.2s ease-out forwards,compact-fade 3.8s ease-out forwards;transform-origin:0 0}.sprite-farewell[data-age-stage=newborn] .compact-actor,.sprite-farewell[data-age-stage=infant] .compact-actor{animation:compact-fade 3.8s ease-out forwards}.sprite-farewell .compact-spirit{animation:compact-spirit 3.8s ease-out forwards}.journey-stage{margin:0 0 5px;border:0;background:#112039;overflow:hidden;box-shadow:none}.journey-stage svg{display:block;width:100%;height:170px;max-height:170px;image-rendering:pixelated}.journey-stage figcaption{font-size:11px;color:#abc2de;padding:4px 0;line-height:1.35}.focused-game .journey-situation{margin:3px 0;font-size:11px}.focused-game .dock-attributes.attributes-019{margin:5px 0 8px}.journey-story-label{margin:8px 0 4px}.focused-game .story-card{padding:14px 18px}.focused-game .active-narrative{line-height:1.6}.focused-game .story-card h2{margin:5px 0 8px}.game-toolbar{order:9}.focused-game .game-toolbar{margin:8px 0}.death-passage{padding:16px}.death-passage p{margin:8px 0 16px}
@keyframes compact-walk{0%,24.99%{opacity:1}25%,100%{opacity:0}}@keyframes compact-rest{to{transform:translateY(-2px) rotate(75deg)}}@keyframes compact-spirit{0%,25%{opacity:0;transform:translateY(0)}40%{opacity:.55}100%{opacity:0;transform:translateY(-17px)}}@keyframes compact-fade{0%,65%{opacity:1}100%{opacity:0}}
@media(max-width:600px){.journey-controls{display:flex;gap:3px}.journey-controls button{padding:4px 6px;min-height:36px;min-width:0}.journey-controls #play-toggle{flex:0 0 34px}.play-label{display:none}.playback-sprite{width:30px;height:36px;flex-basis:30px}.playback-sprite svg{width:25px;height:36px}.journey-controls .speed-buttons{flex:1;gap:2px}.speed-buttons button{flex:1;padding:4px 3px}.journey-controls #open-reading-settings{flex:0 0 30px}.journey-controls #next-event{font-size:10px;padding:4px}.journey-stage svg{height:115px;max-height:115px}.journey-stage figcaption{font-size:10px;padding:3px 0}.focused-game .story-card{padding:12px}.focused-game .story-card h2{font-size:21px}.focused-game .active-narrative{font-size:15px;line-height:1.55}}
.reduce-motion .playback-sprite *{animation:none!important;transition:none!important}.reduce-motion .playback-sprite .walk-frame{opacity:0}.reduce-motion .playback-sprite .frame-0{opacity:1}.reduce-motion .compact-spirit{display:none}
@media(prefers-reduced-motion:reduce){.playback-sprite *{animation:none!important;transition:none!important}.playback-sprite .walk-frame{opacity:0}.playback-sprite .frame-0{opacity:1}.compact-spirit{display:none}}
