:root {
  color-scheme: light;
  --dark-1: #111315;
  --dark-2: #252a30;
  --orange: #f26a21;
  --orange-dark: #d95316;
  --white: #ffffff;
  --grey-1: #f3f5f7;
  --grey-2: #d8dde3;
  --text: #17191c;
  --muted: #606a75;
  --disabled: #9aa3ac;
  --green: #16845b;
  --amber: #c98200;
  --red: #c73a3a;
  --blue: #2774b8;
  --purple: #6b55a3;
  --radius: 8px;
  --shadow: 0 12px 32px rgba(17, 19, 21, 0.08);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--grey-1);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--grey-1);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.large-text {
  font-size: 18px;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

body.high-contrast {
  --dark-1: #000000;
  --dark-2: #111111;
  --orange: #ff5a00;
  --orange-dark: #cc4800;
  --grey-1: #ffffff;
  --grey-2: #000000;
  --text: #000000;
  --muted: #222222;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

small,
.muted {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark-1);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: var(--dark-1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.header-actions a {
  padding: 10px 12px;
  color: #e6e9ec;
  text-decoration: none;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.header-actions a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background: var(--green);
  border-radius: 50%;
}

.mobile-menu {
  display: none;
  justify-self: end;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 8px 12px;
}

#app {
  min-height: calc(100vh - 150px);
}

.page {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.page-narrow {
  width: min(760px, calc(100% - 40px));
}

.page-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.page-heading p {
  max-width: 660px;
  font-size: 1.08rem;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  color: var(--white);
  background: var(--dark-1);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 50px;
  align-items: center;
  width: min(var(--content), calc(100% - 40px));
  min-height: 540px;
  margin: 0 auto;
  padding: 64px 0;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 590px;
  color: #cdd2d7;
  font-size: 1.1rem;
}

.hero-art {
  min-height: 390px;
  background: url('../../games/gcaoi/images/hero.png') center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #f8f9fa;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.button.primary:hover {
  background: var(--orange-dark);
}

.button.dark {
  color: var(--white);
  background: var(--dark-1);
  border-color: var(--dark-1);
}

.button.danger {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.9rem;
}

.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.text-button {
  padding: 6px;
  color: var(--orange-dark);
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.icon-button {
  width: 36px;
  height: 36px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  cursor: pointer;
}

.section {
  padding: 64px 0;
}

.section-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.card.compact {
  padding: 18px;
}

.card h3:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  border-color: var(--orange);
}

.card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
}

.feature-card {
  min-height: 230px;
}

.game-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
}

.game-card img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  color: var(--muted);
  background: var(--grey-1);
  border: 1px solid var(--grey-2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge.green {
  color: var(--green);
  background: #edf8f3;
  border-color: #b8decf;
}

.badge.orange {
  color: #9c430f;
  background: #fff3ec;
  border-color: #ffc8a7;
}

.badge.red {
  color: var(--red);
  background: #fff0f0;
  border-color: #efb3b3;
}

.badge.blue {
  color: var(--blue);
  background: #edf5fb;
  border-color: #bdd7ec;
}

.callout {
  padding: 18px 20px;
  background: #fff7f2;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}

.callout p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 14px 16px;
  color: #6f5200;
  background: #fff9e7;
  border: 1px solid #ead59a;
  border-radius: var(--radius);
}

.notice.error {
  color: #7c1f1f;
  background: #fff0f0;
  border-color: #efb3b3;
}

.notice.success {
  color: #0d6343;
  background: #edf8f3;
  border-color: #b8decf;
}

.form-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b9c1c9;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 0.88rem;
}

.checkbox-row,
.switch-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.switch-row {
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-2);
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.progress-step {
  padding: 10px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.88rem;
}

.progress-step.active {
  color: var(--white);
  background: var(--dark-1);
  border-color: var(--dark-1);
}

.status-list,
.ticket-list,
.simple-list {
  display: grid;
  gap: 10px;
}

.status-row,
.ticket-row,
.simple-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.ticket-row {
  grid-template-columns: minmax(110px, 0.35fr) minmax(220px, 1fr) auto auto;
  cursor: pointer;
}

.ticket-row:hover,
.ticket-row.selected {
  border-color: var(--orange);
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.status-label::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.status-label.degraded::before {
  background: var(--amber);
}

.status-label.outage::before {
  background: var(--red);
}

.status-label.maintenance::before {
  background: var(--purple);
}

.empty-state {
  padding: 44px 24px;
  text-align: center;
  background: var(--white);
  border: 1px dashed #b9c1c9;
  border-radius: var(--radius);
}

.empty-state img {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 74px);
}

.admin-sidebar {
  padding: 26px 16px;
  color: var(--white);
  background: var(--dark-1);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar h2 {
  margin: 0 12px 24px;
  font-size: 1rem;
}

.admin-nav {
  display: grid;
  gap: 5px;
}

.admin-nav a {
  padding: 11px 12px;
  color: #d9dde1;
  text-decoration: none;
  border-radius: var(--radius);
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: rgba(242, 106, 33, 0.18);
}

.admin-content {
  min-width: 0;
  padding: 34px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
}

.admin-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
}

.split-view {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 20px;
}

.panel {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.panel-heading h2,
.panel-heading h3 {
  margin-bottom: 0;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.toolbar .search-input {
  flex: 1 1 240px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--grey-2);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audit-list {
  display: grid;
  gap: 12px;
}

.audit-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-2);
}

.audit-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.code-block {
  overflow-x: auto;
  padding: 16px;
  color: #eef1f3;
  background: var(--dark-1);
  border-radius: var(--radius);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
  white-space: pre;
}

.domain-label {
  color: var(--muted);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.86rem;
}

.service-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 150px);
  padding: 40px 20px;
}

.service-card {
  width: min(560px, 100%);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.dialog {
  width: min(520px, calc(100% - 30px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.dialog-card {
  padding: 24px;
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100% - 36px));
}

.toast {
  padding: 14px 16px;
  color: var(--white);
  background: var(--dark-1);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 26px max(24px, calc((100vw - var(--content)) / 2));
  color: #c6ccd2;
  background: var(--dark-1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer img {
  width: 34px;
  height: 34px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #c6ccd2;
  text-decoration: none;
}

.site-footer .text-button {
  color: #f1f3f5;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.open .main-nav,
  .site-header.open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.open {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header.open .main-nav,
  .site-header.open .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 300px;
  }

  .grid-4,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-view {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .news-tools {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .news-search-field {
    grid-column: auto;
  }

  .news-reset {
    width: 100%;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    max-width: 150px;
    font-size: 0.88rem;
    white-space: normal;
  }

  .page,
  .section-inner,
  .hero-inner {
    width: min(100% - 28px, var(--content));
  }

  .hero-inner {
    min-height: auto;
    padding: 48px 0;
  }

  .hero-art {
    min-height: 220px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: 84px 1fr;
  }

  .game-card img {
    width: 84px;
  }

  .progress-steps {
    grid-template-columns: 1fr 1fr;
  }

  .ticket-row {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 24px 16px;
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr;
  }

  .admin-heading,
  .section-heading {
    display: block;
  }

  .admin-heading .actions,
  .section-heading .actions {
    margin-top: 16px;
  }

  .audit-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.status-dot.warning {
  background: var(--amber);
}

.admin-user-card {
  margin-top: 24px;
  color: var(--white);
  background: #1a1d20;
  border-color: #343a40;
}

.section-white {
  background: var(--white);
}

.spaced-14 {
  margin-top: 14px;
}

.spaced-16 {
  margin-top: 16px;
}

.spaced-18,
.ticket-action-form {
  margin-top: 18px;
}

.spaced-20,
.lookup-result {
  margin-top: 20px;
}

.section-gap-36 {
  margin-top: 36px;
}

.spaced-bottom-22 {
  margin-bottom: 22px;
}

.text-left {
  text-align: left;
}

.actions-center {
  justify-content: center;
}

.text-link {
  color: var(--orange-dark);
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.game-list-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
}

.game-list-card img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.game-index {
  display: grid;
  gap: 20px;
}

.game-index-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  padding: 0;
  overflow: hidden;
}

.game-index-card > img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.game-index-copy {
  align-self: center;
  padding: 32px 32px 32px 0;
}

.game-detail-page {
  background: var(--white);
}

.game-detail-hero {
  position: relative;
  min-height: 620px;
  color: var(--white);
  background: var(--dark-1);
  overflow: hidden;
}

.game-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}

.game-detail-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.96) 0%, rgba(17, 19, 21, 0.76) 50%, rgba(17, 19, 21, 0.2) 100%);
}

.game-detail-overlay {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.game-detail-overlay h1 {
  max-width: 760px;
}

.game-detail-overlay p {
  max-width: 660px;
  color: #e1e5e8;
  font-size: 1.15rem;
}

.game-detail-overlay .back-link {
  color: #f8c4a6;
}

.game-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 84px;
}

.game-detail-main {
  max-width: 760px;
}

.detail-section {
  margin-top: 42px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: var(--grey-1);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.feature-list li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--orange-dark);
  content: '✓';
  font-weight: 700;
}

.game-facts {
  align-self: start;
  position: sticky;
  top: 96px;
}


.news-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(180px, 0.9fr) minmax(170px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 14px;
  padding: 16px;
  background: var(--grey-1);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
}

.news-search-field,
.news-filter-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.news-search-field label,
.news-filter-field label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.news-tools .search-input,
.news-tools select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #b9c1c9;
  border-radius: var(--radius);
}

.news-tools .search-input:focus,
.news-tools select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.news-reset {
  min-height: 44px;
  white-space: nowrap;
}

.news-reset:disabled {
  opacity: 0.5;
  cursor: default;
}

.news-results-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-results-line strong {
  color: var(--text);
}

.news-empty {
  grid-column: 1 / -1;
}

.fact-row {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--grey-2);
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  margin-bottom: 28px;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.featured-article:hover {
  border-color: var(--orange);
}

.featured-article img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.featured-article > div {
  align-self: center;
  padding: 42px;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-index-card,
.article-preview-card {
  min-height: 240px;
}

.article-page {
  padding: 64px 0 84px;
  background: var(--white);
}

.article-header,
.article-layout,
.related-content,
.article-hero {
  width: min(920px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.article-header {
  padding-bottom: 36px;
}

.article-header h1 {
  max-width: 900px;
  margin-bottom: 24px;
}

.article-standfirst {
  max-width: 760px;
  color: var(--text);
  font-size: 1.25rem;
}

.article-hero {
  margin-bottom: 48px;
}

.article-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 54px;
}

.article-copy {
  min-width: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-copy p {
  color: var(--text);
  margin-bottom: 1.35em;
}

.article-aside .panel {
  position: sticky;
  top: 96px;
}

.related-content {
  margin-top: 64px;
  padding-top: 38px;
  border-top: 1px solid var(--grey-2);
}

.link-category + .link-category {
  margin-top: 46px;
}

.link-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 220px;
}

.link-card.featured {
  border-top: 4px solid var(--orange);
}

.link-monogram {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--dark-1);
  border-radius: var(--radius);
  font-weight: 700;
}

.admin-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-2);
}

.admin-section-tabs a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 13px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  text-decoration: none;
}

.admin-section-tabs a.active,
.admin-section-tabs a:hover {
  color: var(--white);
  background: var(--dark-1);
  border-color: var(--dark-1);
}

.admin-section-tabs span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.84rem;
}

.content-area-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  color: inherit;
  border-bottom: 1px solid var(--grey-2);
  text-decoration: none;
}

.content-area-row:last-child {
  border-bottom: 0;
}

.content-area-row div {
  display: grid;
  gap: 4px;
}

.content-area-row div span {
  color: var(--muted);
}

.content-table-heading,
.content-table-row {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(120px, 0.8fr) minmax(110px, 0.7fr) 70px minmax(150px, auto);
  gap: 16px;
  align-items: center;
}

.content-table-heading {
  padding: 0 0 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--grey-2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-table-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-2);
}

.content-table-row:last-child {
  border-bottom: 0;
}

.content-table-row > div:first-child {
  display: grid;
  gap: 4px;
}

.content-table-row > div:first-child span {
  color: var(--muted);
  font-size: 0.9rem;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.editor-side {
  position: sticky;
  top: 94px;
}

.editor-side .checkbox-row {
  margin-top: 16px;
}

.article-editor {
  min-height: 430px;
}

@media (max-width: 1100px) {
  .content-table-heading {
    display: none;
  }

  .content-table-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }

  .content-table-row > div:first-child,
  .row-actions {
    grid-column: 1 / -1;
  }

  .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .news-tools {
    grid-template-columns: 1fr 1fr;
  }

  .news-search-field {
    grid-column: 1 / -1;
  }

  .game-detail-body,
  .article-layout,
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .game-facts,
  .article-aside .panel,
  .editor-side {
    position: static;
  }

  .featured-article,
  .game-index-card {
    grid-template-columns: 1fr;
  }

  .featured-article > div,
  .game-index-copy {
    padding: 28px;
  }

  .game-index-card > img,
  .featured-article img {
    min-height: 240px;
    max-height: 360px;
  }
}

@media (max-width: 680px) {
  .game-list-card,
  .link-card {
    grid-template-columns: 1fr;
  }

  .game-list-card img {
    width: 100%;
    max-height: 240px;
  }

  .article-index {
    grid-template-columns: 1fr;
  }

  .game-detail-hero {
    min-height: 560px;
  }

  .game-detail-overlay {
    width: min(100% - 28px, var(--content));
    padding: 64px 0;
  }

  .game-detail-body,
  .article-header,
  .article-layout,
  .related-content,
  .article-hero {
    width: min(100% - 28px, var(--content));
  }

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

  .content-table-row > div:first-child,
  .row-actions {
    grid-column: auto;
  }
}

/* Marketing copy layout */
.section-intro { max-width: 720px; margin: 8px 0 0; color: var(--muted); }
.site-footer > div:first-child span { display: grid; gap: 2px; }
.site-footer > div:first-child small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.about-copy { margin-top: 28px; font-size: 1.08rem; }


/* Legal and policy pages */
.legal-policy {
  padding-bottom: 56px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 16px;
  margin: 0 0 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--secondary-background);
  color: var(--secondary-text);
  font-size: 0.92rem;
}

.legal-section {
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.legal-section p {
  max-width: 78ch;
  line-height: 1.68;
}

.legal-list {
  margin: 12px 0 16px 20px;
  padding: 0;
}

.legal-list li {
  margin: 8px 0;
  line-height: 1.6;
}

.policy-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.policy-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--background);
}

.policy-table th,
.policy-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.policy-table th {
  background: var(--secondary-background);
  font-size: 0.9rem;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.legal-policy code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}
