:root {
  --cyan: #0a9db6;
  --glass: #41b6f4;
  --text: #ffffff;
  --header-offset: 76px;
}

html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 213, 161, 0.18) 0%, rgba(123, 213, 161, 0) 28%),
    radial-gradient(circle at 82% 14%, rgba(125, 191, 235, 0.18) 0%, rgba(125, 191, 235, 0) 24%),
    linear-gradient(180deg, #081116 0%, #10231d 32%, #183125 62%, #22372a 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

body:not(.info-page-body):not(.rules-page-body)::before,
body:not(.info-page-body):not(.rules-page-body)::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body:not(.info-page-body):not(.rules-page-body)::before {
  z-index: -2;
  opacity: 0.55;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 120%, rgba(255, 211, 122, 0.15) 0%, rgba(255, 211, 122, 0) 32%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-position: 0 0, 0 0, center;
  animation: blockGridFloat 18s linear infinite;
}

body:not(.info-page-body):not(.rules-page-body)::after {
  z-index: -1;
  opacity: 0.72;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 72% 18%, rgba(154, 230, 180, 0.16) 0 2px, transparent 2.5px),
    radial-gradient(circle at 32% 72%, rgba(121, 188, 228, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 82% 68%, rgba(255, 216, 129, 0.14) 0 2px, transparent 2.5px),
    radial-gradient(circle at 58% 44%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2px);
  background-size: 280px 280px, 360px 360px, 320px 320px, 420px 420px, 260px 260px;
  animation: ambientParticles 26s ease-in-out infinite alternate;
}

@keyframes fadeInUpSoft {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRightSoft {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroLogoReveal {
  from {
    opacity: 0;
    transform: translate3d(20px, -12px, 0) scale(0.92) rotate(-4deg);
    filter: saturate(82%) brightness(0.9);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: saturate(100%) brightness(1);
  }
}

@keyframes blockGridFloat {
  from {
    background-position: 0 0, 0 0, center;
  }
  to {
    background-position: 44px 22px, -44px 44px, center;
  }
}

@keyframes ambientParticles {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(100%);
  }
  to {
    transform: translate3d(0, -14px, 0) scale(1.02);
    filter: saturate(118%);
  }
}

.top-strip {
  height: 66px;
  padding: 8px 20px;
  margin: 12px 16px 0;
  border-radius: 16px;
  border: 1px solid rgba(220, 244, 255, 0.45);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.5) 0%, rgba(64, 154, 219, 0.34) 52%, rgba(31, 123, 191, 0.28) 100%);
  border-bottom: 1px solid rgba(220, 244, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -8px 16px rgba(0, 61, 109, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
  animation: fadeInUpSoft 0.55s ease-out both;
}

.header-left,
.header-right {
  width: 250px;
  display: flex;
  align-items: center;
}

.header-left {
  gap: 8px;
}

.header-right {
  gap: 8px;
  justify-content: flex-end;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.header-nav-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(227, 246, 255, 0.62);
  background: rgba(255, 255, 255, 0.09);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.header-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.header-nav-btn--disabled {
  color: rgba(220, 236, 244, 0.5);
  border-color: rgba(227, 246, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(70%);
}

.header-home-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(233, 248, 255, 0.76);
  background: linear-gradient(160deg, rgba(128, 214, 255, 0.72) 0%, rgba(84, 173, 231, 0.58) 52%, rgba(44, 131, 198, 0.48) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -6px 12px rgba(0, 61, 109, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.2);
  color: #f6fcff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-home-btn:hover {
  filter: brightness(1.08);
}

.footer-toggle {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 244, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(200, 232, 250, 0.68);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #d4eeff;
  border-color: rgba(220, 244, 255, 0.65);
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  margin-left: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.hero {
  min-height: calc(100vh - var(--header-offset));
  display: flex;
  flex: 1;
  position: relative;
  z-index: 1;
}

.home-hero-backdrop {
  display: none;
}

.page-blank {
  min-height: calc(100vh - var(--header-offset));
  flex: 1;
}

.info-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 16px 12px 20px;
}

.info-page-body {
  position: relative;
  isolation: isolate;
}

.info-page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.55) 0%, rgba(12, 16, 22, 0.5) 100%),
    var(--info-bg-image-png) center/cover no-repeat;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.55) 0%, rgba(12, 16, 22, 0.5) 100%),
    var(--info-bg-image) center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.02);
  z-index: -2;
}

.rules-page-body {
  position: relative;
  isolation: isolate;
}

.rules-page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.6) 0%, rgba(11, 14, 20, 0.56) 100%),
    var(--rules-bg-image-png) center/cover no-repeat;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.6) 0%, rgba(11, 14, 20, 0.56) 100%),
    var(--rules-bg-image) center/cover no-repeat;
  filter: blur(2.5px);
  transform: scale(1.015);
  z-index: -2;
}

@keyframes pageCardsReveal {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.992);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.info-page .info-card,
.rules-page .rules-card {
  opacity: 0;
  animation: pageCardsReveal 0.55s ease both;
}

.info-page .info-card:nth-child(1),
.rules-page .rules-card:nth-child(1) { animation-delay: 0.05s; }
.info-page .info-card:nth-child(2),
.rules-page .rules-card:nth-child(2) { animation-delay: 0.1s; }
.info-page .info-card:nth-child(3),
.rules-page .rules-card:nth-child(3) { animation-delay: 0.15s; }
.info-page .info-card:nth-child(4),
.rules-page .rules-card:nth-child(4) { animation-delay: 0.2s; }
.info-page .info-card:nth-child(5),
.rules-page .rules-card:nth-child(5) { animation-delay: 0.25s; }
.info-page .info-card:nth-child(6),
.rules-page .rules-card:nth-child(6) { animation-delay: 0.3s; }
.info-page .info-card:nth-child(7),
.rules-page .rules-card:nth-child(7) { animation-delay: 0.35s; }
.info-page .info-card:nth-child(8),
.rules-page .rules-card:nth-child(8) { animation-delay: 0.4s; }
.info-page .info-card:nth-child(9),
.rules-page .rules-card:nth-child(9) { animation-delay: 0.45s; }
.info-page .info-card:nth-child(10),
.rules-page .rules-card:nth-child(10) { animation-delay: 0.5s; }
.rules-page .rules-card:nth-child(11) { animation-delay: 0.55s; }
.rules-page .rules-card:nth-child(12) { animation-delay: 0.6s; }
.rules-page .rules-card:nth-child(13) { animation-delay: 0.65s; }
.rules-page .rules-card:nth-child(14) { animation-delay: 0.7s; }
.rules-page .rules-card:nth-child(15) { animation-delay: 0.75s; }
.rules-page .rules-card:nth-child(16) { animation-delay: 0.8s; }
.rules-page .rules-card:nth-child(17) { animation-delay: 0.85s; }

.info-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  column-count: 2;
  column-gap: 14px;
}

.info-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
  padding: 14px 14px;
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

.info-card h2 {
  margin: 0 0 9px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.25;
  color: #d6ecf8;
}

.info-card p {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.5;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 7px;
  font-size: 10px;
}

.info-meta strong {
  color: #ffffff;
  text-align: right;
}

.info-list {
  margin: 0;
  padding-left: 16px;
}

.info-list li {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.45;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.info-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(210, 236, 248, 0.45);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1;
}

.info-card--placeholder {
  text-align: center;
}

.info-image-placeholder {
  width: 100%;
  min-height: 110px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.5);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(220, 240, 250, 0.82);
  font-size: 10px;
}

.info-image {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(198, 224, 238, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.rules-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 16px 12px 20px;
}

.rules-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  column-count: 2;
  column-gap: 14px;
}

.rules-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
  padding: 14px;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.rules-card--wide {
  width: 100%;
}

.rules-card h1,
.rules-card h2 {
  margin: 0 0 9px;
  font-family: "Press Start 2P", monospace;
  line-height: 1.3;
  color: #d6ecf8;
  text-shadow: none;
}

.rules-card h1 {
  font-size: 13px;
}

.rules-card h2 {
  font-size: 11px;
}

.rules-intro {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
}

.rules-sub {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.45;
}

.rules-sub strong {
  color: #eef9ff;
}

.rules-list {
  margin: 0;
  padding-left: 16px;
}

.rules-list li {
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.45;
}

.rules-list li:last-child {
  margin-bottom: 0;
}

.rules-penalty {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(232, 170, 170, 0.42);
  background: rgba(112, 42, 42, 0.22);
  color: #ffdede;
  font-size: 10px;
  line-height: 1.4;
}

.rules-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rules-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(210, 236, 248, 0.45);
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1;
}

@media (min-width: 1280px) {
  .info-page {
    padding: 22px 18px 28px;
  }

  .info-grid {
    width: min(1400px, 100%);
    column-count: 3;
    column-gap: 18px;
  }

  .info-card {
    margin-bottom: 18px;
    padding: 18px 18px;
    border-radius: 18px;
  }

  .info-card h2 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .info-card p,
  .info-list li {
    font-size: 12px;
    line-height: 1.55;
  }

  .info-meta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .info-pill {
    padding: 6px 10px;
    font-size: 11px;
  }

  .info-image-placeholder {
    min-height: 150px;
    font-size: 11px;
  }

  .rules-page {
    padding: 22px 18px 28px;
  }

  .rules-grid {
    width: min(1400px, 100%);
    column-count: 3;
    column-gap: 18px;
  }

  .rules-card {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .rules-card h1 {
    font-size: 15px;
  }

  .rules-card h2 {
    font-size: 12px;
  }

  .rules-intro,
  .rules-sub,
  .rules-list li {
    font-size: 12px;
  }

  .rules-penalty,
  .rules-pill {
    font-size: 11px;
  }
}

.social-button,
.discord-button {
  margin-right: 2px;
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -6px 14px rgba(0, 61, 109, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-button {
  border: 1px solid rgba(227, 246, 255, 0.58);
}

.social-button--tiktok {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(160deg, rgba(24, 24, 24, 0.88) 0%, rgba(10, 10, 12, 0.82) 58%, rgba(0, 0, 0, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.3);
}

.discord-button {
  border: 1px solid rgba(227, 246, 255, 0.72);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.58) 0%, rgba(64, 154, 219, 0.42) 52%, rgba(31, 123, 191, 0.34) 100%);
}

.social-icon,
.discord-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.social-button--tiktok .social-icon {
  width: 14px;
  height: 14px;
  overflow: visible;
  transform: translateY(-0.5px);
}

.social-button:hover,
.discord-button:hover {
  filter: brightness(1.08);
}

.social-button:active,
.discord-button:active {
  transform: translateY(1px);
}

.left-panel,
.right-panel {
  flex: 1;
  min-width: 0;
}

.left-panel {
  flex-basis: 58%;
  position: relative;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(12, 16, 23, 0.82) 62%, rgba(0, 0, 0, 0.44) 86%, rgba(0, 0, 0, 0) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.content {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 68px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-heading-row {
  display: block;
}

.hero-heading-copy {
  min-width: 0;
}

.hero-logo-badge {
  display: none;
}

h1,
.subtitle,
.glass-card {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  max-width: 100%;
}

h1 {
  margin: 0 0 0 0;
  font-size: 52px;
  line-height: 1;
  font-family: "Press Start 2P", monospace;
  opacity: 0;
  animation: fadeInUpSoft 0.6s ease-out 0.14s both;
}

.subtitle {
  margin: 10px 0 22px 0;
  font-size: 32px;
  font-weight: 700;
  font-family: "Press Start 2P", monospace;
  opacity: 0;
  animation: fadeInUpSoft 0.6s ease-out 0.22s both;
}

.cards-row {
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUpSoft 0.65s ease-out 0.3s both;
}

.glass-card {
  width: calc(100% - 6px);
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  border: 1px solid rgba(196, 236, 255, 0.62);
  background: linear-gradient(160deg, rgba(97, 195, 250, 0.58) 0%, rgba(64, 154, 219, 0.42) 52%, rgba(31, 123, 191, 0.34) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -8px 18px rgba(0, 61, 109, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(7px) saturate(140%);
  text-align: center;
  padding: 12px 14px;
  color: #eaf7ff;
  font-family: "Press Start 2P", monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.glass-card * {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.server-card {
  width: 48%;
  min-width: 260px;
  margin-top: 0;
  align-self: center;
  align-items: stretch;
  gap: 8px;
  text-align: left;
  padding: 16px 18px;
}

.server-card,
.players-card {
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(234, 247, 255, 0.93);
}

.glass-card .server-title {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #d8f0ff;
    letter-spacing: 0.8px;
    opacity: 0.95;
    text-transform: uppercase;
  }

  .server-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(210, 236, 248, 0.34);
    background: rgba(255, 255, 255, 0.09);
    margin-bottom: 8px;
  }

  .server-row:last-child {
    margin-bottom: 0;
  }

  .server-label {
    font-size: 11px;
    color: #d8efff;
    align-self: center;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 600;
    flex: 0 0 auto;
  }

  .server-value {
    font-size: 13px;
    text-align: right;
    flex: 1;
    min-width: 0;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
  }

  .server-row-ip .server-value {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

.server-value-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.copy-feedback {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  transform: translateY(4px);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(220, 244, 255, 0.62);
  background: rgba(10, 21, 31, 0.88);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  font-size: 9px;
  line-height: 1;
  color: #d8f5ff;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.copy-feedback::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 100%;
  width: 8px;
  height: 8px;
  background: rgba(10, 21, 31, 0.88);
  border-right: 1px solid rgba(220, 244, 255, 0.62);
  border-bottom: 1px solid rgba(220, 244, 255, 0.62);
  transform: translateY(-4px) rotate(45deg);
}

.copy-feedback.is-visible {
  animation: copyFeedbackFade 1.2s ease forwards;
}

@keyframes copyFeedbackFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

.copy-ip-btn {
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(225, 245, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  color: #f4fcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.15s ease;
}

.copy-ip-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.copy-ip-btn.copied {
  background: rgba(128, 255, 189, 0.34);
  border-color: rgba(176, 255, 216, 0.82);
}

.copy-icon {
  width: 10px;
  height: 10px;
  display: block;
}

.glass-card p,
.glass-card h2 {
  margin: 7px 0;
  font-size: 10px;
  overflow: hidden;
  line-height: 1.4;
}

.players-card {
  width: 48%;
  min-width: 240px;
  padding: 16px 18px;
  min-height: auto;
  margin-top: 0;
  margin-bottom: 0;
  align-self: center;
  align-items: stretch;
  text-align: left;
}

.players-card h2 {
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.2;
  color: #d8f0ff;
  letter-spacing: 0.7px;
  opacity: 0.95;
}

.about-card {
  width: calc(100% - 6px);
  margin-top: 30px;
  text-align: left;
  padding: 14px 16px;
  color: rgba(234, 247, 255, 0.92);
  border-color: rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInUpSoft 0.65s ease-out 0.4s both;
}

.about-card h3 {
  margin: 2px 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  line-height: 1.2;
  color: #d6ecf8;
}

.about-card p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(226, 242, 251, 0.92);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.news-card {
  margin-top: 14px;
  animation-delay: 0.5s;
}

.news-placeholder {
  width: 100%;
  min-height: 112px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.48);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 10px;
  color: rgba(220, 240, 250, 0.82);
}

.home-news-list {
  display: grid;
  gap: 10px;
}

.home-news-item {
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 10px;
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.home-news-head h4 {
  margin: 0;
  font-size: 11px;
  color: #ffffff;
  font-family: "Press Start 2P", monospace;
}

.home-news-head time {
  font-size: 9px;
  opacity: 0.8;
}

.home-news-item p {
  margin: 0;
  font-size: 10px;
}

.content-page {
  min-height: calc(100vh - var(--header-offset));
  padding: 18px 14px 22px;
}

.content-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(58, 88, 108, 0.35) 0%, rgba(42, 67, 84, 0.32) 52%, rgba(29, 48, 62, 0.3) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(0, 22, 38, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 16px;
}

.content-head h1 {
  margin: 0;
  font-size: 20px;
}

.content-head p {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(226, 242, 251, 0.92);
}

.empty-state {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px dashed rgba(198, 224, 238, 0.48);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  font-size: 11px;
  color: rgba(220, 240, 250, 0.84);
}

.guides-shell {
  background: linear-gradient(160deg, rgba(24, 37, 48, 0.56) 0%, rgba(24, 36, 46, 0.48) 52%, rgba(18, 28, 38, 0.44) 100%);
}

.guides-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.guides-head-copy {
  min-width: 0;
}

.guides-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(208, 236, 250, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #d8f1ff;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.guides-count {
  flex: 0 0 auto;
  min-width: 168px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(208, 236, 250, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.guides-count-label,
.guides-count-value {
  display: block;
}

.guides-count-label {
  font-size: 10px;
  color: rgba(221, 240, 251, 0.8);
}

.guides-count-value {
  margin-top: 6px;
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  color: #ffffff;
}

.guides-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: start;
}

.guides-sidebar,
.guides-toc {
  position: sticky;
  top: calc(var(--header-offset) + 18px);
  display: grid;
  gap: 14px;
}

.guides-main {
  min-width: 0;
}

.guides-panel,
.guide-featured-card,
.guide-article {
  border-radius: 14px;
  border: 1px solid rgba(210, 236, 248, 0.3);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 18px rgba(0, 0, 0, 0.16);
}

.guides-panel {
  padding: 14px;
}

.guides-panel h2,
.guides-panel h3,
.guide-featured-card h3,
.guide-article h3,
.guides-group-head h2 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  color: #eef9ff;
}

.guides-panel h2,
.guide-featured-card h3,
.guide-article h3,
.guides-group-head h2 {
  font-size: 11px;
  line-height: 1.35;
}

.guides-panel h3 {
  font-size: 10px;
  line-height: 1.35;
}

.guides-panel p,
.guide-featured-card p,
.guide-article p,
.guides-group-head p,
.guides-category-link,
.guides-support-list li,
.guides-toc-link {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(232, 244, 251, 0.92);
}

.guides-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.26);
  background: rgba(0, 0, 0, 0.18);
}

.guides-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #eef9ff;
  font: inherit;
}

.guides-search input::placeholder {
  color: rgba(226, 242, 251, 0.62);
}

.guides-search-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: rgba(228, 243, 251, 0.72);
}

.guides-category-list,
.guides-toc-list,
.guides-support-list,
.guide-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.guides-category-list,
.guides-toc-list {
  display: grid;
  gap: 8px;
}

.guides-category-link,
.guides-toc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.22);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.guides-category-link:hover,
.guides-toc-link:hover,
.guide-featured-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(210, 236, 248, 0.34);
  transform: translateY(-1px);
}

.guides-category-link span,
.guides-toc-link span {
  min-width: 0;
}

.guides-category-link strong {
  flex: 0 0 auto;
  font-size: 10px;
  color: rgba(217, 239, 251, 0.72);
}

.guides-support-list {
  display: grid;
  gap: 8px;
}

.guides-support-list li {
  padding-left: 12px;
  position: relative;
}

.guides-support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(156, 214, 255, 0.82);
}

.guides-featured-grid,
.guides-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guides-featured-grid {
  margin-bottom: 18px;
}

.guide-featured-card,
.guide-article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.guide-featured-card {
  text-decoration: none;
}

.guide-featured-card p,
.guide-article p {
  margin: 0;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(210, 236, 248, 0.24);
  background: rgba(255, 255, 255, 0.06);
  font-size: 9px;
  color: rgba(222, 241, 251, 0.88);
}

.guides-group + .guides-group {
  margin-top: 18px;
}

.guides-group-head {
  margin-bottom: 12px;
}

.guides-group-head p {
  margin: 8px 0 0;
}

.guide-article {
  scroll-margin-top: calc(var(--header-offset) + 26px);
}

.guide-points {
  display: grid;
  gap: 8px;
}

.guide-points li {
  position: relative;
  padding-left: 14px;
  color: rgba(229, 243, 251, 0.9);
  font-size: 11px;
  line-height: 1.55;
}

.guide-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(171, 221, 255, 0.88);
}

@media (max-width: 1180px) {
  .guides-layout {
    grid-template-columns: 1fr;
  }

  .guides-sidebar,
  .guides-toc {
    position: static;
  }

  .guides-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 900px) {
  .guides-head {
    flex-direction: column;
  }

  .guides-count {
    min-width: 0;
    width: 100%;
  }

  .guides-sidebar {
    grid-template-columns: 1fr;
  }

  .guides-featured-grid,
  .guides-articles-grid {
    grid-template-columns: 1fr;
  }
}

body.guides-hub-body,
body.guide-article-body {
  background: linear-gradient(180deg, #020304 0%, #05070a 48%, #080b0f 100%);
}

body.guides-hub-body::before,
body.guide-article-body::before {
  z-index: -2;
  opacity: 1;
  background:
    radial-gradient(circle at 14% 12%, rgba(88, 125, 170, 0.18) 0%, rgba(88, 125, 170, 0) 28%),
    radial-gradient(circle at 84% 10%, rgba(114, 150, 196, 0.12) 0%, rgba(114, 150, 196, 0) 24%),
    linear-gradient(180deg, rgba(3, 4, 6, 0.92) 0%, rgba(5, 7, 10, 0.96) 50%, rgba(7, 10, 14, 1) 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  animation: none;
}

body.guides-hub-body::after,
body.guide-article-body::after {
  z-index: -1;
  opacity: 0.38;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.14) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 72% 26%, rgba(159, 201, 236, 0.16) 0 1.5px, transparent 2px),
    radial-gradient(circle at 34% 78%, rgba(255, 255, 255, 0.1) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 84% 72%, rgba(129, 181, 228, 0.12) 0 1.4px, transparent 1.9px);
  background-size: 280px 280px, 360px 360px, 320px 320px, 420px 420px;
  animation: ambientParticles 30s ease-in-out infinite alternate;
}

@keyframes guidesRiseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guides-hub-page,
.guide-page {
  padding: 22px 16px 30px;
}

.guides-hub,
.guide-page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.guides-hub-hero,
.guide-hero,
.guide-article-card,
.guide-side-card {
  border-radius: 24px;
  border: 1px solid rgba(177, 203, 225, 0.16);
  background: linear-gradient(180deg, rgba(12, 16, 21, 0.92) 0%, rgba(8, 11, 15, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.28);
}

.guides-hub-hero,
.guide-hero {
  padding: 24px 26px;
  animation: guidesRiseIn 0.45s ease both;
}

.guides-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.guides-hub-copy h1,
.guide-hero h1,
.guides-cluster-head h2,
.guide-card h3,
.guide-article-card h2,
.guide-side-card h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: #f7fbff;
}

.guides-hub-copy h1,
.guide-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 800;
}

.guides-hub-copy p,
.guide-lead,
.guides-cluster-head p,
.guide-card p,
.guide-article-card p,
.guide-section-list li,
.guide-outline-list a,
.guide-related-link span {
  color: rgba(224, 235, 245, 0.82);
}

.guides-hub-copy p,
.guide-lead {
  margin: 14px 0 0;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.7;
}

.guides-hub-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

.guides-stat-card {
  min-width: 132px;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(177, 203, 225, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.guides-stat-value,
.guides-stat-label {
  display: block;
}

.guides-stat-value {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.guides-stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(207, 224, 239, 0.72);
}

.guides-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guides-jump-link,
.guide-back-link,
.guide-outline-list a,
.guide-related-link {
  text-decoration: none;
}

.guides-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(177, 203, 225, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(231, 241, 250, 0.9);
  font-size: 13px;
  line-height: 1;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.guides-jump-link:hover,
.guide-card:hover,
.guide-outline-list a:hover,
.guide-related-link:hover,
.guide-back-link:hover {
  border-color: rgba(206, 229, 247, 0.26);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.guides-cluster {
  display: grid;
  gap: 14px;
}

.guides-empty-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(177, 203, 225, 0.16);
  background: linear-gradient(180deg, rgba(12, 16, 21, 0.92) 0%, rgba(8, 11, 15, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.28);
}

.guides-empty-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  color: #f7fbff;
}

.guides-empty-card p {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(224, 235, 245, 0.82);
}

.guides-cluster-head {
  display: grid;
  gap: 8px;
}

.guides-cluster-head h2,
.guide-article-card h2,
.guide-side-card h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.guides-cluster-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.guides-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(177, 203, 225, 0.14);
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.94) 0%, rgba(8, 10, 14, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(0, 0, 0, 0.24);
  color: #f5faff;
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
  opacity: 0;
  animation: guidesRiseIn 0.5s ease forwards;
}

.guide-card-top,
.guide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-card-chip,
.guide-card-time,
.guide-section-label,
.guide-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(177, 203, 225, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(227, 239, 249, 0.9);
  font-size: 11px;
  line-height: 1;
}

.guide-card h3 {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
}

.guide-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.guide-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #f9fbff;
}

.guide-card-link::after {
  content: ">";
  font-size: 14px;
  color: rgba(209, 231, 248, 0.82);
}

.guide-back-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(177, 203, 225, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(230, 240, 249, 0.92);
  font-size: 13px;
  line-height: 1;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.guide-hero-copy {
  display: grid;
  gap: 14px;
}

.guide-section-label {
  justify-self: start;
}

.guide-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas:
    "article outline"
    "article related";
  gap: 20px;
  align-items: start;
}

.guide-article-card {
  grid-area: article;
  padding: 28px 30px;
}

.guide-section-block {
  scroll-margin-top: calc(var(--header-offset) + 24px);
}

.guide-section-block + .guide-section-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(177, 203, 225, 0.1);
}

.guide-article-card p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.78;
}

.guide-article-card p:last-of-type {
  margin-bottom: 0;
}

.guide-section-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.guide-section-list li {
  font-size: 15px;
  line-height: 1.7;
}

.guide-side-column {
  display: grid;
  gap: 14px;
}

.guide-side-column--outline {
  grid-area: outline;
  position: sticky;
  top: calc(var(--header-offset) + 18px);
}

.guide-side-column--related {
  grid-area: related;
}

.guide-side-card {
  padding: 18px;
}

.guide-outline-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.guide-outline-list a,
.guide-related-link {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(177, 203, 225, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(231, 241, 250, 0.9);
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.guide-related-links {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.guide-related-link strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
}

.guide-related-link span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .guides-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "outline"
      "article"
      "related";
  }

  .guide-side-column {
    position: static;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .guides-hub-page,
  .guide-page {
    padding: 18px 12px 24px;
  }

  .guides-hub-hero {
    grid-template-columns: 1fr;
  }

  .guides-hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-jump-nav {
    gap: 8px;
  }

  .guides-jump-link,
  .guide-back-link {
    font-size: 12px;
  }

  .guides-card-grid,
  .guide-side-column {
    grid-template-columns: 1fr;
  }

  .guide-side-column {
    gap: 10px;
  }

  .guide-card,
  .guide-article-card,
  .guide-side-card,
  .guide-hero,
  .guides-hub-hero {
    padding: 18px;
    border-radius: 20px;
  }

  .guide-side-card {
    padding: 14px;
    border-radius: 16px;
  }

  .guides-cluster-head h2,
  .guide-article-card h2,
  .guide-side-card h2,
  .guide-card h3 {
    font-size: 20px;
  }

  .guide-article-card p,
  .guide-section-list li,
  .guides-hub-copy p,
  .guide-lead,
  .guides-cluster-head p,
  .guide-card p {
    font-size: 15px;
    line-height: 1.72;
  }

  .guide-outline-list {
    margin-top: 10px;
    gap: 8px;
  }

  .guide-outline-list a,
  .guide-related-link {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
  }

  .guide-related-link span {
    margin-top: 4px;
    line-height: 1.45;
  }
}

.photo-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.photo-grid .photo-card,
.news-list .news-item {
  opacity: 0;
  animation: pageCardsReveal 0.55s ease both;
}

.photo-grid .photo-card:nth-child(1),
.news-list .news-item:nth-child(1) { animation-delay: 0.05s; }
.photo-grid .photo-card:nth-child(2),
.news-list .news-item:nth-child(2) { animation-delay: 0.1s; }
.photo-grid .photo-card:nth-child(3),
.news-list .news-item:nth-child(3) { animation-delay: 0.15s; }
.photo-grid .photo-card:nth-child(4),
.news-list .news-item:nth-child(4) { animation-delay: 0.2s; }
.photo-grid .photo-card:nth-child(5),
.news-list .news-item:nth-child(5) { animation-delay: 0.25s; }
.photo-grid .photo-card:nth-child(6),
.news-list .news-item:nth-child(6) { animation-delay: 0.3s; }
.photo-grid .photo-card:nth-child(7),
.news-list .news-item:nth-child(7) { animation-delay: 0.35s; }
.photo-grid .photo-card:nth-child(8),
.news-list .news-item:nth-child(8) { animation-delay: 0.4s; }
.photo-grid .photo-card:nth-child(9),
.news-list .news-item:nth-child(9) { animation-delay: 0.45s; }
.photo-grid .photo-card:nth-child(10),
.news-list .news-item:nth-child(10) { animation-delay: 0.5s; }
.photo-grid .photo-card:nth-child(11),
.news-list .news-item:nth-child(11) { animation-delay: 0.55s; }
.photo-grid .photo-card:nth-child(12),
.news-list .news-item:nth-child(12) { animation-delay: 0.6s; }

.photo-open-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-open-btn:focus-visible {
  outline: 2px solid rgba(202, 239, 255, 0.92);
  outline-offset: -2px;
}

.photo-card-meta {
  padding: 10px;
}

.photo-card-meta p {
  margin: 0 0 6px;
  font-size: 11px;
}

.photo-card-meta time {
  font-size: 10px;
  opacity: 0.82;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 16, 0.86);
  backdrop-filter: blur(5px);
}

.photo-lightbox-content {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(94vw, 1500px);
  max-height: min(90vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1500px);
  max-height: min(90vh, 920px);
  border-radius: 12px;
  border: 1px solid rgba(213, 238, 250, 0.32);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  background: transparent;
}

.photo-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(35%, -35%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(227, 246, 255, 0.72);
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.news-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.news-item {
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 240px;
}

.news-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.news-item-head h2 {
  margin: 0;
  font-size: 12px;
  font-family: "Press Start 2P", monospace;
}

.news-item-head time {
  font-size: 10px;
  opacity: 0.82;
}

.news-item p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 11px;
}

.load-more-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(227, 246, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.1;
  text-decoration: none;
}

.load-more-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.admin-wrap {
  min-height: calc(100vh - var(--header-offset));
  padding: 18px 14px 22px;
}

.admin-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(184, 214, 230, 0.45);
  background: linear-gradient(160deg, rgba(37, 54, 71, 0.46) 0%, rgba(28, 42, 55, 0.4) 52%, rgba(20, 30, 40, 0.38) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -10px 16px rgba(0, 12, 22, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.26);
  padding: 16px;
}

.admin-head h1 {
  margin: 0;
  font-size: 22px;
}

.admin-head p {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(218, 236, 247, 0.95);
}

.flash-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.flash-item {
  border-radius: 10px;
  padding: 10px;
  font-size: 11px;
}

.flash-success {
  border: 1px solid rgba(181, 255, 220, 0.4);
  background: rgba(40, 108, 78, 0.34);
}

.flash-error {
  border: 1px solid rgba(255, 177, 177, 0.38);
  background: rgba(112, 42, 42, 0.28);
}

.admin-login,
.admin-card form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.admin-login label,
.admin-card form label {
  display: grid;
  gap: 6px;
}

.admin-login span,
.admin-card form span {
  font-size: 10px;
}

.admin-login input,
.admin-login select,
.admin-card input,
.admin-card select,
.admin-card textarea {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(220, 244, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
  color: #f2fbff;
  font-size: 12px;
  padding: 10px;
}

.admin-login button,
.admin-card button {
  border-radius: 10px;
  border: 1px solid rgba(233, 248, 255, 0.76);
  background: linear-gradient(160deg, rgba(128, 214, 255, 0.72) 0%, rgba(84, 173, 231, 0.58) 52%, rgba(44, 131, 198, 0.48) 100%);
  color: #f6fcff;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1;
  padding: 10px;
  cursor: pointer;
}

.admin-login button:hover,
.admin-card button:hover {
  filter: brightness(1.08);
}

.danger-btn {
  border-color: rgba(255, 181, 181, 0.5) !important;
  background: linear-gradient(160deg, rgba(214, 99, 99, 0.8) 0%, rgba(165, 58, 58, 0.65) 100%) !important;
}

.lockout-note {
  margin-top: 10px;
  font-size: 11px;
  color: #ffdede;
}

.admin-top-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.admin-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-card {
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
}

.admin-card h2,
.admin-card h3 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.admin-list-card {
  margin-top: 12px;
}

.secondary-btn,
.admin-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 244, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #eef9ff;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.secondary-btn:hover,
.admin-inline-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-guides-workbench {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.admin-guides-head,
.admin-guide-preview-head,
.admin-guide-section-bar,
.admin-guide-item-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.admin-guides-head h2,
.admin-guide-panel h3,
.admin-guide-manager-head h3,
.admin-guide-preview-column h4,
.admin-guide-preview-head h3,
.admin-guide-section-meta h3,
.admin-guide-item-meta h4 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
}

.admin-guides-head p,
.admin-guide-manager-head p,
.admin-guide-panel p,
.admin-guide-help,
.admin-guide-path,
.admin-guide-preview-status,
.admin-guide-section-meta p,
.admin-guide-item-meta p {
  margin: 0;
  color: rgba(226, 242, 251, 0.9);
}

.admin-guides-head p,
.admin-guide-manager-head p,
.admin-guide-panel p,
.admin-guide-help,
.admin-guide-section-meta p,
.admin-guide-item-meta p {
  font-size: 11px;
  line-height: 1.6;
}

.admin-guide-path,
.admin-guide-preview-status {
  font-size: 10px;
  line-height: 1.5;
}

.admin-guides-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.admin-guides-stat {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.admin-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-guide-panel,
.admin-guide-preview-card,
.admin-guide-section-card,
.admin-guide-item {
  border-radius: 12px;
  border: 1px solid rgba(210, 236, 248, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.admin-guide-panel,
.admin-guide-preview-card,
.admin-guide-section-card,
.admin-guide-item {
  padding: 12px;
}

.admin-guide-panel {
  display: grid;
  gap: 12px;
}

.admin-guide-panel form,
.admin-guide-section-form,
.admin-guide-editor,
.admin-inline-actions form {
  margin-top: 0 !important;
}

.admin-guide-import-panel {
  grid-column: 1 / -1;
}

.admin-guide-panel details {
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.24);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 12px 12px;
}

.admin-guide-panel summary {
  cursor: pointer;
  padding: 12px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #eef9ff;
}

.admin-code-block {
  display: grid;
  gap: 10px;
}

.admin-code-block textarea,
.admin-guide-json-field {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
}

.admin-code-block textarea {
  min-height: 180px;
}

.admin-form-actions,
.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-guide-preview-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-guide-preview-column {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-guide-preview-column h4 {
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.admin-guide-preview-frame {
  min-height: 260px;
  border-radius: 14px;
  border: 1px solid rgba(210, 236, 248, 0.28);
  background: rgba(3, 8, 13, 0.45);
  padding: 12px;
  overflow: auto;
}

.admin-guide-preview-shell {
  display: grid;
  gap: 14px;
}

.admin-guide-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: start;
}

.admin-guide-preview-frame .guide-card,
.admin-guide-preview-frame .guide-hero,
.admin-guide-preview-frame .guide-article-card,
.admin-guide-preview-frame .guide-side-card {
  animation: none;
  opacity: 1;
  box-shadow: none;
}

.guide-card--admin-preview {
  min-height: auto;
}

.admin-guide-preview-frame .guide-card:hover,
.admin-guide-preview-frame .guide-outline-list a:hover,
.admin-guide-preview-frame .guide-back-link:hover,
.admin-guide-preview-frame .guide-related-link:hover {
  transform: none;
}

.admin-guide-manager {
  display: grid;
  gap: 12px;
}

.admin-guide-section-list,
.admin-guide-items {
  display: grid;
  gap: 12px;
}

.admin-guide-section-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-guide-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-field-span-full {
  grid-column: 1 / -1;
}

.admin-guide-editor.is-preview-active {
  border-radius: 10px;
  border: 1px solid rgba(202, 239, 255, 0.44);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
}

.admin-guide-json-field {
  min-height: 220px;
}

.admin-photo-list,
.admin-news-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.admin-photo-item,
.admin-news-item {
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  padding: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-photo-hint {
  margin: 12px 0 0;
  font-size: 11px;
  color: rgba(226, 242, 251, 0.9);
}

.admin-card .admin-photo-reorder-form {
  margin: 0;
  display: block;
}

#apply-photo-order-btn {
  margin-top: 10px;
}

#apply-photo-order-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(50%);
}

.admin-photo-item {
  cursor: grab;
}

.admin-photo-item.is-dragging {
  opacity: 0.65;
  cursor: grabbing;
  border-color: rgba(202, 239, 255, 0.86);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.admin-drag-handle {
  width: 24px;
  min-height: 66px;
  border-radius: 8px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(220, 240, 250, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1;
  flex: 0 0 auto;
  user-select: none;
}

.admin-photo-item img {
  width: 92px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.admin-item-content {
  flex: 1;
  min-width: 0;
}

.admin-item-content h3 {
  margin-bottom: 8px;
}

.admin-item-content p {
  margin: 0 0 8px;
  font-size: 11px;
  white-space: pre-wrap;
}

.admin-item-content time {
  font-size: 10px;
  opacity: 0.82;
}

.players-placeholder {
  width: 100%;
  min-height: 84px;
  margin-top: 0;
  border-radius: 10px;
  border: 1px solid rgba(210, 236, 248, 0.34);
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
}

.players-online-text {
  color: #eaf7ff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.right-panel {
  flex-basis: 53%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
  z-index: 1;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 232, 208, 0.23) 0%, rgba(112, 86, 100, 0.34) 100%);
  opacity: 0;
  animation: fadeInRightSoft 0.75s ease-out 0.18s both;
}

.right-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--header-offset));
  bottom: 0;
  background: var(--hero-image-png) center/cover no-repeat;
  background: var(--hero-image) center/cover no-repeat;
  z-index: 0;
  transform-origin: center;
  animation: heroImageReveal 1.2s ease-out 0.2s both;
}

.right-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.04) 0 2px,
    rgba(0, 0, 0, 0.05) 2px 4px
  );
  opacity: 0.16;
  z-index: 1;
}

@media (min-width: 921px) {
  .home-hero-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .home-hero-backdrop-left,
  .home-hero-backdrop-right {
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .home-hero-backdrop-left {
    left: 0;
    width: calc(100% * 58 / 111);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(12, 16, 23, 0.82) 62%, rgba(0, 0, 0, 0.44) 86%, rgba(0, 0, 0, 0) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

  .home-hero-backdrop-right {
    left: calc(100% * 58 / 111);
    right: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 232, 208, 0.23) 0%, rgba(112, 86, 100, 0.34) 100%);
  }

  .home-hero-backdrop-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image-png) center/cover no-repeat;
    background: var(--hero-image) center/cover no-repeat;
  }

  .home-hero-backdrop-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      rgba(0, 0, 0, 0.05) 2px 4px
    );
    opacity: 0.16;
  }

  .left-panel {
    background: transparent;
    border-right: 0;
  }

  .right-panel {
    background: transparent;
  }

  .right-panel::before,
  .right-panel::after {
    display: none;
  }
}

@media (min-width: 1181px) {
  .hero-heading-row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
  }

  .hero-heading-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-logo-badge {
    display: block;
    flex: 0 0 clamp(120px, 11vw, 150px);
    width: clamp(120px, 11vw, 150px);
    margin-top: 8px;
    border-radius: 24px;
    border: 1px solid rgba(214, 238, 255, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 22, 30, 0.18) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 18px 32px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    opacity: 0;
    animation: heroLogoReveal 0.8s cubic-bezier(0.18, 0.82, 0.22, 1) 0.28s both;
  }

  .hero-logo-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
  }
}

@media (max-width: 1053px) and (min-width: 921px) {
  .cards-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .server-card,
  .players-card {
    width: calc(100% - 10px);
    min-width: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 10px;
  }
}

@media (max-width: 1200px) {
  .top-strip {
    height: auto;
    margin: 8px 10px 0;
    padding: 10px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .header-left {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .header-right {
    order: 2;
    width: auto;
    flex: 0 0 auto;
  }

  .header-nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .header-nav-btn {
    min-height: 36px;
    padding: 9px 7px;
    border-radius: 9px;
    font-size: 9px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-home-btn {
    padding: 9px 10px;
    font-size: 8px;
    border-radius: 9px;
  }

  .logo-placeholder {
    width: 40px;
    height: 40px;
  }

  .social-button,
  .discord-button {
    margin-right: 0;
    padding: 8px 10px;
    font-size: 8px;
    border-radius: 10px;
    gap: 6px;
  }

  .social-icon,
  .discord-icon {
    width: 13px;
    height: 13px;
  }

  .social-button--tiktok .social-icon {
    width: 11px;
    height: 11px;
    transform: translateY(-0.5px);
  }
}

@media (max-width: 920px) {
  :root {
    --header-offset: 200px;
  }

  body {
    background:
      radial-gradient(circle at 18% 14%, rgba(123, 213, 161, 0.14) 0%, rgba(123, 213, 161, 0) 26%),
      radial-gradient(circle at 84% 12%, rgba(125, 191, 235, 0.14) 0%, rgba(125, 191, 235, 0) 24%),
      linear-gradient(180deg, #081116 0%, #10211a 42%, #1a3024 100%);
  }

  .top-strip {
    height: auto;
    margin: 8px 10px 0;
    padding: 10px;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .header-left {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .header-right {
    order: 2;
    width: auto;
    flex: 0 0 auto;
  }

  .header-nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .header-nav-btn {
    min-height: 36px;
    padding: 9px 7px;
    border-radius: 9px;
    font-size: 9px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-home-btn {
    padding: 9px 10px;
    font-size: 8px;
    border-radius: 9px;
  }

  .logo-placeholder {
    width: 40px;
    height: 40px;
  }

  .social-button,
  .discord-button {
    margin-right: 0;
    padding: 8px 10px;
    font-size: 8px;
    border-radius: 10px;
    gap: 6px;
  }

  .social-icon,
  .discord-icon {
    width: 13px;
    height: 13px;
  }

  .social-button--tiktok .social-icon {
    width: 11px;
    height: 11px;
    transform: translateY(-0.5px);
  }

  .hero {
    flex-direction: column;
    min-height: calc(100vh - var(--header-offset));
    padding: 16px 14px 16px;
    gap: 16px;
  }

  .page-blank {
    min-height: calc(100vh - var(--header-offset));
  }

  .right-panel {
    order: 1;
    min-height: 38vh;
    border-radius: 14px;
    overflow: hidden;
  }

  .right-panel::before {
    top: 0;
  }

  .left-panel {
    order: 2;
    flex-basis: auto;
    border-right: 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(12, 16, 23, 0.86) 72%, rgba(10, 14, 20, 0.9) 100%);
  }

  .content {
    max-width: 100%;
    height: auto;
    padding: 20px 18px 20px;
  }

  h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
  }

  .subtitle {
    margin: 10px 0 20px;
    font-size: 22px;
    line-height: 1.15;
  }

  .cards-row {
    margin-top: 20px;
    gap: 16px;
    flex-direction: column;
  }

  .server-card,
  .players-card {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 16px 18px;
  }

  .players-card {
    min-height: 160px;
  }

  .players-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .about-card {
    margin-top: 22px;
    padding: 16px 18px;
  }

  .about-card h3 {
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .about-card p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .about-card p:last-child {
    margin-bottom: 0;
  }

  .news-card {
    margin-top: 18px;
  }

  .news-placeholder {
    min-height: 110px;
    margin-top: 12px;
    font-size: 12px;
  }

@media (max-width: 1200px) and (min-width: 921px) {
  .content {
    padding: 60px 24px 24px 24px;
  }

  h1 {
    font-size: 42px;
    margin: 0;
  }

  .subtitle {
    font-size: 28px;
    margin: 8px 0 18px 0;
  }

  .cards-row {
    margin-top: 32px;
    gap: 14px;
  }

  .server-card,
  .players-card {
    width: 100%;
    min-width: 0;
  }

  .about-card {
    margin-top: 20px;
  }

  .home-news-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-page,
  .admin-wrap {
    padding: 12px 10px 16px;
  }

  .content-shell,
  .admin-shell {
    padding: 12px;
    border-radius: 12px;
  }

  .content-head h1,
  .admin-head h1 {
    font-size: 16px;
    margin: 0;
  }

  .subpage-body .content-head h1,
  .subpage-body .admin-head h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card img {
    height: 170px;
  }

  .photo-lightbox {
    padding: 12px;
  }

  .photo-lightbox-content {
    max-width: 96vw;
    max-height: 82vh;
  }

  .photo-lightbox-content img {
    max-width: 96vw;
    max-height: 82vh;
  }

  .photo-lightbox-close {
    width: 38px;
    height: 38px;
    top: 0;
    right: 0;
    font-size: 10px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-guides-head,
  .admin-guide-preview-head,
  .admin-guide-section-bar,
  .admin-guide-item-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-guides-grid,
  .admin-guide-preview-grid,
  .admin-guide-preview-layout,
  .admin-guide-section-form,
  .admin-guide-editor {
    grid-template-columns: 1fr;
  }

  .admin-photo-item,
  .admin-news-item {
    flex-direction: column;
  }

  .admin-photo-item img {
    width: 100%;
    height: 180px;
  }

  .copy-ip-btn {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .copy-feedback {
    right: 0;
    bottom: calc(100% + 6px);
    padding: 5px 7px;
    font-size: 8px;
  }

  .copy-icon {
    width: 10px;
    height: 10px;
  }

  .glass-card .server-title {
    margin: 0 0 8px 0;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .server-row {
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .server-row:last-child {
    margin-bottom: 0;
  }

  .server-label {
    font-size: 12px;
    font-weight: 600;
  }

  .server-value {
    font-size: 13px;
  }

  .info-page {
    padding: 12px 10px 16px;
  }

  .info-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .info-card {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .info-card h2 {
    font-size: 9px;
    margin-bottom: 8px;
  }

  .subpage-body .info-card h2,
  .subpage-body .rules-card h2,
  .subpage-body .admin-card h2,
  .subpage-body .admin-card h3,
  .subpage-body .news-item-head h2 {
    font-size: 13px;
    line-height: 1.35;
  }

  .info-card p,
  .info-list li,
  .info-meta,
  .info-pill {
    font-size: 10px;
  }

  .subpage-body .info-card p,
  .subpage-body .info-list li,
  .subpage-body .rules-intro,
  .subpage-body .rules-sub,
  .subpage-body .rules-list li,
  .subpage-body .news-item p,
  .subpage-body .photo-card-meta p,
  .subpage-body .content-head p,
  .subpage-body .admin-head p,
  .subpage-body .empty-state,
  .subpage-body .flash-item,
  .subpage-body .lockout-note,
  .subpage-body .admin-login input,
  .subpage-body .admin-card input,
  .subpage-body .admin-card textarea {
    font-size: 14px;
    line-height: 1.6;
  }

  .subpage-body .info-meta,
  .subpage-body .info-pill,
  .subpage-body .rules-penalty,
  .subpage-body .rules-pill,
  .subpage-body .photo-card-meta time,
  .subpage-body .news-item-head time,
  .subpage-body .admin-login span,
  .subpage-body .admin-card form span {
    font-size: 12px;
    line-height: 1.45;
  }

  .info-image-placeholder {
    min-height: 90px;
    font-size: 9px;
  }

  .rules-page {
    padding: 12px 10px 16px;
  }

  .rules-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .rules-card {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .rules-card--wide {
    width: 100%;
  }

  .rules-card h1 {
    font-size: 10px;
  }

  .subpage-body .rules-card h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .rules-card h2 {
    font-size: 9px;
  }

  .rules-intro,
  .rules-sub,
  .rules-list li,
  .rules-penalty,
  .rules-pill {
    font-size: 10px;
  }

  .subpage-body .admin-login button,
  .subpage-body .admin-card button {
    font-size: 11px;
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .info-grid {
    column-count: 1;
  }

  .rules-grid {
    column-count: 1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .header-nav {
    gap: 9px;
  }

  .header-nav-btn {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 10px;
  }

  .subpage-body .content-page,
  .subpage-body .admin-wrap,
  .subpage-body .info-page,
  .subpage-body .rules-page {
    padding: 16px 10px 20px;
  }

  .admin-guides-stats {
    grid-template-columns: 1fr;
  }

  .admin-inline-actions form,
  .admin-form-actions button,
  .admin-inline-link,
  .secondary-btn {
    width: 100%;
  }

  .subpage-body .content-shell,
  .subpage-body .admin-shell,
  .subpage-body .info-card,
  .subpage-body .rules-card {
    padding: 14px;
  }

  .subpage-body .content-head h1,
  .subpage-body .admin-head h1,
  .subpage-body .rules-card h1 {
    font-size: 24px;
  }

  .subpage-body .info-card h2,
  .subpage-body .rules-card h2,
  .subpage-body .admin-card h2,
  .subpage-body .admin-card h3,
  .subpage-body .news-item-head h2 {
    font-size: 14px;
  }

  .subpage-body .info-card p,
  .subpage-body .info-list li,
  .subpage-body .rules-intro,
  .subpage-body .rules-sub,
  .subpage-body .rules-list li,
  .subpage-body .news-item p,
  .subpage-body .photo-card-meta p,
  .subpage-body .content-head p,
  .subpage-body .admin-head p,
  .subpage-body .empty-state,
  .subpage-body .flash-item,
  .subpage-body .lockout-note,
  .subpage-body .admin-login input,
  .subpage-body .admin-card input,
  .subpage-body .admin-card textarea {
    font-size: 15px;
    line-height: 1.65;
  }

  .subpage-body .info-meta,
  .subpage-body .info-pill,
  .subpage-body .rules-penalty,
  .subpage-body .rules-pill,
  .subpage-body .photo-card-meta time,
  .subpage-body .news-item-head time,
  .subpage-body .admin-login span,
  .subpage-body .admin-card form span {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 500px) {
  .content {
    padding: 18px 14px 16px;
  }

  h1 {
    font-size: 32px;
    margin: 0;
    line-height: 1.1;
  }

  .subtitle {
    margin: 8px 0 16px;
    font-size: 20px;
    line-height: 1.2;
  }

  .cards-row {
    margin-top: 16px;
    gap: 12px;
    flex-direction: column;
  }

  .server-card,
  .players-card {
    width: 100%;
    min-width: 0;
    padding: 14px 14px;
  }

  .glass-card .server-title {
    margin: 0 0 6px 0;
    font-size: 11px;
    line-height: 1.2;
  }

  .server-row {
    padding: 9px 11px;
    margin-bottom: 6px;
    gap: 8px;
  }

  .server-label {
    font-size: 10px;
    flex-shrink: 0;
  }

  .server-value {
    font-size: 13px;
  }

  .copy-ip-btn {
    width: 18px;
    height: 18px;
  }

  .copy-icon {
    width: 9px;
    height: 9px;
  }

  .about-card {
    margin-top: 14px;
    padding: 12px 14px;
  }

  .about-card h3 {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .about-card p {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .news-card {
    margin-top: 12px;
  }
}

@media (max-width: 380px) {
  .header-nav {
    gap: 6px;
  }

  .header-nav-btn {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 8px;
    line-height: 1.05;
  }

  .header-home-btn {
    padding: 8px 8px;
    font-size: 7px;
  }

  .social-button,
  .discord-button {
    padding: 7px 8px;
    font-size: 7px;
    gap: 5px;
  }
}

}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  margin: 0 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(100, 180, 240, 0.7);
  background: linear-gradient(160deg, #2d5fa8 0%, #1a3d6e 52%, #0f2847 100%);
  backdrop-filter: blur(8px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -6px 16px rgba(0, 20, 50, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.footer-site-name {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #d8ecff;
  line-height: 1;
}

.footer-site-desc {
  font-size: 9px;
  color: rgba(190, 220, 245, 0.48);
  line-height: 1;
}

.footer-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-contact-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(190, 220, 245, 0.48);
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.footer-email {
  font-size: 11px;
  color: #82c4e8;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  transition: color 0.18s;
}

.footer-email:hover {
  color: #b4dcf4;
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  font-size: 9px;
  color: rgba(190, 220, 245, 0.32);
  line-height: 1.45;
}

@media (min-width: 921px) {
  .site-footer {
    margin: 0 24px 16px;
    border-radius: 18px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 32px;
    padding: 16px 24px;
    align-items: center;
  }

  .footer-brand {
    flex-shrink: 0;
  }

  .footer-toggle {
    flex-shrink: 0;
    justify-self: end;
  }

  .footer-center {
    flex: 1;
    min-width: 0;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .footer-contact-row {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  .footer-legal {
    position: static;
    max-width: 640px;
    text-align: left;
    font-size: 8px;
    color: rgba(150, 190, 230, 0.35);
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin: 0 12px 8px;
    border-radius: 12px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
  }

  .footer-brand {
    flex: 0 0 auto;
    gap: 3px;
  }

  .footer-site-name {
    font-size: 8px;
  }

  .footer-site-desc {
    font-size: 7px;
  }

  .footer-center {
    flex: 1 1 100%;
    gap: 12px;
    flex-direction: column;
  }

  .footer-contact-row {
    gap: 6px;
  }

  .footer-contact-label {
    font-size: 8px;
    letter-spacing: 0.4px;
  }

  .footer-email {
    font-size: 10px;
  }

  .footer-legal {
    position: static;
    margin: 0;
    font-size: 8px;
    max-width: none;
    text-align: left;
    color: rgba(150, 190, 230, 0.32);
  }

  .footer-toggle {
    flex-shrink: 0;
    font-size: 7px;
    padding: 8px 10px;
  }
}

@media (max-width: 380px) {
  .site-footer {
    margin: 0 8px 6px;
    border-radius: 10px;
  }

  .footer-inner {
    padding: 10px 10px;
    gap: 8px;
  }

  .footer-brand {
    flex: 0 0 auto;
    gap: 2px;
  }

  .footer-site-name {
    font-size: 7px;
  }

  .footer-site-desc {
    font-size: 6px;
  }

  .footer-contact-label {
    font-size: 7px;
  }

  .footer-email {
    font-size: 9px;
  }

  .footer-legal {
    font-size: 7px;
    line-height: 1.4;
  }

  .footer-toggle {
    font-size: 5px;
    padding: 6px 8px;
  }
}

/* ============================
   LITE / HTML MODE
   Page reloads on toggle so the class is always applied
   before CSS, ensuring no flash and full style coverage.
   ============================ */

html.lite-mode body {
  background: #eef1f0 !important;
  color: #1c1c1c !important;
  font-family: Georgia, "Times New Roman", Times, serif !important;
}

/* Kill animated background layers */
html.lite-mode body::before,
html.lite-mode body::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

html.lite-mode .info-page-body::before,
html.lite-mode .rules-page-body::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

html.lite-mode .home-hero-backdrop,
html.lite-mode .home-hero-backdrop::before,
html.lite-mode .home-hero-backdrop::after,
html.lite-mode .home-hero-backdrop-left,
html.lite-mode .home-hero-backdrop-right,
html.lite-mode .home-hero-backdrop-right::before,
html.lite-mode .home-hero-backdrop-right::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

html.lite-mode .hero-logo-badge {
  display: none !important;
  opacity: 0 !important;
}

/* Kill all animations and transitions site-wide */
html.lite-mode *,
html.lite-mode *::before,
html.lite-mode *::after {
  animation: none !important;
  transition: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* ── Header ───────────────────────────────── */
html.lite-mode .top-strip {
  height: auto !important;
  background: #1c3650 !important;
  border: none !important;
  border-bottom: 2px solid #2e5a7a !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 8px 14px !important;
}

html.lite-mode .header-nav-btn {
  background: #254a66 !important;
  border: 1px solid #3a6a8e !important;
  border-radius: 3px !important;
  color: #cce4f7 !important;
  font-size: 9px !important;
}

html.lite-mode .header-nav-btn--disabled {
  background: none !important;
  border-color: #2a4055 !important;
  color: rgba(140, 175, 200, 0.45) !important;
}

html.lite-mode .header-home-btn {
  background: #254a66 !important;
  border: 1px solid #3a6a8e !important;
  border-radius: 3px !important;
  color: #cce4f7 !important;
}

html.lite-mode .footer-toggle {
  background: #254a66 !important;
  border-color: #3a6a8e !important;
  color: #cce4f7 !important;
  border-radius: 3px !important;
  font-family: "Courier New", Courier, monospace !important;
  font-size: 10px !important;
}

html.lite-mode .social-button,
html.lite-mode .discord-button {
  background: #254a66 !important;
  border: 1px solid #3a6a8e !important;
  border-radius: 3px !important;
  color: #cce4f7 !important;
  font-size: 9px !important;
}

html.lite-mode .logo-placeholder {
  background: transparent !important;
}

/* ── Hero page ────────────────────────────── */
html.lite-mode .hero {
  min-height: 0 !important;
  display: block !important;
}

html.lite-mode .left-panel {
  background: none !important;
  border: none !important;
  flex-basis: auto !important;
  width: 100% !important;
}

html.lite-mode .right-panel {
  display: none !important;
}

html.lite-mode .content {
  padding: 20px 16px !important;
  height: auto !important;
  overflow: visible !important;
}

html.lite-mode h1 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 34px !important;
  color: #1c1c1c !important;
  opacity: 1 !important;
  border-bottom: 2px solid #1c3650 !important;
  padding-bottom: 6px !important;
  margin-bottom: 6px !important;
}

html.lite-mode .subtitle {
  font-family: Georgia, serif !important;
  font-size: 15px !important;
  color: #555 !important;
  opacity: 1 !important;
  margin-bottom: 16px !important;
}

/* ── Connection + Players cards ───────────── */
html.lite-mode .cards-row {
  flex-direction: column !important;
  gap: 0 !important;
  margin-top: 0 !important;
  opacity: 1 !important;
}

html.lite-mode .glass-card {
  background: #ffffff !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  margin-bottom: 10px !important;
  padding: 12px 14px !important;
}

html.lite-mode .glass-card .server-title {
  font-family: "Courier New", Courier, monospace !important;
  color: #1c3650 !important;
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 6px !important;
  margin-bottom: 8px !important;
}

html.lite-mode .server-row {
  background: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
}

html.lite-mode .server-label {
  color: #555 !important;
  font-family: "Courier New", Courier, monospace !important;
}

html.lite-mode .server-value {
  color: #1c1c1c !important;
  font-family: "Courier New", Courier, monospace !important;
}

html.lite-mode .players-card h2 {
  color: #1c3650 !important;
  font-family: "Courier New", Courier, monospace !important;
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 6px !important;
}

html.lite-mode .players-online-text {
  color: #1c1c1c !important;
  font-family: "Courier New", Courier, monospace !important;
}

html.lite-mode .copy-ip-btn {
  background: #e0e0e0 !important;
  border: 1px solid #aaa !important;
  border-radius: 3px !important;
  color: #333 !important;
}

/* ── About + News on home page ────────────── */
html.lite-mode .about-card h3,
html.lite-mode .news-card h3 {
  color: #1c3650 !important;
  font-family: Georgia, serif !important;
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 4px !important;
}

html.lite-mode .about-card p {
  color: #2a2a2a !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .home-news-item {
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}

html.lite-mode .home-news-head h4 {
  color: #1c3650 !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .home-news-head time {
  color: #777 !important;
}

/* ── Info & Rules pages ───────────────────── */
html.lite-mode .info-page,
html.lite-mode .rules-page {
  min-height: 0 !important;
}

html.lite-mode .info-grid,
html.lite-mode .rules-grid {
  column-count: 1 !important;
}

html.lite-mode .info-card,
html.lite-mode .rules-card {
  background: #ffffff !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

html.lite-mode .info-card h2,
html.lite-mode .rules-card h1,
html.lite-mode .rules-card h2 {
  color: #1c3650 !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .info-card p,
html.lite-mode .info-list li,
html.lite-mode .rules-intro,
html.lite-mode .rules-sub,
html.lite-mode .rules-list li {
  color: #2a2a2a !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .info-meta {
  background: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
}

html.lite-mode .info-meta span { color: #555 !important; }
html.lite-mode .info-meta strong { color: #1c1c1c !important; }

html.lite-mode .info-pill,
html.lite-mode .rules-pill {
  background: #e8e8e8 !important;
  border: 1px solid #bbb !important;
  color: #333 !important;
  border-radius: 3px !important;
}

html.lite-mode .rules-penalty {
  background: #fff0f0 !important;
  border: 1px solid #dfa0a0 !important;
  color: #7a1e1e !important;
}

/* ── Content pages (News, Photos) ─────────── */
html.lite-mode .content-head h1 {
  color: #1c1c1c !important;
  font-family: Georgia, serif !important;
  opacity: 1 !important;
}

html.lite-mode .content-head p {
  color: #555 !important;
  font-family: Georgia, serif !important;
  opacity: 1 !important;
}

html.lite-mode .news-item {
  background: #ffffff !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

html.lite-mode .news-item h2 { color: #1c3650 !important; font-family: Georgia, serif !important; }
html.lite-mode .news-item p  { color: #2a2a2a !important; font-family: Georgia, serif !important; }
html.lite-mode .news-item time { color: #777 !important; }

html.lite-mode .photo-card {
  background: #ffffff !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

html.lite-mode .photo-card-meta p    { color: #2a2a2a !important; font-family: Georgia, serif !important; }
html.lite-mode .photo-card-meta time { color: #777 !important; }

html.lite-mode .load-more-btn {
  background: #254a66 !important;
  border: 1px solid #3a6a8e !important;
  border-radius: 3px !important;
  color: #cce4f7 !important;
}

/* ── Guides pages in lite mode ───────────── */
html.lite-mode .guides-hub-hero,
html.lite-mode .guide-hero,
html.lite-mode .guides-empty-card,
html.lite-mode .guide-card,
html.lite-mode .guide-article-card,
html.lite-mode .guide-side-card,
html.lite-mode .guides-stat-card {
  background: #ffffff !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

html.lite-mode .guides-hub-copy h1,
html.lite-mode .guide-hero h1,
html.lite-mode .guides-cluster-head h2,
html.lite-mode .guide-card h3,
html.lite-mode .guide-article-card h2,
html.lite-mode .guide-side-card h2,
html.lite-mode .guides-empty-card h2 {
  color: #1c3650 !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .guides-hub-copy p,
html.lite-mode .guide-lead,
html.lite-mode .guides-cluster-head p,
html.lite-mode .guide-card p,
html.lite-mode .guide-article-card p,
html.lite-mode .guide-section-list li,
html.lite-mode .guide-outline-list a,
html.lite-mode .guide-related-link span,
html.lite-mode .guides-empty-card p {
  color: #2a2a2a !important;
  font-family: Georgia, serif !important;
}

html.lite-mode .guides-stat-value,
html.lite-mode .guide-card-link,
html.lite-mode .guide-related-link strong {
  color: #1c3650 !important;
}

html.lite-mode .guides-stat-label {
  color: #555 !important;
}

html.lite-mode .guides-jump-link,
html.lite-mode .guide-back-link,
html.lite-mode .guide-outline-list a,
html.lite-mode .guide-related-link {
  background: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  color: #1c1c1c !important;
}

html.lite-mode .guide-card-chip,
html.lite-mode .guide-card-time,
html.lite-mode .guide-section-label,
html.lite-mode .guide-meta-chip {
  background: #e8e8e8 !important;
  border: 1px solid #bbb !important;
  border-radius: 3px !important;
  color: #333 !important;
}

html.lite-mode .guide-card-link::after {
  color: #555 !important;
}

/* ── Footer in lite mode ──────────────────── */
html.lite-mode .site-footer {
  background: #1c3650 !important;
  border: none !important;
  border-top: 2px solid #2e5a7a !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

html.lite-mode .footer-site-name { color: #cce4f7 !important; }
html.lite-mode .footer-site-desc { color: rgba(160, 200, 230, 0.65) !important; }
html.lite-mode .footer-contact-label { color: rgba(160, 200, 230, 0.65) !important; }
html.lite-mode .footer-email { color: #70bce0 !important; }
html.lite-mode .footer-legal { color: rgba(160, 200, 230, 0.45) !important; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .photo-grid .photo-card,
  .news-list .news-item {
    opacity: 1 !important;
  }
}

