/* RELOAD23 Platform v2 — content pages
   servers.html, news.html, article.html, download.html, faq.html, rules.html, legal.html
   Builds on tokens.css + platform.css. Only page-level components live here. */

/* =========================================================
   0. Shared shell
   ========================================================= */
.content-page {
  padding-bottom: clamp(40px, 6vw, 72px);
}

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

.content-page :where(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--brand-hi);
  outline-offset: 3px;
}

/* =========================================================
   1. Page hero & breadcrumbs
   ========================================================= */
.page-hero {
  position: relative;
  padding: clamp(34px, 5vw, 62px) 0 clamp(26px, 3.5vw, 40px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(800px 360px at 84% -20%, rgba(124, 194, 66, 0.14), transparent 65%),
    radial-gradient(620px 320px at 4% 8%, rgba(124, 194, 66, 0.11), transparent 62%),
    linear-gradient(180deg, var(--st-bg) 0%, var(--st-bg-deep) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--brand-hi);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero .eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.page-hero h1 {
  margin: 0 0 14px;
  max-width: 22ch;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .lead {
  max-width: 70ch;
  margin: 0;
  color: var(--text-dim);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}

.page-hero .lead a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}

.crumbs {
  margin: 0 0 18px;
  font-size: 0.82rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.crumbs li + li::before {
  content: "/";
  color: var(--muted-2);
}

.crumbs a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.crumbs a:hover {
  color: var(--steam-blue);
}

.crumbs [aria-current="page"] {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-section {
  padding: clamp(30px, 4.4vw, 52px) 0 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

.section-head h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.section-head p {
  margin: 6px 0 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head .meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(154, 223, 90, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(154, 223, 90, 0.06);
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.55;
}

.note svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand-hi);
}

.note strong {
  color: var(--text);
}

.note a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

/* =========================================================
   2. Servers catalog
   ========================================================= */
.live-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
  margin: clamp(22px, 3vw, 30px) 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(124, 194, 66, 0.08), transparent),
    rgba(22, 32, 45, 0.86);
  overflow: hidden;
}

.live-cell {
  display: grid;
  gap: 4px;
  padding: 18px clamp(16px, 2.4vw, 26px);
  border-right: 1px solid var(--border);
}

.live-cell-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-cell-value {
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.live-cell-value small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  margin: 16px 20px;
  padding: 7px 12px;
  border: 1px solid rgba(76, 175, 80, 0.35);
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.16);
  animation: r23-pulse 2.6s ease-in-out infinite;
}

@keyframes r23-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.14); }
  50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.06); }
}

.catalog {
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(22, 32, 45, 0.7);
}

.catalog-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-box .input {
  padding-left: 42px;
  padding-right: 42px;
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(124, 194, 66, 0.1);
  color: var(--muted);
}

.search-clear:hover {
  color: var(--text);
  background: rgba(124, 194, 66, 0.2);
}

.seg {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--st-bg-deep);
}

.seg button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.seg button:hover {
  color: var(--text);
}

.seg button[aria-pressed="true"] {
  background: rgba(124, 194, 66, 0.14);
  color: var(--steam-blue);
}

.mode-chips {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mode-chips::-webkit-scrollbar {
  display: none;
}

.mode-chips .chip {
  flex: 0 0 auto;
}

.chip-count {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 500;
}

.chip.is-active .chip-count {
  color: rgba(154, 223, 90, 0.75);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 18px 0 12px;
}

.results-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.results-count strong {
  color: var(--text);
  font-weight: 600;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--steam-blue);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--brand-hi);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 18px);
}

.server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--st-bg-soft) 100%);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.server-card:hover,
.server-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(124, 194, 66, 0.45);
  box-shadow: var(--shadow-2), 0 0 26px rgba(124, 194, 66, 0.12);
}

.server-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel-3), var(--st-bg-deep));
}

.server-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 650ms var(--ease), opacity var(--t-med) var(--ease);
}

.server-card:hover .server-art img {
  transform: scale(1.045);
  opacity: 1;
}

.server-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.08) 35%, rgba(23, 26, 33, 0.82) 100%);
  pointer-events: none;
}

.server-art-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.server-mode {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(7, 10, 15, 0.78);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.server-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.server-status.is-online {
  border: 1px solid rgba(76, 175, 80, 0.45);
  background: rgba(15, 40, 22, 0.82);
  color: #7ee08a;
}

.server-status.is-maintenance {
  border: 1px solid rgba(154, 223, 90, 0.45);
  background: rgba(42, 30, 8, 0.82);
  color: var(--brand-hi);
}

.server-status.is-offline {
  border: 1px solid rgba(217, 65, 38, 0.5);
  background: rgba(42, 13, 10, 0.82);
  color: #ff8a7a;
}

.server-card.is-muted .server-art img {
  filter: grayscale(0.75) brightness(0.72);
}

.server-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 15px 17px 17px;
}

.server-name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-name a {
  color: var(--text);
  text-decoration: none;
}

.server-name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.server-card:hover .server-name a {
  color: var(--brand-hi);
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.server-meta .dot {
  color: var(--muted-2);
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.server-tags li {
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.fill-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(124, 194, 66, 0.14);
  overflow: hidden;
}

.fill-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--steam-blue), var(--brand));
}

.server-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}

.server-players {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.server-players span {
  color: var(--muted);
  font-weight: 400;
}

.server-ping {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.server-ping::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.server-ping.ping-good {
  color: #7ee08a;
}

.server-ping.ping-mid {
  color: var(--brand-hi);
}

.server-ping.ping-bad {
  color: #ff8a7a;
}

.server-connect {
  position: relative;
  z-index: 4;
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(124, 194, 66, 0.32);
  background: rgba(124, 194, 66, 0.09);
  color: var(--brand-hi);
  font-size: 0.74rem;
}

.server-connect:hover {
  border-color: transparent;
  background: var(--brand);
  color: #10200a;
}

.server-connect.is-disabled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  opacity: 1;
  filter: none;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.data-table caption {
  padding: 12px 14px 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: left;
}

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

.data-table thead th {
  background: var(--st-bg-deep);
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.data-table .cell-name {
  color: var(--text);
  font-weight: 500;
  min-width: 190px;
}

.data-table .cell-name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.data-table .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.table-actions {
  text-align: right;
}

.loading-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 56px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(124, 194, 66, 0.25);
  border-top-color: var(--steam-blue);
  border-radius: 50%;
  animation: r23-spin 0.8s linear infinite;
}

@keyframes r23-spin {
  to { transform: rotate(360deg); }
}

.empty-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 50px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-block .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(124, 194, 66, 0.08);
  color: var(--steam-blue);
}

.empty-block h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.empty-block p {
  margin: 0 0 10px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.88rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  margin-top: 16px;
}

.help-step {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.help-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border: 1px solid rgba(124, 194, 66, 0.4);
  border-radius: 8px;
  background: rgba(124, 194, 66, 0.1);
  color: var(--steam-blue);
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
}

.help-step h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}

.help-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.help-step a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

/* =========================================================
   3. News
   ========================================================= */
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-bottom: 20px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.news-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--st-bg-soft) 100%);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(124, 194, 66, 0.38);
  box-shadow: var(--shadow-1);
}

.news-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 140px;
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 85% 0%, rgba(255, 255, 255, 0.24), transparent 55%),
    linear-gradient(135deg, var(--nc-1, #7cc242) 0%, var(--nc-2, #3a5f18) 100%);
}

.news-card[data-accent="orange"] { --nc-1: #7cc242; --nc-2: #2f4a16; }
.news-card[data-accent="blue"]   { --nc-1: #7cc242; --nc-2: #1b4a6b; }
.news-card[data-accent="green"]  { --nc-1: #3ddc84; --nc-2: #134a32; }

.news-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 10, 15, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 10, 15, 0.24) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
}

.news-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0) 30%, rgba(7, 10, 15, 0.72) 100%);
}

.news-cover-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
}

.news-cover-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.76);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-index {
  color: rgba(7, 10, 15, 0.6);
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4.4vw, 2.9rem);
  font-weight: 700;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.news-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  padding: 17px 18px 18px;
}

.news-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}

.news-title a {
  color: var(--text);
  text-decoration: none;
}

.news-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.news-title a:hover {
  color: var(--steam-blue);
}

.news-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.news-foot time {
  color: var(--muted);
}

.news-more {
  color: var(--steam-blue);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card:hover .news-more {
  color: var(--brand-hi);
}

.news-empty {
  padding: 46px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.news-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

/* =========================================================
   4. Article
   ========================================================= */
.article-hero {
  padding-bottom: clamp(20px, 3vw, 30px);
}

.article-hero h1 {
  max-width: 26ch;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta .tag {
  flex: 0 0 auto;
}

.article-meta .sep {
  color: var(--muted-2);
}

.article-cover {
  position: relative;
  margin: clamp(20px, 3vw, 30px) 0 0;
  aspect-ratio: 21 / 8;
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 82% 0%, rgba(255, 255, 255, 0.32), transparent 55%),
    linear-gradient(135deg, #7cc242 0%, #3a5f18 58%, #16210d 100%);
  box-shadow: var(--shadow-2);
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 10, 15, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 10, 15, 0.28) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.6;
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.02) 20%, rgba(7, 10, 15, 0.82) 100%);
}

.article-cover-mark {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 4vw, 40px);
  bottom: clamp(16px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-cover-mark strong {
  color: #fff;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-cover-mark span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
  padding-top: clamp(26px, 4vw, 40px);
}

.article-body {
  max-width: 72ch;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.78;
}

.article-body > p {
  margin: 0 0 1.2em;
}

.article-body > p:first-child {
  color: var(--text);
  font-size: 1.08rem;
}

.article-body h2 {
  margin: 1.8em 0 0.65em;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.article-body ul {
  margin: 0 0 1.3em;
  padding-left: 1.2em;
  list-style: disc;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body li::marker {
  color: var(--brand);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

.article-quote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(124, 194, 66, 0.06);
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-quote footer {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 14px;
}

.aside-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.aside-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-list li + li {
  border-top: 1px solid var(--border);
}

.related-list a {
  display: block;
  padding: 10px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.related-list li:first-child a {
  padding-top: 0;
}

.related-list li:last-child a {
  padding-bottom: 0;
}

.related-list a:hover {
  color: var(--brand-hi);
}

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

.aside-cta {
  padding: 18px;
  border: 1px solid rgba(124, 194, 66, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(124, 194, 66, 0.16), transparent 65%),
    var(--panel);
}

.aside-cta h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
}

.aside-cta p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* =========================================================
   5. Download
   ========================================================= */
.dl-tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--st-bg-deep);
  overflow-x: auto;
  scrollbar-width: none;
}

.dl-tabs::-webkit-scrollbar {
  display: none;
}

.dl-version {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: end;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--st-bg-deep);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dl-version strong {
  color: var(--brand-hi);
  font-family: var(--font-head);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.dl-panels {
  min-width: 0;
}

.dl-tab {
  flex: 1 0 auto;
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.dl-tab:hover {
  color: var(--text);
}

.dl-tab[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--brand-hi);
  box-shadow: inset 0 0 0 1px rgba(124, 194, 66, 0.4);
}

.dl-tab small {
  margin-left: 5px;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.dl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  margin-top: 20px;
}

.dl-card {
  position: relative;
  padding: clamp(22px, 3.2vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 220px at 92% -20%, rgba(124, 194, 66, 0.16), transparent 65%),
    linear-gradient(180deg, var(--panel) 0%, var(--st-bg-soft) 100%);
  overflow: hidden;
}

.dl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
}

.dl-card > * {
  position: relative;
  z-index: 1;
}

.dl-platform {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dl-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(124, 194, 66, 0.35);
  border-radius: 10px;
  background: rgba(124, 194, 66, 0.1);
  color: var(--steam-blue);
}

.dl-platform small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dl-platform strong {
  display: block;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
}

.dl-card h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.dl-card .dl-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.dl-file {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}

.dl-file dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dl-file dd {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.dl-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(154, 223, 90, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(154, 223, 90, 0.07);
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
}

.dl-status:empty {
  display: none;
}

.dl-side {
  display: grid;
  gap: 14px;
}

.side-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.side-panel h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-panel .side-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

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

.mirror-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--st-bg-deep);
}

.mirror-name {
  min-width: 0;
}

.mirror-name strong {
  display: block;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
}

.mirror-name span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.mirror-list button {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124, 194, 66, 0.08);
  color: var(--steam-blue);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.mirror-list button:hover {
  border-color: var(--brand);
  color: var(--brand-hi);
}

.hash-box {
  margin: 0;
}

.hash-box code {
  display: block;
  margin-bottom: 8px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--st-bg-deep);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hash-box button {
  width: 100%;
}

.hash-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border: 1px solid rgba(124, 194, 66, 0.42);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-hi);
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.trouble-list {
  display: grid;
  gap: 8px;
}

.trouble {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
}

.trouble summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.trouble summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1;
}

.trouble[open] summary::after {
  content: "−";
}

.trouble p {
  margin: 0;
  padding: 0 15px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* =========================================================
   6. FAQ
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 38px);
  align-items: start;
  padding-top: clamp(24px, 3.4vw, 38px);
}

.faq-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 14px;
}

.faq-search {
  display: grid;
  gap: 7px;
}

.faq-search label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-search .input {
  padding-left: 38px;
}

.faq-search .search-box svg {
  color: var(--muted);
}

.faq-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.faq-side .side-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  border-color: rgba(124, 194, 66, 0.38);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

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

.faq-q:hover {
  color: var(--brand-hi);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--accent-soft);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  padding: 0 18px 17px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-a p {
  margin: 0;
}

.faq-a p + p {
  margin-top: 7px;
}

.faq-a a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

.faq-a strong {
  color: var(--text-dim);
}

.faq-empty {
  padding: 36px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.faq-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
}

/* =========================================================
   7. Rules
   ========================================================= */
.rules-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 38px);
  align-items: start;
  padding-top: clamp(24px, 3.4vw, 38px);
}

.rules-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.rules-toc h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rules-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.rules-toc li {
  counter-increment: toc;
}

.rules-toc a {
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 4px;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.rules-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
}

.rules-toc a:hover,
.rules-toc a.is-active {
  color: var(--brand-hi);
  background: var(--accent-soft);
}

.rules-body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.rule-block {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.rule-block h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.rule-block h2 span {
  color: var(--brand);
  font-size: 0.72em;
}

.rule-block > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.rule-list {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.rule-list li + li {
  margin-top: 8px;
}

.rule-list li::marker {
  color: var(--brand);
}

.rule-list strong {
  color: var(--text);
  font-weight: 600;
}

.rule-list a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

.sanctions-table {
  min-width: 620px;
}

.sanctions-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.severity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.severity.is-low {
  background: rgba(124, 194, 66, 0.12);
  color: var(--steam-blue);
}

.severity.is-mid {
  background: rgba(154, 223, 90, 0.12);
  color: var(--brand-hi);
}

.severity.is-high {
  background: rgba(217, 65, 38, 0.14);
  color: #ff8a7a;
}

.appeal-box {
  display: grid;
  gap: 12px;
}

.appeal-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.appeal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================
   8. Legal
   ========================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  padding-top: clamp(24px, 3.4vw, 38px);
}

.legal-col {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.legal-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal-card h2 {
  margin: 0 0 9px;
  color: var(--text);
  font-family: var(--font-brand);
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.legal-card p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.legal-card strong {
  color: var(--text-dim);
  font-weight: 600;
}

.legal-card a {
  color: var(--steam-blue);
  text-underline-offset: 3px;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-card li::marker {
  color: var(--brand);
}

.legal-disclaimer {
  border-color: rgba(124, 194, 66, 0.4);
  background:
    radial-gradient(480px 200px at 100% 0%, rgba(124, 194, 66, 0.14), transparent 62%),
    var(--panel);
}

.legal-disclaimer p {
  color: var(--text-dim);
  font-size: 0.96rem;
}

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

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--st-bg-deep);
}

.contact-label {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--brand-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.mt-12 {
  margin-top: 12px;
}

.note.mt-16 {
  margin-top: 16px;
}

/* =========================================================
   9. Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .server-grid,
  .news-grid,
  .help-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .article-aside,
  .faq-side,
  .rules-toc {
    position: static;
  }

  .article-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .article-body {
    max-width: none;
  }

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

  .faq-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

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

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

  .filter-grid .btn {
    grid-column: 1 / -1;
  }

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

  .live-pill {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 18px 16px;
  }
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero h1 {
    max-width: none;
  }

  .server-grid,
  .news-grid,
  .help-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .news-cover {
    aspect-ratio: 21 / 8;
    min-height: 130px;
  }

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

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

  .article-cover {
    aspect-ratio: 16 / 9;
    min-height: 165px;
  }

  .faq-side {
    grid-template-columns: 1fr;
  }

  .faq-q {
    padding: 14px 15px;
    font-size: 0.9rem;
  }

  .faq-a {
    padding: 0 15px 15px;
  }

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

  .article-actions .btn {
    flex: 1 1 auto;
  }

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

  .live-cell:nth-child(2) {
    border-right: 0;
  }

  .live-cell:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-hero {
    padding-top: 26px;
  }

  .news-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-chips {
    gap: 6px;
  }

  .content-page .chip {
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .catalog {
    padding: 14px;
  }

  .catalog-row {
    align-items: stretch;
  }

  .seg {
    align-self: flex-start;
  }

  .live-cell {
    padding: 14px;
  }

  .live-cell-value {
    font-size: 1.6rem;
  }

  .dl-file {
    grid-template-columns: 1fr;
  }

  .dl-card {
    padding: 20px 16px;
  }

  .dl-tab {
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .dl-tab small {
    display: none;
  }

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

  .article-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .server-foot {
    flex-wrap: wrap;
  }

  .server-connect {
    width: 100%;
    margin-top: 2px;
  }

  .contact-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .live-strip {
    grid-template-columns: 1fr;
  }

  .live-cell {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .live-cell:nth-child(3) {
    border-top: 0;
  }

  .live-pill {
    margin: 12px 14px 14px;
  }

  .mode-chips .chip {
    font-size: 0.7rem;
  }

  .server-name {
    font-size: 1.12rem;
  }

  .news-body,
  .step,
  .rule-block,
  .legal-card {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .content-page *,
  .content-page *::before,
  .content-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .server-card:hover,
  .news-card:hover,
  .server-card:hover .server-art img {
    transform: none;
  }
}
