/* Sunlit adventure: quiet teal surfaces, cream type and clear action silhouettes. */
.action-game{--hud-surface:#153d39ed;--hud-border:#e6d5a564;--hud-type:#fff5dc}
.action-game .action-vignette{background:linear-gradient(180deg,#193e3824,transparent 17%,transparent 80%,#193e382e)}
.action-game .game-topbar{top:18px;left:24px;right:24px;gap:9px}
.action-game .location{font-size:18px;letter-spacing:.3px;padding:9px 15px;background:var(--hud-surface);border:1px solid var(--hud-border);border-radius:7px;text-shadow:none;color:var(--hud-type)}
.action-game :is(.hud-button,.back-center){background:var(--hud-surface);border-color:var(--hud-border);color:var(--hud-type);box-shadow:0 3px 12px #18382922;font-size:14px}
.action-game .resources{background:var(--hud-surface);border:1px solid var(--hud-border);border-radius:7px;padding:0 12px}
.action-game .objective-strip{top:78px;left:24px;max-width:265px}
.action-game .quest-tracker{width:265px;padding:11px 13px;gap:7px;background:linear-gradient(115deg,#1b4840ee,#173e38cf);border-color:var(--hud-border);border-left:3px solid #efd39a;box-shadow:0 5px 20px #163a2d18}
.action-game .quest-tracker-heading{font-size:12px;letter-spacing:0;color:#c8ddc9}
.action-game .quest-current strong{font-size:14px;color:var(--hud-type)}
.action-game .quest-current>b{font-size:16px;color:#ffe3a0}
.action-game .quest-pieces{display:none}
.action-game .quest-tracker #objective-hint{font-size:12px;color:#cee0d1;line-height:1.55}
.action-game .quest-progress{height:3px}
.action-game .objective-strip .chocolate-strip{background:#443d25e8;border-color:#e6d5a550;margin-top:8px;padding:7px 10px}
.action-game .objective-strip .chocolate-strip strong{font-size:12px;color:#fff0c9}
.action-game #chocolate-hint{display:none}
.action-game .objective-strip .chocolate-strip button{font-size:12px;min-height:32px}
.action-game .action-map{top:78px;right:24px;background:var(--hud-surface);border-color:var(--hud-border);box-shadow:0 5px 22px #143c3022;padding:7px}
.action-game .action-map>div{font-size:12px;color:#e2e9d2;letter-spacing:0}
.action-game .action-map canvas{opacity:1}
.action-game .view-buttons{right:24px;top:241px}
.action-game .view-buttons button{background:var(--hud-surface);border-color:var(--hud-border);color:var(--hud-type);font-size:12px;min-height:32px}
.action-game .action-vitals{width:246px;left:24px;bottom:24px;gap:10px;padding:12px;background:var(--hud-surface);border:1px solid var(--hud-border);border-radius:9px;box-shadow:0 4px 22px #21453024}
.action-game .action-portrait{display:block;width:45px;height:64px;background-image:url('/games/assets/adventure-actors.png');background-size:400% 400%;background-position:66.6667% 0;background-color:#527760;border-color:#f1d69c55;border-radius:6px;box-shadow:none}
.action-game .action-identity{margin-bottom:7px}
.action-game .action-health-track{height:10px;border-radius:5px;background:#68382f;border-color:#efc29a60}
.action-game .action-health-track i{background:linear-gradient(90deg,#d54a47,#ff8a72)}
.action-game .action-experience{margin-top:9px}
.action-game .action-xp-track{height:5px;border-radius:4px;background:#274d69}
.action-game .action-xp-track i{background:linear-gradient(90deg,#5fa8e0,#abdfff)}
.action-game #action-xp-hint{font-size:12px;color:#c0dce4}
.action-game .action-hotbar-wrap{bottom:24px}
.action-game .action-hotbar{gap:7px;padding:6px;background:#133e35c9;border-color:#ecdbaf68;border-radius:10px;box-shadow:0 7px 22px #143c302b}
.action-game .action-hotbar button{width:68px;min-height:81px;padding:10px 3px 5px;border-radius:6px;border-color:#ead5a67d;background:linear-gradient(145deg,#58735a,#244d40);color:#fff3d0}
.action-game .action-hotbar button:nth-child(2){background:linear-gradient(145deg,#46798c,#285165)}
.action-game .action-hotbar button:nth-child(3){background:linear-gradient(145deg,#948251,#5e5b31)}
.action-game .action-hotbar button:nth-child(4){background:linear-gradient(145deg,#8b6857,#5a4946)}
.action-game .action-hotbar button:nth-child(5){background:linear-gradient(145deg,#587b64,#315b4c)}
.action-game .action-hotbar kbd{font-size:12px;top:5px;left:6px;color:#fff2d1}
.action-game .action-hotbar b{font-size:12px;white-space:nowrap;letter-spacing:0}
.action-game .action-hotbar small{font-size:10px;color:#e0e5d3;white-space:nowrap;letter-spacing:0;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.action-game .action-icon{margin-top:6px;text-shadow:0 2px 5px #193f3044}
.action-game .action-cat-icon{background-image:url('/games/assets/adventure-actors.png');background-size:400% 400%;background-position:0 66.6667%}
.action-game .action-help-button{left:24px;bottom:186px;font-size:12px;background:var(--hud-surface);border-color:var(--hud-border);color:#deeadb}
.action-game .action-tip{bottom:132px;font-size:12px;color:#fff6df;background:#173e389e;padding:6px 10px;border-radius:5px;text-shadow:none}
.action-game .action-target{top:78px;background:#21443ae8;border:1px solid #e5c78d66;border-radius:7px;padding:10px 12px;text-shadow:none}
.action-game .action-target p{color:#edf0d8;margin-bottom:0}
.action-game .action-target[data-phase=windup]{border-color:#efaa7f;background:#593e2ae8}
.action-game .chapter-strip{top:252px;left:24px;width:265px;background:var(--hud-surface);border-color:var(--hud-border)}
.action-game .chapter-strip strong{font-size:14px}.action-game .chapter-strip span{font-size:12px;color:#d3e6d2}
.action-game .game-bottom{bottom:24px;right:24px;width:220px;max-width:220px}
.game-shell.action-game[data-input] .context-controls{width:100%;max-width:none;flex-direction:column;align-items:flex-end;gap:8px}
.game-shell.action-game[data-input] .context-copy{width:100%;flex:none;text-align:right}
.action-game .context-copy strong{font-size:14px;color:#fff4cd;text-shadow:0 2px 6px #254536}
.action-game .context-actions #interact{font-size:14px;min-height:42px;background:linear-gradient(#ffedb9,#dfbf7f);border-color:#fff1c3;color:#34432c}
.action-game :is(.field-notice,.story-caption){background:linear-gradient(115deg,#214d42f5,#173e38f2);border-color:#e4ce9d80;box-shadow:0 7px 24px #1a3b3033}
.kit-portrait-hero{background-image:url('/games/assets/adventure-actors.png');background-size:400% 400%;background-position:66.6667% 0}
.kit-portrait-cat{background-image:url('/games/assets/adventure-actors.png');background-size:400% 400%;background-position:0 66.6667%}
@media(max-width:1100px){
 .action-game .action-vitals{width:211px}.action-game .action-portrait{display:none}
 .action-game .action-hotbar button{width:59px}.action-game .game-bottom{width:170px;max-width:170px}
 .action-game .action-target{top:250px;width:230px}.action-game .action-tip{display:none}
}
@media(max-width:900px){
 .action-game .action-vitals{bottom:127px;width:195px}.action-game .action-help-button{bottom:292px}
 .action-game .game-bottom{bottom:134px}.action-game .action-target{top:244px}
}
@media(max-width:700px){
 .action-game .game-topbar{top:10px;left:12px;right:12px;gap:5px}
 .action-game .location{font-size:13px;padding:8px}.action-game .hud-button{font-size:12px;padding:5px 7px;min-width:30px}
 .action-game .resources{padding:0 7px}.action-game .objective-strip{left:12px;top:65px;max-width:calc(100vw - 133px)}
 .action-game .quest-tracker{width:218px;max-width:100%;padding:9px;gap:5px}
 .action-game .quest-tracker-heading{font-size:10px}.action-game .quest-current strong{font-size:12px}
 .action-game .quest-tracker #objective-hint{display:none}.action-game .quest-current>b{font-size:13px}
 .action-game .action-map{top:65px;right:12px;transform:scale(.62)}.action-game .view-buttons{top:170px;right:12px}
 .action-game .view-buttons button{padding:4px 6px;font-size:11px}
 .action-game .action-vitals{left:12px;bottom:126px;width:177px;padding:9px}
 .action-game .action-help-button{left:12px;bottom:286px}.action-game .action-target{top:223px;width:195px}
 .action-game .action-hotbar-wrap{bottom:18px}.action-game .action-hotbar button{width:57px;min-height:79px}
 .action-game .game-bottom{right:12px;bottom:128px;width:137px;max-width:137px}
 .action-game .chapter-strip{left:12px;top:210px;width:200px}
 .action-game .context-copy strong{font-size:12px}.action-game .context-actions #interact{font-size:12px}
}
@media(max-width:360px){.action-game .location{max-width:102px;overflow:hidden;text-overflow:ellipsis}.action-game .action-hotbar{gap:4px;padding:5px}.action-game .action-hotbar button{width:52px}.action-game .action-vitals{width:161px}}

/* Small, readable finale boards: the mechanism itself explains the next action. */
.gear-trait{padding:10px 12px;border:1px solid #b7dcd14d;border-radius:12px;background:#7dbaad17;color:#d1efe0!important;font-size:13px;line-height:1.5}
.finale-board{max-width:520px;margin:auto;text-align:center}.finale-instruction{margin:0 0 16px;color:#e2ecda;font-size:15px}.finale-key-help{font-size:11px;color:#a8c4c4;margin:12px 0 0}.finale-status{display:grid;gap:5px;margin:16px 0 0}.finale-status strong{color:#f5dda4;font-size:17px}.finale-status span{color:#b5cecb;font-size:12px;min-height:18px}
.water-labels{display:flex;justify-content:space-between;max-width:320px;margin:0 auto 8px;font-size:13px;color:#9ee4ee}.water-labels span:last-child{color:#f5d592}.water-puzzle{display:grid;grid-template-columns:1fr 1fr;max-width:320px;margin:auto;gap:6px;background:#122e37;padding:8px;border-radius:20px;border:1px solid #badbcc33}.pipe-tile{position:relative;aspect-ratio:1;border:1px solid #a4c4c83b!important;border-radius:12px!important;background:#34535d!important;padding:0!important;overflow:hidden}.pipe-tile svg{display:block;width:100%;height:100%}.pipe-bed{stroke:#142e37;stroke-width:34;fill:none;stroke-linejoin:round}.pipe-flow{stroke:#728c93;stroke-width:18;fill:none;stroke-linejoin:round}.pipe-tile[data-lit=true] .pipe-flow{stroke:#85deed;filter:drop-shadow(0 0 5px #86dddf88)}.pipe-tile kbd{position:absolute;left:8px;top:8px}.pipe-tile>span{position:absolute;right:8px;bottom:3px;color:#e2e5cb;font-size:22px}
.finale-board kbd{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border:1px solid #b8d3d350;border-radius:6px;background:#152f39;color:#e4eada;font:12px system-ui}.forest-code{display:flex;align-items:center;justify-content:center;gap:14px;padding:22px 10px;background:#203e424d;border-radius:18px;margin:16px 0}.forest-code>span{display:grid;place-items:center;gap:8px;font-size:32px;color:#e4d6ad;min-width:58px}.forest-code svg{width:44px;height:44px}.forest-code small{font-size:12px}.forest-code i{font-style:normal;color:#b4cbc1}.forest-code [data-done=true]{color:#97e8b0}.forest-code [data-done=true]::after{content:'✓';font-size:14px}.finale-light{display:inline-flex;align-items:center;gap:10px;padding:10px 18px!important;margin:0 0 16px}.finale-light svg{width:24px;height:24px}.finale-options{display:flex;justify-content:center;gap:10px}.finale-options button{display:grid;justify-items:center;gap:8px;flex:1;max-width:132px;padding:13px 8px!important;border-radius:13px!important}.finale-options svg{width:32px;height:32px}.finale-options span{font-size:13px}.finale-options strong{font-size:25px;line-height:32px}.finale-options [data-aligned=true]{color:#b6edb9;border-color:#9ace9b!important}
.compass-puzzle{width:min(100%,320px);height:260px;display:block;margin:-8px auto 8px}.compass-puzzle circle{fill:none;stroke:#8caaac;stroke-width:9}.compass-puzzle g:nth-of-type(2) circle{stroke:#b6a179}.compass-puzzle g:nth-of-type(3) circle{stroke:#88aea3}.compass-puzzle .compass-pointer{fill:none;stroke:#ffe2a5;stroke-width:5;stroke-linejoin:round}.compass-puzzle text{fill:#ffe1a1;font:15px system-ui}.compass-puzzle .compass-guide{stroke:#ccebbb;stroke-width:2;stroke-dasharray:4 4}.compass-puzzle g[data-aligned=true] circle{stroke:#a2d499}.compass-puzzle .compass-heart{fill:#e4c17e;stroke:#f1ddb3;stroke-width:2}
@media(max-width:560px){.water-puzzle{max-width:250px}.water-labels{max-width:250px}.forest-code{gap:9px}.finale-instruction{font-size:13px}.compass-puzzle{height:220px}.finale-board kbd{display:none}.finale-options button{padding:10px 8px!important}}
.water-puzzle{position:relative}.water-puzzle::before,.water-puzzle::after{content:'';position:absolute;top:25%;width:22px;height:16px;border-radius:5px;transform:translateY(-50%);box-shadow:0 0 12px #b2ebea33;z-index:1}.water-puzzle::before{left:-15px;background:#85deed}.water-puzzle::after{right:-15px;background:#f5d592}
.finale-options button,.finale-light{background:linear-gradient(145deg,#3d6365,#2a4854);border:1px solid #a4c6bc77;color:#f3edcf;font-family:inherit;box-shadow:0 3px 0 #112f37;cursor:pointer;transition:background .15s,border-color .15s}.finale-options button:hover,.finale-light:hover,.pipe-tile:hover{border-color:#f3d695!important;background:#476a68!important}.finale-board button:focus-visible{outline:3px solid #f1d697;outline-offset:3px}.finale-options button:disabled,.finale-light:disabled{opacity:.55;cursor:default;box-shadow:none}.finale-options [data-aligned=true]{background:linear-gradient(145deg,#436d55,#2c514a)}
/* Keep the reason for a locked cocoa chest beside its action, including on narrow screens. */
.action-game .context-controls[data-mechanism=cocoaLock]{padding:11px 13px;border:1px solid #d6b77b66;border-radius:10px;background:#173d37ed;box-shadow:0 5px 20px #0003}
.action-game .context-controls[data-mechanism=cocoaLock] .context-copy p{display:block;margin:5px 0 0;max-width:none;font-size:12px;line-height:1.6;color:#d4e2ca}
.action-game .context-controls[data-mechanism=cocoaLock] .context-actions{width:100%}.action-game .context-controls[data-mechanism=cocoaLock] #interact{width:100%;min-height:44px}
/* Pursuit keeps only the three useful actions; the task owns the countdown. */
.action-game[data-chasing=true] #objective-hint{display:none}
.action-game[data-chasing=true] .action-hotbar button{width:78px}

.daylight-clock{font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;color:#f8dd9c;border:1px solid #e7d1a03d;border-radius:18px;background:#25493fea;padding:8px 11px;white-space:nowrap;font-variant-numeric:tabular-nums}.daylight-clock[data-night=true]{background:#30405eea;color:#dce6ff;border-color:#b9cff955}.shelter-status{position:absolute;z-index:3;left:50%;bottom:155px;transform:translateX(-50%);padding:7px 13px;border:1px solid #a8d5b299;border-radius:20px;background:#244c40ed;color:#d9f0d0;font-size:12px;pointer-events:none;white-space:nowrap}.shelter-status[hidden]{display:none}.shop-material{display:grid;place-items:center;width:96px;height:96px;color:#ddbd80;background:radial-gradient(ellipse,#efd7a321,transparent 70%)}.shop-material .kit-icon{width:70%;height:70%}.shop-tile .shop-material{width:70px;height:70px;margin:auto}.shop-detail-art .shop-material{width:144px;height:144px}.shop-material:has(.kit-icon){filter:drop-shadow(0 3px 3px #071e2144)}
@media(max-width:700px){.daylight-clock{font-size:10px;padding:6px}.shelter-status{bottom:112px}.action-game .resources{gap:5px}}
