:root {
  color-scheme: light;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  --bg: #f7fbff;
  --bg-deep: #edf4ff;
  --bg-floor: #f8f1ff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.74);
  --panel-glow: rgba(255, 255, 255, 0.68);
  --surface: rgba(255, 255, 255, 0.62);
  --surface-soft: rgba(255, 255, 255, 0.48);
  --surface-dark: rgba(25, 64, 112, 0.12);
  --topbar: rgba(255, 255, 255, 0.76);
  --topbar-shadow: 0 18px 44px rgba(79, 110, 154, 0.16);
  --line: rgba(74, 110, 159, 0.14);
  --line-strong: rgba(74, 110, 159, 0.24);
  --text: #1b345b;
  --muted: #637fa6;
  --blue: #3caeff;
  --sky: #2e8fd4;
  --yellow: #ffd454;
  --orange: #ff995d;
  --pink: #ff74bb;
  --green: #60e5b1;
  --shadow: 0 24px 52px rgba(76, 101, 141, 0.16);
  --field-bg: rgba(255, 255, 255, 0.84);
  --chip-bg: rgba(255, 255, 255, 0.68);
  --chip-hover: rgba(255, 255, 255, 0.88);
  --chip-text: var(--text);
  --placeholder: #8da4c4;
  --body-accent-a: rgba(83, 194, 255, 0.2);
  --body-accent-b: rgba(255, 116, 187, 0.14);
  --body-accent-c: rgba(96, 229, 177, 0.12);
  --body-dot-a: rgba(68, 126, 194, 0.12);
  --body-dot-b: rgba(255, 190, 86, 0.16);
  --body-dot-c: rgba(111, 169, 233, 0.12);
  --spotlight-scrim-top: rgba(255, 255, 255, 0.12);
  --spotlight-scrim-bottom: rgba(16, 36, 68, 0.38);
  --spotlight-accent-a: rgba(83, 194, 255, 0.14);
  --spotlight-accent-b: rgba(255, 116, 187, 0.1);
  --thumb-bg:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(180deg, #d9eaff 0%, #bfd8ff 100%);
  --button-secondary-bg: rgba(255, 255, 255, 0.68);
  --button-secondary-border: rgba(74, 110, 159, 0.16);
  --support-bg: rgba(60, 174, 255, 0.12);
  --support-border: rgba(60, 174, 255, 0.18);
  --support-text: #2a87cb;
  --badge-dark-bg: rgba(16, 42, 79, 0.12);
  --badge-dark-text: #224f83;
  --mock-spotlight-a: rgba(255, 255, 255, 0.24);
  --mock-spotlight-b: rgba(27, 73, 133, 0.24);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1240px, calc(100vw - 32px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1730;
  --bg-deep: #132344;
  --bg-floor: #182e59;
  --panel: rgba(12, 25, 49, 0.84);
  --panel-soft: rgba(17, 37, 71, 0.78);
  --panel-glow: rgba(14, 28, 57, 0.9);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --surface-dark: rgba(8, 18, 38, 0.72);
  --topbar: rgba(8, 18, 38, 0.74);
  --topbar-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --muted: #bfd0f7;
  --blue: #53c2ff;
  --sky: #8adfff;
  --shadow: 0 20px 60px rgba(2, 8, 22, 0.35);
  --field-bg: rgba(255, 255, 255, 0.06);
  --chip-bg: rgba(255, 255, 255, 0.06);
  --chip-hover: rgba(255, 255, 255, 0.1);
  --chip-text: #fff;
  --placeholder: #d5def5;
  --body-accent-a: rgba(83, 194, 255, 0.18);
  --body-accent-b: rgba(255, 116, 187, 0.18);
  --body-accent-c: rgba(96, 229, 177, 0.12);
  --body-dot-a: rgba(255, 255, 255, 0.35);
  --body-dot-b: rgba(255, 212, 84, 0.2);
  --body-dot-c: rgba(138, 223, 255, 0.2);
  --spotlight-scrim-top: rgba(5, 9, 20, 0.12);
  --spotlight-scrim-bottom: rgba(5, 12, 28, 0.86);
  --spotlight-accent-a: rgba(83, 194, 255, 0.18);
  --spotlight-accent-b: rgba(255, 116, 187, 0.14);
  --thumb-bg:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 55%),
    #112443;
  --button-secondary-bg: rgba(255, 255, 255, 0.08);
  --button-secondary-border: rgba(255, 255, 255, 0.12);
  --support-bg: rgba(114, 202, 255, 0.12);
  --support-border: rgba(114, 202, 255, 0.16);
  --support-text: #d7f4ff;
  --badge-dark-bg: rgba(8, 18, 38, 0.7);
  --badge-dark-text: #fff;
  --mock-spotlight-a: rgba(255, 255, 255, 0.16);
  --mock-spotlight-b: rgba(10, 24, 50, 0.75);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="ar"] .material-symbols-rounded {
  font-family: "Material Symbols Rounded" !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  text-align: start;
  background:
    radial-gradient(circle at top right, var(--body-accent-b), transparent 25%),
    radial-gradient(circle at top left, var(--body-accent-a), transparent 30%),
    radial-gradient(circle at 30% 80%, var(--body-accent-c), transparent 25%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 46%, var(--bg-floor) 100%);
  transition: background 220ms ease, color 220ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 18px 18px, var(--body-dot-a) 1px, transparent 0),
    radial-gradient(circle at 90px 80px, var(--body-dot-b) 1px, transparent 0),
    radial-gradient(circle at 140px 40px, var(--body-dot-c) 1px, transparent 0);
  background-size: 180px 180px;
}

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

button,
input {
  font: inherit;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  position: relative;
  overflow: clip;
  padding-bottom: 118px;
}

.glow {
  display: none;
}

.glow-a {
  top: 100px;
  left: 2%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(83, 194, 255, 0.45), transparent 70%);
}

.glow-b {
  top: 520px;
  right: 4%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 116, 187, 0.34), transparent 70%);
  animation-delay: -4s;
}

.glow-c {
  top: 980px;
  left: 16%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(96, 229, 177, 0.3), transparent 70%);
  animation-delay: -8s;
}

.topbar,
.playdeck,
.category-rail,
.section-block,
.worlds-block,
.parents-band {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--topbar);
  box-shadow: var(--topbar-shadow);
}

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

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 18px;
  color: #102447;
  background: linear-gradient(135deg, #ffd454, #ff995d);
  box-shadow: 0 12px 28px rgba(255, 153, 93, 0.24);
}

.brand-badge .material-symbols-rounded {
  font-size: 1.45rem;
  font-variation-settings:
    "FILL" 1,
    "wght" 700,
    "GRAD" 0,
    "opsz" 24;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.intro-panel h1,
.panel-head h2,
.section-head h2,
.world-card strong,
.shelf-head h3,
.game-title,
.spotlight-copy h2 {
  font-family: var(--font-display);
}

.brand-copy strong {
  font-size: 1.1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.main-nav a,
.ghost-link {
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

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

.install-app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.install-app-button:hover,
.install-app-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.install-app-button[hidden] {
  display: none !important;
}

.install-app-button .material-symbols-rounded {
  font-size: 1.2rem;
}

.locale-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.locale-switch-select {
  position: relative;
  min-width: 148px;
}

.locale-switch-select::after {
  content: "expand_more";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  font-family: "Material Symbols Rounded";
  font-size: 1.15rem;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.locale-select {
  width: 100%;
  min-height: 42px;
  padding-inline: 14px 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--chip-bg);
  box-shadow: 0 10px 24px rgba(95, 129, 180, 0.08);
  appearance: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.locale-select:hover,
.locale-select:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  background: var(--chip-hover);
  box-shadow: 0 14px 28px rgba(95, 129, 180, 0.12);
  outline: none;
}

[dir="rtl"] .locale-select {
  padding-inline: 40px 14px;
}

.locale-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--chip-bg);
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.locale-button:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: var(--chip-hover);
}

.locale-button.is-active {
  color: #102447;
  border-color: transparent;
  background: linear-gradient(135deg, #53c2ff, #8adfff);
}

.theme-toggle {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  left: auto;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 140;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.32), transparent 58%),
    var(--chip-bg);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(62, 93, 138, 0.16);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--chip-hover);
  box-shadow: 0 16px 28px rgba(62, 93, 138, 0.18);
}

.theme-icon {
  font-size: 21px;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms ease;
}

html[data-theme="light"] .theme-icon-sun {
  color: #ff9c32;
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0.38;
  transform: scale(0.9);
}

html[data-theme="dark"] .theme-icon-moon {
  color: #8adfff;
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0.42;
  transform: scale(0.9);
}

html[data-theme="dark"] .theme-toggle {
  box-shadow:
    0 22px 40px rgba(2, 8, 22, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.ghost-link {
  color: var(--muted);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.button-primary {
  color: #102447;
  background: linear-gradient(135deg, #ffd454, #ff995d);
  box-shadow: 0 18px 30px rgba(255, 153, 93, 0.24);
}

.main-wrap {
  padding-top: 28px;
}

.playdeck {
  display: grid;
  grid-template-columns: 1.2fr 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.home-intro-panel {
  gap: 14px;
}

.home-intro-panel .intro-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-spotlight-card {
  min-height: 100%;
}

.home-trending-panel {
  min-height: 100%;
}

.home-category-rail {
  margin-top: 16px;
}

.home-top-games {
  margin-top: 26px;
}

.intro-panel,
.spotlight-card,
.trending-panel,
.world-card,
.shelf-card,
.parents-grid article,
.game-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-panel,
.trending-panel,
.spotlight-card,
.shelf-card,
.parents-grid article {
  background: var(--panel);
}

.intro-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--sky);
  background: rgba(83, 194, 255, 0.12);
  font-size: 0.93rem;
  font-weight: 900;
}

.eyebrow-small {
  margin-bottom: 10px;
}

.intro-panel h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.9rem);
  line-height: 0.96;
}

.intro-panel p,
.panel-head p,
.section-head p,
.spotlight-copy p,
.parents-grid p,
.shelf-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.search-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-shell input {
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--field-bg);
  outline: none;
}

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

.search-shell input:focus {
  border-color: rgba(138, 223, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(83, 194, 255, 0.1);
}

.quick-pills,
.rail-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-pill,
.rail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--chip-text);
  background: var(--chip-bg);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.intro-pill:hover,
.rail-chip:hover {
  transform: translateY(-2px);
  background: var(--chip-hover);
}

.intro-pill.is-active,
.rail-chip.is-active {
  color: #102447;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe27d, #ffb85e);
  box-shadow: 0 16px 24px rgba(255, 184, 94, 0.18);
}

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

.intro-stats article {
  padding: 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.intro-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 0.98rem;
}

.intro-stats span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 100%;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--spotlight-scrim-top), var(--spotlight-scrim-bottom)),
    linear-gradient(135deg, var(--spotlight-accent-a), var(--spotlight-accent-b));
}

.spotlight-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: 24px;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spotlight-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
}

.spotlight-badge {
  color: #102447;
  background: rgba(255, 255, 255, 0.92);
}

.spotlight-age {
  color: var(--badge-dark-text);
  background: var(--badge-dark-bg);
}

.spotlight-copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.2vw, 2.7rem);
  line-height: 0.96;
}

.spotlight-copy p {
  margin-top: 12px;
  max-width: 32ch;
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.spotlight-score {
  color: var(--yellow);
  font-weight: 900;
}

.trending-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.panel-head h2,
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  line-height: 1;
}

.trending-list {
  display: grid;
  gap: 12px;
}

.trend-item {
  display: grid;
  grid-template-columns: auto 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.trend-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #102447;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe27d, #ffb85e);
}

.trend-thumb {
  width: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface-soft);
}

.trend-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
}

.trend-icon .material-symbols-rounded {
  font-size: 30px;
}

.trend-copy strong {
  display: block;
  margin-bottom: 3px;
}

.trend-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.category-rail {
  margin-top: 18px;
  overflow-x: auto;
  padding: 4px 0 2px;
}

.rail-track {
  width: max-content;
  min-width: 100%;
  flex-wrap: nowrap;
}

.section-block,
.worlds-block,
.parents-band {
  margin-top: 62px;
}

.seo-section {
  margin-top: 30px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head > div {
  max-width: 70ch;
}

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

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

.game-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--panel-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 42px rgba(65, 99, 146, 0.14);
}

.game-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--thumb-bg);
}

.game-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.thumb-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--thumb-bg);
}

.thumb-media > img,
.thumb-media-fallback,
.thumb-media-fallback .cover-art {
  display: block;
  width: 100%;
  height: 100%;
}

.thumb-media > img,
.thumb-media-fallback {
  position: absolute;
  inset: 0;
}

.thumb-media-fallback {
  opacity: 0;
  pointer-events: none;
}

.thumb-media.is-fallback .thumb-media-fallback {
  opacity: 1;
}

.game-thumb .thumb-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.cover-art {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  color: #fff;
}

.cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 55%);
}

.cover-art::after {
  content: "";
  position: absolute;
  inset: auto -20% -26% auto;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cover-art .material-symbols-rounded {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: 44px;
  opacity: 0.92;
}

[dir="rtl"] .cover-art .material-symbols-rounded {
  right: 14px;
  left: auto;
}

.cover-art strong,
.cover-art small {
  position: relative;
  z-index: 1;
}

.cover-art strong {
  display: block;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1;
}

.cover-art small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-electric {
  background: linear-gradient(155deg, #1736a4 0%, #244ed8 42%, #6527d4 100%);
}

.theme-sunset {
  background: linear-gradient(155deg, #f08e32 0%, #ff6b5a 42%, #bf3d88 100%);
}

.theme-sky {
  background: linear-gradient(155deg, #2a84e8 0%, #39b8ff 48%, #45d8d2 100%);
}

.theme-berry {
  background: linear-gradient(155deg, #7b2ff7 0%, #d858b5 48%, #ff8f70 100%);
}

.theme-mint {
  background: linear-gradient(155deg, #179c8a 0%, #32c4b8 50%, #7ae8a1 100%);
}

.theme-gold {
  background: linear-gradient(155deg, #a96d09 0%, #db9f18 46%, #ffd86e 100%);
}

.theme-violet {
  background: linear-gradient(155deg, #4d2cc9 0%, #7f4cf0 46%, #cb6eff 100%);
}

.theme-ember {
  background: linear-gradient(155deg, #8f2c12 0%, #db5521 46%, #ff9863 100%);
}

.theme-aqua {
  background: linear-gradient(155deg, #0b6574 0%, #1597a6 46%, #57d9db 100%);
}

.game-badges {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.badge-light {
  color: #102447;
  background: rgba(255, 255, 255, 0.9);
}

.badge-dark {
  color: var(--badge-dark-text);
  background: var(--badge-dark-bg);
}

.game-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.game-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.game-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.game-score {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #102447;
  background: linear-gradient(135deg, #ffe27d, #ffb85e);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
}

.game-description {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

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

.game-meta div {
  padding: 10px;
  border-radius: 16px;
  background: var(--surface);
}

.game-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--sky);
  font-size: 0.78rem;
}

.game-meta span {
  font-size: 0.88rem;
  font-weight: 800;
}

.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-caption {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #102447;
  background: linear-gradient(135deg, #53c2ff, #8adfff);
  font-size: 0.9rem;
  font-weight: 900;
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: var(--surface-soft);
}

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

.seo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.seo-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.seo-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.seo-card-stack {
  display: grid;
  gap: 18px;
}

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

.collection-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.collection-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 28px rgba(65, 99, 146, 0.12);
}

.collection-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #102447;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe27d, #ffb85e);
}

.collection-card strong {
  font-size: 1.05rem;
}

.card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.collection-card > * {
  position: relative;
  z-index: 2;
}

.card-title-link {
  position: relative;
  z-index: 3;
  color: inherit;
  transition: color 180ms ease;
}

.card-title-link:hover {
  color: var(--sky);
}

.collection-card span:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.why-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.world-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border-radius: 24px;
}

.world-card strong {
  font-size: 1.35rem;
  line-height: 1;
}

.world-card span {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.world-speed {
  background: linear-gradient(180deg, rgba(255, 153, 93, 0.32), rgba(10, 24, 50, 0.88));
}

.world-brain {
  background: linear-gradient(180deg, rgba(83, 194, 255, 0.32), rgba(10, 24, 50, 0.88));
}

.world-rhythm {
  background: linear-gradient(180deg, rgba(255, 116, 187, 0.32), rgba(10, 24, 50, 0.88));
}

.world-action {
  background: linear-gradient(180deg, rgba(116, 132, 255, 0.32), rgba(10, 24, 50, 0.88));
}

.world-chill {
  background: linear-gradient(180deg, rgba(96, 229, 177, 0.28), rgba(10, 24, 50, 0.88));
}

.world-family {
  background: linear-gradient(180deg, rgba(255, 212, 84, 0.3), rgba(10, 24, 50, 0.88));
}

.shelves-grid {
  display: grid;
  gap: 18px;
}

.shelf-card {
  padding: 20px;
  border-radius: 28px;
}

.shelf-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.shelf-head h3 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  line-height: 1;
}

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

.mini-game {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mini-game img {
  width: 84px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
}

.mini-game-thumb {
  display: inline-grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 16px;
  color: #fff;
}

.mini-game-thumb .material-symbols-rounded {
  font-size: 34px;
}

.mini-game strong {
  display: block;
  margin-bottom: 6px;
}

.mini-game span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

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

.mock-spotlight {
  background:
    radial-gradient(circle at top right, var(--mock-spotlight-a), transparent 24%),
    linear-gradient(160deg, rgba(10, 24, 50, 0.3), var(--mock-spotlight-b));
  border-radius: var(--radius-xl);
}

.spotlight-illustration {
  position: absolute;
  inset-inline-end: 22px;
  top: 22px;
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.95);
  background: var(--surface);
}

.spotlight-illustration .material-symbols-rounded {
  font-size: 42px;
}

.parents-grid article {
  padding: 24px;
  border-radius: 26px;
}

.parents-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

[hidden] {
  display: none !important;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 1160px) {
  .playdeck {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

@media (max-width: 860px) {
  .topbar {
    position: sticky;
    top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: auto;
  }

  .install-app-button {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 16px;
  }

  .install-app-button span:last-child {
    display: none;
  }

  .theme-toggle {
    right: max(14px, env(safe-area-inset-right));
    left: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .playdeck,
  .section-head,
  .shelf-head,
  .game-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-actions {
    justify-content: start;
  }

  .games-grid,
  .wall-grid,
  .parents-grid,
  .intro-stats,
  .worlds-grid,
  .game-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .search-shell {
    grid-template-columns: 1fr;
  }

  .home-spotlight-card {
    order: 1;
  }

  .home-intro-panel {
    order: 2;
  }

  .home-trending-panel {
    order: 3;
  }

  .brand-copy small {
    font-size: 0.78rem;
  }

  .locale-switch-select {
    min-width: 116px;
  }
}

@media (max-width: 620px) {
  .topbar,
  .playdeck,
  .category-rail,
  .section-block,
  .worlds-block,
  .parents-band {
    width: min(100vw - 20px, 100%);
  }

  .main-wrap {
    padding-top: 16px;
  }

  .intro-panel,
  .trending-panel,
  .spotlight-inner,
  .shelf-card,
  .parents-grid article {
    padding: 18px;
  }

  .games-grid,
  .wall-grid,
  .parents-grid,
  .intro-stats,
  .worlds-grid,
  .shelf-row,
  .game-meta {
    grid-template-columns: 1fr;
  }

  .spotlight-footer,
  .game-footer {
    display: grid;
  }

  .play-mode-player-suggestions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .play-mode-player-suggestions .play-mode-tile {
    min-height: 136px;
    border-radius: 24px;
  }

  .play-mode-player-suggestions .play-mode-tile-copy {
    inset-inline: 8px;
    bottom: 8px;
    padding: 10px 11px;
  }

  .play-mode-player-suggestions .play-mode-tile-copy strong {
    font-size: 0.98rem;
  }

  .play-mode-copy-card .compact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .play-mode-copy-card .game-thumb {
    aspect-ratio: 16 / 11;
  }

  .play-mode-copy-card .game-body {
    gap: 16px;
    padding: 18px;
  }

  .play-mode-copy-card .game-title {
    font-size: 1.28rem;
  }

  .play-mode-copy-card .game-description {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .trend-item {
    grid-template-columns: auto 58px 1fr;
  }

  .intro-panel h1 {
    font-size: 2.3rem;
  }

  .home-intro-panel .intro-stats {
    grid-template-columns: 1fr;
  }

  .brand-badge {
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .home-spotlight-card {
    min-height: 280px;
  }

  .home-trending-panel {
    display: none;
  }

  .panel-head h2,
  .section-head h2,
  .spotlight-copy h2 {
    font-size: 2rem;
  }
}

.button-secondary {
  background: var(--button-secondary-bg);
  color: var(--text);
  border: 1px solid var(--button-secondary-border);
}

.compact-head {
  margin-bottom: 18px;
}

.game-actions,
.game-support,
.keywords-row,
.player-actions,
.checkbox-row,
.item-actions,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-actions {
  align-items: center;
  justify-content: space-between;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--support-bg);
  border: 1px solid var(--support-border);
  color: var(--support-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.support-chip-strong {
  background: linear-gradient(135deg, #53c2ff, #8adfff);
  border-color: transparent;
  color: #102447;
}

.play-page {
  display: grid;
  gap: 24px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.player-card,
.player-summary,
.player-related,
.admin-panel {
  padding: 24px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.player-card,
.player-side,
.admin-panel {
  display: grid;
  gap: 18px;
}

.player-head h1,
.admin-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  line-height: 1.02;
}

.player-head p,
.player-description,
.admin-hero p,
.player-note,
.admin-item-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.player-head-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.player-head-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  box-shadow: 0 14px 28px rgba(62, 93, 138, 0.08);
  color: var(--text);
  font-weight: 900;
}

.player-head-close .brand-badge {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-size: 0.85rem;
  box-shadow: 0 10px 20px rgba(255, 153, 93, 0.18);
}

.player-head-below {
  display: grid;
  gap: 12px;
}

.player-stage {
  position: relative;
  display: grid;
  gap: 14px;
}

.player-mobile-gate {
  display: none;
}

.player-mobile-launch,
.player-mobile-exit {
  display: none;
}

.player-mobile-exit {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 20, 42, 0.28);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.player-mobile-exit.is-visible,
.player-immersive-close.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.player-mobile-exit .material-symbols-rounded,
.player-immersive-close .material-symbols-rounded {
  font-size: 1.15rem;
}

.player-close-label {
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

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

.player-callout {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.player-callout h2 {
  margin: 0;
  font-size: 1.18rem;
}

.player-callout .page-actions {
  margin-top: 2px;
}

.player-frame-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, var(--support-bg), transparent 28%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  aspect-ratio: 16 / 10;
}

.player-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.portal-open-shell {
  display: grid;
  gap: 18px;
}

.portal-open-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.portal-open-copy {
  display: grid;
  gap: 10px;
}

.portal-open-copy h1 {
  margin: 0;
}

.portal-open-stage {
  min-height: min(88svh, 920px);
  aspect-ratio: auto;
}

.player-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 420px;
  padding: 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 86, 0.18), transparent 24%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.player-placeholder .thumb-media,
.player-placeholder .thumb-media > img,
.player-placeholder .thumb-media-fallback,
.player-placeholder img {
  width: min(240px, 100%);
  border-radius: 24px;
}

.player-placeholder .material-symbols-rounded {
  font-size: 56px;
  color: var(--text);
}

.player-mobile-gate {
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 86, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.96));
  text-align: center;
  box-shadow: 0 18px 34px rgba(76, 101, 141, 0.12);
}

.player-mobile-gate-media {
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
}

.player-mobile-gate-media .thumb-media,
.player-mobile-gate-media .thumb-media > img,
.player-mobile-gate-media .thumb-media-fallback,
.player-mobile-gate-media img,
.player-mobile-gate-media .cover-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-mobile-gate-copy {
  display: grid;
  gap: 6px;
}

.player-mobile-gate-copy strong {
  font-size: 1.3rem;
  color: #0f3762;
  line-height: 1.15;
}

.player-mobile-gate-copy span {
  color: var(--muted);
  line-height: 1.7;
}

.player-mobile-cta {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
}

.player-deferred-shell {
  position: relative;
  display: grid;
  gap: 14px;
}

.player-deferred-shell .player-mobile-gate {
  display: grid;
  max-width: min(760px, 100%);
  margin-inline: auto;
}

.player-floating-open {
  position: fixed;
  top: 50%;
  inset-inline-end: 12px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(74, 110, 159, 0.16);
  border-radius: 999px;
  color: #0f3762;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(28, 86, 126, 0.12);
  transform: translateY(-50%);
}

.player-floating-open .material-symbols-rounded {
  font-size: 1.32rem;
}

.player-deferred-shell .player-frame-shell,
.player-deferred-shell .player-placeholder {
  display: none;
}

.player-deferred-shell.is-active .player-mobile-gate {
  display: none;
}

.player-deferred-shell.is-active .player-frame-shell,
.player-deferred-shell.is-active .player-placeholder {
  display: block;
}

.player-deferred-shell.is-loading .player-mobile-cta {
  pointer-events: none;
  opacity: 0.76;
}

.player-info-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.player-info-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

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

.player-actions .play-mode-icon-button {
  flex: 0 0 auto;
}

.player-stage-toolbar,
.play-mode-player-shell-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

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

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

.device-grid > div {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
}

.device-grid strong,
.field span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
  font-weight: 900;
}

.device-grid span {
  color: var(--muted);
}

.related-list {
  display: grid;
  gap: 12px;
}

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

.related-tile {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: 0 14px 26px rgba(76, 101, 141, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.related-tile:hover,
.related-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--panel);
}

.related-tile img,
.related-tile-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}

.related-tile-thumb {
  display: grid;
  place-items: center;
  background: var(--thumb-bg);
}

.related-tile-thumb .material-symbols-rounded {
  font-size: 2rem;
}

.related-tile strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.player-related-sections-head {
  margin-top: 18px;
}

.section-link-list {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.section-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 98px;
  padding: 18px 20px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.92)),
    var(--panel);
  box-shadow: 0 18px 30px rgba(76, 101, 141, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.section-link-card:hover,
.section-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 34px rgba(76, 101, 141, 0.12);
}

.section-link-copy {
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.3;
}

.section-link-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(83, 194, 255, 0.18), rgba(255, 212, 84, 0.22));
  color: var(--sky);
  font-size: 2rem;
  font-variation-settings:
    "FILL" 1,
    "wght" 700,
    "GRAD" 0,
    "opsz" 24;
}

html[data-theme="dark"] .section-link-card {
  background:
    linear-gradient(180deg, rgba(18, 34, 66, 0.94), rgba(11, 23, 44, 0.96)),
    var(--panel);
}

.admin-page {
  display: grid;
  gap: 24px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, var(--support-bg), transparent 26%),
    linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
}

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

.admin-stats article {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

.admin-stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.admin-stats span {
  color: var(--muted);
}

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

.admin-form,
.field-grid,
.admin-list {
  display: grid;
  gap: 14px;
}

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

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-item-card {
  padding: 18px;
  border-radius: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.admin-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-item-head h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.admin-item-head p {
  margin: 0;
  color: var(--muted);
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-item-body strong {
  display: block;
  margin-bottom: 8px;
}

.admin-search {
  margin-top: 10px;
}

.page-hero,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-top: 8px;
}

.page-hero-after-grid {
  margin-top: 0;
}

.page-side-card,
.site-footer {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.page-side-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.page-side-card h2,
.site-footer p,
.player-info-card h2 {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumbs a {
  transition: color 180ms ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--text);
}

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

.stat-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sky);
  font-size: 0.82rem;
}

.stat-card span {
  font-size: 1rem;
  font-weight: 900;
}

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

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.meta-row span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.meta-row strong {
  font-size: 0.96rem;
}

.keyword-cloud,
.page-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.keyword-chip-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--chip-hover);
}

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

.rich-copy p,
.page-side-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.steps-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.steps-list li::marker {
  color: var(--sky);
  font-weight: 900;
}

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

.category-card-link .play-link {
  width: fit-content;
  margin-top: 6px;
  position: relative;
  z-index: 3;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.site-footer {
  margin-top: 56px;
}

.play-mode-shell {
  --container: min(1460px, calc(100vw - 28px));
}

.play-mode-main {
  padding-top: 12px;
}

.play-mode-surface {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding: 18px 18px 24px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(46, 143, 212, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #b5fff0 0%, #72f4e0 18%, #52ddd6 36%, #47cde0 58%, #3bb9ee 100%);
  box-shadow: 0 28px 56px rgba(49, 126, 171, 0.2);
}

.play-mode-surface::before,
.play-mode-surface::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.play-mode-surface::before {
  top: -80px;
  right: -70px;
  width: 320px;
  height: 320px;
  border-radius: 42% 58% 50% 50%;
  opacity: 0.22;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
}

.play-mode-surface::after {
  left: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 36% 64% 62% 38%;
  opacity: 0.18;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  transform: rotate(-24deg);
}

.play-mode-dock {
  position: sticky;
  top: calc(12px + env(safe-area-inset-top));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.play-mode-dock.is-menu-only {
  justify-content: flex-end;
}

.play-mode-surface-head {
  display: grid;
  gap: 12px;
}

.play-mode-surface-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.play-mode-surface-copy > strong {
  color: #0f3762;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.play-mode-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.play-mode-stat-pill {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(74, 110, 159, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(28, 86, 126, 0.12);
}

.play-mode-stat-pill span {
  color: rgba(15, 55, 98, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.play-mode-stat-pill strong {
  color: #0f3762;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1;
}

.play-mode-brand-chip,
.play-mode-menu-toggle,
.play-mode-menu-popover,
.play-mode-category-pill,
.play-mode-inline-link {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 22px rgba(28, 86, 126, 0.12);
}

.play-mode-brand-chip {
  display: grid;
  gap: 4px;
  min-width: 108px;
  padding: 16px 18px;
  color: #0f3762;
  text-align: center;
}

.play-mode-brand-chip strong {
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 0.95;
}

.play-mode-menu {
  position: relative;
}

.play-mode-menu summary {
  list-style: none;
}

.play-mode-menu summary::-webkit-details-marker {
  display: none;
}

.play-mode-menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #1271b8;
  cursor: pointer;
  border: 0;
}

.play-mode-menu-toggle .material-symbols-rounded {
  font-size: 28px;
}

.play-mode-menu[open] .play-mode-menu-toggle {
  box-shadow: 0 12px 24px rgba(28, 86, 126, 0.16);
}

.play-mode-menu-popover {
  position: fixed;
  top: calc(84px + env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  z-index: 120;
  width: min(280px, calc(100vw - 24px));
  max-height: calc(100svh - 108px);
  overflow: auto;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(74, 110, 159, 0.12);
  contain: content;
}

[dir="rtl"] .play-mode-menu-popover {
  left: max(12px, env(safe-area-inset-left));
  right: auto;
}

.play-mode-menu-header {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  color: #0f3762;
}

.play-mode-menu-header strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 0.95;
}

.play-mode-menu-links {
  display: grid;
  gap: 10px;
}

.play-mode-menu-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 18px;
  color: #0f3762;
  background: rgba(18, 113, 184, 0.08);
  font-weight: 900;
}

.play-mode-menu-button {
  width: 100%;
  border: 0;
  text-align: start;
  font: inherit;
  cursor: pointer;
}

.play-mode-menu-button[hidden] {
  display: none !important;
}

.play-mode-menu-link .material-symbols-rounded {
  font-size: 22px;
  color: #1271b8;
}

.play-mode-menu-locale {
  margin-top: 12px;
}

.play-mode-menu-locale .locale-switch-select {
  width: 100%;
}

.play-mode-menu-locale .locale-select {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  border: 1px solid rgba(74, 110, 159, 0.14);
}

.play-mode-menu-link:hover,
.play-mode-menu-link:focus-visible,
.play-mode-menu-toggle:hover,
.play-mode-menu-toggle:focus-visible {
  transform: none;
}

.play-mode-menu-toggle,
.play-mode-menu-link {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.play-mode-menu-link:hover,
.play-mode-menu-link:focus-visible {
  box-shadow: 0 8px 16px rgba(28, 86, 126, 0.1);
}

.play-mode-menu-toggle:hover,
.play-mode-menu-toggle:focus-visible {
  box-shadow: 0 10px 18px rgba(28, 86, 126, 0.12);
}

.play-mode-menu-locale .locale-select:hover,
.play-mode-menu-locale .locale-select:focus-visible {
  filter: none;
}

.play-mode-menu-link span:last-child {
  color: #0f3762;
}

.play-mode-menu-link,
.play-mode-menu-toggle {
  color: #1271b8;
}

.play-mode-home-copy,
.play-mode-surface-topline,
.play-mode-surface-head,
.play-mode-category-strip,
.play-mode-mosaic,
.play-mode-stage-cluster,
.play-mode-floor-strip {
  position: relative;
  z-index: 1;
}

.play-mode-home-copy {
  padding-inline-end: 16px;
}

.play-mode-home-surface .play-mode-mosaic {
  margin-top: 14px;
  padding-top: 0;
}

.play-mode-home-actions {
  margin-top: 16px;
}

.play-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #0f3762;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 900;
}

.play-mode-badge-link {
  color: #0f3762;
  text-decoration: none;
}

.play-mode-badge-link:hover,
.play-mode-badge-link:focus-visible {
  text-decoration: none;
}

.play-mode-surface-copy h1,
.play-mode-surface-copy h2,
.play-mode-copy-card h1,
.play-mode-copy-card h2,
.play-mode-player-copy h1 {
  margin: 14px 0 12px;
  color: #0f3762;
  font-family: var(--font-display);
  line-height: 0.96;
}

.play-mode-surface-copy h1 {
  font-size: clamp(1.8rem, 2.7vw, 3rem);
}

.play-mode-surface-copy p,
.play-mode-player-copy span,
.play-mode-copy-card > p,
.play-mode-poster-copy span,
.play-mode-story p {
  color: rgba(15, 55, 98, 0.78);
  line-height: 1.8;
}

.play-mode-story {
  display: grid;
  gap: 10px;
}

.play-mode-story p {
  margin: 0;
}

.play-mode-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.play-mode-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px 18px;
  color: #0f3762;
  font-weight: 900;
}

.play-mode-category-pill .material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 18px;
  color: #1271b8;
  background: rgba(18, 113, 184, 0.1);
}

.play-mode-mosaic {
  display: grid;
  grid-auto-flow: dense;
  gap: 10px;
  margin-top: 18px;
}

.play-mode-mosaic-home {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 118px;
}

.play-mode-mosaic-listing {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 92px;
}

.play-mode-tile {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(28, 86, 126, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  contain: layout paint;
}

.play-mode-tile.is-animated {
  animation: none;
}

.play-mode-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(28, 86, 126, 0.14);
}

.play-mode-tile-media,
.play-mode-tile-media .thumb-media,
.play-mode-tile-media .thumb-media > img,
.play-mode-tile-media .thumb-media-fallback,
.play-mode-tile-media .cover-art {
  display: block;
  width: 100%;
  height: 100%;
}

.play-mode-tile-media .cover-art {
  padding: 10px;
}

.play-mode-tile-copy {
  position: absolute;
  inset-inline: 8px;
  bottom: 8px;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 20, 42, 0.02), rgba(7, 20, 42, 0.74));
}

.play-mode-tile-copy strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.play-mode-tile-copy small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  font-weight: 800;
}

.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 1),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 1) {
  grid-column: span 3;
  grid-row: span 3;
}

.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 2),
.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 5),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 3) {
  grid-column: span 2;
  grid-row: span 2;
}

.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 3),
.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 7),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 5),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 6) {
  grid-column: span 2;
  grid-row: span 3;
}

.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 4),
.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 6),
.play-mode-mosaic-home .play-mode-tile:nth-child(8n + 8),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 2),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 4),
.play-mode-mosaic-listing .play-mode-tile:nth-child(7n + 7) {
  grid-column: span 2;
  grid-row: span 2;
}

.play-mode-mosaic-home .play-mode-tile {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  border-radius: 18px;
}

.play-mode-mosaic-home .play-mode-tile-copy {
  inset-inline: 6px;
  bottom: 6px;
  padding: 6px 8px;
}

.play-mode-mosaic-home .play-mode-tile-copy strong {
  font-size: 0.8rem;
}

.play-mode-game-surface {
  padding-top: 24px;
}

.play-mode-stage-cluster {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr) 146px;
  gap: 18px;
  align-items: start;
}

.play-mode-rail {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: 88px;
}

.play-mode-tile-rail,
.play-mode-tile-mini {
  aspect-ratio: 1;
}

.play-mode-tile-rail .play-mode-tile-copy,
.play-mode-tile-mini .play-mode-tile-copy {
  display: none;
}

.play-mode-player-board {
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 44px rgba(28, 86, 126, 0.18);
}

.play-mode-surface-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.play-mode-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #0f3762;
  font-size: 0.88rem;
  font-weight: 900;
}

.play-mode-player-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.play-mode-player-intro h1 {
  margin: 0;
  color: #0f3762;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.04;
}

.play-mode-player-intro p {
  margin: 0;
  color: rgba(15, 55, 98, 0.78);
  line-height: 1.78;
}

.play-mode-player-intro .footer-links {
  margin-top: 2px;
}

.play-mode-feedback-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(83, 194, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.96));
  box-shadow: 0 18px 34px rgba(76, 101, 141, 0.1);
}

.play-mode-feedback-copy {
  display: grid;
  gap: 4px;
}

.play-mode-feedback-copy strong {
  font-size: 1rem;
  color: #0f3762;
}

.play-mode-feedback-copy span,
.play-mode-feedback-status {
  color: var(--muted);
  line-height: 1.6;
}

.play-mode-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vote-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #0f3762;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.vote-chip:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(68, 99, 145, 0.12);
}

.vote-chip .material-symbols-rounded {
  font-size: 1.1rem;
}

.vote-chip strong {
  min-width: 18px;
  text-align: center;
}

.vote-chip-like.is-active {
  color: #0f5d3f;
  border-color: rgba(44, 164, 108, 0.34);
  background: rgba(231, 255, 243, 0.96);
}

.vote-chip-dislike.is-active {
  color: #8b1f3d;
  border-color: rgba(216, 74, 118, 0.34);
  background: rgba(255, 238, 244, 0.96);
}

.play-mode-feedback-panel.is-loading .vote-chip {
  opacity: 0.7;
  pointer-events: none;
}

.play-mode-under-stage-links {
  margin-top: 14px;
  justify-content: center;
}

.play-mode-under-stage-categories {
  margin-top: 14px;
}

.play-mode-player-shell-tools {
  display: none;
}

.player-immersive-close {
  display: none;
}

body.player-immersive {
  overflow: hidden;
  background: #08101d;
}

body.player-immersive .topbar,
body.player-immersive .site-footer,
body.player-immersive .theme-toggle,
body.player-immersive [data-theme-toggle],
body.player-immersive .player-head,
body.player-immersive .player-actions,
body.player-immersive .player-side,
body.player-immersive .player-note,
body.player-immersive .seo-grid,
body.player-immersive .play-mode-dock,
body.player-immersive .play-mode-surface-topline,
body.player-immersive .play-mode-player-intro,
body.player-immersive .play-mode-rail,
body.player-immersive .play-mode-copy-shell,
body.player-immersive .play-mode-under-stage-links,
body.player-immersive .play-mode-under-stage-categories {
  display: none !important;
}

body.player-immersive .page-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.player-immersive .main-wrap,
body.player-immersive .player-layout,
body.player-immersive .play-mode-game-surface,
body.player-immersive .play-mode-stage-cluster {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

body.player-immersive .play-mode-player-board,
body.player-immersive .player-card {
  min-height: 100dvh;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: #08101d;
  box-shadow: none;
}

body.player-immersive [data-player-panel] {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: #08101d;
  box-shadow: none;
}

body.player-immersive .player-stage,
body.player-immersive .play-mode-player-shell,
body.player-immersive .player-deferred-shell,
body.player-immersive .player-deferred-shell.is-active {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  gap: 0;
}

body.player-immersive .player-frame-shell,
body.player-immersive .player-placeholder,
body.player-immersive .player-deferred-shell.is-active .player-frame-shell,
body.player-immersive .player-deferred-shell.is-active .player-placeholder {
  display: block !important;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
}

body.player-immersive .player-frame,
body.player-immersive .player-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  border-radius: 0;
}

body.player-immersive .player-mobile-gate {
  display: none !important;
}

body.player-immersive .player-mobile-exit,
body.player-immersive .player-immersive-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.player-immersive .player-floating-open {
  display: none;
}

body.player-immersive .play-mode-player-shell-tools {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  inset-inline-end: max(12px, env(safe-area-inset-right));
  z-index: 140;
  display: flex;
  margin: 0;
}

body.player-immersive .play-mode-player-shell-tools .player-immersive-close,
body.player-immersive .player-mobile-exit {
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(10, 27, 53, 0.92), rgba(27, 91, 138, 0.84));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  color: #fff;
}

body.player-immersive .play-mode-player-shell-tools .player-immersive-close .material-symbols-rounded,
body.player-immersive .player-mobile-exit .material-symbols-rounded {
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}

body.player-immersive .play-mode-player-shell-tools .player-immersive-close .player-close-label,
body.player-immersive .player-mobile-exit .player-close-label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.play-mode-player-shell .player-frame-shell {
  border: 1px solid rgba(34, 124, 187, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(66, 219, 221, 0.94), rgba(38, 186, 219, 0.98));
  aspect-ratio: 16 / 9;
}

.play-mode-player-shell .player-placeholder {
  min-height: 500px;
  border-style: solid;
  border-color: rgba(34, 124, 187, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(66, 219, 221, 0.94), rgba(38, 186, 219, 0.98));
}

.play-mode-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(74, 110, 159, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #0f3762;
  box-shadow: 0 14px 28px rgba(28, 86, 126, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.play-mode-icon-button:hover,
.play-mode-icon-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(28, 86, 126, 0.18);
  border-color: rgba(74, 110, 159, 0.26);
}

.play-mode-icon-button .material-symbols-rounded {
  font-size: 1.45rem;
}

.play-mode-related-showcase {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.play-mode-related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.play-mode-tile-shelf {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(74, 110, 159, 0.12);
  box-shadow: 0 12px 24px rgba(28, 86, 126, 0.1);
}

.play-mode-tile-shelf .play-mode-tile-media {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

.play-mode-tile-shelf .play-mode-tile-copy {
  display: grid;
  gap: 4px;
  padding: 0 4px 4px;
}

.play-mode-tile-shelf .play-mode-tile-copy strong {
  color: #0f3762;
  font-size: 0.95rem;
  line-height: 1.2;
}

.play-mode-tile-shelf .play-mode-tile-copy small {
  color: rgba(15, 55, 98, 0.64);
  font-size: 0.76rem;
}

.play-mode-copy-shell {
  margin-top: 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1100px;
}

.play-mode-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
}

.play-mode-copy-card,
.play-mode-copy-aside {
  padding: 26px;
  border: 1px solid rgba(74, 110, 159, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.play-mode-copy-card h3 {
  margin: 20px 0 12px;
  color: #0f3762;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.play-mode-inner-head {
  margin-top: 24px;
}

.play-mode-list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.play-mode-list-columns section {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.play-mode-list-columns section h2 {
  margin-top: 0;
}

.play-mode-rank-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.play-mode-rank-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.play-mode-rank-list li > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #102447;
  font-size: 0.84rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffe27d, #ffb85e);
}

.play-mode-rank-list a {
  color: #1362a3;
  font-weight: 900;
  line-height: 1.55;
}

.play-mode-copy-card .seo-card {
  margin-top: 22px;
  padding: 20px;
  background: var(--surface-soft);
  box-shadow: none;
}

.play-mode-copy-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.play-mode-copy-inset {
  margin: 0;
  box-shadow: none;
}

.play-mode-poster-card {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.play-mode-poster-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(49, 84, 126, 0.14);
}

.play-mode-poster-card .thumb-media,
.play-mode-poster-card .thumb-media > img,
.play-mode-poster-card .thumb-media-fallback,
.play-mode-poster-card img,
.play-mode-poster-card .cover-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.play-mode-poster-copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.play-mode-poster-copy strong {
  color: #0f3762;
  font-size: 1.18rem;
}

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

.play-mode-shell .site-footer {
  width: var(--container);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .play-mode-surface {
  border-color: rgba(138, 223, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, #1a6d8a 0%, #175977 26%, #164f8e 58%, #1b3e78 100%);
}

html[data-theme="dark"] .play-mode-brand-chip,
html[data-theme="dark"] .play-mode-menu-toggle,
html[data-theme="dark"] .play-mode-menu-popover,
html[data-theme="dark"] .play-mode-category-pill,
html[data-theme="dark"] .play-mode-inline-link,
html[data-theme="dark"] .play-mode-badge,
html[data-theme="dark"] .play-mode-player-board,
html[data-theme="dark"] .play-mode-copy-card,
html[data-theme="dark"] .play-mode-copy-aside,
html[data-theme="dark"] .play-mode-shell .site-footer {
  background: rgba(9, 21, 43, 0.88);
  color: var(--text);
}

html[data-theme="dark"] .play-mode-brand-chip small,
html[data-theme="dark"] .play-mode-surface-copy p,
html[data-theme="dark"] .play-mode-player-copy span,
html[data-theme="dark"] .play-mode-copy-card > p,
html[data-theme="dark"] .play-mode-poster-copy span,
html[data-theme="dark"] .play-mode-rank-list a,
html[data-theme="dark"] .play-mode-story p,
html[data-theme="dark"] .play-mode-stat-pill span {
  color: #d7e8ff;
}

html[data-theme="dark"] .play-mode-menu-header,
html[data-theme="dark"] .play-mode-menu-link span:last-child {
  color: #f8fbff;
}

html[data-theme="dark"] .play-mode-menu-header small {
  color: #cde2ff;
}

html[data-theme="dark"] .play-mode-menu-link {
  background: rgba(138, 223, 255, 0.1);
}

html[data-theme="dark"] .play-mode-menu-locale .locale-select {
  background: rgba(13, 28, 56, 0.92);
  border-color: rgba(138, 223, 255, 0.16);
}

html[data-theme="dark"] .play-mode-surface-copy h1,
html[data-theme="dark"] .play-mode-surface-copy h2,
html[data-theme="dark"] .play-mode-surface-copy > strong,
html[data-theme="dark"] .play-mode-copy-card h1,
html[data-theme="dark"] .play-mode-copy-card h2,
html[data-theme="dark"] .play-mode-copy-card h3,
html[data-theme="dark"] .play-mode-player-copy strong,
html[data-theme="dark"] .play-mode-player-copy h1,
html[data-theme="dark"] .play-mode-poster-copy strong,
html[data-theme="dark"] .play-mode-stat-pill strong,
html[data-theme="dark"] .play-mode-category-pill,
html[data-theme="dark"] .play-mode-inline-link,
html[data-theme="dark"] .play-mode-badge {
  color: #f8fbff;
}

html[data-theme="dark"] .play-mode-stat-pill,
html[data-theme="dark"] .play-mode-copy-inset {
  background: rgba(9, 21, 43, 0.88);
  border-color: rgba(138, 223, 255, 0.14);
}

html[data-theme="dark"] .play-mode-player-shell .player-placeholder,
html[data-theme="dark"] .play-mode-player-shell .player-frame-shell {
  border-color: rgba(138, 223, 255, 0.18);
}

html[data-theme="dark"] .play-mode-icon-button {
  border-color: rgba(138, 223, 255, 0.14);
  background: rgba(9, 21, 43, 0.88);
  color: #f8fbff;
  box-shadow: 0 18px 34px rgba(2, 8, 22, 0.24);
}

html[data-theme="dark"] .play-mode-tile-shelf .play-mode-tile-copy strong {
  color: #f8fbff;
}

html[data-theme="dark"] .play-mode-tile-shelf .play-mode-tile-copy small {
  color: #d7e8ff;
}

@keyframes play-mode-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(calc(var(--tile-drift, 10px) * -1));
  }
}

@media (max-width: 1100px) {
  .player-layout,
  .admin-grid,
  .admin-hero,
  .page-hero,
  .play-mode-surface-head,
  .play-mode-stage-cluster,
  .play-mode-copy-grid {
    grid-template-columns: 1fr;
  }

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

  .play-mode-mosaic-home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 104px;
  }

  .play-mode-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: static;
  }

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

  .play-mode-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (hover: none), (max-width: 1100px) and (pointer: coarse) {
  .play-mode-stage-cluster {
    grid-template-columns: 1fr;
  }

  .play-mode-player-board {
    order: 1;
  }

  .play-mode-rail {
    display: none;
  }

  .play-mode-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .player-callouts,
  .device-grid,
  .field-grid.two-up,
  .admin-stats,
  .play-mode-list-columns {
    grid-template-columns: 1fr;
  }

  .player-head-topline {
    display: grid;
  }

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

  .admin-item-head,
  .game-actions {
    display: grid;
  }

  .stats-grid,
  .category-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .play-mode-surface {
    padding: 20px;
  }

  .play-mode-dock {
    top: calc(8px + env(safe-area-inset-top));
    align-items: start;
  }

  .play-mode-category-strip {
    gap: 10px;
  }

  .play-mode-category-pill {
    min-height: 64px;
    padding: 12px 14px;
  }

  .play-mode-mosaic-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 100px;
  }

  .play-mode-mosaic-listing {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 66px;
  }

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

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

  .player-floating-open {
    top: auto;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 72px);
    inset-inline-end: 12px;
    transform: none;
  }

  .play-mode-stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .play-mode-tile.is-animated {
    animation: none;
  }

  .play-mode-mosaic-home .play-mode-tile-copy {
    display: none;
  }

  .player-stage > .player-frame-shell,
  .player-stage > .player-placeholder {
    display: none;
  }

  .player-frame-shell {
    min-height: 68svh;
    aspect-ratio: auto;
  }

  .player-frame,
  .player-placeholder {
    min-height: 68svh;
  }

  .play-mode-game-surface {
    padding: 12px;
  }

  .play-mode-player-board {
    padding: 14px;
    border-radius: 26px;
  }

  .play-mode-player-shell .player-frame-shell,
  .play-mode-player-shell .player-placeholder {
    min-height: 76svh;
    aspect-ratio: auto;
    border-radius: 20px;
  }

  .play-mode-player-shell .player-frame,
  .play-mode-player-shell .player-placeholder {
    min-height: 76svh;
  }

  body.player-immersive .page-shell {
    padding-bottom: 0;
  }

  body.player-immersive .main-wrap,
  body.player-immersive .player-layout,
  body.player-immersive .play-mode-game-surface,
  body.player-immersive .play-mode-stage-cluster {
    min-height: 100dvh;
  }

  body.player-immersive .play-mode-player-board {
    display: grid;
    grid-template-rows: 1fr;
    align-content: stretch;
  }

  body.player-immersive .play-mode-player-shell {
    min-height: 100dvh;
  }

  body.player-immersive .play-mode-player-shell .player-deferred-shell,
  body.player-immersive .play-mode-player-shell .player-deferred-shell.is-active {
    min-height: 100dvh;
    height: 100%;
  }

  body.player-immersive .play-mode-player-shell .player-deferred-shell.is-active .player-frame-shell,
  body.player-immersive .play-mode-player-shell .player-deferred-shell.is-active .player-placeholder {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@media (max-width: 620px) {
  .player-card,
  .player-summary,
  .player-related,
  .admin-panel,
  .admin-hero {
    padding: 18px;
  }

  .player-placeholder {
    min-height: 60svh;
  }

  .player-mobile-gate {
    padding: 14px;
    border-radius: 20px;
  }

  .player-mobile-gate-media {
    min-height: 188px;
  }

  .form-actions .button,
  .admin-toolbar .button,
  .player-actions .button,
  .item-actions .button {
    width: 100%;
  }

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

  .section-link-card {
    min-height: 88px;
    padding: 16px;
    border-radius: 22px;
  }

  .section-link-copy {
    font-size: 1.08rem;
  }

  .section-link-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.6rem;
  }

  .player-stage-toolbar,
  .play-mode-player-shell-tools {
    margin-bottom: 8px;
  }

  .play-mode-feedback-actions {
    display: inline-flex;
    grid-template-columns: none;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .vote-chip {
    width: auto;
  }

  .page-hero,
  .site-footer {
    width: min(100vw - 20px, 100%);
  }

  .page-side-card,
  .site-footer {
    padding: 18px;
  }

  .play-mode-surface-copy h1,
  .play-mode-copy-card h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .play-mode-home-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .play-mode-home-surface .play-mode-mosaic {
    gap: 12px;
  }

  .play-mode-mosaic-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 110px;
  }

  .play-mode-copy-card,
  .play-mode-copy-aside,
  .play-mode-player-board {
    padding: 18px;
  }

  .play-mode-game-surface {
    padding: 8px;
  }

  .play-mode-player-board {
    padding: 12px;
    border-radius: 22px;
  }

  .play-mode-player-shell .player-frame-shell,
  .play-mode-player-shell .player-placeholder {
    min-height: 82svh;
    border-radius: 18px;
  }

  .play-mode-player-shell .player-frame,
  .play-mode-player-shell .player-placeholder {
    min-height: 82svh;
  }

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

  .player-floating-open {
    width: 42px;
    height: 42px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 78px);
  }

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

  .play-mode-rail {
    display: none;
  }

  .play-mode-stat-strip {
    grid-template-columns: 1fr;
  }

  .play-mode-mosaic-home > :nth-child(n + 31),
  .play-mode-mosaic-listing > :nth-child(n + 11) {
    display: none;
  }
}


/* Compact in-game voting controls. */
.play-mode-feedback-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(76, 101, 141, 0.1);
}

.play-mode-feedback-copy {
  display: none !important;
}

.play-mode-feedback-actions {
  display: inline-flex !important;
  align-items: center;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content;
  gap: 5px;
}

.vote-chip {
  gap: 4px;
  min-width: 42px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.vote-chip span:not(.material-symbols-rounded) {
  display: none !important;
}

.vote-chip .material-symbols-rounded {
  font-size: 1rem;
  line-height: 1;
}

.vote-chip strong {
  min-width: 1ch;
  font-size: 0.74rem;
}

.play-mode-feedback-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.player-close-label {
  display: none !important;
}

body.player-immersive .play-mode-feedback-panel {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  inset-inline-start: max(10px, env(safe-area-inset-left));
  z-index: 145;
  margin: 0;
  padding: 4px;
  background: rgba(8, 19, 38, 0.72);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

body.player-immersive .vote-chip {
  min-width: 38px;
  min-height: 34px;
  padding: 0 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

body.player-immersive .vote-chip.is-active,
body.player-immersive .vote-chip-like.is-active,
body.player-immersive .vote-chip-dislike.is-active {
  background: rgba(83, 194, 255, 0.26);
  border-color: rgba(151, 222, 255, 0.42);
  color: #fff;
}

body.player-immersive .play-mode-player-shell-tools .player-immersive-close,
body.player-immersive .player-mobile-exit {
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
}

body.player-immersive .play-mode-player-shell-tools .player-immersive-close .material-symbols-rounded,
body.player-immersive .player-mobile-exit .material-symbols-rounded {
  width: 26px;
  height: 26px;
  font-size: 1.05rem;
}

@media (max-width: 520px) {
  .play-mode-feedback-panel {
    padding: 4px;
  }

  .play-mode-feedback-actions {
    display: inline-flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .vote-chip {
    width: auto !important;
    min-width: 38px;
    min-height: 30px;
    padding: 0 7px;
  }
}
