
    :root {
      color-scheme: light;
      --paper: #f8f5ed;
      --ink: #29262c;
      --muted: #625d56;
      --gold: #c6ab7a;
      --red: #b83e27;
      --red-dark: #96311e;
      --serif: Georgia, "Times New Roman", serif;
      --sans: Arial, Helvetica, sans-serif;
    }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
    button { cursor: pointer; color: inherit; }
    a { color: inherit; text-decoration: none; }
    button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
    [hidden] { display: none !important; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    .icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
    .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
    .text-button { padding: 0; border: 0; background: none; }
    .underlined { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
    .text-button:hover, a:hover { color: var(--red); }
    .skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; padding: 10px 16px; background: var(--paper); transform: translateY(-160%); }
    .skip-link:focus { transform: translateY(0); }

    /* The art contains no text or controls. All interface elements below are HTML. */
    .page { position: relative; isolation: isolate; min-height: 660px; height: 100svh; }
    .scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
    .scene-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .header { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 14px 4.8vw 0; }
    .brand { display: block; width: clamp(240px, 20vw, 334px); line-height: 0; }
    .brand img { display: block; width: 100%; height: auto; }
    .navigation { display: flex; align-items: center; gap: clamp(26px, 2.85vw, 48px); padding-top: 13px; font: 400 clamp(13px, .9vw, 16px)/24px var(--sans); }
    .nav-link { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0; border: 0; background: none; white-space: nowrap; }
    .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--red); }
    .login-panel { position: absolute; top: 53.5%; left: 50%; width: clamp(290px, 21.3vw, 400px); transform: translate(-50%, -50%); }
    .login-panel h1 { margin: 0 0 27px; font: 400 clamp(40px, 2.87vw, 54px)/1.15 var(--serif); letter-spacing: -1.5px; text-align: center; white-space: nowrap; }
    .fields { display: grid; gap: 16px; }
    .field { position: relative; display: block; height: clamp(46px, 3vw, 54px); }
    .field > .icon { position: absolute; top: 50%; left: 17px; transform: translateY(-50%); color: #514d47; pointer-events: none; }
    .field input { width: 100%; height: 100%; padding: 0 16px 0 59px; border: 1px solid #cbb58d; border-radius: 3px; background: #faf8f155; color: var(--ink); font: 400 15px/1.3 var(--serif); transition: border-color 150ms, background 150ms; }
    .field input::placeholder { color: #716c65; opacity: 1; }
    .field input:hover { border-color: #a78755; }
    .field input:focus { background: #fffdf7b3; border-color: var(--red); }
    .password-field input { padding-right: 45px; }
    .password-toggle { position: absolute; right: 2px; top: 1px; bottom: 1px; display: grid; place-items: center; width: 42px; padding: 0; color: #817668; opacity: .55; }
    .password-toggle .icon { width: 20px; height: 20px; }
    .password-toggle:hover, .password-toggle:focus-visible { opacity: 1; }
    .login-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 21px; margin: 22px 0 27px; font-size: 15px; }
    .remember { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; }
    .remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); cursor: pointer; }
    .forgot { font-size: 15px; white-space: nowrap; }
    .submit-button { display: block; width: 100%; height: clamp(54px, 3.6vw, 64px); padding: 0 12px; border: 1px solid #b43b25; border-radius: 3px; background: linear-gradient(110deg, #c8482e, #b83722); box-shadow: 0 6px 12px #9e472026, inset 0 1px #ffffff14; color: #fffaf0; font: 400 clamp(22px, 1.5vw, 26px)/1 var(--serif); transition: background 150ms, box-shadow 150ms; }
    .submit-button:hover { background: linear-gradient(110deg, #bb3d25, var(--red-dark)); box-shadow: 0 7px 17px #9e472035; }
    .submit-button:disabled { opacity: .5; cursor: not-allowed; }
    .account-action { margin-top: 25px; text-align: center; line-height: 24px; }
    .account-action button { font-size: 18px; }
    .form-notice { margin: 18px 0 0; padding: 12px 14px; border-left: 2px solid var(--red); background: #fffaf0d9; color: #6d4936; font: 13px/1.5 var(--sans); }
    .login-panel[data-mode="register"] .submit-button, .login-panel[data-mode="reset"] .submit-button { margin-top: 25px; }
    .login-panel[data-mode="register"] h1 { font-size: clamp(35px, 2.6vw, 48px); }
    .login-panel[data-mode="reset"] h1 { font-size: clamp(35px, 2.6vw, 48px); }
    .footer { position: absolute; bottom: 4.2%; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 23px; min-height: 24px; font-size: 14px; }
    .footer button { min-height: 32px; }
    .footer-divider { width: 1px; height: 18px; background: #8c8170; opacity: .8; }
    dialog { width: min(440px, calc(100vw - 36px)); padding: 34px; border: 1px solid #c9b28b; border-radius: 5px; background: #fbf8f0; box-shadow: 0 18px 80px #36271c38; color: var(--ink); }
    dialog::backdrop { background: #352d234a; backdrop-filter: blur(4px); }
    .dialog-close { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 36px; height: 36px; }
    dialog h2 { margin: 0 22px 17px 0; font: 400 29px/1.2 var(--serif); }
    dialog p { margin: 0; color: var(--muted); font: 14px/1.7 var(--sans); white-space: pre-line; }

    /* The player area uses the same paper, artwork and type as the sign-in view. */
    .page.is-member { min-height: 760px; }
    .preview-link { display: block; width: fit-content; margin: 20px auto 0; color: var(--muted); font: 11px/1.5 var(--sans); }
    .member-area { position: absolute; left: 39.5%; top: 52%; width: min(55.5%, 920px); transform: translateY(-50%); }
    .member-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
    .eyebrow { display: block; margin: 0 0 8px; color: #886a43; font: 10px/1.5 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
    .member-heading h1 { margin: 0; font: 400 clamp(32px, 2.65vw, 46px)/1.2 var(--serif); letter-spacing: -1px; }
    .sign-out { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 12px/1.5 var(--sans); white-space: nowrap; }
    .sign-out .icon { width: 17px; height: 17px; }
    .member-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.6vw, 60px); }
    .player-card, .updates { min-width: 0; }
    .profile { display: flex; align-items: center; gap: 17px; }
    .avatar { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border: 1px solid var(--gold); border-radius: 50%; padding: 3px; background: #faf6ea; }
    .profile-label { margin: 0 0 5px; font: 10px/1.2 var(--sans); color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
    .profile h2 { margin: 0 0 7px; font: 400 26px/1.1 var(--serif); }
    .player-id { margin: 0; color: var(--muted); font: 11px/1.4 var(--sans); }
    .server-summary { margin: 24px 0 18px; padding: 17px 0; border-block: 1px solid #bca27966; }
    .server-summary dt { margin-bottom: 10px; color: var(--muted); font: 11px/1.4 var(--sans); }
    .server-summary dd { margin: 0; }
    .server-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .server-name { font: 400 19px/1.3 var(--serif); }
    .server-meta { display: block; margin-top: 7px; color: var(--muted); font: 11px/1.5 var(--sans); }
    .status { display: inline-flex; align-items: center; gap: 6px; color: #526e42; font: 10px/1.4 var(--sans); white-space: nowrap; }
    .status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #72945b; }
    .member-play { height: 49px; font-size: 21px; }
    .member-play .icon { vertical-align: -4px; margin-left: 8px; width: 20px; height: 20px; }
    .server-list-trigger { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; margin: 8px 0 15px; color: #675139; font: 13px/1.5 var(--sans); }
    .server-list-trigger .icon { width: 17px; height: 17px; }
    .player-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 15px; padding-top: 17px; border-top: 1px solid #bca27966; }
    .player-action { display: flex; align-items: center; gap: 8px; min-height: 31px; text-align: left; font: 12px/1.4 var(--sans); }
    .player-action .icon { width: 19px; height: 19px; flex-shrink: 0; color: #927146; }
    .player-action.download { grid-column: 1 / -1; }
    .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 1px 0 7px; }
    .section-heading h2 { margin: 0; font: 400 25px/1.3 var(--serif); }
    .demo-label { color: var(--muted); font: 10px/1.5 var(--sans); }
    .news-list { list-style: none; margin: 0 0 23px; padding: 0; }
    .news-list li { border-bottom: 1px solid #bca27955; }
    .news-item { display: grid; grid-template-columns: 1fr auto; width: 100%; min-height: 59px; gap: 7px 14px; align-items: center; text-align: left; padding: 11px 0; }
    .news-item span { font: 13px/1.45 var(--sans); }
    .news-item time { color: var(--muted); font: 10px/1.5 var(--sans); }
    .news-item small { display: block; margin-bottom: 3px; color: #99653f; font: 9px/1.4 var(--sans); letter-spacing: .7px; text-transform: uppercase; }
    .carousel { position: relative; }
    .carousel-stage { display: grid; }
    .banner-slide { position: relative; grid-area: 1 / 1; min-height: 150px; overflow: hidden; border: 1px solid #c6ab7a88; border-radius: 3px; isolation: isolate; background: #f2eadb; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 800ms ease-in-out, visibility 0s 800ms; }
    .banner-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 800ms ease-in-out, visibility 0s; }
    .banner-slide img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }

    .banner-copy { padding: 21px 20px; max-width: 78%; }
    .banner-copy .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
    .banner-copy h3 { margin: 0 0 14px; font: 400 24px/1.15 var(--serif); }
    .banner-copy button { font: 11px/1.5 var(--sans); color: #843c26; }
    .carousel-controls { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
    .carousel-dots { display: flex; gap: 3px; }
    .carousel-dot { display: grid; place-items: center; width: 27px; height: 28px; }
    .carousel-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #cdbd9f; transition: width 400ms ease, background 400ms ease; }
    .carousel-dot[aria-pressed="true"]::before { width: 17px; border-radius: 5px; background: var(--red); }
    .carousel-arrows { display: flex; gap: 4px; }
    .carousel-arrows button { display: grid; place-items: center; width: 29px; height: 29px; color: #785f40; }
    .carousel-arrows .icon { width: 16px; height: 16px; }
    .carousel-arrows button:disabled { cursor: default; opacity: .45; }
    .preview-note { margin: 14px 0 0; color: #746b60; font: 10px/1.6 var(--sans); }
    .member-message { margin-top: 10px; color: #745332; font: 11px/1.5 var(--sans); }
    .wide-dialog { width: min(730px, calc(100vw - 32px)); padding: 34px; max-height: calc(100svh - 32px); }
    .dialog-intro { margin-bottom: 23px; }
    .dialog-intro h2 { margin-bottom: 9px; font-size: 32px; }
    .dialog-intro p { font-size: 12px; }
    .region-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 16px; }
    .region-filter { padding: 9px 12px; border: 1px solid #d7c5a7; border-radius: 3px; background: transparent; font: 12px/1.4 var(--sans); }
    .region-filter[aria-pressed="true"] { background: #a93c27; border-color: #a93c27; color: #fffaf1; }
    .server-search { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid #d7c5a7; border-radius: 3px; }
    .server-search .icon { width: 17px; height: 17px; color: var(--muted); }
    .server-search input { min-width: 0; width: 100%; border: 0; background: transparent; font: 13px/1.5 var(--sans); color: var(--ink); }
    .server-results { margin: 22px 0 0; }
    .region-group + .region-group { margin-top: 23px; }
    .region-group h3 { margin: 0 0 9px; font: 400 17px/1.3 var(--serif); }
    .server-option { display: grid; grid-template-columns: 1fr auto; gap: 7px 15px; width: 100%; text-align: left; border: 1px solid #d7c5a7; border-radius: 3px; padding: 14px; margin-bottom: 8px; background: #fffcf466; }
    .server-option:hover:not(:disabled) { border-color: #a6804f; background: #fffdf7; }
    .server-option[aria-pressed="true"] { border-color: #b55a3a; box-shadow: inset 3px 0 #b55a3a; }
    .server-option:disabled { cursor: not-allowed; background: #e8e2d84d; color: #736b60; }
    .server-option-title { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font: 15px/1.4 var(--serif); }
    .server-option-meta { grid-column: 1 / -1; color: var(--muted); font: 11px/1.5 var(--sans); }
    .server-tag { padding: 2px 6px; border-radius: 2px; background: #f1e0bf; color: #80521c; font: 9px/1.4 var(--sans); }
    .server-tag.new { color: #a13821; background: #f5ddd1; }
    .server-state { align-self: center; color: #526e42; font: 10px/1.4 var(--sans); }
    .server-state.unavailable { color: #806a49; }
    .dialog-footnote { margin-top: 18px !important; font-size: 11px !important; }
    .settings-form { display: grid; gap: 16px; margin-top: 23px; }
    .settings-form label { display: grid; gap: 8px; color: var(--muted); font: 12px/1.4 var(--sans); }
    .settings-form input { width: 100%; min-width: 0; height: 44px; border: 1px solid #cbb58d; border-radius: 3px; background: #fffaf3; padding: 0 12px; color: var(--ink); font: 16px/1.4 var(--sans); }
    .settings-form .submit-button { height: 47px; margin-top: 3px; font-size: 20px; }
    .recharge-summary { margin-top: 22px; padding: 16px; border: 1px solid #d7c5a7; border-radius: 3px; }
    .recharge-summary strong { display: block; margin-bottom: 7px; font: 400 19px/1.4 var(--serif); }
    .recharge-summary p { font-size: 12px; }
    body:has(dialog[open]) { overflow: hidden; }

    @media (min-width: 901px) and (max-width: 1300px) {
      .member-area { left: 35%; width: 61%; }
      .member-columns { gap: 28px; }
      .member-heading { margin-bottom: 23px; }
      .player-action { font-size: 11px; gap: 6px; }
      .banner-copy { padding: 18px 15px; }
      .banner-copy h3 { font-size: 23px; }
    }

    @media (min-width: 901px) and (max-width: 1100px) {
      .header { padding-left: 30px; padding-right: 30px; }
      .navigation { gap: 24px; }
      .login-panel { width: 320px; }
      .scene-art { opacity: .8; }
    }
    @media (max-width: 900px) {
      .page { display: flex; flex-direction: column; height: auto; min-height: 100svh; }
      .header { position: relative; flex-direction: column; align-items: center; gap: 12px; padding: 13px 22px 0; }
      .brand { width: 220px; }
      .navigation { padding: 0; gap: clamp(22px, 6vw, 38px); font-size: 13px; }
      .nav-link { min-height: 36px; }
      .scene-art { position: absolute; top: 114px; left: max(0px, calc(50% - 230px)); width: 880px; height: 495px; max-width: none; object-fit: contain; mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 26%, transparent 44%); }
      .main { flex: 1; padding: 213px 24px 32px; }
      .login-panel { position: relative; left: auto; top: auto; width: min(356px, 100%); margin: 0 auto; transform: none; }
      .login-panel h1 { font-size: 40px; letter-spacing: -1.2px; margin-bottom: 25px; }
      .field { height: 50px; }
      .field input { font-size: 16px; }
      .login-options { font-size: 14px; gap: 12px; margin: 20px 0 24px; }
      .forgot { font-size: 14px; }
      .submit-button { height: 56px; font-size: 23px; }
      .account-action { margin-top: 22px; }
      .account-action button { font-size: 17px; }
      .footer { position: relative; bottom: auto; min-height: 66px; padding: 0 0 15px; font-size: 14px; }
      .member-area { position: relative; top: auto; left: auto; transform: none; margin: 0 auto; width: min(680px, 100%); }
      .member-heading { margin-bottom: 28px; }
      .member-heading h1 { font-size: 35px; }
      .member-columns { gap: 32px; }
      .page.is-member { min-height: 100svh; }
      .page.is-member .footer { margin-top: 10px; }
      .wide-dialog { padding: 28px 22px; }
      .region-filter { padding: 9px 10px; font-size: 11px; }
    }
    @media (max-width: 620px) {
      .member-area { max-width: 390px; }
      .member-columns { grid-template-columns: 1fr; gap: 32px; }
      .member-heading h1 { font-size: 34px; }
      .sign-out { font-size: 11px; }
      .member-heading { gap: 10px; }
      .updates { border-top: 1px solid #bca27966; padding-top: 25px; }
      .banner-slide { min-height: 160px; }
      .server-option { padding: 12px; }
      .server-option-title { font-size: 14px; }
      .wide-dialog h2 { font-size: 29px; }
    }
    @media (max-width: 359px) {
      .main { padding-left: 21px; padding-right: 21px; }
      .navigation { gap: 23px; font-size: 12px; }
      .login-panel h1 { font-size: 35px; }
      .login-options, .forgot { font-size: 13px; }
      .remember { gap: 7px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
    }
  
