:root {
  color-scheme: dark;
  --night: #0b0b0c;
  --panel: #111112;
  --panel-raised: #171615;
  --line: #332b20;
  --line-bright: #5b4729;
  --gold: #c6a66b;
  --gold-light: #ead7a8;
  --text: #e8e2d7;
  --muted: #9c9588;
  --green: #81b58d;
  --red: #c47770;
  --serif: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 0, rgba(96, 65, 30, .16), transparent 35rem),
    linear-gradient(180deg, #0d0d0e 0%, var(--night) 44rem, #090909 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(198, 166, 107, .035);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::before,
.ambient::after {
  position: absolute;
  inset: 3rem;
  border: 1px solid rgba(198, 166, 107, .035);
  border-radius: 50%;
  content: "";
}

.ambient::after {
  inset: 7rem;
}

.ambient-one {
  top: 10rem;
  right: -24rem;
}

.ambient-two {
  top: 50rem;
  left: -29rem;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: .7rem max(4vw, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(198, 166, 107, .18);
  background: rgba(11, 11, 12, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .8rem;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line-bright);
  background: linear-gradient(145deg, #211c14, #100f0e);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 3px #0e0d0c, inset 0 0 0 4px rgba(198, 166, 107, .16);
}

.brand-copy {
  display: grid;
  gap: .08rem;
}

.brand-copy strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.brand-copy small {
  color: var(--muted);
  font-size: .59rem;
  letter-spacing: .19em;
}

.header-disclaimer {
  justify-self: center;
  color: #777166;
  font-size: .62rem;
  text-align: center;
}

.topbar-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: .65rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
}

.main-nav a,
.site-footer a {
  color: #b7ad9c;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .18s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--gold-light);
}

.status-cluster {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 175px;
  padding: .48rem .7rem;
  border: 1px solid #2d2923;
  background: rgba(20, 19, 17, .72);
}

.status-light,
.live-pip {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #827a6b;
  box-shadow: 0 0 9px rgba(130, 122, 107, .32);
}

.status-cluster[data-state="online"] .status-light,
.realm-card-status[data-state="online"] .card-value {
  color: var(--green);
}

.status-cluster[data-state="online"] .status-light,
.realm-card-status[data-state="online"] .card-status-dot {
  background: var(--green);
  box-shadow: 0 0 10px rgba(129, 181, 141, .48);
}

.status-cluster[data-state="offline"] .status-light,
.realm-card-status[data-state="offline"] .card-status-dot {
  background: var(--red);
  box-shadow: 0 0 10px rgba(196, 119, 112, .4);
}

.status-cluster[data-state="unavailable"] .status-light {
  background: var(--red);
}

.status-copy {
  display: grid;
  line-height: 1.35;
}

.status-copy strong {
  color: var(--text);
  font-size: .65rem;
  letter-spacing: .13em;
}

.status-copy small {
  color: var(--muted);
  font-size: .63rem;
}

.site-metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .25rem auto 0;
}

.site-metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(198, 166, 107, .18);
  color: #777166;
  font-size: .62rem;
  letter-spacing: .1em;
}

.site-metric time,
.site-metric strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  font-size: inherit;
}

.audio-toggle {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(198, 166, 107, .3);
  background: rgba(20, 19, 17, .72);
  color: #b7ad9c;
  font: 600 .72rem var(--sans);
  letter-spacing: .07em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.audio-toggle:hover:not(:disabled) {
  border-color: var(--line-bright);
  color: var(--gold-light);
}

.audio-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-audio-control {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .8rem;
}

.audio-toggle:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.audio-status {
  color: var(--muted);
  font-size: .65rem;
}

.site-layout {
  display: grid;
  width: min(1500px, calc(100% - 48px));
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin: 0 auto;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-layout > .page-shell {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.info-panel {
  position: sticky;
  top: 96px;
  margin-top: 2rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid rgba(198, 166, 107, .22);
  background:
    radial-gradient(ellipse at 15% 0, rgba(96, 65, 30, .15), transparent 16rem),
    linear-gradient(145deg, rgba(24, 21, 17, .96), rgba(13, 13, 13, .97));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

.info-panel h2 {
  margin: .25rem 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.info-panel-intro {
  margin: .35rem 0 1.1rem;
  color: var(--muted);
  font-size: .75rem;
}

.info-group {
  padding-top: .9rem;
  border-top: 1px solid rgba(198, 166, 107, .18);
}

.info-group + .info-group {
  margin-top: .9rem;
}

.info-group h3 {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.info-list {
  display: grid;
  gap: .42rem;
  margin: 0;
}

.info-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
}

.info-list dt {
  color: #b6aea1;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.info-list dd,
.info-placeholder {
  margin: 0;
  color: #827a6b;
  font-size: .66rem;
  text-align: right;
}

.info-placeholder {
  text-align: left;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: .12rem;
  padding-left: .65rem;
  border-left: 1px solid rgba(198, 166, 107, .32);
}

.feature-list strong {
  color: #d7bd88;
  font-size: .68rem;
  font-weight: 600;
}

.feature-list span {
  color: #a49c8f;
  font-size: .65rem;
  line-height: 1.55;
}

.hero {
  position: relative;
  display: grid;
  min-height: 415px;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  overflow: hidden;
  padding: 3.8rem clamp(1.7rem, 6vw, 5rem);
  border: 1px solid rgba(198, 166, 107, .22);
  border-top: 0;
  background:
    radial-gradient(ellipse at 74% 52%, rgba(128, 79, 32, .19), transparent 18rem),
    linear-gradient(110deg, rgba(24, 21, 17, .96), rgba(13, 13, 13, .94) 62%, rgba(20, 16, 12, .92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.hero::before,
.hero::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid #9a7946;
  content: "";
  transform: rotate(45deg);
}

.hero::before {
  top: 17px;
  left: 17px;
}

.hero::after {
  right: 17px;
  bottom: 17px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: .55rem 0 0;
  color: #efe4c8;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(205, 161, 85, .17);
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: .1rem 0 1rem .25rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .28em;
}

.hero-subtitle span {
  color: #827a6b;
  font-family: var(--sans);
  font-size: .61rem;
  letter-spacing: .18em;
}

.hero-description {
  max-width: 470px;
  margin: 0;
  color: #b6aea1;
  font-size: .91rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line-bright);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .055em;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary {
  background: linear-gradient(115deg, #9f7d45, #71552e);
  color: #100e0b;
  box-shadow: inset 0 1px rgba(255, 239, 199, .25), 0 4px 18px rgba(0, 0, 0, .3);
}

.button-primary:hover {
  border-color: #dfc087;
  background: linear-gradient(115deg, #c0a06a, #8b6a38);
}

.download-note {
  color: #807a70;
  font-size: .68rem;
}

.lfg-promo {
  display: grid;
  gap: .12rem;
  margin-left: auto;
  padding-left: 1rem;
  border-left: 1px solid rgba(198, 166, 107, .32);
  font-family: var(--serif);
  line-height: 1.45;
}

.lfg-promo strong {
  color: #c6a66b;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.lfg-promo span {
  color: #a88a57;
  font-size: .7rem;
}

.hero-qualities {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2rem;
  color: #8f887a;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.hero-qualities i {
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-emblem {
  position: relative;
  display: grid;
  width: min(290px, 29vw);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 166, 107, .09), transparent 63%);
}

.emblem-ring {
  position: absolute;
  border: 1px solid rgba(198, 166, 107, .31);
  border-radius: 50%;
}

.ring-outer {
  inset: 4%;
  border-style: dotted;
}

.ring-middle {
  inset: 14%;
  border-color: rgba(198, 166, 107, .43);
  transform: rotate(45deg);
}

.ring-inner {
  inset: 25%;
  border-color: rgba(198, 166, 107, .28);
}

.emblem-cross {
  position: absolute;
  width: 1px;
  height: 75%;
  background: linear-gradient(transparent, rgba(198, 166, 107, .44), transparent);
  transform: rotate(45deg);
}

.emblem-cross::after {
  position: absolute;
  inset: 0;
  width: 1px;
  background: inherit;
  content: "";
  transform: rotate(90deg);
}

.emblem-letter {
  z-index: 1;
  color: rgba(234, 215, 168, .86);
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 500;
  text-shadow: 0 0 36px rgba(198, 166, 107, .38);
}

.emblem-caption {
  position: absolute;
  bottom: 16%;
  padding: 0 .45rem;
  background: #17130e;
  color: #ad9464;
  font-size: .53rem;
  letter-spacing: .28em;
}

.hero-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(198, 166, 107, .6), transparent);
}

.realm-section,
.ranking-section {
  padding-top: 3rem;
}

.realm-section {
  padding-top: 1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-heading-meta {
  display: grid;
  justify-items: end;
  gap: .35rem;
}

.discord-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border: 1px solid rgba(198, 166, 107, .3);
  color: var(--gold-light);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .18s ease, border-color .18s ease;
}

.discord-button:hover {
  border-color: var(--line-bright);
  background: rgba(198, 166, 107, .08);
}

.site-footer .discord-button {
  color: var(--gold-light);
  font-size: .64rem;
}

.discord-button-label {
  white-space: nowrap;
}

.discord-header-button {
  flex: none;
}

.discord-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}

.section-heading h2 {
  margin: .15rem 0 0;
  color: #e9e1d2;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: .035em;
}

.data-caption,
.ranking-source {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .28rem;
  color: #8f887c;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .11em;
}

.live-pip {
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(129, 181, 141, .45);
}

.realm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.realm-card {
  position: relative;
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 1.05rem;
  border: 1px solid #29251f;
  background: linear-gradient(145deg, rgba(24, 23, 21, .94), rgba(16, 16, 16, .97));
}

.realm-card::after {
  position: absolute;
  right: -1.6rem;
  bottom: -3rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(198, 166, 107, .07);
  border-radius: 50%;
  content: "";
}

.realm-card-status {
  border-color: #49402f;
  background: linear-gradient(145deg, rgba(41, 34, 24, .82), rgba(18, 17, 15, .97));
}

.card-label {
  color: #938b7e;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.card-value {
  margin-top: .2rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.4;
}

.card-state {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #d3c7b0;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
}

.card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #827a6b;
}

.card-foot {
  margin-top: .14rem;
  color: #777166;
  font-size: .62rem;
}

.updated-line {
  min-height: 1rem;
  margin: .48rem 0 0;
  color: #777166;
  font-size: .62rem;
  text-align: right;
}

.ranking-section {
  padding-bottom: 3rem;
}

.ranking-panel {
  border: 1px solid #332b20;
  background: rgba(16, 16, 16, .94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.ranking-toolbar {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid #29251f;
}

.ranking-tabs {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.ranking-tab {
  min-width: 62px;
  padding: .48rem .65rem;
  border: 1px solid transparent;
  background: transparent;
  color: #9c9588;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.ranking-tab:hover {
  color: var(--gold-light);
}

.ranking-tab.is-active {
  border-color: #59472c;
  background: #211b13;
  color: var(--gold-light);
}

.table-scroll {
  overflow-x: auto;
  scrollbar-color: #51432d #141311;
  scrollbar-width: thin;
}

.ranking-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: .68rem;
  text-align: left;
}

.ranking-table th {
  padding: .77rem .7rem;
  border-bottom: 1px solid #3c3327;
  background: #151413;
  color: #a99771;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

.ranking-table td {
  padding: .72rem .7rem;
  border-bottom: 1px solid #242220;
  color: #c9c1b4;
  white-space: nowrap;
}

.ranking-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .018);
}

.ranking-table tbody tr:hover {
  background: rgba(198, 166, 107, .07);
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table td:first-child {
  width: 54px;
  color: #a88a57;
  font-family: var(--serif);
}

.ranking-table .character-name {
  color: #eee1c5;
  font-weight: 700;
}

.ranking-table .muted-cell {
  color: #827b70;
}

.ranking-table .table-message {
  height: 90px;
  color: #9b9385;
  text-align: center;
}

.player-presence {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: #aaa295;
  font-size: .59rem;
  font-weight: 700;
}

.player-presence::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6f6b61;
  content: "";
}

.player-presence.online {
  color: #a9c5aa;
}

.player-presence.online::before {
  background: var(--green);
  box-shadow: 0 0 7px rgba(129, 181, 141, .45);
}

.ranking-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-top: 1px solid #29251f;
  color: #777166;
  font-size: .61rem;
}

.site-footer {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem max(4vw, calc((100vw - 1180px) / 2));
  border-top: 1px solid #28241e;
  color: #777166;
  font-size: .62rem;
}

.site-footer a {
  font-size: .62rem;
}

@media (max-width: 900px) {
  .site-layout {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: 1rem;
  }

  .info-panel {
    padding: 1rem .85rem;
  }

  .info-panel h2 {
    font-size: 1rem;
  }

  .topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-bottom: .2rem;
  }

  .status-cluster {
    grid-column: 3;
    grid-row: 1;
  }

  .topbar-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .hero {
    min-height: 370px;
    grid-template-columns: 1fr .55fr;
    padding-right: 1.5rem;
  }

  .hero-emblem {
    width: min(220px, 25vw);
  }

  .emblem-letter {
    font-size: 4rem;
  }

  .realm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 118px;
  }

  .site-layout {
    width: min(100% - 28px, 520px);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .topbar {
    min-height: 65px;
    gap: .5rem;
    padding: .55rem 16px;
    grid-template-columns: 1fr auto;
  }

  .header-disclaimer {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: .15rem;
    font-size: .62rem;
  }

  .status-cluster {
    grid-column: 2;
    grid-row: 1;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    gap: .35rem;
  }

  .discord-header-button {
    min-height: 32px;
    padding: .3rem .45rem;
  }

  .discord-header-button .discord-button-label {
    display: none;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: .78rem;
  }

  .brand-copy small {
    font-size: .52rem;
  }

  .status-cluster {
    min-width: auto;
    gap: .45rem;
    padding: .4rem .5rem;
  }

  .status-copy strong {
    font-size: .55rem;
  }

  .status-copy small {
    font-size: .55rem;
  }

  .main-nav {
    gap: 1.6rem;
  }

  .main-nav a {
    font-size: .67rem;
  }

  .page-shell {
    width: 100%;
  }

  .info-panel {
    position: static;
    order: 2;
    margin: 2rem 0;
  }

  .site-layout > .page-shell {
    order: 1;
  }

  .hero {
    min-height: 350px;
    grid-template-columns: 1fr;
    padding: 2.6rem 1.25rem 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-description {
    max-width: 390px;
    font-size: .82rem;
  }

  .hero-emblem {
    position: absolute;
    right: -4rem;
    bottom: -3.2rem;
    width: 190px;
    opacity: .28;
  }

  .hero-copy {
    z-index: 2;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }

  .lfg-promo {
    margin-left: 0;
    padding-left: .7rem;
  }

  .hero-qualities {
    flex-wrap: wrap;
    margin-top: 1.3rem;
    font-size: .52rem;
  }

  .realm-section,
  .ranking-section {
    padding-top: 2.2rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .section-heading-meta {
    justify-items: start;
  }

  .data-caption {
    margin-bottom: 0;
  }

  .realm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .realm-card {
    min-height: 105px;
    padding: .8rem;
  }

  .card-value {
    font-size: 1.42rem;
  }

  .card-state {
    font-size: .9rem;
  }

  .ranking-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
    padding: .7rem;
  }

  .ranking-tabs {
    width: 100%;
  }

  .ranking-tab {
    flex: 1;
    min-width: 0;
  }

  .ranking-source {
    align-self: flex-end;
  }

  .ranking-footer {
    flex-direction: column;
    gap: .25rem;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .topbar {
    gap: .3rem;
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand {
    gap: .4rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-copy strong {
    font-size: .64rem;
    letter-spacing: .12em;
  }

  .brand-copy small {
    font-size: .45rem;
    letter-spacing: .1em;
  }

  .status-cluster {
    gap: .3rem;
    padding: .3rem .38rem;
  }

  .status-copy strong,
  .status-copy small {
    font-size: .48rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .main-nav a {
    font-size: .6rem;
  }

  .page-shell {
    width: 100%;
  }

  .site-layout {
    width: calc(100% - 20px);
  }

  .hero {
    padding-right: .9rem;
    padding-left: .9rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 10vw, 2.4rem);
    letter-spacing: .06em;
  }

  .hero-subtitle {
    gap: .45rem;
    font-size: .68rem;
    letter-spacing: .16em;
  }

  .hero-subtitle span {
    font-size: .52rem;
    letter-spacing: .1em;
  }
}

@media (max-width: 350px) {
  .status-copy small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
