﻿:root {
  --bg: #070603;
  --bg-deep: #110d07;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(120, 115, 90, 0.42);
  --accent: #6ab04c;
  --accent-soft: #badc58;
  --gold: #c8a85a;
  --gold-soft: #f3dfab;
  --text: #e8f5e9;
  --muted: rgba(232, 245, 233, 0.66);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "MedievalSharp", cursive;
  background:
    radial-gradient(circle at 18% 18%, rgba(106, 176, 76, 0.12), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(200, 168, 90, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 46%, #050402 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.36) 70%, rgba(0, 0, 0, 0.74) 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 92%);
  pointer-events: none;
}

main,
.topbar,
.footer {
  position: relative;
  z-index: 1;
}

main section[id] {
  scroll-margin-top: 6.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(26px);
  pointer-events: none;
  opacity: 0.34;
  z-index: 0;
}

.ambient-left {
  top: 4rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(106, 176, 76, 0.24), transparent 62%);
}

.ambient-right {
  top: 16rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(200, 168, 90, 0.22), transparent 64%);
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgba(7, 6, 3, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(200, 168, 90, 0.34);
  background: linear-gradient(145deg, rgba(200, 168, 90, 0.2), rgba(106, 176, 76, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-family: "MedievalSharp", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong,
h1,
h2,
h3,
h4 {
  font-family: "MedievalSharp", cursive;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex: 1;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.topbar-actions,
.hero-actions,
.button-stack,
.footer-links,
.hiscore-meta,
.hiscore-mini-stats {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-actions {
  justify-content: flex-end;
}

.steam-button {
  white-space: nowrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.hiscore-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: #081007;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(106, 176, 76, 0.24);
  font-weight: 800;
}

.secondary-button,
.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.ghost-button {
  color: var(--gold-soft);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.hiscore-entry:hover {
  transform: translateY(-2px);
}

.large {
  min-height: 54px;
  padding: 0.95rem 1.45rem;
}

.language-button {
  min-width: 64px;
  padding-inline: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.service-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.4rem 1.5rem 4rem;
}

.section {
  margin-bottom: 2rem;
}

.service-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.service-landing-copy,
.service-status-panel,
.service-action-card,
.service-panel,
.service-news-list article {
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.service-landing-copy {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2rem;
}

.service-landing-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.service-landing-copy p:last-child {
  max-width: 68ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-status-panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(106, 176, 76, 0.12), rgba(200, 168, 90, 0.055)),
    linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
}

.service-status-panel strong {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-status-panel p,
.service-panel p,
.service-news-list p,
.service-action-card em {
  color: var(--muted);
  line-height: 1.65;
}

.service-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.service-action-card {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.service-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 168, 90, 0.58);
}

.service-action-card.primary-action {
  background:
    linear-gradient(180deg, rgba(106, 176, 76, 0.16), rgba(200, 168, 90, 0.055)),
    linear-gradient(180deg, rgba(20, 18, 10, 0.96), rgba(11, 10, 6, 0.92));
}

.service-action-card span,
.service-news-list span,
.service-data-list span,
.service-price-row span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-action-card strong {
  margin-top: 0.8rem;
  color: var(--text);
  font-family: "MedievalSharp", cursive;
  font-size: 1.25rem;
}

.service-action-card em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.9rem;
}

.service-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.2rem;
  align-items: start;
}

.service-dashboard-main {
  display: grid;
  gap: 1rem;
}

.service-panel {
  padding: 1.35rem;
}

.service-panel-head,
.service-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-panel-head h2,
.service-section-title h2,
.service-panel h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.service-form-horizontal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto;
  align-items: end;
}

.service-inline-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.service-news {
  margin-bottom: 0;
}

.service-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-news-list article {
  padding: 1rem;
}

.service-news-list h3 {
  margin-top: 0.65rem;
  font-size: 1.12rem;
}

.service-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}

.service-price-row,
.service-data-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.service-price-row strong,
.service-data-list strong {
  color: var(--gold-soft);
}

.service-data-list {
  display: grid;
  gap: 0.7rem;
}

.service-data-list p {
  margin: 0;
}

.service-launch-card,
.service-update-card {
  border-radius: var(--radius-lg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.news-card,
.info-card,
.sidebar-card,
.launch-card,
.faq-list details,
.hiscore-profile {
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.sidebar-card,
.launch-card,
.hiscore-profile,
.faq-list details,
.info-card,
.news-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 3rem;
}

.hero-panel {
  padding: 1.2rem;
}

.eyebrow,
.panel-label,
.news-date {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 0.8rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.service-hero h1 {
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.hero-text,
.hero-support,
.news-card p,
.info-card p,
.sidebar-card p,
.launch-card p,
.faq-list p,
.hiscore-bio,
.hiscore-meta p,
.form-note,
.overlay-subtitle {
  color: var(--muted);
  line-height: 1.72;
}

.purchase-success-summary {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.purchase-success-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.purchase-success-summary span {
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purchase-success-summary strong {
  color: var(--paper);
  text-align: right;
}

.hero-text {
  margin: 1.35rem 0 1rem;
  max-width: 60ch;
  font-size: 1.04rem;
}

.hero-support {
  max-width: 58ch;
  margin: 0 0 2rem;
  color: rgba(232, 245, 233, 0.82);
}

.teaser-card {
  height: 100%;
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(200, 168, 90, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.teaser-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.teaser-card ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.85;
}

.service-login-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.service-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-form input,
.service-form textarea,
.service-form select {
  width: 100%;
  min-height: 50px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.service-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.55;
}

.service-form input::placeholder,
.service-form textarea::placeholder {
  color: rgba(232, 245, 233, 0.42);
}

.service-card-links {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.service-card-button {
  margin-top: 1rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.4rem;
  align-items: start;
}

.portal-content {
  display: grid;
  gap: 1.4rem;
}

.service-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading h2 {
  max-width: 16ch;
}

.news-feed {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 1rem;
}

.news-card {
  padding: 1.5rem;
}

.news-card-featured {
  min-height: 100%;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.editorial-card {
  padding: 1.45rem;
}

.editorial-card.wide {
  grid-column: 1 / -1;
}

.sidebar-card {
  padding: 1.25rem;
}

.sidebar-head {
  margin-bottom: 1rem;
}

.sidebar-head h3 {
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

.button-stack.vertical {
  flex-direction: column;
  align-items: stretch;
}

.sidebar-note-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.compact-hiscores {
  display: grid;
  gap: 0.55rem;
}

.hiscore-entry {
  width: 100%;
  min-height: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(39, 36, 24, 0.9), rgba(24, 22, 14, 0.92));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 64px;
  gap: 0.55rem;
  align-items: center;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.hiscore-entry.is-active {
  border-color: rgba(106, 176, 76, 0.5);
  box-shadow: 0 0 0 1px rgba(106, 176, 76, 0.2), 0 14px 32px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(50, 59, 29, 0.92), rgba(24, 27, 14, 0.95));
}

.hiscore-rank {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
  font-size: 0.95rem;
  font-weight: 800;
}

.hiscore-player {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.hiscore-player strong {
  font-size: 0.96rem;
}

.hiscore-player span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hiscore-level {
  justify-self: end;
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 0.92rem;
}

.compact-profile {
  margin-top: 0.9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hiscore-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hiscore-total span,
.hiscore-meta span,
.hiscore-mini-stat span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hiscore-total strong {
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.hiscore-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hiscore-meta p {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hiscore-meta strong,
.hiscore-mini-stat strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
}

.roadmap-rail {
  display: grid;
  gap: 0.7rem;
}

.compact-step {
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: 14px;
}

.roadmap-step {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
  border: 1px solid var(--line-strong);
}

.roadmap-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(106, 176, 76, 0.5);
}

.roadmap-step.current::before {
  background: linear-gradient(180deg, var(--gold), var(--accent));
}

.roadmap-step span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.compact-faq {
  display: grid;
  gap: 0.85rem;
}

.patchlog-section {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.patchlog-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.patchlog-entry {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(39, 36, 24, 0.82), rgba(20, 18, 11, 0.9));
}

.patchlog-entry span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.patchlog-entry h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.patchlog-entry p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.patchlog-entry ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-list details {
  padding: 1.15rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.subscribe-form {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0.75rem;
}

.subscribe-form-centered {
  max-width: 540px;
  margin: 1.25rem auto 0.75rem;
}

.subscribe-form input {
  width: 100%;
  min-height: 50px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.subscribe-form input::placeholder {
  color: rgba(232, 245, 233, 0.42);
}

.centered-note {
  max-width: 720px;
  margin: 0.75rem auto 0;
}

.launch-card {
  text-align: center;
  padding: 1.8rem;
}

.cta-card,
.compact-cta {
  max-width: 100%;
}

.back-to-top-section {
  margin-bottom: 1rem;
}

.text-link,
.footer p,
.footer-links a,
.footer-link-button {
  color: var(--muted);
}

.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.text-link:hover,
.footer-links a:hover,
.footer-link-button:hover {
  color: var(--gold-soft);
}

.launch-anchor {
  margin-top: 2rem;
  margin-bottom: 0;
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.35rem 1.5rem 2.2rem;
  border-top: 1px solid rgba(200, 168, 90, 0.16);
}

.footer-copy {
  display: grid;
  gap: 0.3rem;
  max-width: 520px;
}

.footer-copy strong {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
  font-size: 1rem;
}

.footer-copy p {
  margin: 0;
}

.footer-copyright {
  font-size: 0.82rem;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.full-width {
  width: 100%;
}

body.overlay-open {
  overflow: hidden;
}

.hiscores-overlay,
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.hiscores-overlay[hidden],
.consent-overlay[hidden],
.cookie-banner[hidden] {
  display: none;
}

.hiscores-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 2, 0.78);
  backdrop-filter: blur(6px);
}

.hiscores-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.98), rgba(11, 10, 6, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.hiscores-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.icon-button {
  min-width: 48px;
  padding-inline: 0.9rem;
}

.hiscores-overlay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
}

.hiscores-overlay-table,
.overlay-profile {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.hiscores-overlay-table {
  padding: 1rem;
}

.overlay-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 120px;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overlay-rows {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.overlay-rows .hiscore-entry {
  grid-template-columns: 72px minmax(0, 1fr) 120px;
}

.overlay-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.overlay-page-label {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.overlay-profile {
  padding: 1.15rem;
}

.legal-dialog {
  max-width: 760px;
}

.legal-content {
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-content p {
  margin: 0;
}

.overlay-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hiscore-mini-stat {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  width: min(860px, calc(100% - 2.5rem));
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.98), rgba(11, 10, 6, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.cookie-banner h2,
.consent-dialog h2,
.consent-option h3 {
  margin: 0;
}

.cookie-banner-copy p:last-child,
.consent-option p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner-actions,
.consent-dialog-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.consent-overlay {
  z-index: 45;
}

.consent-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.98), rgba(11, 10, 6, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.consent-options {
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0;
}

.consent-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.consent-option-toggle {
  cursor: pointer;
}

.consent-required-pill {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(200, 168, 90, 0.1);
  border: 1px solid rgba(200, 168, 90, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
}

.consent-option input {
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
  accent-color: var(--accent);
  cursor: pointer;
}

.site-header {
  display: block;
  max-width: none;
  padding: 0;
  border-bottom: 1px solid rgba(200, 168, 90, 0.16);
  background: rgba(7, 6, 3, 0.86);
}

.topbar-primary,
.service-subnav {
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.topbar-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 76px;
}

.service-subnav {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.service-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.05rem;
  border-bottom: 2px solid transparent;
}

.service-subnav a:hover,
.service-subnav a.is-active {
  color: var(--gold-soft);
  border-bottom-color: var(--accent-soft);
  transform: none;
}

.service-main {
  display: grid;
  gap: 0;
  max-width: var(--container);
  padding: 1.5rem 1.5rem 4rem;
}

[data-page][hidden] {
  display: none !important;
}

[data-page] {
  animation: pageFadeIn 0.18s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-hero,
.service-band,
.feature-tile,
.news-strip article,
.news-list-item,
.edition-list-item,
.edition-detail,
.hiscores-section,
.service-subscribe {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 6, 3, 0.94), rgba(7, 6, 3, 0.72)),
    radial-gradient(circle at 82% 18%, rgba(106, 176, 76, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(20, 18, 10, 0.98), rgba(11, 10, 6, 0.92));
}

.game-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.game-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.game-hero-copy p:not(.eyebrow) {
  max-width: 62ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.game-hero-copy .hero-actions {
  margin-top: 1.6rem;
}

.game-hero-status {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.8rem;
  padding: 1.5rem;
  border-left: 1px solid rgba(200, 168, 90, 0.2);
  background:
    linear-gradient(180deg, rgba(106, 176, 76, 0.12), rgba(200, 168, 90, 0.05)),
    rgba(255, 255, 255, 0.025);
}

.game-hero-status strong {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
  font-size: 1.45rem;
  line-height: 1.1;
}

.live-status-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.live-status-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-status-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-status-list strong {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
  font-size: 0.88rem;
  text-align: right;
}

.status-pill {
  min-width: 58px;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.status-pill.is-online {
  color: #10220c;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

.status-pill.is-offline {
  color: #ffe5df;
  background: rgba(164, 48, 35, 0.82);
}

.status-pill.is-pending {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.game-hero-status > p,
.feature-tile p,
.news-strip p,
.service-subscribe p {
  color: var(--muted);
  line-height: 1.7;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -1px;
  border: 1px solid rgba(200, 168, 90, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.quick-nav a {
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.84), rgba(11, 10, 6, 0.9));
}

.quick-nav a:last-child {
  border-right: 0;
}

.quick-nav span,
.news-strip span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-nav strong {
  align-self: end;
  color: var(--text);
  font-family: "MedievalSharp", cursive;
  font-size: 1.08rem;
}

.service-band,
.hiscores-section {
  padding: 1.35rem;
}

.service-band-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-band-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.account-login-form {
  align-items: stretch;
}

.account-login-form h3,
.register-panel h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.account-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 1rem;
}

.account-login-form,
.account-forgot-form,
.register-panel {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.account-forgot-form {
  grid-column: 1;
}

.register-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.register-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.account-register-form {
  margin-top: 1rem;
}

.account-settings-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.account-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.account-settings-form {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.form-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.form-message {
  min-height: 1.4em;
  margin: 0.65rem 0 0;
  color: var(--gold-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message.is-error {
  color: #ffb0a3;
}

.primary-button.is-disabled,
.secondary-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.45);
  pointer-events: auto;
}

.account-management-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.admin-controls {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-toggle-row input {
  width: 18px;
  height: 18px;
}

.admin-account-list {
  display: grid;
  gap: 0.75rem;
}

.admin-ticket-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.admin-section-title {
  margin: 0.75rem 0 0.25rem;
  color: var(--gold-soft);
}

.admin-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.42fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-account-main {
  display: grid;
  gap: 0.2rem;
}

.admin-ticket-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-ticket-main {
  display: grid;
  gap: 0.35rem;
}

.admin-ticket-main p,
.admin-ticket-main blockquote {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-ticket-main blockquote {
  padding: 0.6rem 0.75rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.035);
}

.admin-ticket-row textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-account-main strong {
  color: var(--text);
}

.admin-account-main span,
.admin-account-main em {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

.admin-license-select {
  width: 100%;
  min-height: 44px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}

.account-service-list {
  display: grid;
  gap: 0.65rem;
}

.account-service-list a {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.account-service-list span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-service-list strong {
  color: var(--gold-soft);
}

.content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 1rem;
}

.feature-tile {
  padding: 1.35rem;
}

.feature-tile h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.feature-tile-wide {
  min-height: 260px;
}

.tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.news-section {
  margin-bottom: 2rem;
}

.news-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.news-list-item,
.edition-list-item {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.45rem;
  align-items: start;
  width: 100%;
  padding: 1.4rem 1.55rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.news-list-item:hover,
.edition-list-item:hover {
  border-color: rgba(200, 168, 90, 0.62);
  transform: translateY(-1px);
}

.news-image-placeholder,
.edition-image-placeholder {
  display: block;
  min-height: 168px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(106, 176, 76, 0.26), rgba(200, 168, 90, 0.08)),
    linear-gradient(180deg, rgba(39, 36, 24, 0.9), rgba(24, 22, 14, 0.92));
}

.news-image-shop {
  background:
    linear-gradient(135deg, rgba(200, 168, 90, 0.28), rgba(106, 176, 76, 0.08)),
    linear-gradient(180deg, rgba(39, 31, 18, 0.95), rgba(18, 14, 9, 0.92));
}

.news-image-hiscores {
  background:
    linear-gradient(135deg, rgba(186, 220, 88, 0.22), rgba(80, 120, 160, 0.13)),
    linear-gradient(180deg, rgba(20, 30, 24, 0.95), rgba(11, 10, 6, 0.92));
}

.edition-image-beta {
  background:
    linear-gradient(135deg, rgba(106, 176, 76, 0.26), rgba(80, 120, 160, 0.1)),
    linear-gradient(180deg, rgba(22, 36, 22, 0.95), rgba(11, 10, 6, 0.92));
}

.edition-image-presale {
  background:
    linear-gradient(135deg, rgba(200, 168, 90, 0.3), rgba(106, 176, 76, 0.08)),
    linear-gradient(180deg, rgba(44, 32, 18, 0.95), rgba(11, 10, 6, 0.92));
}

.edition-image-early {
  background:
    linear-gradient(135deg, rgba(186, 220, 88, 0.24), rgba(200, 168, 90, 0.12)),
    linear-gradient(180deg, rgba(34, 40, 18, 0.95), rgba(11, 10, 6, 0.92));
}

.edition-image-full {
  background:
    linear-gradient(135deg, rgba(200, 168, 90, 0.32), rgba(232, 245, 233, 0.08)),
    linear-gradient(180deg, rgba(42, 32, 20, 0.95), rgba(11, 10, 6, 0.92));
}

.news-list-copy,
.edition-list-copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.news-list-copy strong,
.edition-list-copy strong {
  color: var(--accent-soft);
  font-family: "MedievalSharp", cursive;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.news-list-copy > span:not(.news-date),
.news-list-copy em,
.edition-list-copy > span:not(.news-date),
.edition-list-copy em {
  color: var(--muted);
  line-height: 1.65;
}

.news-list-copy em,
.edition-list-copy em {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 800;
}

.news-detail {
  padding: 1.45rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.95), rgba(11, 10, 6, 0.9));
  box-shadow: var(--shadow);
}

.news-back-button {
  margin-bottom: 1rem;
  cursor: pointer;
}

.news-detail-image {
  min-height: 280px;
  margin-bottom: 1.35rem;
}

.news-detail h2 {
  max-width: 20ch;
  color: var(--gold-soft);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.news-detail-meta {
  color: var(--muted);
}

.news-detail-body {
  max-width: 82ch;
}

.news-detail-body p {
  color: var(--muted);
  line-height: 1.8;
}

.news-editor-dialog {
  width: min(840px, 100%);
}

.news-editor-language-toggle,
.news-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-editor-language-toggle .is-active {
  color: #081007;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  border-color: rgba(255, 255, 255, 0.08);
}

.content-row#buy {
  grid-template-columns: 1fr;
}

.edition-list {
  display: grid;
  gap: 0.85rem;
}

.edition-detail {
  padding: 1.45rem;
}

.edition-detail-image {
  min-height: 260px;
  margin-bottom: 1.35rem;
}

.edition-detail h2 {
  max-width: 20ch;
  color: var(--gold-soft);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.edition-detail-price {
  color: var(--accent-soft);
  font-size: 1.15rem;
  font-weight: 800;
}

.edition-detail-body {
  max-width: 82ch;
}

.edition-detail-body p {
  color: var(--muted);
  line-height: 1.8;
}

.checkout-consent {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-consent[hidden] {
  display: none;
}

.checkout-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.code-redeem-panel {
  margin-top: 1rem;
}

.hiscores-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 1rem;
}

.hiscores-board {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.hiscores-board .compact-hiscores {
  gap: 0.65rem;
}

.hiscores-board .hiscore-entry,
.hiscores-board .overlay-head {
  grid-template-columns: 88px minmax(0, 1fr) 130px;
}

.hiscores-section .compact-profile {
  margin-top: 0;
}

.service-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 1rem;
  align-items: end;
  padding: 1.35rem;
}

.service-subscribe .subscribe-form {
  margin: 0;
}

.support-contact {
  margin-top: 1rem;
}

.roadmap-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(200, 168, 90, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.roadmap-strip article {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(20, 18, 10, 0.84), rgba(11, 10, 6, 0.9));
}

.roadmap-strip article:last-child {
  border-right: 0;
}

.roadmap-strip span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roadmap-strip strong {
  color: var(--gold-soft);
  font-family: "MedievalSharp", cursive;
}

@media (max-width: 1120px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .portal-grid,
  .news-feed,
  .editorial-grid,
  .hiscore-meta,
  .hiscores-overlay-grid,
  .overlay-mini-stats {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .section-heading h2 {
    max-width: none;
  }

  .service-landing,
  .service-dashboard,
  .service-action-grid,
  .service-news-list,
  .service-split,
  .service-form-horizontal,
  .account-settings-grid {
    grid-template-columns: 1fr;
  }

  .service-landing-copy {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding: 0.9rem 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav,
  .topbar-actions {
    display: none;
  }

  .topbar.is-open .nav,
  .topbar.is-open .topbar-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar.is-open .nav a,
  .topbar.is-open .topbar-actions a,
  .topbar.is-open .topbar-actions button {
    width: 100%;
  }

  .portal-main {
    padding: 1.4rem 1rem 3rem;
  }

  .hero-copy,
  .teaser-card,
  .sidebar-card,
  .launch-card,
  .news-card,
  .info-card,
  .faq-list details {
    padding: 1.35rem;
  }

  .section-heading.inline,
  .footer,
  .hiscores-dialog-head,
  .overlay-pagination,
  .cookie-banner,
  .consent-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-banner-actions,
  .consent-dialog-actions {
    width: 100%;
  }

  .hiscores-dialog {
    padding: 1rem;
  }

  .service-main {
    padding: 1rem 1rem 3rem;
  }

  .service-landing-copy,
  .service-status-panel,
  .service-panel {
    padding: 1.2rem;
  }

  .service-panel-head,
  .service-section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-auth-grid {
    grid-template-columns: 1fr;
  }

  .account-forgot-form,
  .register-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.3rem;
  }

  .brand-copy span {
    display: none;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .cookie-banner-actions button,
  .consent-dialog-actions button {
    width: 100%;
  }

  .hero-actions,
  .button-stack {
    width: 100%;
  }

  .hiscore-entry {
    grid-template-columns: 40px minmax(0, 1fr) 56px;
  }

  .overlay-head,
  .overlay-rows .hiscore-entry {
    grid-template-columns: 48px minmax(0, 1fr) 72px;
  }
}

.player-profile-dialog {
  width: min(960px, 100%);
}

.player-profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.player-profile-summary,
.player-profile-skills {
  height: 100%;
}

.player-profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.player-profile-meta-grid p {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.player-profile-meta-grid span,
.player-skills-head,
.player-skill-row span {
  color: var(--muted);
}

.player-profile-mini-stats {
  margin-top: 0.2rem;
}

.fishing-pbs-dialog {
  width: min(720px, 100%);
}

.fishing-pbs-table {
  padding: 1rem;
}

.fishing-pb-row {
  grid-template-columns: minmax(0, 1fr) 110px 130px;
}

.fishing-pb-empty {
  margin: 0;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.fishing-pb-row.no-best {
  opacity: 0.68;
}

.player-skills-head,
.player-skill-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 130px;
  gap: 0.75rem;
  align-items: center;
}

.player-skills-head {
  padding: 0.25rem 0.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.player-skills-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.player-skill-row {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(39, 36, 24, 0.9), rgba(24, 22, 14, 0.92));
}

.player-skill-row strong {
  display: block;
}

.player-skill-row em {
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .player-profile-grid,
  .player-profile-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .player-skills-head,
  .player-skill-row {
    grid-template-columns: minmax(0, 1fr) 70px 95px;
    gap: 0.5rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 1120px) {
  .game-hero,
  .account-layout,
  .account-auth-grid,
  .content-row,
  .hiscores-service-grid,
  .service-subscribe,
  .account-login-form {
    grid-template-columns: 1fr;
  }

  .game-hero-status {
    border-top: 1px solid rgba(200, 168, 90, 0.2);
    border-left: 0;
  }

  .quick-nav,
  .roadmap-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0;
  }

  .topbar-primary {
    min-height: 68px;
    padding: 0.75rem 1rem;
  }

  .service-subnav {
    display: none;
    padding: 0 1rem 1rem;
  }

  .topbar.is-open .service-subnav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-subnav a {
    min-height: 42px;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .service-main {
    padding: 1rem 1rem 3rem;
  }

  .game-hero-copy,
  .game-hero-status,
  .service-band,
  .feature-tile,
  .hiscores-section,
  .service-subscribe {
    padding: 1.15rem;
  }

  .game-hero {
    min-height: 0;
  }

  .game-hero-copy h1 {
    font-size: 2.35rem;
  }

  .quick-nav,
  .roadmap-strip {
    grid-template-columns: 1fr;
  }

  .news-list-item,
  .edition-list-item {
    grid-template-columns: 1fr;
  }

  .quick-nav a {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .quick-nav a:last-child {
    border-bottom: 0;
  }

  .roadmap-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .roadmap-strip article:last-child {
    border-bottom: 0;
  }

  .service-band-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-management-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hiscores-board .hiscore-entry,
  .hiscores-board .overlay-head {
    grid-template-columns: 48px minmax(0, 1fr) 72px;
  }

  .tile-actions,
  .service-subscribe .subscribe-form {
    width: 100%;
  }
}


/* LEGAL TEXT CLEAN STYLE */

.legal-content {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #e6e0d4;
  max-width: 720px;
}

/* einzelne Absätze */
.legal-content p {
  margin-bottom: 12px;
}

/* Überschriften erkennen (z. B. "1. Geltungsbereich") */
.legal-content p:first-child,
.legal-content p:has(strong) {
  font-weight: 600;
  color: #f2e6c9;
}

/* Listen (falls du später welche renderst) */
.legal-content ul {
  margin: 10px 0 14px 18px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 6px;
}

/* optional: leicht heller Hintergrund fürs Lesen */
.legal-dialog {
  backdrop-filter: blur(6px);
}

/* Scrollbar clean */
.legal-content::-webkit-scrollbar {
  width: 6px;
}

.legal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* HEADLINES in Rechtstexten */
.legal-content h3 {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* normale Absätze */
.legal-content p {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #e6e0d4;
}

.legal-content h3::before {
  content: "";
}
