:root {
  --brand-red: #ed1b35;
  --brand-red-dark: #b90022;
  --okvip-orange: #ff6b18;
  --ink: #f8f5ef;
  --muted: #b7b8bd;
  --panel: #15171b;
  --panel-soft: #1c1f24;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff6b18;
  --amber: #ffb126;
  --black: #090a0c;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 107, 24, 0.13), transparent 28rem),
    linear-gradient(180deg, #090a0c, #101216 55%, #090a0c);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .desktop-nav a, .mobile-menu a, .bottom-nav__link, .back-to-top {
  min-height: 44px;
}
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--amber);
  color: #121212;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 12, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(100% - 28px, 1180px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  letter-spacing: -0.04em;
  font-size: 1.45rem;
  font-weight: 950;
}
.brand span { color: var(--orange); }
.menu-toggle {
  width: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.desktop-nav { display: none; }
.mobile-menu {
  display: none;
  width: min(100% - 28px, 1180px);
  margin: 0 auto;
  padding: 6px 0 14px;
  grid-template-columns: 1fr;
  gap: 6px;
}
.mobile-menu.is-open { display: grid; }
.mobile-menu a, .desktop-nav a {
  display: flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}
.mobile-menu a[aria-current="page"], .desktop-nav a[aria-current="page"] {
  background: rgba(255, 107, 24, 0.14);
  color: #fff;
}

.page-main {
  width: min(100% - 28px, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 100px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
}
.breadcrumb a:hover { color: var(--amber); }
.topic-hero, .game-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: clamp(28px, 7vw, 74px);
  border: 1px solid rgba(255, 177, 38, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(8, 9, 11, 0.97), rgba(16, 17, 20, 0.76)),
    radial-gradient(circle at 85% 48%, rgba(255, 107, 24, 0.38), transparent 33%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}
.topic-hero > div:first-child { position: relative; z-index: 2; max-width: 740px; }
.eyebrow, .section-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.035em; }
h1 { margin: 0; max-width: 850px; font-size: clamp(2rem, 5.2vw, 4.4rem); }
h2 { margin: 0 0 18px; font-size: clamp(1.55rem, 3.2vw, 2.45rem); }
.lead { margin: 20px 0 0; color: #d6d4cf; font-size: clamp(1rem, 1.8vw, 1.16rem); }
.hero-orbit { position: absolute; inset: 0; pointer-events: none; }
.hero-orbit span {
  position: absolute;
  right: 10%;
  top: 50%;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 177, 38, 0.32);
  border-radius: 50%;
  transform: translateY(-50%);
}
.hero-orbit span:nth-child(2) { width: 140px; right: 13%; }
.hero-orbit span:nth-child(3) {
  width: 62px;
  right: 17%;
  background: radial-gradient(circle, var(--amber), var(--orange) 52%, transparent 55%);
  box-shadow: 0 0 60px rgba(255, 107, 24, 0.7);
}

.page-toc {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(21, 23, 27, 0.86);
}
.page-toc strong { display: block; margin-bottom: 10px; }
.page-toc div { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
.page-toc a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.page-toc a:hover { color: #fff; background: rgba(255, 107, 24, 0.16); }

.article-layout { display: grid; gap: 22px; align-items: start; }
.content-section {
  margin-bottom: 22px;
  padding: clamp(23px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(27, 30, 35, 0.96), rgba(17, 19, 23, 0.96));
}
.content-section p { margin: 0 0 16px; color: #d1d1d3; }
.feature-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li {
  position: relative;
  padding: 13px 14px 13px 44px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--amber);
  font-weight: 900;
}
.reading-aside {
  padding: 22px;
  border: 1px solid rgba(255, 177, 38, 0.18);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 107, 24, 0.12), rgba(20, 22, 26, 0.96));
}
.reading-aside strong { font-size: 1.15rem; }
.reading-aside p { color: var(--muted); }
.reading-aside a { color: var(--amber); font-weight: 800; }
.responsible-card {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(255, 177, 38, 0.28);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(255, 107, 24, 0.16), rgba(255, 177, 38, 0.06));
}
.responsible-card p { margin: 8px 0 0; color: #ddd7cb; }

.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #101216;
  transition: transform 180ms ease, border-color 180ms ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(255, 177, 38, 0.45); }
.game-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #1c1e22; }
.game-card span { padding: 13px 13px 0; color: var(--amber); font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }
.game-card strong { padding: 3px 13px; overflow-wrap: anywhere; }
.game-card small { margin-top: auto; padding: 2px 13px 14px; color: var(--muted); }
.empty-note { color: var(--muted); }

.faq-section, .related-section { margin-top: 42px; }
.faq-item { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.faq-answer { display: none; padding: 0 18px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }
.related-grid { display: grid; gap: 12px; }
.related-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 107, 24, 0.13), var(--panel));
}
.related-card span { color: var(--amber); font-size: 0.72rem; text-transform: uppercase; }
.related-card strong { font-size: 1.08rem; }
.related-card small { color: var(--muted); }

.game-hero { grid-template-columns: 1fr; gap: 24px; }
.game-hero img { width: 100%; border-radius: 20px; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38); }
.verified-line { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: #d9d4ca; font-size: 0.9rem; }
.verified-line span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); font-weight: 900; }

.site-footer {
  display: grid;
  gap: 20px;
  padding: 38px max(20px, calc((100% - 1180px) / 2));
  padding-bottom: calc(100px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: #07080a;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); font-size: 1.3rem; }
.site-footer p { max-width: 680px; margin: 5px 0; }
.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: calc(68px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  border-top: 1px solid var(--line);
  background: rgba(10, 11, 13, 0.96);
  backdrop-filter: blur(16px);
}
.bottom-nav__link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 0.7rem; }
.bottom-nav__link span { color: var(--amber); font-size: 1.05rem; }
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(84px + var(--safe-bottom));
  z-index: 45;
  width: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (min-width: 768px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-hero { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); }
  .site-footer { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 1100px) {
  .menu-toggle, .mobile-menu, .bottom-nav { display: none !important; }
  .desktop-nav { display: flex; align-items: center; gap: 2px; }
  .page-main { padding-bottom: 70px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .reading-aside { position: sticky; top: 90px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer { padding-bottom: 38px; }
  .back-to-top { bottom: 24px; }
}

@media (max-width: 420px) {
  .page-main, .header-inner, .mobile-menu { width: min(100% - 20px, 1180px); }
  .topic-hero, .game-hero { min-height: 330px; padding: 24px 20px; border-radius: 22px; }
  .content-section { padding: 22px 18px; border-radius: 20px; }
  .game-grid { gap: 9px; }
  .game-card span, .game-card strong, .game-card small { padding-left: 10px; padding-right: 10px; }
}

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

/* Dede portal and article templates */
.portal-main {
  width: min(100% - 28px, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 100px;
}
.slider-shell {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 59vw, 650px);
  border: 1px solid rgba(255, 177, 38, 0.22);
  border-radius: 30px;
  background: #08090b;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 480ms ease, visibility 480ms ease;
}
.hero-slide.is-active { position: relative; visibility: visible; opacity: 1; }
.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 5, 7, 0.96) 0%, rgba(4, 5, 7, 0.82) 42%, rgba(4, 5, 7, 0.1) 78%);
}
.hero-slide__copy {
  position: relative;
  z-index: 2;
  width: min(680px, 78%);
  padding: clamp(34px, 7vw, 82px);
}
.hero-slide__copy h1, .hero-slide__copy h2 { margin: 0; font-size: clamp(2.25rem, 5.4vw, 4.8rem); }
.hero-slide__copy p:not(.eyebrow) { margin: 20px 0 26px; color: #ddd9d1; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
}
.button--ghost { background: rgba(13, 14, 17, 0.72); }
.slider-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(9, 10, 12, 0.74);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
}
.slider-control--prev { left: 14px; }
.slider-control--next { right: 14px; }
.slider-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.slider-dot {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.slider-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
}
.slider-dot[aria-selected="true"]::before { width: 24px; border-radius: 99px; background: var(--orange); border-color: var(--orange); }

.portal-section { margin-top: clamp(34px, 6vw, 70px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 650px; margin: 5px 0 0; color: var(--muted); }
.section-head > a { color: var(--amber); font-weight: 800; }
.quick-grid, .info-grid, .step-grid { display: grid; gap: 12px; }
.quick-card, .info-card, .step-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(27, 30, 35, 0.96), rgba(15, 17, 20, 0.96));
}
.quick-card { display: flex; align-items: center; gap: 14px; min-height: 90px; }
.quick-card__icon { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 107, 24, 0.15); color: var(--amber); font-weight: 900; }
.quick-card strong, .info-card strong, .step-card strong { display: block; }
.quick-card small, .info-card p, .step-card p { color: var(--muted); }
.step-card span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 15px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; }
.portal-responsible {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255, 177, 38, 0.27);
  border-radius: 26px;
  background: radial-gradient(circle at 90% 20%, rgba(255, 177, 38, 0.15), transparent 28%), #15171b;
}
.portal-responsible h2, .portal-responsible p { margin: 0; }
.portal-responsible p { color: #d4d0c8; }

.news-list { display: grid; gap: 14px; }
.news-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.news-thumb { min-height: 132px; background: linear-gradient(145deg, #272a30, #111317); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-copy { min-width: 0; padding: 16px; }
.news-copy time { color: var(--amber); font-size: 0.76rem; font-weight: 800; }
.news-copy h2 { margin: 5px 0 8px; font-size: clamp(1.08rem, 2.6vw, 1.45rem); overflow-wrap: anywhere; }
.news-copy p { display: none; margin: 0 0 10px; color: var(--muted); }
.read-more { color: var(--amber); font-size: 0.84rem; font-weight: 800; }
.pagination { margin-top: 22px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }

.article-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  align-items: end;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #121419;
}
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 7, 9, 0.98), rgba(6, 7, 9, 0.12)); }
.article-hero__copy { position: relative; z-index: 2; max-width: 880px; }
.article-hero__copy h1 { font-size: clamp(2rem, 4.8vw, 4rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; color: #c9c5bc; font-size: 0.88rem; }
.article-shell { display: grid; gap: 22px; margin-top: 24px; align-items: start; }
.article-body {
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  color: #d7d5d1;
  overflow-wrap: anywhere;
}
.article-body h2, .article-body h3, .article-body h4 { margin-top: 1.7em; color: #fff; }
.article-body p, .article-body li { color: #d2d1ce; }
.article-body a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.article-body img, .article-body video, .article-body iframe { max-width: 100%; height: auto; border-radius: 16px; }
.article-body iframe { width: 100%; min-height: 320px; border: 0; }
.article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { min-width: 130px; padding: 12px; border: 1px solid var(--line); text-align: left; }
.article-body blockquote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: rgba(255, 107, 24, 0.08); }
.article-body pre, .article-body code { white-space: pre-wrap; overflow-wrap: anywhere; }
.article-pager { display: grid; gap: 10px; margin-top: 20px; }
.article-pager a { display: flex; align-items: center; min-height: 48px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.related-articles { display: grid; gap: 12px; }
.related-article { min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 107, 24, 0.12), var(--panel)); }
.image-fallback { background: linear-gradient(135deg, #2b1d16, #101216) !important; }

@media (min-width: 600px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card { grid-template-columns: 220px minmax(0, 1fr); }
  .news-copy p { display: block; }
}
@media (min-width: 768px) {
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-responsible { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1100px) {
  .portal-main { padding-bottom: 70px; }
  .quick-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-shell { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-shell .reading-aside { position: sticky; top: 90px; }
}
@media (max-width: 640px) {
  .portal-main { width: min(100% - 20px, 1180px); }
  .slider-shell { min-height: 570px; border-radius: 22px; }
  .hero-slide__image { object-position: 62% center; }
  .hero-slide::after { background: linear-gradient(0deg, rgba(4, 5, 7, 0.98) 5%, rgba(4, 5, 7, 0.68) 60%, rgba(4, 5, 7, 0.2)); }
  .hero-slide__copy { width: 100%; align-self: end; padding: 28px 22px 86px; }
  .hero-slide__copy h1, .hero-slide__copy h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .slider-control { top: auto; bottom: 14px; transform: none; }
  .news-card { grid-template-columns: 104px minmax(0, 1fr); }
}

/* Category 21 red-and-white portal skin */
:root {
  --ink: #202126;
  --muted: #686b73;
  --panel: #fff;
  --panel-soft: #f7f7f8;
  --line: #e8e8eb;
  --orange: var(--brand-red);
  --amber: var(--brand-red-dark);
  --black: #fff;
  color-scheme: light;
}

body {
  background:
    radial-gradient(circle at 92% 2%, rgba(237, 27, 53, 0.08), transparent 24rem),
    linear-gradient(180deg, #fff 0, #f8f8f9 55%, #fff 100%);
  color: var(--ink);
}

:focus-visible { outline-color: var(--brand-red); }
.skip-link { background: var(--brand-red); color: #fff; }
.site-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(25, 25, 28, 0.08);
}
.header-inner { min-height: 72px; }
.brand { color: #18191d; font-size: 1.7rem; }
.brand span { color: var(--brand-red); }
.menu-toggle { border-color: #dddde1; background: #fff; color: var(--brand-red); }
.category-strip {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(14px, calc((100% - 1180px) / 2));
  background: var(--brand-red);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.65) transparent;
}
.desktop-nav.category-strip { gap: 0; justify-content: center; }
.category-strip a,
.desktop-nav.category-strip a,
.mobile-menu.category-strip a {
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 0;
  color: #fff;
  white-space: nowrap;
}
.category-strip a:hover,
.desktop-nav.category-strip a:hover,
.mobile-menu.category-strip a:hover {
  background: var(--brand-red-dark);
  color: #fff;
}
.mobile-menu.category-strip { padding-block: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.portal-main { padding-top: 18px; }
.breadcrumb { color: #777982; }
.breadcrumb a:hover { color: var(--brand-red); }
.slider-shell {
  border-color: rgba(237, 27, 53, 0.22);
  background: #f3f3f4;
  box-shadow: 0 24px 62px rgba(33, 34, 38, 0.14);
}
.hero-slide.is-active { position: absolute; }
.hero-slide::after {
  background: linear-gradient(90deg, rgba(116, 3, 21, 0.94) 0%, rgba(185, 0, 34, 0.82) 42%, rgba(237, 27, 53, 0.08) 80%);
}
.hero-slide__copy { color: #fff; }
.hero-slide__copy p:not(.eyebrow) { color: rgba(255,255,255,.88); }
.hero-slide__copy .eyebrow { color: #fff; }
.button { border-color: var(--brand-red); background: var(--brand-red); color: #fff; }
.hero-slide .button { border-color: #fff; background: #fff; color: var(--brand-red-dark); }
.hero-slide .button--ghost { background: transparent; color: #fff; }
.slider-control { border-color: rgba(255,255,255,.5); background: rgba(185,0,34,.82); }
.slider-dot[aria-selected="true"]::before { background: #fff; border-color: #fff; }
.eyebrow, .section-kicker { color: var(--brand-red); }

.portal-section {
  scroll-margin-top: 122px;
}
.section-head p { color: var(--muted); }
.section-head > a, .read-more { color: var(--brand-red); }
.quick-grid.category-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-shortcuts .quick-card { flex-direction: column; align-items: flex-start; padding: 14px; }
.category-shortcuts .quick-card div { min-width: 0; }
.category-shortcuts .quick-card strong,
.category-shortcuts .quick-card small { overflow-wrap: anywhere; }
.quick-card, .info-card, .step-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 9px 28px rgba(26, 27, 31, 0.06);
}
.quick-card {
  border-top: 3px solid var(--brand-red);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(185, 0, 34, 0.12); }
.quick-card__icon { background: #fff0f2; color: var(--brand-red); }
.quick-card small, .info-card p, .step-card p { color: var(--muted); }
.step-card span { background: var(--brand-red); }

.game-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 9px 28px rgba(26, 27, 31, 0.07);
}
.game-card:hover { border-color: rgba(237, 27, 53, 0.45); }
.game-card img { background: #f0f0f2; }
.game-card span, .game-card small { color: var(--brand-red); }

.portal-responsible {
  border-color: rgba(237, 27, 53, 0.22);
  background: radial-gradient(circle at 90% 10%, rgba(237, 27, 53, 0.12), transparent 28%), #fff;
  box-shadow: 0 12px 36px rgba(185, 0, 34, 0.08);
}
.portal-responsible p { color: var(--muted); }
.official-story {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-red);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 31, 35, 0.07);
}
.official-story > p { max-width: 920px; margin: 0 0 14px; color: #41434a; line-height: 1.82; }
.official-facts, .content-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.official-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.official-facts li, .content-points li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border-radius: 13px;
  background: #fff1f3;
  color: #34353a;
  font-weight: 750;
}
.official-facts li::before, .content-points li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  color: var(--brand-red);
  font-weight: 950;
}
.category-shortcuts--detailed .quick-card { min-height: 100%; }
.category-shortcuts--detailed .quick-card p {
  margin: 10px 0;
  color: #55575f;
  font-size: .94rem;
  line-height: 1.68;
}
.category-shortcuts--detailed .quick-card small { color: var(--brand-red-dark); font-weight: 750; line-height: 1.55; }
.info-grid--editorial .info-card h3 { margin: 6px 0 12px; font-size: 1.26rem; }
.info-grid--editorial .info-card > p:not(.section-kicker) { line-height: 1.75; }
.info-grid--editorial .content-points li { font-size: .9rem; font-weight: 680; }
.news-card { border-color: var(--line); background: #fff; box-shadow: 0 8px 24px rgba(26,27,31,.06); }
.news-thumb { background: linear-gradient(145deg, #f1f1f2, #e6e6e8); }
.news-copy time { color: var(--brand-red); }
.pagination a, .pagination span { border-color: var(--line); background: #fff; }

.article-hero {
  border-color: rgba(237, 27, 53, 0.2);
  background: var(--brand-red-dark);
  box-shadow: 0 20px 50px rgba(31, 31, 35, 0.13);
}
.article-hero > img { opacity: 0.54; }
.article-hero::after { background: linear-gradient(0deg, rgba(104, 0, 16, 0.96), rgba(185, 0, 34, 0.14)); }
.article-hero__copy, .article-hero__copy .eyebrow { color: #fff; }
.article-meta { color: rgba(255,255,255,.84); }
.article-body { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 12px 34px rgba(26,27,31,.06); }
.article-body h2, .article-body h3, .article-body h4 { color: #202126; }
.article-body p, .article-body li { color: #41434a; }
.article-body a { color: var(--brand-red); }
.article-body blockquote { border-left-color: var(--brand-red); background: #fff1f3; }
.article-pager a, .related-article { border-color: var(--line); background: #fff; }
.related-article { background: linear-gradient(145deg, #fff1f3, #fff); }
.reading-aside { border-color: rgba(237,27,53,.2); background: linear-gradient(160deg, #fff1f3, #fff); }
.reading-aside a { color: var(--brand-red); }
.image-fallback { background: linear-gradient(135deg, #fff1f3, #ececef) !important; }

.site-footer {
  border-top: 0;
  background: var(--brand-red-dark);
  color: rgba(255,255,255,.8);
}
.site-footer strong { color: #fff; }
.bottom-nav { border-top-color: #e5e5e8; background: rgba(255,255,255,.97); }
.bottom-nav__link { color: #5e6068; }
.bottom-nav__link span { color: var(--brand-red); }
.back-to-top { border-color: var(--brand-red); background: var(--brand-red); }

@media (min-width: 768px) {
  .quick-grid.category-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .quick-grid.category-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .desktop-nav.category-strip { display: none; }
}
@media (max-width: 640px) {
  .hero-slide::after { background: linear-gradient(0deg, rgba(116,3,21,.97) 8%, rgba(185,0,34,.65) 68%, rgba(237,27,53,.08)); }
  .mobile-menu.category-strip { width: 100%; }
  .official-facts { grid-template-columns: 1fr; }
  .category-shortcuts--detailed .quick-card { padding: 18px; }
  .category-shortcuts--detailed .quick-card p { font-size: .98rem; }
}
@media (max-width: 767px) {
  .quick-grid.category-shortcuts--detailed { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .quick-grid.category-shortcuts--detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
