@font-face{font-family:"Custom MU Stone";src:url('./assets/fonts/custom-mu-stone-kr-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
.account-body{margin:0;min-height:100svh;background:#101010 url('./assets/ui-r4/entry-background.webp') center/cover fixed;font:700 16px/1.55 "Custom MU Stone",'Malgun Gothic',serif;color:#e8dbbd}
.account-body:before{content:'';position:fixed;inset:0;background:linear-gradient(#0b0b0b55,#080808d9);pointer-events:none}
.mu-auth{position:relative;max-width:480px;margin:0 auto;padding:22px 20px 34px;box-sizing:border-box}
.auth-logo{display:block;max-width:360px;width:90%;height:116px;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 4px 6px #000)}
/* Slice above the leather body: the painted red header remains exactly 52px
   high at every form height, including registration and validation messages. */
.auth-panel{position:relative;background:#111111f2;border:14px solid transparent;border-top-width:52px;border-image:url('./assets/interface-r4/panel-dark.webp') 84 24 24 24 fill / 52px 14px 14px / 0 stretch;padding:12px 22px 20px;box-shadow:0 18px 60px #0008}
.auth-panel-heading{text-align:center}
.auth-panel h1{position:absolute;left:-14px;right:-14px;top:-52px;height:52px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:10px 32px 0;margin:0;font:700 19px/1.1 "Custom MU Stone",serif;color:#f2dfb5;text-shadow:0 1px 2px #000;white-space:nowrap}
.auth-panel-heading p{font-size:13px;color:#b4ad99;margin:0 0 17px}
.auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 18px}
.mu-auth button,.mu-auth .auth-primary{display:flex;align-items:center;justify-content:center;font:700 15px/1.4 "Custom MU Stone",'Malgun Gothic',serif;cursor:pointer;color:#e6d1a9;border:1px solid transparent;border-image:url('./assets/interface-r4/button-brown-dark.webp') 12 24 fill / 7px 12px / 0 stretch;min-height:44px;min-width:0;padding:10px 13px;background:#211a16;box-sizing:border-box;text-align:center;overflow-wrap:anywhere}
.auth-tabs button{width:100%;font-size:15px;filter:brightness(.75)}
.auth-tabs button[aria-pressed=true]{filter:brightness(1.25);color:#ffe2a0}
.mu-auth button:hover,.mu-auth .auth-primary:hover{filter:brightness(1.25)}
.mu-auth button:focus-visible,.mu-auth a:focus-visible{outline:2px solid #d6b56c;outline-offset:2px}
.mu-auth button:disabled{opacity:.55;cursor:wait}
.mu-auth label{display:block;font-size:14px;color:#d8c59c;margin:12px 0 6px}
.mu-auth input{box-sizing:border-box;width:100%;height:44px;background:#0c0c0c;border:1px solid #5e533d;border-radius:2px;color:#f6ead0;font:16px system-ui;padding:9px 12px;outline:none}
.mu-auth input:focus{border-color:#dfba65;box-shadow:0 0 0 2px #c9a04d22}
.mu-auth input::placeholder{color:#85817a;font-size:13px}
.auth-primary{text-decoration:none;width:100%;margin-top:14px}
.auth-note{text-align:center;font-size:12px;line-height:1.7;color:#aaa397;margin:16px 0 0;word-break:keep-all}
.mu-auth [hidden]{display:none!important}
#formStatus{min-height:22px;margin:12px 0 2px;font-size:13px;color:#f4c276;overflow-wrap:anywhere}
#signedIn p{font-size:14px;text-align:center;overflow-wrap:anywhere}
#logoutButton{width:100%;margin-top:10px}
@media(max-width:480px){.mu-auth{padding:12px 12px 24px}.auth-logo{height:93px}.auth-panel{padding:9px 12px 16px}.auth-panel h1{font-size:18px}.mu-auth button,.mu-auth .auth-primary{font-size:14px}.auth-note{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){.mu-auth{padding-top:8px}.auth-logo{height:62px;margin-bottom:6px}}
.host-perf{background:#111;color:#e6d7b4;border:2px solid #88724b;padding:24px;max-width:min(430px,85vw);font:15px/1.7 system-ui}.host-perf::backdrop{background:#0008}.host-perf pre{white-space:pre-wrap;font:inherit}.host-perf button{padding:7px 24px;background:#332b1c;color:#ead8b3;border:1px solid #8c7448;cursor:pointer}
