@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;600&display=swap');
:root{color-scheme:dark;font-family:'Noto Sans KR',sans-serif;color:#e6dfcb;background:#111713;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,select:focus-visible{outline:2px solid #e7c576;outline-offset:4px}button{border:1px solid #89754b;background:linear-gradient(150deg,#384039,#191e1c);box-shadow:inset 0 0 0 2px #151b18,0 3px 10px #0008}button:hover{filter:brightness(1.15)}button:active,.pressed{filter:brightness(1.4)}[hidden]{display:none!important}#arena{height:100dvh;width:100%;position:relative;isolation:isolate;overflow:hidden}#world{width:100%;height:100%;display:block;outline:none;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 100px #0006,inset 0 70px 70px -70px #000}.player-hud,.location,.target-hud{position:absolute;top:max(23px,env(safe-area-inset-top));text-shadow:0 2px 3px #000}.player-hud{left:max(24px,env(safe-area-inset-left));display:flex;align-items:center;gap:12px;pointer-events:none}.crest{width:52px;height:64px;display:grid;place-items:center;background:linear-gradient(135deg,#303b36,#101714);border:1px solid #998456;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);font:30px 'Noto Serif KR',serif;color:#d1b573}.player-info{width:206px}.name-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:14px}.name-line span{font-size:10px;color:#c9b984;letter-spacing:1px}.health-track{height:17px;background:#210e0d;border:1px solid #8d7450;position:relative;box-shadow:0 1px 4px #000}.health-track i{display:block;height:100%;width:100%;background:linear-gradient(#a65848,#7f2724 55%,#451615);transition:width .12s}.health-track span{position:absolute;inset:0;text-align:center;font:10px/15px Georgia,serif;letter-spacing:1px}.stamina-track{height:4px;background:linear-gradient(90deg,#66878c,#aac3bd);margin-top:4px;opacity:.8}.location{right:max(24px,env(safe-area-inset-right));display:flex;align-items:center;gap:15px}.location h1{font:600 19px 'Noto Serif KR',serif;margin:0 0 5px}.location div>span{font-size:10px;color:#c5c9b4}.region-mark{font-size:35px;color:#bdad7b}.location button{width:38px;height:38px;border-color:#81714c;font-size:21px;border-radius:3px}.target-hud{left:50%;transform:translateX(-50%);text-align:center;width:190px;top:30px;font-size:13px}.target-hud>div{height:5px;margin:8px 0 5px;background:#251b14;border:1px solid #74633e}.target-hud i{display:block;height:100%;background:#b68d55;width:100%}.target-hud small{font-size:10px;color:#cec4a1}.toast{position:absolute;top:19%;left:50%;transform:translateX(-50%);width:max-content;max-width:85%;padding:10px 24px;background:linear-gradient(90deg,transparent,#111a15c9 20%,#111a15c9 80%,transparent);font-size:12px;text-align:center;pointer-events:none;transition:opacity .5s;color:#e1d6b7}.toast.faded{opacity:0}.bottom-left{position:absolute;left:max(36px,env(safe-area-inset-left));bottom:65px;display:flex;align-items:center;gap:20px}#joystick{height:106px;width:106px;border:1px solid #aa97764d;border-radius:50%;background:radial-gradient(transparent 45%,#0b130e55 46%,#bac5ad1c 48%,#0b130e66 51%);position:relative;touch-action:none}#joystick:before,#joystick:after{content:'';position:absolute;background:#b4bcaa27}#joystick:before{width:80%;height:1px;top:50%;left:10%}#joystick:after{width:1px;height:80%;left:50%;top:10%}#stick{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);width:40px;height:40px;border-radius:50%;background:radial-gradient(at 35% 25%,#6b76646e,#1f2823ba);border:1px solid #b7ac8466;box-shadow:0 3px 12px #0007}.move-hint{font-size:10px;letter-spacing:2px;color:#d4d4bd99;pointer-events:none}.move-hint span{margin:0 9px}.action-bar{position:absolute;right:max(28px,env(safe-area-inset-right));bottom:65px;display:flex;gap:13px;align-items:flex-end}.action-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;position:relative;touch-action:none;background:radial-gradient(at 35% 20%,#535a48,#29322b 47%,#121b16 72%);box-shadow:inset 0 0 0 3px #161d17,inset 0 0 0 4px #94835966,0 5px 15px #0006}.action-bar small{font-size:10px;color:#d8cdb0;font-weight:500}.action-bar kbd{font:9px Georgia;color:#af9f76;margin-left:3px}.attack-action{width:96px;height:96px;border:2px solid #b7a16b}.attack-action svg{width:43px;height:43px;stroke:#e0d6b9;stroke-width:2;fill:#b5c0b544;margin:2px 0}.skill-action{width:69px;height:69px;margin-bottom:12px}.skill-action>span{font:32px Georgia;color:#bfccca}.small-action{width:53px;height:53px;margin-bottom:8px}.small-action>span{font:22px Georgia;margin-bottom:3px;color:#b7b998}.field-footer{position:absolute;bottom:0;left:0;right:0;padding:16px 28px max(14px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;background:linear-gradient(transparent,#07100bc9);font-size:10px;letter-spacing:.5px;color:#c5c2a7;pointer-events:none}.project-mark{font:12px Georgia;letter-spacing:3px;color:#c2b78c}.project-mark b{font:8px sans-serif;letter-spacing:2px;color:#84907f;margin-left:12px}.help-button{position:absolute;right:26px;top:90px;width:28px;height:28px;border-radius:50%;font:16px Georgia;color:#c1ba9b;opacity:.85}.settings-panel{position:absolute;z-index:5;right:max(20px,env(safe-area-inset-right));top:82px;bottom:55px;width:310px;overflow:auto;padding:22px;background:linear-gradient(135deg,#242d26f5,#111b16fa);border:1px solid #82734e;box-shadow:0 14px 60px #0009}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title small{font:9px Georgia;letter-spacing:3px;color:#af9b6d}.panel-title h2{font:600 22px 'Noto Serif KR';margin:8px 0}.panel-title button{width:32px;height:32px;font-size:23px}.settings-panel p{font-size:11px;line-height:1.9;color:#b5baa8}.settings-panel label{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #bac4a318;font-size:12px}.settings-panel select{max-width:160px;background:#18231c;border:1px solid #687057;padding:6px}.settings-panel input{accent-color:#b4a26e;width:17px;height:17px}.settings-panel canvas{width:100%;height:135px;background:radial-gradient(ellipse at 50% 75%,#8c99751c,transparent 70%)}#resetButton{width:100%;margin-top:20px;padding:11px}.settings-note{display:block;text-align:center;font-size:9px;color:#8d9b88;margin-top:14px}.overlay{position:absolute;inset:0;background:#07100bd9;display:grid;place-items:center;z-index:10;backdrop-filter:blur(5px)}.dialog{max-width:420px;width:90%;border:1px solid #85754d;padding:32px;background:#1b251e;text-align:center}.dialog h2{font:600 23px 'Noto Serif KR'}.dialog p{font-size:13px;line-height:2;color:#c1c8b5}.dialog button{padding:11px 25px}.eyebrow{font:10px Georgia;letter-spacing:3px;color:#b5a16e}
@media(pointer:fine){#joystick{opacity:.4}#joystick:hover{opacity:.9}}@media(max-width:900px){.player-info{width:160px}.crest{width:42px;height:54px}.target-hud{width:145px}.move-hint{display:none}.project-mark b{display:none}.location{gap:9px}.region-mark{display:none}.action-bar{gap:10px}}@media(max-width:600px){.player-hud{left:14px;top:16px;gap:8px}.player-info{width:142px}.crest{width:33px;height:47px;font-size:23px}.name-line{font-size:12px}.location{right:14px;top:17px}.location h1{font-size:15px}.location div>span{font-size:8px}.location button{width:32px;height:32px}.target-hud{top:86px;width:155px}.help-button{top:82px;right:16px}.bottom-left{left:20px;bottom:72px}#joystick{width:88px;height:88px}.action-bar{right:15px;bottom:68px;gap:8px}.attack-action{width:76px;height:76px}.skill-action{position:absolute;right:70px;bottom:90px;width:54px;height:54px;margin:0}.small-action{width:44px;height:44px}.action-bar #stopButton{position:absolute;right:145px;bottom:12px;width:44px;height:44px}.action-bar small{font-size:9px}.action-bar kbd{display:none}.attack-action svg{width:33px;height:33px}.field-footer{padding-left:16px;padding-right:16px;gap:14px}#intent{max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-mark{font-size:9px;letter-spacing:2px}.settings-panel{right:12px;top:68px;bottom:25px;max-width:calc(100% - 24px)}.toast{top:26%;font-size:11px;width:95%}}@media(max-height:500px){.player-hud,.location{top:12px}.bottom-left{bottom:35px}#joystick{height:82px;width:82px}.action-bar{bottom:33px}.attack-action{width:78px;height:78px}.target-hud{top:15px}.help-button{top:70px}.field-footer{padding-top:8px;padding-bottom:8px}.settings-panel{top:15px;bottom:15px}.toast{top:25%}}
.action-bar small{white-space:nowrap}.small-action kbd{display:none}
@media(max-width:600px){.action-bar .skill-action{position:absolute;right:70px;bottom:90px;margin:0}}

.settings-panel canvas{height:200px}#artStatus{display:block;text-align:center;font-size:10px;color:#c3b888;margin:4px 0 12px}

.equipment-controls{margin:12px 0 20px;border-top:1px solid #85754d;padding-top:12px}.equipment-controls h3{font-size:14px;color:#d9c28e}.equipment-controls small{font-size:10px;line-height:1.7;color:#aeb9a3;display:block}#equipmentSummary{margin-top:10px}.equipment-controls label{padding:9px 0}
