@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=JetBrains+Mono:wght@400;700&display=swap");

:root {
  --font-main: "Chakra Petch", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container-max: 1140px;
  --trans: all 0.2s ease-in-out;

  --bg-body: #43515e;
  --bg-header: #2d353e;
  --bg-header-dark: #171c20;
  --bg-card: #22282f;
  --bg-card-header: #1d232a;
  --border-dark: #2d353e;
  --border-light: #a4b9be;
  --border-subtle: rgba(164, 185, 190, 0.35);

  --text-primary: #f0f0f0;
  --text-bright: #ffffff;
  --text-muted: #a4b9be;
  --text-body: #d8e0e2;
  --text-main: #d8e0e2;
  --card-border: #2d353e;

  --sb-track-color: #22282f;
  --sb-thumb-color: #a4b9be;
  --sb-size: 10px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  filter: contrast(1.12) saturate(1.08) brightness(0.96) drop-shadow(0 0 1px rgba(160, 220, 210, 0.35));
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 2px;
  border: 2px solid #171c20;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans);
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

.wrapper {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  flex-grow: 1;
}

#head {
  background: linear-gradient(to bottom, #2d353e, #171c20);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.head-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-main {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.logo-main .accent {
  color: var(--text-muted);
}

.nav-rack {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav-rack li a {
  display: inline-block;
  padding: 7px 14px;
  background: linear-gradient(to bottom, #5c6f82 0%, #43515e 50%, #2f3a44 100%);
  border: 1px solid #1f262c;
  border-radius: 5px;
  color: #e1ebf4;
  font-weight: bold;
  font-size: 0.82rem;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 3px rgba(0, 0, 0, 0.2);
  transition: var(--trans);
  white-space: nowrap;
}

.nav-rack li a:hover {
  background: linear-gradient(to bottom, #6d8296 0%, #4e5e6d 50%, #3a4753 100%);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-rack li a.active {
  background: linear-gradient(to bottom, #1f262c 0%, #171c20 100%);
  border-color: var(--border-light);
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

#main {
  margin: 20px auto;
  width: 100%;
}

.full-width-grid {
  width: 100%;
}

.app-container {
  width: 100%;
  max-width: 980px;
  margin: 10px auto 20px auto;
  padding: 16px;
  background-color: var(--bg-card);
  border-radius: 8px;
  border: 2px solid var(--border-dark);
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

#app-iframe,
.app-container iframe {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  max-height: 90vh !important;
  background-color: #171c20;
  border-radius: 5px;
  margin: 0 auto;
  border: none !important;
  display: block;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(to bottom, #5c6f82 0%, #43515e 50%, #2f3a44 100%);
  border: 1px solid #1f262c;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 3px rgba(0, 0, 0, 0.2);
  transition: var(--trans);
  user-select: none;
  -webkit-user-select: none;
}

.action-btn:hover {
  background: linear-gradient(to bottom, #6d8296 0%, #4e5e6d 50%, #3a4753 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

.action-btn:active {
  background: linear-gradient(to bottom, #2f3a44 0%, #43515e 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transform: translateY(1px);
}

.action-btn svg {
  fill: #fff;
  width: 17px;
  height: 17px;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.5));
}

html.pseudo-fullscreen-active,
body.pseudo-fullscreen-active {
  overflow: hidden !important;
  height: 100% !important;
}

.app-container.is-pseudo-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  z-index: 999999 !important;
  background-color: #000 !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.app-container.is-pseudo-fullscreen #app-iframe,
.app-container.is-pseudo-fullscreen iframe {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.app-container.is-pseudo-fullscreen .player-controls {
  display: none !important;
}

.pseudo-exit-btn {
  display: none;
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: max(16px, env(safe-area-inset-right, 16px));
  z-index: 1000000;
  width: 38px;
  height: 38px;
  background: rgba(23, 28, 32, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  padding: 0;
  font-family: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.2s ease, transform 0.1s ease, background 0.2s ease;
}

.pseudo-exit-btn:hover {
  background: rgba(45, 53, 62, 0.95);
  transform: scale(1.06);
}

.pseudo-exit-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  display: block;
}

.app-container.is-pseudo-fullscreen .pseudo-exit-btn {
  display: inline-flex !important;
}

.intel-article {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.intel-article h1 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.intel-article h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 24px 0 10px 0;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 6px;
}

.intel-article p {
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.7;
}

.intel-article ul,
.intel-article ol {
  margin: 0 0 18px 22px;
  color: var(--text-body);
}

.intel-article li {
  margin-bottom: 6px;
}

.note-box,
.troubleshoot-box {
  background: rgba(23, 28, 32, 0.7);
  border-left: 4px solid var(--border-light);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}

.cheat-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 15px 0 20px 0;
}

.cheat-chip {
  background: var(--bg-header-dark);
  border: 1px solid var(--border-dark);
  padding: 10px 14px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.cheat-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.cheat-effect {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

.hero-section {
  text-align: center;
  margin: 25px 0 35px 0;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-desc {
  max-width: 750px;
  margin: 12px auto 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--trans);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  border-color: var(--border-light);
}

.card-header-bar {
  padding: 16px;
  background: var(--bg-card-header);
  border-bottom: 1px solid var(--border-dark);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.card-body {
  padding: 16px;
  flex-grow: 1;
}

.card-cta-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 0 0 7px 7px;
  border: none;
  border-top: 1px solid #1f262c;
  letter-spacing: 0.5px;
}

.badge-cat {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  background: #1e2433;
  color: #9ab4d0;
}

.filter-search-box {
  background: #11141c;
  border: 1px solid #2b3040;
  padding: 14px 18px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  width: 100%;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-search-box:focus {
  border-color: #f39c12;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

.faq-item h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
}

.cheat-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  font-size: 0.88rem;
}

.cheat-table th {
  background: var(--bg-card-header);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-dark);
  border-right: 1px solid var(--border-dark);
}

.cheat-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-dark);
  border-right: 1px solid var(--border-dark);
  background: var(--bg-card);
  color: var(--text-body);
}

.cheat-table tr:hover td {
  background: #2a333d;
}

#footer {
  background: linear-gradient(to bottom, #2d353e, #171c20);
  border-top: 1px solid var(--border-light);
  width: 100%;
  position: relative;
  color: #f0f0f0;
  flex-shrink: 0;
  margin-top: 40px;
  padding: 30px 0 15px 0;
}

#foot-info {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-brand {
  flex: 2 1 300px;
}

.ft-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.ft-logo span {
  color: var(--text-muted);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.ft-title {
  font-size: 1rem;
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #f0f0f0;
}

.ft-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft-links ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.ft-links ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.ft-links ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 25px auto 0 auto;
  padding: 15px 16px 0 16px;
  border-top: 1px solid rgba(164, 185, 190, 0.2);
  text-align: center;
  color: #7e8f99;
  font-size: 0.78rem;
}

.station-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.station-card-head {
  background: linear-gradient(to right, #242b32, #1b2126);
  padding: 10px 16px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.station-card-head h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-bright);
}

.station-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.76rem;
}

.meta-tag {
  background: rgba(164, 185, 190, 0.12);
  border: 1px solid rgba(164, 185, 190, 0.25);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.station-card-body {
  padding: 12px 16px 14px;
}

.station-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.compact-track-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 6px 18px;
}

.compact-track-grid li {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-main);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(164, 185, 190, 0.15);
}

.compact-track-grid li strong {
  color: var(--text-bright);
}

.track-cut {
  color: #c98888;
  font-size: 0.76rem;
}

.track-note {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0 28px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.article-toc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toc-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 12px;
}

.toc-grid li {
  margin: 0;
  padding: 0;
}

.toc-grid li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #192026;
  border: 1px solid rgba(164, 185, 190, 0.18);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--trans);
}

.toc-grid li a:hover {
  background: #242c34;
  border-color: rgba(164, 185, 190, 0.35);
  color: #fff;
  transform: translateX(2px);
}

.toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: rgba(164, 185, 190, 0.15);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-bright);
  flex-shrink: 0;
}

/* ==========================================================================
   Visual Media Enhancements (Hero, Game Cards, Dossier, Guide Banners)
   ========================================================================== */

.hero-banner-wrapper {
  width: 100%;
  margin: 18px 0 28px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  background-color: var(--bg-card);
}

.hero-banner-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-banner-wrapper::after,
.card-media::after,
.dossier-portrait-wrap::after,
.guide-banner-card::after,
.online-preview-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    rgba(0, 0, 0, 0.16) 1px,
    rgba(0, 0, 0, 0.16) 3px
  );
  mix-blend-mode: overlay;
}

.hero-banner-caption {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(23, 28, 32, 0.95) 0%, rgba(23, 28, 32, 0.65) 75%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-banner-tagline {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}

.hero-banner-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-card-header);
}

.card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.game-card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(23, 28, 32, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.badge-vice {
  border-color: #ff3399;
  box-shadow: 0 0 10px rgba(255, 51, 153, 0.45);
  color: #ffddf0;
}

.badge-gta3 {
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
  color: #ddfaff;
}

.dossier-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  align-items: flex-start;
}

.dossier-portrait-wrap {
  flex-shrink: 0;
  width: 240px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background-color: var(--bg-card-header);
}

.dossier-portrait-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.dossier-card:hover .dossier-portrait-wrap img {
  transform: scale(1.03);
}

.dossier-info {
  flex-grow: 1;
}

.dossier-header {
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.dossier-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.dossier-meta-badge {
  background: var(--bg-card-header);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--text-bright);
}

.guide-banner-card {
  width: 100%;
  margin: 18px 0 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-card-header);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.guide-banner-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.guide-banner-caption {
  position: relative;
  z-index: 2;
  padding: 10px 16px;
  background: var(--bg-card-header);
  border-top: 1px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-banner-caption strong {
  color: var(--text-bright);
}

.online-preview-banner {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  position: relative;
}

.online-preview-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 980px) {
  .app-container {
    padding: 10px;
    margin: 10px 0 20px 0;
  }

  #head .head-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .nav-rack {
    justify-content: center;
    width: 100%;
  }

  .nav-rack li a {
    padding: 6px 11px;
    font-size: 0.78rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .intel-article {
    padding: 16px;
  }

  .intel-article h1 {
    font-size: 1.4rem;
  }

  .intel-article h2 {
    font-size: 1.15rem;
  }

  #foot-info {
    flex-direction: column;
    gap: 20px;
  }

  .footer-column {
    width: 100%;
  }

  .cheat-chip-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .nav-rack {
    gap: 5px;
  }

  .nav-rack li a {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .app-container {
    padding: 6px;
  }
}