@font-face{font-family:GoodDog;src:local('Arial');font-display:swap}
:root{color-scheme:dark;--ink:#fff8e8;--paper:#14221ee8;--accent:#ffce73;--muted:#d8dfd3;--line:#fff5d529}
body{background:#16281f;color:var(--ink);font-family:GoodDog,system-ui,sans-serif}
button{background:#15251dcc;color:var(--ink);border:1px solid var(--line);border-radius:8px;transition:background .15s,transform .15s}
button:hover:not(:disabled){background:#354b3a}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.primary{background:var(--accent);border:0;color:#28311d;font-weight:800;border-radius:999px;padding:16px 26px;min-width:220px;text-align:left}
.primary:hover:not(:disabled){background:#ffe3a0}.primary:after{content:'↗';float:right;margin-left:35px}
.overlay{background:linear-gradient(90deg,#10221af2 0%,#14291cc2 26%,#192b1d38 63%,transparent);padding:clamp(24px,7vw,100px);align-items:center}
.card{width:min(510px,100%);background:none;box-shadow:none;border:0;border-radius:0;padding:0}
.eyebrow{color:#ffdc9a;letter-spacing:.2em;font-size:10px}.card h1{font-size:clamp(82px,10vw,152px);letter-spacing:-.075em;line-height:.82;font-weight:950;margin:24px 0 27px;max-width:420px;text-shadow:0 6px 30px #12211735}
.card h1::after{content:'';display:block;background:var(--accent);height:5px;width:104px;border-radius:100%;transform:rotate(-4deg);margin-top:22px}
.card h2{color:var(--ink);font-size:48px;line-height:1.03;letter-spacing:-.06em;margin:16px 0 22px}
.card p{color:var(--muted);font-size:15px;line-height:1.8;max-width:350px}.card .small{color:#c8d5c1;font-size:11px;line-height:1.8;max-width:350px;margin-top:24px}
#loading{max-width:320px;margin-bottom:24px;color:#e4e9db;font-size:12px}progress{height:4px;accent-color:var(--accent);background:#ffffff1a;margin-top:15px;border-radius:4px}progress::-webkit-progress-bar{background:#ffffff21;border-radius:4px}progress::-webkit-progress-value{background:var(--accent);border-radius:4px}
.title-actions{display:grid;gap:10px;justify-items:start;margin-top:18px}.title-actions>.secondary{background:none;border:0;padding:12px 8px;color:#fff5dd;min-height:44px;font-weight:700}.title-actions>.secondary:before{content:'＋';margin-right:14px;color:var(--accent)}
.top .brand{color:white;text-shadow:0 2px 14px #18251a66;font-size:19px}.actions button{background:#12251dbc;border-color:#ffffff29;box-shadow:none;color:#fff7e2;backdrop-filter:blur(10px);border-radius:999px;font-size:11px;padding:9px 16px}.actions #sound,.actions #restart{display:none}
#hud{padding:20px 24px}.route{top:78px;left:24px;background:linear-gradient(90deg,#15271ed9,#15271e82);color:#fff8e9;box-shadow:none;border:1px solid #ffffff20;border-radius:8px;padding:16px 18px;min-width:240px;max-width:330px;backdrop-filter:blur(8px)}
.route ol{gap:5px}.route li{color:#d2d9c9;background:#ffffff15;font-size:9px}.route li.current{background:var(--accent);color:#2c3826}.route li.done{background:#375d3c;color:#ddf0c7}.target strong{font-size:14px;font-weight:750}#distance{font-size:11px;color:#e2d8b4}.adventure-meta{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#e6cc94;margin-bottom:8px}
.context{color:#fff9eb;background:#162a20d9;border:1px solid #ffffff26;box-shadow:none;border-radius:8px;bottom:76px;font-size:12px;font-weight:500;max-width:600px;backdrop-filter:blur(8px)}.hint{background:transparent;color:#fff6ddcc;text-shadow:0 2px 8px #152919;bottom:24px;font-size:10px;border-radius:0}
.vitals{position:absolute;bottom:30px;left:24px;width:145px;pointer-events:auto}.vitals>span{font-size:9px;letter-spacing:.13em;text-transform:uppercase;text-shadow:0 2px 10px #12271e}.vitals progress{height:4px;margin-top:8px}.nose-button{margin-top:12px;min-height:44px;border-radius:999px;font-size:11px;padding:7px 13px}.nose-button[aria-pressed=true]{background:var(--accent);color:#25351d}.bond-badge{font-size:10px;display:block;margin-top:9px;color:#ffe4ac}
.game-sheet{position:absolute;inset:0;z-index:15;display:flex;align-items:center;justify-content:flex-end;padding:30px;background:#101b1466;backdrop-filter:blur(4px)}
.sheet{width:min(480px,100%);max-height:calc(100dvh - 60px);overflow:auto;padding:28px;background:#172b22f5;border:1px solid #e4f3cb36;border-radius:16px;box-shadow:0 20px 90px #06140b66}.sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.sheet h2{font-size:29px;letter-spacing:-.05em;margin:6px 0}.sheet .close-sheet{font-size:21px;width:44px;height:44px;border-radius:50%;padding:0}.sheet label{display:grid;gap:7px;margin:16px 0;color:#e3eadc;font-size:12px}.sheet input,.sheet select{font:inherit;min-height:44px;color:#fbf5e5;background:#20392b;border:1px solid #e3ebce40;border-radius:7px;padding:9px 12px;max-width:100%;width:100%}.sheet input[type=checkbox]{width:18px;min-height:18px;margin-right:9px;accent-color:var(--accent)}.sheet .check{display:flex;align-items:center}.sheet .options{display:flex!important}.sheet .options label{flex:1}.sheet p{font-size:12px;color:#c3d4bd;line-height:1.7}.sheet kbd{background:#ffffff19;padding:3px 5px;border-radius:4px;color:white;font-family:inherit}
.adventure-choice{display:block;width:100%;padding:17px;text-align:left;margin:10px 0;border-radius:10px;background:#1e3528;border-color:#e0ecc626}.adventure-choice strong{font-size:14px}.adventure-choice span{display:block;font-size:11px;line-height:1.7;color:#bfceb6;margin-top:7px}.adventure-choice .mission-progress{color:#ffdc95;font-size:10px}.adventure-choice[aria-pressed=true]{border-color:var(--accent);background:#364834}.adventure-choice:disabled{opacity:.55;cursor:default}#new-day{width:100%;margin-top:12px}#save-status{font-size:10px;color:#c5d6bb;margin-top:15px}
.capture-tools{top:78px;right:24px;width:290px;background:#172b22f5;border-color:#e3edcf40;color:white;border-radius:12px;backdrop-filter:blur(12px)}.capture-tools input,.capture-tools select{background:#29452f;color:white;border:1px solid #e2ebca44;border-radius:6px;min-height:38px}.capture-tools button{font-size:11px}.capture-tools label{font-size:11px}.capture-tools p{font-size:11px;color:#ccdbbf}
body[data-mode=playing] .game-footer,body[data-mode=paused] .game-footer{display:none}
#sound-unlock{top:180px;background:#172b22e6;border-color:#e3ebca22;color:white;right:24px}.game-footer{position:absolute;bottom:24px;left:clamp(24px,7vw,100px);z-index:11;display:flex;gap:24px;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#e5e8d3a6;pointer-events:none}
body:not([data-mode=playing]) #hud{visibility:hidden}body[data-mode=error] #intro{background:#12231df5}body[data-mode=error] h1{font-size:75px}
.gs-input-controls__stick{background:#142c2477!important;border:1px solid #fff7dc40!important}.gs-input-controls__thumb{background:#ffcf73b0!important;color:#263323!important;font-size:10px!important}.gs-input-controls__button{background:#152c20c9!important;color:#fff7df!important;border-color:#e2ecc444!important;border-radius:50%!important;font-size:11px!important;width:55px;min-height:55px;padding:6px!important}.gs-input-controls [data-gs-action=jump]{display:block!important}
@media(max-width:700px){#hud{padding:14px}.actions{gap:5px}.actions button{padding:8px 10px;font-size:10px;min-height:40px}.route{top:68px;left:14px;max-width:230px;min-width:0;padding:12px 14px}.route li{padding:3px 5px;font-size:8px}.route .target strong{font-size:12px}.adventure-meta{font-size:8px}.overlay{padding:28px;background:linear-gradient(90deg,#10221af2,#152c1c6b)}.card h1{font-size:92px;max-width:270px}.card p{max-width:270px;font-size:13px}.card h2{font-size:40px}.primary{min-width:210px}.game-footer{left:28px;bottom:22px;font-size:8px;gap:16px}.game-sheet{padding:12px}.sheet{padding:22px;max-height:calc(100dvh - 24px)}.context{bottom:168px;width:calc(100% - 48px);font-size:11px;min-width:0;padding:9px 12px}.vitals{bottom:128px;left:16px;width:110px}.vitals .bond-badge{display:none}.nose-button{position:fixed;right:20px;bottom:135px;margin:0}.capture-tools{top:68px;right:14px;max-height:calc(100dvh - 100px);overflow:auto}.hint{display:none}.gs-input-controls__panel{width:170px!important}.gs-input-controls__buttons{gap:9px!important}}
@media(max-height:520px){.card h1{font-size:70px;margin:12px 0 20px}.card p{font-size:12px;margin-bottom:8px;max-width:420px}.title-actions{display:flex;gap:12px;align-items:center;margin-top:8px}.card .small{margin-top:10px;font-size:9px}.overlay{padding:25px 40px}.game-footer{display:none}.context{bottom:16px}.vitals{bottom:20px}.sheet{max-height:calc(100dvh - 24px)}.route{top:65px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

.fetch-club{padding:16px 0 20px;margin-bottom:18px;border-bottom:1px solid #d4d7c8}.fetch-club h3{margin:0 0 5px}.fetch-club p{margin:5px 0 12px}.fetch-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:10px;pointer-events:auto}.fetch-controls button{font-size:12px;min-height:44px;padding:8px 12px}.fetch-controls button:disabled{cursor:default}
