[hidden] { display: none !important; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-family: system-ui, "Segoe UI", sans-serif; }
.logo-center .server-wordmark {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 .13em;
  margin: 0;
  color: #a9d4f5;
  font: 900 clamp(1.75rem, 6vw, 5rem)/1.08 "Palatino Linotype", "Book Antiqua", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: -.045em;
  text-align: center;
  filter: drop-shadow(0 2px 0 #183856) drop-shadow(0 4px 0 #091522) drop-shadow(0 7px 12px #000);
}
.server-wordmark span:first-child { font-size: 1.22em; letter-spacing: -.09em; }
@supports (background-clip: text) {
  .server-wordmark span {
    background:
      repeating-linear-gradient(117deg, #d9f0ff0f 0 1px, transparent 1px 5px),
      linear-gradient(#e2f3ff 10%, #9dcafa 34%, #366892 52%, #79b7e6 62%, #264c73 88%, #a7d5fa);
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: .55px #9cc9ef;
  }
}

.top-bar { flex-wrap: wrap; gap: 0 .5rem; padding-inline: clamp(.5rem, 2vw, 2.5rem); }
.top-bar .top-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .4rem; position: static; visibility: visible; opacity: 1; padding: .2rem 0; }
.top-bar .top-nav a { padding: .65rem clamp(.4rem, 1.5vw, 1.35rem); }
.language-controls { display: flex; flex-shrink: 0; gap: .25rem; padding-block: .35rem; }
.language-controls button { padding: .35rem .65rem; color: #c5deff; background: #101d34; border: 1px solid #436a95; border-radius: .25rem; font: inherit; cursor: pointer; }
.language-controls button[aria-pressed="true"] { background: #325e8f; color: #fff; }
.panel__header { margin: 0; font-size: 1.05rem; }
.home-center .panel { height: auto; min-height: 0; }
.news-entry { background: #101d31 url("onex/img/news-bg-2.png") no-repeat right center / cover; border: 1px solid #315276; padding: 1rem; }
.news-entry h3 { margin-top: 0; }
.home-right img { width: 100%; height: auto; display: block; margin-bottom: .55rem; }
.availability { color: #a7c9ef; }
.site-footer { margin-block-start: auto; text-align: center; }
:focus-visible { outline: 2px solid #b6d8ff; outline-offset: 4px; }
@media (max-width: 900px) { .home-layout { display: flex; flex-direction: column; } .home-center { order: -1; } .home-left,.home-right,.home-center { width: 100%; } .logo-section { min-height: 11rem; } }
#game-register { display: grid; gap: .65rem; }
#game-register input, #game-register button { font: inherit; color: #e6f2ff; background: #101d34; border: 1px solid #436a95; border-radius: .25rem; padding: .6rem; }
#game-register input { width: 100%; }
#game-register button { background: #325e8f; cursor: pointer; }
#game-register button:disabled { opacity: .55; cursor: default; }
#game-register [role=status] { margin: 0; }
.registration-page { width: min(100%, 38rem); margin-inline: auto; }
.game-account-form { display: grid; gap: .65rem; } .game-account-form input, .game-account-form button, #game-logout { font: inherit; color: #e6f2ff; background: #101d34; border: 1px solid #436a95; border-radius: .25rem; padding: .6rem; } .game-account-form input { width: 100%; } .game-account-form button, #game-logout { background: #325e8f; cursor: pointer; }
.server-stats { margin: 0; } .server-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-block: .45rem; } .server-stats div + div { border-top: 1px solid #315276; } .server-stats dd { margin: 0; color: #b6d8ff; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 901px) {
  html[dir="ltr"] .home-right { order: -1; }
  html[dir="ltr"] .home-left { order: 1; }
}
#game-login-status:empty { display: none; }

.home-left .game-account-form {
  grid-template-columns: minmax(0, 1fr);
  gap: .4rem;
  font-size: .9rem;
}
.home-left .game-account-form input,
.home-left .game-account-form button {
  min-width: 0;
  padding: .4rem .55rem;
}
.home-left .cf-turnstile {
  justify-self: center;
  width: 300px;
  zoom: .76;
}

#arbana-map img { width: 100%; height: auto; display: block; margin-bottom: .55rem; }
.pvp-ranking { padding-inline-start: 1.5rem; }
.pvp-ranking li { padding-block: .4rem; }
.pvp-ranking li + li { border-top: 1px solid #315276; }
.pvp-ranking bdi { overflow-wrap: anywhere; }
