:root {
  --bg: #080D11;
  --bg-2: #111318;
  --surface: rgba(8, 20, 19, 0.78);
  --surface-strong: rgba(8, 18, 18, 0.94);
  --line: rgba(255, 138, 0, 0.12);
  --line-hot: rgba(222, 155, 82, 0.38);
  --text: #ecf0ea;
  --muted: #a9b6ae;
  --dim: #75827b;
  --accent: #FF8A00;
  --accent-light: #FFB15A;
  --amber: #d79752;
  --accent-muted: #FF8A00;
  --radius: 8px;
  --content-width: 1560px;
  --focus-ring: 0 0 0 3px rgba(255, 177, 90, 0.18);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(3, 8, 7, 0.55), #080D11 46%, #080D11 100%),
    url("assets/hero-bg.png") center top / cover fixed no-repeat,
    var(--bg);
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 138, 0, 0.11), transparent 19rem),
    radial-gradient(circle at 78% 28%, rgba(215, 151, 82, 0.12), transparent 22rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
}

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

a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border: 1px solid rgba(255, 177, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 8, 7, 0.96);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 1.55vw, 28px);
  min-height: 92px;
  padding: 10px clamp(22px, 2.4vw, 46px);
  border-bottom: 1px solid rgba(157, 213, 188, 0.16);
  background:
    linear-gradient(180deg, rgba(2, 6, 6, 0.93), rgba(4, 11, 10, 0.86)),
    rgba(3, 8, 8, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 138, 0, 0.14));
}

.brand span {
  min-width: 0;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
  text-transform: uppercase;
  font-style: normal;
}

.brand strong {
  color: #fbfdf8;
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.42rem, 1.45vw, 1.76rem);
  font-weight: 900;
}

.brand em {
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(10px, 0.9vw, 16px);
  width: 100%;
  height: 52px;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 0, 0.14) transparent;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: 0 clamp(8px, 0.55vw, 12px);
  color: #c8d0ca;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: var(--accent);
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.14));
}

.nav-icon::before,
.nav-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.nav-icon.home::before {
  width: 13px;
  height: 13px;
  left: 5px;
  top: 3px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}

.nav-icon.home::after {
  width: 12px;
  height: 10px;
  left: 5px;
  top: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 1px 1px 3px 3px;
}

.nav-icon.server::before {
  width: 18px;
  height: 3px;
  left: 2px;
  top: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.nav-icon.server::after {
  width: 3px;
  height: 3px;
  left: 5px;
  top: 4px;
  border-radius: 50%;
  background: var(--bg-2);
  box-shadow: 0 6px 0 var(--bg-2), 0 12px 0 var(--bg-2);
}

.nav-icon.rules::before,
.nav-icon.news::before {
  width: 15px;
  height: 18px;
  left: 4px;
  top: 2px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-icon.rules::after {
  width: 8px;
  height: 2px;
  left: 8px;
  top: 8px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.nav-icon.news::after {
  width: 7px;
  height: 7px;
  left: 8px;
  top: 7px;
  border: 2px solid currentColor;
  box-shadow: 0 7px 0 -1px currentColor;
}

.nav-icon.status::before {
  inset: 2px 0;
  background:
    linear-gradient(currentColor, currentColor) 0 11px / 6px 3px no-repeat,
    linear-gradient(115deg, transparent 0 9px, currentColor 9px 12px, transparent 12px) 4px 0 / 9px 20px no-repeat,
    linear-gradient(65deg, transparent 0 9px, currentColor 9px 12px, transparent 12px) 11px 2px / 9px 18px no-repeat,
    linear-gradient(currentColor, currentColor) 17px 11px / 5px 3px no-repeat;
}

.nav-icon.forum::before {
  width: 18px;
  height: 14px;
  left: 2px;
  top: 3px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.nav-icon.forum::after {
  width: 8px;
  height: 8px;
  left: 7px;
  top: 13px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-28deg);
}

.nav-icon.community::before {
  width: 5px;
  height: 5px;
  left: 3px;
  top: 3px;
  border-radius: 1px;
  background: currentColor;
  box-shadow:
    7px 0 0 currentColor,
    14px 0 0 currentColor,
    0 7px 0 currentColor,
    7px 7px 0 currentColor,
    14px 7px 0 currentColor,
    0 14px 0 currentColor,
    7px 14px 0 currentColor,
    14px 14px 0 currentColor;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  border-color: rgba(255, 138, 0, 0.14);
  background: rgba(255, 138, 0, 0.08);
}

.main-nav a.active::after,
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.14);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.system-pill,
.discord-pill {
  min-height: 52px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background: rgba(7, 18, 19, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.system-pill {
  display: grid;
  grid-template-columns: 13px 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 136px;
  padding: 0 14px;
}

.system-pill span {
  grid-row: span 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.14);
}

.system-pill small,
.system-pill strong,
.discord-pill strong,
.discord-pill small {
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 900;
}

.system-pill small {
  color: #d2d9d5;
}

.system-pill strong {
  color: var(--accent);
}

.discord-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 144px;
  padding: 0 16px;
  border-color: rgba(123, 133, 255, 0.42);
  background: linear-gradient(135deg, rgba(123, 133, 255, 0.34), rgba(19, 22, 58, 0.82));
}

.discord-label {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.discord-pill small {
  color: #dce1ff;
  font-size: 0.67rem;
}

.discord-dot {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #5865f2 url("assets/discord-symbol.svg") center / 72% auto no-repeat;
  box-shadow: 0 0 20px rgba(123, 133, 255, 0.55);
}

.hero {
  position: relative;
  min-height: 690px;
  padding: clamp(42px, 5vw, 86px) clamp(18px, 4vw, 64px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 138, 0, 0.12);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 7, 0.96) 0%, rgba(3, 8, 7, 0.76) 42%, rgba(3, 8, 7, 0.34) 100%),
    linear-gradient(180deg, rgba(3, 8, 7, 0.12), rgba(3, 8, 7, 0.86) 82%, #080D11 100%),
    url("assets/hero-bg.png") center top / cover no-repeat;
  filter: saturate(1.05) contrast(1.08);
}

.hero-content {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 390px);
  justify-content: space-between;
  gap: 42px;
  align-items: end;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 12px;
  margin-bottom: 20px;
  color: var(--accent-light);
  border: 1px solid rgba(255, 177, 90, 0.18);
  border-radius: 8px;
  background: rgba(8, 24, 22, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  width: min(740px, 100%);
  line-height: 0;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

.hero h1 img {
  width: 100%;
  height: auto;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d3ddd5;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

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

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-action {
  color: #07110d;
  background: linear-gradient(135deg, var(--accent), #FFB15A);
  box-shadow: 0 0 28px rgba(255, 138, 0, 0.14);
}

.secondary-action {
  color: #f3f6f1;
  border: 1px solid rgba(215, 151, 82, 0.42);
  background: rgba(51, 35, 19, 0.42);
}

.hero-intel {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 24, 23, 0.82), rgba(6, 15, 15, 0.88)),
    rgba(6, 14, 14, 0.8);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.intel-label {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  color: var(--amber);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intel-context {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 138, 0, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-intel > strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  font-weight: 900;
}

.intel-grid {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.intel-grid span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
}

.intel-grid b {
  color: var(--accent);
}

.quick-links {
  width: min(var(--content-width), 100%);
  margin: clamp(40px, 5vw, 74px) auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 25, 24, 0.88), rgba(7, 14, 16, 0.82)),
    rgba(5, 13, 13, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.quick-card::after {
  content: "->";
  margin-left: auto;
  color: var(--accent);
  font-weight: 900;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 0, 0.14);
  background: linear-gradient(135deg, rgba(16, 39, 31, 0.92), rgba(8, 18, 20, 0.88));
}

.quick-card.online small {
  color: var(--accent);
}

.quick-card.degraded small {
  color: #f5c84b;
}

.quick-card.offline small {
  color: #f06161;
}

.quick-card.media {
  padding-left: 108px;
}

.quick-card.media img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 96px;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, black 70%, transparent 100%);
}

.quick-card strong,
.quick-card small {
  display: block;
  text-transform: uppercase;
}

.quick-card strong {
  color: #fbfdf8;
  font-size: clamp(1rem, 1.15vw, 1.26rem);
  font-weight: 900;
}

.quick-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.quick-icon {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 14px rgba(255, 138, 0, 0.14));
}

.quick-icon.forum {
  filter: drop-shadow(0 0 16px rgba(255, 177, 90, 0.18));
}

.quick-icon.forum::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 43px;
  height: 31px;
  border: 4px solid var(--accent-light);
  border-radius: 12px;
  background:
    radial-gradient(circle at 32% 54%, var(--accent-light) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 54%, var(--accent-light) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 54%, var(--accent-light) 0 3px, transparent 4px);
}

.quick-icon.forum::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 37px;
  width: 14px;
  height: 14px;
  border-left: 4px solid var(--accent-light);
  border-bottom: 4px solid var(--accent-light);
  border-radius: 0 0 0 5px;
  transform: skew(-18deg);
}

.quick-icon.status {
  filter: drop-shadow(0 0 16px rgba(255, 138, 0, 0.14));
}

.quick-icon.status::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 54px;
  height: 34px;
  background: var(--accent);
  clip-path: polygon(0 46%, 23% 46%, 36% 6%, 50% 86%, 62% 47%, 100% 47%, 100% 57%, 66% 57%, 51% 100%, 36% 33%, 28% 57%, 0 57%);
}

.quick-icon.discord {
  border-radius: 15px;
  background: #5865f2 url("assets/discord-symbol.svg") center / 70% auto no-repeat;
  filter: drop-shadow(0 0 18px rgba(123, 133, 255, 0.5));
}

.dashboard {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(520px, 1.4fr) minmax(370px, 0.85fr) minmax(310px, 0.68fr);
  gap: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 22, 21, 0.82), rgba(5, 12, 13, 0.88)),
    rgba(5, 13, 13, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

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

.panel-title > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.title-mark {
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--amber));
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.14);
}

.panel-title h2 {
  margin: 0;
  color: #f1f5ef;
  font-size: clamp(1.02rem, 1.22vw, 1.35rem);
  font-weight: 900;
  text-transform: uppercase;
}

.panel-title a {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.server-card {
  overflow: hidden;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background: rgba(2, 8, 9, 0.58);
}

.server-card.degraded {
  border-color: rgba(245, 200, 75, 0.24);
}

.server-card.offline {
  border-color: rgba(240, 97, 97, 0.22);
}

.server-image {
  position: relative;
  height: 205px;
  overflow: hidden;
}

.server-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.server-card.degraded .server-image img {
  filter: saturate(0.92) contrast(1.03) brightness(0.82);
}

.server-card.offline .server-image img {
  filter: saturate(0.62) contrast(0.98) brightness(0.62);
}

.server-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 9, 0.9) 100%);
}

.online-badge,
.player-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 10, 11, 0.76);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.online-badge {
  left: 14px;
}

.player-badge {
  right: 14px;
}

.online-badge i,
.status-col i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 13px rgba(255, 138, 0, 0.14);
}

.online-badge.degraded i,
.system-pill.degraded span,
.status-col.degraded i {
  background: #f5c84b;
  box-shadow: 0 0 13px rgba(245, 200, 75, 0.75);
}

.online-badge.offline i,
.system-pill.offline span,
.status-col.offline i {
  background: #f06161;
  box-shadow: 0 0 13px rgba(240, 97, 97, 0.78);
}

.server-body {
  padding: 18px;
}

.server-body h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.server-body p {
  margin: 0;
  min-height: 66px;
  color: #c8d2cc;
  font-size: 0.92rem;
  line-height: 1.45;
}

.server-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  margin: 0;
  list-style: none;
}

.server-body li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.74rem;
  font-weight: 800;
}

.server-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 138, 0, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-list,
.community-list {
  display: grid;
  gap: 10px;
}

.news-item,
.community-list a {
  display: grid;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.news-item {
  grid-template-columns: 58px 1fr 18px;
  min-height: 78px;
  padding: 12px 14px;
}

.news-item time {
  text-align: center;
  color: var(--accent);
  text-transform: uppercase;
}

.news-item time strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.news-item time span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 900;
}

.news-item span {
  min-width: 0;
}

.news-item span strong {
  display: block;
  color: #eef3ee;
  font-size: 0.92rem;
}

.news-item span small {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-item b,
.community-list b {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
}

.community-list a {
  grid-template-columns: 58px 1fr 16px;
  min-height: 86px;
  padding: 14px;
}

.community-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 0;
  border: 0;
  background: transparent center / 54px 54px no-repeat;
  filter: drop-shadow(0 0 14px rgba(255, 177, 90, 0.18));
}

.community-icon.rules {
  background-image: url("assets/community-rules.svg");
}

.community-icon.people {
  background-image: url("assets/community-people.svg");
}

.community-icon.support {
  background-image: url("assets/community-heart.svg");
}

.community-icon::before,
.community-icon::after {
  content: none;
}

.community-list strong {
  display: block;
  color: #f1f5ef;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.community-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-footer {
  position: relative;
  width: min(var(--content-width), calc(100% - 36px));
  margin: 22px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(250px, 1.16fr) minmax(130px, 0.78fr) minmax(150px, 0.78fr) minmax(180px, 0.82fr) minmax(170px, 0.76fr);
  gap: 28px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 20, 19, 0.76), rgba(3, 9, 10, 0.9));
}

.footer-brand .brand img {
  width: 54px;
  height: 54px;
}

.footer-brand p,
.footer-col span,
.status-col p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 360px;
}

.footer-col h3 {
  margin: 0 0 13px;
  color: #f1f5ef;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links.two-col {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.footer-links a,
.partner-col a {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links a:first-child {
  color: var(--accent);
}

.partner-links {
  display: grid;
  gap: 12px;
}

.partner-links a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.partner-links strong,
.partner-links small {
  display: block;
}

.partner-links strong {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.partner-links small {
  margin-top: 2px;
  color: var(--dim);
  font-size: 0.72rem;
}

.partner-icon {
  position: relative;
  width: 24px;
  height: 18px;
  color: #78e6dc;
}

.partner-icon::before,
.partner-icon::after {
  content: "";
  position: absolute;
}

.partner-icon.portal::before {
  inset: 3px 2px 4px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.partner-icon.portal::after {
  right: 2px;
  top: 6px;
  width: 9px;
  height: 7px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 1px;
}

.partner-icon.nitrado::before {
  left: 1px;
  top: 3px;
  width: 20px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 54% 100%);
}

.status-col p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #bff5bd;
}

.status-col span {
  display: block;
  margin-top: 8px;
}

.copyright {
  padding: 16px 20px 26px;
  color: var(--dim);
  text-align: center;
  font-size: 0.78rem;
}

.page-hero {
  position: relative;
  min-height: 360px;
  padding: clamp(44px, 5vw, 82px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 138, 0, 0.12);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 7, 0.98) 0%, rgba(3, 8, 7, 0.76) 37%, rgba(3, 8, 7, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 8, 7, 0.18), rgba(3, 8, 7, 0.88) 86%, #080D11 100%),
    url("assets/hero-bg.png") center top / cover no-repeat;
  filter: saturate(1.05) contrast(1.08);
}

.page-hero-content {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 10px 0 0;
  max-width: 760px;
  color: #f3f1ea;
  font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: clamp(4.3rem, 7vw, 7.4rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.5), 0 20px 34px rgba(0, 0, 0, 0.52);
}

.page-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #d4ded7;
  font-size: 1.03rem;
  line-height: 1.6;
}

.status-dashboard {
  width: min(var(--content-width), calc(100% - 36px));
  margin: -38px auto 0;
  display: grid;
  gap: 16px;
}

.status-overview {
  position: relative;
  z-index: 2;
}

.last-check {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(160px, 0.72fr));
  gap: 14px;
}

.overall-status,
.uptime-card {
  min-height: 88px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.overall-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
}

.status-shield {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 138, 0, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(6, 20, 17, 0.96), rgba(2, 10, 9, 0.82));
  box-shadow: 0 0 22px rgba(255, 138, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.status-shield::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid rgba(255, 138, 0, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.14), inset 0 0 16px rgba(255, 138, 0, 0.07);
}

.status-shield::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 25px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: translate(-50%, -61%) rotate(40deg);
}

.status-shield.degraded {
  border-color: rgba(245, 200, 75, 0.5);
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 200, 75, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(28, 22, 9, 0.96), rgba(8, 8, 3, 0.8));
  box-shadow: 0 0 22px rgba(245, 200, 75, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.status-shield.degraded::before {
  border-color: rgba(245, 200, 75, 0.74);
  box-shadow: inset 0 0 18px rgba(245, 200, 75, 0.08);
}

.status-shield.degraded::after {
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #f5c84b;
  box-shadow: 0 0 18px rgba(245, 200, 75, 0.72), inset 0 0 0 6px rgba(2, 8, 9, 0.2);
  transform: translate(-50%, -52%);
}

.status-shield.degraded::before {
  content: "";
}

.status-shield.offline {
  border-color: rgba(240, 97, 97, 0.38);
  background:
    radial-gradient(circle at 50% 48%, rgba(240, 97, 97, 0.25), transparent 48%),
    linear-gradient(145deg, rgba(28, 9, 9, 0.96), rgba(8, 3, 3, 0.74));
  box-shadow: 0 0 26px rgba(240, 97, 97, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.status-shield.offline::before {
  border-color: rgba(240, 97, 97, 0.74);
}

.status-shield.offline::after {
  left: 50%;
  top: 50%;
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: #f06161;
  box-shadow: 0 0 18px rgba(240, 97, 97, 0.72);
  transform: translate(-50%, -50%);
}

.overall-status strong,
.service-copy h3,
.notice-item strong,
.incident-item strong {
  color: #f3f7f1;
}

.overall-status strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 900;
  text-transform: uppercase;
}

.overall-status small,
.notice-item small,
.incident-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.uptime-card {
  padding: 16px;
}

.uptime-card small,
.service-uptime small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.uptime-card strong {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 1.65rem;
  line-height: 1;
}

.uptime-card > span {
  display: block;
  height: 2px;
  margin-top: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 138, 0, 0.12));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(128px, 0.7fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 22, 21, 0.82), rgba(3, 9, 10, 0.74)),
    rgba(0, 0, 0, 0.18);
}

.service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 177, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 177, 90, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-icon.website::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.service-icon.website::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 25px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 -11px 0 -1px var(--accent), 0 11px 0 -1px var(--accent);
}

.service-icon.forum::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 30px;
  height: 23px;
  border: 3px solid var(--accent-light);
  border-radius: 8px;
}

.service-icon.forum::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-left: 3px solid var(--accent-light);
  border-bottom: 3px solid var(--accent-light);
  transform: skewX(-26deg);
}

.service-icon.soulmask::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 3px solid #edf2eb;
  transform: rotate(45deg);
}

.service-icon.soulmask::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 13px;
  width: 10px;
  height: 28px;
  border-left: 3px solid #edf2eb;
  border-right: 3px solid #edf2eb;
}

.service-icon.palworld {
  background: url("assets/palworld-card.png") center / cover no-repeat;
}

.service-icon.palworld::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 7, 0.42));
}

.service-icon.discord-service {
  border-color: rgba(123, 133, 255, 0.44);
  background: #5865f2 url("assets/discord-symbol.svg") center / 70% auto no-repeat;
  box-shadow: 0 0 22px rgba(123, 133, 255, 0.34);
}

.service-icon.database::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 31px;
  height: 12px;
  border: 3px solid #d8ddd9;
  border-radius: 50%;
  background: rgba(216, 221, 217, 0.14);
  box-shadow: 0 12px 0 rgba(216, 221, 217, 0.18), 0 24px 0 rgba(216, 221, 217, 0.18);
}

.service-copy h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-copy p {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 13px rgba(255, 138, 0, 0.14);
}

.service-uptime {
  justify-self: end;
  text-align: right;
}

.service-uptime strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.04rem;
}

.uptime-bars {
  display: block;
  width: 150px;
  height: 14px;
  margin-top: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 4px,
    transparent 4px 8px
  );
  opacity: 0.88;
}

.status-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 16px;
}

.incident-list,
.notice-list {
  display: grid;
  gap: 10px;
}

.incident-item,
.notice-item {
  display: grid;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.incident-item {
  grid-template-columns: 30px 150px 1fr;
}

.incident-item > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.incident-item.success > span::after {
  content: "";
  display: block;
  width: 7px;
  height: 13px;
  margin: 3px auto 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(38deg);
}

.incident-item.warning > span {
  position: relative;
  border-color: #f5c84f;
}

.incident-item.warning > span::before {
  content: "!";
  position: absolute;
  inset: 0;
  color: #f5c84f;
  text-align: center;
  font-weight: 900;
  line-height: 24px;
}

.incident-item time {
  color: var(--muted);
  font-size: 0.78rem;
}

.panel-button,
.notice-item a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(255, 138, 0, 0.07);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-button {
  width: 100%;
  margin-top: 12px;
}

.notice-item {
  grid-template-columns: 48px 1fr;
}

.notice-item:has(a) {
  grid-template-columns: 48px 1fr minmax(160px, 220px);
}

.notice-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 177, 90, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 177, 90, 0.08);
}

.notice-icon.calendar::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 24px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.notice-icon.calendar::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 19px;
  height: 2px;
  background: var(--accent);
}

.notice-icon.info::before {
  content: "i";
  position: absolute;
  inset: 9px;
  border: 2px solid #7dddf0;
  border-radius: 50%;
  color: #7dddf0;
  text-align: center;
  font-weight: 900;
  line-height: 22px;
}

.server-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.server-feature-row span {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  min-width: 220px;
  color: #f1f5ef;
}

.server-feature-row b,
.server-feature-row small {
  display: block;
}

.server-feature-row b {
  align-self: end;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-feature-row small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.76rem;
}

.feature-icon {
  position: relative;
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.14));
}

.feature-icon.stable::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 10px 0 currentColor, 0 20px 0 currentColor;
}

.feature-icon.fair::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 20px;
  height: 27px;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0, 100% 16%, 86% 78%, 50% 100%, 14% 78%, 0 16%);
}

.feature-icon.active::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 18px 0 0 -2px currentColor, 9px 13px 0 -2px currentColor;
}

.gameserver-layout {
  width: min(var(--content-width), calc(100% - 36px));
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
}

.game-tabs {
  display: flex;
  overflow-x: auto;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.86), rgba(4, 12, 13, 0.9));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 0, 0.14) transparent;
}

.game-tabs a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 138, 0, 0.12);
  color: #cbd5ce;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-tabs a:last-child {
  border-right: 0;
}

.game-tabs a.active {
  color: var(--accent);
  background: rgba(255, 138, 0, 0.08);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.tab-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.tab-icon.custom {
  overflow: hidden;
  border: 1px solid rgba(123, 255, 129, 0.35);
  border-radius: 7px;
  background: rgba(1, 10, 9, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.tab-icon.custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tab-icon.all::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: currentColor;
  box-shadow: 12px 0 0 currentColor, 0 12px 0 currentColor, 12px 12px 0 currentColor;
}

.tab-icon.soulmask::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #dde3df;
  transform: rotate(45deg);
}

.tab-icon.palworld {
  border-radius: 50%;
  background: url("assets/palworld-card.png") center / cover no-repeat;
}

.tab-icon.ark::before {
  content: "A";
  position: absolute;
  inset: 0;
  color: #87d1d7;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.tab-icon.seven::before,
.tab-icon.valheim::before,
.tab-icon.conan::before,
.tab-icon.rust::before {
  position: absolute;
  inset: 0;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.tab-icon.seven::before {
  content: "7";
  color: #c94a3f;
}

.tab-icon.valheim::before {
  content: "V";
  color: #df763a;
}

.tab-icon.conan::before {
  content: "C";
  color: #b88652;
}

.tab-icon.rust::before {
  content: "R";
  color: #ef5a32;
}

.gameserver-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: 16px;
  margin-top: 14px;
}

.server-list {
  display: grid;
  gap: 14px;
}

.gameserver-empty,
.server-empty-card {
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.82), rgba(4, 12, 13, 0.88));
}

.server-empty-card {
  min-height: 220px;
  display: grid;
  align-content: center;
}

.game-server-card {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.82), rgba(4, 12, 13, 0.88));
}

.game-server-card.degraded {
  border-color: rgba(245, 200, 75, 0.24);
  background: linear-gradient(180deg, rgba(25, 21, 11, 0.76), rgba(7, 10, 8, 0.88));
}

.game-server-card.offline {
  border-color: rgba(240, 97, 97, 0.24);
  background: linear-gradient(180deg, rgba(24, 10, 10, 0.66), rgba(6, 9, 9, 0.9));
}

.game-server-media {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255, 138, 0, 0.12);
}

.game-server-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-server-card.degraded .game-server-media img {
  filter: saturate(0.9) contrast(1.02) brightness(0.82);
}

.game-server-card.offline .game-server-media img {
  filter: saturate(0.55) contrast(0.96) brightness(0.58);
}

.game-server-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 8, 7, 0.52) 100%);
}

.game-server-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.game-server-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.game-server-heading h2 {
  margin: 0;
  color: #f3f7f1;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.server-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 6px;
  color: #cbd5ce;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-server-info p {
  margin: 14px 0 0;
  color: #c9d3cd;
  font-size: 0.9rem;
  line-height: 1.48;
}

.server-specs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0 12px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.server-specs div {
  padding: 12px 10px;
  border-right: 1px solid rgba(255, 138, 0, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.server-specs div:last-child {
  border-right: 0;
}

.server-specs dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-specs dd {
  margin: 6px 0 0;
  color: #f0f4ef;
  font-size: 0.84rem;
}

.game-server-info .server-button {
  margin-top: auto;
}

.game-server-card.offline .server-button {
  pointer-events: none;
  opacity: 0.48;
}

.game-server-card.degraded .server-button {
  border-color: rgba(245, 200, 75, 0.34);
  color: #f5c84b;
  background: rgba(245, 200, 75, 0.08);
}

.server-metrics {
  display: grid;
  align-content: center;
  gap: 12px;
}

.server-metrics div {
  min-height: 78px;
  display: grid;
  align-content: center;
  padding: 13px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.15);
}

.server-metrics small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-metrics strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.server-metrics [data-game-server-ping] {
  font-size: 1.34rem;
}

.server-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.game-server-card.degraded .server-metrics strong {
  color: #f5c84b;
}

.game-server-card.offline .server-metrics strong {
  color: #f06161;
}

.gameserver-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sidebar-panel {
  padding: 16px;
}

.sidebar-stats {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.sidebar-stats div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.sidebar-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.sidebar-stats dd {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.join-discord-card {
  min-height: 160px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(123, 133, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 12, 20, 0.95), rgba(7, 12, 20, 0.72)),
    url("assets/hero-bg.png") center / cover no-repeat;
}

.join-discord-card h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.join-discord-card p {
  max-width: 280px;
  margin: 9px 0 14px;
  color: #d4d8df;
  font-size: 0.82rem;
  line-height: 1.42;
}

.join-discord-card .discord-pill {
  width: max-content;
  min-width: 174px;
  min-height: 40px;
}

.rules-layout {
  width: min(var(--content-width), calc(100% - 36px));
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 16px;
}

.rules-content,
.rules-sidebar {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.rule-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rule-summary-grid div {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 22, 21, 0.76), rgba(3, 9, 10, 0.72)),
    rgba(0, 0, 0, 0.16);
}

.rule-summary-grid strong {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(255, 138, 0, 0.08);
  font-size: 1rem;
  font-weight: 900;
}

.rule-summary-grid span {
  min-width: 0;
  color: #d4ded7;
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rule-section {
  min-width: 0;
  padding-bottom: 18px;
}

.rule-code {
  padding: 7px 9px;
  border: 1px solid rgba(215, 151, 82, 0.3);
  border-radius: 6px;
  color: var(--amber);
  background: rgba(215, 151, 82, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.rule-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 14px 14px 14px 46px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  color: #ccd7d0;
  background: rgba(0, 0, 0, 0.14);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  width: 12px;
  height: 20px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(38deg);
}

.rule-list strong {
  color: #f3f7f1;
}

.sidebar-copy {
  margin: 0 0 14px;
  color: #c9d3cd;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 1500px) {
  .site-header {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    min-height: 88px;
    gap: 24px;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    justify-content: center;
    overflow-x: auto;
  }

  .dashboard {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  }

  .community-panel {
    grid-column: 1 / -1;
  }

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

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

  .overall-status {
    grid-column: 1 / -1;
  }

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

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

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

  .rules-layout {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 132px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    scroll-snap-align: start;
  }

  .main-nav a.active::after {
    bottom: -7px;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

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

  .hero-intel {
    max-width: 440px;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 22px;
  }

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

  .community-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 38px;
  }

  .status-dashboard {
    margin-top: 18px;
  }

  .overview-grid,
  .service-grid,
  .status-bottom-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 60px minmax(0, 1fr) minmax(120px, 0.55fr);
  }

  .server-feature-row {
    gap: 14px;
  }

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

  .game-server-media {
    min-height: 230px;
  }

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

  .gameserver-sidebar {
    grid-template-columns: 1fr;
  }

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

  .rules-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 142px;
  }

  .site-header {
    min-height: auto;
    padding-inline: 16px;
  }

  .main-nav {
    height: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, black 14px, black calc(100% - 24px), transparent 100%);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a.active,
  .main-nav a[aria-current="page"] {
    order: -1;
  }

  .main-nav a {
    min-height: 40px;
    gap: 8px;
    padding-inline: 8px;
    font-size: 0.7rem;
  }

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

  .brand strong {
    font-size: 1.36rem;
  }

  .brand em {
    font-size: 0.78rem;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-content {
    gap: 24px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-intel {
    width: 100%;
    max-width: none;
    padding: 16px;
  }

  .intel-grid span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .quick-links,
  .dashboard,
  .site-footer {
    width: calc(100% - 28px);
  }

  .quick-links {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .quick-card.media {
    padding-left: 16px;
  }

  .quick-card.media img {
    width: 100%;
    opacity: 0.2;
    mask-image: none;
  }

  .panel {
    padding: 14px;
  }

  .page-hero h1 {
    font-size: 4rem;
  }

  .last-check {
    line-height: 1.4;
  }

  .service-card,
  .incident-item,
  .notice-item,
  .notice-item:has(a) {
    grid-template-columns: 1fr;
  }

  .service-uptime {
    justify-self: stretch;
    text-align: left;
  }

  .uptime-bars {
    width: 100%;
  }

  .server-feature-row span {
    min-width: 100%;
  }

  .game-tabs a {
    padding-inline: 16px;
  }

  .game-tabs,
  .status-live-strip {
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .game-tabs::-webkit-scrollbar,
  .status-live-strip::-webkit-scrollbar {
    display: none;
  }

  .game-tabs a,
  .status-live-strip div {
    scroll-snap-align: start;
  }

  .panel,
  .game-server-card,
  .featured-news-card,
  .status-service-card,
  .legal-panel {
    overflow-wrap: anywhere;
  }

  .game-server-heading {
    flex-direction: column;
  }

  .server-tags {
    justify-content: flex-start;
  }

  .server-specs {
    grid-template-columns: 1fr;
  }

  .server-specs div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 138, 0, 0.1);
  }

  .server-specs div:last-child {
    border-bottom: 0;
  }

  .server-metrics {
    grid-template-columns: 1fr;
  }

  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .server-image {
    height: 170px;
  }

  .online-badge,
  .player-badge {
    max-width: calc(50% - 20px);
    padding-inline: 8px;
    overflow: hidden;
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .server-body p {
    min-height: auto;
  }

  .server-body ul {
    padding-block: 12px;
  }

  .news-item {
    grid-template-columns: 48px 1fr 12px;
    gap: 10px;
    padding-inline: 10px;
  }

  .rules-layout {
    width: calc(100% - 28px);
  }

  .rule-summary-grid {
    grid-template-columns: 1fr;
  }

  .rule-summary-grid div {
    min-height: auto;
  }

  .rule-list li {
    padding-left: 40px;
  }

  .game-tabs a {
    min-height: 46px;
    font-size: 0.7rem;
  }

  .game-server-media {
    min-height: 190px;
  }

  .server-metrics div {
    min-height: auto;
    padding: 10px;
  }

  .server-metrics strong {
    font-size: 1.45rem;
  }

  .legal-layout {
    width: calc(100% - 28px);
    margin-top: -18px;
  }

  .legal-panel {
    gap: 12px;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Screenshot-style template pages: News, Regeln, Status */
.template-page .template-hero {
  min-height: 250px;
  padding: clamp(28px, 3.1vw, 48px) clamp(18px, 5vw, 86px) 32px;
}

.template-page .page-hero-content {
  width: min(1680px, 100%);
  min-width: 0;
}

.template-page .page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.6rem, 4.9vw, 5.8rem);
  letter-spacing: 0;
}

.hero-kicker {
  display: block;
  max-width: 100%;
  margin-top: 9px;
  color: #93c982;
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.08rem, 1.55vw, 1.72rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  white-space: normal;
}

.hero-rule {
  display: block;
  width: 116px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 138, 0, 0.08));
}

.template-page .page-hero p {
  max-width: min(520px, 100%);
  margin-top: 13px;
  color: #d0d7d1;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.template-panel-title {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.template-panel-title.split {
  justify-content: space-between;
}

.template-panel-title.split > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.template-panel-title h2 {
  margin: 0;
  color: #eff4ee;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.template-panel-title a {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.title-icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.title-icon::before,
.title-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.title-icon.star::before {
  inset: 3px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 69% 57%, 81% 100%, 50% 73%, 19% 100%, 31% 57%, 0 35%, 38% 35%);
}

.title-icon.stack::before,
.title-icon.list::before {
  width: 16px;
  height: 2px;
  left: 2px;
  top: 4px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.title-icon.camera::before,
.title-icon.clock::before,
.title-icon.wrench::before,
.title-icon.quick::before,
.title-icon.shield-small::before,
.title-icon.bars::before,
.title-icon.incident::before,
.title-icon.globe::before,
.title-icon.help::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.title-icon.clock::before,
.title-icon.globe::before,
.title-icon.help::before {
  border-radius: 50%;
}

.title-icon.bars::after {
  left: 5px;
  bottom: 4px;
  width: 3px;
  height: 7px;
  background: currentColor;
  box-shadow: 5px -4px 0 currentColor, 10px -8px 0 currentColor;
}

.title-icon.incident::after {
  left: 8px;
  top: 4px;
  width: 4px;
  height: 12px;
  background: currentColor;
}

.news-layout,
.rules-showcase-layout,
.status-template-dashboard {
  width: min(1680px, calc(100% - 36px));
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
}

.news-layout,
.rules-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr);
  gap: 14px;
}

.news-main,
.news-sidebar,
.rules-showcase-main,
.rules-showcase-sidebar,
.status-template-dashboard {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.news-article-layout {
  width: min(1320px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 14px;
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
}

.compact-hero {
  min-height: 360px;
}

.news-article {
  overflow: hidden;
}

.article-cover {
  position: relative;
  min-height: clamp(220px, 34vw, 430px);
  margin: -1px -1px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 138, 0, 0.12);
}

.article-cover img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 7, 0.08), rgba(3, 8, 7, 0.62));
  pointer-events: none;
}

.article-cover .category-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(3, 8, 7, 0.82);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 18px 0;
}

.article-meta time,
.article-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.13);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-body {
  max-width: 860px;
  padding: 18px;
}

.article-body p {
  margin: 0;
  color: #d5ddd6;
  font-size: 1rem;
  line-height: 1.72;
}

.article-body p + p {
  margin-top: 18px;
}

.article-body h2,
.article-body h3 {
  margin: 26px 0 12px;
  color: #f2f7ef;
  text-transform: uppercase;
}

.article-body h2 {
  font-size: 1.18rem;
}

.article-body h3 {
  font-size: 1rem;
}

.article-body ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 22px;
  color: #d5ddd6;
  line-height: 1.62;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.14);
}

.article-body a {
  color: var(--accent);
  font-weight: 800;
}

.article-body code {
  padding: 2px 6px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 5px;
  color: #e9fff0;
  background: rgba(0, 0, 0, 0.28);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 18px;
}

.article-actions .panel-button {
  flex: 1 1 210px;
}

.panel-button.secondary {
  color: #d7e8dc;
  border-color: rgba(255, 138, 0, 0.12);
  background: rgba(0, 0, 0, 0.16);
}

.article-category-list a.active {
  border-color: rgba(255, 138, 0, 0.14);
  color: var(--accent);
  background: rgba(255, 138, 0, 0.08);
}

.article-empty {
  padding: 22px;
}

.article-empty strong {
  display: block;
  margin-bottom: 10px;
  color: #f2f5f1;
  text-transform: uppercase;
}

.article-empty p {
  color: var(--muted);
}

.news-empty-card,
.rules-empty-card {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: rgba(4, 14, 14, 0.72);
}

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

.featured-news-card {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.featured-news-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
  z-index: 0;
}

.featured-news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 8, 7, 0.08), rgba(3, 8, 7, 0.9)),
    linear-gradient(90deg, rgba(2, 8, 7, 0.68), rgba(2, 8, 7, 0.18));
}

.featured-news-card > div {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.featured-news-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.featured-news-card small {
  display: block;
  margin-top: 6px;
  color: #cbd5ce;
  line-height: 1.35;
}

.featured-news-card b {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.date-badge {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 5px;
  background: rgba(3, 8, 7, 0.86);
  color: #d9dfd9;
  font-size: 0.72rem;
  font-weight: 800;
}

.news-table {
  display: grid;
  gap: 5px;
}

.news-row {
  min-height: 43px;
  display: grid;
  grid-template-columns: 70px 124px minmax(190px, 0.8fr) minmax(220px, 1fr) 92px 20px;
  gap: 10px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255, 138, 0, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
}

.news-row img {
  width: 62px;
  height: 38px;
  object-fit: cover;
  border-radius: 5px;
}

.category-tag {
  width: max-content;
  padding: 4px 8px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 138, 0, 0.07);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-tag.announcement {
  color: #acd88f;
}

.category-tag.event {
  color: var(--amber);
  border-color: rgba(215, 151, 82, 0.34);
}

.category-tag.community {
  color: var(--accent-light);
  border-color: rgba(255, 177, 90, 0.18);
}

.news-row strong {
  color: #f2f5f1;
  font-size: 0.86rem;
}

.news-row small,
.news-row time {
  color: var(--muted);
  font-size: 0.72rem;
}

.news-row b {
  color: var(--accent);
  font-size: 1rem;
}

.compact-panel {
  padding: 11px;
}

.category-list,
.recent-posts,
.quick-access-list,
.penalty-list,
.faq-list {
  display: grid;
  gap: 7px;
}

.category-list a,
.recent-posts a,
.quick-access-list a,
.faq-list a {
  min-height: 40px;
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
}

.category-list a {
  grid-template-columns: 1fr auto;
}

.category-list a.active {
  border-color: rgba(255, 138, 0, 0.14);
  background: rgba(255, 138, 0, 0.08);
}

.category-list a.active span,
.category-list a.active b {
  color: var(--accent);
}

.category-list span {
  color: #cfd8d1;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-list b {
  color: var(--muted);
  font-size: 0.78rem;
}

.recent-posts a {
  grid-template-columns: 52px 1fr;
}

.recent-posts img {
  width: 46px;
  height: 38px;
  object-fit: cover;
  border-radius: 5px;
}

.recent-posts strong,
.quick-access-list strong,
.faq-list strong {
  display: block;
  color: #edf2ed;
  font-size: 0.82rem;
}

.recent-posts small,
.quick-access-list small,
.faq-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 7px 8px 7px 26px;
  position: relative;
  border-bottom: 1px solid rgba(255, 138, 0, 0.08);
  color: #cbd5ce;
  font-size: 0.82rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(38deg);
}

.rule-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rule-category-card {
  min-height: 172px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.7), rgba(3, 9, 10, 0.64));
}

.rule-card-icon {
  position: relative;
  width: 44px;
  height: 44px;
  color: #7ee775;
}

.rule-card-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.rule-card-icon.people::before {
  border-radius: 50%;
  box-shadow: -17px 12px 0 -7px currentColor, 17px 12px 0 -7px currentColor;
}

.rule-card-icon.swords::before {
  width: 36px;
  height: 4px;
  top: 25px;
  left: 9px;
  border: 0;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 0 currentColor;
}

.rule-card-icon.swords::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 4px;
  top: 25px;
  left: 9px;
  background: currentColor;
  transform: rotate(-45deg);
}

.rule-card-icon.chat::before {
  border-radius: 16px;
}

.rule-card-icon.build::before {
  width: 34px;
  height: 8px;
  top: 23px;
  left: 5px;
  border: 0;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(-42deg);
  box-shadow: 8px 11px 0 -2px rgba(126, 231, 117, 0.58);
}

.rule-card-icon.build::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 18px;
  right: 5px;
  top: 7px;
  border: 3px solid currentColor;
  border-radius: 4px;
  transform: rotate(-42deg);
}

.rule-card-icon.shield::before {
  border-radius: 0;
  clip-path: polygon(50% 0, 88% 16%, 82% 72%, 50% 100%, 18% 72%, 12% 16%);
  background: rgba(255, 138, 0, 0.12);
}

.rule-category-card strong {
  color: #ffffff;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.rule-category-card small {
  max-width: 190px;
  color: #cbd5ce;
  line-height: 1.28;
}

.rule-category-card b {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.rules-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: 14px;
}

.rule-detail-panel {
  scroll-margin-top: 96px;
}

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

.rule-detail-section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.62), rgba(3, 9, 10, 0.58));
  scroll-margin-top: 110px;
}

.rule-detail-section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rule-detail-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.1);
}

.rule-detail-heading .rule-card-icon {
  width: 40px;
  height: 40px;
}

.rule-detail-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.rule-detail-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.rule-entry-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.rule-entry {
  padding: 11px 12px;
  border: 1px solid rgba(255, 138, 0, 0.11);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
}

.rule-entry.warning {
  border-color: rgba(241, 208, 107, 0.22);
  background: rgba(241, 208, 107, 0.05);
}

.rule-entry.critical {
  border-color: rgba(240, 97, 97, 0.24);
  background: rgba(240, 97, 97, 0.06);
}

.rule-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rule-entry-head strong {
  color: #f2f5f1;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.rule-entry-head span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 138, 0, 0.07);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.rule-entry.warning .rule-entry-head span {
  color: #f1d06b;
  border-color: rgba(241, 208, 107, 0.3);
  background: rgba(241, 208, 107, 0.08);
}

.rule-entry.critical .rule-entry-head span {
  color: #ff776e;
  border-color: rgba(240, 97, 97, 0.32);
  background: rgba(240, 97, 97, 0.08);
}

.rule-entry-body {
  margin-top: 8px;
  color: #cbd5ce;
  font-size: 0.8rem;
  line-height: 1.55;
}

.rule-entry-body p {
  margin: 0;
}

.rule-entry-body p + p,
.rule-entry-body ul {
  margin-top: 8px;
}

.rule-entry-body ul {
  padding-left: 18px;
}

.rule-entry-body li + li {
  margin-top: 4px;
}

.empty-rule-entry strong {
  display: block;
  color: var(--muted);
}

.values-content {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}

.values-emblem {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: var(--radius);
  background: radial-gradient(circle, rgba(255, 138, 0, 0.14), transparent 70%);
}

.values-emblem img {
  width: 104px;
  height: 104px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.values-list div {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
}

.value-icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.14);
  border: 2px solid rgba(255, 138, 0, 0.14);
}

.values-list strong {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.values-list small {
  color: var(--muted);
  line-height: 1.25;
}

.faq-list a,
.quick-access-list a {
  grid-template-columns: 34px 1fr 14px;
}

.faq-list a > strong,
.quick-access-list a > strong {
  grid-column: 2;
  align-self: end;
}

.faq-list a > small,
.quick-access-list a > small {
  grid-column: 2;
  align-self: start;
}

.faq-list a > b,
.quick-access-list a > b {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
}

.faq-list a > span,
.quick-access-list a > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
}

.penalty-list div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.1);
}

.penalty-list span {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
}

.penalty-list .temp span {
  background: #ef9b37;
}

.penalty-list .ban span {
  background: #e55f56;
}

.penalty-list strong {
  color: #f1d06b;
}

.penalty-list .ban strong {
  color: #ff776e;
}

.penalty-list small,
.penalties-panel p {
  color: var(--muted);
}

.penalties-panel p {
  margin: 12px 8px 0;
  font-size: 0.82rem;
  line-height: 1.42;
}

.status-template-dashboard {
  gap: 12px;
}

.status-summary-grid {
  display: grid;
  grid-template-columns: minmax(290px, 1.1fr) repeat(3, minmax(170px, 0.82fr)) minmax(220px, 0.9fr);
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255, 138, 0, 0.08);
}

.status-summary-main,
.status-stat,
.status-updated {
  min-height: 80px;
  display: grid;
  align-content: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 138, 0, 0.11);
}

.status-summary-main {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
}

.status-summary-main .status-shield {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(rgba(2, 10, 9, 0.28), rgba(2, 10, 9, 0.28)),
    url("assets/status_online.svg") center / 76% auto no-repeat,
    linear-gradient(145deg, rgba(4, 18, 15, 0.9), rgba(1, 6, 7, 0.92));
  box-shadow: 0 0 14px rgba(255, 138, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.status-summary-main .status-shield::before,
.status-summary-main .status-shield::after {
  display: none;
}

.status-summary-main .status-shield.degraded {
  border-color: rgba(245, 200, 75, 0.34);
  background:
    linear-gradient(rgba(10, 8, 3, 0.28), rgba(10, 8, 3, 0.28)),
    url("assets/status_warning.svg") center / 76% auto no-repeat,
    linear-gradient(145deg, rgba(24, 18, 6, 0.9), rgba(8, 6, 2, 0.92));
  box-shadow: 0 0 14px rgba(245, 200, 75, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.status-summary-main .status-shield.offline {
  border-color: rgba(240, 97, 97, 0.34);
  background:
    linear-gradient(rgba(11, 3, 3, 0.28), rgba(11, 3, 3, 0.28)),
    url("assets/status_offline.svg") center / 76% auto no-repeat,
    linear-gradient(145deg, rgba(24, 6, 6, 0.9), rgba(8, 2, 2, 0.92));
  box-shadow: 0 0 14px rgba(240, 97, 97, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.status-summary-main strong,
.status-stat strong {
  color: var(--accent);
  font-size: 1.28rem;
  text-transform: uppercase;
}

.status-summary-main.degraded strong {
  color: #f1d06b;
}

.status-summary-main.offline strong {
  color: #f06161;
}

.status-summary-main small {
  display: block;
  margin-top: 4px;
}

.status-summary-main small,
.status-stat small,
.status-updated small {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.status-stat strong {
  margin-top: 3px;
  font-size: 1.62rem;
}

.status-stat span {
  height: 2px;
  margin-top: 7px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.status-updated {
  border-right: 0;
}

.status-updated strong {
  margin-top: 6px;
  color: #d8ded8;
  font-size: 0.82rem;
}

.status-live-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 138, 0, 0.1);
}

.status-live-strip div {
  min-width: 0;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 138, 0, 0.1);
  background: linear-gradient(180deg, rgba(10, 27, 24, 0.36), rgba(2, 8, 9, 0.24));
}

.status-live-strip div:last-child {
  border-right: 0;
}

.status-live-strip small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.status-live-strip strong {
  display: block;
  margin-top: 4px;
  color: #f3f7f2;
  font-size: 1rem;
}

.status-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.status-service-card {
  min-width: 0;
  min-height: 100px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(150px, 0.8fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 22, 21, 0.7), rgba(3, 9, 10, 0.64));
}

.status-service-card .service-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(4, 12, 13, 0.78);
}

.status-service-card.degraded .service-icon {
  border-color: rgba(245, 200, 75, 0.45);
  box-shadow: 0 0 18px rgba(245, 200, 75, 0.12);
}

.status-service-card.offline .service-icon {
  border-color: rgba(240, 97, 97, 0.42);
  filter: saturate(0.72) brightness(0.72);
}

.status-service-card h3 {
  margin: 0;
  color: #f4f7f2;
  font-size: 1rem;
  text-transform: uppercase;
}

.status-service-card p {
  margin: 3px 0 9px;
  color: var(--muted);
  font-size: 0.76rem;
}

.status-service-card b {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.status-service-card.degraded b {
  color: #f5c84b;
}

.status-service-card.offline b {
  color: #f06161;
}

.probe-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.status-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.status-card-meta span {
  min-width: 74px;
  display: grid;
  gap: 1px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 138, 0, 0.12);
  border-radius: 5px;
  background: rgba(2, 8, 9, 0.42);
}

.status-card-meta small {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1;
  text-transform: uppercase;
}

.status-card-meta strong {
  color: #f4f7f2;
  font-size: 0.74rem;
  line-height: 1.15;
}

.status-service-card aside {
  min-width: 0;
  text-align: right;
}

.status-service-card aside small {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.status-service-card aside strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.status-service-card .uptime-bars {
  width: 100%;
  max-width: 100%;
}

.status-join-button {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 138, 0, 0.14);
  border-radius: 5px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(6, 18, 15, 0.78);
}

.status-service-card.offline .status-join-button {
  pointer-events: none;
  opacity: 0.42;
}

.status-service-card .service-icon.website,
.status-service-card .service-icon.soulmask,
.status-service-card .service-icon.palworld,
.status-service-card .service-icon.database {
  background-color: rgba(4, 12, 13, 0.78);
  background-position: center;
  background-repeat: no-repeat;
}

.status-service-card .service-icon.website::before,
.status-service-card .service-icon.website::after,
.status-service-card .service-icon.soulmask::before,
.status-service-card .service-icon.soulmask::after,
.status-service-card .service-icon.database::before,
.status-service-card .service-icon.database::after {
  display: none;
}

.status-service-card .service-icon.website {
  border-color: rgba(139, 240, 113, 0.3);
  background-image: url("assets/status-web.svg");
  background-size: 86% auto;
  box-shadow: 0 0 22px rgba(255, 138, 0, 0.12);
}

.status-service-card .service-icon.soulmask {
  border-color: rgba(238, 242, 239, 0.28);
  background-image: url("assets/soulmask-logo.jpg");
  background-position: center 42%;
  background-size: cover;
  box-shadow: 0 0 22px rgba(238, 242, 239, 0.08);
}

.status-service-card .service-icon.palworld {
  border-color: rgba(255, 177, 90, 0.18);
  background-image: url("assets/palworld-logo.jpg");
  background-size: cover;
}

.status-service-card .service-icon.palworld::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(3, 8, 7, 0.36));
}

.status-service-card .service-icon.database {
  border-color: rgba(230, 235, 232, 0.28);
  background-image: url("assets/status-database.svg");
  background-size: 82% auto;
  box-shadow: 0 0 22px rgba(216, 221, 217, 0.1);
}

.status-service-card .service-icon.discord-service {
  border-radius: 10px;
}

.status-template-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  gap: 12px;
}

.status-incident-list {
  display: grid;
  gap: 4px;
}

.status-incident-list article {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px 150px 1fr;
  gap: 12px;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 138, 0, 0.08);
}

.status-incident-list article > span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.status-incident-list .warn > span {
  border-color: #f5c84f;
}

.status-incident-list .critical > span {
  border-color: #f06161;
}

.status-incident-list time {
  color: #d2d8d2;
  font-size: 0.76rem;
}

.status-incident-list time small {
  display: block;
  margin-top: 3px;
  color: var(--accent);
}

.status-incident-list .warn time small {
  color: #f5c84f;
}

.status-incident-list .critical time small {
  color: #f06161;
}

.status-incident-list strong {
  display: block;
  color: #f1f5f1;
  font-size: 0.84rem;
}

.status-incident-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.notice-list.compact .notice-item {
  min-height: 72px;
}

.template-footer {
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.7fr) minmax(190px, 0.7fr) minmax(220px, 0.8fr) minmax(190px, 0.7fr);
}

.legal-layout {
  width: min(980px, calc(100% - 36px));
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
}

.legal-panel {
  display: grid;
  gap: 14px;
}

.legal-meta {
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-note {
  padding: 13px 14px;
  border: 1px solid rgba(215, 151, 82, 0.22);
  border-radius: var(--radius);
  background: rgba(215, 151, 82, 0.07);
}

.legal-panel h2,
.legal-panel h3 {
  margin: 0;
  color: #f2f7ef;
  text-transform: uppercase;
}

.legal-panel h2 {
  font-size: 1.05rem;
}

.legal-panel h3 {
  font-size: 0.92rem;
}

.legal-panel p,
.legal-list dd,
.legal-panel li {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-panel a {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-panel strong {
  color: #f2f7ef;
}

.legal-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-panel li {
  position: relative;
  padding-left: 18px;
}

.legal-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(111, 235, 116, 0.35);
  content: "";
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 0, 0.11);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.13);
}

.legal-list dt {
  color: #f2f7ef;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.social-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

@media (max-width: 1500px) {
  .news-layout,
  .rules-showcase-layout,
  .news-article-layout {
    grid-template-columns: 1fr;
  }

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

  .patch-panel,
  .penalties-panel {
    grid-column: 1 / -1;
  }

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

  .status-summary-main {
    grid-column: 1 / -1;
  }

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

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

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

@media (max-width: 1120px) {
  .featured-grid,
  .rule-detail-grid,
  .rules-lower-grid,
  .status-template-bottom {
    grid-template-columns: 1fr;
  }

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

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

  .values-emblem {
    display: none;
  }

  .news-row {
    grid-template-columns: 64px 1fr 20px;
  }

  .news-row .category-tag,
  .news-row small,
  .news-row time {
    display: none;
  }

  .status-summary-grid,
  .status-live-strip,
  .status-service-grid,
  .news-sidebar,
  .rules-showcase-sidebar,
  .template-footer {
    grid-template-columns: 1fr;
  }

  .status-service-card {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .status-service-card aside {
    grid-column: 1 / -1;
    text-align: left;
  }

  .status-live-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 138, 0, 0.08);
  }
}

@media (max-width: 640px) {
  .news-layout,
  .news-article-layout,
  .rules-showcase-layout,
  .status-template-dashboard {
    width: calc(100% - 28px);
  }

  .template-page .template-hero {
    min-height: 280px;
    padding-inline: 20px;
  }

  .template-page .page-hero h1 {
    max-width: calc(100vw - 40px);
    font-size: 2.1rem;
    overflow-wrap: anywhere;
  }

  .hero-kicker {
    max-width: calc(100vw - 40px);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .template-page .page-hero p {
    max-width: calc(100vw - 40px);
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .rule-category-grid,
  .values-list {
    grid-template-columns: 1fr;
  }

  .rule-detail-section:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .rule-detail-heading {
    grid-template-columns: 40px 1fr;
  }

  .rule-entry-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-news-card {
    display: block;
    min-height: 0;
    padding-top: 158px;
    background: linear-gradient(180deg, rgba(7, 19, 17, 0.94), rgba(3, 10, 9, 0.98));
  }

  .featured-news-card img {
    bottom: auto;
    height: 158px;
    object-position: center top;
  }

  .featured-news-card::after {
    bottom: auto;
    height: 158px;
    background:
      linear-gradient(180deg, rgba(3, 8, 7, 0.04), rgba(3, 8, 7, 0.76)),
      linear-gradient(90deg, rgba(2, 8, 7, 0.52), rgba(2, 8, 7, 0.12));
  }

  .featured-news-card strong,
  .featured-news-card small,
  .news-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .featured-news-card > div {
    min-width: 0;
    padding: 14px 14px 15px;
    border-top: 1px solid rgba(255, 138, 0, 0.12);
    background: linear-gradient(180deg, rgba(5, 17, 15, 0.98), rgba(2, 9, 8, 0.99));
    text-shadow: none;
  }

  .featured-news-card strong {
    font-size: 0.98rem;
    line-height: 1.22;
  }

  .featured-news-card small {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .featured-news-card b {
    margin-top: 12px;
  }

  .date-badge {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    white-space: nowrap;
  }

  .article-cover {
    min-height: 210px;
  }

  .article-body,
  .article-meta,
  .article-empty {
    padding-inline: 14px;
  }

  .article-source {
    width: calc(100% - 28px);
    margin-inline: 14px;
  }

  .template-panel-title.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-panel-title.split a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .quick-access-list a,
  .faq-list a {
    grid-template-columns: 30px 1fr;
  }

  .quick-access-list b,
  .faq-list b {
    display: none;
  }

  .status-summary-main,
  .status-stat,
  .status-updated {
    min-width: 0;
    border-right: 0;
    padding-inline: 12px;
  }

  .status-service-card,
  .status-service-card aside,
  .status-card-meta span,
  .status-service-card .uptime-bars {
    min-width: 0;
    max-width: 100%;
  }

  .status-live-strip div {
    padding-inline: 12px;
  }

  .status-incident-list article {
    grid-template-columns: 30px 1fr;
  }

  .status-incident-list div {
    grid-column: 2;
  }

  .legal-layout {
    width: calc(100% - 28px);
    margin-top: -18px;
  }

  .legal-panel {
    gap: 12px;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
