@import"https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap";:root{font:14px Inter,system-ui,sans-serif;color:#ede6d6;background:#101b22}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:2px solid #e3b979;outline-offset:2px}#world{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#061017c9,transparent 32%,transparent 55%,#061017df 100%),radial-gradient(ellipse at 50% 42%,transparent 22%,#0b151c77 100%)}header{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:24px 30px;gap:14px;z-index:2}.brand{display:flex;align-items:center;gap:12px}.logo{display:grid;place-items:center;width:44px;height:44px;border:1px solid #bfa071;font:700 24px Cinzel,serif;background:#0e2024bc;color:#e9c88f}.brand small,small,.bar-head,.buttons-title,.state,.footer{font-size:10px;letter-spacing:1.4px}.brand small{display:block;color:#ba8;letter-spacing:2.2px;font-weight:800}.brand strong{display:block;margin-top:5px;font:700 20px Cinzel,serif;letter-spacing:2px}.top-actions{display:flex;align-items:center;gap:8px}.top-actions button,.live{background:#12242bdb;border:1px solid #ad967857;padding:11px 13px;font-weight:800;font-size:10px;letter-spacing:.9px;color:#e6ddc9}.live b{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9bd9bc;box-shadow:0 0 12px #9bd9bc;margin-right:6px}.top-actions button:hover{border-color:#e4c28e}.hud{position:absolute;top:105px;width:282px;max-width:calc(50vw - 30px);padding:16px;background:linear-gradient(145deg,#10242be8,#0c1b22c8);border:1px solid #ddc09a38;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2}.hud.left{left:30px}.hud.right{right:30px}.hud small{font-weight:800;color:#b8a37e;letter-spacing:1.9px}.hud h2{font:700 18px Cinzel,serif;margin:7px 0 17px;letter-spacing:.6px;white-space:nowrap}.hud h2 em{font:700 9px Inter,sans-serif;vertical-align:middle;border:1px solid #b29467;padding:3px 5px;color:#d9bb86;font-style:normal}.bar-head{display:flex;justify-content:space-between;color:#e6d3af;margin-bottom:6px;font-weight:700}.track{height:8px;background:#031016ad;border:1px solid #ffffff26;margin-bottom:15px;overflow:hidden}.track>div{height:100%;width:100%;transition:width .1s linear}.track .defence{background:linear-gradient(90deg,#608e78,#add3ad)}.track .focus{background:linear-gradient(90deg,#aa7840,#edc37e)}.state{font-weight:700;color:#a5bab0}.bottom{position:absolute;bottom:50px;left:30px;right:30px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;z-index:2;pointer-events:none}.instructions,.buttons{pointer-events:auto;background:linear-gradient(145deg,#11252bdf,#0c1b23db);border:1px solid #c0a47d48;box-shadow:0 10px 34px #0006;padding:17px;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.instructions{width:400px;max-width:45vw}.instructions>small,.buttons-title small{color:#cdb385;letter-spacing:2px;font-weight:800}.keys{display:grid;grid-template-columns:1fr 1fr;gap:10px 13px;margin:16px 0}.keys span{font-size:10px;letter-spacing:.6px;color:#e4d8c3;font-weight:700}.instructions p{font-size:11px;line-height:1.6;color:#a4b5b0;margin:13px 0 0}.buttons{width:456px;max-width:50vw}.buttons-title{display:flex;justify-content:space-between}.buttons-title span{font-weight:700;color:#9ccbb4;letter-spacing:1px}.button-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:15px}.button-grid button{min-height:58px;border:1px solid #d0b58858;background:linear-gradient(#293d43,#142930);color:#f4e9d7;padding:10px 11px;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:7px}.button-grid button strong{font-size:12px;letter-spacing:1.2px}.button-grid button small{font-size:9px;letter-spacing:.5px;color:#c4baaa}.button-grid button:hover:not(:disabled){background:#4c5650;border-color:#f3d199}.button-grid button.pressed{background:#556652;border-color:#f0d49a}.button-grid button:disabled{opacity:.3;cursor:not-allowed}#defend-btn{border-left:3px solid #89ad9a}#attack-btn{border-left:3px solid #bc9161}button[data-command=stun],button[data-command=strike]{background:linear-gradient(#443d31,#262c2b)}#finish-btn,#subdue-btn{background:#67422b}.footer{position:absolute;bottom:16px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:9px;color:#c4b295}#enemy-label{position:absolute;top:33%;left:50%;transform:translate(-50%,-50%);background:#102530e3;border:1px solid #cbac764e;padding:9px 12px;font-size:11px;letter-spacing:1.2px;font-weight:800;white-space:nowrap;color:#e7c490}#enemy-readout{font-size:9px;color:#d1d5ce;margin-left:13px}#toast{position:absolute;left:50%;top:56%;transform:translate(-50%);font:700 16px Cinzel,serif;color:#ffe0a9;text-shadow:0 2px 12px #000;opacity:0;transition:opacity .2s;pointer-events:none}#toast.visible{opacity:1}#finish-prompt{position:absolute;z-index:2;left:50%;top:58%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px 25px;background:#513020df;border:1px solid #edc48b;box-shadow:0 0 34px #e7b5776c}#finish-prompt small{color:#efc18b;letter-spacing:2px}#finish-prompt strong{font:700 20px Cinzel,serif}#finish-prompt span{font-size:11px;color:#ebd3b0}.hidden{display:none!important}.overlay{position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:#07141cdb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:20px}.modal{text-align:center;width:510px;max-width:100%;padding:37px 42px;background:linear-gradient(150deg,#1b3036,#101c23);border:1px solid #c0a171;box-shadow:0 30px 120px #000b}.seal{font-size:42px;color:#e5c48b}.modal>small{color:#c0a879;letter-spacing:2.3px;font-weight:800}.modal h1{font:700 43px Cinzel,serif;letter-spacing:4px;margin:13px 0 15px;color:#f6e9d3}.modal p{font-size:13px;line-height:1.75;color:#bac7c0;max-width:410px;margin:0 auto}.steps{margin:27px 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.steps span{padding:10px 6px;text-align:left;border:1px solid #d1c4a333;background:#30404867;font-size:10px;letter-spacing:.4px;font-weight:800;color:#dfd0b2}.primary{display:block;width:100%;margin-top:5px;height:53px;background:linear-gradient(#dec28f,#b89056);border:1px solid #ffe0a3;color:#192830;font-weight:800;letter-spacing:2px}.primary:hover{filter:brightness(1.14)}.modal label{display:block;margin-top:16px;font-size:10px;color:#889d9d}#result-stats{margin:22px 0;color:#c6b089;font-size:11px;letter-spacing:1px}@media(max-width:900px){header{padding:14px}.top-actions .live{display:none}.hud{top:75px;width:230px;padding:11px}.hud.left{left:14px}.hud.right{right:14px}.hud h2{font-size:14px}.hud h2 em{display:none}.bottom{left:12px;right:12px;bottom:28px}.instructions{display:none}.buttons{max-width:none;width:460px;margin-left:auto}.footer{left:12px;right:12px;bottom:8px;font-size:8px}.footer span{display:none}}@media(max-width:540px){.brand strong{font-size:13px}.brand small{font-size:8px}.logo{width:34px;height:34px;font-size:17px}.top-actions button{font-size:8px;padding:8px}#restart{display:none}.hud{top:67px;width:calc(50% - 18px);padding:9px}.hud h2{font-size:11px}.hud small,.bar-head,.state{font-size:8px}.buttons{padding:9px}.button-grid{gap:5px}.button-grid button{min-height:49px;padding:7px}.button-grid button strong{font-size:10px}.button-grid button small{font-size:8px}#enemy-label{top:36%;font-size:9px}.modal{padding:24px}.modal h1{font-size:32px}.steps span{font-size:8px}}
