@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;900&display=swap');
:root{color-scheme:dark;--ink:#ecebdc;--muted:#b2beb2;--gold:#d2b47d;--line:#e2ead128;--panel:#14241feb}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#17271f;color:var(--ink);font:14px 'Noto Sans JP',sans-serif}button,input,select{font:inherit}button{background:#22372edb;border:1px solid var(--line);color:var(--ink);padding:12px 18px;border-radius:4px;cursor:pointer;touch-action:manipulation;transition:.15s}button:hover{background:#3b5041;border-color:#b5c8ae}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:wait}button.primary{background:var(--gold);color:#18261e;border-color:var(--gold);font-weight:700}.small{padding:7px 11px;font-size:11px}.full{width:100%}a{color:var(--gold);text-underline-offset:3px}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none;outline:none}#ui{position:fixed;inset:0;pointer-events:none}#ui>*{pointer-events:auto}.loading{height:100%;display:flex;align-items:center;justify-content:center;background:#14211d}.loading article{width:min(420px,85vw)}.loading h1{letter-spacing:.15em;font-size:35px}.eyebrow{font-size:10px;letter-spacing:.28em;color:var(--gold)}.loading progress{width:100%;height:3px;margin:18px 0}.muted{color:var(--muted);font-size:12px;line-height:1.9}.title{height:100%;display:flex;align-items:center;padding:7vw;background:linear-gradient(90deg,#071510e8,#07151085 39%,#0715100a 70%)}.title h1{font-weight:900;font-size:clamp(55px,7vw,98px);letter-spacing:.1em;line-height:1.3;margin:20px 0 2px;text-shadow:0 6px 30px #0005}.title h2{font-size:14px;letter-spacing:.6em;color:var(--gold);font-weight:500}.title p{font-size:13px;line-height:2.2;color:#cad2bf;margin:35px 0}.title .primary{min-width:250px;padding:16px}.build{font:10px monospace;color:#a0b19b;letter-spacing:.15em;margin-top:34px}.menu-shell{height:100%;overflow:auto;padding:30px 4vw;background:linear-gradient(90deg,#0c1e18ef,#0c1e1888 43%,transparent 85%)}.menu-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.wordmark{font-weight:700;font-size:17px;letter-spacing:.14em}.wordmark small{display:block;font-size:9px;color:var(--gold);letter-spacing:.25em;margin-top:5px}.account{display:flex;gap:10px;align-items:center;font-size:11px}.menu-panel{max-width:425px;margin-top:10vh;background:#15271ee8;border:1px solid var(--line);padding:26px;box-shadow:0 15px 65px #0002}.menu-panel h1{font-size:30px;margin:12px 0 25px}.menu-buttons{display:grid;gap:10px}.menu-buttons button{text-align:left;padding:15px 17px}.menu-bottom{margin-top:24px;display:flex;gap:15px;flex-wrap:wrap;font-size:11px}.badge{font-size:10px;color:var(--gold);border:1px solid #c8ab7350;padding:4px 8px;display:inline-block}.auth{max-width:440px;margin:5vh auto;background:var(--panel);padding:27px;border:1px solid var(--line);max-height:90vh;overflow:auto;box-shadow:0 20px 60px #0005}.auth-shell{position:absolute;inset:0;background:#0b1b1688;overflow:auto}.tabs{display:flex;margin:22px 0}.tabs button{flex:1}.tabs .active{border-color:var(--gold);color:var(--gold)}label{display:block;font-size:12px;color:#c9d1bf;margin:16px 0}input,select{width:100%;background:#0c1a15;border:1px solid #d8e0cc35;color:var(--ink);padding:12px;border-radius:3px;display:block;margin-top:7px}input:focus{outline:1px solid var(--gold)}.error{color:#f4a18a;font-size:12px;line-height:1.8}.hud{position:fixed;inset:0;pointer-events:none!important}.hud>*{pointer-events:auto}.hud-top{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;gap:15px;align-items:start}.survivor-status{width:202px;background:#11211bbd;backdrop-filter:blur(8px);border:1px solid #dde6cf22;border-radius:5px;padding:13px 15px}.status-name{font-size:11px;display:flex;justify-content:space-between;color:#d8dfcc;margin-bottom:12px}.status-name span{color:var(--gold);font:11px monospace}.gauge{display:grid;grid-template-columns:33px 1fr 24px;align-items:center;font-size:10px;gap:8px;margin:9px 0}.gauge b{text-align:right;font-weight:400;color:#c0cbb6}.bar{height:4px;background:#c7d4b225;border-radius:5px;overflow:hidden}.bar i{display:block;height:100%;background:#a5b88b}.health .bar i{background:#d68d74}.water .bar i{background:#8fb9bd}.stamina .bar i{background:#d2b47d}.condition{font-size:9px;color:#ecaf88;line-height:1.8;margin-top:8px}.mission{background:#11211ba8;border:1px solid #dde6cf18;padding:11px 17px;max-width:350px;border-radius:4px;text-align:center;font-size:11px;line-height:1.8}.mission small{display:block;font-size:9px;color:var(--gold);letter-spacing:.15em;margin-bottom:2px}.hud-right{display:flex;flex-direction:column;align-items:end;gap:8px}.mini-map{width:142px;height:142px;border:1px solid #d8dec244;border-radius:5px;background:#203c30bd;box-shadow:0 5px 25px #0002}.clock{font:18px monospace;color:#efe3c5;text-shadow:0 2px 3px #000}.clock small{font:10px sans-serif;color:#d3dfc2}.hud-buttons{display:flex;gap:5px}.hud-buttons button{background:#14271fc9}.save-label{font-size:9px;color:#c7d5bb;text-shadow:0 1px 4px #000}.crosshair{position:absolute;left:50%;top:50%;width:5px;height:5px;border:1px solid #fff9;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none!important;box-shadow:0 0 5px #0005}.interact-prompt{position:absolute;left:50%;top:58%;transform:translateX(-50%);background:#10241dde;border:1px solid #dfd9b53a;padding:10px 17px;border-radius:4px;font-size:12px;white-space:nowrap;display:none}.interact-prompt kbd{font:11px monospace;background:#d6c294;color:#18251f;padding:3px 6px;border-radius:2px;margin-right:10px}.bottom-hud{position:absolute;left:20px;right:20px;bottom:18px;display:flex;justify-content:space-between;align-items:end;pointer-events:none!important}.bottom-hud>*{pointer-events:auto}.area-info{max-width:300px;pointer-events:none!important}.area-info strong{font-size:13px;font-weight:500;text-shadow:0 2px 4px #000}.area-info p{font-size:10px;color:#d0d8c1;line-height:1.8;margin:7px 0;text-shadow:0 2px 3px #000}.quickbar{display:flex;gap:5px}.slot{min-width:63px;font-size:10px;padding:9px 10px;background:#13251cd9;border-color:#dbe1c12a;text-align:left}.slot small{display:block;color:var(--gold);font:9px monospace;margin-bottom:3px}.control-hint{font-size:9px;color:#d3ddc4;text-shadow:0 1px 3px #000;margin-top:9px;line-height:1.8}.weapon-info{background:#13251cba;padding:9px 13px;border:1px solid #dbe1c12a;border-radius:4px;font-size:10px;text-align:right;line-height:1.9}.weapon-info b{font-size:12px;color:var(--gold)}.input-hint{position:absolute;left:50%;bottom:135px;transform:translateX(-50%);background:#172a21c9;border:1px solid #d3dfbf33;padding:9px 16px;font-size:10px;border-radius:3px;white-space:nowrap}.joystick{position:absolute;bottom:44px;left:26px;width:120px;height:120px;border:1px solid #dde6cb4d;border-radius:50%;background:#152b1f55;touch-action:none;display:none}.joystick i{position:absolute;left:37px;top:37px;width:46px;height:46px;background:#ced1ad65;border:1px solid #f3e6bc80;border-radius:50%;pointer-events:none}.touch-actions{position:absolute;right:20px;bottom:42px;display:none;gap:8px;align-items:center}.touch-actions button{border-radius:50%;width:56px;height:56px;padding:0;background:#1a3125c9;font-size:11px;touch-action:none}.touch-actions button.main{width:70px;height:70px;border-color:#cfba85;background:#ad955ebf;color:white}.touch-small{position:absolute;bottom:155px;right:24px;display:none;gap:7px}.touch-small button{padding:7px 10px;background:#1a3125c9;font-size:10px}.hurt-vignette{position:absolute;inset:0;box-shadow:inset 0 0 100px #a42c1b70;opacity:0;pointer-events:none!important;transition:opacity .15s}.vehicle-hud{position:absolute;left:50%;bottom:135px;transform:translateX(-50%);background:#172a21df;border:1px solid var(--line);padding:11px 20px;text-align:center;border-radius:4px;font-size:12px}.vehicle-hud b{font:25px monospace;color:var(--gold)}dialog{color:var(--ink);background:#14271ff2;border:1px solid #c7c7a844;border-radius:6px;width:min(740px,calc(100vw - 30px));max-height:88dvh;padding:26px;box-shadow:0 20px 100px #0007}dialog::backdrop{background:#07160eb0;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog h2{font-size:25px;font-weight:600;margin:10px 0 18px}dialog h3{font-size:14px;color:var(--gold)}dialog p,dialog li{font-size:12px;line-height:1.95;color:#c6d1bb}.row{display:flex;gap:8px;flex-wrap:wrap}.inventory{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.item{background:#263a2f80;border:1px solid var(--line);padding:12px;display:flex;justify-content:space-between;gap:12px;align-items:center}.item strong{font-size:12px;font-weight:500}.item small{display:block;font-size:10px;color:#aebda4;margin-top:4px}.item .small{padding:6px 9px}.recipe{border-bottom:1px solid var(--line);padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.recipe p{margin:4px 0;font-size:10px}.objective-list{display:grid;gap:10px}.objective-card{background:#2c413080;border:1px solid var(--line);padding:15px}.objective-card.done{border-color:#8aac6d}.objective-card strong{font-size:12px}.objective-card p{margin:5px 0 0}.world-map{width:100%;max-height:52vh;aspect-ratio:1;background:#253f31;border:1px solid var(--line)}.legend{font-size:10px;color:var(--muted)}.loot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.loot-item{background:#2f443480;padding:16px 10px;border:1px solid var(--line);text-align:center;font-size:12px}.loot-item b{display:block;color:var(--gold);font:22px monospace;margin-top:7px}#toast{position:fixed;z-index:20;left:50%;bottom:190px;transform:translateX(-50%);max-width:min(550px,88vw);background:#d7c293;color:#1c291e;padding:12px 20px;border-radius:4px;box-shadow:0 5px 30px #0003;font-size:12px;opacity:0;transition:opacity .2s;pointer-events:none}#toast.show{opacity:1}.loading-error{padding:25px;max-width:600px}.empty{padding:20px;text-align:center;color:var(--muted)}
@media(pointer:coarse),(max-width:720px){.hud-top{top:12px;left:12px;right:12px}.survivor-status{width:148px;padding:10px}.status-name{font-size:9px;margin-bottom:9px}.gauge{grid-template-columns:24px 1fr 20px;gap:5px;font-size:9px;margin:7px 0}.mission{display:none}.mini-map{width:102px;height:102px}.clock{font-size:15px}.hud-buttons button{padding:6px 8px;font-size:9px}.save-label{font-size:8px;max-width:140px;text-align:right}.hud-right{gap:6px}.condition{font-size:8px}.joystick,.touch-actions,.touch-small{display:flex}.bottom-hud{left:12px;right:12px;bottom:10px;justify-content:center}.area-info{position:absolute;left:0;bottom:175px;max-width:175px}.area-info strong{font-size:10px}.area-info p{display:none}.quickbar{gap:4px}.slot{font-size:8px;padding:7px;min-width:52px}.slot small{font-size:8px}.control-hint,.weapon-info,.input-hint{display:none}.interact-prompt{top:56%;font-size:10px;padding:8px 12px;max-width:90%;white-space:normal;text-align:center}.interact-prompt kbd{display:none}.touch-actions{bottom:max(55px,env(safe-area-inset-bottom));right:15px;gap:7px}.touch-actions button{width:50px;height:50px;font-size:10px}.touch-actions button.main{width:65px;height:65px}.joystick{bottom:55px;left:20px;width:110px;height:110px}.joystick i{left:33px;top:33px;width:44px;height:44px}.touch-small{bottom:133px;right:20px}.menu-shell{padding:20px}.menu-panel{max-width:360px;margin:7vh auto 0;padding:22px}.menu-top .wordmark{font-size:13px}.account{font-size:10px;gap:6px}.title{padding:8vw;background:linear-gradient(90deg,#071510ed,#07151077 65%,#07151020)}.title h1{font-size:52px}.title p{font-size:12px}.auth{margin:16px auto;width:calc(100% - 30px);padding:22px;max-height:calc(100dvh - 32px)}dialog{padding:20px}.inventory{grid-template-columns:1fr}.loot-grid{grid-template-columns:repeat(2,1fr)}#toast{bottom:210px;font-size:11px}.vehicle-hud{bottom:180px;font-size:10px;min-width:190px}.vehicle-hud b{font-size:20px}}

/* Original generated key art: title / shelter, 2026-11-08. */
.title{background:linear-gradient(90deg,#02080930,transparent 65%),url('/assets/art/title-dusk-v1.jpg') 65% center/cover no-repeat;background-color:#081214}
.title h1{font-family:'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif;font-weight:700;letter-spacing:.16em;color:#e7e6d9;text-shadow:0 2px 2px #0008,0 8px 35px #000b}
.title h2{color:#bfc5be;letter-spacing:.65em}.title p{color:#c5cfca;text-shadow:0 2px 8px #000}.title .primary{background:#e0dfcc;color:#142021;border-color:#edecd7}.title .primary:hover{background:#f0edda}.title .eyebrow{color:#aabcb7}
.menu-shell{background:linear-gradient(90deg,#03090b55,transparent 75%),url('/assets/art/home-shelter-v1.jpg') center center/cover no-repeat;background-color:#081214}
.menu-panel{background:#091315b8;border-color:#b6c7c42b;backdrop-filter:blur(5px);box-shadow:0 15px 65px #0005}.menu-top{position:relative}.menu-top .wordmark{text-shadow:0 2px 10px #000}.menu-panel h1{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;letter-spacing:.08em}.menu-buttons button{background:#132023b8}.menu-buttons .primary{background:#d2b47d;color:#18261e}
@media(max-width:720px){.title{background-position:69% center;background-image:linear-gradient(90deg,#02080bb8,#02080b20),url('/assets/art/title-dusk-v1.jpg')}.title h1{font-size:46px;letter-spacing:.07em}.title p{max-width:300px}.menu-shell{background-position:70% center}.menu-panel{background:#091315bf;margin-top:6vh}.menu-top .wordmark{font-size:13px}}

@font-face{font-family:ZombieDisplay;src:url('/assets/fonts/DelaGothicOne-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:ZombieLatin;src:url('/assets/fonts/BebasNeue-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
.title h1{font-family:ZombieDisplay,sans-serif;font-weight:400;font-size:clamp(48px,5.6vw,78px);letter-spacing:.015em;line-height:1.28;transform:skewY(-3deg);margin:22px 0 20px;color:#e5e0cd;text-shadow:2px 3px 0 #111d1f,0 8px 26px #000b;position:relative}
.title h1 span{display:block}.title h1:after{content:'';display:block;width:100px;height:4px;background:#9d3d30;box-shadow:22px 0 #9d3d3050;margin-top:20px;transform:skewX(-35deg)}
.title h2{font-family:ZombieLatin,Impact,sans-serif;font-size:27px;letter-spacing:.25em;color:#a4bab8;margin:0}.title p{margin:22px 0 28px}.wordmark,.loading h1{font-family:ZombieDisplay,sans-serif;font-weight:400}.wordmark{font-size:19px;letter-spacing:.02em}.wordmark small,.eyebrow,.build{font-family:ZombieLatin,Impact,sans-serif}.wordmark small{font-size:13px;letter-spacing:.2em}.eyebrow{font-size:14px;letter-spacing:.2em}.build{font-size:12px;letter-spacing:.16em}.menu-panel h1{font-family:ZombieDisplay,sans-serif;font-size:25px;letter-spacing:.015em;font-weight:400}
@media(max-width:720px){.title h1{font-size:clamp(36px,10vw,54px);line-height:1.35}.title h2{font-size:23px}.title h1:after{margin-top:16px}.title p{font-size:11px}.title .primary{min-width:220px}.menu-top .wordmark{font-size:14px;max-width:240px}.wordmark small{font-size:10px}.loading h1{font-size:26px}.menu-panel h1{font-size:23px}}

.save-slots{display:grid;gap:14px}.save-card{padding:18px;border:1px solid var(--line);background:#21342c80}.save-card.selected{border-color:var(--gold)}.save-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.save-card strong{font-size:13px}.save-card p{font-size:11px}.slot-name-label{margin:10px 0}.slot-name-label input{padding:8px}.save-card .row button{font-size:11px;padding:9px 12px}.advice-steps{padding-left:23px}.advice-steps li{margin:12px 0}.advice-status{background:#28423a80;padding:10px;border-left:3px solid var(--gold)}.advice-destination{border:1px solid #d2b47d88;padding:16px;margin:20px 0}.advice-destination strong{font-size:13px}.advice-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.advice-topics button{text-align:left;font-size:11px}@media(max-width:560px){.advice-topics{grid-template-columns:1fr}.save-card-top{align-items:start}.save-card-top strong{max-width:70%}.save-card .row{gap:6px}.hud-buttons{gap:3px}.hud-buttons button{padding:6px}}
/* Survival field notebook: restrained charcoal, paper ink, brass accents. */
.status-name{gap:8px;align-items:start}.status-name>span{flex:none}.status-name{overflow-wrap:anywhere}.weather-status{font-size:10px;color:#e4dec7;text-shadow:0 1px 4px #000;background:#14231b99;padding:4px 8px;border-radius:3px;max-width:240px}.notebook-head{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding-bottom:12px}.notebook-head h2{font-family:ZombieDisplay,sans-serif;font-size:29px;margin:6px 0}.note-day{font:32px ZombieLatin,monospace;color:var(--gold);text-align:right;flex:none}.note-day small{display:block;font:11px sans-serif;line-height:2;color:var(--muted)}.note-tabs{display:flex;gap:6px;overflow:auto;padding:14px 0 18px;scrollbar-width:thin}.note-tabs button{flex:none;padding:8px 12px;font-size:11px}.note-tabs .active{background:#c7ad75;color:#14211b;border-color:#c7ad75}.note-grid,.body-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.survival-card{background:#1e3029;border:1px solid #d7d0af28;border-radius:4px;padding:16px;min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.card-heading h3{margin:0;color:#e2ddc9;font-size:14px}.survival-card p{margin:12px 0}.note-tag{color:#b8c6ae;font-size:9px;border:1px solid #b8c6ae50;border-radius:2px;padding:3px 5px;white-space:nowrap}.note-list{margin:12px 0;padding-left:19px;line-height:2}.stock-numbers{display:flex;justify-content:space-between;gap:15px;padding:16px 0 3px}.stock-numbers span{font-size:10px;color:#bdc6b6}.stock-numbers b{font:30px ZombieLatin,monospace;display:block;color:#eee4c9}.note-intro{border-left:2px solid var(--gold);padding-left:12px}.weather-now{font-size:20px!important;color:#ece2c8!important}.weather-now strong{float:right;font:28px ZombieLatin,monospace}.warning-text,.freshness{color:#e5ae86!important}.success-text{color:#a9c297!important}.recipe-cost{color:#b2bba5;font-size:10px!important}.body-meter{border:1px solid var(--line);background:#203229;padding:16px}.body-meter>div{display:flex;justify-content:space-between;gap:12px}.body-meter b{font:20px monospace;color:#d9dbb9}.body-meter b small{font-size:10px;color:var(--muted)}.body-meter p{margin-bottom:0;font-size:11px}.body-meter progress,.skill-list progress{width:100%;height:5px;margin-top:14px;accent-color:#a4b783}.body-meter.warning{border-color:#c48c5e70}.body-meter.warning progress{accent-color:#c98f64}.notebook-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.notebook-footer span{font-size:10px;color:var(--muted)}.skill-list{display:grid;gap:10px}.skill-list article{padding:15px;background:#203229;border:1px solid var(--line)}.skill-list article>div{display:flex;justify-content:space-between}.skill-list article span{font:14px ZombieLatin,monospace;letter-spacing:.08em;color:var(--gold)}.skill-list small{display:block;color:var(--muted);font-size:10px;line-height:1.9;margin-top:7px}.journal-list{padding-left:20px}.journal-list li{padding:12px 0;border-bottom:1px solid var(--line)}.recipe-search{margin:0}.recipe-search input{padding:10px}.recipe[hidden]{display:none}.recipe small{font-size:10px;color:var(--muted)}.recipe-search input:focus{outline:2px solid var(--gold)}.crop-list{margin-top:15px;padding:0 12px;border-left:2px solid #829971}.item>.row{flex:none;max-width:125px}.item small{line-height:1.7}.touch-small button[aria-pressed=true]{background:#9b8658;color:#fff3d7;border-color:#ddc692}
@media(max-width:600px){.note-grid,.body-grid{grid-template-columns:1fr}.notebook-head h2{font-size:25px}.note-day{font-size:27px}.notebook-head .eyebrow{font-size:11px}.survival-card{padding:14px}.notebook-footer{align-items:start}.notebook-footer span{max-width:180px}.note-tabs{gap:5px;padding-top:12px}.note-tabs button{padding:8px 10px}.weather-status{font-size:8px;max-width:205px}.hud-right{max-width:210px}.touch-small{right:15px;gap:5px}.touch-small button{padding:7px 9px}.condition{max-height:55px;overflow:hidden}.status-name{font-size:8px}.status-name span{font-size:9px}.item{gap:8px}.item>.row{max-width:100px}}
.notebook-head h2{font-family:'Yu Gothic','Noto Sans JP',sans-serif;font-weight:700;letter-spacing:.08em;line-height:1.4}.dialog-top>button{flex:none;white-space:nowrap}.dialog-top{align-items:start;gap:12px}.dialog-top>.eyebrow{line-height:1.5}
/* Survival inspection: worn metal, muted linen and smoked glass. */
#modal.item-presentation{width:min(940px,96vw);max-width:96vw;background:radial-gradient(ellipse at 50% 35%,#353a32ee,#0d1513f5 75%);color:#e4e2cf;border:1px solid #747967;box-shadow:0 24px 90px #000b;padding:clamp(18px,3vw,34px)}
.pickup-sheet header{display:flex;justify-content:space-between;gap:12px;color:#bdb997;letter-spacing:.12em}.pickup-progress{white-space:nowrap}.pickup-stage{height:clamp(210px,43vh,460px);width:100%;touch-action:none;background:radial-gradient(ellipse,#92927b15,transparent 68%)}.pickup-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.pickup-stage canvas:active{cursor:grabbing}.pickup-caption{max-width:650px;margin:auto;border-top:1px solid #7b816555;padding-top:15px}.pickup-caption h2{margin:0 0 8px;font-size:clamp(22px,4vw,34px);letter-spacing:.08em}.pickup-caption p{line-height:1.8;color:#d0d1bf}.pickup-caption small{color:#a4b1a0}.pickup-quantity{font-size:.65em;color:#c4ac74}.inspect-controls,.pickup-footer,.pickup-list{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.inspect-controls span{font-size:12px;color:#9eac9d}.pickup-list{border-top:1px solid #63715c55;padding-top:14px}.pickup-list button{font-size:12px;padding:7px}.pickup-list button.selected{border-color:#c5b17c;color:#f0dba4}.discovery-picture{margin:16px 0}.discovery-picture img{width:100%;max-height:50vh;object-fit:cover;display:block;border:1px solid #6b725c}.discovery-sheet h2{letter-spacing:.08em}.ranking-table{overflow-x:auto}.ranking-table table{width:100%;border-collapse:collapse}.ranking-table th,.ranking-table td{padding:12px 8px;text-align:left;border-bottom:1px solid #74816c55}.ranking-table small{display:block;color:#a3b19d;font-size:11px}.warning-text{color:#d5ae86}.survival-card select{width:100%}
@media(max-width:600px){#modal.item-presentation{padding:16px}.pickup-stage{height:34vh;min-height:200px}.pickup-caption p{font-size:13px}.inspect-controls span{width:100%;text-align:center}.pickup-list{max-height:100px;overflow-y:auto}}
#language-toggle{position:fixed;right:14px;bottom:14px;z-index:12;padding:9px 14px;font:13px sans-serif;letter-spacing:.02em;background:#15241fee;border:1px solid #a19d73;color:#e7dfc5}body[data-screen="game"] #language-toggle{display:none}.language-panel select{width:100%;margin-top:10px;min-height:46px}.language-panel label{display:block}.i18n-text{line-height:inherit}ruby{ruby-position:over;ruby-align:center}rt{font:500 .56em/1.15 'Yu Gothic','Noto Sans JP',sans-serif;letter-spacing:.02em;color:inherit}body[data-locale="ja-ruby"] button,body[data-locale="ja-ruby"] .survival-card,body[data-locale="ja-ruby"] .item{line-height:2.1}body[data-locale="ja-ruby"] .gauge{min-height:24px}body[data-locale="ja-ruby"] .hud-top{gap:10px}body[data-locale="ja-Hira"] .title h1{font-family:'Yu Gothic','Noto Sans JP',sans-serif;font-weight:900}body[data-locale="en"],body[data-locale="es"]{font-family:Arial,'Noto Sans JP',sans-serif}body[data-locale="zh-Hans"]{font-family:'Microsoft YaHei','PingFang SC','Noto Sans SC',sans-serif}.hud-buttons{flex-wrap:wrap}.hud-buttons button{white-space:normal}.language-panel p{overflow-wrap:anywhere}body[data-locale="es"] .title h1{font-size:clamp(32px,6vw,84px)}@media(max-width:600px){body[data-locale="ja-ruby"] .hud-buttons button{font-size:9px;padding:5px}body[data-locale="ja-ruby"] .survivor-status{width:150px}body[data-locale="en"] .mission,body[data-locale="es"] .mission{max-width:42vw}.i18n-text{overflow-wrap:anywhere}}
body[data-locale="ja-ruby"] .status-name>.i18n-text{font:inherit;color:inherit}body[data-locale="ja-ruby"] .note-tabs button{padding-top:10px;padding-bottom:7px}
rt{font-size:max(8px,.56em)}
body[data-locale="es"] .title h1{font-size:clamp(26px,5.3vw,65px)}

/* Keep touch input above decorative HUD layers; never select or pan the page. */
.joystick{z-index:6;pointer-events:auto!important;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;overscroll-behavior:contain}.touch-actions,.touch-small{z-index:6}

/* Generated loading artwork; initial paint rules also live inline in index.html. */
html,body{margin:0;background:#0b1418}.loading-splash{position:fixed;inset:0;z-index:2;min-height:100dvh;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background-color:#0b1418;background-image:linear-gradient(180deg,#03090c12 25%,#03090c35 48%,#03090cdb 100%),url('/assets/art/loading-city-v1.jpg'),var(--loading-preview);background-position:center;background-size:cover;color:#e5e0cd;font-family:'Yu Gothic','Noto Sans JP',sans-serif}.loading-splash article{width:min(520px,calc(100% - 48px));text-align:center;margin:0 0 max(8vh,env(safe-area-inset-bottom));position:relative}.loading-splash .loading-brand{font:12px sans-serif;letter-spacing:.26em;color:#b4c0b9;margin:0 0 18px}.loading-splash h1{font-family:ZombieDisplay,'Yu Gothic',sans-serif;font-size:clamp(27px,5vw,45px);font-weight:700;letter-spacing:.06em;line-height:1.5;margin:0 0 16px;text-shadow:0 3px 22px #000}.loading-splash .loading-status{font-size:11px;color:#c5ccc3;line-height:1.9;min-height:2em;margin:0}.loading-splash progress{display:block;appearance:none;-webkit-appearance:none;border:0;height:2px;width:100%;margin:22px 0 13px;background:#b8c4b522;accent-color:#c4ae7d}.loading-splash progress::-webkit-progress-bar{background:#b8c4b522}.loading-splash progress::-webkit-progress-value{background:#c4ae7d;box-shadow:0 0 8px #c4ae7d44}.loading-splash progress::-moz-progress-bar{background:#c4ae7d}.loading-splash .loading-foot{font-size:9px;letter-spacing:.14em;color:#89998f;margin:0}.loading-splash a{color:#c4ae7d}@media(max-width:600px){.loading-splash article{margin-bottom:max(9vh,env(safe-area-inset-bottom))}.loading-splash h1{font-size:clamp(25px,7vw,38px)}.loading-splash .loading-status{font-size:10px}.loading-splash .loading-brand{font-size:10px}}
/* Quiet HUD: muted brass line icons and translucent, compact field instruments. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hud-clean svg{width:22px;height:22px;display:block;flex:none}.hud-clean button{box-shadow:none}.hud-clean .hud-top{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));pointer-events:none}.hud-clean .hud-top>*{pointer-events:auto}
.hud-clean .survivor-status{width:150px;padding:10px 12px;border:1px solid #b6c7b92a;background:#101e1bd9;border-radius:9px;backdrop-filter:blur(5px);text-align:left}.hud-clean #gauges{display:grid;gap:9px}.hud-clean .gauge{display:grid;grid-template-columns:16px 1fr 22px;gap:8px;margin:0;font-size:10px}.hud-clean .gauge-icon svg{width:15px;height:15px;color:#bac8b9}.hud-clean .bar{height:3px}.hud-clean .gauge b{font:10px monospace;color:#d9ddce}.hud-clean .condition{font-size:9px;line-height:1.6;margin:8px 0 0;padding-top:7px;border-top:1px solid #d2b47d30;color:#e7b18d;max-height:none}.hud-clean [hidden]{display:none!important}
.hud-clean .hud-right{gap:7px;max-width:none}.hud-navigation{display:flex;align-items:start;gap:8px}.hud-clean .minimap-button{padding:0;border:0;background:none;border-radius:9px;overflow:hidden;line-height:0}.hud-clean .mini-map{width:96px;height:96px;border-radius:9px;border-color:#becab933;box-shadow:none}.hud-clean .hud-menu-button{width:40px;height:40px;padding:9px;background:#101e1bda;border-color:#b6c7b92a;border-radius:9px}.hud-clean .clock{font:16px monospace;margin-right:49px;text-shadow:0 2px 4px #000}.hud-clean .clock small{font-size:10px;color:#c2cbb7}
.hud-clean .bottom-hud{left:18px;right:18px;bottom:max(18px,env(safe-area-inset-bottom));align-items:center}.hud-clean .area-info{position:static;max-width:240px;opacity:.72}.hud-clean .area-info strong{font-size:10px;letter-spacing:.08em}.hud-clean .bag-button{display:flex;align-items:center;gap:8px;border:1px solid #b6c7b92a;border-radius:9px;padding:10px 13px;background:#101e1bd9;font-size:11px}.hud-clean .interact-prompt{top:auto;bottom:140px;max-width:75vw;font-size:11px;padding:8px 12px;background:#101e1bdc;border-color:#b6c7b92a;border-radius:6px;white-space:normal;text-align:center}.hud-clean .joystick{width:108px;height:108px;left:max(22px,env(safe-area-inset-left));bottom:max(28px,env(safe-area-inset-bottom));background:#10221d40;border-color:#d1dbc13d;box-shadow:inset 0 0 20px #16291a1a}.hud-clean .joystick i{width:42px;height:42px;left:32px;top:32px;background:#c7c9a85c;border-color:#e3d8b779}.hud-clean .touch-small{left:56px;right:auto;bottom:147px;gap:0}.hud-clean .touch-small button{width:40px;height:40px;padding:9px;border-radius:50%;background:#10221da6;border-color:#d1dbc12c}.hud-clean button[aria-pressed=true]{color:#eed8a4;background:#8e774bd4;border-color:#d1b779}
.hud-clean .touch-actions{right:max(20px,env(safe-area-inset-right));bottom:max(28px,env(safe-area-inset-bottom));gap:10px;align-items:end}.hud-clean .touch-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:56px;height:56px;background:#10221db5;border-color:#d1dbc136;font-size:9px}.hud-clean .touch-actions button.main{width:66px;height:66px;background:#b09a63c9;border-color:#e1c992;color:#fff1d3}.hud-clean .touch-actions button.jump-button{position:absolute;right:5px;bottom:71px;width:40px;height:40px}.hud-clean .touch-actions .jump-button svg{width:19px;height:19px}.hud-clean .touch-actions .attack-button{border-color:#bd9a704f}.hud-clean .vehicle-hud{bottom:155px;font-size:10px;padding:8px 12px}.hud-clean .hurt-vignette{z-index:0}
.pause-primary{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:0 0 20px}.pause-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pause-grid button{padding:16px 8px;font-size:13px;background:#263a2f80}.pause-toggles{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:18px 0;border-bottom:1px solid var(--line)}.pause-toggles button{padding:9px 4px;font-size:11px}.pause-toggles button[aria-pressed=true]{border-color:#c8ad76;color:#ebd5a8;background:#675a3b}.pause-secondary{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:18px}.pause-secondary button{padding:10px;font-size:11px;background:transparent}.pause-save{font-size:10px!important;color:#a6b39f!important;margin:16px 0 0}
@media(pointer:coarse),(max-width:720px){.hud-clean .hud-top{top:max(12px,env(safe-area-inset-top));left:12px;right:12px}.hud-clean .survivor-status{width:128px;padding:9px 10px}.hud-clean #gauges{gap:7px}.hud-clean .gauge{grid-template-columns:14px 1fr 19px;gap:6px}.hud-clean .gauge-icon svg{width:13px;height:13px}.hud-clean .gauge b{font-size:9px}.hud-clean .mini-map{width:78px;height:78px}.hud-clean .hud-navigation{gap:7px}.hud-clean .hud-menu-button{width:36px;height:36px;padding:8px}.hud-clean .hud-menu-button svg{width:18px;height:18px}.hud-clean .clock{font-size:13px;margin-right:43px}.hud-clean .clock small{font-size:9px}.hud-clean .bottom-hud{left:0;right:0;bottom:max(28px,env(safe-area-inset-bottom));justify-content:center}.hud-clean .area-info{position:absolute;bottom:170px;left:18px;max-width:155px}.hud-clean .area-info strong{font-size:9px}.hud-clean .bag-button{width:42px;height:42px;justify-content:center;padding:9px;background:#10221dba;border-radius:50%}.hud-clean .bag-button span{display:none}.hud-clean .bag-button svg{width:20px;height:20px}.hud-clean .interact-prompt{bottom:198px;max-width:84vw;font-size:10px;pointer-events:none}.hud-clean .condition{font-size:8px;line-height:1.6}.hud-clean .vehicle-hud{bottom:192px;width:auto;min-width:0;max-width:80vw}}
@media(max-height:500px) and (orientation:landscape){.hud-clean .mini-map{width:64px;height:64px}.hud-clean .survivor-status{width:120px;padding:8px}.hud-clean #gauges{gap:4px}.hud-clean .area-info{display:none}.hud-clean .joystick{bottom:18px}.hud-clean .touch-small{bottom:137px}.hud-clean .touch-actions{bottom:18px}.hud-clean .interact-prompt{bottom:95px}}

@media(pointer:coarse),(max-width:720px){.hud-clean .hud-menu-button{width:44px;height:44px;padding:12px}.hud-clean .clock{margin-right:51px}.hud-clean .touch-small button,.hud-clean .touch-actions button.jump-button,.hud-clean .bag-button{width:44px;height:44px}.hud-clean .touch-small{left:54px}.hud-clean .gauge b{font-size:10px}}

/* Preserve map proportions when its canvas is constrained by the viewport. */
.world-map{display:block;width:min(100%,65vh);height:auto;max-height:none;aspect-ratio:1;margin:14px auto}

/* Text-free play view: details remain in accessible, paused menus. */
.hud-clean .area-info,.hud-clean .gauge b{display:none}.hud-clean .interact-prompt{padding:10px;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.hud-clean .interact-prompt svg{width:25px;height:25px}.hud-clean .condition svg{width:24px;height:24px}.hud-clean .vehicle-hud{font-size:0}.hud-clean .vehicle-hud b{font-size:22px}#toast svg{width:25px;height:25px}

.hud-clean #prompt{background:#182621b8;border:1px solid #a99b7166;border-radius:50%;color:#d7c595;padding:8px;width:40px;height:40px;box-shadow:0 2px 15px #0005}.hud-clean #prompt svg{display:block;width:24px;height:24px}

.hud-clean #clock,.hud-clean #vehicle-hud{display:none}.pause-clock{color:#d3c49b;font-family:monospace;font-size:1.1rem}

/* Field instrument HUD: readable values, consistent, labelled thumb controls. */
.hud-clean .survivor-status{width:190px;padding:12px 14px;background:linear-gradient(135deg,#1c2523f5,#101916e8);border:1px solid #92947a70;border-left:3px solid #a6966e;border-radius:4px;box-shadow:0 4px 20px #0004;text-align:left}
.hud-clean .status-heading{display:block;color:#c6b88f;font-size:10px;letter-spacing:.08em;margin-bottom:10px}
.hud-clean #gauges{gap:10px}.hud-clean .gauge{grid-template-columns:18px 1fr auto;gap:3px 7px;color:#dddcc9;align-items:center}.hud-clean .gauge-label{font-size:12px;line-height:1.4}.hud-clean .gauge b{display:block;font:600 15px/1.2 monospace;color:#f3eedb;font-variant-numeric:tabular-nums}.hud-clean .gauge b small{font-size:9px;color:#a7b1a1;font-weight:400;margin-left:2px}.hud-clean .bar{grid-column:2/4;height:5px;border-radius:1px;background:#ffffff20}.hud-clean .bar i{border-radius:1px}.hud-clean .gauge-icon svg{width:17px;height:17px}.hud-clean .health .gauge-icon{color:#d39782}.hud-clean .food .gauge-icon{color:#b3c291}.hud-clean .water .gauge-icon{color:#9ac5cc}.hud-clean .stamina .gauge-icon{color:#d5bd82}.hud-clean .health b{font-size:19px}.hud-clean .is-critical .gauge-label,.hud-clean .is-critical b{color:#ffb09a}.hud-clean .is-critical .bar i{background:#ee866d}.hud-clean .is-critical{border-left:2px solid #ee866d;margin-left:-6px;padding-left:4px}.hud-clean .is-low b{color:#e9cc93}.hud-clean .condition{display:flex;align-items:start;gap:6px;font-size:11px;color:#f2bb99;line-height:1.5}.hud-clean .condition svg{width:16px;height:16px;margin-top:1px}.hud-clean .clock{display:block!important;font-size:14px}
.hud-clean .pad-caption{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:10px;color:#d9d9bf;pointer-events:none}.hud-clean .joystick{background:radial-gradient(circle,#bcb99b18 20%,#111e1b70 65%);border:1px solid #b5b59a85}.hud-clean .joystick i{background:#a69e7b99;border:1px solid #e3d8b7bb;box-shadow:0 2px 6px #0004}.hud-clean .touch-actions button{width:60px;height:60px;border-radius:6px;background:#17221eea;border-color:#9a9c7f88;color:#eee9d3;font-size:11px;gap:4px}.hud-clean .touch-actions button.main{width:78px;height:68px;background:linear-gradient(#7e704aee,#514b35ed);border-color:#d1bc86;color:#fff2d0}.hud-clean .touch-actions .jump-button{width:48px;height:48px;border-radius:6px;font-size:10px;bottom:80px;right:0}.hud-clean .touch-small{left:45px;bottom:150px}.hud-clean .touch-small button{width:62px;height:42px;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px;font-size:10px}.hud-clean .touch-small svg{width:17px;height:17px}.hud-clean .bag-button{border-radius:5px;width:auto;min-width:50px;height:48px;gap:4px;padding:7px;flex-direction:column;font-size:10px}.hud-clean .bag-button span{display:block}.hud-clean #prompt{border-radius:4px;bottom:158px;box-shadow:0 2px 12px #0004}.hud-clean button:active{filter:brightness(1.25)}
@media(pointer:coarse),(max-width:720px){.hud-clean .survivor-status{width:168px;padding:10px 11px}.hud-clean .status-heading{font-size:9px;margin-bottom:8px}.hud-clean #gauges{gap:8px}.hud-clean .gauge-label{font-size:11px}.hud-clean .gauge b{font-size:14px}.hud-clean .health b{font-size:18px}.hud-clean .clock{font-size:12px}.hud-clean .bottom-hud{justify-content:flex-end;right:169px;bottom:34px}.hud-clean #prompt{bottom:190px}.hud-clean .touch-actions{right:14px;bottom:max(28px,env(safe-area-inset-bottom))}.hud-clean .condition{max-width:142px;font-size:10px}.hud-clean .mini-map{width:66px;height:66px}}
@media(max-height:500px) and (orientation:landscape){.hud-clean .survivor-status{width:170px;padding:8px 10px}.hud-clean #gauges{gap:5px}.hud-clean .status-heading{display:none}.hud-clean .bottom-hud{right:183px;bottom:24px}.hud-clean .touch-small{bottom:137px}.hud-clean .touch-actions .jump-button{bottom:72px}}

.hud-clean #prompt{width:auto;height:auto;max-width:min(300px,80vw);display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:11px;line-height:1.5}.hud-clean #prompt svg{flex:none;width:20px;height:20px}.desktop-controls{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;background:#141f1cdc;border:1px solid #9b99785c;padding:8px 12px;border-radius:4px;font-size:11px;pointer-events:none!important}.desktop-controls kbd{font:11px monospace;color:#d8bd83}.desktop-controls span{margin-right:8px;color:#d3d5c2}@media(pointer:coarse),(max-width:720px){.desktop-controls{display:none}}

.hud-clean .clock{padding:5px 8px;background:#13201de0;border:1px solid #92947a55;border-radius:3px;text-shadow:none;color:#e7dfc4}.hud-clean .gauge{grid-template-columns:18px minmax(0,1fr) auto}.hud-clean .gauge-label{overflow-wrap:anywhere}body[data-locale="es"] .hud-clean .gauge-label{font-size:10px}body[data-locale="es"] .hud-clean .touch-small button{font-size:9px;padding:4px;gap:3px}body[data-locale="es"] .hud-clean .bag-button{font-size:9px;min-width:54px;padding:4px}

/* Driving readout is visible only while occupied; preserve pedestrian space. */
.hud-clean #vehicle-hud:not([hidden]){display:flex;align-items:center;justify-content:center;gap:22px;bottom:178px;min-width:190px;padding:10px 15px;background:#15211ff0;border:1px solid #ada17a88;border-radius:4px;font-size:12px;line-height:1.3;color:#dfdfcb;white-space:nowrap}.hud-clean #vehicle-hud b{font:600 20px monospace;color:#e7d5a9}.hud-clean #vehicle-hud .vehicle-fuel b{font-size:16px}.hud-clean #vehicle-hud.fuel-low .vehicle-fuel b{color:#ffb09a}.hud-clean[data-driving=true] #prompt{bottom:242px}
@media(max-width:360px) and (orientation:portrait){.hud-clean .bottom-hud{left:auto;right:94px;bottom:110px}.hud-clean .bag-button{min-width:50px}.hud-clean .touch-actions{right:14px}}
@media(max-height:500px) and (orientation:landscape){.hud-clean #vehicle-hud:not([hidden]){bottom:96px;min-width:180px;padding:8px 12px}.hud-clean[data-driving=true] #prompt{bottom:151px}}

.hud-clean #vehicle-hud:not([hidden]){bottom:206px}.hud-clean[data-driving=true] #prompt{bottom:268px}@media(max-height:500px) and (orientation:landscape){.hud-clean #vehicle-hud:not([hidden]){bottom:96px}.hud-clean[data-driving=true] #prompt{bottom:151px}}

@media(max-height:500px) and (orientation:landscape){.hud-clean .touch-small{left:142px;bottom:24px}}

/* Contextual field controls and distinct fatigue / hydration feedback. */
.hud-clean .drive-controls,.hud-clean .drive-note{display:none}.hud-clean[data-driving=true] .foot-controls,.hud-clean[data-driving=true] .touch-small,.hud-clean[data-driving=true] .jump-button,.hud-clean[data-driving=true] .attack-button{display:none!important}.hud-clean[data-driving=true] .drive-controls{display:flex}.hud-clean .is-tired .gauge-label,.hud-clean .is-tired b{color:#e9cc93}.hud-clean .is-tired .bar i{background:#d5bd82}.hud-clean button:disabled{cursor:default;opacity:.45}.hud-clean .daily-water{margin-top:10px;padding-top:8px;border-top:1px solid #b6aa7b38;font-size:10px;color:#bac8b9}.hud-clean .daily-title{font-size:9px;color:#b6c6bd;line-height:1.5}.hud-clean .daily-total{font:12px/1.6 monospace;color:#e3e6d8}.hud-clean .daily-remaining{font-size:10px;line-height:1.5;color:#acced0}.hud-clean .daily-water .bar{height:3px;margin-top:4px}.hud-clean .daily-water .bar i{background:#92b9be}
@media(pointer:coarse),(max-width:720px){.hud-clean[data-driving=true] .drive-controls{display:none}.hud-clean[data-driving=true] .drive-note{display:flex;position:absolute;left:22px;bottom:150px;flex-direction:column;gap:3px;max-width:130px;font-size:10px;line-height:1.6;color:#dddcc6;background:#15211fdd;padding:6px 8px;border-radius:3px;pointer-events:none}.hud-clean[data-driving=true] .touch-actions .main{width:78px}.hud-clean .daily-total{font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.hud-clean .daily-water{position:fixed;left:194px;top:12px;width:132px;margin:0;padding:7px 9px;background:#15211ff0;border:1px solid #92947a70;border-radius:4px}.hud-clean[data-driving=true] .drive-note{bottom:24px;left:142px;font-size:9px;padding:5px}.hud-clean .daily-title{font-size:8px}}

.pause-toggles[data-driving=true]{grid-template-columns:repeat(2,1fr)}.pause-toggles[data-driving=true] [data-a=run],.pause-toggles[data-driving=true] [data-a=crouch]{display:none}.hud-clean[data-driving=true] .drive-note{font-size:9px}

/* Natural line breaks: preserve words and keep scrollable menus clear of the language switch. */
:root{line-break:strict;word-break:normal}
.word-unit{display:inline-block;white-space:nowrap;max-width:100%}
.title,.menu-shell,.auth-shell{scrollbar-gutter:stable}
.title{overflow-y:auto;align-items:flex-start;padding-bottom:max(76px,env(safe-area-inset-bottom))}
.title>section{min-width:0;max-width:100%;margin-block:auto}
.title h1,.title h2,.menu-panel h1,dialog h2,dialog h3{text-wrap:balance;overflow-wrap:normal;word-break:normal}
.title h1 span{max-width:100%}.title h1 .word-unit{display:inline-block}
.title h2{font-size:clamp(18px,5.7vw,27px);letter-spacing:.16em}
.menu-shell{padding-bottom:max(88px,calc(env(safe-area-inset-bottom) + 72px))}
.menu-top>.wordmark{min-width:0}.wordmark small{letter-spacing:.12em;overflow-wrap:normal}
.account{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;max-width:44%;overflow-wrap:anywhere}
.menu-panel{min-width:0}.menu-panel h1{line-height:1.55}
button{line-height:1.55;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
button .i18n-text,.i18n-text{overflow-wrap:normal;word-break:normal}
.row>*,.item>*,.recipe>*,.notebook-head>*,.card-heading>*{min-width:0}
.pause-grid,.pause-secondary,.pause-primary,.pause-toggles{grid-auto-rows:minmax(min-content,auto)}
.pause-grid button,.pause-secondary button,.pause-primary button,.pause-toggles button{min-width:0;white-space:normal;overflow-wrap:break-word;hyphens:auto}
.item strong,.recipe strong,.save-card strong,.survival-card strong{overflow-wrap:break-word;word-break:normal}
.hud-clean .gauge-label{overflow-wrap:normal;word-break:normal;hyphens:auto}
.dialog-top .eyebrow{overflow-wrap:normal;word-break:normal}
dialog p,dialog li,.muted{line-break:strict;overflow-wrap:break-word;word-break:normal;text-wrap:pretty}
@media(max-width:360px){.menu-top{align-items:flex-start;gap:8px}.menu-top .wordmark{font-size:12px}.wordmark small{font-size:8px;letter-spacing:.08em}.account .small{padding:7px 9px}.menu-panel{padding:18px}.menu-panel h1{font-size:21px}.pause-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pause-toggles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:500px) and (orientation:landscape){.title{padding-top:24px;padding-bottom:72px}.title h1{font-size:36px;margin-block:14px}.title h1:after{margin-top:10px}.title p{margin-block:16px}.title .build{margin-top:20px}}

.title{overflow-x:hidden}
@media(max-width:720px){body[data-locale="es"] .title h1{font-size:clamp(18px,6.2vw,38px)}}

/* Optional first-night guidance: restrained field-note overlay with no movement lock. */
.survival-guide{position:absolute;top:22px;left:50%;transform:translateX(-50%);width:340px;max-width:calc(100vw - 440px);pointer-events:none!important;color:#e7e5d8;background:linear-gradient(120deg,#18211ff0,#101715ed);border:1px solid #aaa38a55;border-left:2px solid #c8b17e;border-radius:3px;box-shadow:0 8px 28px #0005;padding:11px 14px 10px;isolation:isolate}
.survival-guide[hidden]{display:none!important}.survival-guide:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.13;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,#cdc5ac22 4px 4.5px)}
.guide-card-head{display:flex;align-items:center;gap:8px;min-height:25px}.guide-kicker{font:10px/1.5 'Noto Sans JP',sans-serif;letter-spacing:.1em;color:#c5b489}.guide-step{margin-left:auto;font:10px/1.4 monospace;color:#969f91}.guide-dismiss{width:28px;height:28px;padding:0;border:0;color:#acb7ac;background:transparent;font-size:18px;pointer-events:auto;flex:none;line-height:1}
.guide-card-body{display:flex;align-items:flex-start;gap:11px;margin-top:9px}.guide-symbol{color:#c5b489;flex:none;padding-top:2px}.guide-symbol svg{width:25px;height:25px}.guide-card-body>div{min-width:0}.survival-guide h3{font-family:'Noto Sans JP',sans-serif;font-size:16px;font-weight:600;line-height:1.6;letter-spacing:.025em;margin:0;color:#ece8d6;text-wrap:pretty}.survival-guide .word-unit{max-width:none}.guide-caption{font-size:10px;line-height:1.7;color:#a2aca0;margin:6px 0 0}.guide-next-preview{margin:9px 0 0;padding-top:8px;border-top:1px solid #c5b48925;font-size:11px;line-height:1.6;color:#c6cbb9}
.guide-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px}.guide-card-footer button{pointer-events:auto;min-height:32px;padding:5px 12px;background:#c0ad7912;border-color:#c8b17e55;font-size:10px;white-space:normal;color:#d7c89e}.guide-track{display:flex;gap:4px}.guide-track i{width:18px;height:2px;background:#c6cdb52b}.guide-track .is-active{background:#cfbc86}.guide-track .is-done{background:#9bad92}.survival-guide.is-complete{border-left-color:#afc3a0}.survival-guide.is-complete .guide-symbol,.survival-guide.is-complete .guide-kicker{color:#b8cca9}.survival-guide.is-complete .guide-symbol{animation:guide-arrive .45s ease-out}
.guide-notebook .guide-kicker{font:12px/1.5 ZombieLatin,monospace;letter-spacing:.2em}.guide-notebook>h2{margin-block:12px}.guide-freedom{border-left:2px solid #b6a276;padding-left:12px;color:#d0c6a6!important}.guide-checklist{display:grid;gap:10px;margin:22px 0}.guide-check{display:flex;gap:15px;background:#101a17a8;border:1px solid #92947a33;padding:17px;min-width:0}.guide-check>div:last-child{min-width:0}.guide-check.is-current{border-color:#b9a37588;background:linear-gradient(110deg,#8c754e18,#101a17a8)}.guide-check.is-done{border-left:2px solid #9cb38e}.guide-check-icon{flex:none;color:#b9a375}.guide-check-icon svg{width:28px;height:28px}.guide-check.is-done .guide-check-icon{color:#9cb38e}.guide-check small{font:10px monospace;color:#9aa493}.guide-check h3{font-size:17px;line-height:1.7;margin:7px 0;color:#e8e4d1}.guide-check p{margin:9px 0}.guide-check .guide-condition{font-size:11px;color:#b5bdac}.guide-check button{font-size:11px;padding:9px 13px;margin-top:4px}
@keyframes guide-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(pointer:coarse),(max-width:720px){.survival-guide{left:auto;right:12px;top:116px;transform:none;width:calc(100vw - 200px);min-width:120px;max-width:230px;padding:8px 9px}.guide-card-head{gap:3px}.guide-kicker{font-size:9px;letter-spacing:0}.guide-step{font-size:9px}.guide-dismiss{width:25px;height:32px;font-size:18px}.guide-card-body{gap:6px;margin-top:6px}.guide-symbol svg{width:18px;height:18px}.survival-guide h3{font-size:13px;line-height:1.7;letter-spacing:0}.guide-caption{font-size:9px;line-height:1.6}.guide-card-footer{gap:4px;margin-top:8px}.guide-card-footer button{min-height:38px;padding:5px 8px;font-size:10px}.guide-track{gap:3px}.guide-track i{width:10px}.guide-next-preview{font-size:10px}.guide-check{padding:13px;gap:10px}.guide-check-icon svg{width:22px;height:22px}.guide-check h3{font-size:15px}}
@media(max-width:360px) and (orientation:portrait){.survival-guide{right:10px;width:122px;padding:7px 8px}.guide-symbol{display:none}.guide-caption{display:none}.survival-guide h3{font-size:13px}.guide-card-head{flex-wrap:wrap}.guide-step{font-size:8px}.guide-dismiss{margin-left:auto}.guide-card-footer{flex-wrap:wrap}.guide-card-footer button{min-height:36px}.guide-next-preview{font-size:10px}}
@media(max-height:500px) and (orientation:landscape){.survival-guide{left:194px;right:auto;top:91px;width:calc(100vw - 350px);min-width:168px;max-width:300px;padding:7px 10px;transform:none}.guide-caption,.guide-next-preview{display:none}.guide-card-head{min-height:20px}.guide-dismiss{height:22px}.guide-card-body{margin-top:2px}.survival-guide h3{font-size:12px;line-height:1.5}.guide-card-footer{margin-top:5px}.guide-card-footer button{min-height:30px;padding:4px 8px}.guide-symbol svg{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.survival-guide.is-complete .guide-symbol{animation:none}}

.hud-clean[data-driving=true] .survival-guide .guide-next-preview{display:none}

@media(max-width:360px) and (orientation:portrait){.guide-card-head{display:grid;grid-template-columns:minmax(0,1fr) 28px;grid-template-areas:"label dismiss" "step dismiss";gap:0 3px}.guide-card-head .guide-kicker{grid-area:label}.guide-card-head .guide-step{grid-area:step;margin:0;font-size:8px}.guide-dismiss{grid-area:dismiss;height:32px}.guide-track i{width:8px}}

.survival-guide h3{text-wrap:balance}

.guide-check-status{font-size:10px;line-height:1.5;margin-left:12px;color:#b8c8a7}.guide-check.is-current .guide-check-status{color:#d2bc8a}

@media(max-height:500px) and (orientation:landscape){.survival-guide{top:104px}.hud-clean .survival-guide:not([hidden])~#prompt{display:none!important}}

/* v0.22: quiet shelter menu and model-based inventory thumbnails. */
.home-panel{margin-top:5vh;max-width:425px;padding:24px;background:#0e1919c9}.home-panel h1{margin:10px 0 14px}.home-record{border-left:2px solid #b69b6755;padding-left:12px;margin:0 0 18px}.home-start{gap:8px}.home-start button{padding:13px 16px}.home-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.home-tools button{padding:10px 9px;font-size:12px;background:#142321a6}.home-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:15px}.home-options summary{cursor:pointer;padding:12px 0;font-size:12px;color:#c9c9b8;min-height:44px}.home-options summary:focus-visible{outline:2px solid var(--gold)}.home-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 0 12px}.home-options-grid button{padding:10px 8px;font-size:12px}.home-account{margin:12px 0 0;font-size:11px;line-height:1.7}.home-save{margin:4px 0;font-size:10px}.home-panel .menu-bottom{margin-top:14px;gap:10px 15px;align-items:center}.home-panel .menu-bottom button{padding:5px 0;background:none;border-color:transparent}
.inventory .inventory-card{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:6px 12px;padding:12px;min-width:0;background:linear-gradient(125deg,#28382e88,#17241e55)}.item-art{padding:0;width:76px;height:80px;border:1px solid #c4c6ad1c;background:radial-gradient(ellipse,#8e987023,#0b131222);display:grid;place-items:center}.item-thumb{display:block;width:72px;height:72px;background-image:url('/assets/art/item-atlas-v022.webp');background-size:576px 648px;background-position:var(--thumb-x) var(--thumb-y);background-repeat:no-repeat}.inventory-card .item-copy{align-self:center}.inventory-card strong{display:block;font-size:13px;font-weight:650}.inventory-card small{font-size:11px;line-height:1.7}.inventory .inventory-card>.row{grid-column:2;max-width:none;justify-content:flex-start;gap:6px;margin-top:2px}.inventory-card .row button{min-height:34px;padding:6px 9px;font-size:11px}.inventory-card .row button[data-a=drop]{background:transparent;border-color:transparent;color:#a5ac9a}.inventory-card .row button[data-a=drop]:hover{color:#edc1a8;border-color:#b3886955}
@media(max-width:720px){.home-panel{margin:3vh auto 0;padding:20px;max-width:380px}.home-panel h1{font-size:22px}.home-tools button{font-size:11px;min-height:44px}.home-panel .menu-bottom{font-size:10px}.inventory .inventory-card{grid-template-columns:76px minmax(0,1fr);gap:5px 10px}.inventory-card .row button{min-height:40px}.inventory-card .item-copy small{font-size:11px}.home-options-grid button{min-height:44px}}
@media(max-height:650px) and (min-width:721px){.home-panel{margin-top:12px}.home-panel .home-record{margin-bottom:10px}.home-panel{padding:18px 22px}.home-panel .home-start button{padding:10px 14px}.home-panel .home-account{display:none}}

.inventory-tabs{flex-wrap:wrap;overflow:visible}.item-art{position:relative}.item-art:after{content:'';position:absolute;right:5px;bottom:7px;width:9px;height:9px;border:1px solid #c5c7aa;border-radius:50%;box-shadow:3px 4px 0 -2px #c5c7aa;opacity:.65}.item-art:hover:after{opacity:1}.inventory-card .row button[data-a=use],.inventory-card .row button[data-a=equip-weapon]{border-color:#a59b6b66}

@media(max-width:720px){.inventory-tabs{gap:4px}.inventory-tabs button{padding:8px 6px;font-size:11px}}

/* v0.23: visual lessons, field map and movement feedback. */
.guide-visual{max-width:680px;margin:auto}.lesson-tabs{display:flex;gap:8px;margin:14px 0}.lesson-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:10px;min-height:46px}.lesson-tabs svg{width:22px;height:22px}.lesson-tabs .selected{color:#e1c787;border-color:#ccb275;background:#665d342d}.guide-scene{position:relative;height:225px;display:flex;align-items:center;justify-content:center;gap:25px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#54604a55,#0b1611aa);border:1px solid #8e987044}.lesson-backdrop{position:absolute;inset:0;opacity:.15;background:linear-gradient(0deg,#93947333 0 15%,transparent 15%)}.lesson-backdrop span{position:absolute;top:17%;width:19%;height:48%;border:4px solid #abb099;transform:skewY(-2deg)}.lesson-backdrop span:nth-child(1){left:4%}.lesson-backdrop span:nth-child(2){left:40%}.lesson-backdrop span:nth-child(3){right:4%}.lesson-items{display:flex;align-items:center;gap:10px;z-index:1}.lesson-item{width:90px;height:125px;display:grid;place-items:center}.lesson-item .item-thumb{transform:scale(1.55)}.lesson-arrow{font-size:30px;color:#c2b180;z-index:1;animation:lesson-arrow 2.8s ease-in-out infinite}.lesson-person{width:97px;height:150px;fill:#68775d;stroke:#c4bda1;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;z-index:1}.lesson-arm{transform-origin:49px 58px;animation:lesson-drink 2.8s ease-in-out infinite}.lesson-rest,.lesson-flame{z-index:1;position:relative;color:#c2b180}.lesson-rest svg,.lesson-flame svg{width:90px;height:90px}.lesson-moon{position:absolute;right:-10px;top:-30px;font-size:43px;animation:lesson-breathe 3s infinite}.lesson-flame{color:#d5a46f;animation:lesson-breathe 1.4s ease-in-out infinite}.lesson-meter{position:absolute;left:25%;bottom:17px;width:50%;height:4px;background:#9b9c7933}.lesson-meter i{display:block;height:100%;background:#abc0a1;animation:lesson-fill 2.8s ease-in-out infinite}.lesson-badge{position:absolute;right:12px;top:12px;color:#d4cbab;font:13px monospace}.lesson-2 .lesson-items,.lesson-3 .lesson-items{gap:0}.lesson-2 .lesson-item,.lesson-3 .lesson-item{width:76px}.lesson-2 .item-thumb,.lesson-3 .item-thumb{transform:scale(1.2)}.lesson-caption{margin:8px 0 18px;text-align:center;color:#c0c9b3;font-size:13px}.guide-visual h3{text-align:center;margin:15px 0 6px;font-size:19px}.lesson-action{text-align:center;margin:12px 0 20px}.guide-visual>.row{justify-content:center}.guide-visual>.row button{font-size:11px;padding:8px}.map-sheet h2{margin-bottom:12px}.map-toolbar{display:flex;align-items:center;gap:6px}.map-toolbar button{padding:9px 12px;min-height:42px}.map-toolbar button:first-child{display:flex;align-items:center;gap:6px;margin-right:auto}.map-toolbar svg{width:17px;height:17px}.map-filters{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.map-filters button{display:flex;gap:5px;align-items:center;font-size:11px;padding:7px 8px;min-height:36px}.map-filters svg{width:16px;height:16px}.map-filters button[aria-pressed=true]{color:#e4c78e;border-color:#c0a169;background:#75643b38}.world-map.detailed-map{width:min(100%,65vh);max-width:100%;margin:10px auto;touch-action:none;cursor:grab;border:1px solid #acaa8155;border-radius:3px}.world-map.detailed-map:active{cursor:grabbing}.map-detail{padding:9px 11px;background:#0a1611aa;border-left:2px solid #bfa77a;min-height:42px}.map-detail strong,.map-detail span{display:block;font-size:12px;line-height:1.7}.map-detail span{color:#c3c9b0;font-size:11px}.map-nearby{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}.map-nearby button{display:flex;align-items:center;gap:6px;padding:9px;font-size:11px;text-align:left;min-width:0}.map-nearby svg{width:17px;height:17px;flex:none}.map-nearby span{flex:1;min-width:0;overflow-wrap:anywhere}.map-nearby small{font:10px monospace;color:#c8b986;white-space:nowrap}.move-feedback{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:max-content;max-width:min(480px,86vw);display:flex;align-items:center;gap:11px;background:#111e19ed;border:1px solid #a59a6b8c;border-left:3px solid #c9aa70;color:#e7dfc8;padding:14px 18px;box-shadow:0 6px 25px #0006;pointer-events:none}.move-feedback[hidden]{display:none}.move-feedback svg{width:24px;height:24px;flex:none;color:#c9aa70}.move-feedback span{font-size:13px;line-height:1.7}.minimap-button{border-color:#b2b18b66}
@keyframes lesson-drink{0%,20%,100%{transform:rotate(0)}45%,70%{transform:rotate(14deg)}}@keyframes lesson-fill{0%,20%{width:10%}70%,90%{width:100%}100%{width:10%}}@keyframes lesson-arrow{0%,100%{transform:translateX(-3px);opacity:.4}50%{transform:translateX(4px);opacity:1}}@keyframes lesson-breathe{0%,100%{transform:scale(.94);opacity:.75}50%{transform:scale(1.05);opacity:1}}
@media(max-width:720px){.guide-scene{height:205px;gap:13px}.guide-visual h2{font-size:21px}.lesson-tabs{gap:5px}.lesson-tabs button{padding:8px}.lesson-tabs svg{width:19px;height:19px}.lesson-2 .lesson-item,.lesson-3 .lesson-item{width:57px}.lesson-2 .item-thumb,.lesson-3 .item-thumb{transform:scale(.96)}.lesson-2 .lesson-rest svg,.lesson-3 .lesson-flame svg{width:66px;height:66px}.map-sheet h2{font-size:23px}.world-map.detailed-map{width:100%;margin:8px 0}.map-toolbar button{font-size:11px;padding:9px}.map-filters{gap:4px}.map-filters button{font-size:10px;padding:7px}.map-nearby{grid-template-columns:1fr}.map-nearby button{min-height:42px}.move-feedback{padding:12px 14px;top:49%}.move-feedback span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.lesson-arm,.lesson-arrow,.lesson-meter i,.lesson-moon,.lesson-flame{animation:none}.lesson-meter i{width:85%}}

@media(pointer:coarse),(max-width:720px){.hud-clean .mini-map{width:78px;height:78px}}
@media(max-height:500px) and (orientation:landscape){.hud-clean .mini-map{width:64px;height:64px}}
