:root {
  --space-dark: #ffffff;
  --space-blue: #fafafa;
  --star-white: #0a0a0a;
  --nebula-pink: #dc2626;
  --comet-cyan: #525252;
  --g23-accent-text: #b91c1c;
  --g23-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sun-gold: #ca8a04;
  --planet-purple: #737373;
  --ink-muted: #737373;
  --line-soft: #e5e5e5;
  --shadow-card: none;
  --shadow-lift: none;
  --g23-radius: 0;
  --g23-radius-sm: 0;
  --g23-header-h: 52px;
  --g23-border: 1px solid #0a0a0a;
  --transition-fast: 0.12s ease;
  --g23-star-full: #ca8a04;
  --g23-star-glow: transparent;
  --g23-star-empty: #d4d4d4;
  --g23-star-track: #fafafa;
  --g23-star-border: #e5e5e5;
}

*, *::before, *::after { box-sizing: border-box; }

html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body,
.g23-body {
  background: var(--space-dark);
  color: var(--star-white);
  font-family: var(--g23-font);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.55;
  padding-top: var(--g23-header-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* 锚定广告：贴导航下沿；若已有首屏 AD_UNIT 位则不再抬高 body，避免空白条 */
body.g23-body:has(.anchorAdContent):not(:has(.g23-ad-slot--top)) {
  padding-top: calc(var(--g23-header-h) + 94px);
}

body.g23-body:has(.anchorAdContent):not(:has(.g23-ad-slot--top)) .anchorAdContent {
  position: fixed !important;
  top: var(--g23-header-h) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 9999 !important;
}

body.g23-body:has(.g23-ad-slot--top) .anchorAdContent {
  display: none !important;
}

/* 详情页：顶栏广告与锚定广告互斥 */
body.g23-body--detail:has(.g23-ad-slot--detail-top) .anchorAdContent {
  display: none !important;
}

h1, h2, h3, h4 {
  font-family: var(--g23-font);
  font-weight: 800;
  margin-top: 0;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* 页面内容区宽度（勿用 container：与广告模板类名冲突） */
.g23-page-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.brief-comment-game {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.article-list .special-card-content,
.article-list .carousel-card-content {
  padding: 12px 14px 16px;
}

/* 游戏列表标题：单行超出省略（见 TEMPLATE_SPEC §5.1.2 / §7.1） */
.article-list .game-title,
.article-list .card-title,
.g23-feature-lead .game-title,
.g23-feature-strip .game-title,
.special-card .game-title,
.special-card-content .game-title,
.game-card .card-title,
.carousel-card .game-title,
.g23-film-card .game-title,
.g23-mosaic-card .game-title,
.g23-poster-card .game-title,
.g23-catalog-card .game-title,
.g23-scroll-body .game-title,
.g23-scroll-body h3 {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.special-card-content,
.carousel-card-content,
.card-content,
.g23-feature-lead-copy,
.g23-feature-strip-copy,
.g23-scroll-body {
  min-width: 0;
}

.module-description {
  margin: 0 0 1.25rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 58ch;
}

/* ── Ads & legal ── */
.g23-ad-slot {
  padding-top: 16px;
  padding-bottom: 16px;
  overflow: hidden;
}

.g23-ad-slot--top {
  padding-top: 8px;
  padding-bottom: 8px;
}

.g23-ad-slot--top.g23-page-wrap {
  padding-left: 16px;
  padding-right: 16px;
}

.g23-ad-slot iframe,
.g23-ad-slot ins,
.g23-ad-slot > div {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.g23-legal-ad {
  padding-top: 20px;
}

.g23-page-wrap > * + .legal-container { margin-top: 24px; }

.g23-page-wrap > .legal-container:first-child {
  margin-top: 20px;
}

.legal-container {
  padding: 28px 24px;
  margin-bottom: 48px;
  background: var(--space-blue);
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
  line-height: 1.7;
}

.legal-container h1,
.legal-container h2 { color: var(--nebula-pink); }

.legal-container h1 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.legal-container h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* ── Header（fixed 贴顶，避免 sticky + 锚定广告顶出空白） ── */
.g23-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10001;
  background: var(--space-blue);
  border-bottom: var(--g23-border);
  margin: 0;
}

.g23-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  min-height: var(--g23-header-h);
  max-height: none;
}

.g23-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: none;
}

.g23-logo .logo-text {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  line-height: 1.2;
}

.logo-text {
  font-family: var(--g23-font);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--star-white);
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.g23-nav-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.g23-nav-bar .nav-link,
.g23-nav-bar .nav-more-toggle {
  white-space: nowrap;
  flex: 0 0 auto;
}

.g23-nav-bar .nav-item--primary.is-overflow-hidden {
  display: none;
}

.g23-nav-bar .nav-more {
  position: relative;
  flex: 0 0 auto;
}

.g23-nav-bar .nav-more-toggle {
  cursor: pointer;
  border: none;
  font: inherit;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.g23-nav-bar .nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 3px solid #1a1625;
  border-radius: 12px;
  box-shadow: 6px 6px 0 #1a1625;
  z-index: 1200;
}

.g23-nav-bar .nav-more.active .nav-more-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.g23-nav-bar .nav-more-menu .nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.g23-nav-bar .nav-more-menu .nav-link:hover {
  background: #fef08a;
}

.g23-nav-bar .nav-link {
  padding: 8px 10px;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: var(--g23-radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.g23-nav-bar .nav-link:hover {
  background: #fef08a;
  border-color: var(--line-soft);
}

.g23-nav-bar .nav-link.active {
  background: var(--star-white);
  color: #fff;
  border-color: var(--line-soft);
}

/* 覆盖 navigation.css 的下划线，避免顶栏错位 */
.g23-nav-bar .nav-link::after,
.g23-nav-bar .nav-more-toggle::after {
  display: none !important;
}

.g23-header-cta {
  flex-shrink: 0;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--nebula-pink);
  color: #fff;
  border: var(--g23-border);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line-soft);
  transition: transform var(--transition-fast);
}

.g23-header-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--line-soft);
}

/* Mobile nav */
.g23-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--space-blue);
  border-top: var(--g23-border);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0));
  justify-content: space-around;
  gap: 4px;
}

.g23-mobile-bar .mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--g23-radius-sm);
  border: 2px solid transparent;
}

.g23-mobile-bar .mobile-nav-item.active {
  background: #fef08a;
  border-color: var(--line-soft);
}

.g23-mob-icon { font-size: 1.1rem; line-height: 1; }

@media (max-width: 768px) {
  :root {
  --space-dark: #ffffff;
  --space-blue: #fafafa;
  --star-white: #0a0a0a;
  --nebula-pink: #dc2626;
  --comet-cyan: #525252;
  --g23-accent-text: #b91c1c;
  --g23-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sun-gold: #ca8a04;
  --planet-purple: #737373;
  --ink-muted: #737373;
  --line-soft: #e5e5e5;
  --shadow-card: none;
  --shadow-lift: none;
  --g23-radius: 0;
  --g23-radius-sm: 0;
  --g23-header-h: 52px;
  --g23-border: 1px solid #0a0a0a;
  --transition-fast: 0.12s ease;
  --g23-star-full: #ca8a04;
  --g23-star-glow: transparent;
  --g23-star-empty: #d4d4d4;
  --g23-star-track: #fafafa;
  --g23-star-border: #e5e5e5;
}

  .g23-nav-bar,
  .g23-header-cta {
    display: none !important;
  }

  .g23-mobile-bar {
    display: flex;
  }

  body.g23-body,
  body:has(.g23-mobile-bar) {
    padding-bottom: calc(var(--g23-mobile-nav-h, 72px) + env(safe-area-inset-bottom, 0));
  }

  .g23-site-header {
    height: auto;
  }

  .g23-header-inner {
    height: auto;
    min-height: var(--g23-header-h);
    max-height: none;
    padding: 6px 12px;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
  }

  .g23-logo .logo-img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
  }

  .g23-logo .logo-text {
    font-size: 0.95rem;
    line-height: 1.15;
    display: block;
  }

  .g23-page-wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .g23-ad-slot,
  .g23-ad-slot--top {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .g23-ad-slot--top.g23-page-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .g23-ad-slot--top + .g23-spotlight,
  .g23-ad-slot--top + .daily-special,
  .g23-ad-slot--top + .g23-pick-section {
    padding-top: 12px;
  }

  .g23-spotlight {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .g23-pick-section {
    padding-top: 12px;
  }

  .g23-ad-slot--top + .g23-spotlight + .daily-special,
  .g23-ad-slot--top + .g23-spotlight + .g23-pick-section {
    padding-top: 16px;
  }
}

@media (min-width: 769px) {
  .g23-logo {
    flex: 0 1 auto;
    max-width: min(40vw, 280px);
  }
}

/* ── Hero split ── */
.g23-hero-split {
  padding: 28px 0 40px;
  background: linear-gradient(135deg, #fef08a 0%, #fff8ef 45%, #fde68a 100%);
  border-bottom: var(--g23-border);
}

.g23-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.g23-hero-eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g23-accent-text);
}

.g23-hero-split .hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.g23-hero-split .hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
  max-width: 42ch;
}

.g23-hero-search {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 14px;
}

.g23-hero-search .form-input {
  flex: 1;
  padding: 12px 16px;
  border: var(--g23-border);
  border-radius: var(--g23-radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.g23-hero-search .form-input:focus {
  box-shadow: 0 0 0 3px var(--sun-gold);
}

.hero-cta,
.g23-btn-play {
  padding: 12px 22px;
  font-family: var(--g23-font);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--star-white);
  color: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius-sm);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.hero-cta:hover,
.g23-btn-play:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lift);
}

.g23-hero-browse {
  display: inline-block;
  font-weight: 700;
  color: var(--g23-accent-text);
  border-bottom: 2px solid currentColor;
}

.g23-hero-aside {
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.g23-aside-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.g23-quick-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g23-quick-cat {
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  background: var(--space-dark);
  border: 2px solid var(--line-soft);
  border-radius: var(--g23-radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.g23-quick-cat:hover {
  background: #fef08a;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .g23-hero-grid { grid-template-columns: 1fr; }
  .g23-hero-aside { order: -1; }
  .g23-quick-cats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .g23-quick-cat { flex: 1 1 calc(50% - 4px); }
}

/* ── Section headers ── */
.g23-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.g23-section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0;
}

.module-link-more {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--nebula-pink);
  white-space: nowrap;
}

.g23-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  font-size: 0.65rem;
  font-family: var(--g23-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sun-gold);
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  vertical-align: middle;
}

/* ── Featured：左主卡横图 + 右双横条（非 g16 三列叠图） ── */
.g23-pick-section,
.daily-special:not(.g23-spotlight),
.g23-cat-wall {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.g23-spotlight {
  padding: 32px 0 44px;
}

.g23-feature-stage {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 34%);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: clamp(300px, 34vw, 380px);
  max-height: 400px;
}

.g23-feature-lead {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.g23-feature-lead:hover {
  transform: translate(-3px, -3px);
}

.g23-feature-lead-media {
  flex: 0 0 58%;
  min-width: 0;
  border-right: var(--g23-border);
  background: #e7e5e4;
  overflow: hidden;
  aspect-ratio: 7 / 4;
}

.g23-feature-lead-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.g23-feature-lead-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  background: #fef08a;
  min-width: 0;
}

.g23-feature-kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g23-accent-text);
}

.g23-feature-lead .game-title {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.2;
}

.g23-feature-strip {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.g23-feature-strip:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lift);
}

.g23-feature-strip-thumb {
  flex: 0 0 42%;
  max-width: 140px;
  border-right: var(--g23-border);
  background: #e7e5e4;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.g23-feature-strip-thumb img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.g23-feature-strip-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
  min-width: 0;
}

.g23-feature-strip:nth-of-type(2) .g23-feature-strip-copy { background: #ecfdf5; }
.g23-feature-strip:nth-of-type(3) .g23-feature-strip-copy { background: #fce7f3; }

.g23-feature-strip .game-title {
  margin: 0 0 6px;
  font-size: 0.88rem;
  line-height: 1.25;
}

.g23-feature-lead .game-star,
.g23-feature-strip .game-star {
  margin: 0;
}

@media (max-width: 768px) {
  .g23-feature-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    gap: 12px;
  }

  .g23-feature-lead {
    flex-direction: column;
    min-height: 0;
  }

  .g23-feature-lead-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    border-right: none;
    border-bottom: var(--g23-border);
  }

  .g23-feature-lead-copy {
    padding: 14px 16px;
  }

  .g23-feature-strip-thumb {
    flex: 0 0 36%;
    max-width: 120px;
  }
}

/* ── Poster grid (module 1) ── */
.g23-pick-section {
  padding: 16px 0 40px;
  background: transparent;
  border-top: var(--g23-border);
  border-bottom: var(--g23-border);
}

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

.g23-poster-card {
  display: flex;
  flex-direction: column;
  background: var(--space-dark);
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.g23-poster-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lift);
}

.g23-poster-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--g23-border);
  background: #e7e5e4;
}

.g23-poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g23-poster-card .special-card-content {
  padding: 12px 14px 16px;
  min-width: 0;
}

.g23-poster-card .game-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.25;
}

/* ── Mosaic grid (even modules) ── */
.g23-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.g23-mosaic-card {
  display: flex;
  flex-direction: column;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.g23-mosaic-card:hover { transform: rotate(-0.5deg) translate(-2px, -2px); }

.g23-mosaic-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--g23-border);
}

.g23-mosaic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g23-mosaic-card .special-card-content {
  padding: 12px 14px 16px;
}

.g23-mosaic-card:nth-child(3n+2) {
  margin-top: 12px;
}

/* ── Filmstrip carousel (odd modules) ── */
.g23-filmstrip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: stretch;
  padding: 20px;
  background: var(--star-white);
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
}

.g23-filmstrip .carousel-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0;
}

.g23-filmstrip .carousel-container::-webkit-scrollbar { display: none; }

.g23-film-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff8ef;
  border: var(--g23-border);
  border-radius: var(--g23-radius-sm);
  overflow: hidden;
}

.g23-film-thumb {
  aspect-ratio: 16 / 10;
  border-bottom: var(--g23-border);
  overflow: hidden;
}

.g23-film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g23-film-card .carousel-card-content {
  padding: 12px 14px 16px;
}

.g23-film-btn {
  align-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--sun-gold);
  border: var(--g23-border);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--line-soft);
}

.g23-film-btn:hover { background: #fef08a; }

/* ── Category wall ── */
.g23-cat-wall {
  padding: 48px 0 56px;
}

.g23-cat-wall-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

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

.g23-cat-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.g23-cat-block:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lift);
  background: #fef08a;
}

.g23-cat-block:nth-child(odd) { background: #ecfdf5; }
.g23-cat-block:nth-child(3n) { background: #fce7f3; }

.g23-cat-block-arrow {
  font-size: 1.2rem;
  opacity: 0.5;
}

/* ── Tags chips ── */
.g23-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

.g23-tag-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  background: #ecfdf5;
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  color: var(--g23-accent-text);
}

/* ── star_html ── */
.game-star,
.game-star .star-rating,
.star-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 3px 8px;
  font-size: 0.8rem;
  line-height: 1;
  background: var(--g23-star-track);
  border: 2px solid var(--g23-star-border);
  border-radius: 6px;
}

.game-star .star-icon,
.game-star .star-full,
.game-star .star-empty,
.game-star .star-half,
.game-star .fa,
.game-star .fas,
.game-star .far,
.game-star i,
.star-rating i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-style: normal;
  font-size: 0.95em;
}

.game-star .star-icon::before,
.game-star .star-full::before,
.game-star .fa-star::before,
.star-rating .star-full::before {
  content: "★";
  color: var(--g23-star-full);
}

.game-star .star-half::before,
.star-rating .star-half::before {
  content: "★";
  color: var(--g23-star-full);
  opacity: 0.5;
}

.game-star .star-empty::before,
.game-star .fa-star-o::before,
.game-star .far.fa-star::before,
.star-rating .star-empty::before {
  content: "☆";
  color: var(--g23-star-empty);
}

.g23-feature-lead .game-star,
.g23-feature-strip .game-star,
.g23-poster-card .game-star,
.g23-mosaic-card .game-star,
.g23-film-card .game-star,
.g23-catalog-card .game-star,
.g23-scroll-body .game-star {
  display: inline-flex;
  width: auto;
  margin: 0 0 6px;
  align-self: flex-start;
}

.game-star.game-star--detail-hero {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.game-star.game-star--detail-hero .detail-rating-visual,
.game-star.game-star--detail-hero .star-rating {
  display: inline-flex;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  font-size: 1.25rem;
}

.game-star.game-star--detail-hero .star-empty::before,
.game-star.game-star--detail-hero .fa-star-o::before {
  color: var(--g23-star-empty);
}

.game-star.game-star--detail-hero .star-full::before,
.game-star.game-star--detail-hero .fa-star::before {
  color: var(--g23-star-full);
  text-shadow: none;
}

.card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

/* ── Image placeholder ── */
.g23-img-ph { object-fit: cover; background: #e7e5e4; }

.g23-img-ph.is-loading {
  background: #e7e5e4;
}

.g23-img-ph.is-error { opacity: 0.35; }

/* ── Detail: Swiss editorial layout ── */
.g23-page-wrap.g23-detail-page,
.g23-body--detail .g23-page-wrap.game-detail-container {
  box-sizing: border-box;
}

.g23-detail-page {
  padding: 16px 0 48px;
}

.g23-ad-slot--detail-top {
  padding-top: 12px;
  padding-bottom: 8px;
}

.g23-detail-crumb {
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.g23-detail-crumb .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.g23-detail-crumb .breadcrumb-item a {
  color: #0a0a0a;
  font-weight: 600;
}

.g23-detail-crumb .breadcrumb-item a:hover {
  color: var(--nebula-pink);
}

.g23-detail-crumb .breadcrumb-item span[aria-current="page"] {
  color: var(--ink-muted);
}

.g23-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 0;
  border: var(--g23-border);
  margin-bottom: 32px;
}

.g23-detail-cover {
  border-right: var(--g23-border);
  background: #f5f5f4;
  overflow: hidden;
}

.g23-detail-cover-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.g23-detail-meta {
  padding: 28px 32px 32px;
  min-width: 0;
}

.g23-detail-meta #game-title {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.g23-detail-tags {
  margin-bottom: 14px;
}

.g23-tag-pill {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid #e5e5e5;
  color: var(--ink-muted);
}

.g23-detail-meta .g23-btn-play {
  margin-top: 4px;
  background: #0a0a0a;
  color: #fff;
  border: var(--g23-border);
}

.g23-detail-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.g23-detail-article {
  border: var(--g23-border);
}

.g23-detail-block {
  padding: 24px 28px 28px;
  border-bottom: var(--g23-border);
}

.g23-detail-block:last-child {
  border-bottom: none;
}

.g23-detail-block h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.g23-block-num {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--nebula-pink);
  letter-spacing: 0.05em;
}

.g23-detail-quote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #0a0a0a;
  max-width: 68ch;
}

.rich-content { line-height: 1.7; color: var(--ink-muted); }
.rich-content img { max-width: 100%; height: auto; }

.g23-detail-article .rich-content > *:last-child {
  margin-bottom: 0;
}

/* Related games grid */
.g23-related-section {
  padding: 32px 0 48px;
  border-top: var(--g23-border);
}

.g23-related-section .g23-section-head {
  margin-bottom: 16px;
}

.g23-related-section .module-description {
  margin: -8px 0 16px;
}

.g23-related-grid {
  margin-top: 0;
}

/* ── Tags page: Swiss catalog layout ── */
.g23-tags-page {
  padding-top: 8px;
  padding-bottom: 56px;
}

.g23-tags-top {
  padding-top: 8px;
  padding-bottom: 24px;
  border-bottom: var(--g23-border);
}

.g23-tags-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.g23-tags-hero .tag-h2 {
  margin: 0;
  max-width: 52ch;
}

.tag-h2 {
  font-family: var(--g23-font);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.g23-tags-cat-nav {
  margin: 24px 0 20px;
}

.g23-tags-cat-label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.g23-tags-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: var(--g23-border);
}

.g23-tags-cat-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  background: #fff;
  border-right: var(--g23-border);
  border-bottom: var(--g23-border);
  transition: background var(--transition-fast);
}

.g23-tags-cat-grid .g23-tags-cat-link:nth-child(5n) {
  border-right: none;
}

.g23-tags-cat-link:hover {
  background: #fafafa;
}

.g23-tags-cat-link.active {
  background: #0a0a0a;
  color: #fff;
}

.g23-tags-cat-link.active .g23-cat-idx {
  color: var(--nebula-pink);
}

.g23-tags-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.g23-filter-toggle {
  display: none;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  background: #fff;
  border: var(--g23-border);
  cursor: pointer;
}

.g23-view-panel {
  display: flex;
  border: var(--g23-border);
}

.g23-view-btn {
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.78rem;
  background: #fff;
  border: none;
  border-right: var(--g23-border);
  cursor: pointer;
}

.g23-view-btn:last-child {
  border-right: none;
}

.g23-view-btn.is-active {
  background: #0a0a0a;
  color: #fff;
}

.g23-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1090;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(10, 10, 10, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.g23-drawer-open .g23-drawer-backdrop {
  display: block;
}

.g23-tags-drawer {
  display: none;
}

.g23-drawer-panel {
  background: #fff;
  border: var(--g23-border);
  padding: 0;
  width: min(360px, 100%);
  max-height: min(80vh, 520px);
  overflow-y: auto;
}

.g23-drawer-title {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: var(--g23-border);
}

.g23-drawer-cat-list {
  margin: 0;
}

.g23-drawer-cat-link.active {
  background: #fafafa;
  font-weight: 700;
}

.g23-tags-main-wrap {
  padding-top: 28px;
  padding-bottom: 8px;
}

.g23-tags-main {
  min-width: 0;
}

.g23-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: var(--g23-border);
}

.g23-catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: var(--g23-border);
  border-bottom: var(--g23-border);
  overflow: hidden;
  transition: background var(--transition-fast);
}

.g23-catalog-card:nth-child(3n) {
  border-right: none;
}

.g23-catalog-card:hover {
  background: #fafafa;
}

.g23-catalog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--g23-border);
}

.g23-catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g23-catalog-card .game-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.g23-catalog-card .game-star {
  margin-bottom: 6px;
}

/* List view */
.g23-catalog-grid.list-view {
  grid-template-columns: 1fr;
  border-top: none;
}

.g23-catalog-grid.list-view .g23-catalog-card {
  flex-direction: row;
  align-items: stretch;
  border-right: none;
}

.g23-catalog-grid.list-view .g23-catalog-card:nth-child(3n) {
  border-right: none;
}

.g23-catalog-grid.list-view .g23-catalog-thumb {
  flex: 0 0 min(38%, 280px);
  max-width: 280px;
  border-bottom: none;
  border-right: var(--g23-border);
}

.g23-catalog-grid.list-view .special-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pagination-container {
  margin-top: 28px;
  padding-top: 8px;
}

/* ── Empty state ── */
.g23-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  box-shadow: var(--shadow-card);
}

.g23-empty--inline {
  grid-column: 1 / -1;
}

.g23-empty-icon {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--nebula-pink);
}

.game-empty-title {
  font-family: var(--g23-font);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

/* ── Footer ── */
.g23-footer {
  margin-top: auto;
  background: var(--star-white);
  color: #fff;
  border-top: var(--g23-border);
}

.g23-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 36px 20px 28px;
}

.g23-footer-name {
  display: block;
  font-family: var(--g23-font);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.g23-footer-brand p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 40ch;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background var(--transition-fast);
}

.footer-social-link:hover { background: var(--nebula-pink); }

.g23-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: flex-start;
}

.g23-footer-nav a {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.g23-footer-nav a:hover { color: var(--sun-gold); }

.g23-footer-copy {
  padding: 14px 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.g23-footer-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Back to top */
.g23-back-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 900;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sun-gold);
  color: var(--star-white);
  border: var(--g23-border);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.g23-back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .g23-back-top { bottom: 24px; }
}

/* ── Game modal ── */
.g23-game-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 22, 37, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.g23-game-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.g23-modal-panel {
  position: relative;
  width: min(960px, 100%);
  height: min(80vh, 640px);
  background: #000;
  border: var(--g23-border);
  border-radius: var(--g23-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.g23-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.g23-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 8px 14px;
  font-weight: 700;
  background: #fff;
  border: var(--g23-border);
  border-radius: var(--g23-radius-sm);
  cursor: pointer;
}

/* Breadcrumbs (non-banner) */
.breadcrumb-nav { margin: 0 0 16px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--comet-cyan);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Daily section spacing */
.daily-special {
  padding: 36px 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .g23-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g23-mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g23-mosaic-card:nth-child(3n+2) { margin-top: 0; }
  .g23-tags-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g23-tags-cat-grid .g23-tags-cat-link:nth-child(5n) { border-right: var(--g23-border); }
  .g23-tags-cat-grid .g23-tags-cat-link:nth-child(3n) { border-right: none; }
  .g23-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g23-catalog-card:nth-child(3n) { border-right: var(--g23-border); }
  .g23-catalog-card:nth-child(2n) { border-right: none; }
  .g23-cat-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .g23-page-wrap.g23-detail-page,
  .g23-body--detail .g23-page-wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .g23-detail-page {
    padding-top: 12px;
    padding-bottom: 32px;
  }

  .g23-detail-hero {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .g23-detail-cover {
    border-right: none;
    border-bottom: var(--g23-border);
  }

  .g23-detail-cover-img {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .g23-detail-meta {
    padding: 20px 16px 24px;
  }

  .g23-detail-meta #game-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .g23-detail-article {
    max-width: 100%;
  }

  .g23-detail-block {
    padding: 20px 16px 22px;
  }

  .g23-detail-article .rich-content {
    overflow-x: auto;
    word-break: break-word;
  }

  .g23-related-section {
    padding: 24px 0 40px;
  }

  .g23-related-section .g23-catalog-grid {
    max-width: 100%;
  }

  .legal-container {
    padding: 20px 16px;
  }

  .legal-container h1 {
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .g23-tags-cat-nav {
    display: none;
  }
  .g23-filter-toggle {
    display: block;
  }
  body.g23-drawer-open .g23-tags-drawer {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1100;
    padding: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
  }
  body.g23-drawer-open .g23-drawer-panel {
    pointer-events: auto;
  }
  .g23-tags-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g23-tags-cat-grid .g23-tags-cat-link:nth-child(5n) {
    border-right: var(--g23-border);
  }
  .g23-tags-cat-grid .g23-tags-cat-link:nth-child(2n) {
    border-right: none;
  }
  .g23-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .g23-catalog-card:nth-child(3n) {
    border-right: var(--g23-border);
  }
  .g23-catalog-card:nth-child(2n) {
    border-right: none;
  }
  .g23-catalog-grid.list-view .g23-catalog-thumb {
    flex: 0 0 42%;
    max-width: none;
  }
  .g23-poster-grid,
  .g23-mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .g23-poster-thumb,
  .g23-mosaic-media,
  .g23-film-thumb {
    aspect-ratio: 16 / 10;
  }
  .g23-footer-inner { grid-template-columns: 1fr; }
  .g23-filmstrip {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .g23-film-btn { display: none; }
}

/* === g23 Swiss monochrome theme === */
.g23-body { background: #fff; color: #0a0a0a; }
.g23-site-header { background: #fff; border-bottom: var(--g23-border); }
.g23-logo .logo-text { font-weight: 900; letter-spacing: -0.03em; text-transform: lowercase; }
.g23-nav-bar .nav-link { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; }
.g23-nav-bar .nav-link.active { color: var(--nebula-pink); }
.g23-header-cta { background: var(--nebula-pink); color: #fff; border-radius: 0; font-size: 0.72rem; font-weight: 700; padding: 8px 16px; }
.g23-hero-swiss {
  padding: 32px 0 28px;
  border-bottom: var(--g23-border);
}
.g23-hero-swiss .g23-page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.g23-hero-line {
  width: 64px;
  height: 4px;
  background: var(--nebula-pink);
  margin: 0 auto 14px;
  flex-shrink: 0;
}
.g23-hero-swiss .hero-title {
  margin: 0 auto;
  font-size: clamp(1.65rem, 4.8vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: min(100%, 18em);
}
.g23-hero-swiss .hero-subtitle {
  margin: 10px auto 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 42ch;
  line-height: 1.5;
}

.g23-hero-swiss .hero-subtitle p {
  margin: 0;
}
.g23-hero-search {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 360px;
  margin: 16px auto 0;
  border: var(--g23-border);
}
.g23-hero-search .form-input { flex: 1; border: none; padding: 12px 14px; font-size: 0.85rem; }
.g23-hero-search .hero-cta { border-radius: 0; background: #0a0a0a; color: #fff; padding: 12px 18px; border: none; min-width: 48px; }
.g23-bento { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: #0a0a0a; border: var(--g23-border); }
.g23-bento-cell { display: block; background: #fff; position: relative; overflow: hidden; }
.g23-bento-0 { grid-row: 1 / 3; }
.g23-bento-img { aspect-ratio: 16/10; overflow: hidden; }
.g23-bento-0 .g23-bento-img { aspect-ratio: auto; height: 100%; min-height: 280px; }
.g23-bento-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%); transition: filter var(--transition-fast); }
.g23-bento-cell:hover .g23-bento-img img { filter: grayscale(0%); }
.g23-bento-meta { padding: 12px 16px; border-top: var(--g23-border); }
.g23-bento-num { font-size: 0.68rem; font-weight: 700; color: var(--nebula-pink); letter-spacing: 0.05em; }
.g23-swiss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: var(--g23-border); }
.g23-swiss-card { border-right: var(--g23-border); border-bottom: var(--g23-border); background: #fff; }
.g23-swiss-card:nth-child(3n) { border-right: none; }
.g23-swiss-thumb { aspect-ratio: 16/10; overflow: hidden; border-bottom: var(--g23-border); }
.g23-swiss-thumb img,
.g23-lined-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g23-swiss-card .special-card-content,
.g23-lined-card .special-card-content {
  padding: 12px 16px 16px;
}
.g23-lined-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: var(--g23-border); border-left: var(--g23-border); }
.g23-lined-card { border-right: var(--g23-border); border-bottom: var(--g23-border); background: #fff; }
.g23-lined-thumb { aspect-ratio: 16/10; overflow: hidden; }
.g23-cat-index {
  padding: 36px 0 56px;
}
.g23-cat-title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--star-white);
}
.g23-cat-list { list-style: none; padding: 0; margin: 0; border: var(--g23-border); }
.g23-cat-list li:last-child .g23-cat-row { border-bottom: none; }
.g23-cat-row { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: var(--g23-border); transition: background var(--transition-fast); }
.g23-cat-row:hover { background: #fafafa; }
.g23-cat-idx { font-weight: 900; color: var(--nebula-pink); font-size: 0.85rem; min-width: 28px; }
.g23-tag-chip { font-size: 0.68rem; border: 1px solid #e5e5e5; padding: 2px 6px; color: var(--ink-muted); }
.g23-badge { color: var(--nebula-pink); font-weight: 700; font-size: 0.72rem; margin-right: 8px; }
.g23-footer { background: #0a0a0a; color: #fff; border-top: 4px solid var(--nebula-pink); }
.g23-footer a { color: #a3a3a3; }
.g23-pick-section {
  background: transparent;
  content-visibility: visible;
  contain-intrinsic-size: none;
}
.g23-section-head h2 {
  color: var(--star-white);
}
@media (max-width: 768px) {
  .g23-hero-swiss {
    padding: 24px 0 20px;
  }
  .g23-hero-line {
    width: 48px;
    margin-bottom: 10px;
  }
  .g23-hero-swiss .hero-title {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    line-height: 1.12;
    max-width: min(100%, 16em);
  }
  .g23-hero-swiss .hero-subtitle {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.45;
  }
  .g23-hero-search {
    margin-top: 12px;
  }

  /* 置顶区：横向滑动，首屏即可看到游戏卡 */
  .g23-spotlight {
    padding: 16px 0 20px;
  }

  .g23-spotlight .g23-section-head {
    margin-bottom: 4px;
  }

  .g23-spotlight .module-description {
    margin-bottom: 10px;
    font-size: 0.85rem;
  }

  .g23-bento {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .g23-bento-cell {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
    border-right: var(--g23-border);
    min-width: 0;
  }

  .g23-bento-cell:last-child {
    border-right: none;
  }

  .g23-bento-0 {
    grid-row: unset;
    grid-column: unset;
  }

  .g23-bento-img {
    aspect-ratio: 16 / 10;
  }

  .g23-bento-0 .g23-bento-img {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .g23-bento-meta {
    padding: 10px 12px 12px;
  }

  .g23-bento-meta .game-title {
    font-size: 0.88rem;
  }

  .g23-swiss-grid, .g23-lined-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g23-cat-index { padding: 32px 0 48px; }
}.g18-neon-card .game-title, .g18-dense-card .game-title, .g18-row-card .game-title,
.g20-orbit-card .game-title, .g20-soft-card .game-title, .g20-masonry-card .game-title,
.g21-timeline-item .game-title, .g21-minimal-card .game-title, .g21-compact-card .game-title,
.g22-stack-card .game-title, .g22-overlay-card .game-title, .g22-tide-card .game-title,
.g23-bento-cell .game-title, .g23-swiss-card .game-title, .g23-lined-card .game-title,
.g23-catalog-card .game-title {
  display: block; max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
