/* game_tgn_0036 — VOLTAGE RACK (acid lime / terracotta / warm charcoal) */

:root {
  --bg-main: #12140f;
  --bg-secondary: #1a1d14;
  --bg-card: #22261a;
  --text-main: #f2f0e6;
  --text-secondary: #a8a494;
  --text-muted: #94a3b8;
  --border: rgba(200, 245, 66, 0.18);
  --accent: #c8f542;
  --accent-dark: #9fc422;

  --g36-bg: #12140f;
  --g36-bg2: #1a1d14;
  --g36-surface: #1e2216;
  --g36-card: #22261a;
  --g36-lime: #c8f542;
  --g36-terra: #e0794a;
  --g36-ink: #0c0e08;
  --g36-text: #f2f0e6;
  --g36-text2: #a8a494;
  --g36-muted: #94a3b8;
  --g36-border: rgba(200, 245, 66, 0.18);
  --g36-border-hover: rgba(200, 245, 66, 0.45);
  --g36-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --g36-font-display: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g36-font-mono: ui-monospace, Consolas, monospace;
  --g36-max: 1120px;
  --g36-rail-w: 220px;
  --g36-nav-h: 56px;
  --g36-mob-h: 60px;
  --g36-star-full: #e0794a;
  --g36-star-empty: #556644;
  --g36-star-glow: rgba(224, 121, 74, 0.4);
  --g36-accent: var(--g36-lime);
  --g36-accent-text: #9fc422;
  --g36-paper: var(--g36-surface);
  --g36-paper-deep: var(--g36-bg2);
  --ink-muted: var(--g36-muted);
  --ink-on-light: #3f4a2a;
  --line-soft: var(--g36-border);
  --clip-edge: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin-top: 0;
  font-family: var(--g36-font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--g36-text);
}

body.g36-body,
body.g36-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--g36-bg);
  color: var(--g36-text);
  font-family: var(--g36-font);
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: calc(var(--g36-nav-h, 56px) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--g36-mob-h) + env(safe-area-inset-bottom, 0px));
  position: relative;
}
@media (min-width: 992px) {
  body.g36-body,
  body.g36-page {
    padding-top: 0;
    padding-left: var(--g36-rail-w);
    padding-bottom: 0;
  }
}

.g36-page-wrap {
  width: 100%;
  max-width: var(--g36-max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  min-width: 0;
  position: relative;
  z-index: 1;
}
.g36-main { flex: 1; position: relative; z-index: 1; }

/* Ad slots: match content column width (override CMS full-bleed / min-width:300px) */
.g36-ad-slot {
  padding-top: 12px;
  padding-bottom: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
/* Combined on one node: same horizontal inset as content columns */
.g36-page-wrap.g36-ad-slot {
  display: block;
  width: 100%;
  max-width: var(--g36-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
/* Nested: page-wrap owns horizontal inset; ad-slot is vertical only */
.g36-page-wrap > .g36-ad-slot {
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.g36-ad-slot--top { padding-top: 16px; }
.g36-ad-slot--detail-top { padding-top: 16px; }
.g36-ad-slot--bottom { padding-bottom: 16px; }

/* Neutralize CMS nested .container / .ad-container so ads match content column width */
.g36-body .g36-page-wrap.g36-ad-slot .container,
.g36-body .g36-page-wrap.g36-ad-slot .ad-container,
.g36-body .g36-page-wrap.g36-ad-slot .banner-ad,
.g36-body .g36-page-wrap.g36-ad-slot .ad-content,
.g36-body .g36-page-wrap.g36-ad-slot > div,
.g36-body .g36-page-wrap > .g36-ad-slot .container,
.g36-body .g36-page-wrap > .g36-ad-slot .ad-container,
.g36-body .g36-page-wrap > .g36-ad-slot .banner-ad,
.g36-body .g36-page-wrap > .g36-ad-slot .ad-content,
.g36-body .g36-page-wrap > .g36-ad-slot > div,
.g36-body .g36-legal-ad.g36-ad-slot .container,
.g36-body .g36-legal-ad.g36-ad-slot .ad-container,
.g36-body .g36-legal-ad.g36-ad-slot .ad-content,
.g36-body .g36-tags-page .g36-ad-slot .container,
.g36-body .g36-tags-page .g36-ad-slot .ad-container,
.g36-body .g36-tags-page .g36-ad-slot .banner-ad,
.g36-body .g36-tags-page .g36-ad-slot .ad-content,
.g36-body .g36-tags-page .g36-ad-slot > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
.g36-body .g36-page-wrap.g36-ad-slot .ad-content,
.g36-body .g36-page-wrap > .g36-ad-slot .ad-content,
.g36-body .g36-legal-ad.g36-ad-slot .ad-content,
.g36-body .g36-tags-page .g36-ad-slot .ad-content {
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
.g36-body .g36-page-wrap.g36-ad-slot .ad-container > div,
.g36-body .g36-page-wrap.g36-ad-slot iframe,
.g36-body .g36-page-wrap.g36-ad-slot ins,
.g36-body .g36-page-wrap > .g36-ad-slot .ad-container > div,
.g36-body .g36-page-wrap > .g36-ad-slot iframe,
.g36-body .g36-page-wrap > .g36-ad-slot ins,
.g36-body .g36-tags-page .g36-ad-slot .ad-container > div,
.g36-body .g36-tags-page .g36-ad-slot iframe,
.g36-body .g36-tags-page .g36-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;
}

.g36-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  clip-path: var(--clip-edge);
  transition: transform .15s ease, background .15s, color .15s, border-color .15s;
}
.g36-btn-primary {
  color: #0c0e08;
  background: var(--g36-lime);
  border-color: var(--g36-lime);
}
.g36-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.g36-btn-outline {
  color: var(--g36-lime);
  background: transparent;
  border-color: var(--g36-border-hover);
}
.g36-btn-outline:hover {
  background: rgba(200, 245, 66, 0.08);
  border-color: var(--g36-lime);
}

/* ——— Mobile top bar (default) / left rail (desktop ≥992px) ——— */
.g36-rail {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: calc(var(--g36-nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  box-sizing: border-box;
  z-index: 1000;
  background: var(--g36-bg2, #1a1d14);
  border-bottom: 1px solid var(--g36-border);
}
@media (min-width: 992px) {
  .g36-rail {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--g36-rail-w);
    height: auto;
    padding: 18px 14px 16px;
    background: var(--g36-bg2);
    border-right: 1px solid var(--g36-border);
    border-bottom: none;
  }
}
.g36-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  width: auto;
  max-width: calc(100% - 96px);
  min-width: 0;
  font-family: var(--g36-font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--g36-text);
}
@media (min-width: 992px) {
  .g36-logo {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }
}
.g36-logo-mark {
  color: var(--g36-lime);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}
.g36-logo-text {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g36-logo .logo-img,
.logo-img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .g36-logo .logo-img,
  .logo-img { height: 32px; }
}

.g36-nav {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-height: 0;
  overflow: hidden;
}
@media (min-width: 992px) {
  .g36-nav { display: flex; }
}
.g36-nav .nav-link {
  display: block;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g36-text2);
  border-left: 2px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g36-nav .nav-link:hover,
.g36-nav .nav-link.active {
  color: var(--g36-lime);
  background: rgba(200, 245, 66, 0.06);
  border-left-color: var(--g36-lime);
}
.g36-nav .nav-item--primary.is-overflow-hidden { display: none !important; }
.nav-more { position: relative; flex-shrink: 0; }
.nav-more-menu {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 8px;
  min-width: 180px;
  padding: 8px;
  background: var(--g36-card);
  border: 1px solid var(--g36-border);
  display: none;
  flex-direction: column;
  z-index: 50;
}
.nav-more.active .nav-more-menu { display: flex; }

/* Auth foot — Login / account (api-service: loginBtnRow / userInfoRow) */
.g36-nav-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  margin-top: 0;
  margin-left: auto;
  padding-top: 0;
  border-top: none;
  width: auto;
  gap: 8px;
}
@media (min-width: 992px) {
  .g36-nav-foot {
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--g36-border);
    width: 100%;
  }
}
.g36-nav-foot-login,
a.g36-nav-link--signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 8px 14px;
  box-sizing: border-box;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c0e08;
  background: var(--g36-lime);
  border: none;
  text-align: center;
  white-space: nowrap;
  clip-path: none;
  transition: filter .15s ease, transform .15s ease;
}
@media (min-width: 992px) {
  .g36-nav-foot-login,
  a.g36-nav-link--signin {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    clip-path: var(--clip-edge);
  }
}
.g36-nav-foot-login:hover,
a.g36-nav-link--signin:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #0c0e08;
}
.g36-nav-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: auto;
  padding: 0;
}
@media (min-width: 992px) {
  .g36-nav-user-row {
    width: 100%;
    padding: 4px 2px;
  }
}
.g36-nav-user-row .g36-nav-user-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--g36-text);
}
.g36-nav-user-row .g36-nav-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: rgba(200, 245, 66, 0.15);
  color: var(--g36-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(200, 245, 66, 0.45);
}
.g36-nav-user-row .g36-nav-user-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--g36-text2);
  flex-shrink: 0;
}
.g36-nav-user-row .g36-nav-user-logout:hover { color: var(--g36-lime); }
.g36-nav-user--masthead[hidden] { display: none !important; }

.g36-mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--g36-mob-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  background: rgba(18, 20, 15, 0.96);
  border-top: 1px solid var(--g36-border);
  z-index: 1000;
}
@media (min-width: 992px) { .g36-mobile-bar { display: none; } }
.g36-mobile-bar .mobile-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--g36-text2); font-size: 0.65rem; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 700;
  min-width: 0;
  padding: 4px 2px;
  box-sizing: border-box;
}
.g36-mobile-bar .mobile-nav-item.active,
.g36-mobile-bar .mobile-nav-item:hover { color: var(--g36-lime); }
.g36-mobile-bar .g36-mob-label,
.g36-mobile-bar .g36-mob-account-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.1;
}
.g36-mobile-bar .g36-mob-account-label {
  font-size: 0.58rem;
  letter-spacing: 0.02em;
}

/* ——— HUD ——— */
.g36-hud {
  position: relative;
  min-height: min(52vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--g36-bg2);
  border-bottom: 1px solid var(--g36-border);
}
@media (min-width: 768px) {
  .g36-hud { min-height: min(72vh, 580px); }
}
@media (min-width: 1100px) {
  .g36-hud { min-height: min(78vh, 640px); }
}
.g36-hud-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.g36-hud-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g36-hud-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 15, 0.92) 0%, rgba(18, 20, 15, 0.55) 48%, rgba(18, 20, 15, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 20, 15, 0.96) 0%, transparent 42%);
  pointer-events: none;
}
.g36-hud-inner {
  position: relative;
  z-index: 1;
  padding: 28px 0 22px;
  width: 100%;
}
.g36-hud--solo .g36-hud-inner { padding-top: 48px; }
.g36-hud-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g36-lime);
}
.g36-hud-dot {
  width: 8px; height: 8px;
  background: var(--g36-terra);
  box-shadow: 0 0 0 3px rgba(224, 121, 74, 0.25);
}
.g36-hud-slogan {
  margin: 0 0 10px;
  max-width: 22ch;
  font-size: clamp(1.25rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--g36-text);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.g36-hud-sub {
  color: var(--g36-muted);
  margin: 0 0 14px;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.g36-hud-search {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 14px;
  max-width: 480px;
  align-items: stretch;
}
.g36-hud-search .g36-search-input { min-width: 0; flex: 1; }
.g36-hud-search .g36-btn { flex-shrink: 0; }
.g36-search-input {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  background: rgba(12, 14, 8, 0.75);
  color: var(--g36-text);
  border: 1px solid var(--g36-border);
  outline: none;
  font: inherit;
}
.g36-search-input:focus {
  border-color: var(--g36-lime);
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.15);
}
.g36-hud-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  margin-bottom: 10px;
  max-width: 100%;
  min-width: 0;
  color: var(--g36-text);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.g36-hud-play > span:last-child {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g36-hud .game-star { margin-bottom: 10px; }
.g36-hud-play:hover { color: var(--g36-lime); }
.g36-hud-play-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--g36-lime);
  color: #0c0e08;
  clip-path: var(--clip-edge);
  font-size: 0.85rem;
}
.g36-hud-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g36-hud-cat {
  padding: 8px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g36-text);
  border: 1px solid rgba(242, 240, 230, 0.22);
  background: rgba(12, 14, 8, 0.45);
}
.g36-hud-cat:hover {
  border-color: var(--g36-lime);
  color: var(--g36-lime);
}

@media (max-width: 767px) {
  .g36-hud {
    min-height: 0;
  }
  .g36-hud-inner {
    padding: 18px 0 14px;
  }
  .g36-hud--solo .g36-hud-inner { padding-top: 28px; }
  .g36-hud-kicker { margin-bottom: 8px; font-size: 0.65rem; }
  .g36-hud-slogan {
    font-size: 1.25rem;
    max-width: none;
    margin-bottom: 8px;
  }
  .g36-hud-sub {
    margin-bottom: 12px;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .g36-hud-search { margin-bottom: 12px; }
  .g36-search-input { padding: 10px 12px; }
  .g36-hud-play {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  .g36-hud-play-mark { width: 32px; height: 32px; }
  .g36-hud .game-star { margin-bottom: 8px; }
  .g36-hud-cats { gap: 6px; }
  .g36-hud-cat {
    padding: 6px 9px;
    font-size: 0.62rem;
  }
  .g36-hud-cat:nth-child(n + 5) { display: none; }
  .g36-module { padding: 18px 0; }
  .g36-module-featured { padding-top: 16px; }
  .g36-section-head { margin-bottom: 12px; }
  .g36-main .g36-poster-card .brief-comment-game,
  .g36-main .g36-game-grid .brief-comment-game,
  .g36-main .g36-poster-card .g36-card-tags,
  .g36-main .g36-game-grid .g36-card-tags {
    display: none;
  }
  .g36-poster-card .special-card-content,
  .g36-game-grid .special-card-content {
    padding: 12px 12px 14px;
  }
  .g36-poster-card .game-title,
  .g36-game-grid .game-title {
    font-size: 0.82rem;
  }
  .g36-tape-card { flex: 0 0 46%; max-width: 180px; }
  .g36-tape-btn { display: none; }
  .g36-tape-carousel { grid-template-columns: 1fr; }
}

.g36-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.g36-section-title {
  margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px;
}
.g36-edge-bar {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--g36-lime);
  box-shadow: 4px 4px 0 var(--g36-terra);
}
.g36-more, .module-link-more {
  color: var(--g36-lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.g36-module-desc, .module-description {
  color: var(--g36-muted); margin: -6px 0 16px; font-size: 0.95rem;
}
.g36-module { padding: 28px 0; content-visibility: auto; contain-intrinsic-size: 700px; }
/* Featured sits below the HUD on mobile — keep auto so first paint skips its layout */
.g36-module-featured { content-visibility: auto; contain-intrinsic-size: 900px; }
.g36-pick-section { background: transparent; }

.special-card, .g36-game-card, .carousel-card {
  display: flex; flex-direction: column;
  background: var(--g36-card);
  border: 1px solid var(--g36-border);
  position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s;
  min-width: 0;
}
.special-card:hover, .g36-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--g36-border-hover);
}
.g36-card-thumb, .g36-tape-cover, .g36-poster-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--g36-surface);
}
.g36-card-thumb img, .g36-tape-cover img, .g36-poster-thumb img, .g36-img-ph {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.special-card:hover .g36-card-thumb img,
.special-card:hover .g36-tape-cover img,
.special-card:hover .g36-poster-thumb img {
  transform: scale(1.06);
}
.g36-card-play {
  position: absolute; left: 50%; bottom: 14px;
  transform: translate(-50%, 12px);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--g36-lime);
  color: #0c0e08;
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; pointer-events: none; z-index: 3;
  clip-path: var(--clip-edge);
  transition: opacity .18s, transform .18s;
}
.special-card:hover .g36-card-play { opacity: 1; transform: translate(-50%, 0); }
.g36-tag-chip {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  padding: 2px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g36-terra);
  border: 1px solid rgba(224, 121, 74, 0.35);
  background: rgba(224, 121, 74, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.article-list .special-card-content,
.article-list .carousel-card-content {
  padding: 12px 14px 16px;
}
.special-card-content, .card-content { min-width: 0; }
.article-list .game-title,
.article-list .card-title,
.special-card .game-title,
.game-card .card-title,
.carousel-card .game-title,
.g36-card-title {
  display: block; max-width: 100%; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin: 0 0 6px; font-size: 0.95rem; letter-spacing: 0.04em;
}
.g36-main .brief-comment-game,
.g36-tags-page .brief-comment-game,
.article-list .brief-comment-game,
.brief-comment-game {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-width: 0;
  margin: 6px 0 0;
  color: var(--g36-muted);
  font-size: 0.85rem;
}
.g36-main .g36-card-tags,
.g36-tags-page .g36-card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  margin-top: 6px;
}
.g36-main .g36-card-tags .g36-tag-chip,
.g36-tags-page .g36-card-tags .g36-tag-chip {
  flex: 0 1 auto;
}
@media (min-width: 768px) {
  .g36-main .g36-card-tags,
  .g36-tags-page .g36-card-tags {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.game-star, .game-star .star-rating, .star-rating {
  display: flex; align-items: center; gap: 2px; min-height: 18px; font-size: 0; line-height: 1;
}
.game-star .star-icon, .game-star .star-full, .game-star .star-empty, .game-star .star-half,
.game-star i, .star-rating .star-full, .star-rating .star-empty, .star-rating .star-half {
  display: inline-block; width: 14px; height: 14px; position: relative;
}
.game-star .star-icon::before, .game-star .star-full::before, .game-star .star-empty::before,
.game-star .star-half::before, .game-star .fa-star::before, .game-star .fa-star-o::before,
.star-rating .star-full::before, .star-rating .star-empty::before, .star-rating .star-half::before {
  content: '★'; font-size: 14px; line-height: 1; font-style: normal; font-family: var(--g36-font);
}
.game-star .star-full::before, .game-star .fa-star::before, .star-rating .star-full::before {
  color: var(--g36-star-full); text-shadow: 0 0 8px var(--g36-star-glow);
}
.game-star .star-empty::before, .game-star .fa-star-o::before, .star-rating .star-empty::before {
  color: var(--g36-star-empty);
}
.game-star .star-half::before, .star-rating .star-half::before {
  color: var(--g36-star-full); opacity: .55;
}
.game-star--detail-hero { margin-top: 8px; }
.game-star--detail-hero .star-full::before,
.game-star--detail-hero .star-empty::before { font-size: 18px; }

/* Console feed (module 0 remainder) */
.g36-console {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.g36-console-row {
  display: grid !important;
  grid-template-columns: auto 108px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  flex-direction: unset;
  background: var(--g36-card);
  border: 1px solid var(--g36-border);
  position: relative;
}
@media (max-width: 767px) {
  .g36-console {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .g36-console-row {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding: 0;
    align-items: stretch;
  }
  .g36-console-idx {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    min-width: 0;
    padding: 2px 6px;
    font-size: 0.68rem;
    background: rgba(12, 14, 8, 0.8);
    border: 1px solid var(--g36-border);
  }
  .g36-console-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .g36-main .g36-console-body .g36-card-tags,
  .g36-main .g36-console-body .brief-comment-game {
    display: none;
  }
  .g36-console-cta { display: none; }
}
.g36-console-row:hover {
  transform: none;
  border-color: var(--g36-border-hover);
  background: rgba(200, 245, 66, 0.04);
}
.g36-console-row::after { display: none; }
.g36-console-row .g36-card-play { display: none; }
.g36-console-idx {
  font-family: var(--g36-font-mono);
  color: var(--g36-lime);
  font-size: 0.8rem;
  min-width: 1.6rem;
}
.g36-console-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--g36-surface);
}
.g36-console-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g36-console-body { min-width: 0; padding: 0 !important; }
@media (max-width: 767px) {
  .g36-console .article-list .g36-console-body,
  .article-list .g36-console .g36-console-body,
  .g36-console .g36-console-body {
    padding: 12px 12px 14px !important;
  }
}
.g36-console-cta {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0c0e08;
  background: var(--g36-lime);
  padding: 8px 12px;
  clip-path: var(--clip-edge);
}

/* Poster wall (module 1) — 2 cols mobile, 4–5 on PC */
.g36-poster-wall {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .g36-poster-wall {
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .g36-poster-wall .brief-comment-game {
    display: none;
  }
  .g36-poster-wall .special-card-content {
    padding: 10px 12px 12px;
  }
  .g36-poster-thumb {
    aspect-ratio: 16 / 10;
  }
}
@media (min-width: 1100px) {
  .g36-poster-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.g36-poster-card { border-width: 2px; }
.g36-poster-thumb { aspect-ratio: 16 / 9; }

/* Dense grid + tape shelf — mobile stays 2 cols */
.g36-game-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g36-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g36-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .g36-game-grid { gap: 14px; }
  .g36-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g36-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .g36-grid-4 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.g36-tape-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}
.g36-tape-shelf {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.g36-tape-shelf::-webkit-scrollbar { display: none; }
.g36-tape-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.g36-tape-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--g36-card);
  border: 1px solid var(--g36-border);
  color: var(--g36-lime);
  cursor: pointer;
  clip-path: var(--clip-edge);
}
.g36-tape-btn:disabled { opacity: .35; cursor: default; }
.g36-tape-btn:hover:not(:disabled) { border-color: var(--g36-lime); }

.g36-cat-directory {
  padding: 20px 0 48px;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}
.g36-footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g36-footer-cat {
  padding: 8px 12px;
  border: 1px solid var(--g36-border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g36-text2);
}
.g36-footer-cat:hover { color: var(--g36-lime); border-color: var(--g36-lime); }

/* Tags */
.g36-tags-page .g36-page-wrap {
  padding-left: 16px;
  padding-right: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.g36-tags-masthead {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--g36-border);
  background: linear-gradient(180deg, rgba(200, 245, 66, 0.06), transparent);
}
.g36-tags-masthead-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.g36-tags-eyebrow {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g36-lime);
}
.g36-tags-masthead-actions {
  display: flex; flex-wrap: nowrap; gap: 8px; align-items: stretch;
  width: 100%;
}
.g36-tags-search {
  display: flex; gap: 8px; align-items: stretch; flex: 1; min-width: 0;
}
.g36-tags-search .g36-search-input { min-width: 0; flex: 1; }
.g36-filter-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding-left: 12px;
  padding-right: 12px;
}
#page-title {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.tag-h2 {
  margin: 0; font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--g36-muted); max-width: 42rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
@media (max-width: 640px) {
  .g36-tags-masthead { padding: 12px 0 10px; }
  .g36-tags-masthead-top { margin-bottom: 10px; gap: 10px; }
  .g36-tags-masthead-text { min-width: 0; width: 100%; }
  #page-title { font-size: 1.25rem; }
  .tag-h2 {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .g36-btn.g36-filter-btn,
  .g36-tags-search .g36-btn {
    padding: 10px 12px;
    font-size: 0.72rem;
  }
  .g36-tags-toolbar { gap: 8px; }
  /* Only vertical — keep .g36-page-wrap side inset */
  .g36-tags-layout {
    padding-top: 12px;
    padding-bottom: 40px;
    gap: 12px;
  }
}
.g36-tags-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.g36-tags-cat-rail {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; flex: 1; min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.g36-tags-cat-rail::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .g36-tags-cat-rail { display: none; } }
.g36-tags-cat-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px; border: 1px solid var(--g36-border);
  background: var(--g36-card); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--g36-text2);
}
.g36-tags-cat-num { font-family: var(--g36-font-mono); color: var(--g36-lime); font-size: 0.68rem; }
.g36-tags-cat-chip.active, .g36-tags-cat-chip:hover { color: var(--g36-lime); border-color: var(--g36-lime); }
.g36-view-toggle { display: flex; gap: 4px; flex-shrink: 0; }
.g36-view-btn {
  padding: 7px 10px; font: inherit; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  color: var(--g36-text2); background: var(--g36-card); border: 1px solid var(--g36-border);
  clip-path: var(--clip-edge);
}
.g36-view-btn.is-active { color: #0c0e08; background: var(--g36-lime); border-color: var(--g36-lime); }
.g36-tags-layout {
  display: grid;
  gap: 16px;
  /* Only vertical — keep .g36-page-wrap horizontal inset */
  padding-top: 16px;
  padding-bottom: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .g36-tags-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .g36-filter-btn { display: none; }
  .g36-tags-masthead-actions { width: auto; }
  .g36-tags-search { min-width: min(100%, 300px); flex: 0 1 auto; }
}
.g36-ad-slot--tags { grid-column: 1 / -1; }
.g36-sidebar { display: none; }
@media (min-width: 900px) { .g36-sidebar { display: block; } }
.g36-sidebar-card {
  position: sticky; top: 16px;
  background: var(--g36-card); border: 1px solid var(--g36-border);
  display: flex; flex-direction: column;
  max-height: calc(100vh - 32px);
}
.g36-sidebar-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 14px; border-bottom: 1px solid var(--g36-border);
  background: rgba(200, 245, 66, 0.06);
  flex-shrink: 0;
}
.g36-sidebar-head h3 { margin: 0; font-size: 0.8rem; }
.g36-sidebar-all { font-size: 0.68rem; color: var(--g36-lime); }
.g36-sidebar-nav {
  padding: 6px 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}
.g36-sidebar-link {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px; border-left: 2px solid transparent;
  color: var(--g36-text2); font-size: 0.85rem;
}
.g36-sidebar-link:hover, .g36-sidebar-link.active {
  color: var(--g36-lime);
  background: rgba(200, 245, 66, 0.05);
  border-left-color: var(--g36-lime);
}
.g36-sidebar-index { font-family: var(--g36-font-mono); color: var(--g36-lime); font-size: 0.72rem; min-width: 1.4rem; }
.g36-sidebar-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g36-tags-card-idx {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--g36-font-mono); font-size: 0.68rem; color: var(--g36-lime);
  background: rgba(12, 14, 8, 0.8); border: 1px solid var(--g36-border); padding: 2px 6px;
}
#games-grid.g36-view-lines { grid-template-columns: 1fr !important; }
#games-grid.g36-view-lines .g36-game-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: stretch;
}
#games-grid.g36-view-lines .g36-card-thumb {
  aspect-ratio: auto;
  align-self: stretch;
  height: 100%;
  min-height: 88px;
}
#games-grid.g36-view-lines .g36-card-thumb img {
  height: 100%;
  object-fit: cover;
}
#games-grid.g36-view-lines .special-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
#games-grid.g36-view-lines .g36-tags-card-idx { display: none; }
#games-grid.g36-view-lines .g36-card-play { display: none; }
@media (min-width: 640px) {
  #games-grid.g36-view-lines .g36-game-card { grid-template-columns: 160px minmax(0, 1fr); }
  #games-grid.g36-view-lines .g36-card-thumb { min-height: 100px; }
}
@media (max-width: 767px) {
  .g36-tags-page #games-grid.g36-view-grid .brief-comment-game,
  .g36-tags-page #games-grid.g36-view-grid .g36-card-tags,
  .g36-tags-page #games-grid.g36-view-lines .g36-card-tags {
    display: none;
  }
  .g36-tags-page #games-grid.g36-view-grid .special-card-content {
    padding: 12px 12px 14px;
  }
  .g36-tags-page #games-grid.g36-view-grid .game-title {
    font-size: 0.82rem;
  }
  .g36-tags-page #games-grid.g36-view-lines .g36-game-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .g36-tags-page #games-grid.g36-view-lines .g36-card-thumb {
    min-height: 96px;
  }
  .g36-tags-page #games-grid.g36-view-lines .brief-comment-game {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}
.g36-empty-inline { grid-column: 1 / -1; text-align: center; padding: 48px 16px; }

.g36-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 1100; border: 0;
}
.g36-tags-drawer {
  position: fixed; inset: 0; z-index: 1101; pointer-events: none;
  display: flex; justify-content: flex-end;
}
body.g36-drawer-open .g36-tags-drawer { pointer-events: none; }
body.g36-drawer-open .g36-drawer-panel { pointer-events: auto; }
.g36-drawer-panel {
  width: min(340px, 88vw); height: 100%;
  background: var(--g36-bg2); border-left: 1px solid var(--g36-border);
  transform: translateX(100%); transition: transform .25s ease;
  overflow-y: auto; padding: 16px;
}
body.g36-drawer-open .g36-drawer-panel { transform: translateX(0); }
.g36-drawer-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.g36-drawer-close {
  background: none; border: 0; color: var(--g36-text); font-size: 1.5rem; cursor: pointer;
}
.g36-drawer-link {
  display: block; padding: 12px 8px; border-bottom: 1px solid rgba(200,245,66,.08);
  color: var(--g36-text2);
}
.g36-drawer-link.active, .g36-drawer-link:hover { color: var(--g36-lime); }

/* Detail sheet leftovers (inline player in details.css) */
.g36-detail-meta { padding: 20px 0 12px; }
.g36-detail-meta #game-title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 4.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .g36-detail-meta #game-title {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
  }
}
.g36-detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 14px; }
.g36-detail-facts {
  display: grid; gap: 10px; grid-template-columns: 1fr;
  padding: 12px; border-left: 3px solid var(--g36-terra);
  background: rgba(224, 121, 74, 0.06); margin-bottom: 18px;
}
@media (min-width: 768px) {
  .g36-detail-facts { grid-template-columns: repeat(3, 1fr); }
}
.g36-fact-label {
  display: block; font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--g36-terra); margin-bottom: 4px;
}
.g36-detail-block { margin-bottom: 24px; }
.g36-detail-block h2 { font-size: 1rem; margin-bottom: 10px; }
.g36-detail-quote { color: var(--g36-text2); font-size: 1.02rem; line-height: 1.6; }
.g36-related { padding: 28px 0 40px; }
.g36-empty-detail { padding: 80px 16px; text-align: center; }
.g36-detail-crumb {
  padding-top: 4px;
}
.g36-detail-crumb .breadcrumb-list {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin: 0 0 12px; padding: 0; list-style: none;
  font-size: 0.8rem; color: var(--g36-text2);
}
.g36-detail-crumb a:hover { color: var(--g36-lime); }

.g36-auth-page {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 16px; position: relative; z-index: 1;
}
.g36-profile-page { flex: 1; padding: 28px 0 48px; position: relative; z-index: 1; }
.g36-profile-shell { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .g36-profile-shell { grid-template-columns: 240px 1fr; }
}
.g36-legal {
  padding: 32px 0 64px; color: var(--g36-text2); max-width: 800px;
  position: relative; z-index: 1;
}
.g36-legal h1, .g36-legal h2, .g36-legal h3 { color: var(--g36-text); }
.g36-legal a { color: var(--g36-lime); }

.g36-footer {
  position: relative; z-index: 1;
  margin-top: auto; padding: 40px 0 28px;
  border-top: 2px solid var(--g36-lime);
  background: var(--g36-bg2);
}
.g36-footer-grid {
  display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 24px;
}
@media (min-width: 768px) {
  .g36-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.g36-footer-logo {
  font-family: var(--g36-font-display); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.05rem;
}
.g36-footer-tagline { color: var(--g36-muted); font-size: 0.9rem; margin: 10px 0 0; }
.g36-footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.g36-footer-links a {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g36-text2);
}
.g36-footer-links a:hover { color: var(--g36-lime); }
.g36-footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.g36-social-icon { color: var(--g36-lime); font-size: 0.85rem; }
.g36-footer-copy {
  margin: 0; padding-top: 16px; border-top: 1px solid var(--g36-border);
  font-size: 0.8rem; color: var(--g36-muted);
}

/* Override ads.css .back-to-top pink/cyan gradient */
.g36-body .g36-back-top,
.g36-body .back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(var(--g36-mob-h) + 18px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--g36-card);
  border: 1px solid var(--g36-border);
  border-radius: 0;
  color: var(--g36-lime);
  cursor: pointer;
  clip-path: var(--clip-edge);
  box-shadow: none;
  backdrop-filter: none;
  font-size: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity .2s, visibility .2s, transform .2s, border-color .2s;
}
.g36-body .g36-back-top::before,
.g36-body .back-to-top::before {
  content: none;
  display: none;
}
@media (min-width: 992px) {
  .g36-body .g36-back-top,
  .g36-body .back-to-top {
    bottom: 24px;
  }
}
.g36-body .g36-back-top.show,
.g36-body .back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.g36-body .g36-back-top:not(.show),
.g36-body .back-to-top:not(.show) {
  transform: none;
}
.g36-body .g36-back-top:hover,
.g36-body .back-to-top:hover {
  transform: translateY(-3px);
  border-color: var(--g36-lime);
  background: var(--g36-surface);
  box-shadow: none;
  color: var(--g36-lime);
}
.g36-body .g36-back-top:active,
.g36-body .back-to-top:active {
  transform: translateY(-1px);
}

.g36-loading {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px; color: var(--g36-muted);
}
.g36-loading[hidden] {
  display: none !important;
}
.g36-loading-spinner {
  width: 36px; height: 36px; border: 3px solid rgba(200,245,66,.2);
  border-top-color: var(--g36-lime); border-radius: 50%;
  animation: g36-spin .8s linear infinite;
}
@keyframes g36-spin { to { transform: rotate(360deg); } }

.g36-auth-card,
.g36-auth-card--modal,
.g36-login-modal__panel {
  background: #22261a !important;
  border-color: rgba(200, 245, 66, 0.25) !important;
  color: #f2f0e6 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important;
}
.g36-auth-head,
.g36-form-group label { color: #f2f0e6 !important; }
.g36-form-input {
  background: #1e2216 !important;
  color: #f2f0e6 !important;
  border-color: rgba(200, 245, 66, 0.2) !important;
}
.g36-form-input:focus {
  border-color: #c8f542 !important;
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.15) !important;
}
.g36-auth-tab { color: #a8a494 !important; }
.g36-auth-tab.active { color: #c8f542 !important; border-bottom-color: #c8f542 !important; }
.g36-btn-auth {
  clip-path: var(--clip-edge);
  background: #c8f542 !important;
  color: #0c0e08 !important;
  border: none !important;
}
.g36-login-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
}
.g36-login-modal[hidden] { display: none !important; }
.g36-login-modal__backdrop {
  position: absolute; inset: 0; background: rgba(12, 14, 8, 0.82);
}
.g36-login-modal__panel { position: relative; z-index: 1; width: min(420px, 92vw); }
.g36-login-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  background: none; border: 0; color: #f2f0e6; font-size: 1.5rem; cursor: pointer;
}
body.g36-login-open { overflow: hidden; }

.g36-comments-section {
  background: #22261a;
  border: 1px solid rgba(200, 245, 66, 0.35);
  padding: 20px;
  color: #f2f0e6;
  margin-top: 8px;
}
.g36-comment-form,
.g36-comment-login-prompt {
  background: #1e2216;
  border: 1px solid rgba(200, 245, 66, 0.28);
  padding: 16px;
  color: #f2f0e6;
  margin-bottom: 18px;
}
.g36-comment-textarea {
  width: 100%; min-height: 100px;
  background: #12140f; color: #f2f0e6;
  border: 1px solid rgba(200, 245, 66, 0.28);
  padding: 12px; font: inherit;
}
.g36-comment-textarea:focus {
  border-color: #c8f542;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.15);
}
.g36-rating-star { color: #556644; background: none; border: 0; cursor: pointer; font-size: 1.25rem; }
.g36-rating-star.active { color: #e0794a; }

.g36-confirm-overlay {
  position: fixed; inset: 0; z-index: 2100;
  display: none; align-items: center; justify-content: center;
  background: rgba(12,14,8,.8);
}
.g36-confirm-overlay[aria-hidden="false"],
.g36-confirm-overlay.show { display: flex; }
.g36-auth-forgot {
  margin: -4px 0 14px; text-align: right; font-size: 0.8rem;
}
.g36-auth-forgot a { color: #c8f542; }
