/* game_tgn_0033 — Newsstand */

:root {
  --g33-paper: #f2ede4;
  --g33-paper-dark: #e6dfd3;
  --g33-ink: #1a1a1a;
  --g33-ink-muted: #5c5348;
  --g33-ink-on-light: #3d3832;
  --g33-red: #c1121f;
  --g33-rule: #1a1a1a;
  --g33-card: #fffef9;
  --g33-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --g33-serif: Georgia, 'Times New Roman', Times, serif;
  --g33-star-full: #c9a227;
  --g33-star-empty: rgba(92, 83, 72, 0.45);
  --g33-max: 1100px;
  --g33-mast-h: 120px;
  --g33-mob-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }

body.g33-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--g33-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--g33-ink);
  background: var(--g33-paper);
  background-image: linear-gradient(var(--g33-paper-dark) 1px, transparent 1px);
  background-size: 100% 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--g33-red); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--g33-ink); }

.g33-page-wrap {
  width: 100%;
  max-width: var(--g33-max);
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
}

.g33-main { flex: 1; padding-bottom: 40px; }

/* CMS / 基座覆写：轮播勿被 special-carousel 撑成宽卡 */
.g33-body .g33-carousel.special-carousel.article-list {
  display: block;
  position: static;
  overflow-x: visible;
  white-space: normal;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}

.g33-body .g33-columns.special-grid.article-list {
  display: grid !important;
  white-space: normal !important;
  overflow-x: visible !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Masthead nav */
.g33-masthead {
  background: var(--g33-card);
  border-bottom: 4px double var(--g33-rule);
  position: sticky;
  top: 0;
  z-index: 900;
}

.g33-masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g33-ink-muted);
  border-bottom: 1px solid var(--g33-ink);
}

.g33-masthead-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--g33-ink);
}

.g33-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--g33-ink);
  text-decoration: none;
}

.g33-logo-text {
  font-family: var(--g33-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.g33-search {
  display: none;
  flex: 0 1 260px;
  gap: 0;
}

.g33-search input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  font: inherit;
  border: 2px solid var(--g33-ink);
  border-right: none;
  background: var(--g33-paper);
  outline: none;
}

.g33-search button {
  height: 38px;
  padding: 0 16px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g33-card);
  background: var(--g33-ink);
  border: 2px solid var(--g33-ink);
  cursor: pointer;
}

.g33-nav-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 8px 0;
}

.g33-nav-link {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--g33-ink);
  text-decoration: none;
  border-right: 1px solid var(--g33-paper-dark);
}

.g33-nav-link:last-of-type { border-right: none; }

.g33-nav-link:hover,
.g33-nav-link.active {
  color: var(--g33-red);
  background: var(--g33-paper);
}

.g33-nav-link.is-overflow-hidden { display: none !important; }

.g33-nav-more { position: relative; }

.g33-nav-more-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  padding: 8px;
  background: var(--g33-card);
  border: 2px solid var(--g33-ink);
  z-index: 50;
}

.g33-nav-more.active .g33-nav-more-menu { display: block; }

.g33-mob-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  height: var(--g33-mob-h);
  background: var(--g33-card);
  border-top: 3px solid var(--g33-ink);
  padding-bottom: env(safe-area-inset-bottom);
}

.g33-mob-bar .mobile-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g33-ink);
  text-decoration: none;
}

.g33-mob-bar .mobile-nav-item.active { color: var(--g33-red); }

@media (min-width: 768px) {
  .g33-mob-bar { display: none; }
  .g33-search { display: flex; }
  .g33-nav-row { display: flex; }
}

@media (max-width: 767px) {
  body.g33-body { padding-bottom: var(--g33-mob-h); }
}

/* Front mast hero */
.g33-front-mast {
  padding: 20px 0;
  border-bottom: 2px solid var(--g33-ink);
}

.g33-kicker {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--g33-red);
}

.g33-headline {
  margin: 0 0 10px;
  font-family: var(--g33-serif);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.g33-deck {
  font-size: 1rem;
  color: var(--g33-ink-on-light);
  max-width: 62ch;
  margin-bottom: 14px;
}

.g33-deck p { margin: 0; }

.g33-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.g33-section-link {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g33-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.g33-section-link:hover {
  color: var(--g33-red);
  border-bottom-color: var(--g33-red);
}

/* Section heads */
.g33-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--g33-ink);
}

.g33-section-title {
  margin: 0;
  font-family: var(--g33-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.g33-more {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g33-red);
  text-decoration: none;
}

.g33-lead {
  margin: 0 0 14px;
  color: var(--g33-ink-on-light);
  max-width: 62ch;
}

/* Front page columns key0 */
.g33-frontpage { padding: 24px 0; }

.g33-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--g33-ink);
  background: var(--g33-card);
}

.g33-column-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-right: 1px solid var(--g33-ink);
  border-bottom: 1px solid var(--g33-ink);
  text-decoration: none;
  color: var(--g33-ink);
  transition: background 0.15s ease;
}

.g33-column-card:hover {
  background: var(--g33-paper);
  color: var(--g33-ink);
}

.g33-column-card:nth-child(2n) { border-right: none; }
.g33-column-card:nth-last-child(-n+2) { border-bottom: none; }

.g33-column-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--g33-paper-dark);
}

.g33-column-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g33-column-body .game-title {
  font-family: var(--g33-serif);
  font-size: 0.9375rem;
  line-height: 1.25;
  margin: 0 0 2px;
}

.g33-column-card .game-star {
  margin-bottom: 2px;
}

.g33-column-card .brief-comment-game {
  margin-top: 2px;
}

/* 卡片外层已有 padding，内层不再叠加大间距 */
.g33-column-card .special-card-content {
  padding: 0;
}

@media (min-width: 768px) {
  .g33-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g33-column-card:nth-child(2n) { border-right: 1px solid var(--g33-ink); }
  .g33-column-card:nth-child(3n) { border-right: none; }
  .g33-column-card:nth-last-child(-n+3) { border-bottom: none; }
}

/* Fold row key1 */
.g33-fold-section {
  padding: 24px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

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

.g33-fold-card {
  display: flex;
  flex-direction: column;
  background: var(--g33-card);
  border: 2px solid var(--g33-ink);
  text-decoration: none;
  color: var(--g33-ink);
  transition: transform 0.15s ease;
}

.g33-fold-card:hover {
  transform: translateY(-2px);
  color: var(--g33-ink);
}

.g33-fold-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--g33-paper-dark);
}

.g33-fold-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .g33-fold-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Carousel even */
.g33-carousel-block {
  padding: 24px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.g33-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g33-car-btn {
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--g33-ink);
  background: var(--g33-card);
  border: 2px solid var(--g33-ink);
  cursor: pointer;
}

.g33-car-btn:hover {
  background: var(--g33-ink);
  color: var(--g33-card);
}

.g33-carousel {
  border: 2px solid var(--g33-ink);
  background: var(--g33-card);
  padding: 12px;
}

.g33-carousel-track {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.g33-carousel-track .g33-carousel-card,
.g33-carousel-track .carousel-card {
  flex: 0 0 clamp(132px, 38vw, 156px);
  width: clamp(132px, 38vw, 156px);
  max-width: 156px;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--g33-paper-dark);
  text-decoration: none;
  color: var(--g33-ink);
  box-sizing: border-box;
}

.g33-carousel-track .carousel-card::before {
  display: none;
}

@media (min-width: 768px) {
  .g33-carousel-track .g33-carousel-card,
  .g33-carousel-track .carousel-card {
    flex: 0 0 168px;
    width: 168px;
    max-width: 168px;
  }
}

.g33-carousel-card .carousel-card-content {
  padding: 10px 12px 12px;
}

.g33-carousel-card .game-title {
  font-size: 0.875rem;
}

.g33-carousel-card .brief-comment-game {
  font-size: 0.75rem;
  -webkit-line-clamp: 2;
}

.g33-carousel-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--g33-paper-dark);
}

.g33-carousel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Classified odd */
.g33-classified {
  padding: 24px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.g33-classified-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--g33-ink);
  background: var(--g33-card);
}

.g33-classified-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-right: 1px solid var(--g33-ink);
  border-bottom: 1px solid var(--g33-ink);
  text-decoration: none;
  color: var(--g33-ink);
}

.g33-classified-card:hover { background: var(--g33-paper); }

.g33-classified-card .special-card-content {
  padding: 0;
}

.g33-classified-card:nth-child(2n) { border-right: none; }

.g33-classified-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--g33-paper-dark);
}

.g33-classified-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .g33-classified-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g33-classified-card:nth-child(2n) { border-right: 1px solid var(--g33-ink); }
  .g33-classified-card:nth-child(3n) { border-right: none; }
}

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

.g33-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0;
}

.g33-tag {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--g33-ink-muted);
  border: 1px solid var(--g33-ink-muted);
  padding: 1px 6px;
}

.brief-comment-game {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  color: var(--g33-ink-on-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-description {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--g33-ink-on-light);
}

.article-list .game-title,
.article-list .card-title,
.special-card .game-title,
.game-card .card-title,
.carousel-card .game-title {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 2px;
  font-family: var(--g33-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list .game-star {
  margin-bottom: 2px;
}

.special-card-content,
.card-content { min-width: 0; }

.game-star,
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

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

.game-star .star-empty::before,
.star-rating .star-empty::before {
  content: "☆";
  color: var(--g33-star-empty);
}

.game-star i,
.star-rating i {
  font-style: normal;
  font-size: 0.8125rem;
}

.game-star.game-star--detail-hero { margin: 8px 0 12px; }

.g33-img-ph { background: var(--g33-paper-dark); }

/* Detail */
.g33-detail-wrap { padding: 20px 0; }

.g33-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.g33-article {
  max-width: 680px;
}

.g33-crumb { margin-bottom: 12px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.breadcrumb-item a { color: var(--g33-red); }

.g33-detail-figure {
  margin: 0 0 16px;
  border: 3px solid var(--g33-ink);
}

.g33-detail-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.g33-article-title {
  margin: 0 0 8px;
  font-family: var(--g33-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
}

.g33-prose-head {
  font-family: var(--g33-serif);
  font-size: 1.1rem;
  margin: 24px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--g33-ink);
}

.g33-lead-text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--g33-ink-on-light);
}

.rich-content { color: var(--g33-ink-on-light); line-height: 1.7; }

.g33-play-rail {
  position: sticky;
  top: var(--g33-sticky-top, calc(var(--g33-mast-h) + 16px));
  z-index: 850;
  padding-top: 12px;
  background: var(--g33-paper);
}

.g33-body--detail .g33-play-rail .btn-launch,
.g33-body--detail .g33-play-rail .g33-btn-play {
  position: static;
  top: auto;
}

.g33-btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g33-card);
  background: var(--g33-red);
  border: 3px solid var(--g33-ink);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.g33-btn-play:hover { transform: translateY(-2px); }

@media (min-width: 900px) {
  .g33-detail-layout {
    grid-template-columns: 1fr 200px;
  }
}

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

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

.g33-related-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--g33-ink);
  background: var(--g33-card);
  text-decoration: none;
  color: var(--g33-ink);
}

.g33-related-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--g33-paper-dark);
}

.g33-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .g33-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Modal */
.g33-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(26, 26, 26, 0.88);
}

.g33-modal-panel {
  position: relative;
  width: min(100%, 960px);
  height: min(85vh, 640px);
  border: 4px solid var(--g33-card);
  background: var(--g33-ink);
}

.g33-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--g33-card);
  background: var(--g33-red);
  border: 2px solid var(--g33-card);
  cursor: pointer;
}

.g33-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Tags — no desktop sidebar */
.g33-body--tags {
  overflow-x: clip;
}

.g33-body--tags .tags-box.g33-tags-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.g33-body--tags .g33-page-wrap {
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  box-sizing: border-box;
}

.g33-body--tags .g33-tags-main,
.g33-body--tags .tags-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.g33-body--tags .g33-edition-rail.category-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  white-space: normal;
}

.g33-body--tags .g33-game-card.special-card,
.g33-body--tags .game-card.special-card {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.g33-tags-mast {
  padding: 20px 0;
  border-bottom: 3px solid var(--g33-ink);
  background: var(--g33-card);
}

.g33-tags-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g33-red);
  margin-bottom: 4px;
}

.g33-tags-mast #page-title {
  margin: 0 0 6px;
  font-family: var(--g33-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.g33-tags-deck {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--g33-ink-on-light);
}

.g33-edition-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 12px;
  border-bottom: 1px solid var(--g33-ink);
  width: 100%;
  max-width: var(--g33-max);
  margin-inline: auto;
  box-sizing: border-box;
}

.g33-edition-rail {
  display: flex;
  flex: 1;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.g33-edition-rail::-webkit-scrollbar {
  display: none;
}

.g33-edition-chip {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--g33-ink);
  background: var(--g33-card);
  border: 1px solid var(--g33-ink);
  text-decoration: none;
}

.g33-edition-chip:hover,
.g33-edition-chip.active {
  color: var(--g33-card);
  background: var(--g33-red);
  border-color: var(--g33-red);
}

.g33-edition-toggle {
  flex-shrink: 0;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--g33-card);
  background: var(--g33-ink);
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .g33-edition-toggle { display: none; }
}

.g33-view-toggle {
  display: flex;
  flex-shrink: 0;
  border: 2px solid var(--g33-ink);
}

.g33-view-btn {
  padding: 8px 12px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--g33-card);
  border: none;
  cursor: pointer;
}

.g33-view-btn.is-active {
  color: var(--g33-card);
  background: var(--g33-ink);
}

.g33-tags-main-wrap { padding-bottom: 28px; }

.g33-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.g33-game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  background: var(--g33-card);
  border: 2px solid var(--g33-ink);
  text-decoration: none;
  color: var(--g33-ink);
  transition: transform 0.15s ease;
}

.g33-game-card:hover {
  transform: translateY(-2px);
  color: var(--g33-ink);
}

.g33-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--g33-paper-dark);
}

.g33-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .g33-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* List view — grid 行布局，避免 CMS flex 撑出横向滚动 */
.g33-body--tags .g33-games-grid.games-grid.list-view,
.g33-body--tags .games-grid.g33-games-grid.list-view {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.g33-body--tags .g33-games-grid.list-view .g33-game-card,
.g33-body--tags .games-grid.list-view .g33-game-card {
  display: grid !important;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: none;
  border-bottom: 1px solid var(--g33-ink);
  border-radius: 0;
  padding: 12px 0;
  box-sizing: border-box;
}

.g33-body--tags .g33-games-grid.list-view .g33-game-card:hover,
.g33-body--tags .games-grid.list-view .g33-game-card:hover {
  transform: none;
  background: var(--g33-paper);
  color: var(--g33-ink);
}

.g33-body--tags .g33-games-grid.list-view .g33-card-thumb,
.g33-body--tags .games-grid.list-view .g33-card-thumb {
  flex: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 88px;
  aspect-ratio: unset;
  align-self: stretch;
}

.g33-body--tags .g33-games-grid.list-view .card-content,
.g33-body--tags .games-grid.list-view .card-content {
  flex: none;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tags-box.g33-tags-page > * + .g33-tags-main-wrap {
  padding-top: 4px;
}

/* Drawer */
.g33-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  border: none;
  background: rgba(26, 26, 26, 0.5);
  cursor: pointer;
}

.g33-edition-drawer {
  position: fixed;
  inset: 0;
  z-index: 1101;
  pointer-events: none;
  visibility: hidden;
}

body.g33-drawer-open .g33-edition-drawer { visibility: visible; }
body.g33-drawer-open .g33-drawer-panel { pointer-events: auto; }

.g33-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: var(--g33-card);
  border-right: 4px solid var(--g33-ink);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

body.g33-drawer-open .g33-drawer-panel { transform: translateX(0); }

.g33-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 2px solid var(--g33-ink);
}

.g33-drawer-head h2 {
  margin: 0;
  font-family: var(--g33-serif);
  font-size: 1.125rem;
}

.g33-drawer-head button {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.g33-edition-drawer .category-list {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}

.g33-drawer-link {
  display: block;
  padding: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--g33-ink);
  border-bottom: 1px solid var(--g33-paper-dark);
}

.g33-drawer-link:hover,
.g33-drawer-link.active {
  color: var(--g33-red);
}

/* Footer */
.g33-footer {
  margin-top: auto;
  border-top: 4px double var(--g33-ink);
  background: var(--g33-card);
  padding: 28px 0 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 220px;
}

.g33-footer-body {
  display: grid;
  gap: 20px;
  margin-bottom: 16px;
}

.g33-footer-name {
  font-family: var(--g33-serif);
  font-size: 1.125rem;
}

.g33-footer-desc {
  font-size: 0.875rem;
  color: var(--g33-ink-on-light);
  max-width: 42ch;
}

.g33-footer-desc p { margin: 0; }

.g33-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.g33-footer-nav a {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--g33-ink);
}

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

.g33-footer-copy {
  text-align: center;
  margin: 0;
  padding-top: 12px;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g33-ink-muted);
  border-top: 1px solid var(--g33-ink);
}

@media (min-width: 768px) {
  .g33-footer-body { grid-template-columns: 1.2fr 1fr 1fr; }
}

.g33-back-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 800;
  padding: 10px 14px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--g33-card);
  background: var(--g33-ink);
  border: 2px solid var(--g33-ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.g33-back-top.show { opacity: 1; visibility: visible; }

@media (max-width: 767px) {
  .g33-back-top { bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* Legal */
.g33-legal-ad { padding-top: 16px; }

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

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

.legal-container {
  padding: 28px 24px;
  margin-inline: auto;
  margin-bottom: 40px;
  background: var(--g33-card);
  border: 2px solid var(--g33-ink);
  line-height: 1.7;
  color: var(--g33-ink-on-light);
}

.legal-container h1,
.legal-container h2 {
  font-family: var(--g33-serif);
  color: var(--g33-ink);
}

.g33-ad-slot {
  padding: 16px 0;
  overflow: hidden;
}

.g33-ad-slot--top { padding-top: 16px; }
.g33-ad-slot--detail-top { padding-top: 16px; }

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

.g33-pick-section { background: transparent; }

.game-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  border: 2px solid var(--g33-ink);
  background: var(--g33-card);
}

.game-empty h3 { font-family: var(--g33-serif); margin: 0 0 8px; }

.g33-empty-detail { padding: 48px 0; text-align: center; }

.g33-body--detail .g33-related { padding-bottom: 48px; }

@media (max-width: 767px) {
  .g33-play-rail {
    top: var(--g33-sticky-top, calc(var(--g33-mast-h) + 12px));
    padding-top: 10px;
  }

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

  /* 顶部广告位 ↔ 首模块：缩小垂直间距 */
  .g33-ad-slot {
    padding: 6px 0 8px;
  }

  .g33-ad-slot--top,
  .g33-ad-slot--detail-top {
    padding-top: 4px;
  }

  .g33-frontpage {
    padding: 10px 0 18px;
  }

  .g33-main > .g33-ad-slot--top + .g33-frontpage {
    padding-top: 6px;
  }

  /* 置顶区游戏卡：收紧内边距与简介底距 */
  .g33-column-card {
    padding: 8px;
  }

  .g33-column-media {
    margin-bottom: 4px;
  }

  .g33-column-body .game-title {
    margin-bottom: 1px;
  }

  .g33-column-card .game-star {
    margin-bottom: 1px;
  }

  .g33-column-card .brief-comment-game {
    margin-top: 1px;
    margin-bottom: 0;
  }

  /* 其它首页列表卡简介区底距略减 */
  .article-list .special-card-content,
  .article-list .carousel-card-content {
    padding: 10px 12px 10px;
  }

  .g33-classified-card {
    padding: 10px;
  }

  /* 分类页：工具栏留白 + List 布局缩略图列宽 */
  .g33-body--tags .g33-edition-bar {
    padding-block: 10px;
    gap: 8px;
  }

  .g33-body--tags .g33-games-grid.list-view .g33-game-card,
  .g33-body--tags .games-grid.list-view .g33-game-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .g33-body--tags .g33-games-grid.list-view .g33-card-thumb,
  .g33-body--tags .games-grid.list-view .g33-card-thumb {
    min-height: 96px;
  }
}
