@import url('https://fonts.googleapis.com/css2?family=Chonburi&family=IBM+Plex+Sans+Thai+Looped:wght@400;600&display=swap');
/* Game windows inherit through their shadow roots. The dark entry page must
   never supply white text or dark native controls to the light game skin. */
body.game-open{color:#173f63;color-scheme:light;overflow:clip;}
#mobile-help{background:#f3faff;color:#173f63;color-scheme:light;border-color:#9ac8e7;padding:28px 24px;font:14px/1.7 Tahoma,sans-serif;overflow-wrap:anywhere}
#mobile-help h2{font:600 23px/1.5 Tahoma,sans-serif;margin:12px 0 16px;padding-right:24px}
#mobile-help h3{font-size:16px;margin:8px 0}
#mobile-help p,#mobile-help li,#mobile-help .eyebrow{color:#173f63;font-size:13px}
#mobile-help .help-platform{border-color:#b2d3e9;padding:12px 0 4px}
#mobile-help ol,#mobile-help ul{padding-left:23px;margin:8px 0 14px}
#mobile-help li{margin:10px 0}
#mobile-help a{color:#135b9c;text-decoration:underline}
#mobile-help .primary{background:#cfeaff;color:#173f63;border-color:#85b7db}
:root{color-scheme:dark;--ink:#f4f4f5;--muted:#a9a9b0;--line:rgba(244,244,245,.18)}*{box-sizing:border-box}body{margin:0;background:#0e0e10;color:var(--ink);font:15px/1.7 'IBM Plex Sans Thai Looped',Tahoma,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}a:focus-visible,button:focus-visible{outline:2px solid #fff;outline-offset:5px}#welcome{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px 24px;background:linear-gradient(#0e0e10bb,#0e0e10f5),url('/assets/fenrir-opening-mobile-v4.jpg?v=continuous-v4') center/cover}.brand img{width:min(340px,72vw);height:auto}.entry-panel{width:min(460px,100%);text-align:center}h1{font:24px/1.5 Chonburi,serif;margin:24px 0 18px}.server-status{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;color:var(--muted)}#status-dot{width:6px;height:6px;background:#a9a9b0;border-radius:50%}#status-dot.online{background:#8bccb1}#start-detail{font-size:12px;color:var(--muted)}.primary,.secondary{display:block;width:100%;min-height:48px;border:1px solid var(--line);border-radius:999px;padding:10px 22px;margin:18px 0;background:#f4f4f5;color:#0e0e10;font-weight:600}.secondary{background:transparent;color:var(--ink)}.account-links,footer{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;font-size:12px}.text-button{background:none;border:0;padding:10px 0;color:inherit;font-size:12px}footer{margin-top:24px;color:var(--muted);font-size:10px}footer button{font-size:10px!important}dialog{width:min(480px,calc(100% - 32px));max-height:85dvh;overflow:auto;background:#17171a;color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:32px}dialog::backdrop{background:#0e0e10dd}dialog h2{font:22px/1.5 Chonburi,serif}dialog p{font-size:13px;color:var(--muted)}.dialog-close{position:absolute;right:12px;top:8px;min-width:44px;min-height:44px;border:0;background:none;color:inherit;font-size:26px}.eyebrow{font-size:10px;letter-spacing:2px}.help-platform{border-top:1px solid var(--line);padding-top:12px}#ro-preloader{position:fixed;inset:0;z-index:99999;background:#0e0e10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:25px}#ro-preloader>img{width:min(300px,70vw)}.pre-spinner{width:30px;height:30px;border:2px solid #ffffff33;border-top-color:#f4f4f5;border-radius:50%;animation:spin 1s linear infinite}.pre-text{font-size:13px;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}body.game-open #welcome{display:none}body.game-open{overflow:hidden}body.game-open #ro-preloader.fade-out{opacity:0;transition:opacity .3s}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
