:root {
  --space-dark: #1a0f2e;
  --space-blue: #2a1848;
  --star-white: #fff7ed;
  --nebula-pink: #fb7185;
  --comet-cyan: #c4b5fd;
  --sun-gold: #fbbf24;
  --ink-muted: #d6d3d1;
  --ink-on-light: #44403c;
  --line-soft: rgba(251, 113, 133, 0.32);
  --g28-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --g28-header-h: 56px;
  --g28-header-h-mobile: 100px;
  --g28-star-full: #fbbf24;
  --g28-star-empty: rgba(255, 247, 237, 0.35);
  --g28-radius: 16px;
  --g28-radius-sm: 10px;
  --g28-accent-text: #fecdd3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .g28-body {
  background: var(--space-dark);
  color: var(--star-white);
  font-family: var(--g28-font);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { margin-top: 0; font-weight: 700; }

body.g28-body:has(.g28-hero-editorial) { padding-top: 0; }
body.g28-body:not(:has(.g28-hero-editorial)) { padding-top: var(--g28-header-h); }
body.g28-body:has(.g28-ad-slot--top) .anchorAdContent,
body.g28-body--detail:has(.g28-ad-slot--detail-top) .anchorAdContent { display: none !important; }

.g28-page-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
  box-sizing: border-box;
}

/* ── List essentials ── */
.article-list .special-card-content,
.article-list .carousel-card-content {
  padding: 12px 14px 16px;
}
.brief-comment-game {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list .game-title,
.article-list .card-title,
.special-card .game-title,
.game-card .card-title,
.carousel-card .game-title,
.g28-feature-card .game-title,
.g28-zig-body .game-title,
.g28-rank-body .game-title,
.g28-tag-body .game-title,
.g28-cover-meta .game-title {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-list .game-title + .game-star,
.special-card .game-title + .game-star,
.game-card .card-title + .game-star,
.carousel-card .game-title + .game-star,
.g28-feature-card .game-title + .game-star,
.g28-zig-body .game-title + .game-star,
.g28-rank-body .game-title + .game-star,
.g28-cover-meta .game-title + .game-star {
  margin-top: 0;
  margin-bottom: 6px;
}
.special-card-content,
.carousel-card-content,
.g28-feature-card .special-card-content,
.g28-zig-body,
.g28-rank-body,
.g28-row-content,
.g28-cover-meta { min-width: 0; }
.module-description { color: var(--ink-muted); margin: 0 0 1rem; font-size: 0.92rem; }

.game-star, .star-rating { display: inline-flex; gap: 2px; align-items: center; }
.game-star .star-full::before { content: "★"; color: var(--g28-star-full); }
.game-star .star-empty::before { content: "☆"; color: var(--g28-star-empty); }
.game-star--detail-hero { margin: 8px 0 12px; }

/* ── Header / Nav ── */
.g28-top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 15, 46, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  overflow: visible;
}
body.g28-body:has(.g28-hero-editorial) .g28-top-header {
  position: absolute;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.g28-top-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 10px 16px;
  align-items: center;
  min-height: var(--g28-header-h);
  padding: 10px 0;
  min-width: 0;
  overflow: visible;
}
@media (min-width: 768px) {
  .g28-top-inner {
    grid-template-columns: auto minmax(180px, 360px) minmax(0, 1fr);
    grid-template-rows: auto;
  }
}
.g28-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}
.g28-logo .logo-text { font-weight: 700; color: #fff; }
body.g28-body:has(.g28-hero-editorial) .g28-logo .logo-text {
  background: linear-gradient(90deg, #fff, #fecdd3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}
.g28-header-search {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
}
body.g28-body:has(.g28-hero-editorial) .g28-header-search { display: none; }
@media (min-width: 768px) {
  .g28-header-search {
    grid-column: 2;
    grid-row: 1;
    max-width: 360px;
    width: 100%;
    min-width: 0;
    justify-self: center;
  }
  body.g28-body:has(.g28-hero-editorial) .g28-header-search { display: none; }
}
.g28-header-search .form-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.88rem;
}
body.g28-body:not(:has(.g28-hero-editorial)) .g28-header-search .form-input {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--line-soft);
}
.g28-header-go,
.g28-hero-go {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #8b5cf6);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.g28-top-nav,
.g28-nav-track {
  display: none;
  align-items: center;
  gap: 8px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.g28-nav-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .g28-top-nav,
  .g28-nav-track { display: flex; }
}
.g28-top-nav .nav-link,
.g28-top-nav .nav-more-toggle,
.g28-nav-scroll .nav-link { white-space: nowrap; flex: 0 0 auto; }
.g28-top-nav .nav-item--primary.is-overflow-hidden,
.g28-nav-scroll .nav-item--primary.is-overflow-hidden { display: none; }
.g28-top-nav .nav-more {
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-inline-start: 2px;
}
.g28-top-nav .nav-more[hidden] { display: none !important; }
.g28-top-nav .nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  font: inherit;
  background: rgba(251, 113, 133, 0.18);
  color: #fecdd3;
  box-shadow: none;
  font-weight: 600;
  font-size: 0.84rem;
}
.g28-top-nav .nav-more-toggle:hover,
.g28-top-nav .nav-more.active .nav-more-toggle {
  background: rgba(251, 113, 133, 0.32);
  color: #fff;
}
.g28-top-nav .nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  max-height: min(70vh, 360px);
  overflow-y: auto;
  padding: 8px;
  background: var(--space-blue);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  z-index: 1300;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.g28-top-nav .nav-more.active .nav-more-menu { display: flex; flex-direction: column; gap: 4px; }
.g28-top-nav .nav-more-menu .nav-link { display: block; padding: 8px 12px; border-radius: 8px; }
.g28-top-nav .nav-more-menu .nav-link:hover,
.g28-top-nav .nav-more-menu .nav-link.active { background: rgba(251, 113, 133, 0.2); color: #fff; }
.g28-top-nav .nav-link::after,
.g28-top-nav .nav-more-toggle::after { display: none !important; }
.g28-top-nav .nav-link {
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 0.84rem;
}
body.g28-body:not(:has(.g28-hero-editorial)) .g28-top-nav .nav-link { color: var(--ink-muted); }
.g28-top-nav .nav-link.active,
.g28-top-nav .nav-link:hover {
  background: rgba(251, 113, 133, 0.25);
  color: #fff;
}
@media (min-width: 768px) {
  .g28-top-nav,
  .g28-nav-track {
    grid-column: 3;
    justify-content: flex-end;
    padding-inline-end: 4px;
  }
}

.g28-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  background: #2a1848;
  border-top: 1px solid var(--line-soft);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 768px) { .g28-mobile-bar { display: none; } }
body.g28-body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { body.g28-body { padding-bottom: 0; } }
.g28-mobile-bar .mobile-nav-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 0.7rem;
  color: var(--ink-muted);
}
.g28-mobile-bar .mobile-nav-item.active { color: #fb7185; }

/* ── Hero editorial (site copy only) ── */
.g28-hero-editorial {
  position: relative;
  padding: calc(var(--g28-header-h) + 16px) 0 20px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.g28-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(251, 113, 133, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 45% at 88% 20%, rgba(139, 92, 246, 0.22), transparent 45%),
    linear-gradient(180deg, #2d1a4a 0%, var(--space-dark) 100%);
}
.g28-hero-inner {
  position: relative;
  z-index: 1;
}
.g28-hero-grid {
  display: grid;
  gap: 20px;
  align-items: end;
}
.g28-hero-copy {
  min-width: 0;
}
.g28-hero-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
@media (min-width: 768px) {
  .g28-hero-editorial { padding-bottom: 28px; }
  .g28-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px 40px;
    align-items: end;
  }
  .g28-hero-tools {
    padding-bottom: 2px;
  }
}
.g28-hero-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fecdd3;
}
.g28-hero-editorial .hero-title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  margin: 0;
  color: #fff;
  line-height: 1.25;
}
.g28-hero-editorial .hero-subtitle {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 42rem;
}
.g28-hero-editorial .hero-subtitle p { margin: 0; }
.g28-hero-search {
  display: flex;
  gap: 8px;
  width: 100%;
}
.g28-hero-search .form-input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}
.g28-hero-search .form-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.g28-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g28-hero-chip {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fecdd3;
  font-weight: 600;
  font-size: 0.78rem;
  transition: background 0.15s, border-color 0.15s;
}
.g28-hero-chip:hover {
  background: rgba(251, 113, 133, 0.18);
  border-color: rgba(251, 113, 133, 0.35);
  color: #fff;
}

/* ── Section head ── */
.g28-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.g28-section-head h2 { font-size: 1.15rem; margin: 0; }
.module-link-more { color: #fb7185; font-weight: 600; font-size: 0.88rem; flex-shrink: 0; }

/* ── Top module feature grid ── */
.g28-top-module { padding-top: 20px; }
.g28-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .g28-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
  .g28-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.g28-feature-card {
  display: block;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--g28-radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
.g28-feature-card:hover { transform: translateY(-3px); }
.g28-feature-thumb { aspect-ratio: 16/10; overflow: hidden; }
.g28-feature-card .brief-comment-game {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g28-feature-thumb img,
.g28-zig-thumb img,
.g28-poster-thumb img,
.g28-rank-thumb img,
.g28-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g28-img-ph { background: #3b2667; }

/* ── Zigzag module ── */
.g28-zigzag { display: flex; flex-direction: column; gap: 20px; }
.g28-zig-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--g28-radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
@media (min-width: 640px) {
  .g28-zig-row { grid-template-columns: 42% minmax(0, 1fr); align-items: stretch; }
  .g28-zig-row--flip { grid-template-columns: minmax(0, 1fr) 42%; }
  .g28-zig-row--flip .g28-zig-thumb { order: 2; }
  .g28-zig-row--flip .g28-zig-body { order: 1; }
}
.g28-zig-row:hover { transform: translateX(3px); }
.g28-zig-row--flip:hover { transform: translateX(-3px); }
.g28-zig-thumb { aspect-ratio: 16/10; overflow: hidden; min-height: 100%; }
.g28-zig-body { display: flex; flex-direction: column; justify-content: center; }
.g28-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.g28-tag-chip {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.22);
  color: var(--g28-accent-text);
}

/* ── Poster grid ── */
.g28-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 768px) {
  .g28-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.g28-poster-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--g28-radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
  min-width: 0;
}
.g28-poster-card:hover { transform: translateY(-3px); }
.g28-poster-thumb { aspect-ratio: 16/10; overflow: hidden; }

/* ── Rank stack ── */
.g28-rank-stack { display: flex; flex-direction: column; gap: 10px; }
.g28-rank-row {
  display: grid;
  grid-template-columns: 36px 100px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--g28-radius-sm);
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
.g28-rank-row:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.08); }
.g28-rank-num {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fb7185, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.g28-rank-thumb { aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; }
.g28-rank-go { color: #fb7185; font-size: 1.1rem; opacity: 0.7; }

/* ── Category tiles ── */
.g28-cat-tiles { padding: 32px 0 56px; }
.g28-cat-heading { margin: 0 0 16px; font-size: 1.1rem; }
.g28-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) { .g28-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g28-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--g28-radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
.g28-tile:hover { transform: scale(1.03); }
.g28-tile-0 { background: linear-gradient(135deg, rgba(251,113,133,0.35), rgba(139,92,246,0.25)); }
.g28-tile-1 { background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(251,113,133,0.2)); }
.g28-tile-2 { background: linear-gradient(135deg, rgba(251,191,36,0.2), rgba(251,113,133,0.25)); }
.g28-tile-3 { background: linear-gradient(135deg, rgba(196,181,253,0.25), rgba(139,92,246,0.2)); }
.g28-tile-4 { background: linear-gradient(135deg, rgba(251,113,133,0.28), rgba(251,191,36,0.18)); }
.g28-tile-5 { background: linear-gradient(135deg, rgba(139,92,246,0.28), rgba(196,181,253,0.2)); }

/* ── Sections ── */
.g28-pick-section { background: transparent; }
.g28-spotlight,
.daily-special,
.g28-related { padding: 24px 0; content-visibility: auto; contain-intrinsic-size: auto 280px; }

/* ── Detail related (row cards) ── */
.g28-row-list { display: flex; flex-direction: column; gap: 12px; }
.g28-row-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
.g28-row-card:hover { transform: translateX(4px); }
.g28-row-thumb { aspect-ratio: 16/10; overflow: hidden; min-height: 100%; }
.g28-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px 16px;
}

/* ── Tags page ── */
.g28-body--tags .tags-box.g28-tags-page {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding-bottom: 72px;
}

.g28-tags-hero-band {
  position: relative;
  padding: calc(var(--g28-header-h) + 20px) 0 28px;
  overflow: hidden;
}
.g28-tags-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 40%, rgba(251, 113, 133, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(139, 92, 246, 0.3), transparent 50%),
    linear-gradient(180deg, #2d1a4a 0%, var(--space-dark) 100%);
}
.g28-tags-hero-inner { position: relative; z-index: 1; }
.g28-tags-eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}
.g28-tags-hero-inner h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.g28-tags-hero-inner .tag-h2 {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 10px 0 0;
  font-weight: 400;
  max-width: 52ch;
}

.g28-tags-controls {
  padding-top: 8px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.g28-cat-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.g28-cat-rail::-webkit-scrollbar { display: none; }
.g28-cat-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-soft);
  color: var(--ink-muted);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.g28-cat-pill:hover { background: rgba(251, 113, 133, 0.18); color: #fff; }
.g28-cat-pill.active {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.45), rgba(139, 92, 246, 0.35));
  border-color: rgba(251, 113, 133, 0.5);
  color: #fff;
}

.g28-tags-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.g28-filter-toggle {
  display: none;
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
}
.g28-view-panel {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--g28-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  margin-left: auto;
}
.g28-view-btn {
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.82rem;
}
.g28-view-btn.is-active { background: rgba(251, 113, 133, 0.35); color: #fff; font-weight: 600; }

.g28-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
body.g28-drawer-open .g28-drawer-backdrop { display: block; }
.g28-tags-drawer { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
body.g28-drawer-open .g28-drawer-panel { pointer-events: auto; }
.g28-drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: #2a1848;
  border-right: 1px solid var(--line-soft);
  padding: calc(var(--g28-header-h) + 20px) 20px 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  z-index: 1200;
}
body.g28-drawer-open .g28-drawer-panel { transform: translateX(0); }
.g28-drawer-panel h2 {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.g28-drawer-list { list-style: none; margin: 0; padding: 0; }
.g28-drawer-tab {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-muted);
}
.g28-drawer-tab:hover { color: #fff; }
.g28-drawer-tab.active {
  color: #fff;
  font-weight: 600;
  padding-left: 10px;
  border-left: 3px solid #fb7185;
}

.g28-tags-main-wrap { padding-bottom: 24px; }
.g28-body--tags .g28-catalog-grid.games-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .g28-body--tags .g28-catalog-grid.games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
  .g28-body--tags .g28-catalog-grid.games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

.g28-cover-card {
  position: relative;
  display: block;
  border-radius: var(--g28-radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  transition: transform 0.15s;
}
.g28-cover-card:hover { transform: translateY(-3px); }
.g28-cover-thumb { aspect-ratio: 16/10; overflow: hidden; }
.g28-cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g28-cover-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 8, 28, 0.92) 55%);
}
.g28-cover-meta .game-title { color: #fff; }
.g28-cover-brief { display: none; }

.g28-empty--inline { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--ink-muted); }
.g28-body--tags .pagination-container { margin-top: 28px; }

.g28-body--tags .g28-catalog-grid.games-grid.list-view {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: start;
  padding: 14px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  overflow: visible;
}
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-card:hover { transform: none; background: rgba(255, 255, 255, 0.04); }
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-thumb {
  grid-row: 1 / 3;
  grid-column: 1;
  border-radius: 8px;
}
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-meta {
  position: static;
  grid-column: 2;
  grid-row: 1;
  background: none;
  padding: 0;
}
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-brief {
  display: block;
  grid-column: 2;
  grid-row: 2;
  padding: 0 0 4px;
}
.g28-body--tags .g28-catalog-grid.list-view .g28-cover-meta .game-title { color: inherit; }

/* ── Detail ── */
.g28-body--detail .game-detail-container {
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
.g28-body--detail .detail-split-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.g28-detail-page { padding: 20px 0 32px; }
.g28-detail-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.g28-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: var(--g28-radius);
}
.g28-detail-cover {
  aspect-ratio: 16 / 10;
  max-height: 240px;
  border-radius: var(--g28-radius-sm);
  overflow: hidden;
}
.g28-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g28-detail-meta { min-width: 0; }
.g28-detail-meta #game-title {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
}
.g28-detail-crumb { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 10px; }
.g28-detail-crumb a { color: #fecdd3; }
.g28-detail-crumb a:hover { color: #fb7185; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.g28-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.g28-tag-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(251, 113, 133, 0.22);
  color: var(--g28-accent-text);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(251, 113, 133, 0.35);
}
.g28-btn-play {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s;
}
.g28-btn-play:hover { transform: translateY(-2px); }
.game-star--detail-hero { margin: 4px 0; }

.g28-detail-block {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: var(--g28-radius);
}
.g28-detail-block h2 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fb7185;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.g28-detail-block p,
.g28-detail-block .rich-content { color: var(--ink-muted); line-height: 1.65; margin: 0; }
.g28-body--detail .g28-detail-block.detail-split-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: 100%;
  box-sizing: border-box;
}
.g28-body--detail .rich-content {
  overflow-x: auto;
  word-break: break-word;
  max-width: 100%;
}
.g28-body--detail .rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--g28-radius-sm);
}
.g28-empty--detail { padding: 64px 20px; text-align: center; }

.g28-related { padding: 8px 0 32px; }
.g28-body--detail .g28-related .g28-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 768px) {
  .g28-body--detail .g28-related .g28-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .g28-body--detail .g28-related .g28-poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rich-content { line-height: 1.7; overflow-x: auto; word-break: break-word; }

.g28-game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 6, 18, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.g28-game-modal.is-open { display: flex; }
.g28-modal-panel {
  position: relative;
  width: min(1100px, 100%);
  height: min(86vh, 760px);
  background: var(--space-blue);
  border: 1px solid var(--line-soft);
  border-radius: var(--g28-radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.g28-modal-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
  background: #120a1f;
}
.g28-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(42, 24, 72, 0.95);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.g28-modal-close:hover { background: #fb7185; border-color: #fb7185; }

/* ── Footer ── */
.g28-footer { margin-top: auto; border-top: 1px solid var(--line-soft); padding-top: 32px; }
.g28-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-bottom: 24px; }
.g28-footer-brand p { color: var(--ink-muted); font-size: 0.9rem; }
.footer-social-link { color: #fb7185; margin-right: 12px; font-size: 0.82rem; }
.g28-footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: 0.88rem; }
.g28-footer-copy { text-align: center; padding: 14px; color: var(--ink-muted); font-size: 0.82rem; border-top: 1px solid var(--line-soft); }

.g28-ad-slot {
  width: 100%;
  padding: 16px 0;
  overflow: hidden;
  box-sizing: border-box;
}
.g28-page-wrap.g28-ad-slot {
  display: block;
}
.g28-ad-slot--top,
.g28-ad-slot--detail-top { padding-top: 20px; }

/* 广告与内容同宽：覆盖 CMS 内嵌 container / ad-container / 内联 min-width:300px */
.g28-body .g28-page-wrap.g28-ad-slot .container,
.g28-body .g28-page-wrap.g28-ad-slot .ad-container,
.g28-body .g28-page-wrap.g28-ad-slot .banner-ad,
.g28-body .g28-page-wrap.g28-ad-slot .ad-content,
.g28-body .g28-page-wrap.g28-ad-slot > div {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
.g28-body .g28-page-wrap.g28-ad-slot .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.g28-body .g28-page-wrap.g28-ad-slot .ad-content {
  display: block !important;
  min-width: 0 !important;
  min-height: 250px;
  height: auto !important;
}
.g28-body .g28-page-wrap.g28-ad-slot .ad-container > div,
.g28-body .g28-page-wrap.g28-ad-slot iframe,
.g28-body .g28-page-wrap.g28-ad-slot ins {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
.g28-body .g28-page-wrap.g28-ad-slot .ad-title {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.g28-page-wrap > * + .legal-container { margin-top: 24px; }
.g28-page-wrap > .legal-container:first-child { margin-top: 24px; }
.g28-legal-ad {
  padding-top: 24px;
  overflow: hidden;
}
.legal-container {
  padding: 28px 24px;
  margin-bottom: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  line-height: 1.7;
}
.legal-container h1, .legal-container h2 { color: #fb7185; }
.g28-empty { text-align: center; padding: 48px; }
.g28-back-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #fb7185, #8b5cf6);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.g28-back-top.show { opacity: 1; pointer-events: auto; }
.pagination-container { margin-top: 24px; }

@media (max-width: 767px) {
  body.g28-body:not(:has(.g28-hero-editorial)) {
    padding-top: var(--g28-header-h-mobile);
  }
  body.g28-drawer-open .g28-drawer-panel {
    padding-top: calc(var(--g28-header-h-mobile) + 20px);
  }
  .g28-ad-slot--top,
  .g28-ad-slot--detail-top { padding-top: 12px; }
}

@media (max-width: 768px) {
  body.g28-body:has(.g28-hero-editorial) .g28-top-inner {
    grid-template-rows: auto;
    gap: 0;
    padding: 6px 0;
    min-height: 0;
  }
  .g28-hero-editorial {
    padding-top: calc(var(--g28-header-h) + 6px);
    padding-bottom: 14px;
  }
  .g28-hero-grid { gap: 16px; }
  .g28-logo .logo-img { height: 32px; max-width: 128px; }
  .g28-page-wrap {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .g28-spotlight,
  .daily-special { padding: 16px 0; }
  .g28-top-module { padding-top: 12px; }
  .g28-section-head { margin-bottom: 10px; gap: 8px; }
  .g28-top-module .module-description { margin-bottom: 10px; }
  .g28-feature-grid { gap: 8px; }
  .g28-feature-card .special-card-content {
    padding: 8px 10px 10px;
  }
  .g28-feature-card .game-title + .game-star { margin-bottom: 4px; }
  .g28-feature-card .brief-comment-game {
    margin-top: 4px;
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .g28-rank-row {
    grid-template-columns: 32px minmax(124px, 36vw) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
  }
  .g28-rank-body.special-card-content { padding: 0; }
  .g28-rank-go { display: none; }
  .g28-row-card { grid-template-columns: 120px minmax(0, 1fr); }
  .g28-footer-inner { grid-template-columns: 1fr; }
  .g28-filter-toggle { display: inline-flex; }
  .g28-body--tags .g28-catalog-grid.games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .g28-body--tags .g28-catalog-grid.list-view .g28-cover-card { grid-template-columns: 1fr; gap: 8px; }
  .g28-body--tags .g28-catalog-grid.list-view .g28-cover-thumb { grid-row: auto; grid-column: 1; width: 100%; }
  .g28-body--tags .g28-catalog-grid.list-view .g28-cover-meta,
  .g28-body--tags .g28-catalog-grid.list-view .g28-cover-brief { grid-column: 1; }
  .g28-detail-top { grid-template-columns: 1fr; gap: 16px; }
  .g28-detail-cover { max-height: none; }
  .g28-body--detail .g28-related .g28-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g28-game-modal { padding: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .g28-modal-panel {
    width: 100%;
    height: min(92vh, calc(100dvh - 20px));
    border-radius: var(--g28-radius-sm);
  }
  .g28-modal-panel iframe { min-height: 0; }
}
