.page { height:auto; min-height:100vh; min-height:100svh; }
.page .scene { position:fixed; }
.scene, .banner-slide img, .banner-slide::after, .modal-overlay { top:0; right:0; bottom:0; left:0; }
.scene-art { object-position:center; }
.header { position:relative; min-height:146px; }
.main { position:relative; min-height:calc(100vh - 224px); }
.footer { position:relative; left:auto; right:auto; bottom:auto; padding:24px; justify-content:center; }
.login-panel { position:relative; left:auto; top:auto; transform:none; margin:clamp(55px,12vh,150px) auto 70px; }
.login-panel h1 { white-space:normal; }
.is-register .login-panel { margin-top:22px; width:min(390px,calc(100% - 40px)); }
.registration-note { color:var(--muted); font:12px/1.6 var(--sans); text-align:center; }
.is-register .login-panel h1 { font-size:36px; margin-bottom:12px; }
.is-register .fields { gap:12px; }
.is-register .login-options { margin:14px 0; }
.is-register .referral-consent { display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:10px; margin-top:16px; color:var(--muted); font:12px/1.65 var(--sans); white-space:normal; cursor:pointer; }
.is-register .referral-consent input { width:18px; height:18px; margin:1px 0 0; accent-color:var(--red); cursor:pointer; }
.is-register .referral-consent span { min-width:0; overflow-wrap:break-word; }
.member-area {     padding: 1rem 1.5rem;
    background: #ffffff91;
    border-radius: 0.5rem; position:relative; left:auto; top:auto; transform:none; width:56%; max-width:1000px; margin:40px 4.5% 70px auto; }
.member-heading h1 { overflow-wrap:anywhere; }
.submit-button:disabled { cursor:wait; opacity:.65; }
.member-play:disabled { cursor:not-allowed; }
.link-button { display:flex; align-items:center; justify-content:center; margin-top:20px; }
.link-button:hover { color:white; background:var(--red-dark); }
.player-toolbar { display:flex; align-items:center; gap:23px; border-top:1px solid #bca27966; margin-top:28px; padding-top:19px; font:12px/1.5 var(--sans); }
.toolbar-link { white-space:nowrap; }
.recharge-link { color:var(--red); font-weight:600; }
.server-clock-block { margin-left:auto; display:flex; flex-direction:column; align-items:flex-end; gap:4px; color:var(--muted); }
.server-clock-block time { color:var(--ink); font-size:15px; font-variant-numeric:tabular-nums; }
.server-clock-block small { margin-left:9px; font-size:10px; }
.status { color:#526e42; }
.empty-copy { color:var(--muted); font:13px/1.7 var(--sans); }
.modal-overlay { position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(35,29,23,.5); backdrop-filter:blur(5px); }
.modal-overlay[hidden] { display:none; }
.portal-dialog { position:relative; width:440px; max-width:100%; max-height:calc(100vh - 32px); overflow-y:auto; border:1px solid #d4b98d; border-radius:5px; background:#fbf7ef; padding:32px; box-shadow:0 24px 80px rgba(31,21,12,.25); }
.portal-dialog.wide-dialog { width:730px; }
.portal-dialog h2 { margin:0 20px 15px 0; font:400 30px/1.2 var(--serif); }
.portal-dialog p { color:var(--muted); font:13px/1.7 var(--sans); margin:12px 0; }
.portal-dialog .dialog-close { font:26px/1 var(--sans); }
.modal-open { overflow:hidden; }
.server-search input { outline:none; }
.form-notice { white-space:normal; }
.server-option-title, .server-name { overflow-wrap:anywhere; }
.banner-copy h3 { overflow-wrap:anywhere; }
.banner-copy a { font:11px/1.5 var(--sans); }
.launcher-welcome { width:min(900px,90%); margin:15px auto 45px; display:grid; grid-template-columns:1fr 1fr; gap:54px; padding:30px; background:rgba(251,248,240,.89); border:1px solid #d6c3a777; border-radius:6px; }
.launcher-welcome .login-panel { margin:0; width:100%; max-width:360px; }
.launcher-welcome .login-panel h1 { font-size:36px; margin-bottom:22px; }
.launcher-mode .scene-art { opacity:.32; }
.launcher-mode .header { min-height:120px; padding-top:5px; }
.launcher-mode .brand { width:230px; }
.launcher-mode .navigation { gap:22px; }
.launcher-mode .member-area { width:90%; margin:15px auto 35px; padding:25px 32px; border:1px solid #d6c3a755; background:rgba(251,248,240,.93); border-radius:6px; }
.launcher-mode .member-heading { margin-bottom:20px; }
.launcher-mode .member-heading h1 { font-size:32px; }
.launcher-mode .main { min-height:calc(100vh - 188px); }
.content-page .scene-art { opacity:.17; }
.content-page .content-shell { width:min(1120px,calc(100% - 40px)); margin:0 auto 48px; }
.content-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:20px 0 32px; }
.content-heading h1 { font:400 46px/1.15 var(--serif); margin:6px 0; }
.news-page-heading { margin-bottom:22px; }
.news-tabs { display:flex; justify-content:center; overflow-x:auto; border-bottom:1px solid #cdbda4; scrollbar-width:thin; }
.news-tabs a { position:relative; flex:0 0 auto; min-width:135px; padding:14px 24px 18px; color:#665d54; font:400 20px/1.3 var(--serif); text-align:center; white-space:nowrap; }
.news-tabs a + a::before { content:""; position:absolute; top:20px; bottom:20px; left:0; width:1px; background:#d8cbbb; }
.news-tabs a:hover,.news-tabs a.is-active { color:var(--red); }
.news-tabs a.is-active::after { content:""; position:absolute; right:20px; bottom:0; left:20px; height:3px; background:var(--red); }
.news-feed { margin-top:14px; padding:0 24px; border:1px solid #e3d9ca; background:#fffdf8dc; }
.news-feed-row + .news-feed-row { border-top:1px solid #e3d9ca; }
.news-feed-link { display:grid; grid-template-columns:110px minmax(0,1fr) 115px; align-items:center; gap:22px; min-height:94px; padding:16px 12px; transition:background 180ms ease; }
.news-feed-link:hover { background:#f7f0e4; }
.news-feed-category { display:inline-block; width:max-content; max-width:110px; padding:7px 16px; clip-path:polygon(0 50%,8px 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,8px 100%); background:#e8cf9d; color:#49351d; font:600 11px/1.3 var(--sans); letter-spacing:.05em; text-align:center; text-transform:uppercase; }
.news-feed-title { min-width:0; color:#302b28; font:400 19px/1.4 var(--serif); overflow-wrap:anywhere; }
.news-feed-link:hover .news-feed-title { color:var(--red); }
.news-feed-link time { color:#746a61; font:12px/1.4 var(--sans); text-align:right; white-space:nowrap; }
.news-feed-empty { margin:0; padding:50px 15px; color:var(--muted); font:15px/1.6 var(--sans); text-align:center; }
.news-article-page { background:linear-gradient(90deg,#f7f4ed,#fffefa 21%,#fffefa 79%,#f7f4ed); }
.news-article-page .scene { display:none; }
.news-article-page .content-shell { width:min(1060px,calc(100% - 48px)); }
.news-article-page .article { width:100%; margin:0 auto; padding:12px 30px 50px; border:0; background:transparent; }
.news-article-back { display:inline-block; margin-bottom:24px; color:#7e6654; font:13px/1.5 var(--sans); text-decoration:underline; text-underline-offset:4px; }
.news-article-header { text-align:center; }
.news-article-category { color:var(--red); font:600 11px/1.5 var(--sans); letter-spacing:.18em; text-transform:uppercase; }
.news-article-header h1 { max-width:920px; margin:12px auto 28px; color:#202025; font:700 clamp(30px,3vw,42px)/1.23 var(--sans); overflow-wrap:anywhere; }
.news-article-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:18px; border-bottom:1px dotted #c4bbb0; color:#6b6867; font:14px/1.5 var(--sans); text-align:left; }
.news-article-meta time { white-space:nowrap; }
.news-article-page .article-cover { display:block; width:100%; max-height:560px; margin:30px auto 34px; object-fit:contain; }
.news-article-page .article-body { margin-top:26px; color:#27272a; font:18px/1.8 var(--sans); overflow-wrap:anywhere; }
.news-article-page .article-body p { margin:0 0 1.5em; }
.news-article-page .article-body h1,.news-article-page .article-body h2,.news-article-page .article-body h3 { margin:2em 0 .6em; color:#202025; font-family:var(--sans); line-height:1.3; }
.news-article-page .article-body h1 { font-size:30px; }
.news-article-page .article-body h2 { font-size:26px; }
.news-article-page .article-body h3 { font-size:22px; }
.news-article-page .article-body img { max-width:100%; height:auto; }
.news-article-page .article-body table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; font-size:15px; line-height:1.45; }
.news-article-page .article-body th,.news-article-page .article-body td { padding:7px 10px; border:1px solid #d8d3cb; }
.news-article-page .article-body a { color:var(--red); text-decoration:underline; }
.news-article-more { margin-top:80px; padding-top:24px; border-top:1px solid #ded6c9; }
.news-article-more h2 { margin:0 0 12px; font:600 20px/1.3 var(--sans); }
.recharge-screen,.recharge-status-screen,.orders-screen { box-shadow:none!important; background:#fffdf8!important; border-color:#d7c5a7!important; }
@media(max-width:1300px){.member-area{width:61%;margin-right:4%}.member-columns{gap:27px}}
@media(max-width:900px){.header{min-height:150px}.member-area{width:90%;margin:20px auto 40px;background:#fbf7efe8;padding:24px;border-radius:5px}.scene-art{opacity:.65}.login-panel{margin-top:65px;margin-bottom:70px}.news-tabs{justify-content:flex-start}.news-tabs a{min-width:115px;padding-inline:18px;font-size:18px}.news-feed{padding-inline:12px}.news-feed-link{gap:14px}.launcher-welcome{gap:25px;padding:24px}.launcher-mode .header{min-height:120px}.navigation{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:640px){.header{display:flex;align-items:center;flex-direction:column;gap:0;padding:4px 16px 0;min-height:155px}.brand,.launcher-mode .brand{width:245px}.navigation,.launcher-mode .navigation{padding-top:0;gap:25px;justify-content:center;font-size:12px}.scene-art{object-position:30% center;opacity:.3}.login-panel{margin-top:25px;width:min(340px,calc(100% - 40px))}.member-area,.launcher-mode .member-area{width:calc(100% - 30px);padding:20px;margin-top:20px}.member-heading{gap:10px;margin-bottom:25px}.member-heading h1,.launcher-mode .member-heading h1{font-size:28px}.member-columns{grid-template-columns:1fr;gap:32px}.launcher-welcome{grid-template-columns:1fr;width:calc(100% - 30px);margin-top:20px;gap:35px}.launcher-welcome .login-panel{max-width:none}.player-toolbar{gap:16px;flex-wrap:wrap}.server-clock-block{font-size:10px}.server-clock-block small{display:block;margin:0}.portal-dialog{padding:27px 20px}.content-heading h1{font-size:36px}.news-page-heading{align-items:flex-start}.news-page-heading .underlined{font-size:12px;white-space:nowrap}.news-feed{padding-inline:8px}.news-feed-link{grid-template-columns:1fr auto;gap:10px;min-height:92px;padding:14px 8px}.news-feed-category{grid-column:1;grid-row:1}.news-feed-title{grid-column:1 / -1;grid-row:2;font-size:17px}.news-feed-link time{grid-column:2;grid-row:1;font-size:11px}.news-article-page .content-shell{width:calc(100% - 32px)}.news-article-page .article{padding:6px 0 42px}.news-article-back{margin-bottom:20px}.news-article-header h1{font-size:28px;margin-bottom:22px}.news-article-meta{flex-wrap:wrap;gap:4px 16px;font-size:12px}.news-article-page .article-body{font-size:16px;line-height:1.75}.news-article-page .article-body h2{font-size:22px}.footer{gap:20px;padding:20px 12px;font-size:12px}.player-actions{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* The launcher retains Chromium 63 for the legacy game client. */
@supports not (width:min(10px,20px)) {
  .brand { width:260px; }
  .navigation { font:13px/24px var(--sans); }
  .navigation > * + * { margin-left:28px; }
  .login-panel { width:320px; margin:70px auto; }
  .login-panel h1 { font:400 42px/1.15 var(--serif); }
  .field { height:48px; }
  .submit-button { height:56px; font:400 23px/1 var(--serif); }
  .fields { grid-gap:16px; }
  .remember input { margin-right:10px; }
  .member-heading h1 { font:400 36px/1.2 var(--serif); }
  .member-columns { grid-gap:32px; }
  .player-actions { grid-gap:12px 15px; }
  .profile > * + * { margin-left:17px; }
  .player-action .icon, .toolbar-link .icon, .sign-out .icon, .server-list-trigger .icon { margin-right:8px; }
  .player-toolbar > * + * { margin-left:20px; }
  .player-toolbar .server-clock-block { margin-left:auto; }
  .footer > * + * { margin-left:23px; }
  .server-search .icon { margin-right:10px; }
  .region-filter { margin-right:6px; margin-bottom:6px; }
  .news-item, .server-option { grid-gap:7px 14px; }
  .launcher-welcome { width:90%; max-width:900px; grid-gap:54px; }
  .is-register .login-panel { width:390px; max-width:calc(100% - 40px); }
  .portal-dialog { width:440px; max-width:100%; }
  .portal-dialog.wide-dialog { width:730px; max-width:100%; }
  button:focus, a:focus, input:focus { outline:2px solid var(--red); outline-offset:3px; }
}

@media(max-width:900px) {
  .is-member .main, .content-page .main, .launcher-mode .main { padding:0 0 28px; }
  .is-member .scene-art, .content-page .scene-art, .launcher-mode .scene-art { opacity:.16; }
  .profile > div { min-width:0; }
  .profile h2 { overflow-wrap:break-word; font-size:24px; }
}
@supports not (width:min(10px,20px)) {
  .content-page .content-shell { width:calc(100% - 40px); max-width:1120px; }
  .article { width:100%; max-width:780px; }
  .recharge-screen { padding:30px; }
  .checkout-header h1 { font-size:36px; }
  .checkout-layout, .package-grid, .currency-options { grid-gap:20px; }
  .settings-form { grid-gap:16px; }
  .settings-form label { grid-gap:8px; }
}
.content-page .checkout-header h1 { font-family:var(--serif); font-weight:400; letter-spacing:-.02em; }
.remembered-account { display:block; width:100%; padding:12px; margin-bottom:8px; border:1px solid #c6ab7a; border-radius:3px; background:#fbf7ef; color:#96311e; font:14px/1.5 var(--sans); }
