@font-face {
  font-display: swap;
  font-family: "RobotoHomeHeading";
  font-stretch: 100%;
  font-style: normal;
  font-weight: 700;
  src: url("/assets/roboto-home-heading-700.woff2") format("woff2");
  unicode-range: U+20, U+410, U+413, U+415, U+418, U+41a, U+41d-420, U+422, U+42b;
}

@font-face {
  font-display: swap;
  font-family: "RobotoBoardLatinCondensed";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/roboto-condensed-board-700.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

:root {
  --bg: #111719;
  --shell: #171d1f;
  --panel: #20272a;
  --panel-2: #293136;
  --tile: #f4f0e6;
  --tile-soft: #fffaf0;
  --ink: #111315;
  --text: #f6f2e8;
  --muted: #bac5c0;
  --line: rgba(246, 242, 232, 0.16);
  --line-dark: rgba(17, 19, 21, 0.14);
  --blue: #1f6feb;
  --teal: #2bc4a9;
  --amber: #e1a83b;
  --red: #e0523e;
  --green: #65d37e;
  --violet: #9b7cff;
  --tetris-cyan: #2ff3e0;
  --tetris-yellow: #ffd43b;
  --tetris-magenta: #d946ef;
  --tetris-blue: #3772ff;
  --tetris-red: #ff5c4d;
  --tetris-green: #4ade80;
  --tetris-ink: #080b11;
  --tetris-grid: rgba(47, 243, 224, 0.08);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  --sp-bg: #06070b;
  --sp-surface: #0b1020;
  --sp-panel: #101827;
  --sp-panel-2: #151f33;
  --sp-surface-raised: #162033;
  --sp-card: rgba(18, 26, 31, 0.96);
  --sp-line: rgba(148, 163, 184, 0.22);
  --sp-border: rgba(148, 163, 184, 0.22);
  --sp-border-strong: rgba(96, 215, 201, 0.32);
  --sp-text: #f8fafc;
  --sp-muted: #94a3b8;
  --sp-cyan: #22d3ee;
  --sp-accent: #60d7c9;
  --sp-accent-2: #8aa7ff;
  --sp-violet: #7c3aed;
  --sp-green: #34d399;
  --sp-success: #57b84f;
  --sp-danger: #f43f5e;
  --sp-warning: #d6b66a;
  --line-strong: rgba(96, 215, 201, 0.32);
  --accent: var(--sp-accent);
  --topbar-fixed-offset: 0px;
}

* {
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(135deg, rgba(47, 243, 224, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(255, 92, 77, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}

.cube-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.cube-field-board {
  position: absolute;
  inset: 0;
}

.cube-field-piece {
  opacity: 0.2;
  position: absolute;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}

.cube-field-active-piece {
  z-index: 2;
}

.cube-field-cell,
.cube-field-locked-cell {
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 0 0) 0 0 / 50% 50% no-repeat,
    var(--cube-color, var(--tetris-cyan));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 3px rgba(255, 255, 255, 0.18),
    inset 0 -4px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(47, 243, 224, 0.2);
  height: var(--cube-size);
  position: absolute;
  width: var(--cube-size);
}

.cube-field-locked-cell {
  opacity: 0.24;
}

.cube-field.is-ending .cube-field-board {
  animation: tetris-board-reset 900ms ease both;
}

.cube-field.is-ending .cube-field-active-piece {
  opacity: 0;
}

@keyframes tetris-board-reset {
  0%,
  56% {
    filter: saturate(1);
    opacity: 1;
    transform: translateY(0);
  }

  72% {
    filter: saturate(1.55);
    opacity: 0.78;
    transform: translateY(8px);
  }

  100% {
    filter: saturate(0.4);
    opacity: 0;
    transform: translateY(28px);
  }
}

main,
.footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cube-field {
    display: none;
  }
}

@media (max-width: 720px) {
  .cube-field {
    display: none;
  }
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(43, 196, 169, 0.5);
  outline-offset: 3px;
}

.skip-link {
  background: var(--tile);
  border-radius: 0 0 8px 8px;
  color: var(--ink);
  font-weight: 950;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  text-decoration: none;
  top: -56px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.topbar {
  align-items: center;
  background: rgba(16, 18, 19, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px clamp(14px, 3vw, 32px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  width: max-content;
}

.brand-mark {
  align-items: center;
  background: #030812;
  border: 1px solid rgba(47, 243, 224, 0.36);
  border-radius: 16px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.brand-mark video,
.brand-mark img {
  border-radius: 14px;
  display: block;
  height: 82%;
  object-fit: contain;
  object-position: center center;
  width: 82%;
}

.brand-mark img {
  display: none;
}

.brand-mark video {
  display: block;
}

.brand-copy {
  color: var(--text);
  display: grid;
  gap: 2px;
  line-height: 1;
  min-width: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 950;
}

.brand-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.nav {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: center;
  justify-self: center;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 5px;
}

.nav-item {
  position: relative;
}

.nav a,
.button-primary,
.button-secondary,
button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.nav a {
  border: 1px solid transparent;
  gap: 6px;
  color: var(--muted);
  min-height: 38px;
  padding: 7px 10px;
  white-space: nowrap;
}

.nav a[aria-haspopup="true"]::after {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  height: 6px;
  margin-top: -3px;
  opacity: 0.72;
  transform: rotate(45deg);
  width: 6px;
}

.nav a:hover,
.nav a.is-active {
  background: var(--tile);
  color: var(--ink);
}

.nav-menu {
  background: rgba(21, 25, 27, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  left: 0;
  max-height: min(70vh, 420px);
  min-width: 240px;
  opacity: 0;
  overflow-y: auto;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 20;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  padding: 6px 8px 2px;
  text-transform: uppercase;
}

.nav-menu a {
  justify-content: flex-start;
  min-height: 34px;
  padding: 7px 8px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-self: end;
  min-width: 0;
}

.site-search {
  align-items: center;
  display: flex;
  gap: 6px;
  max-width: 280px;
  min-width: min(220px, 24vw);
  overflow: visible;
  position: relative;
  transition:
    max-width 180ms ease,
    width 180ms ease,
    gap 180ms ease;
  width: min(280px, 24vw);
}

.site-search:hover,
.site-search:focus-within {
  gap: 6px;
  max-width: 300px;
  width: min(300px, 28vw);
}

.account-icon-button,
.menu-icon-button,
.theme-icon-button,
.updates-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  width: 40px;
}

.menu-icon-button {
  gap: 7px;
  min-width: 78px;
  padding: 0 12px;
  width: auto;
}

.menu-icon-button span {
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.account-icon-button:hover,
.account-icon-button.is-active,
.account-icon-button[aria-expanded="true"],
.menu-icon-button:hover,
.menu-icon-button[aria-expanded="true"],
.search-icon-button[aria-expanded="true"],
.theme-icon-button:hover,
.theme-icon-button[aria-pressed="true"],
.updates-icon-button:hover,
.updates-icon-button[aria-expanded="true"] {
  background: var(--tile);
  border-color: rgba(47, 243, 224, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 243, 224, 0.12);
  color: var(--tetris-cyan);
}

.account-icon-button svg,
.menu-icon-button svg,
.theme-icon-button svg,
.updates-icon-button svg,
.updates-close-button svg,
.auth-close-button svg,
.menu-close-button svg,
.search-close-button svg {
  display: block;
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 20px;
}

.header-action-separator {
  background: rgba(226, 235, 230, 0.16);
  display: inline-block;
  flex: 0 0 1px;
  height: 22px;
  width: 1px;
}

.is-soft-theme-hint .theme-icon-button {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.3);
  color: var(--tetris-cyan);
}

.search-drawer {
  background: rgba(11, 17, 19, 0.995);
  border: 1px solid rgba(226, 235, 230, 0.14);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  color: var(--text);
  display: grid;
  gap: 12px;
  max-height: min(72vh, 520px);
  overflow: hidden;
  padding: 14px;
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  top: 76px;
  width: min(520px, calc(100vw - 28px));
  z-index: 134;
}

.search-drawer[hidden] {
  display: none;
}

.search-drawer-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.search-drawer h2 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  min-width: 0;
}

.search-close-button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  color: var(--text);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
}

.search-close-button span {
  font-size: 12px;
  font-weight: 900;
}

.search-close-button:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.36);
  color: var(--text);
}

.search-drawer-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-drawer-form input {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(226, 235, 230, 0.16);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  min-height: 42px;
  min-width: 0;
  padding: 9px 12px;
  width: 100%;
}

.search-drawer-form input:focus {
  border-color: rgba(96, 215, 201, 0.48);
  outline: 3px solid rgba(96, 215, 201, 0.14);
}

.search-drawer-form button {
  background: var(--text);
  border: 1px solid rgba(242, 245, 241, 0.82);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
}

.search-drawer-submit svg {
  display: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  width: 18px;
}

.search-drawer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-drawer-links a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.76);
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 8px 10px;
  text-decoration: none;
}

.search-drawer-links a:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.34);
  color: var(--text);
}

.menu-drawer {
  background: rgba(11, 17, 19, 0.995);
  border: 1px solid rgba(226, 235, 230, 0.14);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  color: var(--text);
  display: grid;
  gap: 12px;
  max-height: min(78vh, 620px);
  overflow-y: auto;
  padding: 14px;
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  top: 76px;
  width: min(420px, calc(100vw - 28px));
  z-index: 136;
}

.menu-drawer[hidden] {
  display: none;
}

.menu-drawer-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.menu-drawer h2 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  min-width: 0;
}

.menu-close-button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  color: var(--text);
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 10px;
}

.menu-close-button:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.36);
  color: var(--text);
}

.menu-drawer-nav,
.menu-drawer-links {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-drawer-nav a,
.menu-drawer-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.78);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  min-width: 0;
  padding: 9px 10px;
  text-decoration: none;
}

.menu-drawer-nav a:hover,
.menu-drawer-nav a.is-active,
.menu-drawer-links a:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.34);
  color: var(--text);
}

.menu-drawer-section {
  border-top: 1px solid rgba(226, 235, 230, 0.1);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
}

.menu-drawer-section > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-drawer {
  background: rgba(11, 17, 19, 0.995);
  border: 1px solid rgba(226, 235, 230, 0.14);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  color: var(--text);
  display: grid;
  gap: 12px;
  max-height: min(72vh, 520px);
  overflow: hidden;
  padding: 14px;
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  top: 76px;
  width: min(320px, calc(100vw - 28px));
  z-index: 132;
}

.auth-drawer[hidden] {
  display: none;
}

.auth-drawer-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.auth-drawer h2 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  min-width: 0;
}

.auth-close-button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  color: var(--text);
  flex: 0 0 auto;
  height: 34px;
  min-height: 34px;
  padding: 0;
  width: 34px;
}

.auth-close-button:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.36);
  color: var(--text);
}

.auth-primary-link {
  background: var(--text);
  border: 1px solid rgba(242, 245, 241, 0.82);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 950;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  text-decoration: none;
}

.auth-primary-link:hover {
  background: rgba(96, 215, 201, 0.16);
  border-color: rgba(96, 215, 201, 0.42);
  color: var(--text);
}

.auth-login-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.auth-field-input {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(226, 235, 230, 0.13);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 40px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.auth-field-input::placeholder {
  color: rgba(242, 245, 241, 0.58);
}

.auth-social-block {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
  text-align: center;
}

.auth-social-block span {
  color: rgba(242, 245, 241, 0.64);
  font-size: 12px;
  font-weight: 850;
}

.auth-social-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.auth-social-link {
  align-items: center;
  background: rgba(96, 215, 201, 0.13);
  border: 1px solid rgba(96, 215, 201, 0.3);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  text-align: center;
  text-decoration: none;
  width: 34px;
}

.auth-social-link:hover {
  background: rgba(96, 215, 201, 0.2);
  border-color: rgba(96, 215, 201, 0.46);
}

.auth-login-link {
  background: rgba(255, 76, 76, 0.14);
  border-color: rgba(255, 76, 76, 0.28);
}

.auth-register-link {
  background: rgba(255, 190, 58, 0.16);
  border-color: rgba(255, 190, 58, 0.3);
}

.auth-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  line-height: 1.35;
}

.auth-help-links a {
  color: rgba(242, 245, 241, 0.7);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.auth-help-links a:hover {
  color: var(--teal);
}

.updates-drawer {
  background: rgba(16, 23, 26, 0.98);
  border: 1px solid rgba(226, 235, 230, 0.14);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  color: var(--text);
  display: grid;
  gap: 12px;
  max-height: min(72vh, 520px);
  overflow: hidden;
  padding: 14px;
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  top: 76px;
  width: min(360px, calc(100vw - 28px));
  z-index: 130;
}

.updates-drawer[hidden] {
  display: none;
}

.updates-drawer-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.updates-drawer-title-row {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  justify-content: start;
  min-width: 0;
}

.updates-drawer-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.updates-drawer h2 {
  font-size: 23px;
  line-height: 1.05;
  margin: 0;
  min-width: 0;
}

.updates-close-button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.12);
  color: var(--text);
  flex: 0 0 auto;
  height: 34px;
  min-height: 34px;
  padding: 0;
  width: 34px;
}

.updates-close-button:hover {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.36);
  color: var(--text);
}

.updates-clear-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 235, 230, 0.12);
  color: rgba(242, 245, 241, 0.78);
  flex: 0 0 auto;
  font-size: 12px;
  min-height: 32px;
  padding: 7px 10px;
}

.updates-clear-button:hover:not(:disabled) {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.34);
  color: var(--text);
}

.updates-clear-button:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.updates-list {
  display: grid;
  gap: 8px;
  max-height: min(46vh, 300px);
  overflow-y: auto;
  padding-right: 2px;
}

.updates-list:empty {
  display: none;
}

.updates-item {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  text-decoration: none;
}

.updates-item.has-thumb {
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr);
}

.updates-item:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.3);
}

.updates-item-thumb {
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.updates-item-thumb picture,
.updates-item-thumb img {
  display: block;
  height: 100%;
  width: 100%;
}

.updates-item-thumb img {
  object-fit: cover;
}

.updates-item-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.updates-item strong,
.updates-item span,
.updates-item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.updates-item strong {
  font-size: 14px;
}

.updates-item span,
.updates-item small {
  color: rgba(242, 245, 241, 0.66);
  font-size: 12px;
  line-height: 1.35;
}

.updates-empty {
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(96, 215, 201, 0.26);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.68);
  display: grid;
  gap: 5px;
  line-height: 1.4;
  margin: 0;
  min-height: 96px;
  place-items: center;
  padding: 16px;
  text-align: center;
}

.updates-empty[hidden] {
  display: none;
}

.updates-empty strong {
  color: var(--text);
  font-size: 15px;
}

.updates-empty span {
  font-size: 13px;
}

.site-search input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  flex: 1 1 auto;
  font: inherit;
  font-weight: 750;
  min-height: 40px;
  min-width: 0;
  opacity: 1;
  padding: 8px 11px;
  pointer-events: auto;
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    padding 180ms ease,
    width 180ms ease;
  width: 100%;
}

.site-search:hover input,
.site-search:focus-within input {
  border-color: var(--line);
  flex: 1 1 auto;
  opacity: 1;
  padding: 8px 11px;
  pointer-events: auto;
  width: 100%;
}

.site-search input::placeholder {
  color: var(--muted);
}

.site-search button.search-icon-button {
  flex: 0 0 40px;
}

.search-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.search-icon-button:hover {
  background: var(--tile);
  border-color: rgba(47, 243, 224, 0.45);
  color: var(--tetris-cyan);
}

.search-icon-button svg {
  display: block;
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 20px;
}

button {
  background: var(--tile);
  border: 1px solid var(--tile);
  color: var(--ink);
  cursor: pointer;
  width: 100%;
}

.button-primary {
  background: var(--tile);
  border: 1px solid var(--tile);
  color: var(--ink);
}

.button-secondary {
  background: rgba(43, 196, 169, 0.12);
  border: 1px solid rgba(43, 196, 169, 0.45);
  color: var(--text);
}

.button-primary:hover,
.button-secondary:hover,
button:hover {
  transform: translateY(-1px);
}

main {
  margin: 0 auto;
  max-width: 1680px;
  padding: 24px clamp(16px, 3vw, 42px) 72px;
}

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

h1 {
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 18px;
  max-width: 980px;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

h3 {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.16;
  margin-bottom: 10px;
}

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

.eyebrow,
.content-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.quick-panel,
.editorial-hero,
.live-shell,
.home-section,
.content-column,
.rail,
.table-shell,
.article-view,
.game-view,
.empty-state,
.page-title {
  background: rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.quick-panel {
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.editorial-hero {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  margin-bottom: 18px;
  padding: 18px;
}

.lead-story {
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.22), rgba(43, 196, 169, 0.08) 46%, rgba(224, 82, 62, 0.14)),
    #171d24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
  text-decoration: none;
}

.lead-story h1 {
  align-self: end;
  font-size: clamp(42px, 6vw, 86px);
  margin-top: auto;
  max-width: 940px;
  position: relative;
  z-index: 2;
}

.lead-story p,
.lead-story .rank-badge,
.lead-story .card-action {
  position: relative;
  z-index: 2;
}

.lead-story p {
  color: #dbe4e1;
  font-size: 19px;
  max-width: 720px;
}

.lead-visual {
  bottom: -20px;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(90px, 16vw, 190px);
  font-weight: 950;
  line-height: 0.8;
  position: absolute;
  right: -8px;
}

.hero-stack {
  display: grid;
  gap: 12px;
}

.live-shell {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 24px);
}

.live-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.live-head h1 {
  font-size: clamp(40px, 6vw, 78px);
  margin-bottom: 10px;
}

.live-head p:not(.eyebrow) {
  color: #d4dbd8;
  font-size: 18px;
  max-width: 820px;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-filters a {
  align-items: center;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 13px;
  text-decoration: none;
}

.feed-filters a span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
}

.feed-filters a:hover,
.feed-filters a.is-active {
  background: var(--tile);
  color: var(--ink);
}

.feed-control-panel {
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.1), transparent 42%),
    rgba(18, 26, 31, 0.92);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.feed-control-copy {
  align-items: end;
  display: grid;
  gap: 4px;
  grid-template-columns: auto minmax(0, 1fr);
}

.feed-control-copy .eyebrow {
  align-self: center;
  margin: 0;
}

.feed-control-copy strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.feed-control-copy span:last-child {
  color: rgba(242, 245, 241, 0.68);
  grid-column: 1 / -1;
  font-weight: 800;
}

.feed-filter-rail {
  min-width: 0;
  position: relative;
}

.live-feed-root {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.live-summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.live-summary strong {
  color: var(--tile);
}

.feed-identity-panel {
  --feed-identity-accent: var(--teal);
  align-items: stretch;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--feed-identity-accent) 18%, transparent), transparent 42%),
    rgba(16, 23, 28, 0.94);
  border: 1px solid color-mix(in srgb, var(--feed-identity-accent) 24%, rgba(226, 235, 230, 0.12));
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  overflow: hidden;
  padding: 14px;
}

.feed-identity-news {
  --feed-identity-accent: #60d7c9;
}

.feed-identity-guides {
  --feed-identity-accent: #8cc7ff;
}

.feed-identity-problems {
  --feed-identity-accent: #ffcd69;
}

.feed-identity-collections {
  --feed-identity-accent: #c99cff;
}

.feed-identity-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.feed-identity-copy > span {
  color: var(--feed-identity-accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.feed-identity-copy h2 {
  color: var(--text);
  font-size: 34px;
  line-height: 1.02;
  margin: 0;
  max-width: 860px;
}

.feed-identity-copy p {
  color: rgba(242, 245, 241, 0.74);
  font-size: 15px;
  line-height: 1.38;
  margin: 0;
  max-width: 780px;
}

.feed-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.feed-identity-actions a {
  align-items: center;
  background: rgba(242, 245, 241, 0.06);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  font-weight: 950;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
}

.feed-identity-actions a:hover,
.feed-identity-actions a:focus-visible {
  background: color-mix(in srgb, var(--feed-identity-accent) 18%, rgba(242, 245, 241, 0.06));
  border-color: color-mix(in srgb, var(--feed-identity-accent) 36%, rgba(226, 235, 230, 0.12));
}

.feed-identity-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 0;
  min-width: 0;
}

.feed-identity-stats div {
  background: rgba(242, 245, 241, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.feed-identity-stats dt {
  color: rgba(242, 245, 241, 0.58);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.feed-identity-stats dd {
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-list,
.game-list,
.category-list {
  display: grid;
  gap: 12px;
}

.feed-card,
.game-feed-card {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  color: var(--ink);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.feed-card.type-news {
  border-left-color: var(--red);
}

.feed-card.type-guide {
  border-left-color: var(--blue);
}

.feed-card.type-fix {
  border-left-color: var(--amber);
}

.feed-card.type-collection {
  border-left-color: var(--violet);
}

.feed-card > a,
.game-feed-card {
  color: inherit;
  display: grid;
  gap: 10px;
  padding: clamp(14px, 2.4vw, 22px);
  text-decoration: none;
}

.game-feed-card {
  align-items: start;
  gap: 14px 18px;
  grid-template-areas:
    "thumb badge"
    "thumb copy"
    "thumb text"
    "thumb stats"
    "thumb chips";
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 0;
  padding: 16px;
}

.game-feed-thumb {
  align-self: start;
  aspect-ratio: 16 / 9;
  background: #111315;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 10px;
  display: block;
  grid-area: thumb;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.game-feed-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
  width: 100%;
}

.game-feed-thumb picture,
.feed-thumb picture,
.game-new-poster picture,
.portal-hero-card picture,
.portal-card-thumb picture,
.portal-pill-thumb picture {
  display: block;
  height: 100%;
  width: 100%;
}

.game-feed-card > .rank-badge {
  grid-area: badge;
  justify-self: start;
}

.game-feed-copy {
  display: grid;
  gap: 6px;
  grid-area: copy;
  min-width: 0;
}

.game-feed-card > p {
  grid-area: text;
}

.game-feed-card > .game-stats {
  grid-area: stats;
}

.game-feed-card > .chips {
  grid-area: chips;
}

.feed-card > a {
  align-items: stretch;
  gap: 16px;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
}

.feed-thumb {
  align-self: start;
  aspect-ratio: 16 / 9;
  background: #111315;
  border-radius: 10px;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.feed-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
  width: 100%;
}

.media-picture {
  display: block;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.media-picture > img.media-image {
  display: block;
  height: 100%;
  width: 100%;
}

img.media-image {
  background: linear-gradient(110deg, #111315 18%, #202628 34%, #111315 52%);
  background-size: 200% 100%;
}

img.media-image.is-media-loading {
  animation: media-image-loading 1.15s ease-in-out infinite;
}

img.media-image.is-media-loaded {
  animation: none;
}

img.media-image.is-media-fallback {
  animation: none;
  background: linear-gradient(135deg, #111315, #1b2225);
  object-fit: contain;
  padding: clamp(12px, 8%, 28px);
}

img.media-image.is-media-error {
  animation: none;
  background: linear-gradient(135deg, #111315, #1b2225);
  object-fit: contain;
}

@keyframes media-image-loading {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  img.media-image.is-media-loading {
    animation: none;
  }
}

.feed-copy {
  align-content: start;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.feed-copy > *,
.game-feed-copy > *,
.game-feed-card > p,
.game-feed-card > .game-stats,
.game-feed-card > .chips {
  max-width: 100%;
  min-width: 0;
}

.feed-card h2,
.game-feed-card h2 {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0;
}

.feed-copy h2,
.feed-copy p,
.game-feed-copy h2,
.game-feed-card p,
.portal-card strong,
.portal-card p,
.category-tile strong,
.category-tile p,
.content-card h3,
.content-card p,
.collection-card h3,
.collection-card p,
.news-list-item strong,
.article-body,
.article-body * {
  overflow-wrap: anywhere;
  word-break: normal;
}

.game-feed-card h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.08;
}

.feed-card p,
.game-feed-card p {
  color: #596265;
  font-size: 16px;
  margin-bottom: 0;
}

.load-more {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  justify-self: center;
  max-width: 320px;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  width: 100%;
}

.feed-end {
  color: var(--muted);
  font-weight: 850;
  margin: 0;
  text-align: center;
}

.portal-home {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.portal-ticker {
  background: rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.portal-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.22), transparent 36%),
    linear-gradient(315deg, rgba(224, 82, 62, 0.18), transparent 34%),
    rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: minmax(0, 0.94fr) minmax(560px, 1.06fr);
  overflow: hidden;
  padding: clamp(18px, 2.3vw, 30px);
}

.portal-hero h1,
.portal-hero h2 {
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1;
  margin-bottom: 10px;
}

.portal-hero p:not(.eyebrow) {
  color: #d4dbd8;
  font-size: 17px;
  max-width: 720px;
}

.portal-hero-copy {
  display: grid;
  gap: 12px;
}

.portal-intent-panel {
  display: grid;
  gap: 10px;
  max-width: 720px;
  min-width: 0;
}

.portal-home-search {
  align-items: center;
  background: rgba(8, 12, 15, 0.44);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
  padding: 8px;
}

.portal-home-search input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 7px;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  min-width: 0;
  padding: 10px 12px;
  width: 100%;
}

.portal-home-search input::placeholder {
  color: rgba(242, 245, 241, 0.58);
}

.portal-home-search button {
  align-items: center;
  background: rgba(96, 215, 201, 0.88);
  border: 0;
  border-radius: 7px;
  color: #071014;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 41px;
  padding: 9px 12px;
}

.portal-intent-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.portal-intent-grid a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 3px;
  min-height: 58px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.portal-intent-grid a:hover {
  background: rgba(96, 215, 201, 0.1);
  border-color: rgba(96, 215, 201, 0.28);
  transform: translateY(-1px);
}

.portal-intent-grid a:focus-visible,
.portal-home-search input:focus-visible,
.portal-home-search button:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 2px;
}

.portal-intent-grid strong {
  font-size: 15px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.portal-intent-grid span {
  color: rgba(242, 245, 241, 0.6);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.portal-hero-board {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  transition: opacity 180ms ease;
}

.portal-hero-board.is-switching {
  opacity: 0.62;
}

.portal-hero-card {
  aspect-ratio: 16 / 10;
  background: #0f1213;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: block;
  min-height: clamp(92px, 6.4vw, 118px);
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.portal-hero-card img,
.portal-card-thumb img,
.portal-pill-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.portal-hero-card::after {
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.portal-hero-card span {
  display: grid;
  gap: 2px;
  inset: auto 12px 12px;
  max-width: calc(100% - 24px);
  min-width: 0;
  position: absolute;
  z-index: 1;
}

.portal-hero-card span > * {
  max-width: 100%;
  min-width: 0;
}

.portal-hero-card small,
.portal-pill-copy small {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-hero-card strong {
  display: -webkit-box;
  font-size: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.08;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
}

.portal-hero-card:hover img,
.portal-card:hover .portal-card-thumb img,
.portal-pill-grid a:hover .portal-pill-thumb img,
.feed-card:hover .feed-thumb img,
.game-feed-card:hover .game-feed-thumb img {
  transform: scale(1.045);
}

.portal-ticker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

.portal-ticker a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  display: grid;
  gap: 5px;
  min-height: 82px;
  padding: 12px;
  text-decoration: none;
}

.portal-ticker span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-section {
  display: grid;
  gap: 16px;
}

.portal-section-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.portal-section-head p:not(.eyebrow) {
  margin-bottom: 0;
}

.portal-section-head h1,
.portal-section-head h2 {
  margin: 0;
}

.portal-section-head a {
  color: var(--amber);
  flex: 0 0 auto;
  font-weight: 950;
  text-decoration: none;
}

.portal-card-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
}

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

.portal-card {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 10px;
  color: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.portal-card.type-news {
  border-top: 3px solid var(--red);
}

.portal-card.type-fix {
  border-top: 3px solid var(--amber);
}

.portal-card.type-collection {
  border-top: 3px solid var(--violet);
}

.portal-card.type-guide {
  border-top: 3px solid var(--blue);
}

.portal-card-thumb {
  aspect-ratio: 16 / 9;
  background: #0f1213;
  display: block;
  overflow: hidden;
  position: relative;
}

.portal-card-thumb::after,
.feed-thumb::after,
.game-feed-thumb::after,
.portal-pill-thumb::after {
  background: linear-gradient(135deg, rgba(47, 243, 224, 0.16), transparent 38%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 160ms ease;
}

.portal-card:hover .portal-card-thumb::after,
.feed-card:hover .feed-thumb::after,
.game-feed-card:hover .game-feed-thumb::after,
.portal-pill-grid a:hover .portal-pill-thumb::after {
  opacity: 1;
}

.portal-card-copy {
  align-content: start;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.portal-card-copy > * {
  max-width: 100%;
  min-width: 0;
}

.portal-card strong {
  display: -webkit-box;
  font-size: 19px;
  line-height: 1.15;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-card p {
  color: #596265;
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.skeleton-card {
  background: rgba(244, 240, 230, 0.82);
  border: 1px solid rgba(244, 240, 230, 0.9);
  border-radius: 10px;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
  position: relative;
}

.skeleton-card-portal {
  grid-template-rows: auto 1fr;
}

.skeleton-card-feed {
  gap: 16px;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  padding: clamp(14px, 2.4vw, 22px);
}

.skeleton-card-feed .skeleton-media {
  align-self: start;
  border-radius: 10px;
  min-height: 138px;
}

.skeleton-card-feed .skeleton-copy {
  align-content: center;
  padding: 0;
}

.skeleton-media {
  aspect-ratio: 16 / 9;
  background: rgba(17, 19, 21, 0.14);
  display: block;
}

.skeleton-copy {
  align-content: start;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.skeleton-line {
  background: rgba(17, 19, 21, 0.14);
  display: block;
}

.skeleton-line {
  border-radius: 999px;
  height: 12px;
  width: 100%;
}

.skeleton-line.is-short {
  width: 42%;
}

.skeleton-line.is-title {
  height: 20px;
  width: 88%;
}

.skeleton-line.is-mid {
  width: 66%;
}

.tetris-stack {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, 18px);
  margin-top: 2px;
  max-width: 100%;
}

.tetris-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 3px rgba(255, 255, 255, 0.28),
    inset 0 -4px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(47, 243, 224, 0.18);
  display: block;
  width: 18px;
}

.tetris-cell.is-cyan {
  background: var(--tetris-cyan);
}

.tetris-cell.is-yellow {
  background: var(--tetris-yellow);
}

.tetris-cell.is-magenta {
  background: var(--tetris-magenta);
}

.tetris-cell.is-green {
  background: var(--tetris-green);
}

.tetris-cell.is-blue {
  background: var(--tetris-blue);
}

.tetris-cell.is-red {
  background: var(--tetris-red);
}

.portal-hero,
.topbar,
.quick-panel,
.editorial-hero,
.live-shell,
.home-section,
.content-column,
.rail,
.table-shell,
.article-view,
.game-view,
.empty-state,
.page-title {
  border-radius: 6px;
}

.portal-hero {
  background:
    linear-gradient(var(--tetris-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tetris-grid) 1px, transparent 1px),
    linear-gradient(135deg, rgba(55, 114, 255, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(255, 92, 77, 0.13), transparent 36%),
    rgba(15, 21, 24, 0.96);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
  border-color: rgba(47, 243, 224, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.28);
  image-rendering: pixelated;
  position: relative;
}

.portal-hero::before {
  background:
    linear-gradient(90deg, var(--tetris-cyan) 0 14%, transparent 14% 18%, var(--tetris-yellow) 18% 31%, transparent 31% 35%, var(--tetris-magenta) 35% 48%, transparent 48% 52%, var(--tetris-green) 52% 66%, transparent 66% 70%, var(--tetris-red) 70% 84%, transparent 84% 88%, var(--tetris-blue) 88% 100%);
  content: "";
  height: 6px;
  inset: 0 0 auto;
  opacity: 0.95;
  position: absolute;
}

.portal-hero-copy,
.portal-hero-board {
  position: relative;
  z-index: 1;
}

.topbar {
  background:
    linear-gradient(90deg, rgba(47, 243, 224, 0.12), transparent 30%, rgba(217, 70, 239, 0.1)),
    rgba(29, 34, 38, 0.96);
  border-bottom: 2px solid rgba(47, 243, 224, 0.88);
}

.brand-mark {
  border-radius: 16px;
  box-shadow:
    0 0 0 3px rgba(47, 243, 224, 0.12),
    5px 0 0 var(--tetris-cyan),
    0 5px 0 var(--tetris-magenta),
    0 0 22px rgba(47, 243, 224, 0.22);
}

.nav,
.site-search input,
.nav-menu {
  border-radius: 4px;
}

.nav a,
.button-primary,
.button-secondary,
button,
.load-more {
  border-radius: 4px;
  box-shadow: inset 0 -3px rgba(0, 0, 0, 0.2);
}

.nav a:hover,
.nav a.is-active,
.button-primary {
  background: var(--tetris-yellow);
  color: var(--tetris-ink);
}

.button-secondary {
  background: rgba(47, 243, 224, 0.14);
  border-color: var(--tetris-cyan);
}

.portal-hero-board {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    rgba(8, 11, 17, 0.42);
  background-size: 18px 18px;
  border: 1px solid rgba(47, 243, 224, 0.24);
  border-radius: 6px;
  min-width: 0;
  padding: 10px;
}

.portal-hero-card:hover,
.portal-card:hover,
.portal-pill-grid a:hover,
.feed-card:hover,
.game-feed-card:hover,
.category-tile:hover,
.content-card:hover,
.collection-card:hover {
  border-color: rgba(47, 243, 224, 0.48);
  box-shadow:
    inset 0 -3px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(47, 243, 224, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.portal-hero-card:focus-visible,
.portal-card:focus-visible,
.portal-pill-grid a:focus-visible,
.feed-card a:focus-visible,
.game-feed-card:focus-visible {
  outline: 3px solid rgba(47, 243, 224, 0.56);
  outline-offset: 3px;
}

.portal-hero-card,
.portal-card,
.portal-pill-grid a,
.portal-ticker a,
.feed-card,
.game-feed-card,
.category-tile,
.content-card,
.collection-card {
  border-radius: 8px;
  box-shadow:
    inset 0 -3px rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.portal-card.type-news,
.feed-card.type-news {
  border-top-color: var(--tetris-red);
  border-left-color: var(--tetris-red);
}

.portal-card.type-guide,
.feed-card.type-guide {
  border-top-color: var(--tetris-blue);
  border-left-color: var(--tetris-blue);
}

.portal-card.type-fix,
.feed-card.type-fix {
  border-top-color: var(--tetris-yellow);
  border-left-color: var(--tetris-yellow);
}

.portal-card.type-collection,
.feed-card.type-collection {
  border-top-color: var(--tetris-magenta);
  border-left-color: var(--tetris-magenta);
}

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

.portal-pill-grid a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 78px;
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.portal-pill-thumb {
  background: #0f1213;
  display: block;
  min-height: 78px;
  overflow: hidden;
  position: relative;
}

.portal-pill-copy {
  align-content: center;
  display: grid;
  gap: 3px;
  padding: 10px;
}

.portal-pill-copy strong {
  font-size: 16px;
  line-height: 1.1;
}

.hero-stack-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.compact-card {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 14px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.compact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.compact-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.compact-card strong {
  line-height: 1.15;
}

.compact-card small {
  color: var(--muted);
  font-weight: 850;
}

.quick-panel::before {
  background:
    linear-gradient(90deg, var(--blue), var(--teal), var(--amber), var(--red));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.quick-panel-head {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: clamp(18px, 4vw, 28px);
}

.quick-panel-head h1 {
  font-size: clamp(36px, 6vw, 72px);
  margin-bottom: 10px;
}

.quick-panel-head p:not(.eyebrow) {
  color: #d4dbd8;
  font-size: 18px;
  max-width: 720px;
}

.content-card:hover,
.quick-link:hover,
.category-card:hover,
.collection-card:hover {
  transform: translateY(-2px);
}

.tone-blue {
  border-top: 4px solid var(--blue);
}

.tone-green {
  border-top: 4px solid var(--green);
}

.tone-amber {
  border-top: 4px solid var(--amber);
}

.tone-red {
  border-top: 4px solid var(--red);
}

.tone-violet {
  border-top: 4px solid var(--violet);
}

.auth-shell {
  display: grid;
  justify-items: center;
}

.auth-card,
.account-panel,
.article-community {
  background:
    linear-gradient(var(--tetris-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tetris-grid) 1px, transparent 1px),
    rgba(29, 34, 38, 0.94);
  background-size: 24px 24px, 24px 24px, auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.auth-card {
  max-width: 620px;
  padding: clamp(22px, 4vw, 38px);
  width: min(100%, 620px);
}

.auth-card h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label,
.comment-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.auth-form input,
.auth-form textarea,
.comment-form textarea,
.inline-code-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 46px;
  min-width: 0;
  padding: 10px 12px;
  width: 100%;
}

.auth-form textarea,
.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.auth-switch,
.telegram-login {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

.auth-switch a,
.telegram-login a {
  color: var(--tetris-cyan);
  font-weight: 900;
}

.form-notice {
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 850;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.form-notice.is-info {
  background: rgba(47, 243, 224, 0.1);
  border-color: rgba(47, 243, 224, 0.28);
  color: var(--tetris-cyan);
}

.form-notice.is-error {
  background: rgba(255, 92, 77, 0.12);
  border-color: rgba(255, 92, 77, 0.38);
  color: #ffb4aa;
}

.account-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  min-width: 0;
}

.account-panel {
  max-width: 100%;
  min-width: 0;
  padding: 20px;
}

.account-panel-wide {
  grid-column: 1 / -1;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.profile-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  padding-bottom: 9px;
}

.profile-list dt {
  color: var(--muted);
  font-weight: 850;
}

.profile-list dd {
  font-weight: 950;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.verification-box {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.inline-code-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.inline-code-form button {
  width: auto;
}

.dev-code {
  background: rgba(255, 212, 59, 0.1);
  border: 1px solid rgba(255, 212, 59, 0.28);
  border-radius: 8px;
  color: var(--tetris-yellow);
  margin: 0;
  padding: 10px 12px;
}

.account-list,
.account-comments {
  display: grid;
  gap: 10px;
}

.account-list a,
.account-comments article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px;
  text-decoration: none;
}

.account-comments article span {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-comments p {
  margin: 6px 0 0;
}

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

.quick-link {
  align-items: center;
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 12px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.quick-link:nth-child(1) {
  border-bottom: 5px solid var(--red);
}

.quick-link:nth-child(2) {
  border-bottom: 5px solid var(--blue);
}

.quick-link:nth-child(3) {
  border-bottom: 5px solid var(--amber);
}

.quick-link:nth-child(4) {
  border-bottom: 5px solid var(--teal);
}

.quick-link:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.quick-link span {
  font-weight: 900;
}

.quick-link strong {
  font-size: 34px;
}

.photo-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.photo-card {
  align-content: end;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: white;
  display: grid;
  gap: 6px;
  min-height: 220px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.photo-card::after {
  background:
    linear-gradient(180deg, rgba(16, 18, 19, 0.08), rgba(16, 18, 19, 0.82)),
    linear-gradient(90deg, rgba(31, 111, 235, 0.2), rgba(43, 196, 169, 0.1));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.photo-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.01);
  transition: transform 200ms ease;
  width: 100%;
}

.photo-card span,
.photo-card strong,
.photo-card p {
  margin: 0;
  position: relative;
  z-index: 2;
}

.photo-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.photo-card strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.02;
}

.photo-card p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 360px;
}

.photo-card:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.photo-card:hover img {
  transform: scale(1.06);
}

.home-section,
.content-column,
.rail,
.table-shell,
.article-view,
.game-view,
.empty-state,
.page-title {
  padding: 20px;
}

.home-section {
  margin-top: 18px;
}

.content-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  margin-top: 18px;
  min-width: 0;
}

.content-column,
.table-shell {
  max-width: 100%;
  min-width: 0;
}

.category-detail-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.category-detail-layout.has-rail {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
}

.category-detail-layout.no-rail {
  grid-template-columns: minmax(0, 1fr);
}

.category-materials {
  min-width: 0;
}

.category-material-list .feed-card h2 {
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.15;
}

.category-material-list .feed-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.category-material-list .feed-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.rail {
  display: grid;
  gap: 16px;
}

.rail-block + .rail-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.section-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.section-head a,
.back-link,
.table-link {
  color: var(--amber);
  font-weight: 900;
  text-decoration: none;
}

.section-head a:hover,
.back-link:hover,
.table-link:hover {
  text-decoration: underline;
}

.article-top-link {
  align-items: center;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.16), rgba(255, 212, 59, 0.05)),
    rgba(8, 11, 17, 0.9);
  border: 1px solid rgba(255, 212, 59, 0.42);
  border-radius: 999px;
  bottom: clamp(26px, 5vh, 56px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--tetris-yellow);
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  min-height: 44px;
  min-width: 118px;
  padding: 10px 18px;
  position: fixed;
  right: max(18px, calc((100vw - 1240px) / 2 + 18px));
  text-transform: uppercase;
  z-index: 12;
}

.article-top-link::before {
  content: "↑";
  font-weight: 950;
  margin-right: 8px;
}

.article-top-link:hover {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.28), rgba(47, 243, 224, 0.12)),
    rgba(8, 11, 17, 0.94);
  border-color: rgba(255, 212, 59, 0.72);
  color: var(--tile);
  text-decoration: none;
}

.news-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 0.75fr);
}

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

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

.content-card,
.category-card,
.collection-card {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 12px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  position: relative;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.content-card.type-news {
  border-bottom: 5px solid var(--red);
}

.content-card.type-guide {
  border-bottom: 5px solid var(--blue);
}

.content-card.type-fix {
  border-bottom: 5px solid var(--amber);
}

.content-card.type-collection,
.collection-card {
  border-bottom: 5px solid var(--violet);
}

.game-card {
  border-bottom: 5px solid var(--teal);
}

.category-card {
  border-bottom: 5px solid var(--violet);
}

.category-title {
  display: grid;
  gap: 14px;
}

.category-title p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 860px;
}

.category-title-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-title-stats span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  min-width: 140px;
  padding: 12px 14px;
}

.category-title-stats strong {
  color: var(--tile);
  display: block;
  font-size: 28px;
  line-height: 1;
}

.category-finder {
  background:
    linear-gradient(180deg, rgba(96, 215, 201, 0.055), transparent 42%),
    rgba(18, 26, 31, 0.96);
  border: 1px solid rgba(96, 215, 201, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
}

.category-finder > * {
  min-width: 0;
}

.category-finder-head {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.category-finder-head > * {
  max-width: 100%;
  min-width: 0;
}

.category-finder-head h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.08;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.category-finder-lead {
  color: rgba(242, 245, 241, 0.68);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  margin: 6px 0 0;
  max-width: 680px;
}

.category-intent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.category-intent-row a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 2px;
  min-height: 42px;
  min-width: 128px;
  padding: 8px 10px;
  text-decoration: none;
}

.category-intent-row a:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.34);
}

.category-intent-row span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.category-intent-row strong {
  color: rgba(242, 245, 241, 0.82);
  font-size: 12px;
  line-height: 1.15;
}

.category-quick-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  min-width: 0;
}

.category-quick-row > span {
  color: rgba(242, 245, 241, 0.56);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
}

.category-quick-row a {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.78);
  font-size: 12px;
  font-weight: 900;
  max-width: 190px;
  overflow: hidden;
  padding: 6px 9px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-quick-row a:hover {
  background: rgba(255, 191, 71, 0.12);
  border-color: rgba(255, 191, 71, 0.32);
  color: var(--text);
}

.category-finder-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  max-width: 330px;
}

.category-finder-stats span {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}

.category-finder-stats strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  line-height: 1;
}

.category-control-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.category-finder label,
.category-search-field {
  display: grid;
  gap: 8px;
}

.category-finder label span,
.category-finder .eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.category-finder input {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.category-clear-button {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 44px;
  padding: 0 16px;
  width: auto;
}

.category-clear-button:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.34);
}

.category-clear-button[hidden] {
  display: none;
}

.category-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-filter-row button {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  width: auto;
}

.category-filter-row button span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: inherit;
  font-size: 12px;
  min-width: 24px;
  padding: 2px 7px;
  text-align: center;
}

.category-filter-row button:hover,
.category-filter-row button.is-active {
  background: var(--tile);
  border-color: var(--tile);
  color: var(--ink);
}

.category-status {
  color: rgba(242, 245, 241, 0.68);
  font-size: 13px;
  font-weight: 850;
  margin: 0;
}

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

.category-tile {
  background:
    linear-gradient(135deg, rgba(43, 196, 169, 0.08), rgba(255, 191, 71, 0.06)),
    rgba(29, 34, 38, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 14px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.category-tile:hover {
  border-color: rgba(43, 196, 169, 0.75);
  transform: translateY(-2px);
}

.category-tile-top {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.category-tile-top small {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.category-tile-top > span,
.category-tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-tile-top > span span,
.category-tile-tags span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  padding: 4px 8px;
}

.category-tile strong {
  font-size: 21px;
  line-height: 1.05;
}

.category-tile p,
.category-tile-recent {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.category-tile p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-tile-recent {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-tile-tags {
  margin-top: auto;
}

.content-card:hover,
.category-card:hover,
.collection-card:hover,
.feed-card:hover,
.game-feed-card:hover {
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.category-list .category-card {
  min-height: 0;
}

.card-media {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.16), rgba(43, 196, 169, 0.1)),
    rgba(17, 19, 21, 0.08);
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 10px;
  color: rgba(17, 19, 21, 0.28);
  display: flex;
  font-size: 34px;
  font-weight: 950;
  height: 96px;
  justify-content: flex-end;
  line-height: 0.8;
  margin-bottom: 2px;
  overflow: hidden;
  padding: 10px;
}

.card-media.has-image {
  align-items: stretch;
  background: #111315;
  padding: 0;
}

.card-media.has-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.content-card.type-news .card-media {
  background: linear-gradient(135deg, rgba(224, 82, 62, 0.22), rgba(225, 168, 59, 0.12));
}

.content-card.type-guide .card-media {
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.24), rgba(43, 196, 169, 0.12));
}

.content-card.type-fix .card-media {
  background: linear-gradient(135deg, rgba(225, 168, 59, 0.28), rgba(224, 82, 62, 0.1));
}

.content-card h3,
.collection-card h3,
.search-result h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card p,
.collection-card p,
.search-result p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card.is-featured {
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.22), transparent 44%),
    #171d24;
  border-color: rgba(31, 111, 235, 0.38);
  color: var(--text);
  grid-row: span 2;
}

.content-card.is-featured .card-media {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.18);
  height: 132px;
}

.content-card.is-featured p {
  color: #c7d1d6;
}

.rank-badge {
  align-self: start;
  background: var(--ink);
  border-radius: 999px;
  color: var(--tile);
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  justify-self: start;
  letter-spacing: 0;
  padding: 5px 8px;
}

.content-card.is-featured .rank-badge,
.news-list .rank-badge {
  background: var(--tile);
  color: var(--ink);
}

.content-kicker {
  color: #586167;
  margin-bottom: 0;
}

.content-card.is-featured .content-kicker {
  color: var(--teal);
}

.card-action {
  align-self: end;
  color: var(--blue);
  font-weight: 950;
}

.content-card.is-featured .card-action {
  color: var(--amber);
}

.chips {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips span,
.chips a,
.status,
.category-stats span {
  background: rgba(17, 19, 21, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #4f585d;
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 9px;
  text-decoration: none;
}

.content-card.is-featured .chips span,
.content-card.is-featured .chips a {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.news-list {
  background: #0f1214;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.news-list h3 {
  margin-bottom: 2px;
}

.news-list-item {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding-top: 10px;
  text-decoration: none;
}

.news-list-item:hover strong {
  color: var(--amber);
}

.news-list-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

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

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

.collection-card {
  min-height: 280px;
}

.collection-card .card-media {
  background:
    linear-gradient(135deg, rgba(155, 124, 255, 0.24), rgba(31, 111, 235, 0.13)),
    rgba(17, 19, 21, 0.08);
}

.category-card {
  min-height: 205px;
}

.category-card p {
  color: #586167;
  font-size: 14px;
  margin-bottom: 0;
}

.category-stats {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-stats {
  color: #586167;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 900;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.status-active {
  background: rgba(101, 211, 126, 0.18);
  border-color: rgba(101, 211, 126, 0.46);
  color: #0f5c29;
}

.status-unverified {
  background: rgba(225, 168, 59, 0.22);
  border-color: rgba(225, 168, 59, 0.54);
  color: #684307;
}

.status-expired,
.status-invalid {
  background: rgba(224, 82, 62, 0.2);
  border-color: rgba(224, 82, 62, 0.46);
  color: #7a2118;
}

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

.queue-list li {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.queue-list strong {
  font-size: 22px;
  line-height: 1.1;
}

.queue-list span {
  color: var(--muted);
  text-align: right;
}

.queue-list a {
  color: var(--amber);
  font-weight: 950;
  text-decoration: none;
}

.queue-list a:hover {
  text-decoration: underline;
}

.page-title {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.page-title h1 {
  margin-bottom: 0;
}

.split-title {
  align-items: stretch;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.games-title {
  margin-bottom: 10px;
  padding-block: clamp(16px, 2.4vw, 26px);
}

.games-title h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.98;
}

.feed-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.feed-toolbar strong {
  color: var(--tile);
  white-space: nowrap;
}

.filter-tabs {
  align-items: center;
  background: rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
}

.filter-tabs > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  margin-right: 6px;
  text-transform: uppercase;
}

.filter-tabs a {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.filter-tabs a:hover,
.filter-tabs a.is-active {
  background: var(--tile);
  border-color: var(--tile);
  color: var(--ink);
}

.news-feed {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
}

.news-feed-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-tabs strong {
  font-size: 12px;
}

.games-filter-panel {
  background: rgba(18, 26, 31, 0.94);
  border: 1px solid rgba(96, 215, 201, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  min-width: 0;
  padding: 10px;
}

.games-control-row {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(138px, 0.28fr) minmax(280px, 1fr);
  min-width: 0;
}

.games-result-summary {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
}

.games-result-summary span,
.games-sort-row > span {
  color: #9fb3bf;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.games-result-summary strong {
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.08;
}

.games-result-summary small {
  color: rgba(242, 245, 241, 0.66);
  font-weight: 800;
}

.games-directory-search {
  align-items: stretch;
  background: rgba(8, 13, 16, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
}

.games-directory-search:focus-within {
  border-color: rgba(96, 215, 201, 0.72);
  box-shadow: 0 0 0 3px rgba(96, 215, 201, 0.14);
}

.games-directory-search input {
  background: transparent;
  border: 0;
  color: #f8fafc;
  font: inherit;
  min-width: 0;
  outline: 0;
  padding: 0 14px;
}

.games-directory-search input::placeholder {
  color: #94a3b8;
}

.games-directory-search button {
  background: #60d7c9;
  border: 0;
  color: #071012;
  cursor: pointer;
  font-weight: 950;
  min-height: 44px;
  padding: 0 18px;
}

.games-sort-row {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.games-sort-options,
.games-applied-chips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.games-sort-options a,
.games-applied-chips a {
  align-items: center;
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.74);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.games-sort-options a:hover,
.games-sort-options a.is-active,
.games-applied-chips a:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.34);
  color: #f8fafc;
}

.games-applied-chips a {
  background: rgba(255, 255, 255, 0.045);
}

.games-applied-chips .is-reset {
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.games-filter-scroller {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

.games-filter-scroller .feed-filters,
.games-filter-scroller .filter-tabs {
  border-radius: 8px;
  margin-bottom: 0;
  padding: 10px;
}

.game-directory-section {
  margin-top: 18px;
}

.game-directory-section .section-head > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.game-directory-section .game-feed-card {
  gap: 10px 14px;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  padding: 12px;
}

.game-directory-section .game-feed-thumb {
  border-radius: 8px;
}

.game-directory-section .game-feed-card h2 {
  font-size: clamp(18px, 1.6vw, 24px);
}

.game-directory-section .game-feed-card > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.directory-card.source-category {
  border-bottom-color: var(--blue);
}

@media (max-width: 720px) {
  .games-title-directory {
    gap: 6px;
    margin-bottom: 8px;
    padding: 10px 12px;
  }

  .games-title-directory h1 {
    font-size: 30px;
  }

  .games-title-directory p {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
  }

  .games-filter-panel {
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
  }

  .games-control-row {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .games-result-summary {
    align-items: baseline;
    gap: 4px 8px;
    grid-template-columns: auto auto minmax(0, 1fr);
    padding: 7px 9px;
  }

  .games-result-summary span,
  .games-sort-row > span {
    font-size: 10px;
  }

  .games-result-summary strong {
    font-size: 17px;
  }

  .games-result-summary small {
    font-size: 12px;
  }

  .games-directory-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .games-directory-search input {
    min-height: 40px;
    padding: 0 10px;
  }

  .games-directory-search button {
    min-height: 40px;
    padding: 0 12px;
  }

  .games-sort-row {
    align-items: stretch;
    display: grid;
    gap: 6px;
  }

  .games-sort-options {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .games-applied-chips {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .games-sort-options::-webkit-scrollbar,
  .games-applied-chips::-webkit-scrollbar {
    display: none;
  }

  .games-sort-options a,
  .games-applied-chips a {
    font-size: 12px;
    min-height: 30px;
    padding: 5px 9px;
  }

  .games-filter-scroller {
    gap: 6px;
    margin-bottom: 8px;
  }

  .games-filter-scroller .feed-filters,
  .games-filter-scroller .filter-tabs {
    background: transparent;
    border: 0;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .games-filter-scroller .feed-filters::-webkit-scrollbar,
  .games-filter-scroller .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .games-filter-scroller .filter-tabs > span {
    display: none;
  }

  .games-filter-scroller .feed-filters a,
  .games-filter-scroller .filter-tabs a {
    flex: 0 0 auto;
    font-size: 12px;
    min-height: 30px;
    padding: 5px 9px;
    white-space: nowrap;
  }

  .game-directory-section {
    margin-top: 8px;
  }

  .game-directory-section .section-head {
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .game-directory-section .section-head .eyebrow {
    margin-bottom: 3px;
  }

  .game-directory-section .section-head h2 {
    font-size: 22px;
  }

  .game-directory-section .game-feed-card {
    gap: 8px;
    grid-template-columns: 100px minmax(0, 1fr);
    padding: 9px;
  }
}

@media (max-width: 520px) {
  .game-discovery-search {
    grid-template-columns: 1fr;
  }

  .games-filter-panel .games-directory-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .games-directory-search button {
    min-height: 40px;
  }

  .game-directory-section .game-feed-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

.search-results {
  display: grid;
  gap: 18px;
}

.search-panel {
  align-items: center;
  background: rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 14px;
  padding: 14px;
}

.search-panel input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  min-width: 0;
  padding: 10px 12px;
}

.search-panel button {
  min-width: 128px;
}

.search-quick-links {
  align-items: center;
  color: rgba(242, 245, 241, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.search-quick-links > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.search-quick-links a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.74);
  font-weight: 900;
  min-height: 34px;
  padding: 6px 11px;
  text-decoration: none;
}

.search-quick-links a:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.28);
  color: var(--text);
}

.search-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.search-type-filters a {
  align-items: center;
  background: rgba(18, 26, 31, 0.9);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.74);
  display: inline-flex;
  font-weight: 950;
  gap: 8px;
  min-height: 36px;
  padding: 7px 10px;
  text-decoration: none;
}

.search-type-filters a strong {
  background: rgba(96, 215, 201, 0.12);
  border: 1px solid rgba(96, 215, 201, 0.2);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  min-width: 24px;
  padding: 2px 7px;
  text-align: center;
}

.search-type-filters a:hover,
.search-type-filters a.is-active {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.32);
  color: var(--text);
}

.search-group {
  display: grid;
  gap: 12px;
}

.search-result {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.12), transparent 34%),
    rgba(18, 26, 31, 0.96);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: 16px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.search-result.has-media {
  grid-template-columns: minmax(118px, 160px) auto minmax(0, 1fr) auto;
}

.search-result-thumb {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 7px;
  display: block;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.search-result-thumb picture,
.search-result-thumb img {
  display: block;
  height: 100%;
  width: 100%;
}

.search-result-thumb img {
  object-fit: cover;
}

.search-result:hover {
  border-color: rgba(96, 215, 201, 0.3);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.search-result-kicker,
.search-result-copy {
  min-width: 0;
}

.search-result-copy {
  display: grid;
  gap: 6px;
}

.search-result-meta {
  color: rgba(96, 215, 201, 0.84);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.search-result h3,
.search-result p {
  margin: 0;
}

.search-result h3 {
  color: var(--text);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}

.search-result p {
  color: rgba(242, 245, 241, 0.66);
}

.search-result-action {
  color: var(--teal);
  font-weight: 950;
  white-space: nowrap;
}

.search-result:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.75);
  outline-offset: 3px;
}

/* Wave 10: listing density and shared discovery rhythm. */
.live-shell {
  gap: 12px;
  padding: clamp(14px, 2.4vw, 20px);
}

.live-shell .live-head {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
}

.live-shell .live-head h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 0;
}

.live-shell .live-head p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.36;
  margin: 0;
}

.live-shell .feed-control-panel {
  align-items: center;
  gap: 12px;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.45fr) minmax(150px, 0.36fr);
  padding: 12px;
}

.live-shell .feed-control-copy strong {
  font-size: 18px;
}

.live-shell .feed-control-copy span:last-child {
  font-size: 13px;
  line-height: 1.28;
}

.live-shell .live-summary {
  border-radius: 8px;
  padding: 10px 12px;
}

.live-shell .feed-card {
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.055), transparent 35%),
    rgba(18, 26, 31, 0.96);
  border-color: rgba(226, 235, 230, 0.11);
}

.live-shell .feed-card > a {
  gap: 12px;
  grid-template-columns: minmax(148px, 208px) minmax(0, 1fr);
  padding: 12px;
}

.live-shell .feed-thumb {
  border-radius: 7px;
}

.live-shell .feed-copy {
  gap: 6px;
}

.live-shell .feed-card h2 {
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.12;
}

.live-shell .feed-card p {
  font-size: 14px;
  line-height: 1.38;
}

.search-title {
  margin-bottom: 12px;
  padding-block: clamp(18px, 3vw, 30px);
}

.search-title h1 {
  font-size: clamp(38px, 4.6vw, 58px);
}

.search-status {
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.search-result {
  gap: 10px;
  padding: 12px;
}

.search-result h3 {
  font-size: clamp(18px, 1.8vw, 24px);
}

.search-result p {
  line-height: 1.38;
  -webkit-line-clamp: 2;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.pagination a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--tile);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.pagination a:hover,
.pagination a.is-active {
  background: var(--tile);
  border-color: var(--tile);
  color: var(--ink);
}

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

table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

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

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--tile);
  padding: 4px 7px;
}

.action-stack {
  display: grid;
  gap: 10px;
}

.admin-console {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  min-width: 0;
}

.admin-sidebar,
.admin-hero,
.admin-panel {
  background: rgba(29, 34, 38, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-sidebar {
  display: grid;
  gap: 14px;
  padding: 14px;
  position: sticky;
  top: 88px;
}

.admin-sidebar-head {
  display: grid;
  gap: 4px;
}

.admin-sidebar-head strong {
  font-size: 24px;
  line-height: 1;
}

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

.admin-nav a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 10px;
  text-decoration: none;
}

.admin-nav a:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.28);
}

.admin-nav span,
.admin-section-count {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.admin-side-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.admin-side-card span,
.admin-side-card small {
  color: var(--muted);
}

.admin-side-card strong {
  font-size: 22px;
  line-height: 1;
}

.admin-side-actions {
  display: grid;
  gap: 8px;
}

.admin-side-actions button,
.admin-side-actions .button-secondary {
  width: 100%;
}

.admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-hero {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(18px, 3vw, 28px);
}

.admin-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  margin: 0;
}

.admin-hero p:not(.eyebrow) {
  color: var(--muted);
  margin: 8px 0 0;
}

.admin-hero-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  min-width: min(460px, 100%);
}

.admin-hero-meta span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 4px;
  padding: 10px;
}

.admin-hero-meta strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.admin-monitoring {
  margin-bottom: 0;
  padding: clamp(16px, 3vw, 22px);
}

.admin-panel {
  overflow: hidden;
}

.admin-panel-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-panel-head h2,
.admin-panel-head h3 {
  margin: 0;
}

.admin-panel-head p:not(.eyebrow) {
  color: var(--muted);
  margin: 4px 0 0;
}

.admin-monitor-grid,
.admin-queue-grid,
.pipeline-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-queue-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.pipeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-monitor-split {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin: 14px 0;
}

.monitor-block {
  min-width: 0;
}

.monitor-card,
.pipeline-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
}

.monitor-card span,
.pipeline-card span {
  color: #c8d0cd;
  font-size: 13px;
}

.monitor-card strong,
.pipeline-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.monitor-card p,
.pipeline-card p {
  color: #c8d0cd;
  font-size: 13px;
  margin: 0;
}

.health-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  text-transform: uppercase;
}

.health-pill.is-ok {
  border-color: rgba(107, 229, 165, 0.65);
  color: var(--green);
}

.health-pill.is-attention {
  border-color: rgba(246, 201, 110, 0.65);
  color: var(--amber);
}

.monitor-runtime {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.monitor-runtime span {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c8d0cd;
  font-size: 13px;
  padding: 8px 10px;
}

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

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

.monitor-alert,
.monitor-ok {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 10px 12px;
}

.monitor-alert.is-danger {
  background: rgba(255, 103, 103, 0.09);
  border-color: rgba(255, 103, 103, 0.38);
}

.monitor-alert.is-warning {
  background: rgba(246, 201, 110, 0.09);
  border-color: rgba(246, 201, 110, 0.38);
}

.monitor-ok {
  background: rgba(107, 229, 165, 0.09);
  border-color: rgba(107, 229, 165, 0.38);
  color: #d8f6e6;
  margin-top: 14px;
}

.compact-table {
  margin-top: 10px;
}

.admin-data-section {
  padding: clamp(14px, 2vw, 18px);
}

.admin-data-section .table-shell {
  background: rgba(8, 11, 17, 0.28);
  border-color: rgba(246, 242, 232, 0.1);
  box-shadow: none;
}

.admin-metric-grid,
.admin-tool-grid {
  display: grid;
  gap: 12px;
}

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

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

.admin-metric {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 14px;
}

.admin-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-metric strong {
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.admin-wide-form {
  max-width: 760px;
}

.admin-tool-grid .admin-wide-form {
  max-width: none;
}

.admin-tool-grid .admin-wide-form h3 {
  margin: 0;
}

.admin-loader-head {
  margin: 16px 0 8px;
}

tr.is-warning td {
  background: rgba(246, 201, 110, 0.05);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.table-actions button {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 8px;
  width: auto;
}

.admin-login-form {
  margin: 18px 0;
}

.cookie-banner {
  align-items: center;
  background: rgba(13, 20, 24, 0.94);
  border: 1px solid rgba(96, 215, 201, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  color: var(--text);
  display: grid;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: auto;
  margin: 0;
  max-width: 420px;
  padding: 7px 8px;
  position: fixed;
  right: max(18px, calc((100vw - 1130px) / 2));
  transform: none;
  width: min(420px, calc(100vw - 32px));
  z-index: 80;
}

body:has(.admin-console) .cookie-banner {
  display: none;
}

body:has(.portal-home) .cookie-banner {
  display: none;
}

/* Wave446: keep Byrut-like reference boards clear of the consent overlay. */
body:has(.portal-news) .cookie-banner {
  display: none;
}

/* Wave369: match Byrut article viewports by keeping release cards free of the consent overlay. */
body:has(.game-release-reference-shell) .cookie-banner {
  display: none;
}

.cookie-banner-icon {
  align-items: center;
  background: rgba(96, 215, 201, 0.12);
  border: 1px solid rgba(96, 215, 201, 0.22);
  border-radius: 8px;
  color: var(--teal);
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.cookie-banner-icon svg {
  display: block;
  fill: none;
  height: 23px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 23px;
}

.cookie-banner-icon circle {
  fill: currentColor;
  stroke: none;
}

.cookie-banner-text {
  color: rgba(242, 245, 241, 0.78);
  flex: 1 1 auto;
  font-size: 12.5px;
  font-weight: 780;
  line-height: 1.18;
  min-width: 0;
}

.cookie-banner-text a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.cookie-banner button {
  background: rgba(96, 215, 201, 0.18);
  border: 1px solid rgba(96, 215, 201, 0.32);
  border-radius: 999px;
  color: var(--text);
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 900;
  min-height: 30px;
  min-width: 46px;
  padding: 5px 9px;
  width: auto;
}

@media (max-width: 720px) {
  .cookie-banner {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    margin: 0;
    max-width: none;
    padding: 6px 7px;
    position: fixed;
    right: 10px;
    transform: none;
    width: auto;
    z-index: 80;
  }

  .cookie-banner-icon {
    display: none;
  }

  .cookie-banner-text {
    font-size: 11.5px;
    line-height: 1.12;
  }

  .cookie-banner button {
    min-height: 30px;
    min-width: 38px;
    padding: 5px 7px;
  }
}

@media (max-width: 360px) {
  .cookie-banner {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 6px;
    right: 6px;
  }

  .cookie-banner-text {
    font-size: 11px;
  }
}

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

.article-view,
.game-view,
.empty-state {
  margin: 0 auto;
  max-width: 980px;
}

.article-view {
  max-width: 1240px;
}

.article-view {
  scroll-margin-top: 96px;
}

.article-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  grid-template-columns: minmax(0, 1fr) minmax(248px, 300px);
  margin-top: 22px;
  min-width: 0;
}

.article-detail-main,
.article-sidebar {
  min-width: 0;
}

.article-sidebar {
  align-self: stretch;
}

.article-detail-main {
  display: grid;
  gap: 0;
}

.article-sidebar-sticky {
  align-content: start;
  border-left: 1px solid rgba(246, 242, 232, 0.12);
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-left: 14px;
  padding-right: 4px;
  position: sticky;
  scrollbar-width: thin;
  top: 96px;
}

.article-sidebar-section {
  border-top: 1px solid rgba(246, 242, 232, 0.12);
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.article-sidebar-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-sidebar-head {
  display: grid;
}

.article-sidebar h2 {
  color: var(--tetris-cyan);
  font-size: 15px;
  line-height: 1.12;
  margin: 0;
}

.article-sidebar-overview {
  background:
    linear-gradient(180deg, rgba(47, 243, 224, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(17, 22, 25, 0.92);
  border: 1px solid rgba(47, 243, 224, 0.18);
  border-radius: 8px;
  padding: 12px;
}

.article-sidebar-section.article-sidebar-overview:first-child {
  border-top: 1px solid rgba(47, 243, 224, 0.18);
  padding-top: 12px;
}

.article-sidebar-facts {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.article-sidebar-facts div {
  align-content: start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 8px;
}

.article-sidebar-facts dt {
  color: #8ea4a2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-sidebar-facts dd {
  color: var(--tile);
  font-size: 13px;
  font-weight: 850;
  margin: 0;
  overflow-wrap: anywhere;
}

.article-sidebar-section-link {
  align-items: center;
  border: 1px solid rgba(47, 243, 224, 0.18);
  border-radius: 7px;
  color: var(--tetris-cyan);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  text-decoration: none;
}

.article-sidebar-section-link:hover {
  background: rgba(47, 243, 224, 0.08);
  border-color: rgba(47, 243, 224, 0.32);
  color: #ffffff;
}

.article-sidebar-more {
  color: var(--tetris-cyan);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}

.article-sidebar-toc .article-toc {
  background: transparent;
  border: 0;
  margin: 0;
  max-width: none;
  padding: 0;
}

.article-sidebar-toc .article-toc-head {
  margin-bottom: 2px;
}

.article-sidebar-toc .article-toc strong {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--tetris-cyan);
  padding: 0;
  text-transform: none;
}

.article-sidebar-toc .article-toc-count {
  color: rgba(217, 224, 221, 0.58);
  font-size: 11px;
}

.article-sidebar-toc .article-toc-list {
  gap: 2px;
  grid-template-columns: 1fr;
}

.article-sidebar-toc .article-toc-list a {
  background: transparent;
  border-color: transparent;
  min-height: 28px;
  padding: 4px 0;
}

.article-sidebar-toc .article-toc-list a::before {
  background: rgba(47, 243, 224, 0.16);
  color: var(--tetris-cyan);
}

.article-sidebar-list {
  display: grid;
  gap: 0;
}

.article-sidebar-item {
  border: 0;
  border-top: 1px solid rgba(246, 242, 232, 0.1);
  border-radius: 0;
  color: var(--text);
  display: grid;
  gap: 8px;
  padding: 7px 0;
  text-decoration: none;
}

.article-sidebar-item.has-thumb {
  align-items: center;
  grid-template-columns: 62px minmax(0, 1fr);
}

.article-sidebar-games .article-sidebar-item.has-thumb {
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 4px 0;
}

.article-sidebar-item:first-child {
  border-top: 0;
}

.article-sidebar-item:hover {
  color: var(--tetris-cyan);
}

.article-sidebar-thumb {
  aspect-ratio: 6 / 4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 7px;
  display: block;
  overflow: hidden;
}

.article-sidebar-thumb picture,
.article-sidebar-thumb img {
  display: block;
  height: 100%;
  width: 100%;
}

.article-sidebar-thumb img {
  object-fit: cover;
}

.article-sidebar-games .article-sidebar-thumb {
  aspect-ratio: 2 / 3;
  background: #06090b;
  border-radius: 5px;
}

.article-sidebar-games .article-sidebar-thumb img {
  object-fit: contain;
}

.article-sidebar-item strong {
  color: var(--tile);
  font-size: 13px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.article-sidebar-item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.article-sidebar-item-meta {
  color: rgba(217, 224, 221, 0.56);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
}

.article-sidebar-games .article-sidebar-item strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-sidebar-item:hover strong {
  color: var(--tetris-cyan);
}

.game-release-sidebar-card {
  background:
    linear-gradient(180deg, rgba(47, 243, 224, 0.08), rgba(255, 255, 255, 0.035)),
    #10171a;
  border: 1px solid rgba(47, 243, 224, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  align-content: start;
  display: grid;
  gap: 8px 10px;
  grid-auto-rows: max-content;
  grid-template-columns: 92px minmax(0, 1fr);
  justify-items: stretch;
  overflow: hidden;
  padding: 8px;
}

.game-release-sidebar-cover {
  aspect-ratio: 2 / 3;
  background: #06090b;
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 7px;
  display: block;
  height: 138px;
  justify-self: center;
  margin: 0;
  max-width: 92px;
  overflow: hidden;
  width: min(100%, 92px);
}

.game-release-sidebar-cover picture,
.game-release-sidebar-cover img {
  display: block;
  height: 100%;
  width: 100%;
}

.game-release-sidebar-cover img {
  object-fit: contain;
}

.game-release-sidebar-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.game-release-sidebar-copy .eyebrow {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}

.game-release-sidebar-copy h2 {
  color: var(--tile);
  font-size: 16px;
  line-height: 1.12;
}

.game-release-sidebar-copy dl {
  display: grid;
  gap: 3px;
  margin: 0;
}

.game-release-sidebar-copy dl div {
  align-items: baseline;
  border-top: 1px solid rgba(246, 242, 232, 0.08);
  display: flex;
  gap: 6px;
  justify-content: space-between;
  padding-top: 3px;
}

.game-release-sidebar-copy dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-release-sidebar-copy dd {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.game-release-sidebar-cta {
  align-items: center;
  background: linear-gradient(135deg, #19d86b 0%, #83f28f 100%);
  border: 1px solid rgba(185, 255, 191, 0.72);
  border-radius: 7px;
  color: #041307;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 36px;
  text-decoration: none;
  width: 100%;
}

.breadcrumbs {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.breadcrumbs span:last-child {
  color: var(--tile);
  font-weight: 850;
}

.breadcrumb-separator {
  color: rgba(246, 242, 232, 0.34);
}

.article-view header,
.game-hero {
  border-bottom: 1px solid var(--line);
  margin-top: 16px;
  padding-bottom: 24px;
}

.article-view header p {
  color: #d4dbd8;
  font-size: 19px;
}

.article-view h1,
.article-view header p,
.breadcrumbs a,
.breadcrumbs span,
.article-toc a,
.article-related-card,
.article-related-card *,
.share-actions a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-view .chips span,
.article-view .chips a {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--muted);
}

.article-view .chips a:hover {
  border-color: rgba(47, 243, 224, 0.48);
  color: var(--tile);
}

.article-cover {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-sizing: border-box;
  margin: 24px 0 0;
  max-width: 980px;
  overflow: hidden;
  width: 100%;
}

.article-cover img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  max-height: min(62vh, 620px);
  object-fit: cover;
  width: 100%;
}

.article-cover-game {
  align-items: center;
  background: #080d10;
  display: flex;
  justify-content: center;
}

.article-cover-game img {
  aspect-ratio: auto;
  max-height: min(56vh, 540px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.article-cover-primary {
  background: transparent;
  margin-top: 18px;
  padding: 0;
  width: min(100%, 420px);
}

.article-cover-primary img {
  aspect-ratio: 2 / 3;
  display: block;
  height: auto;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.article-reading-hero {
  border-bottom: 1px solid rgba(246, 242, 232, 0.12);
  display: grid;
  gap: 18px;
  min-width: 0;
  padding-bottom: 20px;
}

.article-reading-hero.has-cover {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.article-reading-copy,
.article-reading-media {
  min-width: 0;
}

.article-reading-copy header {
  border-bottom: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.article-reading-media .article-cover {
  margin: 0;
  max-width: none;
}

.article-reading-media .article-cover img {
  max-height: min(34vh, 360px);
}

.article-view-material {
  max-width: 1130px;
}

.article-view-material .article-reading-hero {
  background: rgb(24, 24, 27);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 12px;
  padding: clamp(16px, 2.4vw, 24px);
}

.article-view-material .article-reading-hero.has-cover {
  grid-template-columns: 1fr;
}

.article-view-material .article-reading-copy h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  max-width: 940px;
}

.article-view-material .article-reading-media .article-cover {
  border-radius: 12px;
  width: 100%;
}

.article-view-material .article-reading-media .article-cover img {
  aspect-ratio: 16 / 9;
  max-height: min(48vh, 460px);
  object-fit: cover;
  width: 100%;
}

.article-mobile-toc,
.article-mobile-sidecar,
.game-release-mobile-sidecar {
  display: none;
}

.article-mobile-sidecar {
  background:
    linear-gradient(180deg, rgba(47, 243, 224, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(14, 20, 22, 0.9);
  border: 1px solid rgba(47, 243, 224, 0.17);
  border-radius: 8px;
  gap: 10px;
  margin: 4px 0 16px;
  min-width: 0;
  padding: 12px;
}

.article-mobile-sidecar-head,
.game-release-mobile-sidecar-head {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.article-mobile-sidecar-head span,
.game-release-mobile-sidecar-head span {
  color: var(--tetris-cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-mobile-sidecar-head h2,
.game-release-mobile-sidecar-head h2 {
  color: var(--tile);
  font-size: 16px;
  line-height: 1.14;
  margin: 0;
}

.article-mobile-sidecar-related,
.game-release-mobile-sidecar-related {
  border-top: 1px solid rgba(246, 242, 232, 0.1);
  display: grid;
  gap: 6px;
  padding-top: 8px;
}

.article-mobile-sidecar .article-sidebar-item:first-child,
.game-release-mobile-sidecar .game-release-sidecar-related-item:first-child {
  border-top: 0;
}

.article-gallery {
  margin-top: 18px;
  max-width: 980px;
}

.article-detail-main > .article-cover:first-child,
.article-detail-main > .article-gallery:first-child {
  margin-top: 0;
}

.article-gallery-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 0 14px;
}

.article-gallery h2 {
  color: var(--tetris-cyan);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  margin: 0;
}

.article-gallery-controls {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.article-gallery-controls button {
  align-items: center;
  aspect-ratio: 1;
  background: #11191d;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  line-height: 1;
}

.article-gallery-controls button:hover {
  border-color: var(--tetris-cyan);
  color: var(--tetris-cyan);
}

.article-gallery-controls button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.45;
}

.article-gallery-controls span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-gallery-viewer {
  background: #080d10;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.article-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.article-gallery-track::-webkit-scrollbar {
  display: none;
}

.article-gallery-slide {
  aspect-ratio: 16 / 9;
  flex: 0 0 100%;
  margin: 0;
  max-height: min(58vh, 560px);
  scroll-snap-align: start;
}

.article-gallery img {
  display: block;
  height: 100%;
  image-rendering: auto;
  object-fit: contain;
  width: 100%;
}

.article-body {
  color: var(--text);
  font-size: 18px;
  max-width: 760px;
  padding-top: 24px;
}

.article-body h2 {
  color: var(--tetris-cyan);
  font-size: 30px;
  line-height: 1.1;
  margin: 30px 0 12px;
  scroll-margin-top: 112px;
  text-shadow: 0 0 18px rgba(47, 243, 224, 0.12);
}

.article-body h3 {
  color: var(--tetris-yellow);
  font-size: 23px;
  line-height: 1.15;
  margin: 24px 0 10px;
  scroll-margin-top: 112px;
}

.article-body p {
  color: var(--text);
}

.article-body a {
  color: var(--tetris-cyan);
  font-weight: 850;
}

.article-body blockquote {
  background: rgba(255, 255, 255, 0.055);
  border-left: 4px solid var(--tetris-cyan);
  margin: 20px 0;
  padding: 14px 16px;
}

.article-body blockquote p {
  margin: 0;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 22px;
}

.privacy-policy {
  max-width: 1040px;
}

.privacy-policy .lead {
  color: #e8eee9;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  max-width: 900px;
}

.privacy-policy section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 24px;
  scroll-margin-top: 112px;
}

.privacy-policy h2 {
  color: var(--tetris-cyan);
  font-size: clamp(24px, 2.7vw, 34px);
  margin-bottom: 14px;
}

.privacy-policy p,
.privacy-policy li {
  color: #e0e6e1;
  font-size: 17px;
  line-height: 1.65;
}

.privacy-policy ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.privacy-policy a {
  color: var(--tetris-cyan);
  font-weight: 850;
}

.privacy-note {
  background: rgba(47, 243, 224, 0.08);
  border: 1px solid rgba(47, 243, 224, 0.22);
  border-left: 4px solid var(--tetris-cyan);
  border-radius: 10px;
  margin: 18px 0 0;
  max-width: 900px;
  padding: 14px 16px;
}

.privacy-nav {
  background: rgba(8, 11, 17, 0.54);
  border: 1px solid rgba(47, 243, 224, 0.22);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
}

.privacy-nav strong {
  color: var(--tetris-cyan);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.privacy-nav ol {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy-nav a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 8px;
  color: #e8fdf9;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  min-height: 42px;
  padding: 9px 11px;
  text-decoration: none;
}

.privacy-nav a:hover {
  background: rgba(47, 243, 224, 0.11);
  border-color: rgba(47, 243, 224, 0.42);
}

.article-toc {
  background: rgba(8, 11, 17, 0.54);
  border: 1px solid rgba(47, 243, 224, 0.22);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  max-width: 860px;
  padding: 14px;
}

.article-toc-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  min-width: 0;
}

.article-toc strong {
  background: rgba(47, 243, 224, 0.12);
  border: 1px solid rgba(47, 243, 224, 0.28);
  border-radius: 999px;
  color: var(--tetris-cyan);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-toc-count {
  color: rgba(217, 224, 221, 0.62);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-toc-list {
  counter-reset: article-toc;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  min-width: 0;
}

.article-toc-list a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(246, 242, 232, 0.12);
  border-radius: 10px;
  color: #e8fdf9;
  counter-increment: article-toc;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 7px;
  justify-content: flex-start;
  min-height: 42px;
  padding: 8px 10px 8px 8px;
  text-decoration: none;
}

.article-toc-list a::before {
  align-items: center;
  background: var(--tetris-cyan);
  border-radius: 6px;
  color: var(--tetris-ink);
  content: counter(article-toc);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 950;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.article-toc-list a:hover {
  background: rgba(47, 243, 224, 0.11);
  border-color: rgba(47, 243, 224, 0.42);
  color: var(--tile);
}

.article-toc-list .toc-level-3 {
  color: #ffeaa3;
}

.article-toc-list .toc-level-3::before {
  background: var(--tetris-yellow);
}

.article-engagement {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  max-width: 980px;
}

.article-community {
  display: grid;
  gap: 16px;
  padding: clamp(14px, 3vw, 20px);
}

.community-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.community-head h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.reaction-bar,
.community-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.reaction-bar {
  align-items: center;
}

.community-counters span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  padding: 7px 10px;
}

.reaction-form {
  display: inline-flex;
  margin: 0;
  width: auto;
}

.reaction-pill {
  align-items: center;
  background: rgba(8, 11, 17, 0.76);
  border: 2px solid rgba(246, 242, 232, 0.16);
  border-radius: 7px;
  color: var(--muted);
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 42px;
  min-width: 74px;
  padding: 8px 12px;
  text-decoration: none;
  width: auto;
}

.reaction-pill strong {
  font-size: 20px;
  line-height: 1;
}

.reaction-like {
  color: #8ff2bd;
}

.reaction-like:hover,
.reaction-like.is-active {
  border-color: #8fc7ff;
  box-shadow:
    inset 0 0 0 2px rgba(143, 199, 255, 0.18),
    0 0 18px rgba(47, 243, 224, 0.18);
}

.reaction-share {
  color: #ff8d96;
}

.reaction-comments {
  color: #b8beca;
}

.reaction-views {
  color: #8fc7ff;
}

.reaction-symbol {
  display: inline-block;
  flex: 0 0 auto;
  height: 24px;
  position: relative;
  width: 24px;
}

.reaction-like-symbol {
  background: #79f2b0;
  clip-path: polygon(58% 0, 18% 50%, 44% 50%, 33% 100%, 84% 38%, 57% 38%, 72% 0);
}

.reaction-share-symbol::before {
  background: #ff8d96;
  content: "";
  height: 25px;
  left: 4px;
  position: absolute;
  top: 0;
  width: 5px;
}

.reaction-share-symbol::after {
  background: #ff8d96;
  clip-path: polygon(0 0, 100% 12%, 78% 48%, 100% 84%, 0 72%);
  content: "";
  height: 17px;
  left: 7px;
  position: absolute;
  top: 2px;
  width: 18px;
}

.reaction-comments-symbol::before,
.reaction-comments-symbol::after {
  background: #b8beca;
  border-radius: 50%;
  box-shadow: 8px 1px 0 #b8beca;
  content: "";
  height: 12px;
  position: absolute;
  width: 14px;
}

.reaction-comments-symbol::before {
  left: 1px;
  top: 4px;
}

.reaction-comments-symbol::after {
  background: #8c94a1;
  box-shadow: 8px 1px 0 #8c94a1;
  left: 6px;
  top: 9px;
}

.reaction-views-symbol::before {
  background: #8fc7ff;
  border-radius: 50% 8px 50% 8px;
  content: "";
  height: 18px;
  left: 3px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 18px;
}

.reaction-views-symbol::after {
  background: rgba(8, 11, 17, 0.92);
  border: 3px solid #8fc7ff;
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 8px;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-actions form {
  width: auto;
}

.community-actions button {
  min-width: 190px;
}

.community-actions button.is-liked {
  background: var(--tetris-cyan);
  border-color: var(--tetris-cyan);
}

/* Wave358: make release comments follow the Byrut lower-discussion structure without external widgets or ad surfaces. */
.comment-count-badge {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f2f2f5;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  margin-left: 6px;
  padding: 7px 9px;
  vertical-align: middle;
}

.comment-form,
.comment-composer {
  background: transparent;
  border: 0;
  display: grid;
  gap: 16px;
  padding: 0;
}

.comment-composer-top {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.comment-name-field {
  color: rgba(242, 245, 241, 0.62);
  display: grid;
  flex: 0 1 250px;
  font-size: 0;
  gap: 0;
  margin: 0;
  text-transform: none;
}

.comment-name-field span,
.comment-label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.comment-name-field input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.8);
  font: inherit;
  font-size: 14px;
  min-height: 42px;
  padding: 0 16px;
  width: 100%;
}

.comment-login-inline {
  align-items: center;
  color: rgba(242, 245, 241, 0.84);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  justify-content: flex-end;
}

.comment-login-inline strong {
  font-size: 14px;
}

.comment-auth-badge {
  align-items: center;
  background: #1687ff;
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 32px;
}

.comment-auth-badge.is-telegram {
  background: #29b6f6;
}

.comment-warning {
  align-items: flex-start;
  background: rgba(185, 138, 38, 0.13);
  border: 1px solid rgba(239, 194, 84, 0.52);
  border-radius: 9px;
  color: #e4bc61;
  display: flex;
  gap: 12px;
  line-height: 1.45;
  margin: 0;
  padding: 13px 15px;
}

.comment-warning span {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 20px;
  font-size: 13px;
  font-weight: 950;
  height: 20px;
  justify-content: center;
  margin-top: 1px;
}

.comment-editor-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr) 46px;
}

.comment-editor-avatar,
.comment-card-avatar {
  align-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(90, 109, 122, 0.92), rgba(34, 37, 44, 0.96));
  border-radius: 50%;
  color: #f2f2f5;
  display: inline-flex;
  font-size: 15px;
  font-weight: 950;
  height: 40px;
  justify-content: center;
  position: relative;
  text-transform: uppercase;
  width: 40px;
}

.comment-editor-avatar.is-locked {
  color: rgba(242, 245, 241, 0.66);
}

.comment-editor-avatar .portal-nav-icon {
  height: 18px;
  width: 18px;
}

.comment-editor-shell {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  min-height: 56px;
  padding: 0 12px 0 16px;
  position: relative;
}

.comment-editor-shell textarea {
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  min-height: 54px;
  padding: 15px 0 13px;
  resize: vertical;
  width: 100%;
}

.comment-editor-shell textarea:disabled,
.comment-name-field input:disabled {
  opacity: 1;
}

.comment-editor-shell textarea::placeholder,
.comment-name-field input::placeholder {
  color: rgba(242, 245, 241, 0.5);
}

.comment-editor-tools {
  align-items: center;
  color: rgba(242, 245, 241, 0.82);
  display: inline-flex;
  gap: 9px;
  white-space: nowrap;
}

.comment-editor-tools span {
  font-size: 19px;
  font-weight: 950;
  line-height: 1;
}

.comment-editor-tools span:nth-child(2) {
  font-style: italic;
}

.comment-editor-tools span:nth-child(3) {
  text-decoration: underline;
}

.comment-submit-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: rgba(242, 245, 241, 0.76);
  display: inline-flex;
  font-size: 31px;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  min-height: 46px;
  padding: 0;
  text-decoration: none;
  width: 46px;
}

.comment-submit-arrow:hover,
.comment-submit-arrow:focus-visible {
  color: #f2f2f5;
  outline: none;
}

/* Wave359: add the release-status row and local check block seen in the reference discussion flow. */
.comment-safety-check {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.76);
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  line-height: 1.18;
  margin: -2px 0 0 52px;
  min-height: 64px;
  padding: 12px 14px;
  width: min(300px, calc(100% - 52px));
}

.comment-safety-check span,
.comment-safety-check strong {
  min-width: 0;
}

.comment-safety-check > span:not(.comment-safety-box) {
  font-size: 13px;
  font-weight: 850;
}

.comment-safety-check strong {
  color: rgba(242, 245, 241, 0.54);
  font-size: 12px;
  font-weight: 800;
  grid-column: 2;
  text-transform: uppercase;
}

.comment-safety-box {
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(242, 245, 241, 0.9) 43% 56%, transparent 57%),
    rgba(96, 215, 201, 0.12);
  border: 1px solid rgba(96, 215, 201, 0.48);
  border-radius: 5px;
  display: inline-flex;
  grid-row: 1 / span 2;
  height: 26px;
  width: 26px;
}

.comment-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0;
  margin-top: 2px;
}

.comment-empty {
  color: rgba(242, 245, 241, 0.68);
  margin: 16px 0 0;
}

/* Wave462: empty public release comments stay local-only and compact instead of recreating borrowed comment streams. */
.article-comments[data-comment-state="empty"] {
  gap: 12px;
  padding: 14px 16px;
}

.article-comments[data-comment-state="empty"] .community-head {
  align-items: center;
  padding-bottom: 10px;
}

.article-comments[data-comment-state="empty"] .community-head h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.comment-composer[data-comment-composer="compact"] {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
}

.comment-composer[data-comment-composer="compact"] .comment-composer-top {
  align-items: center;
}

.comment-composer[data-comment-composer="compact"] .comment-empty {
  color: rgba(242, 245, 241, 0.7);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.comment-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 22px 0;
}

.comment-card.is-pending .comment-card-avatar::after {
  background: var(--tetris-yellow);
}

.comment-card-avatar {
  height: 38px;
  width: 38px;
}

.comment-card-avatar::after {
  background: #6bdc72;
  border: 2px solid #15161b;
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 10px;
  position: absolute;
  right: -1px;
  width: 10px;
}

.comment-card-body {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.comment-card header {
  align-items: center;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.comment-card header strong {
  color: #f2f2f5;
}

.comment-card header small,
.comment-card header em {
  color: rgba(242, 245, 241, 0.56);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.comment-card header em {
  color: var(--tetris-yellow);
}

.comment-card-status {
  background: #6bdc72;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.comment-card p {
  color: rgba(242, 245, 241, 0.88);
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}

.comment-card-actions {
  align-items: center;
  color: rgba(242, 245, 241, 0.52);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 850;
  gap: 14px;
}

.article-related {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(14px, 3vw, 20px);
}

.article-news-picks {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 14px;
  padding: clamp(14px, 3vw, 20px);
}

.article-news-picks .news-feed-list {
  grid-template-columns: 1fr;
}

.article-news-picks .feed-card {
  box-shadow:
    inset 0 -4px rgba(0, 0, 0, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.article-news-picks .feed-card > a {
  align-items: start;
  gap: 18px;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  padding: 16px;
}

.article-news-picks .feed-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.article-news-picks .feed-card h2 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  overflow-wrap: break-word;
  word-break: normal;
}

.article-news-picks .feed-card p {
  display: -webkit-box;
  font-size: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-related .section-head {
  margin-bottom: 14px;
}

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

.article-related-card {
  background: rgba(16, 18, 19, 0.72);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tetris-cyan);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  padding: 14px;
  text-decoration: none;
}

.article-related-card small {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-related-card strong {
  color: var(--tile);
  font-size: 18px;
  line-height: 1.15;
}

.article-related-card span {
  color: var(--muted);
  font-size: 14px;
}

.share-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
}

.share-actions span {
  color: var(--muted);
  font-weight: 850;
  margin-right: 4px;
}

.share-actions a {
  background: var(--tile);
  border: 1px solid var(--tile);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 950;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none;
}

.game-hero {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
}

.empty-state {
  min-height: 260px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 28px 16px;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover {
  color: var(--tile);
}

@media (max-width: 1120px) {
  .admin-console,
  .content-layout,
  .category-detail-layout.has-rail,
  .game-hero,
  .news-grid,
  .news-feed,
  .editorial-hero,
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .card-grid.wide,
  .card-grid.games,
  .category-grid,
  .category-grid.wide,
  .collection-grid,
  .portal-card-list,
  .portal-ticker,
  .category-index .category-list,
  .admin-monitor-grid,
  .admin-metric-grid,
  .admin-tool-grid,
  .admin-queue-grid,
  .pipeline-grid,
  .portal-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-sidebar {
    position: static;
  }

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

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

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

  .category-finder-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1500px) {
  .brand-copy {
    display: none;
  }
}

@media (min-width: 941px) and (max-width: 1500px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nav {
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: visible;
  }

  .nav a {
    min-height: 38px;
    padding: 7px 8px;
  }

  .nav-item {
    flex: 0 0 auto;
  }

  .site-search {
    max-width: 260px;
    min-width: min(210px, 22vw);
    width: min(260px, 22vw);
  }

  .site-search:hover,
  .site-search:focus-within {
    max-width: 280px;
    width: min(280px, 24vw);
  }
}

@media (min-width: 941px) and (max-width: 1300px) {
  .site-search {
    max-width: 210px;
    min-width: min(170px, 18vw);
    width: min(210px, 18vw);
  }

  .site-search:hover,
  .site-search:focus-within {
    max-width: 230px;
    width: min(230px, 20vw);
  }
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .brand,
  .header-actions,
  .nav {
    justify-self: stretch;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-fixed-offset: 82px;
    scroll-padding-top: calc(var(--topbar-fixed-offset) + 12px);
  }

  body:has(.portal-home) {
    --topbar-fixed-offset: 0px;
  }

  body {
    padding-top: calc(var(--topbar-fixed-offset) + env(safe-area-inset-top, 0px));
  }

  .topbar {
    align-items: center;
    background: rgba(8, 13, 16, 0.98);
    border-bottom-color: rgba(96, 215, 201, 0.28);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
    display: grid;
    gap: 3px;
    grid-template-columns: auto minmax(0, 1fr);
    left: 0;
    padding: 5px 10px 6px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: translateZ(0);
    width: 100%;
    z-index: 100;
  }

  body:has(.portal-home) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: auto;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .brand-mark {
    border-radius: 10px;
    height: 34px;
    width: 34px;
  }

  .brand-mark video,
  .brand-mark img {
    border-radius: 8px;
  }

  .header-actions {
    align-items: center;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
    justify-content: flex-end;
    justify-self: end;
  }

  .nav {
    flex-wrap: nowrap;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    justify-self: stretch;
    gap: 2px;
    box-shadow:
      inset 18px 0 16px -24px rgba(246, 242, 232, 0.72),
      inset -22px 0 18px -24px rgba(246, 242, 232, 0.72);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 20px 2px 2px;
    scrollbar-width: none;
    scroll-padding-inline: 2px 20px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  body:has(.portal-home) .nav {
    display: none;
  }

  body:has(.portal-home) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-mark video,
  body:has(.portal-home) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.portal-home) .site-search,
  body:has(.portal-home) .site-search:hover,
  body:has(.portal-home) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.portal-home) .search-icon-button,
  body:has(.portal-home) .menu-icon-button,
  body:has(.portal-home) .theme-icon-button,
  body:has(.portal-home) .updates-icon-button,
  body:has(.portal-home) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.portal-home) .theme-icon-button[aria-pressed="true"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  body:has(.portal-home) .header-action-separator {
    background: rgba(226, 235, 230, 0.16);
    height: 24px;
    margin: 0;
  }

  body:has(.portal-home) .account-icon-button {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 999px;
  }

  body:has(.portal-home) .search-icon-button svg,
  body:has(.portal-home) .menu-icon-button svg,
  body:has(.portal-home) .theme-icon-button svg,
  body:has(.portal-home) .updates-icon-button svg,
  body:has(.portal-home) .account-icon-button svg {
    height: 24px;
    width: 24px;
  }

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

  .nav-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .nav-menu {
    display: none;
    left: auto;
    max-width: calc(100vw - 28px);
    min-width: min(220px, calc(100vw - 28px));
    right: 0;
  }

  .nav-item:hover .nav-menu,
  .nav-item:focus-within .nav-menu {
    display: grid;
  }

  .site-search {
    align-items: center;
    display: inline-flex;
    flex: 0 0 34px;
    gap: 0;
    justify-self: end;
    max-width: 34px;
    min-width: 34px;
    width: 34px;
  }

  .site-search input {
    border-width: 0;
    clip-path: inset(50%);
    font-size: 13px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 1px;
  }

  .site-search:hover,
  .site-search:focus-within {
    max-width: 34px;
    width: 34px;
  }

  .site-search:hover input,
  .site-search:focus-within input {
    border-width: 1px;
    clip-path: none;
    height: auto;
    opacity: 1;
    padding: 7px 10px;
    pointer-events: auto;
    width: min(280px, calc(100vw - 20px));
    z-index: 120;
  }

  .site-search input,
  .search-icon-button {
    min-height: 34px;
  }

  .search-icon-button {
    flex-basis: 34px;
    height: 34px;
    min-width: 34px;
    width: 34px;
  }

  .menu-icon-button {
    height: 34px;
    min-height: 34px;
    min-width: 34px;
    padding: 0;
    width: 34px;
  }

  .menu-icon-button span {
    display: none;
  }

  .account-icon-button {
    height: 34px;
    min-height: 34px;
    width: 34px;
  }

  .updates-icon-button {
    height: 34px;
    min-height: 34px;
    width: 34px;
  }

  .search-drawer {
    left: 10px;
    max-height: calc(100vh - var(--topbar-fixed-offset) - 24px);
    padding: 12px;
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + var(--topbar-fixed-offset) + 8px);
    width: auto;
  }

  .search-drawer h2 {
    font-size: 22px;
  }

  .search-drawer-form {
    grid-template-columns: 1fr;
  }

  .search-close-button span {
    display: none;
  }

  .menu-drawer {
    left: 10px;
    max-height: calc(100vh - var(--topbar-fixed-offset) - 24px);
    padding: 12px;
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + var(--topbar-fixed-offset) + 8px);
    width: auto;
  }

  .menu-drawer h2 {
    font-size: 22px;
  }

  .menu-drawer-nav,
  .menu-drawer-links {
    grid-template-columns: 1fr;
  }

  .auth-drawer {
    left: 10px;
    max-height: calc(100vh - var(--topbar-fixed-offset) - 24px);
    padding: 12px;
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + var(--topbar-fixed-offset) + 8px);
    width: auto;
  }

  .auth-drawer h2 {
    font-size: 22px;
  }

  .updates-drawer {
    left: 10px;
    max-height: calc(100vh - var(--topbar-fixed-offset) - 24px);
    padding: 12px;
    right: 10px;
    top: calc(env(safe-area-inset-top, 0px) + var(--topbar-fixed-offset) + 8px);
    width: auto;
  }

  .updates-drawer-title-row {
    align-items: start;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .updates-drawer h2 {
    font-size: 20px;
  }

  .updates-clear-button {
    justify-self: start;
  }

  .nav a {
    font-size: 12.5px;
    min-height: 29px;
    padding: 4px 7px;
  }

  main {
    padding: 12px 12px 48px;
  }

  h1 {
    font-size: 40px;
  }

  .article-view h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.05;
  }

  h2 {
    font-size: 26px;
  }

  .quick-panel {
    padding: 14px;
  }

  .quick-panel-head {
    padding: 18px;
  }

  .quick-panel-head h1 {
    font-size: 34px;
  }

  .quick-actions,
  .photo-strip,
  .feed-filters,
  .portal-ticker,
  .card-grid,
  .card-grid.wide,
  .card-grid.games,
  .collection-grid,
  .news-feed-list,
  .category-grid,
  .category-grid.wide,
  .search-panel,
  .account-grid,
  .admin-monitor-grid,
  .admin-metric-grid,
  .admin-tool-grid,
  .admin-queue-grid,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero,
  .admin-monitor-split,
  .admin-hero-meta {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .admin-nav a {
    flex: 0 0 auto;
  }

  .content-card.is-featured {
    grid-row: auto;
  }

  .split-title {
    display: grid;
  }

  .portal-section-head {
    align-items: flex-start;
    display: grid;
  }

  .portal-hero {
    gap: 8px;
    padding: 16px;
  }

  .portal-hero h1 {
    font-size: clamp(31px, 8vw, 42px);
    line-height: 0.98;
  }

  .portal-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .portal-hero-card {
    min-height: 106px;
  }

  .portal-hero-card span {
    inset: auto 9px 9px;
    max-width: calc(100% - 18px);
  }

  .portal-hero-card strong {
    font-size: 15px;
    line-height: 1.05;
  }

  .portal-hero-card small {
    font-size: 10px;
  }

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

  .portal-pill-grid a {
    grid-template-columns: 1fr;
    grid-template-rows: 76px 1fr;
    min-height: 136px;
  }

  .portal-pill-thumb {
    min-height: 76px;
  }

  .photo-card {
    min-height: 190px;
  }

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

  .filter-tabs {
    align-items: stretch;
    display: grid;
  }

  .feed-filters {
    display: grid;
  }

  .article-toc {
    padding: 12px;
  }

  .article-toc-head {
    justify-content: flex-start;
  }

  .article-toc-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .article-toc-list::-webkit-scrollbar {
    display: none;
  }

  .article-toc-list a {
    flex: 0 0 auto;
    max-width: min(260px, 76vw);
  }

  .article-body h2,
  .article-body h3 {
    scroll-margin-top: 22px;
  }

  .article-view {
    scroll-margin-top: 14px;
  }

  .article-top-link {
    display: none;
  }

  .share-actions {
    align-items: stretch;
  }

  .community-head,
  .comment-composer-top {
    align-items: flex-start;
    display: grid;
  }

  .comment-login-inline {
    justify-content: flex-start;
  }

  .comment-composer[data-comment-composer="compact"] .comment-composer-top {
    align-items: start;
    gap: 10px;
  }

  .comment-editor-row {
    align-items: stretch;
    grid-template-columns: 34px minmax(0, 1fr) 38px;
  }

  .comment-editor-avatar,
  .comment-card-avatar {
    height: 34px;
    width: 34px;
  }

  .comment-editor-shell {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 12px;
  }

  .comment-editor-tools {
    justify-content: flex-end;
    padding-bottom: 12px;
  }

  .comment-submit-arrow {
    font-size: 25px;
    height: 38px;
    min-height: 38px;
    width: 38px;
  }

  .comment-safety-check {
    margin-left: 46px;
    width: min(300px, calc(100% - 46px));
  }

  .community-counters {
    justify-content: flex-start;
  }

  .share-actions span {
    flex-basis: 100%;
  }

  .share-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .filter-tabs a {
    justify-content: space-between;
  }

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

  .category-title-stats,
  .category-filter-row {
    display: grid;
  }

  .account-panel .section-head,
  .profile-list div,
  .inline-code-form {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-list dd {
    text-align: left;
  }

  .feed-card > a {
    gap: 12px;
    padding: 12px;
    grid-template-columns: minmax(104px, 32vw) minmax(0, 1fr);
  }

  .game-feed-card {
    grid-template-areas:
      "thumb badge"
      "thumb copy"
      "thumb text"
      "thumb stats"
      "thumb chips";
    grid-template-columns: minmax(128px, 34vw) minmax(0, 1fr);
    padding: 12px;
  }

  .game-feed-thumb {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .game-feed-card h2 {
    font-size: 22px;
  }

  .game-feed-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .feed-thumb {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .feed-card h2 {
    font-size: 19px;
    line-height: 1.08;
  }

  .feed-card p {
    display: -webkit-box;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-title {
    padding: 22px 18px;
  }
}

@media (max-width: 640px) {
  .article-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-gallery-controls {
    justify-content: space-between;
    width: 100%;
  }

  .article-gallery-controls button {
    height: 40px;
  }

  .article-news-picks .feed-card > a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .portal-hero-board {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px;
  }

  .portal-hero-card {
    aspect-ratio: 1.08;
    min-height: 98px;
  }
}

@media (max-width: 820px) {
  .feed-card > a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 8px;
  }

  .game-feed-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .game-feed-card h2 {
    font-size: 19px;
  }

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

  .portal-card-thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 128px;
  }

  .portal-card {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 128px;
  }

  .portal-card-copy {
    padding: 12px;
  }

  .portal-card strong {
    font-size: 17px;
    -webkit-line-clamp: 3;
  }

  .portal-card p {
    display: none;
  }

  .portal-pill-grid {
    grid-template-columns: 1fr;
  }

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

  .feed-card > a {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .portal-pill-grid a {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 92px;
  }

  .portal-pill-thumb {
    min-height: 92px;
  }
}

/* Social editorial redesign: keep the existing DOM/data contracts and replace only the visual language. */
:root {
  --bg: #090d10;
  --shell: #0f1519;
  --panel: #141b20;
  --panel-2: #1a2228;
  --tile: #e7ece8;
  --tile-soft: #f3f5f0;
  --ink: #101417;
  --text: #f2f5f1;
  --muted: #aab6b0;
  --line: rgba(226, 235, 230, 0.11);
  --line-dark: rgba(12, 16, 18, 0.18);
  --blue: #8aa7ff;
  --teal: #60d7c9;
  --amber: #d6b66a;
  --red: #ee7f73;
  --green: #8ed7a1;
  --violet: #b9a7ff;
  --tetris-cyan: #67d9cd;
  --tetris-yellow: #d8bd67;
  --tetris-magenta: #a47bd8;
  --tetris-blue: #7e9bde;
  --tetris-red: #d9776e;
  --tetris-green: #73bf8e;
  --tetris-ink: #080c0f;
  --tetris-grid: rgba(103, 217, 205, 0.035);
  --social-surface: rgba(16, 23, 28, 0.94);
  --social-surface-2: rgba(20, 29, 35, 0.96);
  --social-card: rgba(18, 26, 31, 0.96);
  --social-card-hover: rgba(24, 35, 42, 0.98);
  --social-border: rgba(226, 235, 230, 0.12);
  --social-border-strong: rgba(96, 215, 201, 0.3);
  --sp-bg: #090d10;
  --sp-surface: #0f1519;
  --sp-panel: #141b20;
  --sp-panel-2: #1a2228;
  --sp-surface-raised: rgba(24, 35, 42, 0.98);
  --sp-card: var(--social-card);
  --sp-line: rgba(226, 235, 230, 0.11);
  --sp-border: var(--social-border);
  --sp-border-strong: var(--social-border-strong);
  --sp-text: var(--text);
  --sp-muted: #aab6b0;
  --sp-cyan: var(--teal);
  --sp-accent: var(--teal);
  --sp-accent-2: var(--blue);
  --sp-violet: var(--violet);
  --sp-green: var(--green);
  --sp-success: #57b84f;
  --sp-danger: var(--red);
  --sp-warning: var(--amber);
  --line-strong: var(--social-border-strong);
  --accent: var(--teal);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(96, 215, 201, 0.08), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(126, 155, 222, 0.06), transparent 30%),
    linear-gradient(180deg, #0b1013 0%, #080b0d 56%, #0b0d0f 100%);
  color: var(--text);
}

.cube-field-piece {
  opacity: 0.09;
}

.cube-field-cell,
.cube-field-locked-cell {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    inset 0 -2px rgba(0, 0, 0, 0.2);
}

.cube-field-locked-cell {
  opacity: 0.13;
}

/* Wave125: home keeps the Tetris atmosphere without competing with the first viewport. */
body:has(.portal-home) .cube-field {
  opacity: 0.22;
}

/* Wave 33: catalog/search surfaces need faster results and quieter decoration. */
body:has(.category-finder) .cube-field-piece,
body:has(.games-filter-panel) .cube-field-piece,
body:has(.search-panel) .cube-field-piece {
  opacity: 0.035;
}

body:has(.category-finder) .cube-field-locked-cell,
body:has(.games-filter-panel) .cube-field-locked-cell,
body:has(.search-panel) .cube-field-locked-cell {
  opacity: 0.055;
}

.category-title {
  gap: 8px;
  margin-bottom: 10px;
  padding-block: clamp(16px, 2.4vw, 24px);
}

.category-title h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.98;
}

.category-title p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.34;
  max-width: 720px;
}

.category-finder {
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
}

.category-finder-head {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(246px, auto);
}

.category-finder-head h2 {
  font-size: 21px;
}

.category-finder-lead {
  font-size: 13px;
  margin-top: 4px;
  max-width: 620px;
}

.category-intent-row,
.category-quick-row {
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-intent-row::-webkit-scrollbar,
.category-quick-row::-webkit-scrollbar {
  display: none;
}

.category-intent-row {
  gap: 6px;
  margin-top: 8px;
}

.category-intent-row a {
  flex: 0 0 auto;
  min-height: 34px;
  min-width: 112px;
  padding: 6px 8px;
}

.category-intent-row span {
  font-size: 10px;
}

.category-intent-row strong {
  font-size: 11px;
}

.category-quick-row {
  gap: 6px;
  margin-top: 7px;
}

.category-quick-row > span,
.category-quick-row a {
  flex: 0 0 auto;
}

.category-quick-row a {
  max-width: 150px;
  padding: 5px 8px;
}

.category-finder-stats {
  gap: 6px;
  max-width: 284px;
}

.category-finder-stats span {
  padding: 6px 8px;
}

.category-finder-stats strong {
  font-size: 16px;
}

.category-control-row {
  gap: 8px;
}

.category-search-field {
  gap: 5px;
}

.category-finder input {
  min-height: 40px;
}

.category-clear-button {
  min-height: 40px;
  padding-inline: 12px;
}

.category-filter-row {
  gap: 6px;
}

.category-filter-row button {
  min-height: 32px;
  padding: 5px 10px;
}

.category-status {
  font-size: 12px;
  min-height: 0;
}

.category-index {
  margin-top: 12px;
  padding: 14px;
}

.category-index .section-head {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.category-tile {
  gap: 7px;
  min-height: 132px;
  padding: 12px;
}

.games-title-directory {
  margin-bottom: 8px;
  padding-block: clamp(16px, 2.2vw, 24px);
}

.games-title-directory h1 {
  font-size: clamp(38px, 4vw, 56px);
}

.games-title-directory p {
  font-size: 15px;
  line-height: 1.34;
}

.games-filter-panel {
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px;
}

.games-control-row {
  gap: 8px;
}

.games-result-summary {
  align-items: baseline;
  gap: 3px 8px;
  grid-template-columns: auto auto minmax(0, 1fr);
  padding: 7px 9px;
}

.games-result-summary strong {
  font-size: 18px;
}

.games-result-summary small {
  font-size: 12px;
}

.games-directory-search button {
  min-height: 40px;
  padding-inline: 16px;
}

.games-sort-row {
  gap: 8px;
}

.games-sort-options,
.games-applied-chips {
  gap: 6px;
}

.games-sort-options a,
.games-applied-chips a {
  font-size: 12px;
  min-height: 30px;
  padding: 5px 9px;
}

.games-filter-scroller {
  gap: 8px;
  margin-bottom: 10px;
}

@media (min-width: 721px) {
  .games-filter-scroller {
    align-items: start;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  }
}

.games-filter-scroller .feed-filters,
.games-filter-scroller .filter-tabs {
  gap: 6px;
  padding: 8px;
}

.games-filter-scroller .feed-filters a,
.games-filter-scroller .filter-tabs a {
  min-height: 32px;
  padding: 5px 9px;
}

.game-directory-section {
  margin-top: 12px;
}

.game-directory-section .section-head {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.game-directory-section .game-feed-card {
  min-height: 0;
}

.search-title {
  padding-block: clamp(14px, 2.4vw, 24px);
}

.search-title h1 {
  font-size: clamp(36px, 4vw, 54px);
}

.search-panel {
  border-radius: 8px;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
}

.search-panel input {
  min-height: 42px;
}

.search-panel button {
  min-height: 42px;
}

.search-quick-links {
  gap: 6px;
  margin-bottom: 10px;
}

.search-type-filters {
  gap: 6px;
  margin-bottom: 10px;
}

.search-results {
  gap: 14px;
}

.search-group {
  gap: 10px;
}

.search-group .section-head {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

/* Wave 36: result-first catalog/search pass with stable QA hooks. */
[data-topbar] {
  contain: layout paint;
}

[data-directory-root],
[data-search-form],
.category-finder {
  scroll-margin-top: calc(var(--topbar-fixed-offset) + 12px);
}

.search-title-has-query {
  margin-bottom: 8px;
  padding-block: 14px;
}

.search-title-has-query h1 {
  font-size: clamp(34px, 3.6vw, 50px);
}

.search-panel-has-query {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(108px, auto);
  margin-bottom: 8px;
  padding: 8px;
}

.search-panel-has-query input,
.search-panel-has-query button {
  min-height: 40px;
}

.search-quick-links-has-query {
  margin-bottom: 8px;
}

.games-title-query {
  margin-bottom: 6px;
  padding-block: 12px;
}

.games-filter-panel-query {
  gap: 6px;
  margin-bottom: 6px;
  padding: 7px;
}

.games-filter-panel-query .games-result-summary {
  padding: 6px 8px;
}

.games-filter-panel-query .games-result-summary strong {
  font-size: 17px;
}

.games-filter-scroller-query {
  gap: 6px;
  margin-bottom: 8px;
}

.category-finder .category-quick-row > span {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wave40: result-first catalog and search polish. */
body:has(.category-finder) .cube-field,
body:has(.games-filter-panel) .cube-field,
body:has(.search-panel) .cube-field {
  opacity: 0.18;
}

body:has(.games-filter-panel-query) .cube-field,
body:has(.search-panel-has-query) .cube-field {
  opacity: 0.12;
}

.search-result.is-primary,
.game-feed-card.is-primary {
  border-color: rgba(96, 215, 201, 0.42);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.search-result.is-primary {
  background:
    linear-gradient(90deg, rgba(96, 215, 201, 0.09), rgba(18, 26, 31, 0.98) 28%),
    rgba(18, 26, 31, 0.98);
}

.search-result.is-primary .rank-badge,
.game-feed-card.is-primary .rank-badge {
  background: rgba(96, 215, 201, 0.18);
  border-color: rgba(96, 215, 201, 0.38);
  color: var(--text);
}

.game-feed-card.is-primary {
  background:
    linear-gradient(90deg, rgba(96, 215, 201, 0.08), rgba(18, 26, 31, 0.98) 30%),
    rgba(18, 26, 31, 0.98);
}

@media (min-width: 721px) {
  .category-title {
    margin-bottom: 6px;
    padding-block: 10px;
  }

  .category-title p:not(.eyebrow),
  .games-title-directory p,
  .search-title-has-query p:not(.eyebrow) {
    display: none;
  }

  .category-finder {
    gap: 7px;
    margin-top: 6px;
    padding: 8px;
  }

  .category-finder-head {
    align-items: center;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(214px, auto);
  }

  .category-finder-head h2 {
    font-size: 19px;
  }

  .category-finder-lead,
  .category-quick-row {
    display: none;
  }

  .category-intent-row {
    gap: 5px;
    margin-top: 4px;
  }

  .category-intent-row a {
    min-height: 30px;
    min-width: 104px;
    padding: 5px 7px;
  }

  .category-finder-stats {
    max-width: 252px;
  }

  .category-finder-stats span {
    padding: 5px 7px;
  }

  .category-control-row {
    gap: 6px;
  }

  .category-finder input,
  .category-clear-button {
    min-height: 36px;
  }

  .category-filter-row button {
    min-height: 30px;
    padding: 4px 9px;
  }

  .category-index {
    margin-top: 8px;
    padding: 10px;
  }

  .category-index .section-head {
    margin-bottom: 7px;
    padding-bottom: 7px;
  }

  .category-tile {
    min-height: 112px;
    padding: 10px;
  }

  .games-title-directory {
    margin-bottom: 5px;
    padding-block: 9px;
  }

  .games-filter-panel {
    gap: 6px;
    margin-bottom: 6px;
    padding: 7px;
  }

  .games-filter-scroller {
    gap: 6px;
    margin-bottom: 7px;
  }

  .game-directory-section {
    margin-top: 8px;
  }

  .game-directory-section .section-head {
    margin-bottom: 7px;
    padding-bottom: 7px;
  }

  .search-title-has-query {
    margin-bottom: 5px;
    padding-block: 9px;
  }

  .search-panel-has-query {
    margin-bottom: 5px;
    padding: 7px;
  }

  .search-quick-links-has-query {
    display: none;
  }

  .search-type-filters[data-search-type-filter] {
    margin-bottom: 6px;
  }

  .search-status {
    margin-bottom: 6px;
    padding: 7px 10px;
  }
}

@media (max-width: 720px) {
  .search-quick-links-has-query {
    display: none;
  }

  .search-result.is-primary.has-media {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  .search-title-has-query {
    margin-bottom: 6px;
    padding: 10px 12px;
  }

  .search-title-has-query h1 {
    font-size: 30px;
  }

  .search-panel-has-query {
    grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
    margin-bottom: 6px;
    padding: 6px;
  }

  .search-panel-has-query input,
  .search-panel-has-query button {
    min-height: 36px;
  }

  .search-quick-links-has-query {
    margin-bottom: 6px;
  }

  .search-quick-links-has-query > span {
    display: none;
  }

  .search-type-filters[data-search-type-filter] {
    margin-bottom: 6px;
  }

  .search-status {
    margin-bottom: 6px;
    padding: 7px 9px;
  }

  .search-status span {
    line-height: 1.25;
  }

  .search-result.has-media {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 160px;
  }

  .game-new-controls {
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
  }

  .game-new-controls button {
    min-height: 32px;
    min-width: 32px;
    width: 32px;
  }

  .game-new-dots {
    gap: 2px;
    min-width: 0;
  }

  .game-new-controls [data-game-new-dot] {
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    width: 28px;
  }

  .game-new-controls [data-game-new-dot]::before {
    height: 8px;
    width: 8px;
  }

  .game-new-controls [data-game-new-dot].is-active::before {
    width: 18px;
  }

  .games-title-query {
    margin-bottom: 4px;
    padding: 7px 9px;
  }

  .games-title-query h1 {
    font-size: 26px;
  }

  .games-filter-panel-query {
    gap: 5px;
    margin-bottom: 5px;
    padding: 6px;
  }

  .games-filter-panel-query .games-result-summary {
    display: flex;
    gap: 6px;
    min-height: 32px;
    padding: 5px 7px;
  }

  .games-filter-panel-query .games-result-summary span {
    display: none;
  }

  .games-filter-panel-query .games-directory-search input,
  .games-filter-panel-query .games-directory-search button {
    min-height: 36px;
  }

  .games-filter-panel-query .games-sort-row {
    display: none;
  }

  .games-filter-scroller-query {
    margin-bottom: 6px;
  }

  .games-filter-scroller-query .feed-filters {
    display: none;
  }

  .games-filter-scroller-query .filter-tabs a {
    min-height: 28px;
    padding: 4px 8px;
  }

  .games-filter-scroller-query + .game-directory-section {
    margin-top: 6px;
  }

  .games-filter-scroller-query + .game-directory-section .section-head {
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .category-title {
    margin-bottom: 6px;
    padding: 8px 10px;
  }

  .category-title h1 {
    font-size: 30px;
  }

  .category-finder {
    gap: 5px;
    margin-top: 6px;
    padding: 7px;
  }

  .category-finder .eyebrow,
  .category-finder .category-quick-row {
    display: none;
  }

  .category-finder-head h2 {
    font-size: 22px;
    line-height: 1;
  }

  .category-intent-row {
    margin-top: 6px;
  }

  .category-intent-row a {
    min-height: 30px;
  }

  .category-control-row {
    gap: 5px;
  }

  .category-finder input {
    min-height: 34px;
  }

  .category-finder .category-filter-row button {
    min-height: 30px;
    padding: 5px 9px;
  }

  .category-index {
    margin-top: 8px;
  }

  .category-tile {
    gap: 5px;
    min-height: 104px;
  }

  .category-tile-recent {
    display: none;
  }
}

.topbar {
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 18, 0.9);
  border-bottom: 1px solid rgba(226, 235, 230, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  background: rgba(7, 11, 13, 0.92);
  border-color: rgba(96, 215, 201, 0.28);
  border-radius: 12px;
  box-shadow: none;
}

.brand-mark video,
.brand-mark img {
  border-radius: 10px;
}

.brand-copy strong {
  color: #f4f7f4;
}

.brand-copy span {
  color: rgba(218, 225, 222, 0.62);
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark video {
    display: none;
  }

  .brand-mark img {
    display: block;
  }
}

.nav {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

@media (max-width: 720px) {
  .nav {
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.04),
      inset -20px 0 18px -24px rgba(246, 242, 232, 0.72);
  }
}

.nav a,
.button-primary,
.button-secondary,
button,
.load-more,
.account-icon-button,
.menu-icon-button,
.search-icon-button {
  border-radius: 8px;
  box-shadow: none;
}

.nav a {
  color: rgba(242, 245, 241, 0.72);
}

.nav a:hover,
.nav a.is-active {
  background: rgba(96, 215, 201, 0.13);
  border-color: rgba(96, 215, 201, 0.24);
  color: var(--text);
}

.button-primary,
button,
.load-more {
  background: var(--text);
  border-color: rgba(242, 245, 241, 0.82);
  color: var(--ink);
}

.button-secondary,
.account-icon-button,
.menu-icon-button,
.search-icon-button,
.updates-icon-button {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--social-border);
  color: var(--text);
}

.button-primary:hover,
.button-secondary:hover,
button:hover,
.load-more:hover,
.account-icon-button:hover,
.account-icon-button.is-active,
.account-icon-button[aria-expanded="true"],
.menu-icon-button:hover,
.menu-icon-button[aria-expanded="true"],
.search-icon-button:hover,
.search-icon-button[aria-expanded="true"],
.updates-icon-button:hover,
.updates-icon-button[aria-expanded="true"] {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.36);
  color: var(--text);
  transform: translateY(-1px);
}

.site-search input {
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
}

main {
  max-width: 1480px;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.eyebrow,
.content-kicker,
.portal-hero-card small,
.portal-pill-copy small,
.compact-card span,
.photo-card span,
.account-comments article span {
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.quick-panel,
.editorial-hero,
.live-shell,
.home-section,
.content-column,
.rail,
.table-shell,
.article-view,
.game-view,
.empty-state,
.page-title,
.portal-ticker,
.auth-card,
.account-panel,
.article-community,
.admin-sidebar,
.admin-hero,
.admin-panel,
.admin-monitoring {
  background: var(--social-surface);
  border-color: var(--social-border);
  box-shadow: var(--shadow);
}

.portal-home {
  gap: clamp(18px, 2.4vw, 28px);
}

.portal-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(126, 155, 222, 0.06), transparent 38%),
    var(--social-surface);
  background-size: auto;
  border-color: var(--social-border);
  box-shadow: var(--shadow);
  grid-template-columns: minmax(320px, 0.82fr) minmax(560px, 1.18fr);
  image-rendering: auto;
  min-height: 420px;
}

.portal-hero::before {
  background: linear-gradient(90deg, rgba(96, 215, 201, 0.68), rgba(126, 155, 222, 0.22), transparent);
  height: 1px;
  opacity: 1;
}

.portal-hero-copy {
  align-content: center;
  border-right: 1px solid rgba(226, 235, 230, 0.08);
  padding-right: clamp(8px, 2vw, 24px);
}

.portal-hero h1 {
  font-size: clamp(40px, 4.7vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
}

.portal-hero p:not(.eyebrow) {
  color: rgba(242, 245, 241, 0.76);
  font-size: 18px;
}

.portal-hero .tetris-stack {
  display: none;
}

.portal-hero-board {
  align-self: center;
  background: rgba(8, 12, 15, 0.5);
  background-size: auto;
  border-color: rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  gap: 12px;
  padding: 12px;
}

.portal-hero-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 235, 230, 0.1);
  border-radius: 8px;
}

.portal-hero-card::after {
  background:
    linear-gradient(180deg, transparent 14%, rgba(7, 10, 12, 0.86)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 62%);
}

.portal-hero-card strong {
  font-size: 16px;
}

.portal-ticker {
  gap: 12px;
}

.portal-ticker a,
.compact-card,
.category-tile,
.content-card,
.collection-card,
.article-related-card,
.news-list-item,
.account-list a,
.account-comments article {
  background: var(--social-card);
  border-color: var(--social-border);
  color: var(--text);
}

.portal-card,
.feed-card,
.game-feed-card {
  background: var(--social-card);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  color: var(--text);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.portal-card.type-news,
.portal-card.type-fix,
.portal-card.type-collection,
.portal-card.type-guide {
  border-top: 1px solid var(--social-border);
}

.feed-card,
.feed-card.type-news,
.feed-card.type-guide,
.feed-card.type-fix,
.feed-card.type-collection {
  border-left: 1px solid var(--social-border);
}

.portal-card::before,
.feed-card::before,
.game-feed-card::before {
  background: linear-gradient(90deg, rgba(96, 215, 201, 0.56), transparent);
  content: "";
  display: block;
  height: 1px;
  opacity: 0.85;
}

.feed-card > a,
.game-feed-card {
  padding: clamp(12px, 2vw, 18px);
}

.feed-card > a {
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
}

.feed-thumb,
.game-feed-thumb,
.portal-card-thumb,
.portal-pill-thumb {
  background: #080d10;
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
}

.portal-card-copy {
  padding: 14px 15px 16px;
}

.feed-card h2,
.game-feed-card h2,
.portal-card strong {
  color: var(--text);
}

.feed-card h2,
.game-feed-card h2 {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.1;
}

.live-shell .feed-card h2,
.live-shell .feed-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.live-shell .feed-card h2 {
  -webkit-line-clamp: 2;
}

.live-shell .feed-card p {
  -webkit-line-clamp: 2;
}

.portal-card strong {
  font-size: 18px;
}

.feed-card p,
.game-feed-card p,
.portal-card p,
.compact-card small,
.live-head p:not(.eyebrow),
.portal-hero p:not(.eyebrow) {
  color: rgba(242, 245, 241, 0.68);
}

.rank-badge,
.chips span,
.game-stats span,
.category-title-stats span,
.article-tag-list a,
.article-toc-list a,
.reaction-pill,
.community-counters span {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(226, 235, 230, 0.11);
  color: rgba(242, 245, 241, 0.72);
}

.search-result .rank-badge {
  background: rgba(96, 215, 201, 0.13);
  border-color: rgba(96, 215, 201, 0.28);
  color: var(--text);
}

.search-result p {
  color: rgba(242, 245, 241, 0.66);
}

.feed-filters,
.filter-tabs,
.category-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feed-filters a,
.filter-tabs a,
.category-filter-row button {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 235, 230, 0.1);
  color: rgba(242, 245, 241, 0.72);
}

.feed-filters a:hover,
.feed-filters a.is-active,
.filter-tabs a:hover,
.filter-tabs a.is-active,
.category-filter-row button:hover,
.category-filter-row button.is-active {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.28);
  color: var(--text);
}

.live-summary {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--social-border);
}

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

.page-title,
.live-shell,
.article-view,
.game-view {
  border-radius: 8px;
}

.live-head h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.article-body h2 {
  color: var(--text);
  font-size: clamp(26px, 2.6vw, 36px);
}

.article-body h2::before {
  background: rgba(96, 215, 201, 0.6);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 12px;
  width: 44px;
}

.article-body h3 {
  color: rgba(242, 245, 241, 0.88);
}

.article-toc,
.article-related,
.article-news-picks,
.article-community,
.article-engagement {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 235, 230, 0.1);
  border-radius: 8px;
}

.article-news-picks .feed-card > a {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

.article-top-link {
  background: rgba(12, 17, 20, 0.92);
  border-color: rgba(96, 215, 201, 0.34);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  color: var(--text);
}

.skeleton-card {
  background: rgba(18, 26, 31, 0.86);
  border-color: rgba(226, 235, 230, 0.1);
}

.skeleton-media,
.skeleton-line {
  background: rgba(226, 235, 230, 0.12);
}

.portal-hero-card:hover,
.portal-card:hover,
.portal-pill-grid a:hover,
.portal-ticker a:hover,
.feed-card:hover,
.game-feed-card:hover,
.category-tile:hover,
.content-card:hover,
.collection-card:hover,
.compact-card:hover {
  background: var(--social-card-hover);
  border-color: rgba(96, 215, 201, 0.32);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.portal-hero-card:hover img,
.portal-card:hover .portal-card-thumb img,
.portal-pill-grid a:hover .portal-pill-thumb img,
.feed-card:hover .feed-thumb img,
.game-feed-card:hover .game-feed-thumb img {
  transform: scale(1.025);
}

@media (max-width: 940px) {
  .portal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portal-hero-copy {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    backdrop-filter: none;
    background: rgba(8, 13, 16, 0.98);
    gap: 4px;
  }

  .brand-copy {
    display: none;
  }

  main {
    padding: 12px 10px 44px;
  }

  h1 {
    font-size: 38px;
  }

  .portal-hero {
    border-radius: 8px;
    gap: 12px;
    padding: 14px;
  }

  .portal-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .portal-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .portal-home-search {
    grid-template-columns: minmax(0, 1fr) minmax(68px, auto);
    padding: 7px;
  }

  .portal-home-search input {
    font-size: 14px;
    padding: 9px 10px;
  }

  .portal-home-search button {
    font-size: 13px;
    min-height: 38px;
    padding: 8px 9px;
  }

  .portal-intent-grid {
    gap: 7px;
  }

  .portal-intent-grid a {
    min-height: 54px;
    padding: 8px;
  }

  .portal-intent-grid strong {
    font-size: 14px;
  }

  .portal-intent-grid span {
    font-size: 11px;
  }

  .portal-hero-board {
    display: flex;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .portal-hero-board::-webkit-scrollbar {
    display: none;
  }

  .portal-hero-card {
    flex: 0 0 min(72vw, 260px);
    min-height: 118px;
  }

  .category-finder {
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
  }

  .category-title {
    gap: 6px;
    margin-bottom: 10px;
    padding: 12px;
  }

  .category-title p:not(.eyebrow) {
    display: none;
  }

  .category-finder-head h2 {
    font-size: 19px;
  }

  .category-finder-lead {
    display: none;
  }

  .category-intent-row {
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-intent-row::-webkit-scrollbar {
    display: none;
  }

  .category-intent-row a {
    flex: 0 0 auto;
    min-height: 34px;
    min-width: 112px;
    padding: 6px 8px;
  }

  .category-intent-row span {
    font-size: 10px;
  }

  .category-intent-row strong {
    font-size: 11px;
  }

  .category-quick-row {
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-quick-row::-webkit-scrollbar {
    display: none;
  }

  .category-quick-row > span,
  .category-quick-row a {
    flex: 0 0 auto;
  }

  .category-quick-row a {
    max-width: 148px;
    padding: 5px 8px;
  }

  .category-finder-stats {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-finder-stats span {
    min-width: 0;
    padding: 5px 6px;
  }

  .category-finder-stats strong {
    font-size: 15px;
  }

  .category-search-field {
    gap: 4px;
  }

  .category-finder input {
    min-height: 40px;
  }

  .category-control-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .category-clear-button {
    justify-self: end;
    min-height: 38px;
    padding: 0 12px;
  }

  .category-tile {
    min-height: 0;
    padding: 12px;
  }

  .category-index {
    padding: 12px;
  }

  .category-index .section-head {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .category-index .section-head .eyebrow {
    margin-bottom: 3px;
  }

  .category-index .section-head h2 {
    font-size: 22px;
  }

  .category-tile-top {
    align-items: flex-start;
  }

  .category-tile strong {
    font-size: 19px;
  }

  .category-status {
    font-size: 12px;
  }

  .feed-filters,
  .filter-tabs,
  .category-filter-row {
    display: flex;
    flex-wrap: nowrap;
    margin-inline: -2px;
    overflow-x: auto;
    padding: 0 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .feed-filters::-webkit-scrollbar,
  .filter-tabs::-webkit-scrollbar,
  .category-filter-row::-webkit-scrollbar {
    display: none;
  }

  .feed-filters a,
  .filter-tabs a,
  .category-filter-row button {
    flex: 0 0 auto;
    min-height: 36px;
    white-space: nowrap;
  }

  .category-finder .category-filter-row {
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .category-finder .category-filter-row button {
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 34px;
    padding: 6px 10px;
  }

  .category-finder .category-filter-row::-webkit-scrollbar {
    display: none;
  }

  .live-shell .feed-control-panel {
    align-items: center;
    gap: 6px 8px;
    overflow: hidden;
    padding: 8px;
    grid-template-columns: 1fr;
  }

  .live-shell .feed-filter-rail {
    grid-column: 1 / -1;
    margin-inline: -2px;
  }

  .live-shell .feed-filter-rail::after {
    background: linear-gradient(90deg, rgba(18, 26, 31, 0), rgba(18, 26, 31, 0.95));
    border-radius: 0 8px 8px 0;
    content: "";
    inset: 0 0 2px auto;
    pointer-events: none;
    position: absolute;
    width: 28px;
  }

  .live-shell .feed-filters {
    display: flex;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 0 30px 2px 2px;
    scroll-snap-type: x proximity;
  }

  .live-shell .feed-filters a {
    flex: 0 0 auto;
    font-size: 13px;
    justify-content: center;
    min-height: 30px;
    min-width: 0;
    padding: 5px 9px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .feed-control-copy,
  .search-result {
    grid-template-columns: 1fr;
  }

  .live-shell {
    gap: 10px;
    padding: 10px;
  }

  .live-shell .live-head {
    gap: 4px;
    padding-bottom: 8px;
  }

  .live-shell .live-head h1,
  .search-title h1 {
    font-size: 34px;
    line-height: 1;
  }

  .live-shell .live-head p:not(.eyebrow),
  .feed-control-copy span:last-child {
    font-size: 13px;
    line-height: 1.32;
  }

  .feed-identity-panel {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .feed-identity-copy {
    gap: 3px;
  }

  .feed-identity-copy > span {
    font-size: 10.5px;
  }

  .feed-identity-copy h2 {
    font-size: 19px;
    line-height: 1.04;
  }

  .feed-identity-copy p {
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .feed-identity-actions {
    flex-wrap: nowrap;
    margin-inline: -2px;
    overflow-x: auto;
    padding: 0 2px 2px;
    scrollbar-width: none;
  }

  .feed-identity-actions::-webkit-scrollbar {
    display: none;
  }

  .feed-identity-actions a {
    flex: 0 0 auto;
    font-size: 12.5px;
    min-height: 28px;
    padding: 4px 7px;
    white-space: nowrap;
  }

  .feed-identity-stats {
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feed-identity-stats div {
    gap: 2px;
    padding: 5px;
  }

  .feed-identity-stats dt {
    font-size: 9.5px;
  }

  .feed-identity-stats dd {
    font-size: 12.5px;
  }

  .feed-control-copy {
    display: none;
  }

  .live-shell .feed-control-panel {
    align-items: center;
    gap: 6px 8px;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .live-shell .feed-filter-rail {
    grid-column: 1 / -1;
    margin-inline: -2px;
  }

  .live-shell .feed-filter-rail::after {
    inset: 0 0 2px auto;
    width: 28px;
  }

  .live-shell .feed-filters {
    padding: 0 30px 2px 2px;
  }

  .live-shell .feed-filters a {
    font-size: 13px;
    min-height: 30px;
    padding: 5px 9px;
  }

  .live-shell .live-summary {
    gap: 8px;
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    min-width: 0;
    padding: 6px 8px;
  }

  .live-shell .feed-card > a {
    gap: 9px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 9px;
  }

  .live-shell .feed-thumb {
    aspect-ratio: 16 / 10;
  }

  .category-title {
    margin-bottom: 8px;
    padding: 10px;
  }

  .category-title h1 {
    font-size: 32px;
  }

  .category-finder {
    gap: 6px;
    padding: 7px;
  }

  .category-finder-head {
    gap: 6px;
  }

  .category-finder-head h2 {
    font-size: 18px;
  }

  .category-intent-row a {
    min-height: 30px;
    min-width: 104px;
    padding: 5px 7px;
  }

  .category-quick-row {
    margin-top: 6px;
  }

  .category-quick-row a {
    max-width: 136px;
  }

  .category-control-row {
    gap: 6px;
  }

  .category-finder-stats {
    display: none;
  }

  .category-search-field > span {
    display: none;
  }

  .category-finder input {
    min-height: 36px;
  }

  .category-clear-button {
    min-height: 36px;
    padding-inline: 10px;
  }

  .category-index {
    margin-top: 10px;
    padding: 10px;
  }

  .category-index .section-head h2 {
    font-size: 20px;
  }

  .category-tile {
    min-height: 118px;
    padding: 10px;
  }

  .category-tile strong {
    font-size: 18px;
  }

  .search-title {
    margin-bottom: 8px;
    padding: 12px;
  }

  .search-title p:not(.eyebrow) {
    display: none;
  }

  .search-panel {
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px;
  }

  .search-panel input,
  .search-panel button {
    min-height: 38px;
  }

  .search-quick-links {
    flex-wrap: nowrap;
    margin-bottom: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .search-quick-links::-webkit-scrollbar {
    display: none;
  }

  .search-quick-links > span,
  .search-quick-links a {
    flex: 0 0 auto;
  }

  .search-type-filters {
    margin-bottom: 8px;
  }

  .search-status {
    gap: 3px;
    margin-bottom: 8px;
    padding: 8px 10px;
  }

  .search-group .section-head {
    margin-bottom: 7px;
    padding-bottom: 7px;
  }

  .search-group .section-head h2 {
    font-size: 21px;
  }

  .games-title-directory {
    gap: 4px;
    margin-bottom: 6px;
    padding: 8px 10px;
  }

  .games-title-directory h1 {
    font-size: 28px;
  }

  .games-title-directory p {
    display: none;
  }

  .games-filter-panel {
    gap: 6px;
    margin-bottom: 6px;
    padding: 7px;
  }

  .games-control-row {
    gap: 6px;
  }

  .games-result-summary {
    padding: 5px 7px;
  }

  .games-result-summary small {
    display: none;
  }

  .games-sort-row {
    gap: 5px;
  }

  .games-filter-scroller {
    gap: 5px;
  }

  .games-filter-scroller .feed-filters a,
  .games-filter-scroller .filter-tabs a {
    font-size: 11.5px;
    min-height: 28px;
    padding: 4px 8px;
  }

  .game-directory-section .section-head {
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .game-directory-section .section-head h2 {
    font-size: 20px;
  }

  .live-shell .card-meta {
    font-size: 10.5px;
    line-height: 1.15;
  }

  .card-context {
    flex-wrap: nowrap;
    gap: 5px;
    overflow: hidden;
  }

  .card-context .card-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-type-mark {
    font-size: 10px;
    gap: 4px;
    min-height: 20px;
    padding: 4px 6px;
  }

  .card-type-mark::before {
    height: 5px;
    width: 5px;
  }

  .live-shell .feed-card h2 {
    font-size: 16.5px;
  }

  .live-shell .feed-card p {
    font-size: 12.5px;
    -webkit-line-clamp: 1;
  }

  .search-title {
    margin-bottom: 10px;
    padding: 16px 14px;
  }

  .search-panel {
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .search-panel input {
    min-height: 40px;
  }

  .search-panel button {
    min-height: 40px;
  }

  .search-quick-links {
    gap: 6px;
    margin-bottom: 10px;
  }

  .search-quick-links a {
    min-height: 30px;
    padding: 5px 9px;
  }

  .search-type-filters {
    flex-wrap: nowrap;
    margin-bottom: 10px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .search-type-filters::-webkit-scrollbar {
    display: none;
  }

  .search-type-filters a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 9px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .search-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .search-result {
    gap: 8px;
    padding: 10px;
  }

  .search-result.has-media {
    align-items: start;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .search-result.has-media .search-result-thumb {
    grid-row: 1 / span 3;
  }

  .search-result.has-media .search-result-kicker,
  .search-result.has-media .search-result-copy,
  .search-result.has-media .search-result-action {
    grid-column: 2;
  }

  .search-result h3 {
    font-size: 18px;
    line-height: 1.12;
  }

  .search-result p {
    -webkit-line-clamp: 2;
    font-size: 13px;
  }

  .search-result-action {
    justify-self: start;
  }

  .live-head {
    padding-bottom: 12px;
  }

  .live-head h1 {
    font-size: 40px;
  }

  .live-summary {
    padding: 10px 12px;
  }

  .article-toc,
  .article-related,
  .article-news-picks,
  .article-community {
    padding: 12px;
  }
}

@media (max-width: 820px) {
  .feed-card > a,
  .article-news-picks .feed-card > a {
    grid-template-columns: minmax(132px, 34vw) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .portal-hero-board {
    gap: 8px;
    grid-template-columns: none;
    padding: 8px;
  }

  .portal-hero-card {
    aspect-ratio: 16 / 10;
    flex-basis: min(78vw, 238px);
    min-height: 116px;
  }

  .portal-card {
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .feed-card > a,
  .article-news-picks .feed-card > a {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .feed-card h2 {
    font-size: 18px;
  }

  .portal-card strong {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .article-news-picks .feed-card > a {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .article-news-picks .feed-thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .article-news-picks .feed-copy {
    gap: 7px;
  }

  .article-news-picks .feed-card h2 {
    font-size: 19px;
    line-height: 1.12;
  }

  .article-news-picks .feed-card p {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 520px) {
  .portal-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .portal-card-thumb {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .portal-card-copy {
    gap: 8px;
    padding: 12px;
  }

  .portal-card strong {
    font-size: 18px;
    line-height: 1.12;
    -webkit-line-clamp: 3;
  }

  .portal-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
  }
}

.article-torrent-button {
  align-items: center;
  background: linear-gradient(135deg, #19d86b 0%, #83f28f 100%);
  border: 1px solid rgba(131, 242, 143, 0.86);
  border-radius: 10px;
  box-shadow:
    0 16px 34px rgba(25, 216, 107, 0.2),
    inset 0 -3px rgba(0, 0, 0, 0.14);
  color: #06140b;
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  justify-content: center;
  letter-spacing: 0;
  margin: 24px 0 6px;
  min-height: 62px;
  min-width: min(100%, 360px);
  padding: 14px 30px;
  text-decoration: none;
  width: fit-content;
}

.article-torrent-button:hover {
  border-color: #b9ffbf;
  box-shadow:
    0 18px 40px rgba(25, 216, 107, 0.3),
    inset 0 -3px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.game-release-meta,
.game-release-tabs,
.game-release-note,
.game-release-lower-download,
.game-release-requirements,
.game-release-main-tags,
.game-alternatives,
.game-release-support-strip {
  max-width: 980px;
}

.game-release-meta {
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: clamp(14px, 2vw, 18px);
}

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

.game-language-list div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-language-list dt,
.game-controller-support strong {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.game-language-list dt::after {
  content: ":";
}

.game-language-list dd {
  color: var(--text);
  margin: 0;
}

.game-controller-support {
  display: grid;
  gap: 10px;
}

.game-device-list,
.game-alternative-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-device-list span,
.game-alternative-links a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
  padding: 7px 10px;
  text-decoration: none;
}

.game-release-tabs {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.game-release-tabs details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.game-release-tabs summary {
  cursor: pointer;
  font-weight: 900;
  list-style-position: inside;
  padding: 12px 14px;
}

.game-release-tabs p {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0;
  padding: 12px 14px 14px;
}

/* Wave377: mirror Byrut's lower note/download rhythm with local protected routes only. */
.game-release-note {
  background: rgba(22, 23, 26, 0.92);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-left: 4px solid rgba(235, 188, 73, 0.72);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  min-height: 84px;
  padding: 14px 16px 15px;
}

.game-release-note h2 {
  color: #f0f5f2;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.game-release-note p {
  color: rgba(226, 235, 230, 0.72);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.game-release-lower-download {
  background: rgba(18, 19, 22, 0.92);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  margin-top: 18px;
  overflow: hidden;
  padding: 12px;
}

.game-release-lower-download h2 {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.game-release-lower-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.game-release-lower-primary,
.game-release-lower-secondary {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 950;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-height: 44px;
  min-width: 0;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
}

.game-release-lower-primary {
  background: linear-gradient(180deg, #63d579, #2ea64e);
  border: 1px solid rgba(185, 255, 191, 0.54);
  box-shadow: 0 12px 24px rgba(25, 216, 107, 0.16);
  color: #06140b;
}

.game-release-lower-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 235, 230, 0.16);
  color: #f2f6f4;
}

.game-release-lower-primary:hover,
.game-release-lower-secondary:hover,
.game-release-lower-alt-link:hover {
  transform: translateY(-1px);
}

.game-release-lower-alt-link {
  color: rgba(96, 215, 201, 0.82);
  font-size: 12px;
  font-weight: 900;
  justify-self: center;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.game-release-lower-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  min-width: 0;
}

.game-release-lower-badges span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.09);
  border-radius: 999px;
  color: rgba(226, 235, 230, 0.68);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 7px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wave365: compact Byrut-like alternative download rows without changing /go mechanics. */
.game-alternatives {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.game-alternatives-titlebar {
  align-items: center;
  background: linear-gradient(90deg, rgba(87, 213, 192, 0.2), rgba(87, 213, 192, 0.1));
  border: 1px solid rgba(87, 213, 192, 0.36);
  border-radius: 7px;
  box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2);
  display: flex;
  min-height: 40px;
  min-width: 0;
  padding: 8px 16px;
}

.game-alternatives h2 {
  color: #e9fffb;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  margin: 0;
}

.game-alternatives-note {
  color: rgba(226, 235, 230, 0.58);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  margin: 0;
}

.game-alternative-list {
  display: grid;
  gap: 9px;
}

.game-alternative-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 74px;
  padding: 12px 16px;
}

.game-alternative-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.game-alternative-card h3 {
  color: #f2f2f5;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.12;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-alternative-card p {
  color: rgba(226, 235, 230, 0.66);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
}

.game-alternative-side {
  align-items: end;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.game-alternative-side > strong {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #eff3f1;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  padding: 6px 10px;
}

.game-alternative-links {
  gap: 6px;
  justify-content: flex-end;
}

.game-alternative-links a {
  background: transparent;
  border: 0;
  color: rgba(226, 235, 230, 0.58);
  font-size: 12px;
  font-weight: 950;
  min-height: 0;
  padding: 0;
  text-transform: uppercase;
}

.game-alternative-links a:hover {
  color: var(--accent);
}

/* Wave357: add Byrut-like release help/update strip before related games without ad widgets. */
.game-release-support-strip {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  min-width: 0;
}

.game-release-support-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.game-release-support-links a,
.game-release-support-pill {
  align-items: center;
  color: rgba(242, 242, 245, 0.88);
  display: inline-flex;
  font-size: 15px;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.2;
  min-width: 0;
  text-decoration: none;
}

.game-release-support-links a {
  width: fit-content;
}

.game-release-support-links a:hover {
  color: #fff;
}

.game-release-support-strip .portal-nav-icon {
  color: rgba(226, 235, 230, 0.74);
  flex: 0 0 auto;
  height: 18px;
  stroke-width: 2.2;
  width: 18px;
}

.game-release-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-release-support-pill {
  appearance: none;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  font-family: inherit;
  justify-content: center;
  max-width: 100%;
  min-height: 39px;
  padding: 0 18px;
  width: fit-content;
}

.game-release-support-pill:hover,
.game-release-support-pill:focus-visible,
.game-release-support-pill[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.game-release-support-pill:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.68);
  outline-offset: 3px;
}

/* Wave533: move release help into the first article handoff without ad surfaces. */
body:has(.game-release-reference-shell) .game-release-detail-card > .game-release-support-strip {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(21, 22, 26, 0.98), rgba(12, 22, 23, 0.94)),
    rgba(21, 22, 26, 0.96);
  border: 1px solid rgba(226, 235, 230, 0.09);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 14px 32px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 12px 18px;
  grid-template-areas:
    "copy actions"
    "links actions";
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 16px 0 22px;
  min-height: 88px;
  overflow: hidden;
  padding: 15px 16px;
}

body:has(.game-release-reference-shell) .game-release-support-copy {
  display: grid;
  gap: 5px;
  grid-area: copy;
  min-width: 0;
}

body:has(.game-release-reference-shell) .game-release-support-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body:has(.game-release-reference-shell) .game-release-support-copy strong {
  color: #f2f2f5;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
}

body:has(.game-release-reference-shell) .game-release-support-copy p {
  color: rgba(226, 235, 230, 0.68);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  margin: 0;
  max-width: 620px;
}

body:has(.game-release-reference-shell) .game-release-support-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  grid-area: links;
  justify-items: start;
  min-width: 0;
}

body:has(.game-release-reference-shell) .game-release-support-links a {
  color: rgba(242, 242, 245, 0.86);
  font-size: 13px;
  font-weight: 850;
}

body:has(.game-release-reference-shell) .game-release-support-actions {
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-area: actions;
  justify-content: end;
  min-width: 184px;
}

body:has(.game-release-reference-shell) .game-release-support-pill {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(226, 235, 230, 0.08);
  font-size: 13px;
  min-height: 36px;
  padding: 0 14px;
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-detail-card > .game-release-support-strip {
    grid-template-areas:
      "copy"
      "links"
      "actions";
    grid-template-columns: minmax(0, 1fr);
    margin: 14px 0 18px;
    min-height: 0;
  }

  body:has(.game-release-reference-shell) .game-release-support-actions {
    justify-content: start;
    min-width: 0;
  }
}


.game-discovery-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 10px;
  min-width: 0;
}

.game-discovery-copy {
  align-items: end;
  border-bottom: 1px solid rgba(96, 215, 201, 0.2);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  padding-bottom: 10px;
}

.game-discovery-copy .eyebrow,
.game-discovery-copy h2 {
  grid-column: 1;
}

.game-discovery-copy h2 {
  color: #f8fafc;
  font-size: clamp(21px, 2.05vw, 28px);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.game-discovery-search {
  align-items: center;
  background: rgba(8, 13, 16, 0.78);
  border: 1px solid rgba(96, 215, 201, 0.24);
  border-radius: 8px;
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-row: 1 / span 2;
  min-width: 0;
  overflow: hidden;
}

.game-discovery-search:focus-within {
  border-color: rgba(96, 215, 201, 0.72);
  box-shadow: 0 0 0 3px rgba(96, 215, 201, 0.14);
}

.game-discovery-search input {
  background: transparent;
  border: 0;
  color: #f8fafc;
  font: inherit;
  min-width: 0;
  outline: 0;
  padding: 13px 14px;
}

.game-discovery-search input::placeholder {
  color: #94a3b8;
}

.game-discovery-search button {
  align-self: stretch;
  background: #60d7c9;
  border: 0;
  color: #071012;
  cursor: pointer;
  font-weight: 950;
  min-height: 44px;
  padding: 0 18px;
}

.game-discovery-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
}

.game-discovery-card {
  background: rgba(18, 26, 31, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #f8fafc;
  display: grid;
  gap: 4px;
  min-height: 58px;
  min-width: 0;
  padding: 10px 11px;
  text-decoration: none;
}

.game-discovery-card:hover,
.game-discovery-card.is-active {
  border-color: rgba(96, 215, 201, 0.56);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.game-discovery-card span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.game-discovery-card strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.game-discovery-chips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.game-discovery-chips > span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-discovery-chips a {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #dbeafe;
  min-height: 34px;
  padding: 8px 11px;
  text-decoration: none;
}

.game-discovery-chips a:hover {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.42);
  color: #f8fafc;
}

.game-top-summary {
  background: rgba(16, 23, 26, 0.92);
  border: 1px solid rgba(96, 215, 201, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
  min-width: 0;
  padding: 11px 12px;
}

.game-top-summary summary {
  align-items: center;
  color: #f8fafc;
  cursor: pointer;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  list-style-position: inside;
  min-width: 0;
}

.game-top-summary summary strong {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.game-top-summary summary span {
  background: rgba(96, 215, 201, 0.12);
  border: 1px solid rgba(96, 215, 201, 0.22);
  border-radius: 999px;
  color: #bff7ef;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 950;
  min-height: 28px;
  padding: 6px 10px;
}

.game-top-summary p {
  color: #b7c4cc;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.game-catalog-preview {
  background: rgba(18, 26, 31, 0.72);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  min-width: 0;
  padding: 10px;
}

.game-catalog-preview-head {
  margin-bottom: 0;
}

.game-catalog-preview-head .button-secondary {
  min-height: 36px;
  padding: 7px 12px;
}

.game-catalog-preview-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.game-catalog-preview-card {
  background: rgba(8, 13, 16, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  color: #f8fafc;
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(96px, 0.4fr) minmax(0, 1fr);
  min-width: 0;
  padding: 7px;
  text-decoration: none;
}

.game-catalog-preview-card:hover {
  border-color: rgba(96, 215, 201, 0.44);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.game-catalog-preview-thumb {
  aspect-ratio: 16 / 9;
  background: #080d10;
  border-radius: 6px;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.game-catalog-preview-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.game-catalog-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.game-catalog-preview-copy small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-catalog-preview-copy strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.game-catalog-preview-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.game-catalog-preview-meta span {
  background: rgba(96, 215, 201, 0.1);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.76);
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 6px;
}

.game-new-widget {
  background: #15161a;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 10px 0 12px;
  overflow: hidden;
  padding: clamp(14px, 2vw, 18px);
}

.game-new-head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
  min-width: 0;
}

.game-new-head h2 {
  color: #e6e4e8;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.game-new-head p {
  color: #a8a8b0;
  font-size: 13px;
  margin: 0;
}

.game-new-rail {
  display: grid;
  gap: 12px;
  grid-auto-columns: minmax(176px, 220px);
  grid-auto-flow: column;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 2px 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  width: 100%;
}

.game-new-rail::-webkit-scrollbar {
  display: none;
}

.game-new-card {
  background: rgba(8, 13, 16, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  color: #f0eff4;
  display: grid;
  gap: 7px;
  min-width: 176px;
  padding: 6px;
  scroll-snap-align: start;
  text-decoration: none;
}

.game-new-poster {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 58%),
    #0f1013;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
  display: block;
  overflow: hidden;
}

.card-meta {
  color: var(--sp-muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Wave 23: shared card hierarchy across public listing surfaces. */
.portal-card,
.feed-card,
.game-feed-card,
.content-card,
.category-card,
.category-tile,
.search-result,
.game-release-card {
  isolation: isolate;
  position: relative;
}

.portal-card::before,
.feed-card::before,
.game-feed-card::before,
.content-card::before,
.category-card::before,
.category-tile::before,
.search-result::before,
.game-release-card::before {
  background: linear-gradient(90deg, rgba(96, 215, 201, 0.6), rgba(138, 167, 255, 0.18), transparent);
  content: "";
  display: block;
  height: 1px;
  inset: 0 0 auto;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  width: auto;
}

.card-context {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.card-context .card-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.card-type-mark {
  align-items: center;
  background: rgba(96, 215, 201, 0.1);
  border: 1px solid rgba(96, 215, 201, 0.22);
  border-radius: 999px;
  color: var(--sp-accent);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 950;
  gap: 6px;
  line-height: 1;
  min-height: 22px;
  padding: 5px 8px;
  white-space: nowrap;
}

.card-type-mark::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 6px;
  opacity: 0.95;
  width: 6px;
}

.card-type-mark.type-news {
  background: rgba(96, 215, 201, 0.1);
  border-color: rgba(96, 215, 201, 0.24);
  color: #60d7c9;
}

.card-type-mark.type-guide {
  background: rgba(140, 199, 255, 0.1);
  border-color: rgba(140, 199, 255, 0.24);
  color: #8cc7ff;
}

.card-type-mark.type-fix {
  background: rgba(255, 205, 105, 0.1);
  border-color: rgba(255, 205, 105, 0.24);
  color: #ffcd69;
}

.card-type-mark.type-collection {
  background: rgba(201, 156, 255, 0.1);
  border-color: rgba(201, 156, 255, 0.24);
  color: #c99cff;
}

.card-type-mark.type-game {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.24);
  color: #34d399;
}

.content-kicker,
.card-meta,
.search-result-meta {
  letter-spacing: 0;
}

.rank-badge,
.search-result-action,
.card-action {
  min-height: 24px;
}

.search-result-action,
.card-action {
  align-items: center;
  background: rgba(96, 215, 201, 0.09);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding: 5px 9px;
}

.feed-thumb,
.game-feed-thumb,
.portal-card-thumb,
.search-result-thumb,
.card-media.has-image,
.game-new-poster {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.portal-card-thumb,
.feed-thumb,
.game-feed-thumb {
  aspect-ratio: 16 / 9;
}

.game-new-poster img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.game-new-card strong {
  color: #ebe9ee;
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.16;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-new-card small {
  color: #a8a8b0;
  font-size: 13px;
}

.game-new-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.game-new-controls button {
  background: transparent;
  border: 0;
  color: #8f9098;
  cursor: pointer;
  flex: 0 0 auto;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.game-new-controls button:hover {
  color: #d5d5da;
  transform: none;
}

.game-new-controls button:disabled {
  color: #55565d;
  cursor: default;
  opacity: 0.45;
}

.game-new-dots {
  align-items: center;
  display: flex;
  gap: 4px;
}

.game-new-controls [data-game-new-dot] {
  align-items: center;
  background: transparent;
  border-radius: 999px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  opacity: 1;
  padding: 0;
  position: relative;
  width: 40px;
}

.game-new-controls [data-game-new-dot]::before {
  background: #656771;
  border-radius: 999px;
  content: "";
  display: block;
  height: 10px;
  opacity: 0.78;
  transition:
    background-color 160ms ease,
    opacity 160ms ease,
    width 160ms ease;
  width: 10px;
}

.game-new-controls [data-game-new-dot].is-active {
  background: transparent;
  width: 40px;
}

.game-new-controls [data-game-new-dot].is-active::before {
  background: #d5d5da;
  opacity: 1;
  width: 24px;
}

.game-new-controls [data-game-new-prev],
.game-new-controls [data-game-new-next] {
  color: #8f9098;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  min-width: 40px;
}

.game-release-card > a {
  align-items: start;
  grid-template-columns: minmax(168px, 220px) minmax(0, 1fr);
  padding-bottom: 8px;
}

.game-release-card .feed-thumb {
  aspect-ratio: 16 / 9;
  background: #080d10;
  min-height: 0;
}

.game-release-card .feed-thumb img {
  object-fit: cover;
  object-position: center center;
}

.game-release-card-meta,
.game-release-card-stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-release-card-meta {
  color: rgba(242, 245, 241, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.game-release-card-meta span,
.game-release-card-stats span {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 6px;
  display: inline-flex;
  min-height: 22px;
  padding: 3px 7px;
  white-space: nowrap;
}

.game-release-card-stats {
  color: rgba(242, 245, 241, 0.62);
  font-size: 12px;
  font-weight: 950;
}

.game-release-card-stats span:last-child {
  color: rgba(242, 245, 241, 0.72);
}

.game-release-home-badges,
.game-release-home-quickstats {
  display: none;
}

.game-release-update-mark {
  color: var(--amber);
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-release-actions {
  display: flex;
  justify-content: flex-start;
  padding: 0 14px 14px;
}

.game-release-download {
  min-height: 38px;
}

@media (max-width: 720px) {
  .article-detail-layout {
    gap: 8px;
    grid-template-columns: 1fr;
    margin-top: 39px;
  }

  .article-sidebar {
    align-self: auto;
    display: none;
    order: 3;
  }

  .article-sidebar-toc {
    display: none;
  }

  .article-sidebar-sticky {
    border-left: 0;
    border-top: 1px solid rgba(246, 242, 232, 0.12);
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
    padding-left: 0;
    padding-top: 18px;
    position: static;
  }

  .article-reading-hero,
  .article-reading-hero.has-cover {
    gap: 12px;
    grid-template-columns: 1fr;
    padding-bottom: 14px;
  }

  .article-reading-media .article-cover {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    width: min(150px, 46vw);
  }

  .article-reading-media .article-cover img {
    aspect-ratio: 16 / 9;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .article-reading-copy header > p:not(.eyebrow) {
    display: -webkit-box;
    font-size: 15px;
    line-height: 1.38;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .article-mobile-toc {
    display: grid;
    margin-top: 2px;
  }

  .article-mobile-toc .article-toc {
    margin-top: 6px;
  }

  .article-mobile-sidecar {
    display: grid;
  }

  .game-release-actions {
    padding: 0 12px 12px;
  }

  .game-discovery-copy {
    align-items: stretch;
    gap: 7px;
    grid-template-columns: 1fr;
    padding-bottom: 7px;
  }

  .game-discovery-copy .eyebrow,
  .game-discovery-copy h2,
  .game-discovery-search {
    grid-column: auto;
    grid-row: auto;
  }

  .game-discovery-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .game-discovery-actions::-webkit-scrollbar {
    display: none;
  }

  .game-discovery-card {
    flex: 0 0 128px;
    min-height: 48px;
    padding: 7px 8px;
  }

  .game-top-summary {
    margin-bottom: 8px;
    padding: 10px;
  }

  .game-top-summary summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .game-discovery-chips {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .game-discovery-chips::-webkit-scrollbar {
    display: none;
  }

  .game-discovery-chips a {
    flex: 0 0 auto;
  }

  .game-release-card > a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .games-title {
    margin-bottom: 8px;
    padding: 10px 12px;
  }

  .games-title h1 {
    font-size: 31px;
  }

  .game-catalog-preview {
    gap: 7px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 8px;
  }

  .game-catalog-preview-grid {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .game-catalog-preview-grid::-webkit-scrollbar {
    display: none;
  }

  .game-catalog-preview-card {
    flex: 0 0 238px;
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 7px;
  }

  .article-torrent-button {
    justify-content: center;
    width: 100%;
  }

  .game-alternative-card {
    grid-template-columns: 1fr;
    min-height: 82px;
  }

  .game-alternative-side {
    align-items: start;
    justify-items: start;
  }

  .game-alternative-links {
    justify-content: flex-start;
  }
}

.article-view h1 {
  font-size: 54px;
  line-height: 1.02;
  margin-bottom: 14px;
}

.article-view.privacy-policy h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.article-view header {
  margin-top: 14px;
  padding-bottom: 20px;
}

.article-view header .eyebrow {
  margin-bottom: 8px;
}

.article-cover-primary {
  margin-top: 16px;
  padding: 0;
  width: min(100%, 390px);
}

.article-cover-primary img {
  aspect-ratio: 2 / 3;
  max-height: none;
  object-fit: cover;
  width: 100%;
}

.article-cover-game img {
  max-height: none;
}

.game-release-sidebar-card {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  gap: 8px 10px;
  grid-template-columns: 88px minmax(0, 1fr);
}

.game-release-sidebar-cover {
  height: 132px;
  max-width: 88px;
  width: min(100%, 88px);
}

.game-release-sidebar-copy {
  gap: 5px;
}

.game-release-sidebar-copy h2 {
  font-size: 16px;
  line-height: 1.12;
}

.game-release-sidebar-copy dl div {
  padding-top: 3px;
}

.game-release-sidebar-cta {
  min-height: 36px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.game-release-sidebar-cta:hover {
  border-color: #d5ffda;
  box-shadow: 0 12px 26px rgba(25, 216, 107, 0.24);
  transform: translateY(-1px);
}

.article-torrent-button {
  scroll-margin-top: 126px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    outline-color 160ms ease,
    transform 160ms ease;
}

.article-torrent-button:target,
.article-torrent-button.is-anchor-target {
  animation: download-target-pulse 1100ms ease-out 1;
  outline: 3px solid rgba(185, 255, 191, 0.56);
  outline-offset: 5px;
}

.article-top-link {
  font-size: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  width: 44px;
}

.article-top-link::before {
  font-size: 18px;
  margin-right: 0;
}

@keyframes download-target-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(131, 242, 143, 0.52),
      0 16px 34px rgba(25, 216, 107, 0.2),
      inset 0 -3px rgba(0, 0, 0, 0.14);
  }

  100% {
    box-shadow:
      0 0 0 18px rgba(131, 242, 143, 0),
      0 16px 34px rgba(25, 216, 107, 0.2),
      inset 0 -3px rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 980px) {
  .article-view h1 {
    font-size: 48px;
  }
}

@media (max-width: 720px) {
  main {
    padding-inline: 10px;
  }

  .article-detail-layout {
    margin-top: 39px;
  }

  .article-view h1 {
    font-size: 30px;
    line-height: 1.05;
  }

  .article-view header {
    margin-top: 12px;
    padding-bottom: 16px;
  }

  .article-cover-primary {
    padding: 0;
    width: min(100%, 360px);
  }

  .article-cover-primary img {
    aspect-ratio: 2 / 3;
    max-height: none;
    object-fit: cover;
  }

  .reaction-pill {
    min-height: 38px;
    min-width: 66px;
    padding: 7px 10px;
  }

  .reaction-pill strong {
    font-size: 18px;
  }

  .live-shell {
    gap: 8px;
    padding: 14px 16px;
  }

  .live-head {
    padding-bottom: 14px;
  }

  .live-head h1,
  .page-title h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .page-title {
    padding: 18px 16px;
  }

  .feed-list,
  .game-list,
  .category-list {
    gap: 10px;
  }

}

@media (max-width: 520px) {
  .article-view h1 {
    font-size: 34px;
  }

  .feed-card > a {
    gap: 10px;
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 10px;
  }

  .feed-thumb {
    aspect-ratio: 4 / 3;
  }

  .feed-card h2,
  .game-release-card h2 {
    font-size: 18px;
    line-height: 1.12;
  }

  .feed-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .game-release-card > a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .game-release-card .feed-thumb {
    aspect-ratio: 16 / 9;
  }

  .game-new-widget {
    padding: 10px;
  }

  .game-new-head {
    align-items: start;
    display: grid;
    gap: 2px;
  }

  .game-new-rail {
    gap: 9px;
    grid-auto-columns: minmax(148px, 160px);
  }

  .game-new-card {
    min-width: 148px;
  }

  .game-new-controls {
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
  }

  .game-new-controls button,
  .game-new-controls [data-game-new-prev],
  .game-new-controls [data-game-new-next] {
    min-height: 32px;
    min-width: 32px;
    width: 32px;
  }

  .game-new-dots {
    gap: 2px;
    min-width: 0;
  }

  .game-new-controls [data-game-new-dot] {
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    width: 28px;
  }

  .game-new-controls [data-game-new-dot]::before {
    height: 8px;
    width: 8px;
  }

  .game-new-controls [data-game-new-dot].is-active::before {
    width: 18px;
  }

  .game-discovery-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .game-discovery-search button {
    min-height: 42px;
  }
}

.game-release-view {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: min(1180px, calc(100vw - 48px));
  padding: 0;
}

.game-release-view > .breadcrumbs {
  margin: 0 auto 12px;
  max-width: min(1180px, calc(100vw - 48px));
}

.game-release-shell {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 804px) minmax(230px, 280px);
  justify-content: center;
  margin: 0 auto;
  min-width: 0;
}

.game-release-detail-card {
  background:
    linear-gradient(180deg, rgba(40, 55, 57, 0.28), rgba(21, 22, 26, 0) 118px),
    #15161a;
  border: 1px solid rgba(87, 213, 192, 0.1);
  border-top: 2px solid rgba(80, 190, 171, 0.42);
  color: #dedee4;
  display: grid;
  gap: 28px;
  min-width: 0;
  padding: 0 24px 32px;
}

/* Wave338: match the Byrut article card surface while keeping local content. */
body:has(.game-release-reference-shell) .game-release-detail-card {
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 28px rgba(0, 0, 0, 0.22);
  position: relative;
}

/* Wave337: move game-article breadcrumbs into the left reference content card. */
.game-release-detail-card > .breadcrumbs {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(170, 182, 176, 0.68);
  flex-wrap: nowrap;
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
  margin: 18px 0 -8px;
  min-height: 20px;
  overflow: hidden;
  padding: 0 86px 0 0;
  white-space: nowrap;
}

.game-release-detail-card > .breadcrumbs a {
  color: rgba(170, 182, 176, 0.82);
  flex: 0 0 auto;
  font-weight: 600;
}

.game-release-detail-card > .breadcrumbs span:last-child {
  color: rgba(242, 245, 241, 0.86);
  flex: 1 1 auto;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-release-detail-card > .breadcrumbs .breadcrumb-separator {
  color: rgba(170, 182, 176, 0.45);
}

/* Wave372: mirror Byrut's compact top-right release activity count without copying external counters. */
.game-release-detail-counter {
  align-items: center;
  color: rgba(226, 235, 230, 0.68);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  gap: 5px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 2;
}

.game-release-detail-counter .portal-nav-icon {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 16px;
}

.game-release-compact-hero {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 214px minmax(0, 1fr);
  padding-top: 0;
}

.game-release-poster-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.game-release-poster {
  background: #0f1013;
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
  display: block;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 214px;
}

.game-release-poster picture,
.game-release-poster img {
  display: block;
  height: auto;
  width: 100%;
}

.game-release-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.game-release-poster-badge {
  align-items: center;
  background: rgba(12, 15, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  bottom: 8px;
  color: rgba(242, 245, 241, 0.92);
  display: inline-flex;
  font-size: 10px;
  font-weight: 950;
  left: 8px;
  line-height: 1.08;
  max-width: calc(100% - 16px);
  min-height: 34px;
  padding: 5px 7px;
  position: absolute;
  text-transform: uppercase;
}

.game-release-track-button {
  align-items: center;
  background: rgba(43, 43, 43, 0.96);
  border: 1px solid rgba(226, 235, 230, 0.06);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.9);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  line-height: 1.1;
  min-height: 37px;
  padding: 8px 12px;
  width: 214px;
}

.game-release-track-button svg {
  fill: none;
  flex: 0 0 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.game-release-track-button:hover,
.game-release-track-button:focus-visible,
.game-release-track-button[aria-expanded="true"] {
  background: rgba(35, 38, 43, 0.98);
  border-color: rgba(96, 215, 201, 0.34);
  color: #f7f7f8;
}

.game-release-track-button:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 3px;
}

.game-release-poster figcaption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.game-release-hero-main {
  align-content: start;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.game-release-hero-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.game-release-hero-copy h1 {
  color: #f7f7f8;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 2px;
}

.game-release-language {
  align-self: start;
  background: rgba(87, 213, 192, 0.08);
  border-left: 3px solid rgba(87, 213, 192, 0.58);
  color: #eeeeef;
  font-size: 15px;
  font-weight: 800;
  justify-self: start;
  line-height: 1.35;
  margin: 0 0 6px;
  padding: 6px 10px 6px 11px;
}

/* Wave340: make the first release hero/order read like the Byrut article flow. */
body:has(.game-release-reference-shell) .game-release-hero-copy {
  gap: 7px;
}

body:has(.game-release-reference-shell) .game-release-version-reference {
  color: #f04438;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.28;
  margin: -2px 0 0;
}

body:has(.game-release-reference-shell) .game-release-version-reference span {
  color: #ff5a4f;
}

body:has(.game-release-reference-shell) .game-release-language {
  background: transparent;
  border-left: 0;
  color: rgba(226, 235, 230, 0.72);
  font-size: 15px;
  font-weight: 800;
  justify-self: stretch;
  line-height: 1.36;
  margin: 0 0 5px;
  padding: 0;
}

body:has(.game-release-reference-shell) .game-release-hero-meta {
  gap: 7px;
  grid-template-columns: minmax(0, 1fr);
}

body:has(.game-release-reference-shell) .game-release-hero-meta div {
  align-items: baseline;
  border-left: 0;
  display: flex;
  gap: 6px;
  padding-left: 0;
}

body:has(.game-release-reference-shell) .game-release-hero-meta dt {
  color: rgba(226, 235, 230, 0.72);
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.32;
  text-transform: none;
}

body:has(.game-release-reference-shell) .game-release-hero-meta dd {
  color: rgba(226, 235, 230, 0.78);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.32;
}

body:has(.game-release-reference-shell) .game-release-hero-rating {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
  min-width: 0;
}

body:has(.game-release-reference-shell) .game-release-hero-score {
  align-items: center;
  background: #46b72e;
  border-radius: 999px;
  color: #f6fff2;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  min-width: 38px;
  padding: 0 9px;
}

body:has(.game-release-reference-shell) .game-release-hero-stars {
  color: #ffd44d;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body:has(.game-release-reference-shell) .game-release-hero-stars span {
  color: rgba(226, 235, 230, 0.34);
}

body:has(.game-release-reference-shell) .game-release-hero-review {
  color: rgba(94, 214, 87, 0.92);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

body:has(.game-release-reference-shell) .game-release-update-note {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 3px;
  margin-top: 3px;
  padding: 0;
}

body:has(.game-release-reference-shell) .game-release-update-note strong {
  color: rgba(226, 235, 230, 0.7);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

body:has(.game-release-reference-shell) .game-release-update-note .game-release-update-mark {
  color: #ff4a40;
  display: inline-block;
  font-size: 18px;
  font-weight: 950;
  margin-right: 4px;
  transform: translateY(1px);
}

body:has(.game-release-reference-shell) .game-release-update-note a {
  color: rgba(226, 235, 230, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wave346: add Byrut-like poster language badge and tracking CTA without external integrations. */
body:has(.game-release-reference-shell) .game-release-poster-stack {
  gap: 12px;
}

body:has(.game-release-reference-shell) .game-release-poster {
  height: 310px;
  width: 215px;
}

body:has(.game-release-reference-shell) .game-release-poster img {
  aspect-ratio: auto;
  height: 310px;
}

body:has(.game-release-reference-shell) .game-release-track-button {
  min-height: 37px;
  width: 215px;
}

.game-release-hero-meta {
  display: grid;
  gap: 10px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.game-release-hero-meta div {
  border-left: 2px solid rgba(87, 213, 192, 0.28);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding-left: 10px;
}

.game-release-hero-meta dt {
  color: #8fadb0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.game-release-hero-meta dd {
  color: #d7d8de;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-hero-meta a {
  color: #4fa2ff;
  text-decoration: none;
}

.game-release-action-strip {
  align-items: stretch;
  background: rgba(12, 17, 19, 0.72);
  border: 1px solid rgba(87, 213, 192, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(148px, 0.42fr) minmax(0, 1fr);
  margin-top: 4px;
  min-width: 0;
  padding: 10px;
}

.game-release-action-main {
  align-items: center;
  background: linear-gradient(135deg, #44a947, #68c75f);
  border-radius: 7px;
  color: #f7fff5;
  display: inline-flex;
  font-size: 15px;
  font-weight: 950;
  justify-content: center;
  line-height: 1.12;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.game-release-action-main:focus-visible,
.game-release-action-links a:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 2px;
}

.game-release-action-context {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.game-release-action-facts {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.game-release-action-facts div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
}

.game-release-action-facts dt {
  color: #8fadb0;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-release-action-facts dd {
  color: #eff3f1;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.18;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.game-release-action-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  color: #dce7e5;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  min-height: 31px;
  padding: 7px 9px;
  text-decoration: none;
}

.game-release-passport {
  background:
    linear-gradient(135deg, rgba(87, 213, 192, 0.1), rgba(255, 218, 91, 0.05)),
    rgba(12, 17, 19, 0.68);
  border: 1px solid rgba(87, 213, 192, 0.18);
  border-left: 3px solid rgba(87, 213, 192, 0.56);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.game-release-passport-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.game-release-passport-head span {
  color: #8df1df;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-release-passport-head h2 {
  color: #f0f6f4;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.game-release-passport-head p {
  color: rgba(226, 235, 230, 0.7);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.42;
  margin: 0;
  max-width: 620px;
}

.game-release-passport-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
}

.game-release-passport-facts div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  gap: 3px;
  min-height: 56px;
  min-width: 0;
  padding: 8px 10px;
}

.game-release-passport-facts dt {
  color: rgba(226, 235, 230, 0.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.game-release-passport-facts dd {
  color: #f5fff6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-passport-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.game-release-passport-status li {
  align-items: center;
  background: rgba(87, 213, 192, 0.08);
  border: 1px solid rgba(87, 213, 192, 0.16);
  border-radius: 999px;
  color: rgba(226, 235, 230, 0.78);
  display: inline-flex;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.18;
  min-height: 28px;
  min-width: 0;
  padding: 6px 9px;
}

/* Wave379: move local system requirements into Byrut's lower tech rhythm. */
.game-release-requirements {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(87, 213, 192, 0.035)),
    rgba(18, 19, 22, 0.94);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.game-release-requirements-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.game-release-requirements-head span {
  color: rgba(96, 215, 201, 0.82);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: uppercase;
}

.game-release-requirements-head h2 {
  color: #f0f6f4;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.game-release-requirements-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
}

.game-release-requirements-grid div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  min-height: 58px;
  min-width: 0;
  padding: 8px 10px;
}

.game-release-requirements-grid dt {
  color: rgba(226, 235, 230, 0.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.game-release-requirements-grid dd {
  color: #f5fff6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.24;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-requirements-notes {
  color: rgba(226, 235, 230, 0.72);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 6px;
  line-height: 1.42;
  margin: 0;
  padding-left: 18px;
}

/* Wave381: add Byrut-like main-column release tags between requirements and alternative downloads. */
.game-release-main-tags {
  border-top: 1px solid rgba(226, 235, 230, 0.1);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 16px;
}

.game-release-main-tags-head {
  align-items: center;
  color: #f0f6f4;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.game-release-main-tags-head .portal-nav-icon {
  color: rgba(226, 235, 230, 0.72);
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.game-release-main-tags-head h2 {
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
  text-transform: uppercase;
}

.game-release-main-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  min-width: 0;
}

.game-release-main-tag-list a {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(226, 235, 230, 0.16);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.82);
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.1;
  max-width: 100%;
  min-height: 30px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 7px 11px;
  text-decoration: none;
}

.game-release-main-tag-list a:hover,
.game-release-main-tag-list a:focus-visible {
  background: rgba(96, 215, 201, 0.08);
  border-color: rgba(96, 215, 201, 0.32);
  color: #ffffff;
  outline: 0;
}

.game-release-description {
  color: #d9d9df;
  font-size: 17px;
  line-height: 1.58;
  margin: 0;
  max-width: none;
  padding-top: 0;
}

.game-release-description-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
  position: relative;
}

.game-release-description-toggle {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.game-release-description-toggle:not(:checked) + .game-release-description {
  max-height: 292px;
  overflow: hidden;
  position: relative;
}

.game-release-description-toggle:not(:checked) + .game-release-description::after {
  background: linear-gradient(180deg, rgba(21, 22, 26, 0), #15161a 82%);
  bottom: 0;
  content: "";
  height: 74px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.game-release-description-toggle:checked + .game-release-description {
  max-height: none;
  overflow: visible;
}

.game-release-description-more {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #d0d0d6;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  justify-self: end;
  line-height: 1;
  padding: 7px 12px;
}

.game-release-description-toggle:focus-visible ~ .game-release-description-more {
  outline: 2px solid #4fa2ff;
  outline-offset: 3px;
}

.game-release-description-toggle:checked ~ .game-release-description-more {
  display: none;
}

.game-release-description p {
  margin: 0 0 20px;
}

.game-release-description p:last-child {
  margin-bottom: 0;
}

.game-release-download-panel {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(66, 169, 66, 0.12), rgba(87, 213, 192, 0.08)),
    rgba(12, 17, 19, 0.74);
  border: 1px solid rgba(87, 213, 192, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  justify-items: stretch;
  margin: -2px 0 4px;
  min-width: 0;
  padding: 14px;
}

/* Wave371: match the current Byrut single torrent CTA while keeping alternative /go routes below. */
.game-release-download-zone {
  display: grid;
  gap: 10px;
  justify-content: stretch;
  justify-items: center;
  margin: -2px 0 4px;
  min-width: 0;
}

.game-release-download-actions {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-width: 0;
  width: 100%;
}

body:has(.game-release-reference-shell) .game-release-download-panel {
  background: transparent;
  border: 0;
  gap: 0;
  grid-template-columns: 1fr;
  justify-items: stretch;
  margin: 4px 0 8px;
  padding: 0 0 14px;
}

body:has(.game-release-reference-shell) .game-release-download-panel .game-release-download-zone {
  justify-self: stretch;
  margin: 0;
  width: 100%;
}

body:has(.game-release-reference-shell) .game-release-download-panel .article-torrent-button {
  border-radius: 7px;
  font-size: 18px;
  font-weight: 850;
  min-height: 46px;
  min-width: 0;
  padding: 10px 22px;
  width: min(286px, 100%);
}

body:has(.game-release-reference-shell) .game-release-download-panel .game-release-download-summary,
body:has(.game-release-reference-shell) .game-release-download-panel .game-release-trust {
  display: none;
}

.game-release-download-panel .game-release-download-zone {
  margin: 0;
  width: 100%;
}

.game-release-download-zone .article-torrent-button {
  background: linear-gradient(135deg, #42a942, #66c35c);
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  color: #f7fff5;
  font-size: 18px;
  margin: 0;
  min-height: 46px;
  min-width: 0;
  padding: 10px 24px;
  width: min(286px, 100%);
}

.game-release-download-zone .article-torrent-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.game-release-download-summary {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.game-release-download-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.game-release-download-head span {
  color: #8df1df;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-release-download-head h2 {
  color: #f0f6f4;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.game-release-download-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
}

.game-release-download-facts div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  gap: 3px;
  min-height: 54px;
  min-width: 0;
  padding: 8px 10px;
}

.game-release-download-facts dt {
  color: rgba(226, 235, 230, 0.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.game-release-download-facts dd {
  color: #f5fff6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-download-verify {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.game-release-download-verify span {
  align-items: center;
  background: rgba(87, 213, 192, 0.08);
  border: 1px solid rgba(87, 213, 192, 0.16);
  border-radius: 999px;
  color: rgba(226, 235, 230, 0.78);
  display: inline-flex;
  font-size: 12px;
  font-weight: 820;
  gap: 6px;
  line-height: 1.18;
  min-height: 28px;
  min-width: 0;
  padding: 6px 9px;
}

.game-release-download-verify strong {
  color: #f5fff6;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-release-download-verify em {
  font-style: normal;
  min-width: 0;
}

.game-release-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 12px;
  width: 100%;
}

.game-release-trust h3 {
  color: #f0f6f4;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.game-release-trust-list {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-release-trust-list li {
  border-left: 2px solid rgba(87, 213, 192, 0.28);
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-left: 10px;
}

.game-release-trust-list a {
  color: #8df1df;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  text-decoration: none;
}

.game-release-trust-list a:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 2px;
}

.game-release-trust-list span {
  color: rgba(226, 235, 230, 0.72);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.game-release-screenshots {
  display: grid;
  gap: 14px;
  margin-top: 2px;
}

.game-release-screenshots h2 {
  color: #cfcfd6;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

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

.game-release-screenshot-grid figure {
  background: #0f1013;
  border-radius: 6px;
  display: block;
  margin: 0;
  overflow: hidden;
}

.game-release-screenshot-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

.game-release-screenshot-grid picture,
.game-release-screenshot-grid img {
  display: block;
  height: 100%;
  width: 100%;
}

.game-release-screenshot-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition:
    filter 160ms ease,
    transform 180ms ease;
}

.game-release-screenshot-button:hover img,
.game-release-screenshot-button:focus-visible img {
  filter: saturate(1.08) brightness(1.08);
  transform: scale(1.025);
}

.game-release-screenshot-button:focus-visible {
  outline: 2px solid #57d5c0;
  outline-offset: 3px;
}

/* Wave367: collapse release screenshots to Byrut's six-frame preview while keeping the local lightbox complete. */
.game-release-screenshot-more {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(226, 235, 230, 0.16);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.72);
  cursor: zoom-in;
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  justify-self: end;
  line-height: 1;
  margin-top: -2px;
  min-height: 28px;
  padding: 6px 13px;
  white-space: nowrap;
}

.game-release-screenshot-more:hover,
.game-release-screenshot-more:focus-visible {
  background: rgba(96, 215, 201, 0.09);
  border-color: rgba(96, 215, 201, 0.35);
  color: #f6fbf9;
}

.game-release-screenshot-more:focus-visible {
  outline: 2px solid #57d5c0;
  outline-offset: 3px;
}

.game-release-screenshot-hidden[hidden] {
  display: none !important;
}

/* Wave355: add Byrut-like local video previews after screenshots without external embeds. */
.game-release-video-preview {
  display: grid;
  gap: 14px;
  margin-top: 2px;
}

.game-release-video-preview h2 {
  color: #cfcfd6;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.game-release-video-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-release-video-card {
  background: #070809;
  border-radius: 7px;
  display: block;
  margin: 0;
  overflow: hidden;
}

.game-release-video-button {
  background: #070809;
  border: 0;
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.game-release-video-button::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.58) 100%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.game-release-video-card picture,
.game-release-video-card img {
  display: block;
  height: 100%;
  width: 100%;
}

.game-release-video-card img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition:
    filter 160ms ease,
    transform 180ms ease;
}

.game-release-video-button:hover img,
.game-release-video-button:focus-visible img {
  filter: saturate(1.08) brightness(1.08);
  transform: scale(1.025);
}

.game-release-video-play {
  align-items: center;
  background: rgba(242, 245, 241, 0.68);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  z-index: 2;
}

.game-release-video-play::before {
  border-bottom: 11px solid transparent;
  border-left: 17px solid rgba(20, 23, 24, 0.8);
  border-top: 11px solid transparent;
  content: "";
  margin-left: 4px;
}

.game-release-video-autoplay {
  align-items: center;
  bottom: 11px;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  left: 12px;
  line-height: 1;
  position: absolute;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.game-release-video-autoplay i {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  display: inline-block;
  height: 13px;
  position: relative;
  width: 28px;
}

.game-release-video-autoplay i::before {
  background: #e9edf0;
  border-radius: 999px;
  content: "";
  height: 11px;
  left: 1px;
  position: absolute;
  top: 1px;
  width: 11px;
}

.game-release-video-button:focus-visible {
  outline: 2px solid #57d5c0;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .game-release-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-release-video-play {
    height: 50px;
    width: 50px;
  }
}

/* Wave375: add Byrut-like release logo/table rhythm with local data and no ad media. */
.game-release-brand-mark {
  align-items: center;
  border-bottom: 1px solid rgba(226, 235, 230, 0.1);
  border-top: 1px solid rgba(226, 235, 230, 0.1);
  display: grid;
  justify-items: center;
  min-height: 144px;
  overflow: hidden;
  padding: 24px 12px;
  position: relative;
}

.game-release-brand-mark::before {
  border-bottom: 1px solid rgba(226, 235, 230, 0.06);
  border-top: 1px solid rgba(226, 235, 230, 0.06);
  content: "";
  inset: 14px 17%;
  pointer-events: none;
  position: absolute;
}

.game-release-brand-lockup {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

.game-release-brand-lockup strong {
  color: #f5f6f1;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 9px 24px rgba(0, 0, 0, 0.46);
}

.game-release-brand-lockup span {
  color: #ff5148;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}

.game-release-spec-strip {
  background: rgba(18, 19, 22, 0.92);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.game-release-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
}

.game-release-spec-grid div {
  align-items: center;
  display: grid;
  gap: 5px 10px;
  grid-template-columns: 34px minmax(0, 0.58fr) minmax(0, 0.9fr);
  min-height: 58px;
  min-width: 0;
  padding: 12px 14px;
}

.game-release-spec-grid div + div {
  border-left: 1px solid rgba(226, 235, 230, 0.08);
}

.game-release-spec-grid .portal-nav-icon,
.game-release-spec-status .portal-nav-icon {
  fill: none;
  height: 20px;
  stroke: #ff5148;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.game-release-spec-grid dt {
  color: rgba(226, 235, 230, 0.58);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.game-release-spec-grid dd {
  color: #f4f7f5;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-release-spec-status {
  align-items: center;
  border-top: 1px solid rgba(226, 235, 230, 0.08);
  color: #f4f7f5;
  display: flex;
  gap: 10px;
  min-height: 42px;
  min-width: 0;
  padding: 10px 14px;
}

.game-release-spec-status strong {
  font-size: 14px;
  font-weight: 920;
  line-height: 1.22;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .game-release-brand-mark {
    min-height: 118px;
    padding: 20px 8px;
  }

  .game-release-brand-mark::before {
    inset: 12px 10%;
  }

  .game-release-brand-lockup {
    gap: 8px 10px;
  }

  .game-release-brand-lockup strong {
    font-size: 30px;
    line-height: 1;
  }

  .game-release-brand-lockup span {
    font-size: 26px;
  }

  .game-release-spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-release-spec-grid div {
    grid-template-columns: 30px minmax(0, 0.56fr) minmax(0, 1fr);
    min-height: 54px;
    padding: 11px 12px;
  }

  .game-release-spec-grid div + div {
    border-left: 0;
    border-top: 1px solid rgba(226, 235, 230, 0.08);
  }

  .game-release-spec-status {
    align-items: flex-start;
    min-height: 40px;
    padding: 10px 12px;
  }

  .game-release-spec-status strong {
    font-size: 13px;
  }
}

.game-release-lightbox[hidden] {
  display: none;
}

.game-release-lightbox {
  align-items: center;
  background: rgba(4, 7, 10, 0.86);
  backdrop-filter: blur(12px);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 22px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 140;
}

.game-release-lightbox-dialog {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  max-width: min(1180px, 96vw);
  width: 100%;
}

.game-release-lightbox-frame {
  background: #090c10;
  border: 1px solid rgba(87, 213, 192, 0.24);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 10px;
  margin: 0;
  overflow: hidden;
  padding: 10px;
}

.game-release-lightbox-frame img {
  display: block;
  max-height: min(76vh, 760px);
  object-fit: contain;
  width: 100%;
}

.game-release-lightbox-frame figcaption {
  color: #d8e3e1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  padding: 0 4px 2px;
}

.game-release-lightbox-close,
.game-release-lightbox-nav {
  align-items: center;
  background: rgba(23, 33, 36, 0.92);
  border: 1px solid rgba(87, 213, 192, 0.26);
  border-radius: 999px;
  color: #f5fffc;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.game-release-lightbox-close {
  position: fixed;
  right: 22px;
  top: 22px;
}

.game-release-lightbox-close:hover,
.game-release-lightbox-nav:hover {
  background: rgba(42, 90, 83, 0.94);
}

.game-release-lightbox-close:focus-visible,
.game-release-lightbox-nav:focus-visible {
  background: rgba(42, 90, 83, 0.94);
  outline: 3px solid rgba(96, 215, 201, 0.82);
  outline-offset: 4px;
}

.is-release-gallery-open {
  overflow: hidden;
}

.is-release-gallery-open main {
  z-index: 130;
}

.is-release-gallery-open .topbar {
  pointer-events: none;
}

/* Wave356: add Byrut-like main-column related games before comments without copying ads. */
.game-release-main-related {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 26px;
}

.game-release-main-related-head {
  align-items: start;
  display: grid;
  gap: 8px;
}

.game-release-main-related-head h2 {
  color: #f3f3f5;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  padding-left: 12px;
  position: relative;
}

.game-release-main-related-head h2::before {
  background: #ff3838;
  border-radius: 999px;
  bottom: 3px;
  content: "";
  left: 0;
  position: absolute;
  top: 3px;
  width: 4px;
}

.game-release-main-related-curator {
  align-items: center;
  color: rgba(226, 235, 230, 0.72);
  display: grid;
  gap: 2px 9px;
  grid-template-columns: 34px minmax(0, 1fr);
  line-height: 1.15;
  min-width: 0;
}

.game-release-main-related-curator span {
  align-items: center;
  background: #0f7f63;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 950;
  grid-row: span 2;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.game-release-main-related-curator strong {
  color: #f1f4f3;
  font-size: 15px;
  font-weight: 950;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-release-main-related-curator small {
  color: rgba(226, 235, 230, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.game-release-main-related-rail {
  display: grid;
  gap: 16px;
  grid-auto-columns: 142px;
  grid-auto-flow: column;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 3px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.game-release-main-related-rail::-webkit-scrollbar {
  display: none;
}

.game-release-main-related-card {
  color: #f2f2f5;
  display: grid;
  gap: 9px;
  min-width: 0;
  scroll-snap-align: start;
  text-decoration: none;
}

.game-release-main-related-poster {
  aspect-ratio: 142 / 200;
  background: #090b0d;
  border-radius: 7px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  display: block;
  overflow: hidden;
  position: relative;
}

.game-release-main-related-poster picture,
.game-release-main-related-poster img {
  display: block;
  height: 100%;
  width: 100%;
}

.game-release-main-related-poster img {
  object-fit: cover;
  transition:
    filter 160ms ease,
    transform 180ms ease;
}

.game-release-main-related-card:hover img,
.game-release-main-related-card:focus-visible img {
  filter: saturate(1.08) brightness(1.08);
  transform: scale(1.025);
}

.game-release-main-related-score,
.game-release-main-related-year {
  align-items: center;
  bottom: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  min-height: 23px;
  padding: 0 7px;
  position: absolute;
}

.game-release-main-related-score {
  background: #65bd31;
  border-radius: 5px 0 0 5px;
  bottom: 31px;
  right: 0;
}

.game-release-main-related-year {
  background: rgba(0, 0, 0, 0.72);
  border-radius: 0 5px 5px 0;
  right: 0;
}

.game-release-main-related-card strong {
  color: #f2f2f4;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.18;
  min-height: 36px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-release-main-related-card:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 4px;
}

.game-release-main-related-controls {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.game-release-main-related-dots {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 7px;
  min-height: 27px;
  padding: 0 9px;
}

.game-release-main-related-dots span {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: block;
  height: 11px;
  width: 11px;
}

.game-release-main-related-dots .is-active {
  background: #f2f2f5;
  width: 24px;
}

.game-release-main-related-arrow {
  color: rgba(226, 235, 230, 0.58);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 620px) {
  .game-release-main-related {
    padding-top: 20px;
  }

  .game-release-main-related-head h2 {
    font-size: 22px;
  }

  .game-release-main-related-rail {
    grid-auto-columns: minmax(128px, 42vw);
    gap: 12px;
  }
}

.game-release-mobile-sidecar {
  background:
    linear-gradient(180deg, rgba(55, 80, 77, 0.24), rgba(18, 22, 25, 0) 118px),
    #111518;
  border: 1px solid rgba(87, 213, 192, 0.16);
  border-radius: 8px;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.game-release-mobile-sidecar-head p {
  color: rgba(226, 235, 230, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}

.game-release-mobile-sidecar dt {
  color: #8ea4a2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-release-mobile-sidecar dd {
  color: #e1e7e6;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.game-release-mobile-sidecar-related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-release-sidecar {
  align-self: stretch;
  min-width: 0;
}

/* Wave336: put Byrut-like navigation first in the article right rail. */
.game-release-reference-nav-panel {
  background:
    linear-gradient(180deg, rgba(55, 80, 77, 0.22), rgba(18, 22, 25, 0) 130px),
    rgba(24, 24, 27, 0.86);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 20px 16px;
}

.game-release-reference-nav-panel h2 {
  color: rgb(250, 250, 250);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 19px;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.game-release-reference-nav-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.game-release-reference-nav-list a {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.18);
  color: rgb(212, 212, 216);
  display: flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  height: 42px;
  letter-spacing: 0.2px;
  line-height: normal;
  min-height: 42px;
  min-width: 0;
  padding: 10px 13px;
  text-decoration: none;
}

.game-release-reference-nav-list .portal-nav-icon {
  color: rgba(242, 245, 241, 0.58);
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.game-release-reference-nav-list a:hover,
.game-release-reference-nav-list a:focus-visible {
  background: rgba(96, 215, 201, 0.1);
  border-color: rgba(96, 215, 201, 0.22);
  color: var(--cyan);
  outline: 0;
}

@media (min-width: 721px) {
  body:has(.game-release-reference-shell) .game-release-sidecar {
    margin-top: 0;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-sticky {
    max-height: calc(100vh - 38px);
    top: 38px;
  }
}

@media (max-width: 720px) {
  .game-release-reference-nav-panel {
    display: none;
  }
}

.game-release-sidecar-sticky {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 4px;
  position: sticky;
  scrollbar-width: thin;
  top: 96px;
}

.game-release-sidecar-panel {
  background:
    linear-gradient(180deg, rgba(55, 80, 77, 0.3), rgba(18, 22, 25, 0) 120px),
    #111518;
  border: 1px solid rgba(87, 213, 192, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.game-release-sidecar-primary {
  align-items: start;
  grid-template-columns: 76px minmax(0, 1fr);
}

.game-release-sidecar-cover {
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  margin: 0 auto;
  max-width: 76px;
  overflow: hidden;
  width: min(100%, 76px);
}

.game-release-sidecar-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.game-release-sidecar-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.game-release-sidecar-head span {
  color: #57d5c0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-release-sidecar-head h2 {
  color: #f2f6f5;
  font-size: 16px;
  line-height: 1.12;
  margin: 0;
}

.game-release-sidecar-summary {
  color: rgba(226, 235, 230, 0.7);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
}

.game-release-sidecar-facts {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.game-release-sidecar-facts div {
  align-content: start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 7px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 8px;
}

.game-release-sidecar dt {
  color: #8ea4a2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-release-sidecar dd {
  color: #e1e7e6;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.game-release-sidecar-download {
  align-items: center;
  background: #57b84f;
  border-radius: 7px;
  color: #f8fff6;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  text-decoration: none;
}

.game-release-sidecar-download:focus-visible,
.game-release-sidecar-nav a:focus-visible,
.game-release-sidecar-genre-list a:focus-visible,
.game-release-sidecar-tag:focus-visible,
.game-release-sidecar-tag-nav:focus-visible,
.game-release-sidecar .portal-side-media-row:focus-visible,
.game-release-sidecar-popular-more:focus-visible,
.game-release-sidecar-updates-more:focus-visible,
.game-release-sidecar-all:focus-visible,
.game-release-sidecar-related-item:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 2px;
}

.game-release-sidecar-nav {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-release-sidecar-nav a,
.game-release-sidecar-all {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #dce7e5;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  min-height: 36px;
  padding: 8px 9px;
  text-decoration: none;
}

.game-release-sidecar-nav a:hover,
.game-release-sidecar-all:hover,
.game-release-sidecar-related-item:hover {
  border-color: rgba(87, 213, 192, 0.32);
  color: #ffffff;
}

.game-release-sidecar-related-list {
  display: grid;
  gap: 6px;
}

/* Wave352: add Byrut-like genre rows to the article right rail without importing new materials. */
.game-release-sidecar-genres {
  gap: 12px;
  padding: 14px 12px;
}

.game-release-sidecar-genre-list {
  display: grid;
  gap: 6px;
}

.game-release-sidecar-genre-list a {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 7px;
  color: #dce7e5;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 10px;
  min-height: 36px;
  min-width: 0;
  padding: 8px 10px;
  text-decoration: none;
}

.game-release-sidecar-genre-list a:hover {
  background: rgba(96, 215, 201, 0.08);
  border-color: rgba(87, 213, 192, 0.28);
  color: #ffffff;
}

.game-release-sidecar-genre-list .portal-nav-icon {
  color: rgba(242, 245, 241, 0.48);
  flex: 0 0 18px;
  height: 18px;
  width: 18px;
}

.game-release-sidecar-genre-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wave374: extend article genre rail to Byrut's long right-column rhythm using local links only. */
body:has(.game-release-reference-shell) .game-release-sidecar-genres,
body:has(.game-release-reference-shell) .game-release-sidecar-tags {
  gap: 10px;
}

body:has(.game-release-reference-shell) .game-release-sidecar-genres .game-release-sidecar-head span,
body:has(.game-release-reference-shell) .game-release-sidecar-tags .game-release-sidecar-head span {
  display: none;
}

body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
  gap: 8px;
}

body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
  border-radius: 8px;
  font-size: 14px;
  gap: 13px;
  min-height: 42px;
  padding: 10px 13px;
}

body:has(.game-release-reference-shell) .game-release-sidecar-genre-list .portal-nav-icon {
  flex-basis: 18px;
}

/* Wave353: continue the Byrut-like article right rail with local favorite tags, not ad surfaces. */
.game-release-sidecar-tags {
  gap: 12px;
  padding: 14px 12px 15px;
}

.game-release-sidecar-tag-cloud {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 4px;
  margin-left: -2px;
  min-width: 0;
}

.game-release-sidecar-tag {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(212, 212, 216, 0.74);
  display: inline-flex;
  flex: 0 1 auto;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 6px 3px 4px;
  text-decoration: none;
}

.game-release-sidecar-tag::before {
  color: rgba(242, 245, 241, 0.36);
  content: "#";
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-right: 6px;
}

.game-release-sidecar-tag:hover,
.game-release-sidecar-tag:focus-visible {
  background: transparent;
  border-color: transparent;
  color: var(--cyan);
}

.game-release-sidecar-tag:hover::before,
.game-release-sidecar-tag:focus-visible::before {
  color: rgba(96, 215, 201, 0.66);
}

.game-release-sidecar-tag-nav {
  align-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 8px;
  color: #dce7e5;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 9px;
  justify-content: center;
  min-height: 34px;
  min-width: 0;
  padding: 7px 10px;
  text-decoration: none;
}

.game-release-sidecar-tag-nav:hover {
  background: rgba(96, 215, 201, 0.08);
  border-color: rgba(87, 213, 192, 0.28);
  color: #ffffff;
}

.game-release-sidecar-tag-nav .portal-nav-icon {
  color: rgba(242, 245, 241, 0.58);
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.game-release-sidecar-tag-nav span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wave380: move the article right rail toward Byrut's tag-pick -> popular -> comments rhythm without ad widgets. */
.game-release-sidecar-tag-pick {
  overflow: hidden;
  padding: 0;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker {
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.11), transparent 46%),
    rgba(255, 255, 255, 0.045);
  border: 0;
  border-radius: 0;
  color: #eef7f4;
  display: grid;
  gap: 9px;
  min-height: 112px;
  min-width: 0;
  padding: 15px 16px 14px;
  position: relative;
  text-decoration: none;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker::after {
  color: #79e869;
  content: "›";
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 18px;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker span {
  color: #f4f8f6;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  padding-right: 26px;
  text-transform: uppercase;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker strong {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker strong,
.game-release-sidecar-tag-pick .portal-side-tag-picker em {
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker strong::before {
  color: #83ec72;
  content: "✣";
  font-size: 14px;
  line-height: 1;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker em,
.game-release-sidecar-tag-pick .portal-side-tag-picker strong {
  color: #7be86f;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker em {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(238, 244, 242, 0.74);
  display: inline-flex;
  min-height: 21px;
  padding: 5px 9px;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker small {
  color: rgba(242, 245, 241, 0.56);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.game-release-sidecar-tag-pick .portal-side-tag-picker:hover,
.game-release-sidecar-tag-pick .portal-side-tag-picker:focus-visible {
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.15), transparent 48%),
    rgba(255, 255, 255, 0.06);
  outline: 3px solid rgba(96, 215, 201, 0.38);
  outline-offset: 2px;
}

/* Wave361: add Byrut-like popular release rows to the article right rail using local releases only. */
.game-release-sidecar-popular {
  gap: 12px;
  padding: 14px 12px 15px;
}

.game-release-sidecar-popular .portal-side-media-list {
  display: grid;
  gap: 0;
  min-width: 0;
}

.game-release-sidecar-popular .portal-side-media-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(226, 235, 230, 0.11);
  border-radius: 0;
  color: #edf4f3;
  display: grid;
  gap: 12px;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 93px;
  min-width: 0;
  padding: 9px 0;
  text-decoration: none;
}

.game-release-sidecar-popular .portal-side-media-row:first-child {
  padding-top: 0;
}

.game-release-sidecar-popular .portal-side-media-row:hover {
  background: transparent;
  border-color: rgba(96, 215, 201, 0.22);
}

.game-release-sidecar-popular .portal-side-media-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  height: 58px;
  width: 58px;
}

.game-release-sidecar-popular .portal-side-media-copy {
  gap: 5px;
}

.game-release-sidecar-popular .portal-side-media-copy strong {
  color: #f1f7f6;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.18;
}

.game-release-sidecar-popular .portal-side-media-copy small {
  color: rgba(242, 245, 241, 0.56);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.18;
}

.game-release-sidecar-popular .portal-side-release-score {
  background: rgba(235, 188, 73, 0.15);
  border-color: rgba(235, 188, 73, 0.28);
  font-size: 11px;
  height: 21px;
  min-width: 36px;
}

.game-release-sidecar-popular-more {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #dfe8e6;
  display: flex;
  font-size: 13px;
  font-weight: 950;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px 0;
  text-decoration: none;
}

.game-release-sidecar-popular-more:hover {
  color: var(--cyan);
}

/* Wave362: keep Byrut-like side density with local updates and hard-hide forbidden ad inserts. */
.portal-floating-promo-card,
.portal-floating-promo-link,
.portal-floating-promo-media,
.portal-floating-promo-dismiss,
.promo-discount,
[class*="promo-poster" i],
[class*="promo-teaser" i],
[class*="promo-widget" i],
[class*="promo-card" i],
[class*="promo-link" i],
[class*="promo-media" i],
[class*="promo-copy" i],
img[alt*="-90%" i][alt*="DLC" i],
img[alt*="-90%" i][alt*="актива" i],
img[alt*="-90%" i][alt*="BLACK MYTH" i],
img[alt*="BLACK MYTH WUKONG" i][alt*="DLC" i],
img[alt*="BLACK MYTH WUKONG" i][alt*="ПАТЧ" i],
img[alt*="ВСЕ DLC" i][alt*="ПАТЧ" i],
img[alt*="DLC" i][alt*="скид" i],
img[alt*="скид" i][alt*="актива" i],
img[alt*="premium edition" i][alt*="discount" i],
img[alt*="deluxe edition" i][alt*="discount" i],
img[alt*="Купить актива" i],
img[src*="black-myth-wukong" i][src*="sale" i],
img[src*="black-myth-wukong" i][src*="teaser" i],
img[src*="activation" i][src*="poster" i],
img[src*="marketplace" i][src*="poster" i],
img[src*="sale-teaser" i],
img[src*="discount-teaser" i],
[class*="floating-promo" i],
[class*="corner-promo" i],
[class*="sticky-promo" i],
[class*="side-promo" i],
[class*="sale-banner" i],
[class*="sale-poster" i],
[class*="sale-teaser" i],
[class*="discount-banner" i],
[class*="discount-poster" i],
[class*="discount-teaser" i],
[class*="marketplace-banner" i],
[class*="marketplace-card" i],
[class*="marketplace-poster" i],
[class*="marketplace-teaser" i],
[class*="marketplace-widget" i],
[class*="partner-banner" i],
[class*="partner-card" i],
[class*="partner-poster" i],
[class*="partner-teaser" i],
[class*="partner-widget" i],
[class*="store-banner" i],
[class*="store-card" i],
[class*="store-poster" i],
[class*="store-teaser" i],
[class*="store-widget" i],
[class*="shop-banner" i],
[class*="shop-card" i],
[class*="shop-poster" i],
[class*="shop-teaser" i],
[class*="shop-widget" i],
[class*="key-sale" i],
[class*="key-shop" i],
[class*="key-card" i],
[class*="key-poster" i],
[class*="key-banner" i],
[class*="key-widget" i],
[class*="account-sale" i],
[class*="account-shop" i],
[class*="account-card" i],
[class*="account-poster" i],
[class*="account-banner" i],
[class*="account-widget" i],
[class*="deal-banner" i],
[class*="deal-card" i],
[class*="deal-poster" i],
[class*="deal-teaser" i],
[class*="deal-widget" i],
[class*="activation-banner" i],
[class*="activation-card" i],
[class*="activation-poster" i],
[class*="activation-teaser" i],
[class*="activation-widget" i],
[class*="ad-banner" i],
[class*="ad-poster" i],
[class*="ad-teaser" i],
[class*="ad-widget" i],
[class*="ad-slot" i],
[class*="ad-card" i],
[class*="ad-network" i],
[class*="advertising" i],
[class*="advertisement" i],
[id*="adfox" i],
[id*="yandex_rtb" i],
[id*="rtb-banner" i],
[class*="rtb-banner" i],
[class*="right-rail-sale" i],
[class*="right-rail-marketplace" i],
[class*="sponsored-banner" i],
[class*="sponsored-card" i],
[class*="sponsored-widget" i],
[class*="affiliate-banner" i],
[class*="affiliate-card" i],
[class*="affiliate-widget" i],
a[rel~="sponsored"],
ins.adsbygoogle {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.game-release-sidecar-updates {
  gap: 12px;
  padding: 14px 12px 15px;
}

.game-release-sidecar-updates .portal-side-media-list {
  display: grid;
  gap: 0;
  min-width: 0;
}

.game-release-sidecar-updates .portal-side-media-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(226, 235, 230, 0.1);
  border-radius: 0;
  color: #edf4f3;
  display: grid;
  gap: 12px;
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 84px;
  min-width: 0;
  padding: 8px 0;
  text-decoration: none;
}

.game-release-sidecar-updates .portal-side-media-row:first-child {
  padding-top: 0;
}

.game-release-sidecar-updates .portal-side-media-row:hover {
  background: transparent;
  border-color: rgba(96, 215, 201, 0.2);
}

.game-release-sidecar-updates .portal-side-media-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  height: 52px;
  width: 52px;
}

.game-release-sidecar-updates .portal-side-media-copy {
  gap: 5px;
}

.game-release-sidecar-updates .portal-side-media-copy strong {
  color: #f1f7f6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
}

.game-release-sidecar-updates .portal-side-media-copy small {
  color: rgba(242, 245, 241, 0.54);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.18;
}

.game-release-sidecar-updates .portal-side-release-score {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.24);
  color: #eafffb;
  font-size: 11px;
  height: 21px;
  min-width: 36px;
}

.game-release-sidecar-updates-more {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #dfe8e6;
  display: flex;
  font-size: 13px;
  font-weight: 950;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px 0;
  text-decoration: none;
}

.game-release-sidecar-updates-more:hover {
  color: var(--cyan);
}

.game-release-sidecar-related-item {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #edf4f3;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-width: 0;
  padding: 6px;
  text-decoration: none;
}

.game-release-sidecar-related-thumb {
  aspect-ratio: 2 / 3;
  border-radius: 5px;
  display: block;
  overflow: hidden;
}

.game-release-sidecar-related-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.game-release-sidecar-related-item strong {
  font-size: 13px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

/* Wave360: extend the article right rail with local discussion activity like the reference lower rail. */
.game-release-sidecar-discussions {
  gap: 12px;
  padding: 14px 12px 16px;
}

.game-release-sidecar-discussions .portal-side-comment-list {
  display: grid;
  gap: 8px;
}

.game-release-sidecar-discussions .portal-side-comment-row {
  align-items: start;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 72px;
  min-width: 0;
  padding: 0;
  text-decoration: none;
}

.game-release-sidecar-discussions .portal-side-avatar {
  font-size: 10.5px;
  height: 24px;
  width: 24px;
}

.game-release-sidecar-discussions .portal-side-comment-meta {
  gap: 6px;
}

.game-release-sidecar-discussions .portal-side-comment-text {
  font-size: 12.5px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

.game-release-sidecar-discussions .portal-side-comment-topic {
  font-size: 11.5px;
  line-height: 1.25;
}

.game-release-view .game-release-meta,
.game-release-view .game-release-tabs,
.game-release-view .game-release-note,
.game-release-view .game-release-lower-download,
.game-release-view .game-release-requirements,
.game-release-view .game-alternatives,
.game-release-view .article-comments {
  margin-top: 0;
}

.game-release-view .game-release-meta,
.game-release-view .game-release-tabs,
.game-release-view .game-release-note,
.game-release-view .game-release-lower-download,
.game-release-view .game-release-requirements {
  max-width: none;
}

.game-release-view .article-comments {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .game-release-note {
    border-radius: 0;
    margin-inline: -1px;
    min-height: 76px;
    padding: 13px 14px;
  }

  .game-release-lower-download {
    border-radius: 0;
    margin-inline: -1px;
    padding: 11px;
  }

  .game-release-lower-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-release-lower-primary,
  .game-release-lower-secondary {
    min-height: 42px;
    width: 100%;
  }

  .game-release-lower-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 1120px) {
  .game-release-view {
    max-width: 100%;
  }

  .game-release-view > .breadcrumbs {
    max-width: calc(100vw - 32px);
  }

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

  .game-release-detail-card {
    border-left: 0;
    border-right: 0;
    padding: 0 20px 30px;
  }

  .game-release-compact-hero {
    gap: 22px;
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .game-release-poster {
    width: 190px;
  }

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

  .game-release-sidecar-sticky {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    position: static;
  }

  .game-release-sidecar-primary {
    grid-template-columns: minmax(84px, 110px) minmax(0, 1fr);
  }

  .game-release-sidecar-related {
    grid-template-columns: 1fr;
  }

  .game-release-sidecar-cover {
    grid-row: span 4;
    max-width: 110px;
  }

  .game-release-sidecar-nav,
  .game-release-sidecar-related-list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .game-release-detail-card {
    gap: 18px;
    padding: 0 14px 24px;
  }

  .game-release-compact-hero {
    align-items: start;
    gap: 10px 12px;
    grid-template-columns: minmax(92px, 112px) minmax(0, 1fr);
  }

  .game-release-poster {
    justify-self: start;
    width: min(30vw, 112px);
  }

  .game-release-hero-main {
    display: contents;
  }

  .game-release-hero-copy {
    gap: 6px;
  }

  .game-release-hero-copy h1 {
    font-size: 23px;
  }

  .game-release-language {
    font-size: 12.5px;
    line-height: 1.22;
    margin-bottom: 2px;
    padding: 5px 8px 5px 9px;
  }

  .game-release-hero-meta {
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-release-hero-meta div {
    padding-left: 8px;
  }

  .game-release-hero-meta dt {
    font-size: 10px;
  }

  .game-release-hero-meta dd {
    font-size: 12px;
  }

  .game-release-action-strip {
    grid-column: 1 / -1;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 9px;
  }

  .game-release-action-main {
    min-height: 42px;
  }

  .game-release-action-facts {
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  }

  .game-release-action-links a {
    flex: 1 1 112px;
  }

  .game-release-action-links {
    display: none;
  }

  .game-release-download-actions {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .game-release-passport {
    gap: 10px;
    padding: 12px;
  }

  .game-release-passport-head h2 {
    font-size: 15px;
  }

  .game-release-passport-head p {
    font-size: 12px;
  }

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

  .game-release-passport-status {
    display: grid;
    grid-template-columns: 1fr;
  }

  .game-release-requirements {
    border-radius: 0;
    margin-inline: -1px;
    padding: 12px;
  }

  .game-release-requirements-head h2 {
    font-size: 15px;
  }

  .game-release-requirements-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-release-main-tags {
    padding: 12px 12px 0;
  }

  .game-release-main-tags-head h2 {
    font-size: 14px;
  }

  .game-release-main-tag-list {
    gap: 7px 5px;
  }

  .game-release-main-tag-list a {
    font-size: 12px;
    min-height: 28px;
    padding: 6px 9px;
  }

  .game-release-description {
    font-size: 16px;
    line-height: 1.56;
  }

  .game-release-description-toggle:not(:checked) + .game-release-description {
    max-height: 360px;
  }

  .game-release-download-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  body:has(.game-release-reference-shell) .game-release-hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  body:has(.game-release-reference-shell) .game-release-hero-meta div {
    border-left: 0;
    display: flex;
    padding-left: 0;
  }

  body:has(.game-release-reference-shell) .game-release-download-panel {
    gap: 0;
    grid-template-columns: 1fr;
    padding: 0 0 12px;
  }

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

  .game-release-download-verify {
    display: grid;
    grid-template-columns: 1fr;
  }

  .game-release-mobile-sidecar {
    display: grid;
  }

  .game-release-trust-list {
    grid-template-columns: 1fr;
  }

  .game-release-screenshot-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .game-release-lightbox {
    padding: 12px;
  }

  .game-release-lightbox-dialog {
    grid-template-columns: 1fr;
  }

  .game-release-lightbox-nav {
    border-radius: 999px;
    height: 44px;
    justify-self: center;
    min-height: 44px;
    min-width: 52px;
    width: 52px;
  }

  .game-release-sidecar-panel {
    grid-template-columns: 1fr;
  }

  .game-release-sidecar {
    display: none;
  }

  .game-release-sidecar-facts {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }

  .game-release-mobile-sidecar-related {
    grid-template-columns: 1fr;
  }

  /* Wave368: match Byrut mobile article flow by keeping the right-rail summary off the phone viewport. */
  body:has(.game-release-reference-shell) .game-release-mobile-sidecar {
    display: none;
  }

  .game-release-sidecar-cover {
    grid-row: auto;
  }
}

/* Wave27: keep home category discovery compact while preserving every category link. */
.portal-genre-section {
  gap: 12px;
}

.portal-genre-section .portal-section-head {
  align-items: center;
  padding-bottom: 10px;
}

.portal-genre-section .portal-section-head p:not(.eyebrow) {
  max-width: 560px;
}

.portal-genre-section .portal-pill-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.portal-genre-section .portal-pill-grid a {
  grid-template-columns: 1fr;
  grid-template-rows: 60px auto;
  min-height: 106px;
}

.portal-genre-section .portal-pill-thumb {
  min-height: 60px;
}

.portal-genre-section .portal-pill-copy {
  align-content: start;
  padding: 8px;
}

.portal-genre-section .portal-pill-copy strong {
  display: -webkit-box;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.08;
  overflow: hidden;
  overflow-wrap: anywhere;
}

@media (max-width: 940px) {
  .portal-genre-section .portal-pill-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }
}

@media (max-width: 720px) {
  .portal-genre-section {
    gap: 10px;
  }

  .portal-genre-section .portal-section-head {
    align-items: start;
    gap: 10px;
    padding-bottom: 8px;
  }

  .portal-genre-section .portal-section-head p:not(.eyebrow) {
    display: none;
  }

  .portal-genre-section .portal-pill-grid {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portal-genre-section .portal-pill-grid::-webkit-scrollbar {
    display: none;
  }

  .portal-genre-section .portal-pill-grid a {
    flex: 0 0 132px;
    grid-template-columns: 1fr;
    grid-template-rows: 62px auto;
    min-height: 108px;
    scroll-snap-align: start;
  }

  .portal-genre-section .portal-pill-thumb {
    min-height: 62px;
  }
}

/* Wave34: home editorial density and shared card rhythm. */
.portal-home {
  align-items: start;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-home > .portal-hero,
.portal-home > .portal-genre-section,
.portal-home > .home-feed {
  grid-column: 1 / -1;
}

.portal-hero {
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  min-height: 360px;
  padding: clamp(16px, 2vw, 24px);
}

.portal-hero h1,
.portal-hero h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.portal-hero p:not(.eyebrow) {
  font-size: 16px;
  max-width: 620px;
}

.portal-intent-panel {
  max-width: 620px;
}

.portal-hero-board {
  gap: 10px;
  padding: 10px;
}

.portal-hero-card {
  min-height: clamp(84px, 5.8vw, 104px);
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) {
  min-width: 0;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-section-head {
  align-items: start;
  gap: 10px;
  min-height: 76px;
  padding-bottom: 10px;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-section-head p:not(.eyebrow) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-list {
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-copy {
  gap: 6px;
  padding: 10px;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card strong {
  font-size: 16px;
  line-height: 1.12;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .card-context {
  gap: 5px;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .card-type-mark {
  font-size: 10px;
  min-height: 20px;
  padding: 4px 7px;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .card-meta {
  font-size: 11px;
}

.portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card p {
  font-size: 13px;
  line-height: 1.32;
  -webkit-line-clamp: 2;
}

.portal-home > .home-feed .portal-card-list {
  gap: 12px;
}

.portal-home > .home-feed .portal-card-copy {
  padding: 12px;
}

.portal-home > .home-feed .portal-card p {
  -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
  .portal-home {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .portal-home {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .portal-hero {
    gap: 10px;
    padding: 12px;
  }

  .portal-hero h1 {
    font-size: clamp(32px, 8.6vw, 40px);
  }

  .portal-hero p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.35;
  }

  .portal-intent-panel {
    gap: 8px;
  }

  .portal-intent-grid {
    display: flex;
    gap: 7px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portal-intent-grid::-webkit-scrollbar {
    display: none;
  }

  .portal-intent-grid a {
    flex: 0 0 142px;
    min-height: 52px;
    scroll-snap-align: start;
  }

  .portal-hero-board {
    gap: 8px;
    padding: 7px;
  }

  .portal-hero-card {
    flex-basis: min(68vw, 220px);
    min-height: 105px;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) {
    gap: 10px;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-section-head {
    align-items: center;
    min-height: 0;
    padding-bottom: 8px;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-section-head p:not(.eyebrow) {
    display: none;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-list {
    display: flex;
    gap: 9px;
    grid-template-columns: none;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-list::-webkit-scrollbar {
    display: none;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card {
    flex: 0 0 min(72vw, 248px);
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    scroll-snap-align: start;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-thumb {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card-copy {
    padding: 10px;
  }

  .portal-home > .portal-section:not(.portal-genre-section):not(.home-feed) .portal-card p {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .portal-home .home-feed-list {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .portal-home .home-feed-list .portal-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 116px;
  }

  .portal-home .home-feed-list .portal-card-thumb {
    aspect-ratio: auto;
    border-radius: 8px 0 0 8px;
    height: 100%;
    min-height: 0;
  }

  .portal-home .home-feed-list .portal-card-thumb picture,
  .portal-home .home-feed-list .portal-card-thumb img {
    height: 100%;
  }

  .portal-home .home-feed-list .portal-card-copy {
    gap: 5px;
    padding: 9px;
  }

  .portal-home .home-feed-list .portal-card strong {
    font-size: 15px;
    line-height: 1.12;
    -webkit-line-clamp: 2;
  }

  .portal-home .home-feed-list .card-context {
    gap: 4px;
  }

  .portal-home .home-feed-list .card-meta {
    font-size: 10px;
  }

  .portal-home .home-feed-list .portal-card p {
    display: none;
  }
}

@media (max-width: 420px) {
  .portal-home .home-feed-list .portal-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 108px;
  }

  .portal-home .home-feed-list .portal-card-copy {
    padding: 8px;
  }
}

/* Wave46: Byrut-inspired catalog shell, kept in the e-online dark skin. */
.portal-stats-ribbon,
.portal-top-stats-ribbon,
.portal-catalog-tabs,
.portal-home-year-rail,
.portal-year-archive,
.portal-home > .portal-hero,
.portal-home-shell,
.portal-home-footer-updates {
  grid-column: 1 / -1;
}

.portal-stats-ribbon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.1), transparent 44%),
    rgba(16, 23, 26, 0.88);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.68);
  display: grid;
  gap: 5px;
  min-height: 48px;
  padding: 8px 12px;
}

.portal-top-stats-ribbon {
  display: none;
}

.portal-stats-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.portal-stats-ribbon span {
  align-items: baseline;
  display: inline-flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.portal-stats-ribbon strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

.portal-stats-ribbon p {
  color: rgba(242, 245, 241, 0.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}

.portal-catalog-tabs {
  align-items: center;
  background: rgb(24, 24, 27);
  border: 1px solid transparent;
  border-color: transparent;
  border-radius: 0 0 16px 16px;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.03),
    inset -1px 0 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  gap: 24px;
  min-height: 44px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
}

.portal-catalog-tabs::-webkit-scrollbar {
  display: none;
}

.portal-catalog-tabs a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 2px;
  color: rgb(212, 212, 216);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  gap: 4px;
  min-height: 26px;
  min-width: 101px;
  padding: 4px 0;
  text-decoration: none;
}

.portal-catalog-tabs a:hover,
.portal-catalog-tabs a:focus-visible,
.portal-catalog-tabs a.is-active {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 235, 230, 0.08);
  outline: 0;
}

.portal-catalog-tabs a.is-active {
  color: rgb(242, 245, 241);
}

.portal-home-year-rail {
  align-items: center;
  background: rgba(16, 23, 28, 0.72);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  padding: 7px 10px;
}

.portal-home-year-rail span {
  color: rgba(242, 245, 241, 0.68);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-home-year-links {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.portal-home-year-links::-webkit-scrollbar {
  display: none;
}

.portal-home-year-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 7px;
  color: var(--text);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  min-width: 38px;
  padding: 0 9px;
  text-decoration: none;
}

.portal-home-year-links a:hover,
.portal-home-year-links a:focus-visible {
  background: rgba(235, 188, 73, 0.13);
  border-color: rgba(235, 188, 73, 0.32);
  color: var(--amber);
  outline: 0;
}

.portal-home-year-links a[data-year-empty="true"] {
  border-style: dashed;
  color: rgba(242, 245, 241, 0.48);
}

.portal-year-archive {
  align-items: stretch;
  background: rgba(16, 23, 28, 0.82);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  min-width: 0;
  padding: 12px;
}

.portal-year-copy {
  align-content: center;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.portal-year-copy h2,
.portal-year-copy p {
  margin: 0;
}

.portal-year-copy h2 {
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.04;
  text-transform: uppercase;
}

.portal-year-copy p:not(.eyebrow) {
  color: rgba(242, 245, 241, 0.62);
  font-size: 13px;
  line-height: 1.3;
}

.portal-year-groups {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.portal-year-group {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 72px minmax(0, 1fr);
  min-width: 0;
}

.portal-year-group h3 {
  color: rgba(242, 245, 241, 0.7);
  font-size: 13px;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.portal-year-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.portal-year-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 7px;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  min-width: 38px;
  padding: 0 9px;
  text-decoration: none;
}

.portal-year-links a:hover,
.portal-year-links a:focus-visible,
.portal-year-links a.is-active {
  background: rgba(235, 188, 73, 0.13);
  border-color: rgba(235, 188, 73, 0.32);
  color: var(--amber);
  outline: 0;
}

.portal-year-links a.is-active {
  box-shadow: inset 0 0 0 1px rgba(235, 188, 73, 0.2);
}

.game-year-archive {
  margin: 0 0 10px;
}

.portal-year-links a[data-year-empty="true"] {
  border-style: dashed;
  color: rgba(242, 245, 241, 0.48);
}

.portal-year-links a[data-year-empty="true"]:hover,
.portal-year-links a[data-year-empty="true"]:focus-visible {
  border-color: rgba(96, 215, 201, 0.3);
  color: rgba(242, 245, 241, 0.76);
}

.portal-nav-icon {
  color: currentColor;
  flex: 0 0 auto;
  height: 18px;
  opacity: 0.78;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.portal-nav-icon * {
  fill: none;
}

.portal-catalog-tabs a:hover .portal-nav-icon,
.portal-catalog-tabs a:focus-visible .portal-nav-icon,
.portal-side-rail a:hover .portal-nav-icon,
.portal-side-rail a:focus-visible .portal-nav-icon {
  opacity: 1;
}

.portal-home-shell {
  align-items: start;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  min-width: 0;
}

.portal-home-main {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
}

body:has(.portal-home) main {
  padding-bottom: 0;
}

@media (min-width: 1101px) {
  body:has(.portal-home) .portal-top-stats-ribbon {
    align-items: center;
    background: rgba(255, 255, 255, 0.016);
    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 0 0 3px 3px;
    color: rgb(113, 113, 122);
    display: flex;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    height: 28px;
    justify-content: center;
    line-height: normal;
    margin: 0 auto 40px;
    max-width: 1130px;
    min-height: 28px;
    padding: 5px 45px 5px 18px;
    position: relative;
    width: calc(100% - 48px);
  }

  body:has(.portal-home) .portal-top-stats-ribbon .portal-stats-row {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    width: 100%;
  }

  body:has(.portal-home) .portal-top-stats-ribbon span {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    font-weight: 400;
    gap: 5px;
    line-height: normal;
    min-height: 15px;
    white-space: nowrap;
  }

  body:has(.portal-home) .portal-top-stats-ribbon strong {
    color: rgba(242, 245, 241, 0.82);
    font-size: 13px;
    font-weight: 700;
  }

  body:has(.portal-home) .portal-top-stats-base {
    color: rgba(242, 245, 241, 0.38);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
    max-width: 192px;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
  }

  body:has(.portal-home) .portal-top-stats-menu {
    align-items: center;
    color: rgb(113, 113, 122);
    display: inline-flex;
    height: 16px;
    justify-content: center;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
  }

  body:has(.portal-home) .portal-top-stats-menu .portal-nav-icon {
    height: 14px;
    opacity: 0.72;
    width: 14px;
  }

  body:has(.portal-home) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: relative;
    top: auto;
    width: calc(100% - 48px);
  }

  body:has(.portal-home) .brand {
    gap: 6px;
  }

  body:has(.portal-home) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-mark video,
  body:has(.portal-home) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-copy {
    display: block;
  }

  body:has(.portal-home) .brand-copy strong {
    font-size: 18px;
    font-weight: 950;
    max-width: 120px;
  }

  body:has(.portal-home) .brand-copy span {
    display: none;
  }

  body:has(.portal-home) .nav {
    display: none;
  }

  body:has(.portal-home) .header-actions {
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
  }

  body:has(.portal-home) .menu-icon-button {
    display: none;
  }

  body:has(.portal-home) .site-search {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.portal-home) .site-search:hover,
  body:has(.portal-home) .site-search:focus-within {
    max-width: 325px;
    width: min(325px, 38vw);
  }

  body:has(.portal-home) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.portal-home) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.portal-home) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.portal-home) .site-search .search-icon-button:hover,
  body:has(.portal-home) .site-search .search-icon-button[aria-expanded="true"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--tetris-cyan);
  }

  body:has(.portal-home) .theme-icon-button,
  body:has(.portal-home) .updates-icon-button,
  body:has(.portal-home) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 32px;
    height: 32px;
    min-height: 32px;
    min-width: 32px;
    width: 32px;
  }

  body:has(.portal-home) .theme-icon-button {
    margin-left: 22px;
  }

  body:has(.portal-home) .theme-icon-button[aria-pressed="true"],
  body:has(.portal-home) .theme-icon-button:hover,
  body:has(.portal-home) .updates-icon-button:hover,
  body:has(.portal-home) .updates-icon-button[aria-expanded="true"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--text);
  }

  body:has(.portal-home) .account-icon-button,
  body:has(.portal-home) .account-icon-button:hover,
  body:has(.portal-home) .account-icon-button.is-active,
  body:has(.portal-home) .account-icon-button[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 999px;
    box-shadow: none;
  }

  body:has(.portal-home) .updates-drawer {
    right: max(24px, calc((100vw - 1130px) / 2));
    top: 136px;
  }

  body:has(.portal-home) .search-drawer {
    right: max(24px, calc((100vw - 1130px) / 2));
    top: 136px;
  }

  body:has(.portal-home) .menu-drawer {
    right: max(24px, calc((100vw - 1130px) / 2));
    top: 136px;
  }

  body:has(.portal-home) .auth-drawer {
    right: max(24px, calc((100vw - 1130px) / 2));
    top: 136px;
  }

  body:has(.portal-home) main {
    margin-top: -42px;
    max-width: 1214px;
  }

  body:has(.portal-home) .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-sizing: border-box;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    gap: 24px;
    height: 44px;
    margin-bottom: 13px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1130px;
    min-height: 44px;
    padding: 0 16px;
    transform: translateY(18px);
    width: 1130px;
  }

  body:has(.portal-home) .portal-catalog-tabs a {
    border-radius: 2px;
    color: rgb(212, 212, 216);
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    gap: 4px;
    height: 26px;
    justify-content: center;
    line-height: normal;
    min-height: 26px;
    min-width: 101px;
    padding: 4px 0;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/news"] {
    min-width: 130px;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/top-torrent-games/"] {
    min-width: 89px;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/collections"] {
    gap: 8px;
    min-width: 126px;
  }

  body:has(.portal-home) .portal-catalog-tab-year::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    height: 0;
    margin-left: -2px;
    opacity: 0.7;
    width: 0;
  }

  body:has(.portal-home) .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
    display: block;
    height: 16px;
    opacity: 0.92;
    width: 16px;
  }

  body:has(.portal-home) .portal-home-shell {
    align-items: stretch;
    gap: 12px;
    grid-template-columns: minmax(0, 822px) minmax(260px, 296px);
  }

  body:has(.portal-home) .portal-side-rail {
    align-self: stretch;
    height: auto;
    max-height: none;
    min-height: 100%;
    overflow-y: visible;
    position: static;
    top: auto;
  }

  body:has(.portal-home) .portal-home-main {
    align-content: start;
    gap: 12px;
    isolation: isolate;
    min-height: 5982px;
    position: relative;
  }

  body:has(.portal-home) .portal-home-main::before {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    content: "";
    inset: -7px -4px 0 4px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }

  body:has(.portal-home) .portal-release-shelf,
  body:has(.portal-home) .portal-game-grid-section {
    margin-left: 28px;
    width: 776px;
  }

  body:has(.portal-home) .portal-game-grid-section {
    gap: 17px;
  }

  body:has(.portal-home) .portal-seo-faq {
    margin-left: 28px;
    width: 776px;
  }

  body:has(.portal-home) .portal-release-shelf {
    align-content: start;
    gap: 10px;
    margin-top: 16px;
    min-height: 356px;
    padding: 0 0 8px;
  }

  body:has(.portal-home) .portal-release-shelf.portal-popular-showcase {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    isolation: isolate;
    overflow: visible;
    position: relative;
    z-index: 0;
  }

  body:has(.portal-home) .portal-release-shelf.portal-popular-showcase::before {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    content: none;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }

  body:has(.portal-home) .portal-game-grid {
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
    padding-left: 0;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card {
    background: transparent;
    border-color: transparent;
    border-radius: 2px;
    box-shadow: none;
    height: 302px;
    overflow: visible;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card > a {
    gap: 8px;
    padding: 0;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card .feed-thumb {
    aspect-ratio: auto;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: none;
    height: 248px;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  body:has(.portal-home) .portal-game-grid .feed-copy {
    gap: 2px;
  }

  body:has(.portal-home) .portal-game-grid .card-context {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid .card-type-mark,
  body:has(.portal-home) .portal-game-grid .game-release-card-meta,
  body:has(.portal-home) .portal-game-grid .game-release-card-stats {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-badges {
    align-items: end;
    bottom: 8px;
    display: grid;
    gap: 5px;
    justify-items: end;
    pointer-events: none;
    position: absolute;
    right: 1px;
    z-index: 2;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score,
  body:has(.portal-home) .portal-game-grid .game-release-home-year {
    align-items: center;
    border-radius: 4px 0 0 4px;
    color: #fff;
    display: inline-flex;
    font-weight: 500;
    height: 20px;
    justify-content: center;
    line-height: normal;
    min-height: 20px;
    min-width: 36px;
    padding: 0;
    width: 36px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score {
    background: #46a819;
    font-size: 13px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score.is-mid {
    background: #46a819;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score.is-low {
    background: #f5c518;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-year {
    background: rgba(0, 0, 0, 0.6);
    font-size: 11.52px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats {
    align-items: center;
    color: rgba(242, 245, 241, 0.62);
    display: flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: space-between;
    line-height: 1;
    min-height: 16px;
    width: 100%;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-status,
  body:has(.portal-home) .portal-game-grid .game-release-home-downloads {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-status {
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 4px;
    box-sizing: border-box;
    color: rgba(242, 245, 241, 0.55);
    font-size: 10px;
    font-weight: 900;
    height: 16px;
    letter-spacing: 0;
    min-height: 16px;
    padding: 0 5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats .game-release-home-status .portal-nav-icon {
    color: rgba(242, 245, 241, 0.5);
    height: 12px;
    opacity: 0.74;
    width: 12px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-downloads {
    margin-left: auto;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats .portal-nav-icon {
    color: rgba(242, 245, 241, 0.58);
    height: 13px;
    opacity: 0.8;
    width: 13px;
  }

  body:has(.portal-home) .portal-game-grid .card-meta {
    color: rgba(242, 245, 241, 0.62);
    font-size: 11px;
    line-height: 1.15;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 20px;
    -webkit-line-clamp: 1;
  }

  body:has(.portal-home) .portal-home-pagination {
    background: rgba(24, 24, 27, 0.82);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    margin-left: 4px;
    margin-top: 76px;
    min-height: 54px;
    padding: 8px 24px;
    width: 822px;
  }

  body:has(.portal-home) .portal-seo-faq {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 206px;
    padding: 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy {
    gap: 10px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    font-size: 15px;
    line-height: 1.15;
    text-transform: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns {
    gap: 8px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    font-size: 14px;
    line-height: 1.45;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list {
    gap: 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list h3 {
    display: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list details {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list summary {
    min-height: 30px;
    padding: 7px 34px 7px 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list details p {
    padding: 8px 0 10px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list details[open] p {
    display: none;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head {
    border-bottom: 0;
    display: block;
    padding-bottom: 0;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head h2 {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head p {
    font-size: 14px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head > a {
    display: none;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-genres,
  body:has(.portal-home) .portal-release-rail .portal-release-status {
    display: none;
  }

  body:has(.portal-home) .portal-popular-showcase .portal-section-head > div {
    display: block;
  }

  body:has(.portal-home) .portal-popular-showcase .portal-section-head p {
    line-height: 1.18;
    margin: 4px 0 0;
  }

  body:has(.portal-home) .portal-popular-tabs {
    flex-wrap: nowrap;
    gap: 7px;
  }

  body:has(.portal-home) .portal-popular-tabs a {
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    min-width: 185px;
  }

  body:has(.portal-home) .portal-release-rail {
    gap: 16px;
    grid-auto-columns: 142px;
    padding-bottom: 0;
  }

  body:has(.portal-home) .portal-release-rail .game-new-card {
    min-width: 142px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 0;
    height: 252px;
    overflow: hidden;
    padding: 0;
  }

  body:has(.portal-home) .portal-release-rail .game-new-poster {
    aspect-ratio: auto;
    border-radius: 2px;
    height: 200px;
    width: 140px;
  }

  body:has(.portal-home) .portal-popular-card strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 10px;
    min-height: 20px;
  }

  body:has(.portal-home) .portal-popular-card small {
    color: rgba(242, 245, 241, 0.56);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
  }

  body:has(.portal-home) .portal-popular-controls {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 22px;
    padding-top: 0;
    width: max-content;
  }

  body:has(.portal-home) .portal-game-grid-section .eyebrow {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head {
    border-bottom: 0;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head > a {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.15;
    margin-top: 2px;
  }

  body:has(.portal-home) .portal-popular-dots {
    margin-right: 16px;
    min-height: 27px;
    order: 1;
    padding: 8px;
    width: 140px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot] {
    height: 11px;
    min-height: 11px;
    min-width: 11px;
    width: 11px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot].is-active {
    width: 22px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot]:nth-of-type(n + 8) {
    display: none;
  }

  body:has(.portal-home) .portal-popular-arrow {
    flex: 0 0 27px;
    font-size: 18px;
    height: 27px;
    min-height: 27px;
    min-width: 27px;
    order: 2;
    width: 27px;
  }

  body:has(.portal-home) .portal-popular-arrow[data-game-new-next] {
    order: 3;
  }

  body:has(.portal-home) .portal-side-rail {
    align-content: start;
    align-self: stretch;
    background: transparent;
    border: 0;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    gap: 5px;
    height: auto;
    max-height: none;
    min-height: 100%;
    overflow-y: visible;
    padding-right: 0;
    position: relative;
    top: auto;
    transform: translate(4px, -8px);
  }

  body:has(.portal-home) .portal-side-rail::before {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    content: "";
    height: 1250px;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 296px;
    z-index: 0;
  }

  body:has(.portal-home) .portal-side-rail > section {
    position: relative;
    z-index: 1;
  }

  body:has(.portal-home) .portal-side-rail section:first-child {
    align-content: start;
    background: transparent;
    border: 0;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    font-size: 14px;
    gap: 8px;
    line-height: normal;
    margin-left: 15px;
    margin-top: 22px;
    min-width: 0;
    padding: 0;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:first-child h2 {
    color: rgb(250, 250, 250);
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 19px;
    line-height: 19px;
    margin: 0;
  }

  body:has(.portal-home) .portal-side-rail h2 {
    margin-left: 0;
  }

  body:has(.portal-home) .portal-side-summary {
    display: none;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    letter-spacing: 0.4px;
    line-height: normal;
    min-height: 42px;
    padding: 10px 13px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    margin-left: -3px;
    margin-right: 0;
    min-width: 0;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    color: var(--cyan);
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags {
    margin-top: 11px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(:first-child) {
    align-content: start;
    background: transparent;
    border: 0;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    gap: 8px;
    margin-left: 15px;
    margin-top: 15px;
    min-width: 0;
    padding: 16px 0 0;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    height: 42px;
    min-height: 42px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 3px;
  }

  body:has(.portal-home) .portal-side-rail section.portal-side-tags:not(.portal-side-widget):not(:first-child) {
    gap: 14px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(:first-child) h2 {
    color: rgb(250, 250, 250);
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 19px;
    line-height: 19px;
    margin: 0;
  }

  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    height: 42px;
    letter-spacing: 0.4px;
    line-height: normal;
    margin-left: -3px;
    margin-right: 0;
    min-height: 42px;
    padding: 10px 13px;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    color: var(--cyan);
  }

  body:has(.portal-home) .portal-side-widget {
    box-sizing: border-box;
    max-width: 296px;
    width: 296px;
  }

  body:has(.portal-home) .portal-side-tag-cloud {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
    margin-left: -9px;
    width: 282px;
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    color: rgb(161, 161, 170);
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 500;
    height: 28px;
    line-height: 1;
    min-height: 28px;
    padding: 5px 16px 5px 12px;
    width: auto;
  }

  body:has(.portal-home) .portal-side-tag-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow: none;
    color: rgb(212, 212, 216);
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 14px;
    height: 37px;
    justify-content: center;
    margin-left: -13px;
    margin-top: 39px;
    min-height: 37px;
    padding: 10px 16px;
    width: 296px;
  }

  body:has(.portal-home) .portal-side-tag-nav:hover,
  body:has(.portal-home) .portal-side-tag-nav:focus-visible {
    background: rgba(96, 215, 201, 0.11);
    border-color: rgba(96, 215, 201, 0.24);
    color: var(--cyan);
  }

  body:has(.portal-home) .portal-side-tag-picker {
    align-content: initial;
    align-items: initial;
    background: linear-gradient(135deg, rgba(96, 215, 201, 0.14), rgba(235, 188, 73, 0.12));
    border-color: rgba(96, 215, 201, 0.2);
    display: grid;
    gap: 0;
    height: 121px;
    margin-left: -13px;
    margin-bottom: 13px;
    margin-top: 16px;
    min-height: 121px;
    padding: 0 14px;
    position: relative;
    width: 296px;
  }

  body:has(.portal-home) .portal-side-tag-picker span {
    color: rgba(242, 245, 241, 0.72);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    left: 14px;
    line-height: 1.5;
    position: absolute;
    right: 14px;
    text-transform: uppercase;
    top: 19px;
  }

  body:has(.portal-home) .portal-side-tag-picker strong {
    align-items: center;
    color: var(--text);
    display: flex;
    font-size: 19px;
    gap: 6px;
    line-height: 1.06;
    left: 14px;
    position: absolute;
    right: 14px;
    top: 48px;
    white-space: nowrap;
  }

  body:has(.portal-home) .portal-side-tag-picker em {
    color: var(--accent-strong);
    font-style: normal;
  }

  body:has(.portal-home) .portal-side-tag-picker small {
    color: rgba(242, 245, 241, 0.62);
    font-size: 12px;
    font-weight: 900;
    left: 14px;
    line-height: 1.25;
    position: absolute;
    right: 14px;
    top: 86px;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-list {
    gap: 8px;
    margin-left: -7px;
    width: 284px;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-row {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(226, 235, 230, 0.065);
    gap: 10px;
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 88px;
    padding: 10px;
    width: 284px;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-thumb {
    aspect-ratio: auto;
    border-radius: 6px;
    height: 68px;
    width: 66px;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-copy {
    gap: 6px;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-copy strong {
    font-size: 13.5px;
    line-height: 1.18;
  }

  body:has(.portal-home) .portal-side-popular .portal-side-media-copy small {
    font-size: 12px;
    line-height: 1.25;
  }

  body:has(.portal-home) .portal-side-popular-more {
    height: 36px;
    margin-left: -13px;
    margin-top: 10px;
    width: 296px;
  }

  /* Wave296: align the home discussion rail with Byrut's current sidebar rhythm. */
  body:has(.portal-home) .portal-side-comments {
    margin-top: -33px;
    padding-bottom: 15px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-list {
    gap: 8px;
    margin-left: 3px;
    margin-top: 12px;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-row {
    background: transparent;
    border-color: transparent;
    gap: 8px;
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 88px;
    padding: 0;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-avatar {
    font-size: 10.5px;
    height: 24px;
    width: 24px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-copy {
    gap: 4px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-meta {
    min-height: 15px;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-text {
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  body:has(.portal-home) .portal-side-comments .portal-side-comment-topic {
    font-size: 12px;
    line-height: 1.1;
  }

  body:has(.portal-home) .portal-side-team {
    gap: 10px;
    height: 303px;
    margin-top: 20px;
    overflow: hidden;
    padding: 20px 8px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-list {
    gap: 12px;
    margin-left: 0;
    margin-top: 14px;
    width: 280px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row {
    background: transparent;
    border-color: transparent;
    gap: 12px;
    grid-template-columns: 35px minmax(0, 1fr);
    height: 35.625px;
    min-height: 35.625px;
    padding: 0;
    width: 280px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-avatar {
    --team-avatar-bg-a: #263948;
    --team-avatar-bg-b: #111820;
    --team-avatar-face: #f0cfaa;
    --team-avatar-hair: #2a1715;
    --team-avatar-shirt: #d74740;
    --team-avatar-badge: #ff5048;
    background:
      radial-gradient(circle at 50% 32%, var(--team-avatar-face) 0 18%, transparent 19%),
      radial-gradient(circle at 50% 26%, var(--team-avatar-hair) 0 24%, transparent 25%),
      radial-gradient(ellipse at 50% 84%, var(--team-avatar-shirt) 0 39%, transparent 40%),
      radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.32), transparent 16%),
      linear-gradient(135deg, var(--team-avatar-bg-a), var(--team-avatar-bg-b));
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 0 1px rgba(0, 0, 0, 0.3);
    font-size: 10px;
    height: 35px;
    width: 35px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(2) .portal-side-team-avatar {
    --team-avatar-bg-a: #293b62;
    --team-avatar-bg-b: #151923;
    --team-avatar-hair: #101317;
    --team-avatar-shirt: #315fd0;
    --team-avatar-badge: #ef473f;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(3) .portal-side-team-avatar {
    --team-avatar-bg-a: #4a2337;
    --team-avatar-bg-b: #17141d;
    --team-avatar-hair: #251012;
    --team-avatar-shirt: #7d2f96;
    --team-avatar-badge: #ef473f;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(4) .portal-side-team-avatar {
    --team-avatar-bg-a: #1b283a;
    --team-avatar-bg-b: #0e1219;
    --team-avatar-hair: #0c0d11;
    --team-avatar-shirt: #5e47c7;
    --team-avatar-badge: #7d57ff;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(5) .portal-side-team-avatar,
  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(8) .portal-side-team-avatar {
    --team-avatar-bg-a: #1b4b49;
    --team-avatar-bg-b: #111b1d;
    --team-avatar-hair: #13201e;
    --team-avatar-shirt: #3c8b86;
    --team-avatar-badge: #8161ff;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(6) .portal-side-team-avatar,
  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(9) .portal-side-team-avatar {
    --team-avatar-bg-a: #3a2e1a;
    --team-avatar-bg-b: #17130f;
    --team-avatar-hair: #2f1d10;
    --team-avatar-shirt: #d9a236;
    --team-avatar-badge: #ef473f;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(7) .portal-side-team-avatar,
  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(10) .portal-side-team-avatar {
    --team-avatar-bg-a: #2f3347;
    --team-avatar-bg-b: #11131a;
    --team-avatar-hair: #1c1c22;
    --team-avatar-shirt: #8d5fd6;
    --team-avatar-badge: #6b6eff;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(11) .portal-side-team-avatar,
  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(12) .portal-side-team-avatar,
  body:has(.portal-home) .portal-side-team .portal-side-team-row:nth-child(13) .portal-side-team-avatar {
    --team-avatar-bg-a: #243948;
    --team-avatar-bg-b: #111820;
    --team-avatar-hair: #141b20;
    --team-avatar-shirt: #2e95b8;
    --team-avatar-badge: #ef473f;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-copy {
    gap: 2px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-initial {
    font-size: 10px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-badge {
    border-width: 2px;
    bottom: -2px;
    height: 10px;
    right: -2px;
    width: 10px;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-name {
    font-size: 14px;
    line-height: 1.1;
  }

  body:has(.portal-home) .portal-side-team .portal-side-team-status {
    font-size: 12px;
    line-height: 1.05;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5982px;
    min-height: 0;
    overflow: hidden;
  }
}

.portal-release-shelf {
  background: var(--social-surface);
  border: 1px solid var(--social-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  gap: 12px;
  padding: 14px;
}

.portal-popular-showcase {
  background: rgba(16, 23, 26, 0.96);
}

.portal-release-shelf .portal-section-head {
  align-items: start;
  min-height: 0;
  padding-bottom: 8px;
}

.portal-popular-showcase .portal-section-head > div {
  display: grid;
  gap: 5px;
}

.portal-popular-showcase h2 {
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.12;
  max-width: 640px;
  text-transform: uppercase;
}

.portal-game-grid-section h1 {
  font-family: Roboto, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.21px;
  line-height: normal;
  max-width: 640px;
  text-transform: uppercase;
  width: min(233px, 100%);
}

.portal-popular-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-popular-tabs a {
  color: var(--amber);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-popular-tabs a.is-active {
  color: var(--text);
}

body:has(.portal-home) .portal-popular-tabs a {
  color: #1f6feb;
}

body:has(.portal-home) .portal-popular-tabs a.is-active {
  color: var(--text);
}

.portal-popular-tabs a:hover,
.portal-popular-tabs a:focus-visible {
  color: var(--cyan);
  outline: 0;
}

.portal-release-rail {
  display: grid;
  gap: 9px;
  grid-auto-columns: minmax(132px, 154px);
  grid-auto-flow: column;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.portal-release-rail,
.portal-expected-strip {
  scroll-margin-top: 84px;
}

.portal-release-rail::-webkit-scrollbar {
  display: none;
}

.portal-release-rail .game-new-card {
  background: rgba(8, 13, 16, 0.72);
  min-width: 132px;
}

.portal-release-rail .portal-popular-card {
  gap: 6px;
  padding: 6px;
}

.portal-release-rail .game-new-poster {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
}

.portal-popular-card strong {
  color: var(--text);
  display: -webkit-box;
  font-size: 13.5px;
  line-height: 1.12;
  min-height: 30px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-popular-genres,
.portal-expected-genres {
  color: rgba(242, 245, 241, 0.56);
  display: -webkit-box;
  font-size: 11px;
  font-weight: 820;
  line-height: 1.18;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.portal-release-status {
  color: var(--amber);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-popular-card small {
  color: rgba(242, 245, 241, 0.6);
  font-size: 11.5px;
  font-weight: 850;
}

.portal-popular-controls {
  align-items: center;
  display: flex;
  gap: 13px;
  justify-content: center;
  padding-top: 2px;
}

.portal-popular-dots {
  align-items: center;
  background: rgba(242, 245, 241, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  min-height: 18px;
  padding: 5px 8px;
}

.portal-popular-dots [data-game-new-dot] {
  background: rgba(242, 245, 241, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  min-height: 8px;
  min-width: 8px;
  padding: 0;
  transition:
    background-color 160ms ease,
    opacity 160ms ease,
    width 160ms ease;
  width: 8px;
}

.portal-popular-dots [data-game-new-dot].is-active {
  background: var(--cyan);
  width: 20px;
}

.portal-popular-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(242, 245, 241, 0.55);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  line-height: 1;
  min-height: 26px;
  min-width: 28px;
  padding: 0;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.portal-popular-dots [data-game-new-dot]:hover,
.portal-popular-dots [data-game-new-dot]:focus-visible {
  background: var(--amber);
  outline: 0;
}

.portal-popular-arrow:hover,
.portal-popular-arrow:focus-visible {
  color: var(--text);
  outline: 0;
}

.portal-popular-arrow:disabled {
  cursor: default;
  opacity: 0.36;
}

.portal-expected-strip {
  border-top: 1px solid rgba(226, 235, 230, 0.1);
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
}

.portal-expected-head {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.portal-expected-head h3,
.portal-expected-head p {
  margin: 0;
}

.portal-expected-head h3 {
  color: var(--text);
  font-size: 15px;
  line-height: 1.12;
  text-transform: uppercase;
}

.portal-expected-head p {
  color: rgba(242, 245, 241, 0.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.portal-expected-head a {
  color: var(--amber);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-expected-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.portal-expected-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 8px;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 86px;
  min-width: 0;
  padding: 6px;
  text-decoration: none;
}

.portal-expected-card:hover,
.portal-expected-card:focus-visible {
  background: rgba(96, 215, 201, 0.08);
  border-color: rgba(96, 215, 201, 0.22);
  outline: 0;
}

.portal-expected-thumb {
  aspect-ratio: 4 / 3;
  background: #080d10;
  border-radius: 7px;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.portal-expected-thumb picture,
.portal-expected-thumb img {
  display: block;
  height: 100%;
  width: 100%;
}

.portal-expected-thumb img {
  object-fit: cover;
  object-position: center center;
}

.portal-expected-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.portal-expected-copy strong {
  color: var(--text);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.12;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-expected-genres {
  font-size: 10.5px;
  -webkit-line-clamp: 1;
}

.portal-expected-copy .portal-release-status {
  font-size: 10.5px;
}

.portal-expected-copy small {
  color: rgba(242, 245, 241, 0.58);
  font-size: 11px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-expected-meta {
  display: flex;
  gap: 4px;
  min-width: 0;
}

.portal-expected-meta span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 6px;
  color: rgba(242, 245, 241, 0.72);
  font-size: 10px;
  font-weight: 950;
  min-width: 0;
  overflow: hidden;
  padding: 2px 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-game-grid-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.portal-game-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  min-width: 0;
}

.portal-game-pinned-controls {
  display: none;
}

.portal-game-pinned-line,
.portal-game-list {
  display: contents;
  min-width: 0;
}

.portal-game-grid .game-release-card {
  background: rgba(14, 23, 27, 0.92);
  border-left-width: 0;
  border-radius: 9px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  min-width: 0;
}

.portal-game-grid .game-release-card > a {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
  padding: 7px;
}

.portal-game-grid .game-release-card .feed-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 7px;
  width: 100%;
}

.portal-game-grid .feed-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.portal-game-grid .card-context {
  gap: 4px;
  min-height: 20px;
}

.portal-game-grid .card-type-mark {
  font-size: 10px;
  min-height: 18px;
  padding: 3px 6px;
}

.portal-game-grid .card-meta {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-game-grid .game-release-card h2 {
  color: var(--text);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.12;
  margin: 0;
  min-height: 32px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-game-grid .game-release-card-meta {
  display: grid;
  font-size: 11px;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-game-grid .game-release-card-meta span,
.portal-game-grid .game-release-card-stats span {
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 3px 4px;
  text-overflow: ellipsis;
}

.portal-game-grid .game-release-card-stats {
  font-size: 11px;
  gap: 5px;
  justify-content: space-between;
}

.portal-game-grid .game-release-card p {
  display: none;
}

@media (min-width: 1101px) {
  body:has(.portal-home) .portal-game-pinned-line {
    display: grid;
    gap: 16px;
    grid-auto-columns: 182px;
    grid-auto-flow: column;
    grid-column: 1 / -1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body:has(.portal-home) .portal-game-pinned-line::-webkit-scrollbar {
    display: none;
  }

  body:has(.portal-home) .portal-game-list {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-pinned-controls {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    height: 27px;
    justify-content: center;
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-pinned-dots {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-pinned-dot,
  body:has(.portal-home) .portal-game-pinned-arrow {
    align-items: center;
    border: 0;
    color: rgba(242, 245, 241, 0.72);
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
  }

  body:has(.portal-home) .portal-game-pinned-dot {
    background: rgba(242, 245, 241, 0.24);
    border-radius: 999px;
    height: 8px;
    width: 8px;
  }

  body:has(.portal-home) .portal-game-pinned-dot.is-active,
  body:has(.portal-home) .portal-game-pinned-dot:hover,
  body:has(.portal-home) .portal-game-pinned-dot:focus-visible {
    background: rgba(242, 245, 241, 0.88);
  }

  body:has(.portal-home) .portal-game-pinned-dot.is-active {
    width: 22px;
  }

  body:has(.portal-home) .portal-game-pinned-arrow {
    font-size: 14px;
    font-weight: 900;
    height: 24px;
    width: 24px;
  }

  body:has(.portal-home) .portal-game-pinned-arrow:hover,
  body:has(.portal-home) .portal-game-pinned-arrow:focus-visible {
    color: var(--text);
    outline: 0;
  }

  body:has(.portal-home) .portal-game-pinned-arrow.is-disabled {
    opacity: 0.42;
  }
}

.portal-home-pagination {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.portal-home-pagination a,
.portal-home-pagination span {
  align-items: center;
  border-radius: 6px;
  color: rgba(242, 245, 241, 0.72);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
  text-decoration: none;
}

.portal-home-pagination a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.1);
}

.portal-home-pagination a:hover,
.portal-home-pagination a:focus-visible,
.portal-home-pagination a.is-active {
  background: var(--text);
  border-color: rgba(242, 245, 241, 0.85);
  color: var(--ink);
  outline: 0;
}

.portal-home-pagination-arrow {
  margin-left: auto;
}

.portal-seo-faq {
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.08), transparent 42%),
    rgba(16, 23, 26, 0.9);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.72fr);
  padding: 16px;
}

.portal-seo-copy,
.portal-faq-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.portal-seo-copy h2,
.portal-faq-list h3 {
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
}

.portal-seo-copy h2 {
  font-size: clamp(20px, 1.7vw, 26px);
}

.portal-faq-list h3 {
  font-size: 15px;
}

.portal-seo-columns {
  display: grid;
  gap: 10px;
}

.portal-seo-columns p {
  color: rgba(242, 245, 241, 0.7);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.55;
  margin: 0;
}

.portal-seo-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.portal-seo-stats div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
}

.portal-seo-stats dt {
  color: rgba(242, 245, 241, 0.55);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.portal-seo-stats dd {
  color: var(--amber);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-faq-list details {
  background: rgba(8, 13, 16, 0.52);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.portal-faq-list summary {
  color: #f5fff6;
  cursor: pointer;
  font-size: 13px;
  font-weight: 930;
  line-height: 1.25;
  list-style: none;
  min-height: 42px;
  padding: 12px 36px 12px 12px;
  position: relative;
}

.portal-faq-list summary::-webkit-details-marker {
  display: none;
}

.portal-faq-list summary::after {
  color: var(--cyan);
  content: "+";
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  position: absolute;
  right: 13px;
  top: 12px;
}

.portal-faq-list details[open] summary::after {
  content: "−";
}

.portal-faq-list summary:focus-visible {
  outline: 3px solid rgba(96, 215, 201, 0.72);
  outline-offset: 2px;
}

.portal-faq-list details p {
  border-top: 1px solid rgba(226, 235, 230, 0.08);
  color: rgba(242, 245, 241, 0.68);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  margin: 0;
  padding: 11px 12px 12px;
}

.portal-home-footer-updates {
  background: rgba(16, 23, 26, 0.97);
  border-top: 1px solid rgba(226, 235, 230, 0.12);
  box-sizing: border-box;
  color: var(--text);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 802px) 296px;
  height: 206px;
  justify-content: center;
  margin: -3px calc(50% - 50vw) 12px;
  min-height: 206px;
  overflow: hidden;
  padding: 12px max(75px, calc((100vw - 1130px) / 2));
  width: 100vw;
}

body:has(.portal-home) .footer {
  box-sizing: border-box;
  height: 69px;
  min-height: 69px;
  padding: 0 16px;
}

.portal-footer-update-rail {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
}

.portal-footer-update-card {
  color: var(--text);
  display: grid;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.portal-footer-update-card span {
  aspect-ratio: 3 / 4;
  background: rgba(8, 13, 16, 0.74);
  border-radius: 6px;
  display: block;
  overflow: hidden;
}

.portal-footer-update-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portal-footer-update-card strong {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-home-footer-updates .portal-footer-update-card strong {
  display: none;
}

.portal-footer-update-card:hover strong,
.portal-footer-update-card:focus-visible strong {
  color: var(--cyan);
}

.portal-footer-update-copy {
  align-content: start;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 4px;
}

.portal-footer-update-copy h2 {
  font-size: 18px;
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
}

.portal-footer-update-copy p {
  color: rgba(242, 245, 241, 0.66);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
  margin: 0;
}

.portal-footer-update-copy a {
  align-items: center;
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.84);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  margin-top: 6px;
  max-width: 148px;
  text-decoration: none;
}

.portal-footer-update-copy a:hover,
.portal-footer-update-copy a:focus-visible {
  background: rgba(96, 215, 201, 0.12);
  border-color: rgba(96, 215, 201, 0.3);
  color: var(--cyan);
  outline: 0;
}

.portal-directory-deck {
  background: rgba(16, 23, 26, 0.92);
  border: 1px solid rgba(226, 235, 230, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.portal-directory-head {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.portal-directory-head h2 {
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.portal-directory-head p:not(.eyebrow) {
  color: rgba(242, 245, 241, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.portal-directory-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.portal-directory-group {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 9px;
}

.portal-directory-articles {
  grid-column: span 1;
}

.portal-directory-group h3 {
  color: var(--text);
  font-size: 13px;
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
}

.portal-directory-links,
.portal-directory-rows {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.portal-directory-link,
.portal-directory-row {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(226, 235, 230, 0.09);
  border-radius: 7px;
  color: rgba(242, 245, 241, 0.82);
  min-width: 0;
  text-decoration: none;
}

.portal-directory-link {
  align-items: center;
  display: flex;
  font-size: 12.5px;
  font-weight: 900;
  gap: 7px;
  min-height: 32px;
  padding: 6px 8px;
}

.portal-directory-row {
  display: grid;
  gap: 3px;
  min-height: 44px;
  padding: 7px 8px;
}

.portal-directory-link:hover,
.portal-directory-link:focus-visible,
.portal-directory-row:hover,
.portal-directory-row:focus-visible {
  background: rgba(96, 215, 201, 0.08);
  border-color: rgba(96, 215, 201, 0.24);
  color: var(--text);
  outline: 0;
}

.portal-directory-link .portal-nav-icon {
  color: rgba(242, 245, 241, 0.58);
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.portal-directory-row strong,
.portal-directory-row span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.portal-directory-row strong {
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.18;
  -webkit-line-clamp: 2;
}

.portal-directory-row small {
  color: rgba(242, 245, 241, 0.55);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.16;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-directory-row span {
  color: rgba(242, 245, 241, 0.62);
  font-size: 11.5px;
  font-weight: 760;
  line-height: 1.2;
  -webkit-line-clamp: 2;
}

.portal-hero-compact {
  gap: 14px;
  grid-template-columns: minmax(220px, 0.74fr) minmax(260px, 1fr);
  min-height: 0;
  padding: clamp(14px, 2.2vw, 22px);
}

.portal-hero-compact .portal-hero-copy {
  gap: 8px;
}

.portal-hero-compact h1,
.portal-hero-compact h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  max-width: 440px;
}

.portal-hero-compact p:not(.eyebrow) {
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.32;
  max-width: 520px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-hero-compact .portal-intent-panel {
  gap: 8px;
}

.portal-hero-compact .portal-home-search {
  max-width: 440px;
}

.portal-hero-compact .portal-hero-board {
  align-self: center;
}

.portal-side-rail {
  align-self: start;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 2px;
  position: sticky;
  scrollbar-width: thin;
  top: 92px;
}

.portal-side-rail section {
  background: var(--social-surface);
  border: 1px solid var(--social-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  padding: 12px;
}

.portal-side-rail h2 {
  font-size: 16px;
  line-height: 1.1;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.portal-side-summary {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 3px;
}

.portal-side-summary span {
  background: rgba(96, 215, 201, 0.08);
  border: 1px solid rgba(96, 215, 201, 0.14);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.64);
  display: grid;
  font-size: 10.5px;
  font-weight: 900;
  gap: 2px;
  line-height: 1.05;
  min-width: 0;
  padding: 7px 6px;
  text-align: center;
  text-transform: uppercase;
}

.portal-side-summary strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side-rail a {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.88);
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 900;
  min-height: 36px;
  padding: 7px 9px;
  text-decoration: none;
}

.portal-side-rail .portal-nav-icon {
  color: rgba(242, 245, 241, 0.6);
}

.portal-side-rail a:hover,
.portal-side-rail a:focus-visible {
  background: rgba(96, 215, 201, 0.11);
  border-color: rgba(96, 215, 201, 0.24);
  outline: 0;
}

.portal-side-media-list,
.portal-side-comment-list,
.portal-side-team-list {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.portal-side-rail .portal-side-media-row,
.portal-side-rail .portal-side-comment-row,
.portal-side-rail .portal-side-team-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 235, 230, 0.08);
  display: grid;
  gap: 8px;
  justify-content: start;
  min-height: 0;
  min-width: 0;
  padding: 7px;
}

.portal-side-media-row {
  grid-template-columns: 76px minmax(0, 1fr);
}

.portal-side-media-thumb {
  aspect-ratio: 4 / 3;
  background: rgba(8, 13, 16, 0.68);
  border-radius: 7px;
  display: block;
  overflow: hidden;
}

.portal-side-media-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portal-side-media-copy,
.portal-side-comment-copy,
.portal-side-team-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.portal-side-comment-meta {
  align-items: baseline;
  display: flex;
  gap: 6px;
  min-width: 0;
}

.portal-side-media-copy strong,
.portal-side-comment-copy strong,
.portal-side-comment-copy span,
.portal-side-comment-topic {
  display: -webkit-box;
  line-height: 1.14;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.portal-side-media-copy strong,
.portal-side-comment-copy span {
  color: var(--text);
  font-size: 12.5px;
  -webkit-line-clamp: 2;
}

.portal-side-media-copy small,
.portal-side-comment-copy small {
  color: rgba(242, 245, 241, 0.54);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.08;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side-comment-meta strong {
  color: var(--amber);
  flex: 0 1 auto;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.portal-side-comment-meta small {
  flex: 0 0 auto;
}

.portal-side-comment-text {
  color: var(--text);
  font-size: 12.5px;
  -webkit-line-clamp: 2;
}

.portal-side-comment-topic {
  color: rgba(242, 245, 241, 0.58);
  font-size: 11.5px;
  font-weight: 850;
  -webkit-line-clamp: 1;
}

.portal-side-release-score {
  align-items: center;
  background: rgba(235, 188, 73, 0.14);
  border: 1px solid rgba(235, 188, 73, 0.26);
  border-radius: 999px;
  color: var(--amber);
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  line-height: 1;
  min-width: 35px;
  width: max-content;
}

.portal-side-popular-more {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.86);
  display: flex;
  font-size: 13px;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  line-height: 1;
  margin-top: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.portal-side-comment-row {
  grid-template-columns: 30px minmax(0, 1fr);
}

.portal-side-avatar {
  align-items: center;
  align-self: start;
  background: rgba(96, 215, 201, 0.12);
  border: 1px solid rgba(96, 215, 201, 0.18);
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.portal-side-avatar .portal-nav-icon {
  height: 15px;
  width: 15px;
}

.portal-side-comment-copy strong {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  -webkit-line-clamp: 1;
}

.portal-side-team-row {
  grid-template-columns: 30px minmax(0, 1fr);
}

.portal-side-team-avatar {
  align-items: center;
  align-self: center;
  background: rgba(235, 188, 73, 0.14);
  border: 1px solid rgba(235, 188, 73, 0.22);
  border-radius: 999px;
  color: var(--amber);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  overflow: visible;
  position: relative;
  width: 30px;
}

.portal-side-team-initial {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  line-height: 1;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.portal-side-team-badge {
  background: var(--team-avatar-badge, #ef473f);
  border: 2px solid var(--surface);
  border-radius: 999px;
  bottom: -2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
  height: 10px;
  position: absolute;
  right: -2px;
  width: 10px;
  z-index: 2;
}

.portal-side-team-name,
.portal-side-team-status {
  display: block;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side-team-name {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 950;
}

.portal-side-team-status {
  color: rgba(242, 245, 241, 0.58);
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .portal-home-shell {
    grid-template-columns: 1fr;
  }

  .portal-side-rail {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    position: static;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) main {
    margin-top: -10px;
    padding-top: 10px;
  }

  body:has(.portal-home) .portal-home {
    gap: 8px;
  }

  body:has(.portal-home) .portal-home-main,
  body:has(.portal-home) .portal-home-shell {
    gap: 8px;
  }

  body:has(.portal-home) .portal-home-main {
    isolation: isolate;
    position: relative;
  }

  body:has(.portal-home) .portal-home-main::before {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    content: "";
    inset: -7px -10px 0 -10px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }

  .portal-stats-ribbon {
    gap: 6px;
    padding: 8px;
  }

  .portal-stats-row {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .portal-stats-ribbon span {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 7px;
    display: grid;
    font-size: 10.5px;
    gap: 2px;
    min-width: 0;
    padding: 6px;
    text-align: center;
  }

  .portal-stats-ribbon strong {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .portal-stats-ribbon p {
    font-size: 11px;
  }

  .portal-year-archive {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .portal-year-copy h2 {
    font-size: 20px;
  }

  .portal-year-groups {
    gap: 8px;
  }

  .portal-year-group {
    align-items: start;
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .portal-year-links {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .portal-year-links a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body:has(.portal-home) .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    gap: 24px;
    height: 44px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 6px;
    min-height: 44px;
    padding: 0 16px;
    width: calc(100% + 20px);
  }

  body:has(.portal-home) .portal-home-year-rail {
    padding: 5px 7px;
  }

  body:has(.portal-home) .portal-home-year-links {
    scroll-snap-type: x proximity;
  }

  body:has(.portal-home) .portal-home-year-links a {
    font-size: 12.5px;
    height: 28px;
    min-width: 34px;
    scroll-snap-align: start;
  }

  .portal-catalog-tabs a {
    font-size: 13px;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
  }

  body:has(.portal-home) .portal-catalog-tabs a {
    border-radius: 2px;
    color: rgb(212, 212, 216);
    flex: 0 0 101px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
    height: 26px;
    justify-content: center;
    line-height: normal;
    min-height: 26px;
    min-width: 101px;
    padding: 4px 0;
    white-space: nowrap;
    width: 101px;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/news"] {
    flex-basis: 130px;
    min-width: 130px;
    width: 130px;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/top-torrent-games/"] {
    flex-basis: 89px;
    gap: 6px;
    min-width: 89px;
    width: 89px;
  }

  body:has(.portal-home) .portal-catalog-tabs a[href="/collections"] {
    display: none;
  }

  body:has(.portal-home) .portal-catalog-tabs a:hover,
  body:has(.portal-home) .portal-catalog-tabs a:focus-visible {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(226, 235, 230, 0.08);
  }

  body:has(.portal-home) .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
    display: block;
    height: 16px;
    opacity: 0.92;
    width: 16px;
  }

  .portal-catalog-tabs .portal-nav-icon {
    height: 16px;
    width: 16px;
  }

  .portal-release-shelf {
    gap: 10px;
    padding: 12px;
  }

  body:has(.portal-home) .portal-release-shelf {
    align-content: start;
    gap: 14px;
    margin-top: 19px;
    min-height: 414px;
    padding: 0 10px 11px 15px;
  }

  body:has(.portal-home) .portal-release-shelf.portal-popular-showcase {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    isolation: isolate;
    overflow: visible;
    position: relative;
    z-index: 0;
  }

  body:has(.portal-home) .portal-release-shelf.portal-popular-showcase::before {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    content: none;
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-genres,
  body:has(.portal-home) .portal-release-rail .portal-release-status {
    display: none;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head {
    border-bottom: 0;
    display: block;
    padding-bottom: 0;
  }

  body:has(.portal-home) .portal-release-shelf .portal-section-head h2 {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  body:has(.portal-home) .portal-popular-showcase .portal-section-head > div {
    display: block;
  }

  body:has(.portal-home) .portal-popular-showcase .portal-section-head p {
    font-size: 14px;
    line-height: 1.15;
    margin: 8px 0 0;
  }

  .portal-release-shelf .portal-section-head > a {
    display: none;
  }

  .portal-popular-showcase h2 {
    font-size: 18px;
  }

  body:has(.portal-home) .portal-popular-showcase h2 {
    font-size: 17px;
    line-height: 1.12;
  }

  body:has(.portal-home) .portal-game-grid-section h1 {
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head {
    border-bottom: 0;
    padding-left: 15px;
    padding-top: 5px;
  }

  body:has(.portal-home) .portal-game-grid-section .eyebrow {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head > a {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.15;
    margin-top: 4px;
  }

  body:has(.portal-home) .portal-game-grid-section {
    gap: 11px;
  }

  .portal-popular-tabs {
    gap: 7px;
  }

  body:has(.portal-home) .portal-popular-tabs {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  body:has(.portal-home) .portal-popular-tabs a {
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    min-width: 185px;
  }

  body:has(.portal-home) .portal-release-rail {
    gap: 16px;
    grid-auto-columns: 164px;
    padding-bottom: 0;
  }

  body:has(.portal-home) .portal-release-rail .game-new-card {
    min-width: 164px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 0;
    height: 284px;
    overflow: hidden;
    padding: 0;
  }

  body:has(.portal-home) .portal-release-rail .game-new-poster {
    aspect-ratio: auto;
    border-radius: 2px;
    height: 232px;
    width: 162px;
  }

  body:has(.portal-home) .portal-popular-card strong {
    font-size: 15px;
    line-height: 1.35;
    margin-top: 10px;
    min-height: 20px;
  }

  body:has(.portal-home) .portal-popular-card small {
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
  }

  body:has(.portal-home) .portal-popular-controls {
    align-items: center;
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin-top: 0;
    min-height: 27px;
    padding-top: 0;
    width: 100%;
  }

  body:has(.portal-home) .portal-popular-arrow {
    display: none;
  }

  body:has(.portal-home) .portal-popular-dots {
    gap: 6px;
    margin-right: 0;
    min-height: 27px;
    order: initial;
    padding: 8px;
    width: 327px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot] {
    height: 11px;
    min-height: 11px;
    min-width: 11px;
    width: 11px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot].is-active {
    width: 22px;
  }

  .portal-popular-tabs a {
    font-size: 12px;
  }

  .portal-release-rail {
    grid-auto-columns: minmax(150px, 162px);
  }

  .portal-release-rail .portal-popular-card {
    padding: 6px;
  }

  .portal-popular-card strong {
    font-size: 13px;
    min-height: 30px;
  }

  .portal-popular-controls {
    justify-content: start;
  }

  .portal-expected-strip {
    gap: 8px;
    padding-top: 10px;
    scroll-margin-top: 62px;
  }

  .portal-expected-head {
    align-items: start;
  }

  .portal-expected-head a {
    display: none;
  }

  .portal-expected-list {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .portal-expected-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 82px;
    padding: 5px;
  }

  .portal-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body:has(.portal-home) .portal-game-grid {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  body:has(.portal-home) .portal-game-pinned-line {
    display: grid;
    gap: 16px;
    grid-auto-columns: 155px;
    grid-auto-flow: column;
    grid-column: 1 / -1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body:has(.portal-home) .portal-game-pinned-line::-webkit-scrollbar {
    display: none;
  }

  body:has(.portal-home) .portal-game-list {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    grid-template-columns: 326px;
    justify-content: start;
    min-width: 0;
    padding-left: 15px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card {
    background: transparent;
    border-color: transparent;
    border-radius: 2px;
    box-shadow: none;
    height: 302px;
    overflow: visible;
  }

  .portal-game-grid .game-release-card > a {
    padding: 6px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card > a {
    gap: 8px;
    padding: 1px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card .feed-thumb {
    aspect-ratio: auto;
    border: 0;
    border-radius: 2px;
    box-shadow: none;
    height: 248px;
    overflow: hidden;
    position: relative;
    width: 161px;
  }

  body:has(.portal-home) .portal-game-pinned-line .game-release-card {
    width: 155px;
  }

  body:has(.portal-home) .portal-game-list .game-release-card {
    width: 326px;
  }

  body:has(.portal-home) .portal-game-pinned-line .game-release-card .feed-thumb {
    height: 246px;
    width: 153px;
  }

  body:has(.portal-home) .portal-game-list .game-release-card .feed-thumb {
    height: 246px;
    width: 324px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 20px;
    -webkit-line-clamp: 1;
  }

  body:has(.portal-home) .portal-game-grid .card-type-mark,
  body:has(.portal-home) .portal-game-grid .game-release-card-meta,
  body:has(.portal-home) .portal-game-grid .game-release-card-stats {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid .card-context {
    display: none;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-badges {
    bottom: 8px;
    display: grid;
    gap: 5px;
    justify-items: end;
    pointer-events: none;
    position: absolute;
    right: 1px;
    z-index: 2;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score,
  body:has(.portal-home) .portal-game-grid .game-release-home-year {
    align-items: center;
    border-radius: 4px 0 0 4px;
    color: #fff;
    display: inline-flex;
    font-weight: 500;
    height: 20px;
    justify-content: center;
    line-height: normal;
    min-height: 20px;
    min-width: 36px;
    padding: 0;
    width: 36px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score {
    background: #46a819;
    font-size: 13px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score.is-mid {
    background: #46a819;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-score.is-low {
    background: #f5c518;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-year {
    background: rgba(0, 0, 0, 0.6);
    font-size: 11.52px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats {
    align-items: center;
    color: rgba(242, 245, 241, 0.62);
    display: flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: space-between;
    line-height: 1;
    min-height: 16px;
    width: 100%;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-status,
  body:has(.portal-home) .portal-game-grid .game-release-home-downloads {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-status {
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 4px;
    box-sizing: border-box;
    color: rgba(242, 245, 241, 0.55);
    font-size: 10px;
    font-weight: 900;
    height: 16px;
    letter-spacing: 0;
    min-height: 16px;
    padding: 0 5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats .game-release-home-status .portal-nav-icon {
    color: rgba(242, 245, 241, 0.5);
    height: 12px;
    opacity: 0.74;
    width: 12px;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-downloads {
    margin-left: auto;
  }

  body:has(.portal-home) .portal-game-grid .game-release-home-quickstats .portal-nav-icon {
    color: rgba(242, 245, 241, 0.58);
    height: 13px;
    opacity: 0.8;
    width: 13px;
  }

  body:has(.portal-home) .portal-game-pinned-controls {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    height: 27px;
    justify-content: center;
    justify-self: center;
    min-width: 0;
    width: 326px;
  }

  body:has(.portal-home) .portal-game-pinned-dots {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    min-width: 0;
  }

  body:has(.portal-home) .portal-game-pinned-dot,
  body:has(.portal-home) .portal-game-pinned-arrow {
    align-items: center;
    border: 0;
    color: rgba(242, 245, 241, 0.72);
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
  }

  body:has(.portal-home) .portal-game-pinned-dot {
    background: rgba(242, 245, 241, 0.24);
    border-radius: 999px;
    height: 8px;
    width: 8px;
  }

  body:has(.portal-home) .portal-game-pinned-dot.is-active,
  body:has(.portal-home) .portal-game-pinned-dot:hover,
  body:has(.portal-home) .portal-game-pinned-dot:focus-visible {
    background: rgba(242, 245, 241, 0.88);
  }

  body:has(.portal-home) .portal-game-pinned-dot.is-active {
    width: 30px;
  }

  body:has(.portal-home) .portal-game-pinned-arrow {
    display: none;
  }

  body:has(.portal-home) .portal-home-pagination {
    gap: 3px;
    margin: 0 auto;
    max-width: 326px;
    overflow-x: hidden;
    padding: 2px 0 4px;
    width: 100%;
  }

  body:has(.portal-home) .portal-home-pagination a,
  body:has(.portal-home) .portal-home-pagination span {
    box-sizing: border-box;
    flex: 1 1 0;
    font-size: 12px;
    height: 32px;
    min-width: 0;
    overflow: hidden;
    padding: 0 2px;
    text-overflow: ellipsis;
  }

  body:has(.portal-home) .portal-home-pagination-arrow {
    flex: 0 0 30px;
    margin-left: 0;
  }

  body:has(.portal-home) .portal-seo-faq {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    font-size: 15px;
    text-transform: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    font-size: 13.5px;
    line-height: 1.42;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-stats,
  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list h3 {
    display: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list details {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-faq-list summary {
    min-height: 30px;
    padding: 7px 34px 7px 0;
  }

  .portal-home-footer-updates {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
    height: 230px;
    margin: 33px calc(50% - 50vw) 0;
    min-height: 230px;
    padding: 12px 24px;
    width: 100vw;
  }

  .portal-footer-update-rail {
    display: flex;
    gap: 10px;
    height: 154px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portal-footer-update-rail::-webkit-scrollbar {
    display: none;
  }

  .portal-footer-update-card {
    flex: 0 0 96px;
    scroll-snap-align: start;
  }

  .portal-footer-update-copy {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0;
  }

  .portal-footer-update-copy h2 {
    font-size: 15px;
  }

  .portal-footer-update-copy p {
    display: none;
  }

  .portal-footer-update-copy a {
    height: 32px;
    margin-top: 0;
    max-width: none;
    padding: 0 10px;
    white-space: nowrap;
  }

  body:has(.portal-home) .footer {
    height: 108.5px;
    min-height: 108.5px;
    padding: 22px 16px;
  }

  .portal-game-grid .game-release-card h2 {
    font-size: 13px;
    min-height: 30px;
  }

  .portal-game-grid .card-meta {
    display: none;
  }

  .portal-game-grid .game-release-card-meta {
    font-size: 10px;
    gap: 3px;
  }

  .portal-game-grid .game-release-card-meta span,
  .portal-game-grid .game-release-card-stats span {
    min-height: 20px;
    padding: 2px 3px;
  }

  .portal-game-grid .game-release-card-stats {
    font-size: 10px;
    gap: 4px;
  }

  .portal-seo-faq {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .portal-seo-copy h2 {
    font-size: 20px;
  }

  .portal-seo-columns p {
    font-size: 13px;
    line-height: 1.46;
  }

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

  .portal-seo-stats div {
    padding: 7px 6px;
  }

  .portal-seo-stats dd {
    font-size: 15px;
  }

  .portal-faq-list summary {
    font-size: 12.5px;
    min-height: 40px;
  }

  .portal-directory-deck {
    gap: 10px;
    padding: 12px;
  }

  .portal-directory-grid {
    grid-template-columns: 1fr;
  }

  .portal-directory-link {
    font-size: 12.5px;
    min-height: 34px;
  }

  .portal-directory-row {
    min-height: 42px;
  }

  .portal-hero-compact {
    grid-template-columns: 1fr;
    padding: 12px;
  }

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

  body:has(.portal-home) .portal-side-rail {
    display: none;
  }
}

/* Wave47: dedicated news masonry tab with Byrut-like density. */
.news-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.news-board-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(96, 215, 201, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(225, 168, 59, 0.1), transparent 38%),
    var(--social-surface);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  overflow: hidden;
  padding: clamp(14px, 2vw, 20px);
}

.news-board-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  margin: 0;
  max-width: 760px;
  text-transform: uppercase;
}

.news-board-hero p:not(.eyebrow) {
  color: rgba(242, 245, 241, 0.76);
  font-size: 15px;
  line-height: 1.34;
  margin: 8px 0 0;
  max-width: 760px;
}

.news-board-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
}

.news-board-stats div {
  background: rgba(8, 13, 16, 0.56);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  min-width: 0;
  padding: 9px 8px;
}

.news-board-stats dt {
  color: rgba(242, 245, 241, 0.58);
  font-size: 10.5px;
  font-weight: 950;
  text-transform: uppercase;
}

.news-board-stats dd {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-board-controls {
  background: rgba(16, 23, 28, 0.78);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 8px;
}

.news-board-controls .filter-tabs,
.news-board-controls .feed-filters {
  margin: 0;
}

.news-board-topline {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  min-width: 0;
}

.news-feature-card,
.news-compact-rail,
.news-board-card {
  min-width: 0;
}

.news-feature-card,
.news-compact-rail {
  background: var(--social-card);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-feature-card a,
.news-board-card a {
  color: inherit;
  display: grid;
  min-width: 0;
  text-decoration: none;
}

.news-feature-media {
  aspect-ratio: 16 / 9;
  background: rgba(8, 13, 16, 0.68);
  display: block;
  overflow: hidden;
}

.news-feature-media img,
.news-board-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.news-feature-card:hover img,
.news-board-card:hover img {
  transform: scale(1.035);
}

.news-feature-copy {
  display: grid;
  gap: 7px;
  padding: 13px 14px 15px;
}

.news-topic-tag {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-feature-card h2,
.news-board-card h2,
.news-compact-rail h2 {
  margin: 0;
}

.news-feature-card h2 {
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.05;
}

.news-feature-card p,
.news-board-card p {
  color: rgba(242, 245, 241, 0.74);
  line-height: 1.34;
  margin: 0;
}

.news-feature-card p {
  display: -webkit-box;
  font-size: 14px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-feature-card small,
.news-board-card small {
  color: rgba(242, 245, 241, 0.54);
  font-size: 12px;
  font-weight: 850;
}

.news-compact-rail {
  align-content: start;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.news-compact-rail > h2 {
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.news-compact-rail .news-board-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(226, 235, 230, 0.08);
  box-shadow: none;
}

.news-compact-rail .news-board-card a {
  gap: 8px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 7px;
}

.news-compact-rail .news-board-thumb {
  aspect-ratio: 4 / 3;
}

.news-compact-rail .news-topic-tag,
.news-compact-rail .news-board-card p {
  display: none;
}

.news-compact-rail .news-board-card h2 {
  font-size: 13px;
  min-height: 30px;
}

.news-masonry {
  display: grid;
  gap: 12px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.news-board-card {
  background: var(--social-card);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.news-board-card a {
  gap: 0;
  height: 100%;
}

.news-board-thumb {
  aspect-ratio: 16 / 10;
  background: rgba(8, 13, 16, 0.68);
  display: block;
  overflow: hidden;
}

.news-board-card.is-wide {
  grid-column: span 2;
}

.news-board-card.is-wide .news-board-thumb {
  aspect-ratio: 16 / 7;
}

.news-board-card.is-tall {
  grid-row: span 2;
}

.news-board-card.is-tall .news-board-thumb {
  aspect-ratio: 4 / 5;
}

.news-board-copy {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.news-board-card h2 {
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.12;
  min-height: 34px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-board-card p {
  display: -webkit-box;
  font-size: 13px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.news-pagination a {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 235, 230, 0.1);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
  text-decoration: none;
}

.news-pagination a.is-active,
.news-pagination a:hover,
.news-pagination a:focus-visible {
  background: rgba(96, 215, 201, 0.16);
  border-color: rgba(96, 215, 201, 0.32);
  color: var(--teal);
  outline: 0;
}

.news-empty {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .news-board-hero,
  .news-board-topline {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .news-board {
    gap: 9px;
  }

  .news-board-hero {
    gap: 10px;
    padding: 12px;
  }

  .news-board-hero h1 {
    font-size: 30px;
  }

  .news-board-hero p:not(.eyebrow) {
    font-size: 13.5px;
  }

  .news-board-stats {
    grid-template-columns: 1fr;
  }

  .news-board-controls {
    padding: 6px;
  }

  .news-board-controls .filter-tabs,
  .news-board-controls .feed-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .news-feature-copy {
    padding: 11px 12px 13px;
  }

  .news-feature-card h2 {
    font-size: 23px;
  }

  .news-compact-rail .news-board-card a {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .news-masonry {
    grid-template-columns: 1fr;
  }

  .news-board-card.is-wide,
  .news-board-card.is-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .news-board-card p {
    display: none;
  }
}

/* Wave34: live feed intro density. */
.live-shell {
  gap: 10px;
  padding: clamp(12px, 2vw, 16px);
}

.live-shell .live-head {
  align-items: end;
  gap: 4px 14px;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  padding-bottom: 8px;
}

.live-shell .live-head .eyebrow {
  grid-column: 1 / -1;
}

.live-shell .live-head h1 {
  font-size: clamp(34px, 3.8vw, 52px);
}

.live-shell .live-head p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.32;
  max-width: 640px;
}

.live-shell .feed-identity-panel {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  padding: 10px 12px;
}

.live-shell .feed-identity-copy {
  gap: 5px;
}

.live-shell .feed-identity-copy h2 {
  font-size: clamp(24px, 2.2vw, 30px);
}

.live-shell .feed-identity-copy p {
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.3;
  max-width: 720px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.live-shell .feed-identity-actions {
  gap: 6px;
}

.live-shell .feed-identity-actions a {
  min-height: 30px;
  padding: 5px 9px;
}

.live-shell .feed-identity-stats {
  align-content: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-shell .feed-identity-stats div {
  gap: 3px;
  padding: 7px;
}

.live-shell .feed-identity-stats dd {
  font-size: 15px;
}

.live-shell .feed-control-panel {
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 10px;
}

.live-shell .feed-control-copy {
  display: none;
}

.live-shell .feed-filters {
  gap: 6px;
}

.live-shell .feed-filters a {
  min-height: 30px;
  padding: 5px 9px;
}

.live-shell .live-summary {
  min-height: 32px;
  padding: 7px 10px;
}

.live-shell .feed-card > a {
  gap: 10px;
  grid-template-columns: minmax(132px, 184px) minmax(0, 1fr);
  padding: 10px;
}

.live-shell .feed-copy {
  gap: 5px;
}

.live-shell .feed-card h2 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.12;
}

.live-shell .feed-card p {
  font-size: 13px;
  line-height: 1.32;
  -webkit-line-clamp: 1;
}

@media (max-width: 720px) {
  .live-shell {
    gap: 8px;
    padding: 8px;
  }

  .live-shell .live-head {
    grid-template-columns: 1fr;
    padding-bottom: 4px;
  }

  .live-shell .live-head h1 {
    font-size: 32px;
  }

  .live-shell .live-head p:not(.eyebrow) {
    display: none;
  }

  .live-shell .feed-identity-panel {
    gap: 5px;
    grid-template-columns: 1fr;
    padding: 7px;
  }

  .live-shell .feed-identity-copy {
    gap: 3px;
  }

  .live-shell .feed-identity-copy h2 {
    font-size: 18px;
  }

  .live-shell .feed-identity-copy p {
    display: none;
  }

  .live-shell .feed-identity-actions a {
    font-size: 12px;
    min-height: 27px;
    padding: 4px 7px;
  }

  .live-shell .feed-identity-stats div {
    padding: 4px;
  }

  .live-shell .feed-identity-stats dt {
    font-size: 9px;
  }

  .live-shell .feed-identity-stats dd {
    font-size: 12px;
  }

  .live-shell .feed-control-panel {
    padding: 7px;
  }

  .live-shell .feed-filters a {
    min-height: 28px;
    padding: 4px 8px;
  }

  .live-shell .live-summary {
    min-height: 29px;
    padding: 5px 7px;
  }

  .live-shell .feed-card > a {
    gap: 8px;
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 8px;
  }

  .live-shell .feed-card h2 {
    font-size: 16px;
    line-height: 1.12;
  }

  .live-shell .feed-card p {
    display: none;
  }

  .live-shell .card-context {
    gap: 4px;
  }

  .live-shell .card-type-mark {
    font-size: 10px;
    min-height: 18px;
    padding: 3px 6px;
  }

  .live-shell .card-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Wave 41: default games landing density and release CTA hierarchy. */
.games-title:not(.games-title-directory) {
  margin-bottom: 8px;
  padding-block: clamp(12px, 1.8vw, 20px);
}

.games-title:not(.games-title-directory) h1 {
  font-size: clamp(36px, 4.2vw, 56px);
}

.game-discovery-panel {
  gap: 8px;
  margin-bottom: 8px;
}

.game-discovery-copy {
  gap: 8px;
  padding-bottom: 8px;
}

.game-discovery-copy h2 {
  font-size: clamp(20px, 1.9vw, 26px);
}

.game-discovery-search input {
  padding: 10px 12px;
}

.game-discovery-card {
  min-height: 50px;
  padding: 8px 10px;
}

.game-discovery-card strong {
  font-size: 16px;
}

.game-discovery-chips {
  gap: 6px;
}

.game-discovery-chips a {
  min-height: 30px;
  padding: 6px 10px;
}

.game-new-widget {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 8px 0 10px;
  padding: 12px;
}

.game-new-head {
  grid-column: 1;
  margin-bottom: 0;
}

.game-new-head p {
  font-size: 12px;
}

.game-new-rail {
  gap: 10px;
  grid-auto-columns: minmax(156px, 192px);
  grid-column: 1 / -1;
  padding-bottom: 2px;
}

.game-new-card {
  min-width: 156px;
  padding: 5px;
}

.game-new-controls {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin-top: 0;
}

.game-catalog-preview {
  margin-bottom: 10px;
  padding: 8px;
}

.game-catalog-preview-card {
  grid-template-columns: minmax(86px, 0.38fr) minmax(0, 1fr);
  padding: 6px;
}

@media (max-width: 720px) {
  .games-title:not(.games-title-directory) {
    margin-bottom: 6px;
    padding: 8px 10px;
  }

  .games-title:not(.games-title-directory) h1 {
    font-size: 28px;
  }

  .game-discovery-panel {
    gap: 6px;
    margin-bottom: 6px;
  }

  .game-discovery-copy {
    gap: 6px;
    padding-bottom: 6px;
  }

  .game-discovery-copy h2 {
    font-size: 20px;
  }

  .game-discovery-card {
    flex-basis: 116px;
    min-height: 42px;
    padding: 6px 8px;
  }

  .game-discovery-card strong {
    font-size: 15px;
  }

  .game-discovery-chips a {
    min-height: 30px;
    padding: 5px 9px;
  }

  .game-new-widget {
    gap: 6px 8px;
    margin: 7px 0 8px;
    padding: 10px;
  }

  .game-new-head h2 {
    font-size: 14px;
    margin-bottom: 0;
  }

  .game-new-head p {
    display: none;
  }

  .game-new-rail {
    gap: 8px;
    grid-auto-columns: minmax(142px, 154px);
    padding-bottom: 2px;
  }

  .game-new-card {
    gap: 5px;
    min-width: 142px;
    padding: 5px;
  }

  .game-new-card strong {
    font-size: 13px;
    line-height: 1.12;
  }

  .game-new-controls {
    gap: 3px;
  }

  .game-new-dots {
    display: none;
  }

  .game-catalog-preview {
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px;
  }

  .game-catalog-preview-card {
    flex-basis: 214px;
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

body:has(.portal-home) .portal-popular-dots [data-game-new-dot].is-active {
  background: var(--text);
}

@media (max-width: 360px) {
  body:has(.portal-home) .header-actions {
    gap: 4px;
    margin-left: 12px;
  }

  body:has(.portal-home) .site-search,
  body:has(.portal-home) .site-search:hover,
  body:has(.portal-home) .site-search:focus-within,
  body:has(.portal-home) .search-icon-button,
  body:has(.portal-home) .menu-icon-button,
  body:has(.portal-home) .theme-icon-button,
  body:has(.portal-home) .updates-icon-button,
  body:has(.portal-home) .account-icon-button {
    flex-basis: 40px;
    max-width: 40px;
    min-width: 40px;
    width: 40px;
  }
}

/* Wave212: align the home text rhythm with Byrut while keeping e-online data and parser output intact. */
body:has(.portal-home) .topbar,
body:has(.portal-home) .brand,
body:has(.portal-home) .header-actions,
body:has(.portal-home) .portal-release-shelf,
body:has(.portal-home) .portal-game-grid-section,
body:has(.portal-home) .portal-release-rail .game-new-card,
body:has(.portal-home) .portal-game-grid .game-release-card {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

body:has(.portal-home) .topbar {
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

body:has(.portal-home) .site-search input {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.225px;
}

body:has(.portal-home) .portal-release-rail .portal-popular-card {
  border-radius: 0;
  color: rgb(228, 228, 231);
  display: block;
  font-size: 14px;
  line-height: normal;
}

body:has(.portal-home) .portal-popular-card strong,
body:has(.portal-home) .portal-game-grid .game-release-card h2 {
  color: rgb(250, 250, 250);
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

body:has(.portal-home) .portal-popular-card small {
  color: rgb(161, 161, 170);
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

/* Wave213: finish the Byrut-like Roboto cascade for the home nav strip and right rail. */
body:has(.portal-home) .portal-catalog-tabs,
body:has(.portal-home) .portal-side-rail {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

body:has(.portal-home) .portal-catalog-tabs {
  font-size: 14px;
  line-height: normal;
}

body:has(.portal-home) .portal-side-rail {
  font-size: 14px;
  line-height: normal;
}

/* Wave214: match Byrut's rounded lower game-grid posters without changing card data. */
body:has(.portal-home) .portal-game-grid .game-release-card img {
  border-radius: 8px;
}

/* Wave215: add Byrut's soft lower game-grid poster depth without changing card data. */
body:has(.portal-home) .portal-game-grid .game-release-card img {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

/* Wave216: match Byrut's H1-to-poster rhythm in the lower home game grid. */
body:has(.portal-home) .portal-game-grid {
  margin-top: 6px;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid {
    margin-top: 7px;
  }
}

/* Wave217: align Byrut's mobile lower-grid title rhythm without moving the poster row. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid-section .portal-section-head {
    padding-top: 2px;
  }

  body:has(.portal-home) .portal-game-grid {
    margin-top: 10px;
  }
}

/* Wave218: nudge Byrut's upper release-rail rhythm without moving the lower grid. */
body:has(.portal-home) .portal-release-rail {
  transform: translateY(2px);
}

body:has(.portal-home) .portal-popular-card strong {
  margin-top: 11px;
}

/* Wave219: pull mobile release pagination toward Byrut without moving cards or the lower grid. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-popular-controls {
    transform: translateY(-13px);
  }
}

/* Wave220: align Byrut's desktop release heading rhythm while preserving poster flow. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf .portal-section-head {
    transform: translateY(-3px);
  }
}

/* Wave221: align Byrut's desktop release pagination while preserving shelf flow. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-popular-controls {
    transform: translateY(5px);
  }
}

/* Wave222: balance Byrut's mobile release pagination after the desktop controls pass. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-popular-controls {
    transform: translateY(2px);
  }
}

/* Wave223: lift Byrut's desktop lower game-grid rhythm without touching mobile. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid-section {
    transform: translateY(-4px);
  }
}

/* Wave224: lift Byrut's desktop release shelf while preserving mobile rhythm. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf {
    transform: translateY(-3px);
  }
}

/* Wave225: fold the lower SEO bridge into Byrut's blank main panel rhythm. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5894px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5894px;
  }

  body:has(.portal-home) .portal-home-cat-overflow {
    border: 0;
    height: 0;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    height: 185px;
    max-height: 185px;
    min-height: 185px;
    overflow: hidden;
    pointer-events: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }
}

/* Wave227: align the empty home footer slot with Byrut's current live footer depth. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-footer-updates {
    background: transparent;
    border-top: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: block;
    height: 206px;
    margin: 66px 0 12px 14px;
    min-height: 206px;
    overflow: hidden;
    padding: 10px 14px;
    width: 802px;
  }

  body:has(.portal-home) .portal-home-footer-updates > * {
    display: none;
  }

  body:has(.portal-home) .footer {
    background: rgb(30, 30, 30);
    color: rgb(43, 43, 43);
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: normal;
    padding: 25px 0;
    text-align: center;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-footer-updates {
    background: transparent;
    border-top: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: block;
    height: 206px;
    margin: 173px 0 12px;
    min-height: 206px;
    overflow: hidden;
    padding: 10px 14px;
    width: calc(100vw - 20px);
  }

  body:has(.portal-home) .portal-home-footer-updates > * {
    display: none;
  }

  body:has(.portal-home) .footer {
    background: rgb(30, 30, 30);
    color: rgb(43, 43, 43);
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: normal;
    text-align: center;
  }
}

body:has(.portal-home) .footer a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

/* Wave229: restore Byrut-like desktop catalog copy inside the existing blank main panel. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    background: transparent;
    border: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: block;
    height: 116px;
    max-height: 116px;
    min-height: 116px;
    overflow: hidden;
    padding: 10px 0 0;
    pointer-events: auto;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-seo-copy {
    display: grid;
    gap: 8px;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-faq-list {
    display: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    color: rgba(242, 245, 241, 0.88);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns {
    display: grid;
    gap: 6px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    color: rgba(242, 245, 241, 0.58);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
  }
}

/* Wave230: realign the transparent desktop footer slot after restoring the catalog copy. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-footer-updates {
    margin: -21px 0 12px 14px;
  }
}

/* Wave234: match Byrut's upper carousel poster height without changing shelf data or controls. */
body:has(.portal-home) .portal-release-rail .game-new-poster {
  height: 202px;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-rail .game-new-poster {
    height: 234px;
  }
}

/* Wave235: rebalance the desktop lower grid after the upper poster depth pass. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid-section {
    transform: translateY(0);
  }
}

/* Wave236: align Byrut's desktop upper carousel pagination without moving cards. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translateY(8px);
  }
}

/* Wave237: align Byrut's desktop upper release rail while keeping pagination fixed. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-rail {
    transform: translateY(4px);
  }
}

/* Wave257: restore Byrut's compact mobile catalog copy depth. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    height: 185px;
    max-height: 185px;
    min-height: 185px;
    overflow: hidden;
    padding: 10px 24px 0;
    pointer-events: auto;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-seo-copy {
    display: grid;
    gap: 6px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    color: rgba(242, 245, 241, 0.9);
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-transform: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns {
    display: grid;
    gap: 5px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    color: rgba(242, 245, 241, 0.58);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    max-height: 64px;
    overflow: hidden;
  }
}

/* Wave239: realign desktop depth to Byrut's current shorter reference. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 3076px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 3076px;
  }
}

/* Wave240: restore Byrut-like visible lower updates copy inside the fixed footer slot. */
body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
  display: none;
}

body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-copy {
  align-content: start;
  align-items: start;
  color: rgba(242, 245, 241, 0.72);
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  min-width: 0;
  padding: 0;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy h2 {
  color: rgba(242, 245, 241, 0.86);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-transform: none;
  width: 100%;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy p {
  color: rgba(242, 245, 241, 0.58);
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.42;
  margin: 0;
  max-width: 620px;
  width: 100%;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(96, 215, 201, 0.86);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: auto;
  justify-content: flex-start;
  justify-self: start;
  margin-top: 2px;
  max-width: max-content;
  min-height: 0;
  padding: 0;
  text-decoration: none;
  width: auto;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy a:hover,
body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy a:focus-visible {
  background: transparent;
  border-color: transparent;
  color: var(--cyan);
  outline: 0;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-copy {
    gap: 5px;
  }

  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy h2 {
    font-size: 14px;
  }

  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy p,
  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy a {
    font-size: 12.5px;
  }
}

/* Wave241: restore Byrut's current long desktop homepage depth. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5894px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5894px;
  }
}

/* Wave242: bring the home desktop wordmark closer to Byrut's heavier logo. */
@media (min-width: 1101px) {
  body:has(.portal-home) .brand {
    gap: 7px;
  }

  body:has(.portal-home) .brand-copy strong {
    font-size: 19px;
    letter-spacing: 0.45px;
    line-height: 19px;
    max-width: 154px;
    text-transform: uppercase;
  }
}

/* Wave243: restore Byrut's lower updates rail while keeping local materials and long depth. */
body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
  display: flex;
  gap: 18px;
  height: 186px;
  min-width: 0;
  overflow: hidden;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card {
  display: block;
  flex: 0 0 140px;
  height: 186px;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card span {
  aspect-ratio: auto;
  border-radius: 8px;
  height: 186px;
  width: 100%;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy h2 {
  color: rgb(212, 212, 216);
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: normal;
  text-transform: uppercase;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy .portal-footer-update-more {
  display: none;
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-footer-updates {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 774px) 296px;
    padding: 10px 14px;
    width: 1120px;
  }

  body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-copy {
    gap: 12px;
    max-width: 296px;
    width: 296px;
  }

  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-copy p {
    max-width: 296px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-footer-updates {
    padding: 10px 14px;
  }

  body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail::-webkit-scrollbar {
    display: none;
  }

  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card {
    flex-basis: 162px;
    scroll-snap-align: start;
  }

body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-copy {
    display: none;
  }
}

/* Wave244: compact the home desktop wordmark to Byrut's header footprint without renaming the site. */
@media (min-width: 1101px) {
  body:has(.portal-home) .brand {
    gap: 7px;
  }

  body:has(.portal-home) .brand-copy {
    overflow: visible;
    width: 98px;
  }

  body:has(.portal-home) .brand-copy strong {
    display: block;
    max-width: none;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }
}

/* Wave247: refresh the desktop footer updates slot against Byrut's current live depth. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-footer-updates {
    margin: -3px 0 12px 14px;
  }
}

/* Wave247: keep the mobile home pagination in the visible Byrut-width rail. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-pagination {
    overflow-x: hidden;
  }

  body:has(.portal-home) .portal-home-pagination a,
  body:has(.portal-home) .portal-home-pagination span {
    flex: 1 1 0;
    min-width: 0;
  }

  body:has(.portal-home) .portal-home-pagination-arrow {
    flex-basis: 30px;
  }
}

/* Wave248: keep Byrut's card-first release shelf while preserving rail geometry. */
body:has(.portal-home) .portal-release-shelf .portal-section-head {
  pointer-events: none;
  visibility: hidden;
}

/* Wave249: restore Byrut's two-column mobile game-list density without changing feed data. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-list {
    grid-template-columns: repeat(2, 155px);
    padding-left: 15px;
  }

  body:has(.portal-home) .portal-game-list .game-release-card {
    width: 155px;
  }

  body:has(.portal-home) .portal-game-list .game-release-card .feed-thumb {
    height: 246px;
    width: 153px;
  }
}

/* Wave250: restore Byrut's visible release-shelf tabs after the live reference changed. */
body:has(.portal-home) .portal-release-shelf .portal-section-head {
  pointer-events: auto;
  visibility: visible;
}

/* Wave258: restore Byrut's current short desktop footer depth after the live reference update. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 3084px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 3084px;
  }
}

/* Wave259: restore Byrut's current tall desktop homepage depth after the live reference expanded. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5963px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5963px;
  }
}

/* Wave262: restore Byrut's current short desktop homepage depth after the live reference contracted again. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 3084px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 3084px;
  }
}

/* Wave263: restore Byrut's current tall desktop homepage depth after the live reference expanded again. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5963px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5963px;
  }
}

/* Wave266: match Byrut's current desktop footer depth while mobile already aligns. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5928px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5928px;
  }
}

/* Wave267: match Byrut's mobile lower game rail by keeping the third poster outside the first viewport. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-pinned-line {
    gap: 19px;
    grid-auto-columns: 162px;
  }

  body:has(.portal-home) .portal-game-pinned-line .game-release-card {
    width: 162px;
  }

  body:has(.portal-home) .portal-game-pinned-line .game-release-card .feed-thumb {
    width: 162px;
  }
}

/* Wave269: match Byrut's one-line home release shelf titles without changing other release widgets. */
body:has(.portal-home) .portal-release-rail .portal-popular-card strong {
  display: block;
  max-width: 100%;
  min-height: 20px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Wave270: match Byrut's lighter home right-rail list and current shorter desktop depth. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5863px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5863px;
  }
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) {
  gap: 16px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: rgb(212, 212, 216);
  gap: 13px;
  height: 28px;
  letter-spacing: 0.21px;
  margin-left: 0;
  min-height: 28px;
  padding: 2px 0;
  width: 264px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
  margin-top: 8px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:hover,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
  background: transparent;
  border: 0;
  color: var(--cyan);
}

/* Wave271: align Byrut's desktop right-rail row height and vertical rhythm. */
body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) {
  gap: 8px;
}

body:has(.portal-home) .portal-side-rail section:first-child {
  margin-top: 20px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(:first-child) {
  margin-top: 8px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a {
  border-radius: 8px;
  gap: 12px;
  height: 36px;
  min-height: 36px;
}

/* Wave272: current Byrut right-rail rows returned to soft filled buttons. */
body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.18);
  color: rgb(212, 212, 216);
  gap: 12px;
  height: 42px;
  letter-spacing: 0.4px;
  min-height: 42px;
  padding: 10px 13px;
}

body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
  margin-top: 5px;
}

body:has(.portal-home) .portal-side-rail section:not(:first-child):not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
  margin-top: 8px;
}

body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:hover,
body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
  background: rgba(96, 215, 201, 0.1);
  border-color: rgba(96, 215, 201, 0.22);
  color: var(--cyan);
}

/* Wave348: match the current Byrut flat right navigation rows without copying ad surfaces. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    color: rgb(212, 212, 216);
    gap: 13px;
    height: 36px;
    letter-spacing: 0.21px;
    margin: 0 -10px 0 -8px;
    min-height: 36px;
    padding: 7px 10px;
    transform: translateY(8px);
    width: 282px;
  }

  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type,
  body:has(.portal-home) .portal-side-rail section:not(:first-child):not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 0;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
  }

  body:has(.game-release-reference-shell) .game-release-reference-nav-panel {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  body:has(.game-release-reference-shell) .game-release-reference-nav-list a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    color: rgb(212, 212, 216);
    font-weight: 500;
    gap: 13px;
    height: 36px;
    letter-spacing: 0.21px;
    margin: 0 -10px;
    min-height: 36px;
    padding: 7px 10px;
    transform: translateY(3.5px);
    width: 282px;
  }

  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
  }
}

/* Wave273: refresh desktop home depth to the current Byrut long reference. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5928px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5928px;
  }
}

/* Wave274: match Byrut's refreshed lower-grid title weight and desktop baseline. */
body:has(.portal-home) .portal-game-grid-section h1 {
  font-weight: 700;
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid-section {
    transform: translateY(-3px);
  }
}

/* Wave275: align Byrut's desktop header/nav paint baseline without moving home content. */
@media (min-width: 721px) {
  body:has(.portal-home) .topbar {
    transform: translateY(-2px);
  }

  body:has(.portal-home) .portal-catalog-tabs {
    transform: translateY(16px);
  }
}

/* Wave276: match Byrut's current desktop upper carousel card and control baseline. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-rail {
    transform: translateY(1.5px);
  }

  body:has(.portal-home) .portal-release-rail .game-new-poster {
    height: 200.84px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translateY(5.5px);
  }
}

/* Wave277: match Byrut's live home content left edge, carousel width, controls, and mobile poster depth. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf,
  body:has(.portal-home) .portal-game-grid-section {
    margin-left: 25.06px;
    width: min(774px, calc(100% - 25.06px));
  }

  body:has(.portal-home) .portal-release-rail {
    transform: translate(-1px, 1.5px);
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translateY(5.5px);
    width: 214px;
  }

  body:has(.portal-home) .portal-popular-dots {
    margin-right: 8px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-rail .game-new-poster {
    height: 232.28px;
  }
}

/* Wave278: align Byrut's 1280px content column and lower-grid baseline. */
@media (min-width: 721px) and (max-width: 1300px) {
  body:has(.portal-home) .portal-release-shelf,
  body:has(.portal-home) .portal-game-grid-section {
    margin-left: 27.62px;
    width: min(774px, calc(100% - 27.62px));
  }
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid {
    transform: translateY(-2px);
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid {
    transform: translateY(-2.66px);
  }
}

/* Wave279: align Byrut's lower-grid poster crop inside the already aligned card box. */
body:has(.portal-home) .portal-game-grid .game-release-card .feed-thumb img {
  transform: translateY(-1px);
}

/* Wave280: match Byrut's lower-grid heading paint metrics without moving cards. */
body:has(.portal-home) .portal-game-grid-section h1 {
  transform: translateY(0.09px) scale(1.01893, 1.04545);
  transform-origin: left top;
}

body:has(.portal-home) .portal-game-grid-section .portal-section-head p:not(.eyebrow) {
  transform: translateY(4.09px) scale(1.01893, 0.99417);
  transform-origin: left top;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid-section h1 {
    transform: translate(-1px, -0.56px) scale(1.01893, 1.04545);
  }

  body:has(.portal-home) .portal-game-grid-section .portal-section-head p:not(.eyebrow) {
    transform: translate(-1px, 1.44px) scale(1.01893, 0.99417);
  }
}

/* Wave281: align Byrut's mobile upper carousel x-axis without moving lower grid. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-rail {
    transform: translate(-2px, 2px);
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translate(-2px, 2px);
  }
}

/* Wave282: match Byrut's lower-card title baseline without moving cards or images. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    transform: translateY(1px);
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    transform: translateY(2px);
  }
}

/* Wave283: match Byrut's lower-card rating/year badge baseline without moving media. */
body:has(.portal-home) .portal-game-grid .game-release-home-badges {
  transform: translateY(1px);
}

/* Wave284: refresh Byrut's current footer depth without moving the aligned cards. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-main {
    min-height: 5805px;
  }

  body:has(.portal-home) .portal-side-rail {
    height: 5805px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    height: 45.6px;
    min-height: 45.6px;
    overflow: hidden;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }
}

/* Wave285: match Byrut's current upper carousel controls width and visible dot rail. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translate(-37px, 5.5px);
    width: 140px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-arrow {
    display: none;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-dots {
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    width: 327px;
  }
}

/* Wave286: match Byrut's upper release date baseline without moving cards. */
body:has(.portal-home) .portal-release-rail .portal-popular-card small {
  display: block;
}

/* Wave287: refresh Byrut's current mobile footer depth without moving cards. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    height: 185.1px;
    min-height: 185.1px;
    overflow: hidden;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }
}

/* Wave288: align Byrut's card text and badge paint without changing parser data or page flow. */
body:has(.portal-home) .portal-release-rail .portal-popular-card strong,
body:has(.portal-home) .portal-release-rail .portal-popular-card small {
  transform: translateX(-1px);
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid .game-release-home-badges {
    transform: translate(1.5px, 1px);
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid .game-release-card .feed-thumb {
    transform: translateX(-1px);
    transform-origin: left top;
  }

  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    transform: translate(-2px, 2px);
  }
}

/* Wave289: match Byrut's release and lower-card title paint baselines without moving cards. */
body:has(.portal-home) .portal-release-rail .portal-popular-card strong {
  transform: translate(-1px, 1px);
}

body:has(.portal-home) .portal-release-rail .portal-popular-card small {
  transform: translateX(-1px);
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    transform: translateY(2px);
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-game-grid .game-release-card h2 {
    transform: translate(-2px, 3px);
  }
}

/* Wave290: match Byrut's footer update poster frame without changing local materials. */
body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
  gap: 16px;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card {
  flex-basis: 142px;
  width: 142px;
}

body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card span {
  margin-left: 1px;
  margin-top: 1px;
  width: 140px;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card {
    flex-basis: 164px;
    width: 164px;
  }

  body:has(.portal-home) .portal-home-footer-updates .portal-footer-update-card span {
    width: 162px;
  }
}

/* Wave291: match Byrut's footer update shell height without moving aligned local posters. */
body:has(.portal-home) .portal-home-footer-updates {
  margin-bottom: 0;
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-footer-updates {
    height: 230px;
    margin-top: -15px;
    min-height: 230px;
    padding-bottom: 22px;
    padding-top: 22px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-footer-updates {
    height: 230px;
    margin-top: 161px;
    min-height: 230px;
    padding-bottom: 22px;
    padding-top: 22px;
  }
}

/* Wave292: extend Byrut's footer update band to the viewport without moving aligned local posters. */
body:has(.portal-home) .portal-home-footer-updates {
  isolation: isolate;
  overflow: visible;
  position: relative;
  z-index: 0;
}

body:has(.portal-home) .portal-home-footer-updates::before {
  background: rgb(35, 35, 35);
  box-shadow: 0 0 0 100vmax rgb(35, 35, 35);
  clip-path: inset(0 -100vmax);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

/* Wave298: restore Byrut's current upper carousel arrow controls without changing carousel mechanics. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    transform: translateY(5.5px);
    width: 214px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-arrow {
    display: inline-flex;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-dots {
    margin-right: 8px;
  }
}

/* Wave303: match Byrut's lower home pagination and collapsed catalog copy rhythm. */
body:has(.portal-home) .portal-home-pagination-arrow.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

body:has(.portal-home) .portal-seo-more {
  align-items: center;
  border: 1px dashed rgba(242, 245, 241, 0.22);
  border-radius: 999px;
  color: rgba(242, 245, 241, 0.7);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 28px;
  padding: 0 18px;
  text-decoration: none;
  width: max-content;
}

body:has(.portal-home) .portal-seo-more:hover,
body:has(.portal-home) .portal-seo-more:focus-visible {
  border-color: rgba(96, 215, 201, 0.5);
  color: var(--text);
  outline: 0;
}

body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 strong {
  color: inherit;
  font: inherit;
  font-weight: 900;
}

@media (min-width: 721px) {
  body:has(.portal-home) .portal-home-cat-overflow {
    height: 190px;
    max-height: 190px;
    min-height: 190px;
    padding-top: 26px;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-seo-copy {
    display: grid;
    gap: 12px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    max-width: 760px;
    text-transform: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    display: -webkit-box;
    font-size: 15px;
    line-height: 1.45;
    max-height: 65px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-more {
    justify-self: end;
    margin-right: 10px;
    margin-top: -2px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-pagination a:nth-of-type(5),
  body:has(.portal-home) .portal-home-pagination a:nth-of-type(6),
  body:has(.portal-home) .portal-home-pagination a:nth-of-type(7) {
    display: none;
  }

  body:has(.portal-home) .portal-home-pagination a:nth-of-type(8) {
    flex: 1.35 1 0;
  }

  /* Wave308: match Byrut's compact mobile lower text block while keeping the dark palette. */
  body:has(.portal-home) .portal-home-cat-overflow {
    height: 185px;
    max-height: 185px;
    min-height: 185px;
    padding: 20px 24px 0;
    pointer-events: auto;
  }

  body:has(.portal-home) .portal-home-cat-overflow > * {
    display: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-seo-copy {
    display: grid;
    gap: 10px;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-copy h2 {
    color: rgba(242, 245, 241, 0.9);
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    max-height: 72px;
    overflow: hidden;
    text-transform: none;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-columns p {
    display: -webkit-box;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    max-height: 24px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  body:has(.portal-home) .portal-home-cat-overflow .portal-seo-more {
    font-size: 13px;
    justify-self: end;
    min-height: 26px;
    padding: 0 14px;
  }
}

/* Wave309: align Byrut's mobile lower pagination, SEO copy, and footer posters without changing page depth. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-home-pagination {
    margin-bottom: 21px;
    margin-top: 157.6px;
  }

  body:has(.portal-home) .portal-home-cat-overflow {
    height: 140px;
    max-height: 140px;
    min-height: 140px;
    padding: 4px 24px 0;
  }

  body:has(.portal-home) .portal-home-cat-overflow > .portal-seo-copy {
    gap: 8px;
  }

  body:has(.portal-home) .portal-home-footer-updates {
    margin-top: 27.4px;
  }
}

/* Wave310: mirror Byrut's desktop lower-scroll collapse so pagination, SEO, team, and footer share the final viewport. */
@media (min-width: 721px) {
  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-home-main {
    min-height: 3050px;
  }

  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-side-rail {
    height: 3050px;
    min-height: 3050px;
  }

  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-side-comments {
    height: 576px;
    max-height: 576px;
    overflow: hidden;
  }

  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-home-footer-updates {
    margin-top: -15px;
  }
}

/* Wave321: refresh Byrut's current desktop lower-scroll depth without changing mobile flow. */
@media (min-width: 721px) {
  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-home-main {
    min-height: 3136px;
  }

  html.is-home-lower-rail-collapsed body:has(.portal-home) .portal-side-rail {
    height: 3136px;
    min-height: 3136px;
  }
}

/* Wave322: refresh Byrut's current desktop depth before the lower-scroll collapse. */
@media (min-width: 721px) {
  html:not(.is-home-lower-rail-collapsed) body:has(.portal-home) .portal-home-main {
    min-height: 5893px;
  }

  html:not(.is-home-lower-rail-collapsed) body:has(.portal-home) .portal-side-rail {
    height: 5893px;
    min-height: 5893px;
  }
}

/* Wave323: align Byrut's mobile header action row without touching the compact phone fallback. */
@media (min-width: 361px) and (max-width: 720px) {
  body:has(.portal-home) .header-actions {
    margin-left: 64px;
  }
}

/* Wave324: mirror Byrut's mobile side menu sheet while preserving the e-online palette. */
@media (max-width: 720px) {
  body:has(.portal-home):has(.menu-icon-button[aria-expanded="true"]) {
    overflow-x: hidden;
  }

  body:has(.portal-home):has(.menu-icon-button[aria-expanded="true"])::after {
    background: rgba(7, 10, 12, 0.48);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 135;
  }

  body:has(.portal-home) .menu-drawer {
    background: rgba(10, 16, 18, 0.995);
    border: 0;
    border-radius: 0 12px 12px 0;
    bottom: 0;
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.44);
    gap: 12px;
    left: 0;
    max-height: none;
    padding: 20px 16px 22px;
    right: auto;
    top: 0;
    width: min(240px, calc(100vw - 78px));
    z-index: 136;
  }

  body:has(.portal-home) .menu-drawer-head {
    align-items: center;
    min-height: 24px;
  }

  body:has(.portal-home) .menu-drawer h2 {
    color: var(--text);
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body:has(.portal-home) .menu-close-button {
    background: transparent;
    border-color: transparent;
    min-height: 30px;
    padding: 5px;
    width: 30px;
  }

  body:has(.portal-home) .menu-drawer-nav,
  body:has(.portal-home) .menu-drawer-links {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  body:has(.portal-home) .menu-drawer-nav a,
  body:has(.portal-home) .menu-drawer-links a {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    color: rgba(242, 245, 241, 0.9);
    gap: 10px;
    min-height: 42px;
    padding: 7px 10px;
  }

  body:has(.portal-home) .menu-drawer-nav a::before,
  body:has(.portal-home) .menu-drawer-links a::before {
    background: rgba(226, 235, 230, 0.07);
    border: 1px solid rgba(226, 235, 230, 0.12);
    border-radius: 7px;
    content: "";
    flex: 0 0 24px;
    height: 24px;
    width: 24px;
  }

  body:has(.portal-home) .menu-drawer-section {
    border-top: 1px dashed rgba(226, 235, 230, 0.14);
    gap: 8px;
    padding-top: 14px;
  }

  body:has(.portal-home) .menu-drawer-section > span {
    color: rgba(242, 245, 241, 0.92);
    font-size: 15px;
    letter-spacing: 0;
  }
}

/* Wave325: mirror Byrut's mobile search as a compact top bar without changing search routing. */
@media (max-width: 720px) {
  body:has(.portal-home):has(.search-icon-button[aria-expanded="true"]) {
    overflow-x: hidden;
  }

  body:has(.portal-home):has(.search-icon-button[aria-expanded="true"])::after {
    backdrop-filter: blur(2px);
    background: rgba(7, 10, 12, 0.52);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 133;
  }

  body:has(.portal-home) .search-drawer {
    align-items: center;
    background: rgba(10, 16, 18, 0.995);
    border: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.44);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 34px;
    height: 70px;
    left: 0;
    max-height: 70px;
    padding: 14px 20px;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 134;
  }

  body:has(.portal-home) .search-drawer[hidden] {
    display: none;
  }

  body:has(.portal-home) .search-drawer-head {
    display: contents;
  }

  body:has(.portal-home) .search-drawer h2 {
    display: none;
  }

  body:has(.portal-home) .search-close-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: rgba(242, 245, 241, 0.74);
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 34px;
  }

  body:has(.portal-home) .search-close-button svg {
    height: 24px;
    width: 24px;
  }

  body:has(.portal-home) .search-drawer-form {
    display: grid;
    gap: 10px;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  body:has(.portal-home) .search-drawer-form input {
    background: rgba(242, 245, 241, 0.95);
    border: 0;
    border-radius: 7px;
    color: var(--ink);
    min-height: 42px;
    padding: 0 14px;
  }

  body:has(.portal-home) .search-drawer-form input::placeholder {
    color: rgba(17, 19, 21, 0.58);
  }

  body:has(.portal-home) .search-drawer-submit {
    background: var(--sp-success);
    border-color: transparent;
    color: #ffffff;
    min-height: 42px;
    padding: 0;
    width: 46px;
  }

  body:has(.portal-home) .search-drawer-submit svg {
    display: block;
    height: 24px;
    stroke-width: 2.8;
    width: 24px;
  }

  body:has(.portal-home) .search-drawer-submit span,
  body:has(.portal-home) .search-drawer-links {
    display: none;
  }
}

/* Wave326: mirror Byrut's compact mobile auth card while keeping local auth routes. */
@media (max-width: 720px) {
  body:has(.portal-home) .auth-drawer {
    background: rgba(242, 245, 241, 0.985);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    color: var(--ink);
    gap: 9px;
    left: auto;
    max-height: none;
    overflow: visible;
    padding: 11px 26px 13px;
    right: 21px;
    top: 54px;
    width: 278px;
    z-index: 132;
  }

  body:has(.portal-home) .auth-drawer[hidden] {
    display: none;
  }

  body:has(.portal-home) .auth-drawer-head {
    justify-content: center;
    min-height: 14px;
  }

  body:has(.portal-home) .auth-drawer h2 {
    color: #2b2b2b;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.2;
    text-align: center;
  }

  body:has(.portal-home) .auth-close-button {
    display: none;
  }

  body:has(.portal-home) .auth-login-form {
    gap: 10px;
    width: 226px;
  }

  body:has(.portal-home) .auth-field-input {
    background: #ffffff;
    border: 1px solid rgba(17, 19, 21, 0.1);
    border-radius: 4px;
    color: #2b2b2b;
    font-size: 12px;
    height: 41px;
    min-height: 41px;
    padding: 0 12px;
  }

  body:has(.portal-home) .auth-field-input::placeholder {
    color: rgba(43, 43, 43, 0.62);
  }

  body:has(.portal-home) .auth-primary-link {
    align-items: center;
    background: #63b814;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    height: 37px;
    min-height: 37px;
    padding: 0 12px;
    width: 100%;
  }

  body:has(.portal-home) .auth-social-block {
    background: transparent;
    border: 0;
    gap: 9px;
    padding: 4px 0 0;
    text-align: center;
    width: 226px;
  }

  body:has(.portal-home) .auth-social-block span {
    color: rgba(43, 43, 43, 0.66);
    font-size: 11px;
    font-weight: 850;
  }

  body:has(.portal-home) .auth-social-actions {
    gap: 8px;
  }

  body:has(.portal-home) .auth-social-link {
    border: 0;
    color: #ffffff;
    font-size: 12px;
    height: 26px;
    min-height: 26px;
    width: 26px;
  }

  body:has(.portal-home) .auth-telegram-link {
    background: #3aa3df;
  }

  body:has(.portal-home) .auth-login-link {
    background: #ef4d3d;
  }

  body:has(.portal-home) .auth-register-link {
    background: #f4ba34;
  }

  body:has(.portal-home) .auth-help-links {
    gap: 4px 8px;
    justify-content: center;
    line-height: 1.25;
    width: 226px;
  }

  body:has(.portal-home) .auth-help-links a {
    color: rgba(43, 43, 43, 0.58);
    font-size: 10px;
  }
}

/* Wave327: mirror Byrut's mobile tracked-news warning toast without touching feed data. */
@media (max-width: 720px) {
  body:has(.portal-home) .updates-drawer {
    background: rgba(242, 245, 241, 0.985);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    color: #2b2b2b;
    gap: 1px;
    left: 12px;
    min-height: 53px;
    overflow: visible;
    padding: 10px 46px 9px 54px;
    right: auto;
    top: calc(env(safe-area-inset-top, 0px) + 22px);
    width: min(262px, calc(100vw - 24px));
    z-index: 2001;
  }

  body:has(.portal-home) .updates-drawer::before {
    align-items: center;
    background: #f7a928;
    border-radius: 999px;
    color: #ffffff;
    content: "!";
    display: flex;
    font-size: 18px;
    font-weight: 950;
    height: 34px;
    justify-content: center;
    left: 12px;
    line-height: 1;
    position: absolute;
    top: 10px;
    width: 34px;
  }

  body:has(.portal-home) .updates-drawer-head {
    display: contents;
  }

  body:has(.portal-home) .updates-drawer-kicker {
    color: #2b2b2b;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  body:has(.portal-home) .updates-close-button {
    background: rgba(43, 43, 43, 0.055);
    border: 0;
    border-radius: 999px;
    color: rgba(43, 43, 43, 0.52);
    height: 28px;
    min-height: 28px;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 13px;
    width: 28px;
  }

  body:has(.portal-home) .updates-close-button svg {
    height: 15px;
    width: 15px;
  }

  body:has(.portal-home) .updates-drawer-title-row {
    display: block;
    min-width: 0;
  }

  body:has(.portal-home) .updates-drawer h2 {
    color: rgba(43, 43, 43, 0.72);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:has(.portal-home) .updates-clear-button,
  body:has(.portal-home) .updates-list,
  body:has(.portal-home) .updates-empty {
    display: none;
  }
}

/* Wave328: mirror Byrut's footer carousel controls without changing local footer materials. */
body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-copy {
  grid-template-rows: auto auto auto minmax(32px, 1fr);
  min-height: 186px;
}

body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
  scroll-behavior: smooth;
}

body:has(.portal-home) .portal-footer-update-controls {
  align-items: end;
  align-self: stretch;
  display: flex;
  gap: 10px;
  margin: 0;
}

body:has(.portal-home) .portal-footer-update-nav {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(176, 176, 176, 0.74);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 27px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  line-height: 1;
  min-height: 32px;
  padding: 0;
  width: 38px;
}

body:has(.portal-home) .portal-footer-update-nav:hover,
body:has(.portal-home) .portal-footer-update-nav:focus-visible {
  color: rgba(242, 245, 241, 0.9);
  outline: 0;
}

@media (prefers-reduced-motion: reduce) {
  body:has(.portal-home) .portal-home-footer-updates > .portal-footer-update-rail {
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-footer-update-controls {
    display: none;
  }
}

/* Wave329: mirror Byrut's inline desktop right-rail hashtag tags without changing tag routes. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-tag-cloud {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 4px;
    margin-left: 0;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    color: rgba(212, 212, 216, 0.72);
    display: flex;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 500;
    height: 28px;
    line-height: 1;
    margin: -4px 0 -4px -6px;
    min-height: 28px;
    padding: 4px 8px 4px 6px;
    width: auto;
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag::before {
    color: rgba(242, 245, 241, 0.36);
    content: "#";
    display: block;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    margin-right: 6px;
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag:hover,
  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag:focus-visible {
    background: transparent;
    border-color: transparent;
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag:hover::before,
  body:has(.portal-home) .portal-side-rail .portal-side-tags .portal-side-tag-cloud .portal-side-tag:focus-visible::before {
    color: rgba(96, 215, 201, 0.62);
  }
}

/* Wave330: tighten Byrut's desktop tag-nav and picker rhythm without changing tag routes. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-tag-nav {
    margin-top: -2px;
  }
}

/* Wave331: align Byrut's desktop right-rail x-origin without changing rail content. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail {
    transform: translate(0, -8px);
  }
}

/* Wave332: align Byrut's desktop right-rail tag CTAs without changing rail flow. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-tag-nav {
    transform: translate(-2px, 6px);
  }

  body:has(.portal-home) .portal-side-tag-picker {
    transform: translateX(-2px);
  }
}

/* Wave304: mirror Byrut's current desktop top stats wording and right-side base teaser. */
@media (min-width: 1101px) {
  body:has(.portal-home) .portal-top-stats-base {
    max-width: 194px;
  }
}

/* Wave333: copy Byrut's article first-screen shell with local e-online releases. */
.game-release-reference-shell {
  display: grid;
  gap: 12px;
  margin: 0 auto 12px;
  max-width: min(1130px, calc(100vw - 48px));
  min-width: 0;
  width: 100%;
}

.article-reference-release-shelf .portal-section-head h2,
.article-reference-release-shelf .portal-section-head > a,
.article-reference-release-shelf .portal-popular-tabs a:not(.is-active),
.article-reference-release-shelf .portal-release-rail .portal-popular-genres,
.article-reference-release-shelf .portal-release-rail .portal-release-status {
  display: none;
}

.article-reference-release-shelf .portal-section-head {
  border-bottom: 0;
  display: block;
  padding-bottom: 0;
}

.article-reference-release-shelf .portal-popular-tabs {
  gap: 0;
}

.article-reference-release-shelf .portal-popular-tabs a.is-active {
  color: var(--text);
}

@media (min-width: 721px) {
  body:has(.game-release-reference-shell) .game-release-reference-shell,
  body:has(.game-release-reference-shell) .game-release-view {
    max-width: min(1130px, calc(100vw - 48px));
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell {
    margin-bottom: 0;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-sizing: border-box;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    gap: 24px;
    height: 44px;
    margin: 0;
    min-height: 44px;
    overflow: hidden;
    padding: 0 16px;
    transform: translateY(18px);
    width: 100%;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tabs a {
    border-radius: 2px;
    color: rgb(212, 212, 216);
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    gap: 4px;
    height: 26px;
    justify-content: center;
    line-height: normal;
    min-height: 26px;
    min-width: 101px;
    padding: 4px 0;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tabs a[href="/news"] {
    min-width: 130px;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tabs a[href="/top-torrent-games/"] {
    min-width: 89px;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tab-year::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    height: 0;
    margin-left: -2px;
    width: 0;
  }

  body:has(.game-release-reference-shell) .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
    display: block;
    height: 16px;
    opacity: 0.92;
    width: 16px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf {
    align-content: start;
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(226, 235, 230, 0.035);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
    gap: 10px;
    margin-top: 25px;
    min-height: 376px;
    overflow: hidden;
    padding: 21px 24px 12px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-section-head p {
    color: rgba(242, 245, 241, 0.56);
    font-size: 14px;
    line-height: 1.18;
    margin: 4px 0 0;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-tabs a.is-active {
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    min-width: 0;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    gap: 16px;
    grid-auto-columns: 140px;
    padding-bottom: 0;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .game-new-card {
    min-width: 140px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(228, 228, 231);
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    gap: 0;
    height: 252px;
    letter-spacing: 0.21px;
    line-height: normal;
    overflow: hidden;
    padding: 0;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .game-new-poster {
    aspect-ratio: auto;
    border-radius: 8px;
    height: 200px;
    overflow: hidden;
    width: 140px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .game-new-poster img {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card strong {
    color: rgb(250, 250, 250);
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.21px;
    line-height: 1.35;
    margin-top: 11px;
    min-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card small {
    color: rgb(161, 161, 170);
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.21px;
    line-height: normal;
    margin-top: 4px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 22px;
    padding-top: 0;
    transform: translateY(5.5px);
    width: 214px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots {
    margin-right: 8px;
    min-height: 27px;
    order: 1;
    padding: 8px;
    width: 140px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot] {
    height: 11px;
    min-height: 11px;
    min-width: 11px;
    width: 11px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot].is-active {
    width: 22px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot]:nth-of-type(n + 8) {
    display: none;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow {
    flex: 0 0 27px;
    font-size: 18px;
  }

  /* Wave349: align article release carousel controls to Byrut's dots-then-arrows order. */
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    gap: 6px;
    width: 180px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots {
    margin-right: 8px;
    order: 1;
    width: 106px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow {
    height: 27px;
    min-height: 27px;
    min-width: 27px;
    order: 2;
    width: 27px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow[data-game-new-next] {
    order: 3;
  }

  body:has(.game-release-reference-shell) .game-release-view {
    margin-top: 0;
  }

  body:has(.game-release-reference-shell) .game-release-view > .breadcrumbs {
    margin: 0 0 12px;
    max-width: min(1130px, calc(100vw - 48px));
  }

  body:has(.game-release-reference-shell) .game-release-shell {
    gap: 12px;
    grid-template-columns: minmax(0, 822px) minmax(260px, 296px);
    justify-content: start;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar {
    margin-top: 0;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-sticky {
    max-height: calc(100vh - 38px);
    top: 38px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-panel {
    border-color: rgba(87, 213, 192, 0.14);
  }
}

/* Wave351: let the article right rail flow like the reference, without copying ad surfaces. */
@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .game-release-sidecar-sticky {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    position: static;
    top: auto;
  }
}

@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .portal-top-stats-ribbon {
    align-items: center;
    background: rgba(255, 255, 255, 0.016);
    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 0 0 3px 3px;
    color: rgb(113, 113, 122);
    display: flex;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    height: 28px;
    justify-content: center;
    line-height: normal;
    margin: 0 auto 40px;
    max-width: 1130px;
    min-height: 28px;
    padding: 5px 45px 5px 18px;
    position: relative;
    width: calc(100% - 48px);
  }

  body:has(.game-release-reference-shell) .portal-top-stats-ribbon .portal-stats-row {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .portal-top-stats-ribbon span {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    font-weight: 400;
    gap: 5px;
    line-height: normal;
    min-height: 15px;
    white-space: nowrap;
  }

  body:has(.game-release-reference-shell) .portal-top-stats-ribbon strong {
    color: rgba(242, 245, 241, 0.82);
    font-size: 13px;
    font-weight: 700;
  }

  body:has(.game-release-reference-shell) .portal-top-stats-base {
    color: rgba(242, 245, 241, 0.38);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
    max-width: 194px;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
  }

  body:has(.game-release-reference-shell) .portal-top-stats-menu {
    align-items: center;
    color: rgb(113, 113, 122);
    display: inline-flex;
    height: 16px;
    justify-content: center;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
  }

  body:has(.game-release-reference-shell) .portal-top-stats-menu .portal-nav-icon {
    height: 14px;
    opacity: 0.72;
    width: 14px;
  }

  body:has(.game-release-reference-shell) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: relative;
    top: auto;
    width: calc(100% - 48px);
  }

  body:has(.game-release-reference-shell) .brand {
    gap: 6px;
  }

  body:has(.game-release-reference-shell) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .brand-mark video,
  body:has(.game-release-reference-shell) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .brand-copy {
    display: block;
  }

  body:has(.game-release-reference-shell) .brand-copy strong {
    font-size: 18px;
    font-weight: 950;
    max-width: 120px;
  }

  body:has(.game-release-reference-shell) .brand-copy span,
  body:has(.game-release-reference-shell) .menu-icon-button,
  body:has(.game-release-reference-shell) .nav {
    display: none;
  }

  body:has(.game-release-reference-shell) .header-actions {
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
  }

  body:has(.game-release-reference-shell) .site-search {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.game-release-reference-shell) .site-search:hover,
  body:has(.game-release-reference-shell) .site-search:focus-within {
    max-width: 325px;
    width: min(325px, 38vw);
  }

  body:has(.game-release-reference-shell) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    letter-spacing: 0.225px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.game-release-reference-shell) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.game-release-reference-shell) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.game-release-reference-shell) .theme-icon-button,
  body:has(.game-release-reference-shell) .updates-icon-button,
  body:has(.game-release-reference-shell) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }

  body:has(.game-release-reference-shell) main {
    margin-top: -42px;
    max-width: 1214px;
  }
}

/* Wave343: mirror Byrut's compact mobile game-article header without changing release data. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) {
    --topbar-fixed-offset: 0px;
  }

  body:has(.game-release-reference-shell) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: auto;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .nav {
    display: none;
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs {
    margin-bottom: -4px;
  }

  body:has(.game-release-reference-shell) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .brand-mark video,
  body:has(.game-release-reference-shell) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.game-release-reference-shell) .site-search,
  body:has(.game-release-reference-shell) .site-search:hover,
  body:has(.game-release-reference-shell) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.game-release-reference-shell) .search-icon-button,
  body:has(.game-release-reference-shell) .menu-icon-button,
  body:has(.game-release-reference-shell) .theme-icon-button,
  body:has(.game-release-reference-shell) .updates-icon-button,
  body:has(.game-release-reference-shell) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.game-release-reference-shell) .theme-icon-button[aria-pressed="true"] {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  body:has(.game-release-reference-shell) .header-action-separator {
    background: rgba(226, 235, 230, 0.16);
    height: 24px;
    margin: 0;
  }

  body:has(.game-release-reference-shell) .account-icon-button {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 999px;
  }

  body:has(.game-release-reference-shell) .search-icon-button svg,
  body:has(.game-release-reference-shell) .menu-icon-button svg,
  body:has(.game-release-reference-shell) .theme-icon-button svg,
  body:has(.game-release-reference-shell) .updates-icon-button svg,
  body:has(.game-release-reference-shell) .account-icon-button svg {
    height: 24px;
    width: 24px;
  }
}

@media (min-width: 361px) and (max-width: 720px) {
  body:has(.game-release-reference-shell) .header-actions {
    margin-left: 64px;
  }
}

@media (max-width: 360px) {
  body:has(.game-release-reference-shell) .header-actions {
    gap: 4px;
    margin-left: 12px;
  }

  body:has(.game-release-reference-shell) .site-search,
  body:has(.game-release-reference-shell) .site-search:hover,
  body:has(.game-release-reference-shell) .site-search:focus-within,
  body:has(.game-release-reference-shell) .search-icon-button,
  body:has(.game-release-reference-shell) .menu-icon-button,
  body:has(.game-release-reference-shell) .theme-icon-button,
  body:has(.game-release-reference-shell) .updates-icon-button,
  body:has(.game-release-reference-shell) .account-icon-button {
    flex-basis: 40px;
    max-width: 40px;
    min-width: 40px;
    width: 40px;
  }
}

/* Wave555: keep auth/account on the same final reference topbar after late page rules. */
@media (min-width: 721px) {
  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body:has(.auth-shell) .brand,
  body:has(.account-hero) .brand,
  body:has(.account-grid) .brand {
    gap: 7px;
  }

  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-copy,
  body:has(.account-hero) .brand-copy,
  body:has(.account-grid) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.auth-shell) .brand-copy strong,
  body:has(.account-hero) .brand-copy strong,
  body:has(.account-grid) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.auth-shell) .brand-copy span,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .nav,
  body:has(.account-hero) .brand-copy span,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .brand-copy span,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.auth-shell) .site-search input,
  body:has(.account-hero) .site-search input,
  body:has(.account-grid) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.auth-shell) .site-search input::placeholder,
  body:has(.account-hero) .site-search input::placeholder,
  body:has(.account-grid) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.auth-shell) .site-search .search-icon-button,
  body:has(.account-hero) .site-search .search-icon-button,
  body:has(.account-grid) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    margin-left: 0;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}

@media (max-width: 720px) {
  body:has(.auth-shell),
  body:has(.account-hero),
  body:has(.account-grid) {
    --topbar-fixed-offset: 58px;
  }

  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: 0;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: none;
    width: 100%;
    z-index: 100;
  }

  body:has(.auth-shell) .nav,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.auth-shell) .search-icon-button,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .search-icon-button,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .search-icon-button,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
}

/* Wave554: finish the reference topbar shell for remaining public pages. */
@media (min-width: 721px) {
  body:has(.portal-home) .topbar,
  body:has(.privacy-policy) .topbar,
  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body:has(.portal-home) .brand,
  body:has(.privacy-policy) .brand,
  body:has(.auth-shell) .brand,
  body:has(.account-hero) .brand,
  body:has(.account-grid) .brand {
    gap: 7px;
  }

  body:has(.portal-home) .brand-mark,
  body:has(.privacy-policy) .brand-mark,
  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-mark video,
  body:has(.portal-home) .brand-mark img,
  body:has(.privacy-policy) .brand-mark video,
  body:has(.privacy-policy) .brand-mark img,
  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-copy,
  body:has(.privacy-policy) .brand-copy,
  body:has(.auth-shell) .brand-copy,
  body:has(.account-hero) .brand-copy,
  body:has(.account-grid) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.portal-home) .brand-copy strong,
  body:has(.privacy-policy) .brand-copy strong,
  body:has(.auth-shell) .brand-copy strong,
  body:has(.account-hero) .brand-copy strong,
  body:has(.account-grid) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.portal-home) .brand-copy span,
  body:has(.portal-home) .menu-icon-button,
  body:has(.portal-home) .nav,
  body:has(.privacy-policy) .brand-copy span,
  body:has(.privacy-policy) .menu-icon-button,
  body:has(.privacy-policy) .nav,
  body:has(.auth-shell) .brand-copy span,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .nav,
  body:has(.account-hero) .brand-copy span,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .brand-copy span,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.portal-home) .header-actions,
  body:has(.privacy-policy) .header-actions,
  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body:has(.portal-home) .site-search,
  body:has(.portal-home) .site-search:hover,
  body:has(.portal-home) .site-search:focus-within,
  body:has(.privacy-policy) .site-search,
  body:has(.privacy-policy) .site-search:hover,
  body:has(.privacy-policy) .site-search:focus-within,
  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.portal-home) .site-search input,
  body:has(.privacy-policy) .site-search input,
  body:has(.auth-shell) .site-search input,
  body:has(.account-hero) .site-search input,
  body:has(.account-grid) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.portal-home) .site-search input::placeholder,
  body:has(.privacy-policy) .site-search input::placeholder,
  body:has(.auth-shell) .site-search input::placeholder,
  body:has(.account-hero) .site-search input::placeholder,
  body:has(.account-grid) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.portal-home) .site-search .search-icon-button,
  body:has(.privacy-policy) .site-search .search-icon-button,
  body:has(.auth-shell) .site-search .search-icon-button,
  body:has(.account-hero) .site-search .search-icon-button,
  body:has(.account-grid) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.portal-home) .theme-icon-button,
  body:has(.portal-home) .updates-icon-button,
  body:has(.portal-home) .account-icon-button,
  body:has(.privacy-policy) .theme-icon-button,
  body:has(.privacy-policy) .updates-icon-button,
  body:has(.privacy-policy) .account-icon-button,
  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    margin-left: 0;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home),
  body:has(.privacy-policy),
  body:has(.auth-shell),
  body:has(.account-hero),
  body:has(.account-grid) {
    --topbar-fixed-offset: 58px;
  }

  body:has(.portal-home) .topbar,
  body:has(.privacy-policy) .topbar,
  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: 0;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: none;
    width: 100%;
    z-index: 100;
  }

  body:has(.portal-home) .nav,
  body:has(.privacy-policy) .nav,
  body:has(.auth-shell) .nav,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.portal-home) .brand-mark,
  body:has(.privacy-policy) .brand-mark,
  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .brand-mark video,
  body:has(.portal-home) .brand-mark img,
  body:has(.privacy-policy) .brand-mark video,
  body:has(.privacy-policy) .brand-mark img,
  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-home) .header-actions,
  body:has(.privacy-policy) .header-actions,
  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.portal-home) .site-search,
  body:has(.portal-home) .site-search:hover,
  body:has(.portal-home) .site-search:focus-within,
  body:has(.privacy-policy) .site-search,
  body:has(.privacy-policy) .site-search:hover,
  body:has(.privacy-policy) .site-search:focus-within,
  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.portal-home) .search-icon-button,
  body:has(.portal-home) .menu-icon-button,
  body:has(.portal-home) .theme-icon-button,
  body:has(.portal-home) .updates-icon-button,
  body:has(.portal-home) .account-icon-button,
  body:has(.privacy-policy) .search-icon-button,
  body:has(.privacy-policy) .menu-icon-button,
  body:has(.privacy-policy) .theme-icon-button,
  body:has(.privacy-policy) .updates-icon-button,
  body:has(.privacy-policy) .account-icon-button,
  body:has(.auth-shell) .search-icon-button,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .search-icon-button,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .search-icon-button,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
}

@media (max-width: 720px) {
  .game-release-reference-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    width: 100%;
  }

  /* Wave383: keep release-page horizontal rails scroll-contained on mobile. */
  body:has(.game-release-reference-shell) main#content,
  body:has(.game-release-reference-shell) .game-release-view,
  body:has(.game-release-reference-shell) .game-release-shell,
  body:has(.game-release-reference-shell) .game-release-detail-card {
    max-width: 100%;
    overflow-x: clip;
  }

  .game-release-reference-shell .portal-catalog-tabs {
    margin-bottom: 8px;
  }

  .game-release-reference-nav-panel {
    display: none;
  }

  .article-reference-release-shelf {
    box-sizing: border-box;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
    min-height: 414px;
    padding: 0 10px 11px 15px;
    width: 100%;
  }

  .article-reference-release-shelf .portal-release-rail {
    gap: 16px;
    grid-auto-columns: 164px;
    padding-bottom: 0;
  }

  .article-reference-release-shelf .game-new-card {
    min-width: 164px;
  }

  .article-reference-release-shelf .portal-popular-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 0;
    height: 284px;
    overflow: hidden;
    padding: 0;
  }

  .article-reference-release-shelf .game-new-poster {
    aspect-ratio: auto;
    border-radius: 2px;
    height: 234px;
    width: 162px;
  }
}

/* Wave345: stack the mobile release hero like Byrut's article card without changing release data. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-detail-card {
    gap: 18px;
    padding: 0 14px 24px;
  }

  body:has(.game-release-reference-shell) .game-release-compact-hero {
    align-items: start;
    display: grid;
    gap: 13px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  body:has(.game-release-reference-shell) .game-release-poster-stack {
    justify-items: center;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .game-release-poster {
    justify-self: center;
    margin: 0 auto;
    width: min(216px, 62vw);
  }

  body:has(.game-release-reference-shell) .game-release-hero-main {
    display: grid;
    justify-self: stretch;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .game-release-hero-copy {
    justify-self: stretch;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .game-release-hero-copy h1 {
    font-size: 24px;
    line-height: 1.08;
  }
}

/* Wave346: tighten the mobile article first screen to Byrut's full-width shell. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) main {
    padding-top: 0;
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell,
  body:has(.game-release-reference-shell) .game-release-view {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell {
    gap: 12px;
    margin-bottom: 9.5px;
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs {
    border-radius: 0;
    height: 44px;
    margin-bottom: 0;
    min-height: 44px;
    padding: 0 16px;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf {
    border-radius: 12px;
    max-width: 100vw;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .game-release-detail-card {
    border-left: 0;
    border-right: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 24px 24px;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .game-release-compact-hero {
    gap: 13px;
    grid-template-columns: minmax(0, 1fr);
  }

  body:has(.game-release-reference-shell) .game-release-poster {
    height: 310px;
    width: 215px;
  }

  body:has(.game-release-reference-shell) .game-release-poster img {
    height: 310px;
  }

  body:has(.game-release-reference-shell) .game-release-track-button {
    min-height: 37px;
    width: 215px;
  }
}

/* Wave386: align the article release shelf rhythm to Byrut without changing page flow. */
@media (min-width: 721px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf {
    transform: translateY(-10px);
  }
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-section-head {
    transform: translateY(24px);
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    transform: translateY(13px);
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    transform: translateY(8px);
  }
}

/* Wave387: match Byrut's mobile article hero pause between poster, tracking CTA, and title. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    row-gap: 72px;
  }

  body:has(.game-release-reference-shell) .game-release-poster-stack {
    gap: 29px;
  }
}

/* Wave388: align release version text with Byrut's warning-yellow accent, not ad/error red. */
body:has(.game-release-reference-shell) .game-release-version-reference,
body:has(.game-release-reference-shell) .game-release-version-reference span {
  color: #ffd44d;
}

/* Wave389: compact the lower release download/spec rhythm toward Byrut without ad links. */
body:has(.game-release-reference-shell) .game-release-brand-mark {
  min-height: 96px;
  padding: 16px 10px;
}

body:has(.game-release-reference-shell) .game-release-brand-mark::before {
  inset: 14px 15%;
}

body:has(.game-release-reference-shell) .game-release-brand-lockup strong {
  font-size: 34px;
}

body:has(.game-release-reference-shell) .game-release-brand-lockup span {
  font-size: 26px;
}

body:has(.game-release-reference-shell) .game-release-spec-grid div {
  min-height: 44px;
  padding: 8px 11px;
}

body:has(.game-release-reference-shell) .game-release-spec-status {
  min-height: 32px;
  padding: 7px 11px;
}

body:has(.game-release-reference-shell) .game-release-tabs {
  gap: 7px;
}

body:has(.game-release-reference-shell) .game-release-tabs summary {
  padding: 10px 12px;
}

body:has(.game-release-reference-shell) .game-release-tabs p {
  padding: 10px 12px 12px;
}

body:has(.game-release-reference-shell) .game-release-note {
  gap: 6px;
  min-height: 58px;
  padding: 9px 13px;
}

body:has(.game-release-reference-shell) .game-release-lower-download {
  gap: 6px;
  padding: 8px;
}

body:has(.game-release-reference-shell) .game-release-lower-actions {
  gap: 8px;
}

body:has(.game-release-reference-shell) .game-release-lower-primary,
body:has(.game-release-reference-shell) .game-release-lower-secondary {
  min-height: 38px;
  padding: 9px 11px;
}

body:has(.game-release-reference-shell) .game-release-lower-alt-link {
  padding: 5px 10px;
}

body:has(.game-release-reference-shell) .game-release-lower-badges {
  gap: 5px;
}

body:has(.game-release-reference-shell) .game-release-lower-badges span {
  padding: 6px 8px;
}

body:has(.game-release-reference-shell) .game-release-meta {
  gap: 10px;
  padding: 10px;
}

body:has(.game-release-reference-shell) .game-language-list {
  gap: 6px;
}

body:has(.game-release-reference-shell) .game-release-passport {
  gap: 9px;
  padding: 9px 10px;
}

body:has(.game-release-reference-shell) .game-release-passport-head p {
  display: none;
}

body:has(.game-release-reference-shell) .game-release-passport-facts {
  gap: 6px;
}

body:has(.game-release-reference-shell) .game-release-passport-facts div {
  min-height: 42px;
  padding: 6px 8px;
}

body:has(.game-release-reference-shell) .game-release-passport-status li {
  min-height: 22px;
  padding: 5px 8px;
}

body:has(.game-release-reference-shell) .game-release-requirements {
  gap: 9px;
  padding: 10px 12px;
}

body:has(.game-release-reference-shell) .game-release-requirements-grid {
  gap: 6px;
}

body:has(.game-release-reference-shell) .game-release-requirements-grid div {
  min-height: 42px;
  padding: 6px 8px;
}

body:has(.game-release-reference-shell) .game-release-main-tags {
  gap: 8px;
  padding-top: 12px;
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-brand-mark {
    min-height: 74px;
    padding: 10px 8px;
  }

  body:has(.game-release-reference-shell) .game-release-brand-mark::before {
    inset: 8px 14%;
  }

  body:has(.game-release-reference-shell) .game-release-brand-lockup strong {
    font-size: 26px;
  }

  body:has(.game-release-reference-shell) .game-release-brand-lockup span {
    font-size: 20px;
  }

  body:has(.game-release-reference-shell) .game-release-spec-grid div {
    min-height: 40px;
    padding: 6px 10px;
  }

  body:has(.game-release-reference-shell) .game-release-spec-status {
    min-height: 34px;
    padding: 8px 10px;
  }

  body:has(.game-release-reference-shell) .game-release-note {
    min-height: 52px;
    padding: 8px 12px;
  }

  body:has(.game-release-reference-shell) .game-release-lower-download {
    padding: 8px;
  }

  body:has(.game-release-reference-shell) .game-release-lower-primary,
  body:has(.game-release-reference-shell) .game-release-lower-secondary {
    min-height: 36px;
  }

  body:has(.game-release-reference-shell) .game-release-passport {
    padding: 10px;
  }

  body:has(.game-release-reference-shell) .game-release-requirements {
    padding: 10px;
  }
}

/* Wave403: mirror Byrut's gold First Light 007 lockup without poster/ad assets. */
body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light {
  align-items: center;
  display: grid;
  gap: 0;
  justify-items: center;
}

body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light strong,
body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light span {
  background: linear-gradient(180deg, #fff5b8 0%, #d8ae3e 45%, #8d5b12 100%);
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 248, 184, 0.42),
    0 8px 22px rgba(0, 0, 0, 0.58);
}

body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light strong {
  font-size: 46px;
  line-height: 0.9;
  padding-bottom: 6px;
}

body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light strong::after {
  background: linear-gradient(90deg, transparent, rgba(251, 219, 102, 0.92), transparent);
  bottom: 1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light span {
  font-size: 50px;
  font-style: italic;
  line-height: 0.82;
  margin-top: -3px;
  transform: skewX(-8deg);
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light strong {
    font-size: 36px;
    line-height: 0.9;
  }

  body:has(.game-release-reference-shell) .game-release-brand-lockup--first-light span {
    font-size: 43px;
  }
}

/* Wave404: collapse the duplicate lower passport so requirements/tags follow Byrut sooner. */
body:has(.game-release-reference-shell) .game-release-passport {
  display: none;
}

/* Wave390: tighten the home release-to-grid handoff toward Byrut without changing feeds. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-release-shelf {
    min-height: 356px;
    padding-bottom: 0;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    margin-top: -7px;
    min-height: 18px;
  }

  body:has(.portal-home) .portal-game-grid-section {
    transform: translateY(-41px);
  }
}

/* Wave391: compact the mobile home release strip toward Byrut without changing feed data. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-shelf {
    gap: 8px;
    margin-top: 12px;
    min-height: 244px;
    padding: 0 10px 4px 15px;
  }

  body:has(.portal-home) .portal-release-rail {
    gap: 17px;
    grid-auto-columns: 55px;
    transform: none;
  }

  body:has(.portal-home) .portal-release-rail .game-new-card {
    min-width: 55px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card {
    gap: 0;
    height: 144px;
    min-width: 55px;
  }

  body:has(.portal-home) .portal-release-rail .game-new-poster {
    height: 76px;
    width: 55px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card strong {
    -webkit-line-clamp: 1;
    font-size: 13px;
    line-height: 1.15;
    margin-top: 10px;
    min-height: 15px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card small {
    font-size: 12px;
    line-height: 1.15;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    display: none;
  }
}

/* Wave392: realign mobile home and article nav to the current Byrut reference. */
@media (max-width: 720px) {
  body:has(.portal-home) .portal-release-shelf {
    gap: 14px;
    margin-top: 19px;
    min-height: 414px;
    padding: 0 10px 11px 15px;
  }

  body:has(.portal-home) .portal-release-rail {
    gap: 16px;
    grid-auto-columns: 164px;
    padding-bottom: 0;
    transform: none;
  }

  body:has(.portal-home) .portal-release-rail .game-new-card {
    min-width: 164px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card {
    gap: 0;
    height: 284px;
    min-width: 164px;
  }

  body:has(.portal-home) .portal-release-rail .game-new-poster {
    height: 232px;
    width: 162px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card strong {
    -webkit-line-clamp: 1;
    font-size: 15px;
    line-height: 1.35;
    margin-top: 10px;
    min-height: 20px;
  }

  body:has(.portal-home) .portal-release-rail .portal-popular-card small {
    font-size: 13px;
    line-height: normal;
    margin-top: 4px;
  }

  body:has(.portal-home) .portal-release-shelf .portal-popular-controls {
    align-items: center;
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin-top: 0;
    min-height: 27px;
    padding-top: 0;
    width: 100%;
  }

  body:has(.portal-home) .portal-popular-dots {
    gap: 6px;
    margin-right: 0;
    min-height: 27px;
    order: initial;
    padding: 8px;
    width: 327px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot] {
    height: 11px;
    min-height: 11px;
    min-width: 11px;
    width: 11px;
  }

  body:has(.portal-home) .portal-popular-dots [data-game-new-dot].is-active {
    width: 22px;
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    color: rgb(212, 212, 216);
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs a {
    color: rgb(212, 212, 216);
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs a:focus-visible {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(226, 235, 230, 0.08);
    color: rgb(242, 245, 241);
  }

  body:has(.game-release-reference-shell) .game-release-reference-shell .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
  }
}

/* Wave393: keep mobile release media compact like the Byrut article reference. */
@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-screenshots {
    gap: 10px;
  }

  body:has(.game-release-reference-shell) .game-release-screenshot-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.game-release-reference-shell) .game-release-screenshot-grid figure {
    border-radius: 7px;
    min-width: 0;
  }

  body:has(.game-release-reference-shell) .game-release-screenshot-grid img {
    aspect-ratio: 16 / 9;
    min-height: 0;
    object-fit: cover;
  }

  body:has(.game-release-reference-shell) .game-release-screenshot-more {
    margin-top: -1px;
    min-height: 27px;
    padding: 6px 12px;
  }

  body:has(.game-release-reference-shell) .game-release-video-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Wave394: let mobile release screenshots follow the description before download actions. */
@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-download-panel {
    display: none;
  }
}

/* Wave395: make the article right rail genre/tag blocks read like Byrut's plain lists. */
@media (min-width: 901px) {
  body:has(.game-release-reference-shell) .game-release-sidecar-genres,
  body:has(.game-release-reference-shell) .game-release-sidecar-tags {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    gap: 12px;
    padding: 0 12px 2px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genres .game-release-sidecar-head h2,
  body:has(.game-release-reference-shell) .game-release-sidecar-tags .game-release-sidecar-head h2 {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: uppercase;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 0;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    color: rgba(226, 235, 230, 0.82);
    min-height: 44px;
    padding: 9px 0;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: transparent;
    border-color: transparent;
    color: #ffffff;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list .portal-nav-icon {
    color: rgba(226, 235, 230, 0.56);
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-tag-cloud {
    gap: 9px 4px;
    margin-left: -4px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-tag-nav {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
  }
}

/* Wave396: align the desktop popular side rail heading/accent with Byrut's article rail. */
@media (min-width: 901px) {
  body:has(.game-release-reference-shell) .game-release-sidecar-popular {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    gap: 11px;
    padding: 0 12px 4px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular .game-release-sidecar-head {
    gap: 0;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular .game-release-sidecar-head span {
    display: none;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular .game-release-sidecar-head h2 {
    align-items: center;
    display: inline-flex;
    font-size: 16px;
    gap: 9px;
    line-height: 1.15;
    text-transform: uppercase;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular .game-release-sidecar-head h2::before {
    background: #e6bc45;
    border-radius: 999px;
    content: "";
    flex: 0 0 4px;
    height: 18px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular .portal-side-media-row {
    min-height: 88px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-popular-more {
    display: none;
  }
}

/* Wave398: make the mobile article release shelf controls match Byrut's long dot rail. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    gap: 18px;
    margin-left: 8px;
    scrollbar-width: none;
    width: calc(100% - 16px);
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail::-webkit-scrollbar {
    display: none;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    align-items: center;
    display: flex;
    gap: 0;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    min-height: 27px;
    padding-left: 8px;
    padding-top: 0;
    transform: none;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots {
    gap: 6px;
    margin-right: 0;
    min-height: 27px;
    order: initial;
    padding: 8px;
    width: 327px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot] {
    height: 11px;
    min-height: 11px;
    min-width: 11px;
    width: 11px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot].is-active {
    width: 22px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow {
    display: none;
  }
}

/* Wave401: restore current Byrut desktop home release-to-grid handoff without changing feeds. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-game-grid-section {
    transform: translateY(-3px);
  }
}

/* Wave407: return Byrut's filled desktop right-navigation rows without copying ad surfaces. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 42px;
    letter-spacing: 0.4px;
    margin: 0;
    min-height: 42px;
    padding: 10px 13px;
    transform: translateY(4px);
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 3px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: var(--cyan);
  }
}

/* Wave408: restore Byrut's filled article genre rows while keeping tags as inline hashes. */
@media (min-width: 901px) {
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 8px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    height: 42px;
    min-height: 42px;
    padding: 10px 13px;
  }

  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: var(--cyan);
  }
}

/* Wave409: align the desktop wordmark footprint with Byrut for the current identity. */
@media (min-width: 1101px) {
  body:has(.portal-home) .brand,
  body:has(.game-release-reference-shell) .brand {
    gap: 7px;
  }

  body:has(.portal-home) .brand-copy,
  body:has(.game-release-reference-shell) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.portal-home) .brand-copy strong,
  body:has(.game-release-reference-shell) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: 0.45px;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.portal-home) .brand-copy span,
  body:has(.game-release-reference-shell) .brand-copy span {
    display: none;
  }
}

/* Wave410: make lower home-grid status read as Byrut's icon-only pin, not a text badge. */
body:has(.portal-home) .portal-game-grid .game-release-home-status {
  gap: 0;
  justify-content: center;
  min-width: 18px;
  overflow: hidden;
  padding: 0;
  width: 18px;
}

body:has(.portal-home) .portal-game-grid .game-release-home-status > span {
  display: none;
}

body:has(.portal-home) .portal-game-grid .game-release-home-status .portal-nav-icon {
  height: 12px;
  margin: 0;
  width: 12px;
}

/* Wave411: make the news tab use the games/reference shell and remove social side widgets. */
body:has(.portal-news) {
  --topbar-fixed-offset: 0px;
}

body:has(.portal-home) .portal-side-comments,
body:has(.portal-home) .portal-side-team,
body:has(.portal-news) .portal-side-comments,
body:has(.portal-news) .portal-side-team,
body:has(.game-release-reference-shell) .game-release-sidecar-discussions {
  display: none !important;
}

body:has(.portal-news) .topbar,
body:has(.portal-news) .brand,
body:has(.portal-news) .header-actions,
body:has(.portal-news) .portal-news-title,
body:has(.portal-news) .portal-news-grid .news-board-card {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

.portal-news-title {
  align-items: end;
  background: var(--social-surface);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  margin: 0;
  min-width: 0;
  padding: 20px 22px 22px;
}

body:has(.portal-news) .portal-news-title h1 {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
  text-transform: none;
}

body:has(.portal-news) .portal-news-title p {
  color: rgba(242, 245, 241, 0.74);
  font-size: 16px;
  line-height: 1.55;
  margin: 10px 0 0;
  max-width: 760px;
}

body:has(.portal-news) .portal-news-title .news-board-stats {
  align-self: end;
}

.portal-news-filter-scroller {
  background: rgba(16, 23, 28, 0.72);
  border: 1px solid var(--social-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 8px;
}

.portal-news-filter-scroller .filter-tabs,
.portal-news-filter-scroller .feed-filters {
  margin: 0;
}

.portal-news-shell {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 304px;
  min-width: 0;
}

.portal-news-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.portal-news .portal-side-rail {
  align-self: start;
  max-height: none;
  overflow-y: visible;
  position: relative;
  top: auto;
}

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

.portal-news-grid .news-board-card {
  background: rgba(16, 23, 28, 0.78);
  box-shadow: none;
}

.portal-news-grid .news-board-card.is-wide,
.portal-news-grid .news-board-card.is-tall {
  grid-column: auto;
  grid-row: auto;
}

.portal-news-grid .news-board-card.is-wide .news-board-thumb,
.portal-news-grid .news-board-card.is-tall .news-board-thumb,
.portal-news-grid .news-board-thumb {
  aspect-ratio: 16 / 10;
}

@media (min-width: 721px) {
  body:has(.portal-news) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: relative;
    top: auto;
    width: calc(100% - 48px);
  }

  body:has(.portal-news) .brand {
    gap: 7px;
  }

  body:has(.portal-news) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-news) .brand-mark video,
  body:has(.portal-news) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-news) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.portal-news) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.portal-news) .brand-copy span,
  body:has(.portal-news) .menu-icon-button,
  body:has(.portal-news) .nav {
    display: none;
  }

  body:has(.portal-news) .header-actions {
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
  }

  body:has(.portal-news) .site-search {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.portal-news) .site-search:hover,
  body:has(.portal-news) .site-search:focus-within {
    max-width: 325px;
    width: min(325px, 38vw);
  }

  body:has(.portal-news) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.portal-news) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.portal-news) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.portal-news) .theme-icon-button,
  body:has(.portal-news) .updates-icon-button,
  body:has(.portal-news) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }

  body:has(.portal-news) main {
    margin-top: -42px;
    max-width: 1214px;
  }
}

@media (max-width: 1100px) {
  .portal-news-shell {
    grid-template-columns: 1fr;
  }

  .portal-news .portal-side-rail {
    display: none;
  }

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

@media (max-width: 720px) {
  body:has(.portal-news) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: auto;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  body:has(.portal-news) .nav {
    display: none;
  }

  body:has(.portal-news) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-news) .brand-mark video,
  body:has(.portal-news) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.portal-news) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.portal-news) .site-search,
  body:has(.portal-news) .site-search:hover,
  body:has(.portal-news) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.portal-news) .search-icon-button,
  body:has(.portal-news) .menu-icon-button,
  body:has(.portal-news) .theme-icon-button,
  body:has(.portal-news) .updates-icon-button,
  body:has(.portal-news) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }

  .portal-news-title {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 15px;
  }

  body:has(.portal-news) .portal-news-title h1 {
    font-size: 21px;
  }

  body:has(.portal-news) .portal-news-title p {
    font-size: 14px;
  }

  body:has(.portal-news) .portal-news-title .news-board-stats {
    grid-template-columns: 1fr;
  }

  .portal-news-filter-scroller .filter-tabs,
  .portal-news-filter-scroller .feed-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .portal-news-grid {
    grid-template-columns: 1fr;
  }
}

/* Wave412: extend the reference board from news to guides, problems, and collections. */
.portal-article-board {
  --portal-article-accent: var(--accent);
}

.portal-guides {
  --portal-article-accent: #8cc7ff;
}

.portal-problems {
  --portal-article-accent: #ffcd69;
}

.portal-collections {
  --portal-article-accent: #c99cff;
}

body:has(.portal-article-board) .portal-side-comments,
body:has(.portal-article-board) .portal-side-team {
  display: none !important;
}

.portal-article-filter-scroller .portal-section-tabs {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
  min-width: 0;
  overflow-x: auto;
}

.portal-article-filter-scroller .portal-section-tabs span {
  color: var(--portal-article-accent);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 0 6px;
  text-transform: uppercase;
}

.portal-article-filter-scroller .portal-section-tabs a.is-active {
  background: color-mix(in srgb, var(--portal-article-accent) 18%, rgba(12, 19, 24, 0.9));
  border-color: color-mix(in srgb, var(--portal-article-accent) 46%, var(--social-border));
  color: var(--text);
}

.portal-article-board .news-topic-tag {
  color: var(--portal-article-accent);
}

.portal-article-board .feed-end {
  background: rgba(16, 23, 28, 0.72);
  border: 1px dashed var(--social-border);
  border-radius: 8px;
  color: rgba(242, 245, 241, 0.64);
  margin: 0;
  padding: 12px;
  text-align: center;
}

.portal-article-board .news-board-card:not(.is-poster) .news-board-thumb {
  aspect-ratio: 16 / 9;
}

.portal-article-board .news-board-card:not(.is-poster) .news-board-copy {
  gap: 8px;
  padding: 12px;
}

.portal-article-board .news-board-card:not(.is-poster) h2 {
  font-size: 17px;
  line-height: 1.16;
  min-height: 0;
}

.portal-article-board .news-board-card:not(.is-poster) p {
  -webkit-line-clamp: 3;
}

@media (max-width: 720px) {
  .portal-article-filter-scroller .portal-section-tabs {
    flex-wrap: nowrap;
  }
}

/* Wave413: restore the Byrut-like quick nav strip on news and material pages. */
body:has(.portal-news) .portal-catalog-tabs {
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0.21px;
}

@media (min-width: 721px) {
  body:has(.portal-news) .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-sizing: border-box;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    gap: 24px;
    height: 44px;
    margin: 0 auto 13px;
    max-width: 1130px;
    min-height: 44px;
    overflow: hidden;
    padding: 0 16px;
    transform: translateY(18px);
    width: 100%;
  }

  body:has(.portal-news) .portal-catalog-tabs a {
    border-radius: 2px;
    color: rgb(212, 212, 216);
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    gap: 4px;
    height: 26px;
    justify-content: center;
    line-height: normal;
    min-height: 26px;
    min-width: 101px;
    padding: 4px 0;
  }

  body:has(.portal-news) .portal-catalog-tabs a[href="/news"] {
    min-width: 130px;
  }

  body:has(.portal-news) .portal-catalog-tabs a[href="/problems"] {
    min-width: 122px;
  }

  body:has(.portal-news) .portal-catalog-tabs a[href="/top-torrent-games/"] {
    min-width: 89px;
  }

  body:has(.portal-news) .portal-catalog-tabs a[href="/collections"] {
    gap: 8px;
    min-width: 126px;
  }

  body:has(.portal-news) .portal-catalog-tab-year::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    height: 0;
    margin-left: -2px;
    opacity: 0.7;
    width: 0;
  }

  body:has(.portal-news) .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
    display: block;
    height: 16px;
    opacity: 0.92;
    width: 16px;
  }
}

/* Wave414: align material boards with the reference top stats rhythm. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-top-stats-ribbon {
    align-items: center;
    background: rgba(255, 255, 255, 0.016);
    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 0 0 3px 3px;
    color: rgb(113, 113, 122);
    display: flex;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    height: 28px;
    justify-content: center;
    line-height: normal;
    margin: 0 auto 40px;
    max-width: 1130px;
    min-height: 28px;
    padding: 5px 45px 5px 18px;
    position: relative;
    width: calc(100% - 48px);
  }

  body:has(.portal-news) .portal-top-stats-ribbon .portal-stats-row {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    width: 100%;
  }

  body:has(.portal-news) .portal-top-stats-ribbon span {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    font-weight: 400;
    gap: 5px;
    line-height: normal;
    min-height: 15px;
    white-space: nowrap;
  }

  body:has(.portal-news) .portal-top-stats-ribbon strong {
    color: rgba(242, 245, 241, 0.82);
    font-size: 13px;
    font-weight: 700;
  }

  body:has(.portal-news) .portal-top-stats-base {
    color: rgba(242, 245, 241, 0.38);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
    max-width: 194px;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  body:has(.portal-news) .portal-top-stats-menu {
    align-items: center;
    color: rgb(113, 113, 122);
    display: inline-flex;
    height: 16px;
    justify-content: center;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
  }

  body:has(.portal-news) .portal-top-stats-menu .portal-nav-icon {
    height: 14px;
    opacity: 0.72;
    width: 14px;
  }

  body:has(.portal-news) main {
    margin-top: 0;
    max-width: 1130px;
    padding: 0 0 72px;
  }

  body:has(.portal-news) .portal-catalog-tabs {
    transform: translateY(0);
  }

  body:has(.portal-news) .portal-news-shell {
    grid-template-columns: minmax(0, 1fr) 296px;
  }

  body:has(.portal-news) .portal-news .portal-side-rail,
  body:has(.portal-news) .portal-side-rail {
    width: 296px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-catalog-tabs {
    background: rgb(24, 24, 27);
    border-color: transparent;
    border-radius: 0 0 16px 16px;
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.03),
      inset -1px 0 0 rgba(255, 255, 255, 0.03),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    gap: 16px;
    height: 44px;
    margin: 0 -10px 8px;
    min-height: 44px;
    overflow-x: auto;
    padding: 0 16px;
    width: calc(100% + 20px);
  }

  body:has(.portal-news) .portal-catalog-tabs a {
    border-radius: 2px;
    color: rgb(212, 212, 216);
    flex: 0 0 auto;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    gap: 7px;
    height: 26px;
    justify-content: center;
    line-height: normal;
    min-height: 26px;
    min-width: 96px;
    padding: 4px 0;
    white-space: nowrap;
  }

  body:has(.portal-news) .portal-catalog-tabs a[href="/news"] {
    min-width: 124px;
  }

  body:has(.portal-news) .portal-catalog-tabs .portal-nav-icon {
    color: rgba(242, 245, 241, 0.82);
    display: block;
    height: 16px;
    opacity: 0.92;
    width: 16px;
  }
}

/* Wave415: make news/guides/problems/collections read like Byrut's compact game tab. */
body:has(.portal-news) .portal-material-list-label {
  color: rgba(212, 212, 216, 0.74);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

body:has(.portal-news) .portal-news-title .news-board-stats {
  display: none;
}

body:has(.portal-news) .news-board-card.is-poster {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body:has(.portal-news) .news-board-card.is-poster a {
  gap: 9px;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-thumb {
  aspect-ratio: 179 / 246;
  background: rgba(8, 13, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  box-shadow: none;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-thumb img {
  border-radius: 8px;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-copy {
  gap: 4px;
  padding: 0;
}

body:has(.portal-news) .news-board-card.is-poster .news-topic-tag,
body:has(.portal-news) .news-board-card.is-poster p {
  display: none;
}

body:has(.portal-news) .news-board-card.is-poster h2 {
  color: rgb(244, 244, 245);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.18;
  min-height: 38px;
  -webkit-line-clamp: 2;
}

body:has(.portal-news) .news-board-card.is-poster small {
  color: rgba(212, 212, 216, 0.62);
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
}

@media (min-width: 1101px) {
  body:has(.portal-news) .portal-news-shell {
    align-items: start;
    gap: 12px;
    grid-template-columns: 822px 296px;
  }

  body:has(.portal-news) .portal-news-main {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 22px;
    padding: 23px 24px 28px;
  }

  body:has(.portal-news) .portal-news-title {
    align-items: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    min-height: 142px;
    padding: 0;
  }

  body:has(.portal-news) .portal-news-title h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.16;
  }

  body:has(.portal-news) .portal-news-title p {
    color: rgb(212, 212, 216);
    font-size: 16px;
    line-height: 1.55;
    margin-top: 12px;
    max-width: 745px;
  }

  body:has(.portal-news) .portal-news-title .news-board-stats {
    display: none;
  }

  body:has(.portal-news) .portal-news-filter-scroller {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    gap: 10px;
    padding: 0;
  }

  body:has(.portal-news) .portal-news-filter-scroller .feed-filter-rail {
    display: none;
  }

  body:has(.portal-news) .portal-news-filter-scroller .filter-tabs {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    overflow: visible;
    padding: 0;
    width: 100%;
  }

  body:has(.portal-news) .portal-news-filter-scroller .filter-tabs > span {
    display: none;
  }

  body:has(.portal-news) .portal-news-filter-scroller .filter-tabs a {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: rgba(212, 212, 216, 0.72);
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 37px;
    line-height: 1;
    min-height: 37px;
    padding: 10px 16px;
  }

  body:has(.portal-news) .portal-news-filter-scroller .filter-tabs a.is-active {
    background: rgb(224, 233, 246);
    border-color: rgb(224, 233, 246);
    color: rgb(24, 24, 27);
  }

  body:has(.portal-news) .portal-news-grid {
    gap: 18px 16px;
    grid-template-columns: repeat(4, 1fr);
  }

  body:has(.portal-news) .portal-news .portal-side-rail,
  body:has(.portal-news) .portal-side-rail {
    align-content: start;
    align-self: stretch;
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: grid;
    gap: 14px;
    max-height: none;
    min-height: 100%;
    overflow-y: visible;
    padding: 21px 16px 24px;
    position: relative;
    top: auto;
    width: 296px;
  }

  body:has(.portal-news) .portal-side-rail section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 8px;
    padding: 0;
  }

  body:has(.portal-news) .portal-side-summary {
    display: none;
  }

  body:has(.portal-news) .portal-side-rail h2 {
    color: rgb(250, 250, 250);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 19px;
    line-height: 19px;
    margin: 0 0 4px;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    height: 42px;
    letter-spacing: 0.4px;
    min-height: 42px;
    padding: 10px 13px;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags {
    gap: 14px;
    margin-top: 4px;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag-cloud {
    gap: 6px 4px;
  }

  body:has(.portal-news) .portal-side-widget {
    max-width: 264px;
    width: 264px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news) .news-board-card.is-poster .news-board-thumb {
    aspect-ratio: 16 / 10;
  }
}

/* Wave416: match Byrut's transparent desktop right-rail rows. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 36px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    min-height: 36px;
    padding: 7px 0;
    transform: none;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 0;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.game-release-reference-shell) .game-release-reference-nav-list,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 7px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a .portal-nav-icon,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a .portal-nav-icon,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a .portal-nav-icon,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a .portal-nav-icon {
    color: rgba(212, 212, 216, 0.66);
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
  }
}

/* Wave417: align material intro headings with Byrut's compact tab action rhythm. */
body:has(.portal-news) .portal-material-intro-copy {
  display: flex;
  flex-direction: column;
  min-height: 142px;
  min-width: 0;
}

body:has(.portal-news) .portal-material-intro-action {
  align-self: flex-end;
  color: rgb(212, 212, 216);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin-top: auto;
  min-height: 17px;
  text-decoration: none;
  text-transform: lowercase;
}

body:has(.portal-news) .portal-material-intro-action:hover,
body:has(.portal-news) .portal-material-intro-action:focus-visible {
  color: rgb(250, 250, 250);
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body:has(.portal-news) .portal-news-title p {
  display: -webkit-box;
  max-width: 745px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body:has(.portal-news) .portal-material-list-label {
  scroll-margin-top: 92px;
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 0;
  }

  body:has(.portal-news) .portal-material-intro-action {
    align-self: flex-start;
    font-size: 13px;
    margin-top: 10px;
    min-height: 16px;
  }
}

/* Wave418: add Byrut-like local poster badges to material cards without imported ratings. */
body:has(.portal-news) .news-board-card.is-poster .news-board-thumb {
  overflow: hidden;
  position: relative;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-poster-badges {
  bottom: 6px;
  display: grid;
  gap: 2px;
  justify-items: end;
  pointer-events: none;
  position: absolute;
  right: 5px;
  z-index: 2;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-poster-score {
  background: rgb(82, 183, 68);
  border-radius: 4px;
  color: rgb(255, 255, 255);
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  min-width: 31px;
  padding: 4px 5px;
  text-align: center;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-poster-year {
  background: rgba(0, 0, 0, 0.74);
  border-radius: 4px;
  color: rgb(255, 255, 255);
  font-family: Roboto, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding: 3px 5px;
}

@media (max-width: 720px) {
  body:has(.portal-news) .news-board-card.is-poster .news-board-poster-badges {
    bottom: 7px;
    right: 7px;
  }
}

/* Wave419: give material poster cards the Byrut-like local activity footer. */
body:has(.portal-news) .news-board-card.is-poster small {
  display: none;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-card-foot {
  align-items: center;
  color: rgba(212, 212, 216, 0.66);
  display: flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1;
  min-height: 18px;
  width: 100%;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-card-downloads {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  min-width: 0;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-card-downloads {
  color: rgba(212, 212, 216, 0.58);
  justify-content: flex-start;
}

body:has(.portal-news) .news-board-card.is-poster .news-board-card-downloads .portal-nav-icon {
  color: currentColor;
  flex: 0 0 13px;
  height: 13px;
  opacity: 0.82;
  width: 13px;
}

@media (max-width: 720px) {
  body:has(.portal-news) .news-board-card.is-poster .news-board-card-foot {
    font-size: 12px;
    min-height: 20px;
  }
}

/* Wave420: simplify the news board tabs to match Byrut's game-section rhythm. */
body:has(.portal-news) .news-reference-tabs {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

body:has(.portal-news) .news-reference-tabs a {
  min-width: 0;
  white-space: nowrap;
}

body:has(.portal-news) .news-reference-tabs a strong {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: currentColor;
  display: inline-flex;
  font-size: 12px;
  line-height: 1;
  margin-left: 7px;
  padding: 2px 6px;
}

@media (min-width: 1101px) {
  body:has(.portal-news) .news-reference-tabs a {
    height: 37px;
    min-height: 37px;
    padding: 10px 16px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news) .news-reference-tabs {
    overflow-x: auto;
  }

  body:has(.portal-news) .news-reference-tabs a {
    flex: 0 0 auto;
  }
}

/* Wave421: make guides/problems/collections use Byrut-like latest/popular tabs instead of old section/category rails. */
body:has(.portal-article-board) .portal-article-filter-scroller {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  padding: 0;
}

body:has(.portal-article-board) .portal-material-reference-tabs {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

body:has(.portal-article-board) .portal-material-reference-tabs a {
  min-width: 0;
  white-space: nowrap;
}

body:has(.portal-article-board) .portal-section-tabs,
body:has(.portal-article-board) .portal-news-filter-scroller .feed-filter-rail {
  display: none !important;
}

@media (min-width: 1101px) {
  body:has(.portal-article-board) .portal-material-reference-tabs a {
    height: 37px;
    min-height: 37px;
    padding: 10px 16px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-article-board) .portal-article-filter-scroller {
    margin-top: -1px;
  }

  body:has(.portal-article-board) .portal-material-reference-tabs {
    overflow-x: auto;
  }

  body:has(.portal-article-board) .portal-material-reference-tabs a {
    flex: 0 0 auto;
  }
}

/* Wave422: restore Byrut's long mobile dot rail on article release shelves without changing carousel data. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots {
    max-width: calc(100vw - 63px);
    overflow: hidden;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot] {
    display: block;
    flex: 0 0 11px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-dots [data-game-new-dot].is-active {
    flex-basis: 22px;
  }
}

/* Wave504: restore Byrut's mobile article release next arrow without changing carousel data. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    padding-right: 8px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow[data-game-new-prev] {
    display: none;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow[data-game-new-next] {
    align-items: center;
    color: rgba(226, 235, 230, 0.52);
    display: inline-flex;
    flex: 0 0 27px;
    font-size: 18px;
    height: 27px;
    justify-content: center;
    margin-left: 8px;
    min-height: 27px;
    min-width: 27px;
    order: 3;
    width: 27px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow[data-game-new-next]:hover,
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-arrow[data-game-new-next]:focus-visible {
    color: rgba(242, 245, 241, 0.86);
  }
}

/* Wave445: match Byrut's two-column mobile reference-board poster density. */
@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-grid {
    gap: 18px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    margin-left: 0;
    width: 100%;
  }

  body:has(.portal-news) .news-board-card.is-poster {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body:has(.portal-news) .news-board-card.is-poster a {
    gap: 6px;
  }

  body:has(.portal-news) .news-board-card.is-poster .news-board-thumb {
    aspect-ratio: 179 / 246;
    width: 100%;
  }

  body:has(.portal-news) .news-board-card.is-poster .news-board-copy {
    gap: 3px;
    width: 100%;
  }

  body:has(.portal-news) .news-board-card.is-poster h2 {
    font-size: 14px;
    line-height: 1.16;
    min-height: 0;
  }

  body:has(.portal-news) .news-board-card.is-poster .news-board-card-foot {
    min-height: 18px;
  }
}

/* Wave424: tighten the desktop material intro so tabs/list start at Byrut's compact rhythm. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-news-main {
    gap: 16px;
  }

  body:has(.portal-news) .portal-news-title,
  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 96px;
  }

  body:has(.portal-news) .portal-material-intro-action {
    margin-top: 12px;
  }
}

/* Wave426: decouple material reference tabs from the old generic filter bar while preserving Byrut-like rhythm. */
body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  min-width: 0;
  overflow: visible;
  padding: 0;
  width: 100%;
}

body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: rgba(212, 212, 216, 0.72);
  display: inline-flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 37px;
  justify-content: center;
  line-height: 1;
  min-height: 37px;
  min-width: 0;
  padding: 10px 16px;
  text-decoration: none;
  white-space: nowrap;
}

body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a:hover,
body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a:focus-visible {
  border-color: rgba(224, 233, 246, 0.36);
  color: rgb(250, 250, 250);
  outline: 0;
}

body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a.is-active {
  background: rgb(224, 233, 246);
  border-color: rgb(224, 233, 246);
  color: rgb(24, 24, 27);
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a {
    flex: 0 0 auto;
  }
}

/* Wave427: restore Byrut-like material intro pacing on mobile while keeping local materials. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-news-main {
    gap: 22px;
  }

  body:has(.portal-news) .portal-news-title,
  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 142px;
  }

  body:has(.portal-news) .portal-material-intro-action {
    margin-top: auto;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-main {
    background: rgba(24, 24, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 18px;
    margin-left: -10px;
    padding: 18px 24px 24px;
    width: min(376px, calc(100vw - 14px));
  }

  body:has(.portal-news) .portal-news-title {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 168px;
  }

  body:has(.portal-news) .portal-material-intro-action {
    align-self: flex-end;
    margin-top: auto;
    padding-right: 2px;
  }

  body:has(.portal-news) .portal-news-title p {
    line-height: 1.55;
    max-width: 326px;
    -webkit-line-clamp: 4;
  }

  body:has(.portal-news) .portal-news-filter-scroller {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs {
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 11px;
    overflow-x: visible;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a {
    flex: 0 0 auto;
    width: max-content;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-left: 0;
    width: 100%;
  }
}

/* Wave428: move the default games tab into the Byrut-like reference board without changing release feed data. */
body:has(.portal-games-reference) .portal-games-reference-legacy[hidden] {
  display: none !important;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-section > .section-head {
  display: none;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-list {
  display: grid;
  gap: 18px 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card::before {
  display: none;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card > a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  padding: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-thumb {
  aspect-ratio: 179 / 246;
  background: rgba(8, 13, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  box-shadow: none;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-thumb img {
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card .card-context,
body:has(.portal-games-reference) .portal-games-reference .game-release-card .game-release-card-meta,
body:has(.portal-games-reference) .portal-games-reference .game-release-card .game-release-card-stats,
body:has(.portal-games-reference) .portal-games-reference .game-release-card p {
  display: none;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card h2 {
  color: rgb(244, 244, 245);
  display: -webkit-box;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  min-height: 38px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats {
  align-items: center;
  color: rgba(212, 212, 216, 0.66);
  display: flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
  justify-content: space-between;
  letter-spacing: 0;
  line-height: 1;
  min-height: 18px;
  width: 100%;
}

/* Wave470: keep Byrut-like games reference cards download-only instead of UPD chipped. */
body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats.is-download-only {
  justify-content: flex-start;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-status,
body:has(.portal-games-reference) .portal-games-reference .game-release-home-downloads {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  min-width: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-status {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 4px;
  color: rgba(212, 212, 216, 0.7);
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  padding: 2px 5px;
  text-transform: uppercase;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-downloads {
  color: rgba(212, 212, 216, 0.58);
  justify-content: flex-end;
  margin-left: auto;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats.is-download-only .game-release-home-downloads {
  justify-content: flex-start;
  margin-left: 0;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-status .portal-nav-icon,
body:has(.portal-games-reference) .portal-games-reference .game-release-home-downloads .portal-nav-icon {
  color: currentColor;
  flex: 0 0 13px;
  height: 13px;
  opacity: 0.82;
  width: 13px;
}

body:has(.portal-games-reference) .portal-games-reference .load-more {
  margin-top: 18px;
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    gap: 18px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    width: 100%;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card > a {
    gap: 6px;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-thumb {
    aspect-ratio: 179 / 246;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card h2 {
    font-size: 14px;
    line-height: 1.16;
    min-height: 0;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats {
    min-height: 18px;
  }
}

/* Wave429: route the released-new games tab through the same reference board shell as the default games tab. */
body:has(.portal-games-reference) .portal-games-reference-tabs a[aria-current="page"] {
  min-width: 0;
}

/* Wave430: match Byrut's article hero update card while keeping the local no-ad release strip. */
body:has(.game-release-reference-shell) .game-release-update-note {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 4px;
  gap: 5px;
  margin-top: 12px;
  min-height: 64px;
  padding: 12px 16px 11px;
  width: 100%;
}

body:has(.game-release-reference-shell) .game-release-update-note strong {
  color: rgba(226, 235, 230, 0.82);
  font-size: 15px;
  font-weight: 750;
}

body:has(.game-release-reference-shell) .game-release-update-note .game-release-update-mark {
  color: rgba(226, 235, 230, 0.48);
  font-size: 16px;
  margin-right: 6px;
  transform: none;
}

body:has(.game-release-reference-shell) .game-release-update-note a {
  color: rgba(105, 167, 230, 0.92);
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-update-note {
    margin-top: 10px;
    min-height: 60px;
    padding: 11px 13px 10px;
  }
}

/* Wave431: stack Steam review under the score/stars like Byrut without changing release data. */
body:has(.game-release-reference-shell) .game-release-hero-rating {
  align-items: center;
  display: grid;
  gap: 5px 8px;
  grid-template-columns: auto auto;
  justify-content: start;
  margin-top: 2px;
}

body:has(.game-release-reference-shell) .game-release-hero-review {
  display: block;
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: -1px;
  max-width: 100%;
  width: max-content;
}

body:has(.game-release-reference-shell) .game-release-hero-score,
body:has(.game-release-reference-shell) .game-release-hero-stars {
  justify-self: start;
  width: max-content;
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-hero-rating {
    gap: 4px 7px;
  }

  body:has(.game-release-reference-shell) .game-release-hero-review {
    font-size: 14px;
  }
}

/* Wave432: keep score and stars in one compact Byrut-like line while the Steam review sits below. */
body:has(.game-release-reference-shell) .game-release-hero-rating {
  align-items: start;
  display: grid;
  gap: 4px;
  grid-template-columns: max-content;
  justify-content: start;
}

body:has(.game-release-reference-shell) .game-release-hero-rating-line {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  width: max-content;
}

body:has(.game-release-reference-shell) .game-release-hero-review {
  color: rgba(226, 235, 230, 0.76);
  grid-column: auto;
  margin-top: 0;
}

body:has(.game-release-reference-shell) .game-release-hero-review-value {
  color: rgba(94, 214, 87, 0.92);
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-hero-rating {
    gap: 3px;
  }
}

/* Wave433: hard-stop copied comment/activity surfaces and keep mobile release breadcrumbs readable. */
.comment-system-card,
.comment-system-avatar,
#site-activity,
.game-release-main-activity,
body:has(.game-release-reference-shell) .comment-list .comment-system-card,
body:has(.game-release-reference-shell) #site-activity,
body:has(.game-release-reference-shell) .game-release-main-activity,
body:has(.portal-home) .portal-side-comments,
body:has(.portal-home) .portal-side-team,
body:has(.portal-news) .portal-side-comments,
body:has(.portal-news) .portal-side-team,
body:has(.portal-article-board) .portal-side-comments,
body:has(.portal-article-board) .portal-side-team {
  display: none !important;
}

/* Wave455: keep annotated copied comment/team surfaces removed even if old sidebar rules remain cached. */
.comment-system-card,
.comment-system-avatar,
#site-activity,
.game-release-main-activity,
body:has(.game-release-reference-shell) .comment-list .comment-system-card,
body:has(.game-release-reference-shell) #site-activity,
body:has(.game-release-reference-shell) .game-release-main-activity,
body:has(.portal-home) .portal-side-comments,
body:has(.portal-home) .portal-side-team,
body:has(.portal-news) .portal-side-comments,
body:has(.portal-news) .portal-side-team,
body:has(.portal-article-board) .portal-side-comments,
body:has(.portal-article-board) .portal-side-team {
  border: 0 !important;
  content-visibility: hidden !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Wave469: keep user-annotated borrowed comments hidden even from stale copied markup. */
[class*="comment-system" i],
[class*="site-activity" i],
[class*="comment-stream" i],
[class*="side-comments" i],
[class*="side-team" i],
[class*="copied-comment" i],
[class*="borrowed-comment" i],
[class*="imported-comment" i],
[data-comment-source],
#site-activity,
.game-release-main-activity,
.portal-side-comments,
.portal-side-team {
  border: 0 !important;
  content-visibility: hidden !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Wave449: restore Byrut-like boxed material right rail rows while keeping e-online dark. */
@media (min-width: 721px) {
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) {
    gap: 8px;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    height: 42px;
    letter-spacing: 0.4px;
    line-height: normal;
    margin: 0 0 0 -3px;
    min-height: 42px;
    padding: 10px 13px;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 3px rgba(0, 0, 0, 0.2);
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a .portal-nav-icon {
    color: rgba(212, 212, 216, 0.68);
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
  }
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-detail-card > .breadcrumbs {
    font-size: 13px;
    gap: 3px;
    padding: 0 66px 0 0;
  }

  body:has(.game-release-reference-shell) .game-release-detail-card > .breadcrumbs a,
  body:has(.game-release-reference-shell) .game-release-detail-card > .breadcrumbs .breadcrumb-separator {
    flex: 0 0 auto;
  }

  body:has(.game-release-reference-shell) .game-release-detail-card > .breadcrumbs span:last-child {
    flex: 0 0 auto;
    max-width: none;
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
  }
}

/* Wave452: restore Byrut-like material section dividers without shifting local cards. */
body:has(.portal-news) .portal-material-list-label {
  position: relative;
}

body:has(.portal-news) .portal-material-list-label::after {
  background: rgba(226, 235, 230, 0.11);
  content: "";
  display: block;
  height: 1px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
}

body:has(.portal-news) .portal-news-grid,
body:has(.portal-games-reference) .portal-games-reference .game-release-list {
  scroll-margin-top: 96px;
}

/* Wave453: collapse the copied-comment desktop home depth now those surfaces are forbidden. */
@media (min-width: 721px) {
  html:not(.is-home-lower-rail-collapsed) body:has(.portal-home) .portal-home-main {
    min-height: 3136px;
  }

  html:not(.is-home-lower-rail-collapsed) body:has(.portal-home) .portal-side-rail {
    height: 3136px;
    min-height: 3136px;
  }
}

/* Wave454: return release update status to Byrut's plain inline rhythm without copying ads. */
body:has(.game-release-reference-shell) .game-release-update-note {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 2px;
  margin-top: 8px;
  min-height: 0;
  padding: 0;
  width: auto;
}

body:has(.game-release-reference-shell) .game-release-update-note strong {
  color: rgba(226, 235, 230, 0.78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
}

body:has(.game-release-reference-shell) .game-release-update-note .game-release-update-mark {
  color: #ff4a40;
  display: inline-block;
  font-size: 18px;
  font-weight: 950;
  margin-right: 4px;
  transform: translateY(1px);
}

body:has(.game-release-reference-shell) .game-release-update-note a {
  color: rgba(226, 235, 230, 0.62);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-update-note {
    margin-top: 7px;
    min-height: 0;
    padding: 0;
  }
}

/* Wave463: lift material boards to Byrut's compact new-pcgames rhythm. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-news-main {
    gap: 14px;
    padding: 20px 24px 26px;
  }

  body:has(.portal-news) .portal-news-title,
  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 88px;
  }

  body:has(.portal-news) .portal-news-title h1 {
    font-size: 22px;
    line-height: 1.14;
  }

  body:has(.portal-news) .portal-news-title p {
    font-size: 15px;
    line-height: 1.45;
    margin-top: 9px;
    max-width: 730px;
    -webkit-line-clamp: 3;
  }

  body:has(.portal-news) .portal-material-intro-action {
    margin-top: 9px;
    min-height: 16px;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs {
    gap: 8px;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a,
  body:has(.portal-article-board) .portal-material-reference-tabs a {
    height: 35px;
    min-height: 35px;
    padding: 9px 15px;
  }

  body:has(.portal-news) .portal-material-list-label {
    margin-top: 1px;
  }

  body:has(.portal-news) .portal-news-grid {
    gap: 16px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  body:has(.portal-news) .portal-news-main {
    gap: 16px;
    padding: 20px;
  }

  body:has(.portal-news) .portal-news-title,
  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 90px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-main {
    gap: 14px;
    padding: 16px 22px 22px;
  }

  body:has(.portal-news) .portal-material-intro-copy {
    min-height: 0;
  }

  body:has(.portal-news) .portal-news-title h1 {
    font-size: 21px;
    line-height: 1.15;
  }

  body:has(.portal-news) .portal-news-title p {
    font-size: 14px;
    line-height: 1.42;
    margin-top: 8px;
    max-width: 328px;
    -webkit-line-clamp: 3;
  }

  body:has(.portal-news) .portal-material-intro-action {
    align-self: flex-start;
    margin-top: 8px;
    padding-right: 0;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
  }

  body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a {
    width: auto;
  }
}

/* Wave465: make the games latest alias follow Byrut's new-pcgames board. */
@media (min-width: 1101px) {
  body:has(.portal-games-reference) .portal-games-reference-title,
  body:has(.portal-games-reference) .portal-games-reference-title .portal-material-intro-copy {
    min-height: 142px;
  }

  body:has(.portal-games-reference) .portal-games-reference-title p {
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference-title .portal-material-intro-copy {
    min-height: 164px;
  }

  body:has(.portal-games-reference) .portal-games-reference-title p {
    max-width: 330px;
    -webkit-line-clamp: 5;
  }

  body:has(.portal-games-reference) .portal-games-reference-filter .portal-games-reference-tabs {
    align-items: flex-start;
    flex-direction: column;
    overflow-x: visible;
  }

  body:has(.portal-games-reference) .portal-games-reference-filter .portal-games-reference-tabs a {
    width: max-content;
  }
}

/* Wave467: keep material right rails on Byrut's flat navigation rows after late overrides. */
@media (min-width: 721px) {
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) {
    gap: 7px;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    height: 36px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    min-height: 36px;
    padding: 7px 0;
    transform: none;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a .portal-nav-icon {
    color: rgba(212, 212, 216, 0.66);
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
  }
}

/* Wave468: make material theme rails flat instead of old quick-query chips. */
@media (min-width: 721px) {
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags {
    gap: 7px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag-cloud {
    display: grid;
    gap: 7px;
    margin: 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    display: flex;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    height: 36px;
    justify-content: flex-start;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    min-height: 36px;
    padding: 7px 0;
    text-align: left;
    transform: none;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag::before {
    color: rgba(212, 212, 216, 0.54);
    content: "#";
    flex: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:hover,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:hover::before,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:focus-visible::before {
    color: rgba(96, 215, 201, 0.66);
  }
}

/* Wave472: keep release article desktop sidecar focused on Byrut-like navigation only. */
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-genres,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-tags,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-tag-pick,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-popular,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-primary,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-related,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-updates,
body:has(.game-release-reference-shell) .game-release-sidecar .game-release-sidecar-discussions {
  display: none !important;
}

body:has(.game-release-reference-shell) .game-release-sidecar-sticky {
  gap: 0;
}

body:has(.game-release-reference-shell) .game-release-reference-nav-panel {
  margin: 0;
}

/* Wave473: keep the article release shelf in the reference left column on desktop. */
@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf {
    justify-self: start;
    max-width: 822px;
    width: 822px;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    max-width: calc(100% - 16px);
  }
}

/* Wave474: lift news/material intro rhythm to the games-reference board cadence. */
@media (min-width: 1101px) {
  body:has(.portal-news:not(.portal-games-reference)) .portal-news-title,
  body:has(.portal-news:not(.portal-games-reference)) .portal-material-intro-copy {
    min-height: 142px;
  }

  body:has(.portal-news:not(.portal-games-reference)) .portal-news-title p {
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 720px) {
  body:has(.portal-news:not(.portal-games-reference)) .portal-material-intro-copy {
    min-height: 164px;
  }

  body:has(.portal-news:not(.portal-games-reference)) .portal-news-title p {
    max-width: 330px;
    -webkit-line-clamp: 5;
  }

  body:has(.portal-news:not(.portal-games-reference)) .portal-news-filter-scroller .portal-reference-tabs {
    align-items: flex-start;
    flex-direction: column;
    overflow-x: visible;
  }

  body:has(.portal-news:not(.portal-games-reference)) .portal-news-filter-scroller .portal-reference-tabs a {
    width: max-content;
  }
}

/* Wave475: restore the live Byrut desktop right-rail navigation cadence. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.game-release-reference-shell) .game-release-reference-nav-list,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 8px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 42px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    min-height: 42px;
    padding: 10px 0;
    transform: none;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 6px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }
}

/* Wave476: align reference-board card titles and first-grid drop with Byrut. */
@media (min-width: 1101px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    margin-top: 31px;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-top: 35px;
  }
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card h2,
body:has(.portal-news) .news-board-card.is-poster h2 {
  display: block;
  max-width: 100%;
  min-height: 19px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: 1;
}

/* Wave477: restore Byrut's taller mobile poster scale on reference boards. */
@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list,
  body:has(.portal-news) .portal-news-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    width: min(344px, calc(100vw - 46px));
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card,
  body:has(.portal-news) .news-board-card.is-poster {
    min-height: 302px;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-thumb,
  body:has(.portal-news) .news-board-card.is-poster .news-board-thumb {
    aspect-ratio: auto;
    height: clamp(224px, 63vw, 246px);
    width: 100%;
  }
}

/* Wave478: follow the current dark Byrut reference-board drop. */
@media (min-width: 1101px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    margin-top: 38px;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-top: 42px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list,
  body:has(.portal-news) .portal-news-grid {
    margin-top: 19px;
  }
}

/* Wave479: stretch the article release shelf back to the full reference shell. */
@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf {
    justify-self: stretch;
    max-width: 1130px;
    width: 100%;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    max-width: 100%;
  }
}

/* Wave480: flatten lower side-rail widgets on reference boards. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag-cloud {
    display: grid;
    gap: 7px;
    margin: 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: rgb(212, 212, 216);
    display: flex;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    height: 36px;
    justify-content: flex-start;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    min-height: 36px;
    padding: 7px 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag::before {
    color: rgba(212, 212, 216, 0.42);
    content: "#";
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag:hover,
  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }

  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag:hover::before,
  body:has(.portal-news) .portal-side-rail .portal-side-tags .portal-side-tag:focus-visible::before {
    color: var(--cyan);
  }

  body:has(.portal-news) .portal-side-popular .portal-side-media-list {
    gap: 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-popular .portal-side-media-row {
    background: transparent;
    border: 0;
    border-bottom: 1px dashed rgba(226, 235, 230, 0.11);
    border-radius: 0;
    box-shadow: none;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 80px;
    padding: 8px 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-popular .portal-side-media-row:first-child {
    padding-top: 0;
  }

  body:has(.portal-news) .portal-side-popular .portal-side-media-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    height: 58px;
    width: 58px;
  }

  body:has(.portal-news) .portal-side-popular .portal-side-popular-more {
    border-radius: 5px;
    height: 32px;
    margin-top: 8px;
  }
}

/* Wave481: restore the article hero update card like the current Byrut reference. */
body:has(.game-release-reference-shell) .game-release-update-note {
  align-items: start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 5px;
  box-shadow: none;
  display: grid;
  gap: 5px;
  margin-top: 12px;
  min-height: 64px;
  padding: 12px 16px 11px;
  width: 100%;
}

body:has(.game-release-reference-shell) .game-release-update-note strong {
  color: rgba(226, 235, 230, 0.82);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

body:has(.game-release-reference-shell) .game-release-update-note .game-release-update-mark {
  color: rgba(226, 235, 230, 0.48);
  font-size: 16px;
  margin-right: 6px;
  transform: none;
}

body:has(.game-release-reference-shell) .game-release-update-note a {
  color: rgba(105, 167, 230, 0.92);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-update-note {
    margin-top: 10px;
    min-height: 60px;
    padding: 11px 13px 10px;
  }
}

/* Wave482: match the reference-board intro "show more" dashed pill. */
body:has(.portal-news) .portal-material-intro-action {
  align-items: center;
  align-self: flex-end;
  background: transparent;
  border: 1px dashed rgba(226, 235, 230, 0.2);
  border-radius: 999px;
  box-shadow: none;
  color: rgba(226, 235, 230, 0.72);
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  margin-top: auto;
  min-height: 28px;
  padding: 0 15px;
  text-decoration: none;
  text-transform: lowercase;
  width: max-content;
}

body:has(.portal-news) .portal-material-intro-action:hover,
body:has(.portal-news) .portal-material-intro-action:focus-visible {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(226, 235, 230, 0.34);
  color: rgba(250, 250, 250, 0.92);
  outline: 0;
  text-decoration: none;
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-material-intro-action {
    align-self: flex-end;
    margin-top: auto;
    min-height: 28px;
    padding: 0 14px;
  }
}

/* Wave483: match Byrut's transparent outline inactive reference tabs. */
body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a:not(.is-active),
body:has(.portal-article-board) .portal-material-reference-tabs a:not(.is-active) {
  background: transparent;
  border-color: rgba(226, 235, 230, 0.22);
  box-shadow: none;
  color: rgba(226, 235, 230, 0.46);
}

body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a:not(.is-active):hover,
body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a:not(.is-active):focus-visible,
body:has(.portal-article-board) .portal-material-reference-tabs a:not(.is-active):hover,
body:has(.portal-article-board) .portal-material-reference-tabs a:not(.is-active):focus-visible {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(226, 235, 230, 0.38);
  color: rgba(242, 245, 241, 0.78);
  outline: 0;
}

body:has(.portal-news) .portal-news-filter-scroller .portal-reference-tabs a.is-active,
body:has(.portal-article-board) .portal-material-reference-tabs a.is-active {
  box-shadow: none;
}

/* Wave484: keep home and release side navigation as reference-sized button rows. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.game-release-reference-shell) .game-release-reference-nav-list,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 8px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 42px;
    letter-spacing: 0.2px;
    line-height: 1;
    margin: 0;
    min-height: 42px;
    padding: 10px 16px;
    transform: none;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 3px rgba(0, 0, 0, 0.2);
    color: var(--cyan);
    outline: 0;
  }
}

/* Wave486: align current Byrut flat right-rail navigation across reference surfaces. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.game-release-reference-shell) .game-release-reference-nav-list,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 8px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 36px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0 -10px;
    min-height: 36px;
    padding: 7px 10px;
    transform: none;
    width: 282px;
  }

  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a:first-of-type,
  body:has(.portal-home) .portal-side-rail section:not(:first-child):not(.portal-side-widget):not(.portal-side-tags) a:first-of-type {
    margin-top: 0;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag-cloud {
    gap: 8px;
    margin: 0 -10px;
    width: 282px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag {
    background: transparent;
    border-color: transparent;
    border-radius: 8px;
    box-shadow: none;
    height: 36px;
    line-height: normal;
    min-height: 36px;
    padding: 7px 10px;
    width: 282px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:hover,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--cyan);
    outline: 0;
  }
}

/* Wave492: keep article release updates as a Byrut-like plain metadata line, not a card. */
body:has(.game-release-reference-shell) .game-release-update-note {
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 2px;
  margin-top: 8px;
  min-height: 0;
  padding: 0;
  width: auto;
}

body:has(.game-release-reference-shell) .game-release-update-note strong {
  color: rgba(226, 235, 230, 0.78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
}

body:has(.game-release-reference-shell) .game-release-update-note .game-release-update-mark {
  color: #ff4a40;
  display: inline-block;
  font-size: 18px;
  font-weight: 950;
  margin-right: 4px;
  transform: translateY(1px);
}

body:has(.game-release-reference-shell) .game-release-update-note a {
  color: rgba(226, 235, 230, 0.62);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  body:has(.game-release-reference-shell) .game-release-update-note {
    margin-top: 7px;
    min-height: 0;
    padding: 0;
  }
}

/* Wave499: show reference-board score/year poster badges. */
body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-thumb {
  position: relative;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-badges {
  align-items: end;
  bottom: 7px;
  display: grid;
  gap: 4px;
  justify-items: end;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 4;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-score,
body:has(.portal-games-reference) .portal-games-reference .game-release-home-year {
  align-items: center;
  border-radius: 4px 0 0 4px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  line-height: normal;
  min-height: 20px;
  min-width: 36px;
  padding: 0;
  width: 36px;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-score {
  background: #46a819;
  font-size: 13px;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-score.is-mid {
  background: #46a819;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-score.is-low {
  background: #f5c518;
  color: #111;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-year {
  background: rgba(0, 0, 0, 0.68);
  font-size: 11.5px;
}

/* Wave501: restore the visible Byrut-like UPD chip on home lower cards. */
body:has(.portal-home) .portal-game-grid .game-release-home-status {
  gap: 3px;
  justify-content: flex-start;
  min-width: 43px;
  overflow: visible;
  padding: 0 5px;
  width: auto;
}

body:has(.portal-home) .portal-game-grid .game-release-home-status > span {
  display: inline;
}

body:has(.portal-home) .portal-game-grid .game-release-home-status .portal-nav-icon {
  flex: 0 0 12px;
  height: 12px;
  margin: 0;
  width: 12px;
}

/* Wave502: widen the desktop wordmark toward Byrut's stronger header lockup. */
@media (min-width: 1101px) {
  body:has(.portal-home) .brand,
  body:has(.portal-news) .brand,
  body:has(.game-release-reference-shell) .brand {
    gap: 8px;
  }

  body:has(.portal-home) .brand-copy,
  body:has(.portal-news) .brand-copy,
  body:has(.game-release-reference-shell) .brand-copy {
    display: block;
    overflow: visible;
    width: 132px;
  }

  body:has(.portal-home) .brand-copy strong,
  body:has(.portal-news) .brand-copy strong,
  body:has(.game-release-reference-shell) .brand-copy strong {
    display: block;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0.2px;
    line-height: 22px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.78);
    transform-origin: left center;
    width: 170px;
  }

  body:has(.portal-home) .brand-copy span,
  body:has(.portal-news) .brand-copy span,
  body:has(.game-release-reference-shell) .brand-copy span {
    display: none;
  }
}

/* Wave505: tune reference-board desktop vertical rhythm against Byrut new-pcgames. */
@media (min-width: 1101px) {
  body:has(.portal-news) .portal-news-main {
    padding: 16px 24px 26px;
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    margin-top: 32px;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-top: 39px;
  }
}

/* Wave506: pull mobile reference boards into Byrut's current y-rhythm. */
@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-title,
  body:has(.portal-games-reference) .portal-games-reference-title {
    transform: translateY(-5px);
  }

  body:has(.portal-games-reference) .portal-games-reference .game-release-list,
  body:has(.portal-news) .portal-news-grid {
    margin-top: 14px;
  }
}

/* Wave508: raise the desktop article hero to Byrut's current title rhythm without moving mobile or data. */
@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    transform: translateY(-3px);
  }
}

/* Wave509: drop shared reference-board cards to the current Byrut new-pcgames cadence. */
@media (min-width: 1101px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    margin-top: 39px;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-top: 46px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list,
  body:has(.portal-news) .portal-news-grid {
    margin-top: 19px;
  }
}

/* Wave510: drop release article heroes to the current Byrut title baseline. */
@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    transform: translateY(2px);
  }
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    transform: translateY(2px);
  }
}

/* Wave515: tighten shared reference-board card drop to the current Byrut new-pcgames rhythm. */
@media (min-width: 1101px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list {
    margin-top: 32px;
  }

  body:has(.portal-news) .portal-news-grid {
    margin-top: 39px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-games-reference .game-release-list,
  body:has(.portal-news) .portal-news-grid {
    margin-top: 14px;
  }
}

/* Wave516: restore Byrut's mobile article release-card title pause without moving home or board cards. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card strong {
    margin-top: 12px;
  }
}

/* Wave517: keep mobile article release dates clear of the dot rail without moving home or board cards. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-controls {
    margin-top: 16px;
  }
}

/* Wave518: fit mobile article release-card title and date into Byrut's carousel rhythm. */
@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-release-rail {
    transform: translateY(18px);
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card strong {
    -webkit-line-clamp: 1;
    display: block;
    font-size: 15px;
    height: 18px;
    line-height: 18px;
    margin-top: 12px;
    min-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:has(.game-release-reference-shell) .article-reference-release-shelf .portal-popular-card small {
    font-size: 13px;
    line-height: 15px;
    margin-top: 4px;
  }
}

/* Wave519: align release article H1 typography and baseline to Byrut without changing release data. */
body:has(.game-release-reference-shell) .game-release-hero-copy h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

@media (min-width: 1101px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    transform: translateY(-2.7px);
  }
}

@media (max-width: 720px) {
  body:has(.game-release-reference-shell) .game-release-compact-hero {
    transform: translateY(-0.7px);
  }
}

/* Wave520: align non-home reference header baseline with Byrut without changing content data. */
@media (min-width: 721px) {
  body:has(.portal-news) .topbar,
  body:has(.portal-article-board) .topbar,
  body:has(.portal-games-reference) .topbar,
  body:has(.game-release-reference-shell) .topbar {
    transform: translateY(-2px);
  }
}

/* Wave523: match Byrut's rounded home release posters without moving cards or carousel data. */
body:has(.portal-home) .portal-release-rail .game-new-poster {
  border-radius: 12px;
}

/* Wave524: restore current Byrut right-rail button-row geometry without copying light theme or foreign widgets. */
@media (min-width: 721px) {
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-games-reference) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.portal-article-board) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags),
  body:has(.game-release-reference-shell) .game-release-reference-nav-list,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list {
    gap: 8px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-home) .portal-side-rail section:first-child:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-games-reference) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.portal-article-board) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    color: rgb(212, 212, 216);
    gap: 12px;
    height: 42px;
    letter-spacing: 0.2px;
    line-height: 1;
    margin: 0;
    min-height: 42px;
    padding: 10px 16px;
    transform: none;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag-cloud {
    gap: 8px;
    margin: 0;
    width: 264px;
  }

  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(226, 235, 230, 0.08);
    border-radius: 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 1px 2px rgba(0, 0, 0, 0.18);
    height: 42px;
    line-height: 1;
    margin: 0;
    min-height: 42px;
    padding: 10px 16px;
    width: 264px;
  }

  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-home) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-news) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-games-reference) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-games-reference) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-article-board) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:hover,
  body:has(.portal-article-board) .portal-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a:focus-visible,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:hover,
  body:has(.portal-news) .portal-side-rail.is-material-rail .portal-side-tags .portal-side-tag:focus-visible,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:hover,
  body:has(.game-release-reference-shell) .game-release-reference-nav-list a:focus-visible,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:hover,
  body:has(.game-release-reference-shell) .game-release-sidecar-genre-list a:focus-visible {
    background: rgba(96, 215, 201, 0.1);
    border-color: rgba(96, 215, 201, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 1px 3px rgba(0, 0, 0, 0.2);
    color: var(--cyan);
    outline: 0;
  }
}

/* Wave525: match Byrut reference-board card type density without changing board data. */
body:has(.portal-games-reference) .portal-games-reference .game-release-card .feed-copy,
body:has(.portal-news) .news-board-card.is-poster .news-board-copy {
  gap: 7px;
  width: 100%;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-card h2,
body:has(.portal-news) .news-board-card.is-poster h2 {
  font-size: 15px;
  font-weight: 700;
  line-height: 20.25px;
  min-height: 20.25px;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats,
body:has(.portal-news) .news-board-card.is-poster .news-board-card-foot {
  font-size: 13px;
  line-height: normal;
  min-height: 17px;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-downloads,
body:has(.portal-games-reference) .portal-games-reference .game-release-home-downloads span,
body:has(.portal-news) .news-board-card.is-poster .news-board-card-downloads,
body:has(.portal-news) .news-board-card.is-poster .news-board-card-downloads span {
  font-size: 13px;
  line-height: normal;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-score,
body:has(.portal-games-reference) .portal-games-reference .game-release-home-year,
body:has(.portal-news) .news-board-card.is-poster .news-board-poster-score,
body:has(.portal-news) .news-board-card.is-poster .news-board-poster-year {
  font-weight: 500;
}

/* Wave526: fit Byrut's Latin board titles without changing card geometry or data. */
body:has(.portal-games-reference) .portal-games-reference .game-release-card h2,
body:has(.portal-news) .news-board-card.is-poster h2 {
  font-family: "RobotoBoardLatinCondensed", "Roboto", Arial, sans-serif;
  letter-spacing: 0;
}

/* Wave528: restore updated-only UPD chips on reference-board cards without data coupling. */
body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats:not(.is-download-only) {
  gap: 8px;
  justify-content: space-between;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats:not(.is-download-only) .game-release-home-status {
  background: rgba(255, 255, 255, 0.065);
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  color: rgba(226, 235, 230, 0.72);
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
  height: 16px;
  min-height: 16px;
  padding: 0 5px;
  white-space: nowrap;
}

body:has(.portal-games-reference) .portal-games-reference .game-release-home-quickstats:not(.is-download-only) .game-release-home-status .portal-nav-icon {
  flex: 0 0 12px;
  height: 12px;
  inline-size: 12px;
  margin: 0;
}

/* Wave534: retire user-annotated public chrome from stale markup and cached CSS. */
.portal-top-stats-ribbon,
.portal-side-tag-picker,
.portal-home-footer-updates,
[class*="portal-footer-update" i],
footer.footer {
  border: 0 !important;
  content-visibility: hidden !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Wave537: make material tabs render through the same game-card rhythm. */
body:has(.portal-news) .portal-news-grid .material-game-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
}

body:has(.portal-news) .portal-news-grid .material-game-card::before {
  display: none;
}

body:has(.portal-news) .portal-news-grid .material-game-card > a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: auto;
  min-height: 0;
  padding: 0;
}

body:has(.portal-news) .portal-news-grid .material-game-card .feed-thumb,
body:has(.portal-news) .portal-news-grid .material-game-card .news-board-thumb {
  aspect-ratio: 179 / 246;
  background: rgba(8, 13, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 8px;
  box-shadow: none;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

body:has(.portal-news) .portal-news-grid .material-game-card .feed-thumb img,
body:has(.portal-news) .portal-news-grid .material-game-card .news-board-thumb img {
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body:has(.portal-news) .portal-news-grid .material-game-card .feed-copy,
body:has(.portal-news) .portal-news-grid .material-game-card .news-board-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0;
  width: 100%;
}

body:has(.portal-news) .portal-news-grid .material-game-card .content-kicker {
  display: none;
}

body:has(.portal-news) .portal-news-grid .material-game-card h2 {
  color: rgb(244, 244, 245);
  display: block;
  font-family: "RobotoBoardLatinCondensed", "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 20.25px;
  margin: 0;
  max-width: 100%;
  min-height: 20.25px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: 1;
}

body:has(.portal-news) .portal-news-grid .material-game-card .game-release-home-quickstats {
  align-items: center;
  color: rgba(212, 212, 216, 0.66);
  display: flex;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: normal;
  min-height: 17px;
  width: 100%;
}

body:has(.portal-news) .portal-news-grid .material-game-card .game-release-home-downloads,
body:has(.portal-news) .portal-news-grid .material-game-card .game-release-home-downloads span {
  align-items: center;
  color: rgba(212, 212, 216, 0.58);
  display: inline-flex;
  font-size: 13px;
  gap: 4px;
  line-height: normal;
  min-width: 0;
}

body:has(.portal-news) .portal-news-grid .material-game-card .game-release-home-downloads .portal-nav-icon {
  color: currentColor;
  flex: 0 0 13px;
  height: 13px;
  opacity: 0.82;
  width: 13px;
}

body:has(.portal-news) .portal-news-grid .material-game-card .news-board-poster-badges,
body:has(.portal-news) .portal-news-grid .material-game-card .news-board-card-foot,
body:has(.portal-news) .portal-news-grid .material-game-card .news-topic-tag,
body:has(.portal-news) .portal-news-grid .material-game-card p,
body:has(.portal-news) .portal-news-grid .material-game-card small {
  display: none;
}

@media (max-width: 720px) {
  body:has(.portal-news) .portal-news-grid .material-game-card {
    max-width: none;
    min-height: 302px;
    min-width: 0;
    width: 100%;
  }

  body:has(.portal-news) .portal-news-grid .material-game-card > a {
    gap: 6px;
  }

  body:has(.portal-news) .portal-news-grid .material-game-card .feed-thumb,
  body:has(.portal-news) .portal-news-grid .material-game-card .news-board-thumb {
    aspect-ratio: auto;
    height: clamp(224px, 63vw, 246px);
    width: 100%;
  }

  body:has(.portal-news) .portal-news-grid .material-game-card h2 {
    font-size: 14px;
    line-height: 1.16;
    min-height: 0;
  }

  body:has(.portal-news) .portal-news-grid .material-game-card .game-release-home-quickstats {
    min-height: 18px;
  }
}

@media (max-width: 720px) {
  body:has(.portal-categories-page) .category-finder-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body:has(.portal-categories-page) .category-finder-head > * {
    min-width: 0;
  }

  body:has(.portal-categories-page) .category-finder-head h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  body:has(.portal-categories-page) .category-finder-stats {
    display: none;
  }

  body:has(.portal-categories-page) .category-intent-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body:has(.portal-categories-page) .category-intent-row a {
    max-width: none;
    min-width: 0;
  }

  body:has(.portal-categories-page) .category-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body:has(.portal-categories-page) .category-filter-row button {
    max-width: none;
    min-width: 0;
  }
}

/* Wave549: keep the new reference chrome alive and identical across public tabs. */
@media (min-width: 721px) {
  body:has(.portal-home) .topbar,
  body:has(.portal-news) .topbar,
  body:has(.portal-article-board) .topbar,
  body:has(.portal-games-reference) .topbar,
  body:has(.game-release-reference-shell) .topbar,
  body:has(.article-view-material) .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
  }
}

@media (max-width: 720px) {
  body:has(.portal-home),
  body:has(.portal-news),
  body:has(.portal-article-board),
  body:has(.portal-games-reference),
  body:has(.game-release-reference-shell) {
    --topbar-fixed-offset: 58px;
  }

  body:has(.portal-home) .topbar,
  body:has(.portal-news) .topbar,
  body:has(.portal-article-board) .topbar,
  body:has(.portal-games-reference) .topbar,
  body:has(.game-release-reference-shell) .topbar,
  body:has(.article-view-material) .topbar {
    left: 0;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    width: 100%;
    z-index: 100;
  }
}

/* Wave550: make material article chrome use the same reference topbar geometry as game tabs. */
@media (min-width: 721px) {
  body:has(.article-view-material) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body:has(.article-view-material) .brand {
    gap: 7px;
  }

  body:has(.article-view-material) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.article-view-material) .brand-mark video,
  body:has(.article-view-material) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.article-view-material) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.article-view-material) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.article-view-material) .brand-copy span,
  body:has(.article-view-material) .menu-icon-button,
  body:has(.article-view-material) .nav {
    display: none;
  }

  body:has(.article-view-material) .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body:has(.article-view-material) .site-search,
  body:has(.article-view-material) .site-search:hover,
  body:has(.article-view-material) .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.article-view-material) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.article-view-material) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.article-view-material) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.article-view-material) .theme-icon-button,
  body:has(.article-view-material) .updates-icon-button,
  body:has(.article-view-material) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}

@media (max-width: 720px) {
  body:has(.article-view-material) {
    --topbar-fixed-offset: 58px;
  }

  body:has(.article-view-material) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: 0;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: none;
    width: 100%;
    z-index: 100;
  }

  body:has(.article-view-material) .nav {
    display: none;
  }

  body:has(.article-view-material) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.article-view-material) .brand-mark video,
  body:has(.article-view-material) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.article-view-material) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.article-view-material) .site-search,
  body:has(.article-view-material) .site-search:hover,
  body:has(.article-view-material) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.article-view-material) .search-icon-button,
  body:has(.article-view-material) .menu-icon-button,
  body:has(.article-view-material) .theme-icon-button,
  body:has(.article-view-material) .updates-icon-button,
  body:has(.article-view-material) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
}

/* Wave551: extend reference topbar geometry to game articles below wide desktop. */
@media (min-width: 721px) {
  body:has(.game-release-reference-shell) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body:has(.game-release-reference-shell) .brand {
    gap: 7px;
  }

  body:has(.game-release-reference-shell) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .brand-mark video,
  body:has(.game-release-reference-shell) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.game-release-reference-shell) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.game-release-reference-shell) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.game-release-reference-shell) .brand-copy span,
  body:has(.game-release-reference-shell) .menu-icon-button,
  body:has(.game-release-reference-shell) .nav {
    display: none;
  }

  body:has(.game-release-reference-shell) .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body:has(.game-release-reference-shell) .site-search,
  body:has(.game-release-reference-shell) .site-search:hover,
  body:has(.game-release-reference-shell) .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.game-release-reference-shell) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.game-release-reference-shell) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.game-release-reference-shell) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.game-release-reference-shell) .theme-icon-button,
  body:has(.game-release-reference-shell) .updates-icon-button,
  body:has(.game-release-reference-shell) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}
/* Wave555 final: auth/account topbar override must stay after all legacy page rules. */
@media (min-width: 721px) {
  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body:has(.auth-shell) .brand,
  body:has(.account-hero) .brand,
  body:has(.account-grid) .brand {
    gap: 7px;
  }

  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-copy,
  body:has(.account-hero) .brand-copy,
  body:has(.account-grid) .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body:has(.auth-shell) .brand-copy strong,
  body:has(.account-hero) .brand-copy strong,
  body:has(.account-grid) .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body:has(.auth-shell) .brand-copy span,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .nav,
  body:has(.account-hero) .brand-copy span,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .brand-copy span,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body:has(.auth-shell) .site-search input,
  body:has(.account-hero) .site-search input,
  body:has(.account-grid) .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body:has(.auth-shell) .site-search input::placeholder,
  body:has(.account-hero) .site-search input::placeholder,
  body:has(.account-grid) .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body:has(.auth-shell) .site-search .search-icon-button,
  body:has(.account-hero) .site-search .search-icon-button,
  body:has(.account-grid) .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    margin-left: 0;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}

@media (max-width: 720px) {
  body:has(.auth-shell),
  body:has(.account-hero),
  body:has(.account-grid) {
    --topbar-fixed-offset: 58px;
  }

  body:has(.auth-shell) .topbar,
  body:has(.account-hero) .topbar,
  body:has(.account-grid) .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: 0;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: none;
    width: 100%;
    z-index: 100;
  }

  body:has(.auth-shell) .nav,
  body:has(.account-hero) .nav,
  body:has(.account-grid) .nav {
    display: none;
  }

  body:has(.auth-shell) .brand-mark,
  body:has(.account-hero) .brand-mark,
  body:has(.account-grid) .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .brand-mark video,
  body:has(.auth-shell) .brand-mark img,
  body:has(.account-hero) .brand-mark video,
  body:has(.account-hero) .brand-mark img,
  body:has(.account-grid) .brand-mark video,
  body:has(.account-grid) .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body:has(.auth-shell) .header-actions,
  body:has(.account-hero) .header-actions,
  body:has(.account-grid) .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body:has(.auth-shell) .site-search,
  body:has(.auth-shell) .site-search:hover,
  body:has(.auth-shell) .site-search:focus-within,
  body:has(.account-hero) .site-search,
  body:has(.account-hero) .site-search:hover,
  body:has(.account-hero) .site-search:focus-within,
  body:has(.account-grid) .site-search,
  body:has(.account-grid) .site-search:hover,
  body:has(.account-grid) .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body:has(.auth-shell) .search-icon-button,
  body:has(.auth-shell) .menu-icon-button,
  body:has(.auth-shell) .theme-icon-button,
  body:has(.auth-shell) .updates-icon-button,
  body:has(.auth-shell) .account-icon-button,
  body:has(.account-hero) .search-icon-button,
  body:has(.account-hero) .menu-icon-button,
  body:has(.account-hero) .theme-icon-button,
  body:has(.account-hero) .updates-icon-button,
  body:has(.account-hero) .account-icon-button,
  body:has(.account-grid) .search-icon-button,
  body:has(.account-grid) .menu-icon-button,
  body:has(.account-grid) .theme-icon-button,
  body:has(.account-grid) .updates-icon-button,
  body:has(.account-grid) .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
}
/* Wave556 final: route classes keep login/account chrome stable even if main content is empty. */
@media (min-width: 721px) {
  body.is-auth-route .topbar,
  body.is-account-route .topbar {
    align-items: center;
    background: rgba(24, 24, 27, 0.65);
    border: 1px solid rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    letter-spacing: 0.21px;
    line-height: normal;
    margin: 12px auto 0;
    max-width: 1130px;
    min-height: 58px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    transform: translateY(-2px);
    width: calc(100% - 48px);
    z-index: 100;
  }

  body.is-auth-route .brand,
  body.is-account-route .brand {
    gap: 7px;
  }

  body.is-auth-route .brand-mark,
  body.is-account-route .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body.is-auth-route .brand-mark video,
  body.is-auth-route .brand-mark img,
  body.is-account-route .brand-mark video,
  body.is-account-route .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body.is-auth-route .brand-copy,
  body.is-account-route .brand-copy {
    display: block;
    overflow: visible;
    width: 98px;
  }

  body.is-auth-route .brand-copy strong,
  body.is-account-route .brand-copy strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 19px;
    max-width: none;
    text-transform: uppercase;
    transform: scaleX(0.636);
    transform-origin: left center;
    width: 154px;
  }

  body.is-auth-route .brand-copy span,
  body.is-auth-route .menu-icon-button,
  body.is-auth-route .nav,
  body.is-account-route .brand-copy span,
  body.is-account-route .menu-icon-button,
  body.is-account-route .nav {
    display: none;
  }

  body.is-auth-route .header-actions,
  body.is-account-route .header-actions {
    font-family: "Roboto", Arial, sans-serif;
    gap: 14px;
    grid-column: 2 / -1;
    justify-content: flex-end;
    justify-self: stretch;
    letter-spacing: 0.21px;
  }

  body.is-auth-route .site-search,
  body.is-auth-route .site-search:hover,
  body.is-auth-route .site-search:focus-within,
  body.is-account-route .site-search,
  body.is-account-route .site-search:hover,
  body.is-account-route .site-search:focus-within {
    flex: 0 0 min(325px, 38vw);
    max-width: 325px;
    min-height: 40px;
    min-width: min(325px, 38vw);
    width: min(325px, 38vw);
  }

  body.is-auth-route .site-search input,
  body.is-account-route .site-search input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: rgb(228, 228, 231);
    font-size: 15px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
    padding: 0 40px 0 16px;
  }

  body.is-auth-route .site-search input::placeholder,
  body.is-account-route .site-search input::placeholder {
    color: rgb(113, 113, 122);
    opacity: 1;
  }

  body.is-auth-route .site-search .search-icon-button,
  body.is-account-route .site-search .search-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--muted);
    flex-basis: 36px;
    height: 34px;
    min-height: 34px;
    min-width: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
  }

  body.is-auth-route .theme-icon-button,
  body.is-auth-route .updates-icon-button,
  body.is-auth-route .account-icon-button,
  body.is-account-route .theme-icon-button,
  body.is-account-route .updates-icon-button,
  body.is-account-route .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.88);
    flex: 0 0 40px;
    height: 32px;
    margin-left: 0;
    min-height: 32px;
    min-width: 40px;
    width: 40px;
  }
}

@media (max-width: 720px) {
  body.is-auth-route,
  body.is-account-route {
    --topbar-fixed-offset: 58px;
  }

  body.is-auth-route .topbar,
  body.is-account-route .topbar {
    background: rgba(24, 24, 27, 0.65);
    border-color: rgba(226, 235, 230, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    gap: 0;
    height: 58px;
    left: 0;
    min-height: 58px;
    padding: 0 10px 0 18px;
    position: fixed;
    right: 0;
    top: env(safe-area-inset-top, 0px);
    transform: none;
    width: 100%;
    z-index: 100;
  }

  body.is-auth-route .nav,
  body.is-account-route .nav {
    display: none;
  }

  body.is-auth-route .brand-mark,
  body.is-account-route .brand-mark {
    background: transparent;
    border-color: rgba(226, 235, 230, 0.12);
    border-radius: 10px;
    height: 32px;
    width: 32px;
  }

  body.is-auth-route .brand-mark video,
  body.is-auth-route .brand-mark img,
  body.is-account-route .brand-mark video,
  body.is-account-route .brand-mark img {
    border-radius: 8px;
    height: 32px;
    width: 32px;
  }

  body.is-auth-route .header-actions,
  body.is-account-route .header-actions {
    gap: 8px;
    justify-content: flex-start;
    justify-self: start;
    margin-left: 49px;
    width: max-content;
  }

  body.is-auth-route .site-search,
  body.is-auth-route .site-search:hover,
  body.is-auth-route .site-search:focus-within,
  body.is-account-route .site-search,
  body.is-account-route .site-search:hover,
  body.is-account-route .site-search:focus-within {
    flex-basis: 44px;
    max-width: 44px;
    min-width: 44px;
    width: 44px;
  }

  body.is-auth-route .search-icon-button,
  body.is-auth-route .menu-icon-button,
  body.is-auth-route .theme-icon-button,
  body.is-auth-route .updates-icon-button,
  body.is-auth-route .account-icon-button,
  body.is-account-route .search-icon-button,
  body.is-account-route .menu-icon-button,
  body.is-account-route .theme-icon-button,
  body.is-account-route .updates-icon-button,
  body.is-account-route .account-icon-button {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(242, 245, 241, 0.86);
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }
}

.article-reference-view {
  margin-top: 0;
  max-width: 1130px;
  width: min(1130px, calc(100vw - 48px));
}

.article-reference-shell {
  gap: 12px;
  grid-template-columns: minmax(0, 822px) minmax(260px, 296px);
  justify-content: start;
  max-width: 1130px;
  width: 100%;
}

.article-reference-detail-card {
  align-content: start;
  gap: 20px;
  min-width: 0;
  padding: 0 24px 32px;
}

.article-reference-detail-card .article-reading-hero {
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 24px;
  padding: 8px 0 4px;
}

.article-reference-detail-card .article-reading-hero.has-cover {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.article-reference-detail-card .article-reading-copy header {
  display: grid;
  gap: 12px;
}

.article-reference-detail-card .article-reading-copy h1 {
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

.article-reference-detail-card .article-reading-copy header > p:not(.eyebrow) {
  color: rgba(228, 228, 231, 0.82);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.article-reference-detail-card .article-reading-copy .eyebrow {
  color: rgba(212, 212, 216, 0.72);
  font-size: 12px;
  margin: 0;
}

.article-reference-detail-card .article-reading-copy .chips {
  gap: 6px;
  margin-top: 2px;
}

.article-reference-detail-card .article-reading-copy .chips a,
.article-reference-detail-card .article-reading-copy .chips span {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(226, 235, 230, 0.1);
  border-radius: 6px;
  color: rgba(228, 228, 231, 0.76);
  font-size: 12px;
  min-height: 26px;
  padding: 4px 8px;
}

.article-reference-detail-card .article-reading-media .article-cover {
  background: #101114;
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  width: 100%;
}

.article-reference-detail-card .article-reading-media .article-cover img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  max-height: none;
  object-fit: cover;
  width: 100%;
}

.article-reference-body {
  color: rgba(228, 228, 231, 0.9);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  min-width: 0;
}

.article-reference-side-rail {
  align-self: stretch;
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding: 21px 16px 24px;
  position: relative;
  top: auto;
}

.article-reference-side-rail section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 8px;
  padding: 0;
}

.article-reference-side-rail h2 {
  color: rgb(244, 244, 245);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 3px;
}

.article-reference-side-rail section:not(.portal-side-widget):not(.portal-side-tags) a {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(226, 235, 230, 0.1);
  border-radius: 6px;
  color: rgb(212, 212, 216);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  min-height: 42px;
  padding: 8px 12px;
}

.game-profile-reference-shell {
  gap: 12px;
  grid-template-columns: minmax(0, 822px) minmax(260px, 296px);
}

.game-profile-detail-card {
  gap: 18px;
}

.game-profile-hero {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(226, 235, 230, 0.08);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.game-profile-hero h1 {
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
}

.game-profile-hero > p:not(.eyebrow) {
  color: rgba(228, 228, 231, 0.82);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

.game-profile-chips {
  gap: 6px;
  margin: 0;
}

.game-profile-materials {
  display: grid;
  gap: 14px;
}

.game-profile-materials .section-head {
  margin: 0;
}

.game-profile-material-grid {
  margin-top: 0;
}

@media (max-width: 720px) {
  .article-reference-view {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
  }

  .article-reference-shell {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  .article-reference-detail-card {
    border-left: 0;
    border-radius: 10px;
    border-right: 0;
    gap: 18px;
    padding: 0 16px 24px;
  }

  .article-reference-detail-card .article-reading-hero,
  .article-reference-detail-card .article-reading-hero.has-cover {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 4px;
  }

  .article-reference-detail-card .article-reading-copy h1 {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.08;
  }

  .article-reference-detail-card .article-reading-media .article-cover {
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .article-reference-detail-card .article-reading-media .article-cover img {
    height: 100%;
  }

  .article-reference-side-rail {
    display: none;
  }

  .game-profile-reference-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-profile-hero {
    border-left: 0;
    border-radius: 8px;
    border-right: 0;
    margin-left: -16px;
    margin-right: -16px;
    padding: 20px 16px;
  }

  .game-profile-hero h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .article-reference-body {
    font-size: 16px;
    line-height: 1.64;
  }
}

/* Wave564: keep public rails sticky and game loading automatic. */
@media (min-width: 1101px) {
  body:has(.portal-home) .portal-side-rail,
  body:has(.portal-news) .portal-news .portal-side-rail,
  body:has(.article-reference-shell) .article-reference-side-rail {
    align-self: start;
    height: auto;
    max-height: calc(100dvh - 92px);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: sticky;
    scrollbar-width: thin;
    top: 76px;
  }
}

.game-feed-sentinel {
  align-items: center;
  color: rgba(228, 228, 231, 0.72);
  display: flex;
  font-size: 14px;
  justify-content: center;
  min-height: 64px;
  padding: 16px 20px;
  text-align: center;
  width: 100%;
}

.game-feed-sentinel.is-complete {
  color: var(--muted);
  min-height: 48px;
}

.game-feed-retry {
  background: rgba(96, 215, 201, 0.1);
  border: 1px solid rgba(96, 215, 201, 0.24);
  border-radius: 8px;
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 16px;
}

.game-feed-retry:hover,
.game-feed-retry:focus-visible {
  background: rgba(96, 215, 201, 0.16);
  border-color: rgba(96, 215, 201, 0.42);
  outline: 0;
}

@media (max-width: 720px) {
  body:has(.portal-home) .portal-catalog-tabs,
  body:has(.portal-news) .portal-catalog-tabs {
    position: sticky;
    top: var(--topbar-fixed-offset, 58px);
    z-index: 80;
  }

  .game-feed-sentinel {
    min-height: 56px;
    padding: 12px 16px;
  }
}

/* Wave567: compact route-based admin workspace. */
body.is-admin-route {
  padding-top: 0;
}

body.is-admin-route .topbar,
body.is-admin-route .search-drawer,
body.is-admin-route .menu-drawer,
body.is-admin-route .auth-drawer,
body.is-admin-route .updates-drawer {
  display: none;
}

body.is-admin-route main {
  margin: 0 auto;
  max-width: 1440px;
  padding: 16px;
  width: 100%;
}

body.is-admin-route .admin-console {
  gap: 16px;
  grid-template-columns: 220px minmax(0, 1fr);
}

body.is-admin-route .admin-sidebar {
  align-self: start;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  position: sticky;
  top: 16px;
}

body.is-admin-route .admin-nav a.is-active {
  background: rgba(96, 215, 201, 0.14);
  border-color: rgba(96, 215, 201, 0.32);
  color: var(--text);
}

body.is-admin-route .admin-main {
  gap: 14px;
}

body.is-admin-route .admin-hero {
  align-items: center;
  padding: 20px;
}

body.is-admin-route .admin-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

body.is-admin-route .admin-hero-meta {
  min-width: min(390px, 100%);
}

body.is-admin-route .admin-hero-meta strong {
  font-size: 20px;
}

body.is-admin-route .admin-panel-head p:not(.eyebrow) {
  max-width: 720px;
}

body.is-admin-route .table-shell {
  max-width: 100%;
  overflow: auto;
}

body.is-admin-route .table-shell thead th {
  background: rgb(29, 34, 38);
  position: sticky;
  top: 0;
  z-index: 1;
}

body.is-admin-route .form-notice {
  margin: 0;
}

@media (max-width: 1120px) {
  body.is-admin-route main {
    padding: 0 12px 16px;
  }

  body.is-admin-route .admin-console {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  body.is-admin-route .admin-sidebar {
    align-items: center;
    border-radius: 0 0 10px 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 -12px;
    max-height: none;
    overflow: hidden;
    padding: 8px 12px;
    position: sticky;
    top: 0;
    z-index: 90;
  }

  body.is-admin-route .admin-sidebar-head,
  body.is-admin-route .admin-side-card {
    display: none;
  }

  body.is-admin-route .admin-nav {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  body.is-admin-route .admin-nav::-webkit-scrollbar {
    display: none;
  }

  body.is-admin-route .admin-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  body.is-admin-route .admin-side-actions,
  body.is-admin-route .admin-side-actions form {
    display: block;
  }

  body.is-admin-route .admin-side-actions button {
    min-height: 38px;
    padding: 7px 12px;
    width: auto;
  }
}

@media (max-width: 720px) {
  body.is-admin-route .admin-hero,
  body.is-admin-route .admin-tool-grid {
    grid-template-columns: 1fr;
  }

  body.is-admin-route .admin-hero {
    gap: 14px;
    padding: 16px;
  }

  body.is-admin-route .admin-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
  }

  body.is-admin-route .admin-hero-meta span {
    min-width: 0;
    padding: 8px;
  }

  body.is-admin-route .admin-hero-meta strong {
    font-size: 18px;
  }

  body.is-admin-route .admin-monitor-grid,
  body.is-admin-route .admin-metric-grid,
  body.is-admin-route .admin-queue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-admin-route .pipeline-grid,
  body.is-admin-route .admin-monitor-split {
    grid-template-columns: 1fr;
  }

  body.is-admin-route .admin-panel,
  body.is-admin-route .admin-monitoring {
    border-radius: 8px;
  }

  body.is-admin-route .admin-mobile-cards {
    border: 0;
    overflow: visible;
  }

  body.is-admin-route .admin-mobile-cards table,
  body.is-admin-route .admin-mobile-cards tbody,
  body.is-admin-route .admin-mobile-cards tr,
  body.is-admin-route .admin-mobile-cards td {
    display: block;
    width: 100%;
  }

  body.is-admin-route .admin-mobile-cards thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  body.is-admin-route .admin-mobile-cards tbody {
    display: grid;
    gap: 10px;
  }

  body.is-admin-route .admin-mobile-cards tr {
    background: rgba(17, 23, 27, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    overflow: hidden;
  }

  body.is-admin-route .admin-mobile-cards td {
    align-items: start;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: grid;
    gap: 10px;
    grid-template-columns: 88px minmax(0, 1fr);
    overflow-wrap: anywhere;
    padding: 10px 12px;
    white-space: normal;
  }

  body.is-admin-route .admin-mobile-cards td:last-child {
    border-bottom: 0;
  }

body.is-admin-route .admin-mobile-cards td::before {
  color: var(--muted);
  content: attr(data-label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

  body.is-admin-route .admin-mobile-cards td[colspan] {
    display: block;
  }

  body.is-admin-route .admin-mobile-cards td[colspan]::before {
    display: none;
  }

  body.is-admin-route .admin-mobile-cards form,
  body.is-admin-route .admin-mobile-cards button {
    width: 100%;
  }
}

/* Wave570: unify game category and facet controls with the reference board. */
body:has(.portal-games-reference) .portal-games-reference-filter {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

body:has(.portal-games-reference) .portal-games-reference-filter .portal-games-reference-tabs {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.portal-games-taxonomy-filters {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.portal-games-genre-filters,
.portal-games-facet-filters {
  align-items: center;
  display: flex;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 1px 2px 5px;
  scroll-padding-inline: 8px;
  scrollbar-color: rgba(96, 215, 201, 0.34) transparent;
  scrollbar-width: thin;
  white-space: nowrap;
}

.portal-games-genre-filters a,
.portal-games-facet-filters a {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: rgba(228, 228, 231, 0.82);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  line-height: 1;
  min-height: 36px;
  padding: 8px 11px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.portal-games-facet-filters > span {
  color: rgba(161, 161, 170, 0.7);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-inline: 2px 4px;
  text-transform: uppercase;
}

.portal-games-genre-filters a > span,
.portal-games-facet-filters a > span {
  color: rgba(161, 161, 170, 0.72);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.portal-games-genre-filters a:hover,
.portal-games-genre-filters a:focus-visible,
.portal-games-facet-filters a:hover,
.portal-games-facet-filters a:focus-visible {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgb(244, 244, 245);
}

.portal-games-genre-filters a.is-active,
.portal-games-facet-filters a.is-active {
  background: rgba(96, 215, 201, 0.16);
  border-color: rgba(96, 215, 201, 0.42);
  color: rgb(151, 238, 227);
}

body:has(.portal-games-reference) .portal-side-rail a.is-active {
  color: rgb(121, 230, 217);
}

body:has(.portal-games-reference) .portal-side-rail a.is-active .portal-nav-icon {
  color: currentColor;
  opacity: 1;
}

@media (max-width: 720px) {
  body:has(.portal-games-reference) .portal-news-main,
  body:has(.portal-games-reference) .portal-games-reference-filter {
    max-width: 100%;
    min-width: 0;
  }

  body:has(.portal-games-reference) .portal-games-reference-filter .portal-games-reference-tabs {
    align-items: center;
    flex-direction: row;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
  }

  body:has(.portal-games-reference) .portal-games-reference-filter .portal-games-reference-tabs a {
    flex: 0 0 auto;
    width: max-content;
  }

  .portal-games-taxonomy-filters {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .portal-games-genre-filters,
  .portal-games-facet-filters {
    margin-inline: -2px;
    padding-bottom: 6px;
  }

  .portal-games-genre-filters a,
  .portal-games-facet-filters a {
    min-height: 40px;
    padding-inline: 12px;
  }
}

/* Wave571: make local CAPTCHA and one-level replies usable. */
.comment-form-error {
  background: rgba(224, 75, 75, 0.12);
  border: 1px solid rgba(255, 110, 110, 0.42);
  border-radius: 8px;
  color: #ffb2b2;
  margin: 0;
  padding: 11px 13px;
}

.comment-captcha {
  gap: 6px 12px;
  grid-template-columns: 28px minmax(0, 1fr) minmax(92px, 120px);
  width: min(520px, calc(100% - 52px));
}

.comment-captcha .comment-captcha-question {
  color: rgba(242, 245, 241, 0.9);
  font-size: 15px;
  grid-column: 2;
  letter-spacing: 0.02em;
  text-transform: none;
}

.comment-captcha label {
  display: grid;
  gap: 4px;
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}

.comment-captcha label span {
  color: rgba(242, 245, 241, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.comment-captcha input[name="captchaAnswer"] {
  background: rgba(5, 8, 13, 0.7);
  border: 1px solid rgba(96, 215, 201, 0.38);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  min-height: 40px;
  padding: 7px 10px;
  width: 100%;
}

.comment-reply-composer {
  margin-block: 8px 12px;
  margin-left: 52px;
  max-width: calc(100% - 52px);
}

.comment-reply-composer summary {
  color: rgba(151, 238, 227, 0.9);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style-position: inside;
  padding: 6px 0;
  width: max-content;
}

.comment-reply-form {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-top: 8px;
  padding: 12px;
}

.comment-reply-form > label {
  color: rgba(242, 245, 241, 0.7);
  display: grid;
  font-size: 12px;
  gap: 6px;
  margin: 0;
}

.comment-reply-form textarea {
  background: rgba(5, 8, 13, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}

.comment-reply-form .comment-captcha {
  margin-left: 0;
  width: 100%;
}

.comment-reply-submit {
  justify-self: start;
  min-height: 40px;
}

.comment-replies {
  border-left: 2px solid rgba(96, 215, 201, 0.22);
  display: grid;
  margin-left: 52px;
  padding-left: 14px;
}

.comment-card.is-reply {
  grid-template-columns: 34px minmax(0, 1fr);
  padding-block: 12px;
}

.comment-card.is-reply .comment-card-avatar {
  height: 34px;
  width: 34px;
}

@media (max-width: 720px) {
  .comment-captcha {
    grid-template-columns: 24px minmax(0, 1fr);
    margin-left: 0;
    width: 100%;
  }

  .comment-captcha label {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .comment-captcha .comment-captcha-question {
    grid-column: 2;
  }

  .comment-replies,
  .comment-reply-composer {
    margin-left: 20px;
    max-width: calc(100% - 20px);
  }

  .comment-replies {
    padding-left: 10px;
  }

  .comment-reply-form {
    padding: 10px;
  }
}

/* Wave591: replace the legacy animated identity with the static Electric E system. */
.topbar .brand .brand-mark {
  background: rgba(3, 8, 18, 0.92);
  border-color: rgba(45, 233, 244, 0.34);
  box-shadow: 0 0 18px rgba(32, 217, 255, 0.12);
  overflow: hidden;
}

.topbar .brand .brand-mark img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

@media (min-width: 721px) {
  .topbar .brand .brand-copy {
    display: block;
    overflow: visible;
    width: auto;
  }

  .topbar .brand .brand-copy strong {
    color: #f3ffff;
    display: block;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.55px;
    line-height: 1;
    max-width: none;
    text-shadow: 0 0 14px rgba(32, 217, 255, 0.18);
    text-transform: none;
    transform: none;
    width: auto;
  }
}

@media (max-width: 720px) {
  .topbar .brand .brand-copy {
    display: none;
  }
}
