:root{font-family:system-ui,-apple-system,'Malgun Gothic',sans-serif;color:#211b19;background:#faf7f3}
*{box-sizing:border-box}html,body{height:100%;margin:0}.bar{height:68px;display:flex;align-items:center;gap:16px;padding:0 24px;background:#191513;color:#fff}.bar strong{font-size:23px;letter-spacing:.08em}.bar strong span{color:#d4ad79}.bar #status{margin-left:auto;font-size:14px;color:#e5d4c2}.bar button{border:1px solid #a9927c;background:transparent;color:#fff;border-radius:30px;padding:10px 16px;font-size:14px;cursor:pointer}
#eve{width:100%;height:calc(100% - 68px);border:0;display:block}#alerts{position:fixed;z-index:10;top:82px;right:20px;width:min(460px,calc(100vw - 40px));display:grid;gap:12px;pointer-events:none}.alert{pointer-events:auto;background:#171210;color:#fff;border:2px solid #d8b37f;border-radius:20px;padding:24px 26px;box-shadow:0 18px 55px #24160d66}.alert small{display:block;color:#e1b681;font-size:16px;letter-spacing:.05em;margin-bottom:8px}.alert h2{font-size:clamp(36px,5vw,58px);line-height:1.08;margin:0 0 12px;overflow-wrap:anywhere}.alert p{font-size:22px;margin:0 0 14px}.alert button{border:1px solid #bc9770;background:#3a2d25;color:#fff;border-radius:30px;padding:8px 18px;cursor:pointer}
dialog{border:0;border-radius:22px;padding:30px;width:min(440px,calc(100vw - 32px));box-shadow:0 24px 80px #0008}dialog::backdrop{background:#0009}dialog h1{margin:0 0 10px}dialog p{line-height:1.5}dialog label{display:grid;gap:7px;margin:16px 0;font-weight:600}dialog select,dialog input{font:inherit;border:1px solid #b9aaa0;border-radius:10px;padding:12px;width:100%}dialog button{font:inherit;background:#211712;color:#fff;border:0;border-radius:10px;padding:13px 20px;width:100%;cursor:pointer}#loginError{min-height:1.5em;color:#ad2828}
@media(max-width:700px){.bar{height:58px;padding:0 10px;gap:6px}.bar strong{font-size:15px}.bar #status{font-size:11px}.bar button{font-size:11px;padding:7px}#eve{height:calc(100% - 58px)}#alerts{top:66px;right:10px;width:calc(100vw - 20px)}.alert{padding:18px}.alert h2{font-size:38px}}
