#wallRun{position:fixed;inset:0;z-index:45;background:#0b2029;color:#eee0bd;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-sizing:border-box;font-family:Georgia,serif;overscroll-behavior:none}
.wall-hud{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;font:12px monospace;padding:4px 8px}.wall-hud b{font-size:20px;color:#edc778}.wall-hud button,.wall-touch button{min-width:64px;min-height:48px;border:1px solid #c5a264;background:#15333a;color:#f0dcac;font:700 15px Georgia;touch-action:manipulation}.wall-surface{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;background:#243e47}#wallCanvas{display:block;touch-action:none;overscroll-behavior:none;outline:none;border:0;border-radius:0;max-width:100%;max-height:100%;box-shadow:none}.wall-touch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px}.wall-touch button{flex:1;min-height:58px;font-size:18px;max-width:240px}.wall-touch span{font:10px/1.5 monospace;text-align:center;color:#cfbd93}
#wallPanel{position:absolute;inset:0;display:grid;place-items:center;background:#071b22a8;padding:18px;overflow:auto;z-index:2}#wallPanel article{background:#10292fef;border:1px solid #bd975c;max-width:650px;width:100%;padding:24px;box-sizing:border-box;text-align:center;max-height:100%;overflow:auto}#wallPanel h1{font-size:clamp(34px,6vw,64px);line-height:.95;letter-spacing:.03em;color:#edc77e;margin:20px 0}#wallPanel h2{font-size:30px;color:#edc77e}#wallPanel p{line-height:1.5}#wallPanel .wall-kicker{font:10px/1.5 monospace;letter-spacing:.1em}.wall-subtitle{font-style:italic}.wall-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.wall-actions button{min-height:48px}#wallPanel details{text-align:left;border-top:1px solid #856f46;padding:15px 0;margin-top:14px}#wallPanel summary{cursor:pointer;min-height:40px;color:#efd198}#wallPanel a{color:#b2d9c1}.wall-final-score{font-size:44px;color:#edc77e;margin:8px}
@media(max-width:600px){.wall-hud{gap:5px;font-size:10px;padding:3px}.wall-hud button{min-width:52px;font-size:13px}.wall-touch{gap:8px}.wall-touch button{font-size:16px}.wall-touch span{font-size:8px}#wallPanel{padding:10px}#wallPanel article{padding:18px}#wallPanel p{font-size:14px}.wall-actions{flex-direction:column}.wall-actions button{width:100%}}
@media(max-height:500px){.wall-hud{min-height:38px}.wall-hud button{min-height:38px}.wall-touch{padding-top:3px}.wall-touch button{min-height:40px}.wall-touch span{display:none}#wallPanel article{padding:12px}#wallPanel h1{font-size:30px;margin:8px 0}#wallPanel p{margin:6px 0}.wall-actions{flex-direction:row}.wall-actions button{width:auto}}

body.rpg-wallrun.rpg-exploring #campaignChrome,body.rpg-wallrun #saveStatus{display:none!important}
@media(max-height:500px){.wall-hud{min-height:44px}.wall-hud button,.wall-touch button{min-height:44px}}
