/* Compact matte bronze controls, following the user's recessed-symbol reference. */
.picture-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:52px;height:52px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;color:#49371f;touch-action:manipulation;pointer-events:auto;user-select:none;-webkit-user-select:none}
.picture-button img{display:block;width:52px;height:52px;object-fit:contain;pointer-events:none;flex-shrink:0;filter:none}.picture-button:hover{background:none}.picture-button:hover img{filter:brightness(1.035)}.picture-button:active{transform:translateY(1px);background:none;box-shadow:none}.picture-button:focus-visible{outline:3px solid #f3d394;outline-offset:2px}.picture-button:disabled{opacity:.64;cursor:default}.picture-button[aria-pressed=true],.picture-button.pressed{background:none;box-shadow:none}.picture-button[aria-pressed=true] img,.picture-button.pressed img{filter:brightness(.87);transform:translateY(1px)}
.picture-tile{width:auto;min-width:60px;height:76px;min-height:76px;border-radius:12px}.picture-tile [data-caption],.control-caption{font:600 11px/1.2 Trebuchet MS,Arial;color:#49371f;white-space:nowrap;text-shadow:none}.point-left{transform:scaleX(-1)}.point-up{transform:rotate(-90deg)}
.picture-start{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 8px;border:0;border-radius:28px;background:none;color:#49371f;box-shadow:none;font:600 14px Trebuchet MS,Arial;text-shadow:none;touch-action:manipulation}.picture-start img{width:52px;height:52px;object-fit:contain;flex-shrink:0}.picture-start:hover{background:none}.picture-start:hover img{filter:brightness(1.035)}.welcome .picture-start{color:#fff0cf;text-shadow:0 1px 3px #302817}.paper-card .picture-start,.cupboard-grid .picture-start{width:100%;margin:10px 0 0}
.picture-menu{width:min(420px,94vw);padding:22px 25px;text-align:center}.picture-menu h2{font-size:29px;margin:0 0 15px}.picture-grid,.options-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 8px}.picture-grid .picture-button,.options-grid .picture-button{width:100%;height:80px;min-height:80px;padding:0;border:0;background:none;box-shadow:none;border-radius:12px;gap:4px}.picture-grid img,.options-grid img{width:52px;height:52px}.paper-card .picture-tile [data-caption]{font-size:12px;color:#49371f;text-shadow:none}.quiet-setting{display:block;margin:12px auto 0;padding:8px 12px;min-height:44px;border:0;border-radius:8px;background:none;color:#49371f;font-size:12px;text-decoration:underline;text-underline-offset:3px}.close-picture{position:absolute;right:8px;top:7px;width:46px;height:46px;min-width:44px;min-height:44px;z-index:1}.close-picture img{width:46px;height:46px}
.game-playing .brand,.game-playing .chapter,.game-playing .location,.game-playing .trail-map,.game-playing .keyboard-guide{display:none}.game-playing .hud{left:auto;right:max(8px,env(safe-area-inset-right));top:max(7px,env(safe-area-inset-top));gap:0}.hud nav{gap:5px}.hud .picture-button{position:relative;width:52px;min-width:48px;height:52px;min-height:48px;padding:0;gap:0;border-radius:50%}.hud .picture-button img{width:52px;height:52px}.nav-caption{display:none}.hud .picture-button i{position:absolute;right:5px;top:4px;width:7px;height:7px;border-radius:50%;background:#d6a641;border:1px solid #fff8df}
.quest-objective{top:max(12px,env(safe-area-inset-top));left:max(9px,env(safe-area-inset-left));display:flex;align-items:center;gap:5px;max-width:none;padding:0;background:none;border:0;box-shadow:none;pointer-events:none}.clue-token{position:relative;display:block;width:35px;height:38px;opacity:.62;filter:grayscale(.3)}.clue-token img{width:35px;height:35px;object-fit:contain;filter:drop-shadow(0 2px 2px #19321d)}.clue-token.found{opacity:1;filter:none}.clue-check{display:none;position:absolute;right:0;bottom:0;font:bold 12px Trebuchet MS,Arial;background:#2d643f;border:1px solid #fff0bc;border-radius:50%;width:16px;height:16px;line-height:15px;color:#fff6d4;text-align:center}.clue-token.found .clue-check{display:block}
#controls{bottom:max(4px,env(safe-area-inset-bottom));left:max(13px,env(safe-area-inset-left));right:max(13px,env(safe-area-inset-right))}.direction-pad,.action-pad{gap:9px}#controls .picture-button{width:56px;height:56px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;justify-content:center;gap:0}#controls .picture-button img{width:56px;height:56px}#controls .picture-button.pressed{background:none;transform:translateY(1px)}#controls .control-caption{display:none}
.speech{left:0;top:0;bottom:auto;transform:none;max-width:min(230px,calc(100% - 24px));width:max-content;padding:11px 14px;background:#fff7df;border:1.5px solid #b38e54;box-shadow:0 3px 10px #18351c30;border-radius:16px 16px 16px 5px;color:#2e4e34;font:italic 15px/1.4 Georgia,serif;text-shadow:none;pointer-events:auto;cursor:pointer;z-index:5}.speech::after{content:'';position:absolute;left:calc(var(--tail-x,40px) - 7px);bottom:-7px;width:12px;height:12px;background:#fff7df;border-right:1.5px solid #b38e54;border-bottom:1.5px solid #b38e54;transform:rotate(45deg)}
@media(orientation:landscape){.speech{max-width:min(230px,calc(50vw - 80px))}}
.mini-header{min-height:60px;padding:max(4px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));gap:7px}.mini-header nav{gap:6px}.mini-header .picture-button{width:48px;min-width:48px;height:48px;min-height:48px;padding:0;gap:0;border-radius:50%}.mini-header .picture-button img{width:48px;height:48px}.mini-header [data-caption]{display:none}.mini-heading strong{font-size:10px;padding:5px 6px;border:0;background:#fff9e8df;border-radius:5px;white-space:nowrap}.mini-footer{display:none}.mini-message{bottom:max(76px,calc(env(safe-area-inset-bottom) + 76px));max-width:calc(100% - 28px);padding:2px 5px;background:none;border:0;box-shadow:none;border-radius:0;color:#fff9da;font-weight:bold;text-shadow:0 2px 3px #17351f,1px 0 3px #17351f,-1px 0 3px #17351f}.mini-message.visible{pointer-events:auto;cursor:pointer}.mini-header .clue-control{outline:3px solid #edc56f;outline-offset:1px}
.options-panel .paper-card{max-width:420px;padding:22px 24px}.options-panel h2{margin:0 0 9px;font-size:28px}.options-panel #closeOptions{margin:0 auto 8px;height:76px;min-height:76px}.options-grid{margin-top:0}.options-grid .picture-tile{height:78px;min-height:78px}#miniResult .paper-card{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;width:min(470px,94vw)}#miniResult .result-stars,#miniResult h2,#miniResult p{width:100%;margin:3px 0}#miniResult .picture-button{width:82px;min-width:82px;min-height:78px;height:78px}
.visual-help{width:min(600px,94vw);padding:25px 28px;text-align:center}.visual-help h2{margin:0 42px 16px;font-size:29px}.picture-instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.picture-instructions>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.rule-pictures{height:85px;display:flex;align-items:center;justify-content:center;gap:0}.rule-pictures img{width:49px;height:62px;object-fit:contain}.rule-pictures img:only-child{width:83px;height:83px}.rule-pictures .gate-hen{filter:drop-shadow(0 0 4px #e6bd58)}.gate-example img:last-child{width:39px}.picture-instructions p{font:600 13px/1.5 Trebuchet MS,Arial;color:#345336;margin:7px 0 0}.help-tools{display:flex;justify-content:center;gap:18px;margin-top:18px}.help-tools span{display:flex;align-items:center;font-size:11px;color:#4d6240;gap:6px}.help-tools img{width:28px;height:28px;object-fit:contain}.visual-help .key-help{font-size:10px;margin:16px 0 0;line-height:1.5;color:#7b795c}.glowing-example img{filter:drop-shadow(0 0 9px #eac96a)}
.puzzle-choices .picture-button{width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:1px solid #6e512f;border-radius:50%;background:linear-gradient(145deg,#ead2a6,#dabb86);box-shadow:inset 0 0 0 1px #efd19c,0 2px 2px #503b2433}.puzzle-choices .picture-button [data-caption]{font:700 20px/1 Trebuchet MS,Arial;margin:0;color:#604923;text-shadow:0 1px #f7d7a1,0 -1px #8e6535}
@media(max-width:450px){.picture-instructions{grid-template-columns:1fr;gap:9px}.picture-instructions>div{flex-direction:row;gap:12px;text-align:left;justify-content:flex-start}.rule-pictures{width:133px;min-width:133px;height:68px}.rule-pictures img{height:56px;width:43px}.rule-pictures img:only-child{height:65px;width:65px}.picture-instructions p{margin:0;font-size:12px}.visual-help{padding:23px 20px}.visual-help h2{font-size:25px;margin:3px 25px 12px}.help-tools{gap:10px}.mini-header nav{gap:4px}.mini-header .picture-button{width:48px;min-width:48px;height:48px}.mini-header .picture-button img{width:48px;height:48px}.mini-heading strong{font-size:9px;padding:4px}.picture-menu{padding:20px}.picture-grid{gap:8px}}
@media(max-height:520px) and (orientation:landscape){.hud .picture-button{width:48px;height:48px;min-width:48px;min-height:48px}.hud .picture-button img{width:48px;height:48px}.quest-objective{top:8px}.clue-token,.clue-token img{width:30px;height:32px}.mini-header{min-height:58px;padding-top:max(2px,env(safe-area-inset-top));padding-bottom:2px}.mini-message{bottom:72px;font-size:12px}#controls{bottom:max(0px,env(safe-area-inset-bottom))}#controls .picture-button{width:52px;height:52px;min-width:48px;min-height:48px}#controls .picture-button img{width:52px;height:52px}.discover-picture{bottom:75px}.speech{font-size:13px}.picture-menu,.options-panel .paper-card{padding:13px 22px}.picture-menu h2,.options-panel h2{font-size:24px;margin:0 0 5px}.picture-grid,.options-grid{gap:4px 9px}.picture-grid .picture-button,.options-grid .picture-button{height:70px;min-height:70px}.picture-grid img,.options-grid img{width:48px;height:48px}.quiet-setting{margin-top:5px;padding:5px}.visual-help{padding:18px 26px}.visual-help h2{font-size:25px;margin-bottom:8px}.rule-pictures{height:70px}.rule-pictures img:only-child{height:68px;width:68px}.help-tools{margin-top:8px}.visual-help .key-help{margin-top:7px}.options-panel #closeOptions{height:70px;min-height:70px;margin-bottom:3px}#miniResult .picture-button{height:74px;min-height:74px}#miniResult h2{font-size:26px}.result-stars{font-size:23px}}
