*{box-sizing:border-box}body{margin:0;background:#25312e;color:#f2eee0;font:16px "Segoe UI",Arial,sans-serif;overflow:hidden}canvas{position:fixed;inset:0;width:100%;height:100%;touch-action:none}body:after{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 56% 43%,transparent 35%,#0f171844 100%)}header,footer,main,#hud,#actions,#pad{position:absolute;z-index:1}header,footer{left:5%;right:5%;pointer-events:none}header{top:4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e5d840;padding-bottom:14px}header strong{font:900 20px "Arial Narrow",Arial,sans-serif;letter-spacing:.15em}header i{font:700 21px Georgia,serif;display:inline-block;border:1px solid #c4a971;color:#dbc68f;padding:0 4px;margin-right:7px}header span,small,footer,#hud{font:600 12px/1.5 Consolas,monospace;letter-spacing:.1em}main{left:6%;top:50%;transform:translateY(-46%);width:min(430px,88vw)}small{color:#dfbf7d}h1{font:900 clamp(68px,12vmin,134px)/.84 "Arial Narrow",Impact,"Segoe UI",sans-serif;letter-spacing:-.065em;text-transform:uppercase;margin:.21em 0 .24em;text-shadow:0 3px 22px #18222244}h1 span{color:#daba7e}p{max-width:375px;font-size:17px;line-height:1.55;color:#f1efe3;text-shadow:0 1px 8px #152220;margin:0 0 24px}button{cursor:pointer;font:700 14px "Segoe UI",sans-serif;color:#202622;background:#dbc18b;border:1px solid #eddaa9;padding:12px 22px;letter-spacing:.04em}button:hover{filter:brightness(1.14)}button:focus-visible{outline:3px solid white;outline-offset:3px}#start{min-width:150px;text-transform:uppercase}footer{bottom:3%;border-top:1px solid #e3e5d840;padding-top:12px;color:#e9e9d8}#hud{left:5%;top:15%;display:grid;gap:3px;background:#182321dc;padding:10px 16px;border-left:3px solid #d6b374;color:#efdfb8}#alert{color:#dae1d6}#actions{right:5%;bottom:10%;display:flex;gap:5px}#actions button,#pad button{background:#19231fe8;color:#f2eee2;border:1px solid #bcc4b077;padding:10px;touch-action:none}#pad{bottom:10%;left:4%;text-align:center}#pad button{min-width:36px}body.play canvas{cursor:grab}[hidden]{display:none!important}@media(pointer:fine){#pad{display:none}}@media(max-width:640px){#actions{max-width:170px;flex-wrap:wrap;justify-content:flex-end}header span{font-size:11px}}@media(max-height:500px){h1{font-size:52px;margin:.15em 0}p{font-size:15px;margin-bottom:10px}main{top:52%}footer{bottom:1%;padding-top:3px}}
#loadout{position:absolute;z-index:1;right:5%;top:15%;display:grid;justify-items:end;text-shadow:0 2px 5px #101b1e}#loadout small{color:#f5dfb6}#loadout strong{font:700 clamp(20px,3.1vh,30px) Consolas,monospace;color:#fff5df}#report{font:600 14px Consolas,monospace;color:#ffe1ad}#hud{background:linear-gradient(90deg,#182321cf,#18232185)}@media(max-width:640px){#hud{max-width:60%;font-size:11px}#loadout{font-size:11px}#actions{max-width:205px}#actions button{font-size:12px;padding:8px}}
#selection{display:grid;grid-template-columns:1fr 1.45fr;gap:6px 12px;margin:0 0 18px;text-shadow:0 1px 4px #101a1b}#selection label{display:grid;gap:5px;font:600 12px Consolas,monospace;text-transform:uppercase;color:#dfcba6;letter-spacing:.08em}#selection select{font:600 14px "Segoe UI",sans-serif;color:#f7efde;background:#172526ed;border:1px solid #8e9787;padding:9px 4px;width:100%}#trait{grid-column:1/-1;font-size:13px;color:#ede3cc}#change{background:#182727d9;color:#f1e9d9}#vitality{color:#d9ddd5}main{max-height:72dvh;overflow-y:auto;transform:translateY(-50%)}h1{font-size:clamp(48px,10vmin,104px)}@media(max-height:570px){main{max-height:67dvh}#selection{margin-bottom:8px}h1{font-size:42px}}@media(max-width:510px){#hud{gap:1px}#selection{grid-template-columns:1fr 1.4fr}#selection select{font-size:12px}}
#fieldmap{position:absolute;z-index:2;right:5%;top:27%;width:min(220px,44vw,32vh);background:#172321ed;border:1px solid #9da7918c;padding:8px;pointer-events:none}#fieldmap strong,#fieldmap small{font:600 11px Consolas,monospace;color:#e6e0ca}#chart{display:block;position:static;width:100%;height:auto;margin:5px 0}#actions{max-width:65vw;flex-wrap:wrap;justify-content:flex-end}@media(max-width:640px){#actions{max-width:52vw}}
#directions{font-size:14px;line-height:1.4;margin:8px 0;color:#e2dbc6}.volume{display:flex;align-items:center;gap:10px;margin:10px 0 16px;font:600 13px Consolas,monospace;color:#e4dbc8}.volume input{width:105px;accent-color:#dbc18b}.volume output{min-width:4ch}
