:root {
  --space-dark: #0c4a6e;
  --space-blue: #075985;
  --star-white: #f0f9ff;
  --nebula-pink: #22d3ee;
  --comet-cyan: #67e8f9;
  --g22-accent-text: #0c4a6e;
  --g22-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sun-gold: #fde047;
  --planet-purple: #0284c7;
  --ink-muted: #94a3b8;
  --ink-on-light: #475569;
  --line-soft: rgba(186, 230, 253, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 16px 48px rgba(0, 0, 0, 0.3);
  --g22-radius: 16px;
  --g22-radius-sm: 10px;
  --g22-header-h: 64px;
  --g22-border: 1px solid rgba(186, 230, 253, 0.2);
  --transition-fast: 0.2s ease;
  --g22-star-full: #fde047;
  --g22-star-glow: rgba(253, 224, 71, 0.35);
  --g22-star-empty: rgba(186, 230, 253, 0.4);
  --g22-star-track: rgba(0, 0, 0, 0.15);
  --g22-star-border: transparent;
}

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

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

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

/* Anchor ad: below nav; skip extra body padding when top AD_UNIT exists */
body.g22-body:has(.anchorAdContent):not(:has(.g22-ad-slot--top)) {
  padding-top: calc(var(--g22-header-h) + 94px);
}

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

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

/* Detail banner: flush to viewport top under overlapping nav */
body.g22-body:has(.g22-detail-banner) {
  padding-top: 0 !important;
}

body.g22-body:has(.g22-detail-banner) .anchorAdContent {
  display: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

h1, h2, h3, h4 {
  font-family: var(--g22-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; }

/* Page content width (avoid .container: ad template conflict) */
.g22-page-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.brief-comment-game {
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.brief-comment-game__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: break-word;
}

.brief-comment-game__text p,
.brief-comment-game__text div,
.brief-comment-game__text li {
  display: inline;
  margin: 0;
  padding: 0;
}

.brief-comment-game__text br {
  display: none;
}

.brief-comment-game__text a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

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

/* List titles: single-line ellipsis (TEMPLATE_SPEC 5.1.2) */
.article-list .game-title,
.article-list .card-title,
.special-card .game-title,
.special-card-content .game-title,
.game-card .card-title,
.carousel-card .game-title,
.g22-film-card .game-title,
.g22-stack-card .game-title,
.g22-overlay-card .game-title,
.g22-tide-card .game-title,
.g22-scroll-body .game-title,
.g22-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,
.g22-scroll-body {
  min-width: 0;
}

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

/* --- CMS error banner --- */
.error-message-container {
  background-color: #fff3cd;
  border-bottom: 1px solid #ffeaa7;
  padding: 10px 0;
}

.error-message-container .alert {
  position: relative;
  padding: 12px 20px;
  margin-bottom: 0;
  border: 1px solid transparent;
  border-radius: 4px;
}

.error-message-container .alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.error-message-container .alert i.fa-exclamation-triangle {
  margin-right: 8px;
}

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

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

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

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

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

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

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

.legal-container {
  padding: 28px 24px;
  margin-bottom: 48px;
  background: var(--space-blue);
  border: var(--g22-border);
  border-radius: var(--g22-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 top bar --- */
.g22-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10001;
  background: var(--space-blue);
  border-bottom: var(--g22-border);
  margin: 0;
}

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

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

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

.logo-text {
  font-family: var(--g22-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;
}

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

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

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

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

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

.g22-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;
}

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

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

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

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

.g22-nav-bar .nav-link:hover {
  background: rgba(103, 232, 249, 0.18);
  color: var(--star-white);
  border-color: rgba(186, 230, 253, 0.35);
}

.g22-nav-bar .nav-link.active {
  background: var(--comet-cyan);
  color: #082f49;
  border-color: transparent;
}

/* Override navigation.css underline on top bar */
.g22-nav-bar .nav-link::after,
.g22-nav-bar .nav-more-toggle::after {
  display: none !important;
}

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

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

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

.g22-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;
  color: rgba(186, 230, 253, 0.72);
  border-radius: var(--g22-radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.g22-mobile-bar .mobile-nav-item.active {
  background: var(--comet-cyan);
  border-color: transparent;
  color: #082f49;
}

.g22-mob-icon { font-size: 1.1rem; line-height: 1; color: inherit; }

.g22-mob-label { color: inherit; }

@media (max-width: 768px) {
  :root {
  --space-dark: #0c4a6e;
  --space-blue: #075985;
  --star-white: #f0f9ff;
  --nebula-pink: #22d3ee;
  --comet-cyan: #67e8f9;
  --g22-accent-text: #0c4a6e;
  --g22-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sun-gold: #fde047;
  --planet-purple: #0284c7;
  --ink-muted: #94a3b8;
  --ink-on-light: #475569;
  --line-soft: rgba(186, 230, 253, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 16px 48px rgba(0, 0, 0, 0.3);
  --g22-radius: 16px;
  --g22-radius-sm: 10px;
  --g22-header-h: 64px;
  --g22-border: 1px solid rgba(186, 230, 253, 0.2);
  --transition-fast: 0.2s ease;
  --g22-star-full: #fde047;
  --g22-star-glow: rgba(253, 224, 71, 0.35);
  --g22-star-empty: rgba(186, 230, 253, 0.4);
  --g22-star-track: rgba(0, 0, 0, 0.15);
  --g22-star-border: transparent;
}

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

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

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

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

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

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

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

  .g22-hero-ocean {
    padding: 28px 0 32px;
  }

  .g22-hero-content {
    gap: 8px;
  }

  .g22-hero-ocean .hero-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .g22-hero-ocean .hero-subtitle {
    font-size: 0.88rem;
  }

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

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

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

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

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

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

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

.hero-cta,
.g22-btn-play {
  padding: 12px 22px;
  font-family: var(--g22-font);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--comet-cyan);
  color: #082f49;
  border: none;
  border-radius: var(--g22-radius-sm);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

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

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

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

.g22-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;
}

.g22-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  font-size: 0.65rem;
  font-family: var(--g22-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;
}

.g22-pick-section,
.daily-special:not(.g22-spotlight),
.g22-cat-reef {
  content-visibility: auto;
  contain-intrinsic-size: auto 380px;
}

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

.g22-pick-section {
  padding: 16px 0 40px;
  background: transparent;
  border-top: var(--g22-border);
  border-bottom: var(--g22-border);
}

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

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

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

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

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

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

.g22-film-card .carousel-card-content {
  padding: 8px 12px 12px;
}

.g22-film-card .game-title {
  margin: 0 0 4px;
  color: #082f49;
  font-size: 0.95rem;
  line-height: 1.3;
}

.g22-film-card .game-star {
  margin: 0 0 4px;
}

.g22-film-card .g22-card-tags {
  margin: 2px 0 6px;
}

.g22-film-card .brief-comment-game {
  color: #334155;
}

.g22-film-card .brief-comment-game__text {
  font-size: 0.88rem;
  line-height: 1.45;
}

.g22-film-card .g22-tag-chip {
  color: #0369a1;
  background: rgba(8, 47, 73, 0.08);
  border-color: rgba(8, 47, 73, 0.22);
}

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

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

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

.g22-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(--g22-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(--g22-star-track);
  border: 2px solid var(--g22-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(--g22-star-full);
}

.game-star .star-half::before,
.star-rating .star-half::before {
  content: "★";
  color: var(--g22-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(--g22-star-empty);
}

.g22-film-card .game-star,
.g22-game-card .card-meta > .game-star,
.g22-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: rgba(255, 255, 255, 0.55);
}

.game-star.game-star--detail-hero .star-full::before,
.game-star.game-star--detail-hero .fa-star::before {
  color: var(--sun-gold);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

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

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

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

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

/* --- Detail: cinema banner --- */
.g22-detail-banner {
  position: relative;
  min-height: 320px;
  max-height: 52vh;
  overflow: hidden;
  border-bottom: var(--g22-border);
  margin-top: 0;
  flex-shrink: 0;
}

.g22-banner-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.g22-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 22, 37, 0.97) 0%,
    rgba(26, 22, 37, 0.82) 38%,
    rgba(26, 22, 37, 0.35) 62%,
    transparent 100%
  );
}

.g22-banner-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 32px;
  color: #fff;
  z-index: 1;
}

.g22-banner-crumb .breadcrumb-item a,
.g22-banner-crumb .breadcrumb-item span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

.g22-banner-content h1,
.g22-banner-content #game-title {
  color: #fff;
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  max-width: 22em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 14px rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g22-banner-tags { margin-bottom: 16px; }

.g22-tag-pill {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
}

.g22-banner-play {
  background: var(--nebula-pink);
  color: #fff;
}

.g22-detail-main {
  padding-top: 32px;
}

.g22-detail-main > .g22-ad-slot {
  margin-bottom: 24px;
}

.g22-detail-main + .g22-page-wrap.g22-ad-slot {
  padding-top: 20px;
  padding-bottom: 20px;
}

.g22-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.g22-detail-article .detail-split-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #d6d3d1;
}

.g22-detail-article .detail-split-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.g22-detail-article h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--nebula-pink);
}

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

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

.g22-aside-card {
  position: sticky;
  top: calc(var(--g22-header-h) + 16px);
  padding: 24px;
  background: #fff;
  color: var(--ink-on-light);
  border: var(--g22-border);
  border-radius: var(--g22-radius);
  box-shadow: var(--shadow-card);
}

.g22-aside-card .g22-aside-label {
  margin: 0 0 12px;
  font-weight: 800;
  font-family: var(--g22-font);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #082f49;
}

.g22-aside-card .g22-btn-play,
.g22-aside-play {
  width: 100%;
  background: var(--comet-cyan);
  color: #082f49;
  border: none;
}

.g22-aside-card .g22-btn-play:hover,
.g22-aside-play:hover {
  background: #67e8f9;
  color: #082f49;
}

.g22-aside-card .g22-aside-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: #475569;
}

/* Related scroll strip */
.g22-related-strip {
  padding: 36px 0 48px;
  background: transparent;
  border-top: var(--g22-border);
}

.g22-related-strip .g22-section-head h2 {
  color: var(--star-white);
}

.g22-related-strip .module-description {
  color: #cbd5e1;
}

.g22-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--comet-cyan) rgba(8, 47, 73, 0.5);
  -webkit-overflow-scrolling: touch;
}

.g22-scroll-row::-webkit-scrollbar {
  height: 8px;
}

.g22-scroll-row::-webkit-scrollbar-track {
  background: rgba(8, 47, 73, 0.45);
  border-radius: 999px;
}

.g22-scroll-row::-webkit-scrollbar-thumb {
  background: var(--comet-cyan);
  border-radius: 999px;
}

.g22-scroll-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: var(--g22-border);
  border-radius: var(--g22-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.g22-scroll-card:hover {
  transform: translateY(-3px);
}

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

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

.g22-scroll-body {
  padding: 8px 12px 12px;
  min-width: 0;
}

.g22-scroll-body .game-title,
.g22-scroll-body h3 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-family: var(--g22-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--star-white);
}

.g22-scroll-body .game-star {
  margin: 0 0 6px;
  padding: 2px 6px;
}

.g22-scroll-body .brief-comment-game {
  color: #cbd5e1;
  margin: 0;
}

.g22-scroll-body .brief-comment-game__text {
  font-size: 0.82rem;
  line-height: 1.45;
}

/* --- Tags page: sidebar layout --- */
.g22-tags-page {
  padding-top: 8px;
  padding-bottom: 16px;
}

.g22-tags-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 20px;
  padding-bottom: 56px;
}

.g22-tags-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g22-sidebar-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--star-white);
  border: var(--g22-border);
  border-radius: var(--g22-radius);
  box-shadow: var(--shadow-card);
}

.g22-sidebar-title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--star-white);
}

.g22-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.g22-category-link {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
  border-radius: var(--g22-radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.g22-category-link:hover {
  background: rgba(34, 211, 238, 0.12);
  color: var(--star-white);
}

.g22-category-link.active {
  background: rgba(34, 211, 238, 0.18);
  color: var(--comet-cyan);
  border-color: rgba(103, 232, 249, 0.45);
}

.g22-view-panel {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.g22-view-btn {
  flex: 1;
  padding: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--star-white);
  border: var(--g22-border);
  border-radius: var(--g22-radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.g22-view-btn:hover {
  background: rgba(34, 211, 238, 0.12);
}

.g22-view-btn.is-active {
  background: var(--comet-cyan);
  color: #082f49;
  border-color: transparent;
}

.g22-tags-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.g22-tags-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 4px;
  color: var(--star-white);
}

.tag-h2 {
  font-family: var(--g22-font);
  font-weight: 500;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.g22-filter-toggle {
  display: none;
  padding: 10px 16px;
  font-weight: 700;
  background: var(--comet-cyan);
  color: #082f49;
  border: none;
  border-radius: var(--g22-radius-sm);
  cursor: pointer;
}

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

.g22-game-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  color: var(--star-white);
  border: var(--g22-border);
  border-radius: var(--g22-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.g22-game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.g22-card-cover {
  aspect-ratio: 16 / 10;
  border-bottom: var(--g22-border);
  overflow: hidden;
  background: #e7e5e4;
}

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

.g22-game-card .card-content {
  padding: 8px 12px 12px;
  min-width: 0;
}

.g22-game-card .card-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-family: var(--g22-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--star-white);
}

.g22-game-card .game-star {
  margin: 0 0 6px;
  padding: 2px 6px;
}

.g22-game-card .g22-card-tags {
  margin: 2px 0 6px;
}

.g22-game-card .brief-comment-game {
  color: #cbd5e1;
  margin: 0;
}

.g22-game-card .brief-comment-game__text {
  font-size: 0.86rem;
  line-height: 1.45;
}

/* List view */
.games-grid.list-view,
.g22-games-grid.list-view {
  grid-template-columns: 1fr !important;
}

.games-grid.list-view .g22-game-card,
.g22-games-grid.list-view .g22-game-card {
  flex-direction: row;
  align-items: stretch;
}

.games-grid.list-view .g22-card-cover,
.g22-games-grid.list-view .g22-card-cover {
  flex: 0 0 38%;
  max-width: 38%;
  aspect-ratio: 16 / 10;
  border-bottom: none;
  border-right: var(--g22-border);
}

.games-grid.list-view .card-content,
.g22-games-grid.list-view .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
}

.tags-box > * + .tags-layout,
.g22-tags-page > .g22-page-wrap.tags-layout {
  margin-top: 0;
}

.tags-layout:not(:last-child) {
  padding-bottom: 24px;
}

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

.g22-tags-page .pagination-link {
  background: rgba(255, 255, 255, 0.08);
  color: var(--star-white);
  border: var(--g22-border);
  box-shadow: none;
}

.g22-tags-page .pagination-link:hover {
  background: rgba(34, 211, 238, 0.15);
  transform: none;
}

.g22-tags-page .pagination-list .active .pagination-link,
.g22-tags-page .pagination-link.active {
  background: var(--comet-cyan);
  color: #082f49;
}

.g22-tags-page .g22-empty {
  background: rgba(255, 255, 255, 0.06);
  color: var(--star-white);
}

.g22-tags-page .g22-empty h3 {
  color: var(--star-white);
}

.g22-tags-page .g22-empty p {
  color: #cbd5e1;
}

.g22-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(8, 47, 73, 0.78);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

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

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

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

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

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

.g22-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); }

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

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

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

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

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

/* Back to top */
.g22-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(--g22-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;
}

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

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

/* --- Game modal --- */
.g22-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;
}

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

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

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

.g22-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 8px 14px;
  font-weight: 700;
  background: #fff;
  border: var(--g22-border);
  border-radius: var(--g22-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) {
  .g22-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .g22-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .g22-aside-card { position: static; }

  /* Nav may exceed --g22-header-h when site name wraps */
  .g22-detail-banner {
    min-height: min(52vh, 360px);
  }

  .g22-banner-content h1,
  .g22-banner-content #game-title {
    font-size: clamp(1.05rem, 4.2vw, 1.28rem);
    -webkit-line-clamp: 3;
  }

  .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;
  }

  .g22-detail-main {
    padding-top: 20px;
  }

  .g22-detail-main > .g22-ad-slot {
    margin-bottom: 16px;
  }

  .g22-detail-aside {
    margin-top: 0;
  }

  .g22-detail-main + .g22-page-wrap.g22-ad-slot {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .g22-page-wrap.g22-ad-slot + .g22-related-strip {
    margin-top: 4px;
  }
  .g22-tags-layout {
    grid-template-columns: 1fr;
  }
  .g22-tags-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1110;
    padding: calc(var(--g22-header-h) + 12px) 16px calc(16px + env(safe-area-inset-bottom, 0));
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    pointer-events: none;
  }
  body.g22-drawer-open .g22-tags-sidebar {
    display: flex;
  }
  body.g22-drawer-open .g22-tags-sidebar .g22-sidebar-panel,
  body.g22-drawer-open .g22-tags-sidebar .g22-view-panel {
    pointer-events: auto;
  }
  .g22-tags-sidebar .g22-sidebar-panel {
    width: min(340px, 100%);
    max-height: min(58vh, 480px);
    overflow-y: auto;
    background: #0c4a6e;
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: var(--g22-radius);
    box-shadow: var(--shadow-lift);
  }
  .g22-tags-sidebar .g22-view-panel {
    width: min(340px, 100%);
    margin-top: 0;
    padding: 8px;
    background: #0c4a6e;
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: var(--g22-radius);
    box-shadow: var(--shadow-card);
  }
  .g22-filter-toggle { display: block; }
  .g22-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .g22-card-cover,
  .g22-film-thumb {
    aspect-ratio: 16 / 10;
  }
  .games-grid.list-view .g22-card-cover,
  .g22-games-grid.list-view .g22-card-cover {
    max-width: none;
    width: 100%;
    flex: 0 0 auto;
    border-right: none;
    border-bottom: var(--g22-border);
  }
  .games-grid.list-view .g22-game-card,
  .g22-games-grid.list-view .g22-game-card {
    flex-direction: column;
  }
  .g22-footer-inner { grid-template-columns: 1fr; }
  .g22-filmstrip {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .g22-film-btn { display: none; }
}

/* === g22 Ocean wave theme === */
.g22-body { background: linear-gradient(180deg, #0c4a6e 0%, #082f49 100%); min-height: 100vh; }
.g22-site-header { background: rgba(8, 47, 73, 0.9); backdrop-filter: blur(8px); border-bottom: var(--g22-border); }
.g22-logo .logo-text { color: var(--comet-cyan); }
.g22-header-cta { background: var(--comet-cyan); color: #082f49; border-radius: var(--g22-radius-sm); font-weight: 700; }
.g22-hero-ocean { position: relative; padding: 36px 0 40px; overflow: hidden; }
.g22-wave-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(34, 211, 238, 0.25), transparent); pointer-events: none; }
.g22-hero-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 560px; margin-inline: auto; }
.g22-hero-ocean .hero-title { font-size: clamp(1.5rem, 4.2vw, 2.15rem); line-height: 1.2; margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.g22-hero-ocean .hero-subtitle { max-width: 52ch; margin: 0; font-size: 0.92rem; line-height: 1.5; color: #cbd5e1; }
.g22-hero-search { display: flex; gap: 8px; margin: 6px 0 0; justify-content: center; width: 100%; max-width: 420px; }
.g22-hero-search .form-input { flex: 1; max-width: 340px; background: rgba(255,255,255,0.16); border: 1px solid rgba(186, 230, 253, 0.45); color: #fff; padding: 10px 14px; border-radius: var(--g22-radius-sm); font-size: 0.95rem; }
.g22-hero-search .form-input::placeholder { color: rgba(240, 249, 255, 0.82); opacity: 1; }
.g22-hero-search .form-input:focus { background: rgba(255,255,255, 0.22); outline: none; border-color: var(--comet-cyan); box-shadow: 0 0 0 2px rgba(103, 232, 249, 0.35); }
.g22-stack-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.g22-stack-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; width: 100%; max-width: 620px; margin: 0 auto; }
.g22-stack { position: relative; height: 320px; max-width: 520px; margin: 0 auto; width: 100%; touch-action: pan-y; }
.g22-stack-btn { flex-shrink: 0; width: 44px; height: 44px; padding: 0; font-size: 1.5rem; line-height: 1; color: #082f49; background: var(--comet-cyan); border: 1px solid rgba(186, 230, 253, 0.45); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 14px rgba(8, 47, 73, 0.35); transition: transform var(--transition-fast), background var(--transition-fast); }
.g22-stack-btn:hover { background: #67e8f9; transform: scale(1.05); }
.g22-stack-btn:focus-visible { outline: 2px solid var(--comet-cyan); outline-offset: 2px; }
.g22-stack-card { position: absolute; left: 50%; top: 50%; width: 85%; transform: translate(-50%, -50%); transition: transform 0.35s ease, opacity 0.35s ease; border-radius: var(--g22-radius); overflow: hidden; box-shadow: var(--shadow-card); }
.g22-stack-card[data-slot="0"] { z-index: 3; transform: translate(-50%, -50%) rotate(0deg) translateY(0); opacity: 1; }
.g22-stack-card[data-slot="1"] { z-index: 2; transform: translate(-50%, -50%) rotate(-3deg) translateY(-12px); opacity: 0.92; cursor: pointer; }
.g22-stack-card[data-slot="2"] { z-index: 1; transform: translate(-50%, -50%) rotate(-6deg) translateY(-24px); opacity: 0.84; cursor: pointer; }
.g22-stack-card[data-slot="hidden"] { z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.g22-stack-card[data-slot="0"]:hover { transform: translate(-50%, -55%) scale(1.03); }
.g22-stack-card[data-slot="1"]:hover, .g22-stack-card[data-slot="2"]:hover { opacity: 1; }
.g22-stack-counter { margin: 0; font-size: 0.85rem; color: rgba(186, 230, 253, 0.85); letter-spacing: 0.04em; }
.g22-stack-media { aspect-ratio: 16/10; }
.g22-stack-media img { width: 100%; height: 100%; object-fit: cover; }
.g22-stack-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(8,47,73,0.95)); }
.g22-overlay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g22-overlay-card { display: block; }
.g22-overlay-thumb { position: relative; aspect-ratio: 16/10; border-radius: var(--g22-radius); overflow: hidden; }
.g22-overlay-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g22-overlay-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px; background: linear-gradient(transparent, rgba(8,47,73,0.9)); }
.g22-overlay-cap .game-title { color: #fff; font-size: 0.9rem; }
.article-list .g22-overlay-card > .g22-card-tags {
  padding: 10px 14px 0;
  margin: 0;
}
.article-list .g22-overlay-card > .brief-comment-game {
  padding: 8px 14px 14px;
  color: #cbd5e1;
}
.g22-tide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g22-tide-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.06); border: var(--g22-border); border-radius: var(--g22-radius); overflow: hidden; }
.g22-tide-thumb { aspect-ratio: 16/10; overflow: hidden; background: #e7e5e4; }
.g22-tide-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g22-tide-card .special-card-content { padding: 8px 12px 12px; }
.g22-tide-card .game-title { margin: 0 0 4px; font-size: 0.95rem; line-height: 1.3; }
.g22-tide-card .game-star { display: inline-flex; margin: 0 0 4px; padding: 2px 6px; }
.g22-tide-card .g22-card-tags { margin: 2px 0 4px; }
.g22-tide-card .brief-comment-game { margin-top: 0; }
.g22-cat-reef { padding: 36px 0 48px; }
.g22-cat-reef .g22-cat-title { margin: 0 0 16px; font-size: clamp(1.35rem, 3vw, 1.75rem); color: var(--star-white); }
.g22-cat-reef-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g22-cat-tile { display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(255,255,255,0.08); border: var(--g22-border); border-radius: var(--g22-radius); text-align: center; transition: background var(--transition-fast); }
.g22-cat-tile:hover { background: rgba(34, 211, 238, 0.15); }
.g22-tag-chip { font-size: 0.72rem; color: var(--comet-cyan); background: rgba(8, 47, 73, 0.35); border-color: rgba(186, 230, 253, 0.35); }
.g22-pick-section .module-description,
.daily-special .module-description {
  color: #cbd5e1;
}
.g22-section-head h2 {
  color: var(--star-white);
}
.g22-hero-ocean .hero-cta {
  background: var(--comet-cyan);
  color: #082f49;
  border: none;
}
.g22-badge { background: rgba(34,211,238,0.2); color: var(--comet-cyan); padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; margin-right: 8px; }
.g22-footer { background: #082f49; border-top: var(--g22-border); position: relative; }
.g22-pick-section {
  background: transparent;
}
@media (max-width: 768px) {
  .g22-stack { height: 240px; }
  .g22-stack-row { gap: 6px; max-width: 100%; }
  .g22-stack-btn { width: 38px; height: 38px; font-size: 1.25rem; }
  .g22-overlay-grid, .g22-tide-grid, .g22-cat-reef-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
