*{box-sizing:border-box}body{margin:0;background:#fff;color:#2a2328;font-family:system-ui,sans-serif}button{border:0;border-radius:8px;background:#f3f4f6;color:#2a2328;font:inherit;min-height:44px;padding:8px 13px;touch-action:manipulation}main{padding:4px 8px max(6px,env(safe-area-inset-bottom));height:calc(100dvh - 55px);display:flex;flex-direction:column;gap:5px}.companion{display:flex;align-items:center;gap:8px;min-height:51px}.companion img{width:48px;height:48px;object-fit:contain}.companion strong{font-size:13px}.companion p{font-size:12px;margin:2px 0}.hud,.tools{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:13px}#targets{display:flex;gap:6px}#targets button{flex:1;font-size:11px;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px;min-height:50px}#targets svg{width:30px;height:38px;flex-shrink:0}.found{opacity:.45;text-decoration:line-through}#view{position:relative;overflow:hidden;flex:1;min-height:160px;border:1px solid #d8d9cd;border-radius:10px;background:#edf0d9;touch-action:none}#world{position:absolute;transform-origin:0 0;width:1200px;height:1500px;max-width:none;user-select:none}.note{font-size:11px;margin:0;color:#6e626a}dialog{border:0;border-radius:16px;padding:24px;max-width:calc(100% - 32px);width:340px;color:#2a2328}dialog::backdrop{background:#302b3059}dialog h1{font-size:21px}dialog p{font-size:14px;line-height:1.7}dialog button{width:100%;margin:5px 0}#saveNote{font-size:11px;margin:0}#best{color:#6e626a}
/* The shared sound controller keeps its saved mute state; use a local glyph when the icon font is absent. */
.game-sound-toggle .material-icons{display:none}.game-sound-toggle::before{content:'♪';font-size:21px}.game-sound-toggle.is-muted::before{content:'♪ ×';font-size:15px}.game-sound-toggle{min-height:44px!important;min-width:44px!important}
