:root{color-scheme:dark;font-family:"Segoe UI",Arial,sans-serif;color:#f3f4ed;background:#101c1b;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #eedba5;outline-offset:4px}[hidden]{display:none!important}
#elysian-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.shell{position:fixed;inset:0;z-index:20;overflow:auto;isolation:isolate;background:#101c1b}.shell[data-phase=world],.shell[data-phase=character]{display:none}
.world-art{position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#091616e0,#0a161685 43%,#0a12120d 77%),linear-gradient(0deg,#051111cc,transparent 32%,#08121233),url("art/elysian-dawn.png") center/cover no-repeat}
.masthead{display:flex;align-items:center;justify-content:space-between;padding:32px 4.2vw;gap:20px}.brand{display:flex;align-items:center;gap:14px;color:#f3e7c5;text-decoration:none;font-family:Georgia,serif;font-size:25px;letter-spacing:5px}.brand-mark{display:grid;place-items:center;width:42px;height:48px;border:1px solid #d0b87886;font-size:35px;letter-spacing:0;border-radius:18px 3px}.brand-sub{display:block;font:9px "Segoe UI",sans-serif;letter-spacing:2px;margin-top:5px;color:#bac4bb}.server-status{display:flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid #cfdfd327;border-radius:40px;background:#0c202066;color:#d5e2d8;font-size:12px}.status-dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:#d9bc79;box-shadow:0 0 12px #d9bc7955}.server-status[data-state=online] .status-dot{background:#98dbac;box-shadow:0 0 10px #7dda8f66}.server-status[data-state=offline] .status-dot{background:#dc957b;box-shadow:none}
.welcome{margin:3vh 0 100px 9.5vw;width:min(470px,82vw)}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.9px;color:#d7c48f;margin:0 0 13px}h1{font:clamp(44px,4.4vw,72px)/1.05 Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-2px;margin:0;color:#f7f3e6}h1 em{font-weight:400;color:#dbc999}.intro{color:#bfcac4;font-size:14px;line-height:1.8;margin:20px 0 30px}
.glass-card{width:100%;border:1px solid #d5e7d635;border-radius:20px;background:linear-gradient(125deg,#e3eee312,#a6b4a402 58%),#0d2121b8;box-shadow:0 18px 64px #00111045,inset 0 1px #ffffff0d;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:28px 30px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.card-heading .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:7px}h2{font:27px/1.2 Georgia,serif;font-weight:400;margin:0;color:#f1efdf}.realm-tag{padding:6px 10px;border:1px solid #c5d5b626;border-radius:6px;color:#b8d2bb;font-size:10px;letter-spacing:1px}
label{display:block;font-size:11px;color:#c7d1c8;margin:16px 0 8px}input{width:100%;height:44px;border:1px solid #b7d4c326;border-radius:8px;padding:0 13px;background:#05171766;color:#fff;font-size:13px;transition:border-color .15s}input::placeholder{color:#81958e}input:focus{border-color:#d9c58a;outline:none}.password-field{position:relative}.password-field input{padding-right:60px}.password-field button{position:absolute;right:8px;top:4px;height:36px;border:0;border-radius:4px;background:none;color:#a4b6aa;font-size:10px;padding:0 9px}.password-field button:hover{color:#f3e5b8;background:#dbe8d90d}
.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:46px;margin-top:24px;padding:0 18px;border:1px solid #e4d298;border-radius:8px;background:linear-gradient(110deg,#eadbad,#c9b67d);color:#26352e;font-size:12px;font-weight:700;box-shadow:0 4px 20px #d8c58b13;transition:filter .15s,transform .15s}.primary-button:hover{filter:brightness(1.12);transform:translateY(-1px)}.primary-button:active{transform:translateY(1px)}.primary-button span{font-size:19px;font-weight:400}.preview-entry{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #bbd7c21a;padding-top:17px;margin-top:21px;font-size:11px;color:#8fa79b;gap:10px}.preview-entry button{background:none;border:0;padding:5px 0;color:#ded1a2;font-size:11px}.preview-entry button:hover{color:#fff2c7}.preview-entry button span{margin-left:6px}.preview-note{font-size:9px;color:#7e998b;margin:13px 0 0;line-height:1.5}
.secondary-button{width:100%;display:flex;justify-content:space-between;border:1px solid #d5cd9c55;border-radius:8px;padding:12px 15px;margin-top:20px;color:#e6d9b3;background:#c4d8af0a}.secondary-button:hover{background:#c4d8af20}.shell-footer{position:absolute;bottom:25px;left:4.2vw;right:4.2vw;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:1.8px;color:#a4b4a9}.maintenance-toast{position:fixed;z-index:40;left:50%;top:24px;transform:translateX(-50%);display:flex;align-items:center;gap:15px;width:min(410px,90vw);padding:18px 22px;border:1px solid #d3c18a66;border-radius:14px;background:#152822ed;box-shadow:0 8px 40px #0005;font-size:13px}.maintenance-toast p{font-size:11px;color:#bdcabb;margin:6px 0 0;line-height:1.4}.no-script{position:fixed;z-index:100;inset:40% 10%;background:#112824;padding:30px}
@media(min-height:950px){.welcome{margin-top:7vh}}
@media(max-height:780px) and (min-width:750px){.masthead{padding-top:22px;padding-bottom:14px}.welcome{margin-top:10px;margin-left:8vw;width:400px}h1{font-size:45px}.intro{margin:13px 0 18px;font-size:12px}.glass-card{padding:21px 25px}.card-heading{margin-bottom:12px}.card-heading h2{font-size:24px}label{margin-top:12px}.primary-button{margin-top:17px}.preview-entry{margin-top:16px;padding-top:12px}.shell-footer{bottom:17px}}
@media(max-width:749px){.masthead{padding:22px 6vw}.brand{font-size:19px;letter-spacing:3px;gap:10px}.brand-mark{width:33px;height:40px;font-size:28px}.brand-sub{font-size:7px;letter-spacing:1px}.server-status{font-size:10px;padding:9px 11px}.welcome{margin:30px auto 80px;width:min(430px,88vw)}h1{font-size:48px}.intro{font-size:12px}.world-art{background-position:65% center}.shell-footer{position:relative;left:auto;right:auto;padding:0 6vw 20px;bottom:auto}.shell-footer span:last-child{display:none}.glass-card{padding:25px}.shell{background:#102320}.loading-card h2{font-size:27px}}
/* Entry and map transitions: a wide, crisp frame. Deliberately no loading blur. */
.shell:not([data-phase=login]) .world-art{background-image:radial-gradient(ellipse at 50% 43%,#071c2226,#061416b8 88%),linear-gradient(0deg,#071719e6,transparent 57%,#07171944),url("art/elysian-dawn.png");background-position:center}
.shell:not([data-phase=login]) .welcome{display:grid;place-items:center;width:auto;margin:clamp(32px,10vh,125px) 4.2vw 110px}
.shell:not([data-phase=login]) .welcome>h1,.shell:not([data-phase=login]) .welcome>.eyebrow,.shell:not([data-phase=login]) .welcome>.intro{display:none}
.loading-card{position:relative;width:min(1100px,100%);min-height:0;text-align:center;padding:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;filter:none}
.loading-emblem{position:relative;display:grid;place-items:center;width:78px;height:78px;margin:0 auto 26px;border:1px solid #e8d3a34a;border-radius:50%;background:#102728c9}
.loading-emblem::before,.loading-emblem::after{content:"";position:absolute;top:50%;width:44px;height:1px;background:linear-gradient(90deg,transparent,#e8d3a361)}.loading-emblem::before{right:calc(100% + 13px)}.loading-emblem::after{left:calc(100% + 13px);transform:rotate(180deg)}
.emblem-orbit{position:absolute;inset:9px;border:1px solid #e6d5aa3b;transform:rotate(45deg);border-radius:16px 3px}
.emblem-core{font:43px/1 Georgia,"Times New Roman",serif;color:#eaddb8;transform:translateY(-2px)}
.loading-card .eyebrow{font-size:9px;letter-spacing:3.2px;color:#d7c59e;margin-bottom:14px}
.loading-card h2{font:clamp(32px,3.8vw,48px)/1.14 Georgia,"Times New Roman",serif;letter-spacing:-1.1px;color:#f3efe0}
.loading-card>p:not(.eyebrow){max-width:540px;margin:17px auto 0;color:#b8c9c2;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.loading-meter{position:relative;margin-top:42px;padding:26px 32px 21px;border:1px solid #e4d29f38;border-radius:12px;background:linear-gradient(125deg,#d9eddd12,#051d2424 65%),#102728c9;box-shadow:inset 0 1px 0 #fffae618,inset 0 -1px 0 #bed7d20d}
.loading-meter::before,.loading-meter::after{content:"";position:absolute;width:5px;height:5px;top:-3px;border:1px solid #dfc792a8;background:#172d2b;transform:rotate(45deg)}.loading-meter::before{left:31px}.loading-meter::after{right:31px}
.loading-stage-row{display:flex;justify-content:space-between;align-items:baseline;gap:24px;margin-bottom:16px;text-align:left}
.loading-stage-label{flex:none;color:#d8c89f;font-size:8px;font-weight:600;letter-spacing:2.4px}
.loading-stage{min-width:0;color:#d7e1d5;font-size:12px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
.loading-track{position:relative;height:16px;overflow:hidden;padding:2px;border:1px solid #d3bd866b;border-radius:5px;background:#051b20;box-shadow:inset 0 1px 0 #0006,0 1px 0 #f0f5ce0a}
.loading-track span{position:relative;display:block;width:0;height:100%;overflow:hidden;border-radius:2px;animation:none;background:linear-gradient(180deg,#d9deb1 0%,#91bdb0 42%,#77a99d 53%,#a5c6ac 100%);box-shadow:inset 0 1px 0 #ffffe384,inset 0 -1px 0 #23483e66;transition:none}
.loading-track span::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#fff1c34d 60%,#fff5cb26);opacity:.25;pointer-events:none}
.loading-meter[data-mode=measured] .loading-track span::after{animation:loading-sheen 4.5s ease-in-out infinite alternate}
@keyframes loading-sheen{from{opacity:.18}to{opacity:.58}}
.loading-meter-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-top:17px}
.loading-readout{display:flex;align-items:baseline;justify-content:center;gap:3px;margin:0;color:#ece5d0;font:29px/1.15 Georgia,"Times New Roman",serif;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.percentage-sign{color:#b2c3b7;font:11px/1 "Segoe UI",sans-serif;letter-spacing:0}
.loading-count{margin:0;font-size:10px;line-height:1.6;letter-spacing:.3px;color:#9cb4a6;text-align:left;overflow-wrap:anywhere}
.loading-caption{margin:0;color:#9cb4a6;font-size:8px;letter-spacing:2px;text-align:right}
.loading-meter[data-mode=waiting] .loading-readout{color:#adbdaf}.loading-meter[data-mode=failed]{border-color:#d7b39455}.loading-meter[data-mode=failed] .loading-track span{background:linear-gradient(180deg,#dcc8a4,#ae987b);box-shadow:inset 0 1px 0 #f1ddbe66}
.loading-card .loading-error{width:100%;max-width:none;max-height:110px;overflow:auto;text-align:left;padding:13px 17px;border:1px solid #d8b49040;border-radius:8px;background:#192423d9;color:#dec5ad;font-size:11px;line-height:1.6;margin:18px 0 0;overflow-wrap:anywhere}
.loading-card .secondary-button{width:min(320px,100%);margin:18px auto 0;text-align:left;font-size:12px;background:#102728df}
@media(max-height:780px) and (min-width:750px){.shell:not([data-phase=login]) .welcome{margin-top:24px;margin-bottom:75px}.loading-emblem{width:64px;height:64px;margin-bottom:20px}.emblem-core{font-size:36px}.loading-card h2{font-size:37px}.loading-meter{margin-top:29px;padding:22px 28px 19px}}
@media(max-width:749px){.shell:not([data-phase=login]) .welcome{margin:5vh 18px 55px}.loading-card{width:100%}.loading-emblem{width:68px;height:68px;margin-bottom:23px}.emblem-core{font-size:38px}.loading-card h2{font-size:32px}.loading-card .eyebrow{font-size:8px;letter-spacing:2.2px}.loading-card>p:not(.eyebrow){padding:0 10px}.loading-meter{margin-top:30px;padding:21px 17px 19px;border-radius:10px}.loading-stage-row{display:grid;gap:8px;margin-bottom:15px}.loading-stage{text-align:left;font-size:11px}.loading-stage-label{font-size:7px;letter-spacing:2px}.loading-meter-footer{grid-template-columns:1fr auto;gap:12px;margin-top:16px}.loading-caption{display:none}.loading-readout{font-size:27px}.loading-count{font-size:9px}.loading-card .loading-error{padding:12px 14px}.shell:not([data-phase=login]) .shell-footer{position:relative;text-align:center;justify-content:center}}
@media(max-height:550px){.shell:not([data-phase=login]) .welcome{margin-top:16px}.loading-emblem{display:none}.loading-card h2{font-size:30px}.loading-meter{margin-top:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
