*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#172727;color:#f8e7cc;font:15px system-ui,sans-serif}canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}header,nav,aside,footer{position:absolute;pointer-events:none}header{top:0;left:0;right:0;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#142020ee,transparent);gap:12px}.brand{font-family:Georgia,serif;font-weight:bold;letter-spacing:.17em;font-size:21px}.brand span{color:#e2b777}.brand small{display:block;font:10px system-ui;letter-spacing:.22em;color:#b7c3ae;margin:5px 0 0 28px}.stats{display:flex;align-items:center;gap:12px;font-size:12px}.stats label{display:flex;flex-direction:column;gap:4px}meter{width:120px;height:12px}button{pointer-events:auto;border:1px solid #aa96706e;color:#f6e5c7;background:#25322ded;padding:10px 14px;border-radius:7px;cursor:pointer;font:inherit;touch-action:manipulation}button:hover,button.active{background:#866a3b;border-color:#e0b775}button:disabled{opacity:.4;cursor:not-allowed}nav{top:86px;left:50%;transform:translateX(-50%);display:flex;gap:6px;white-space:nowrap}aside{top:145px;left:20px;max-width:245px;background:#1a2929dc;border:1px solid #9da78344;border-radius:10px;padding:13px 16px}aside b{font:21px Georgia,serif;color:#ecc891}aside p{font-size:13px;line-height:1.4;margin:6px 0}#status{color:#d6b984;font-size:13px}footer{bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:flex-end;padding:16px 20px max(20px,env(safe-area-inset-bottom));gap:20px;background:linear-gradient(transparent,#102020ed)}footer section{text-align:center;position:relative}#classes,.actions{display:flex;gap:5px;justify-content:center;margin:5px}footer small{color:#b8c1ae;font-size:11px}#pad{display:none;text-align:center}#pad button{padding:9px 15px}#pad div{display:flex;gap:3px;margin-top:3px}@media(max-width:700px){header{padding:10px}.brand{font-size:15px;letter-spacing:.08em}.brand small{font-size:8px;margin-left:0}.stats{gap:4px}.stats strong{display:none}meter{width:75px}nav{top:62px;gap:4px}button{padding:8px 10px;font-size:12px}aside{top:110px;left:10px;max-width:205px;padding:9px;opacity:.94}aside b{font-size:16px}aside p{font-size:11px}#status{font-size:11px}footer{padding:10px 8px 16px;gap:6px;justify-content:space-between}#pad{display:block}#classes,.actions{flex-wrap:wrap;margin:4px}footer section{max-width:calc(100% - 135px)}footer small{display:none}}