:root {
  color-scheme: dark;
  --bg: #0c1722;
  --ink: #eef6fb;
  --muted: #91a8b7;
  --panel: #101d2a;
  --panel-strong: #142434;
  --line: #263b4e;
  --red: #ef4f62;
  --teal: #21bdc6;
  --gold: #d4a24b;
  --green: #42bd88;
  --blue: #528dff;
  --nav: #07111b;
  --ice: #102d3b;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 18% -12%, rgba(33, 189, 198, 0.18), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(239, 79, 98, 0.12), transparent 24%),
    linear-gradient(180deg, #07111b 0, var(--bg) 260px, #0d1823 100%);
  color: var(--ink);
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  overflow-wrap: anywhere;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(7, 17, 27, 0.96);
  border-bottom: 1px solid rgba(92, 143, 180, 0.24);
  color: #f4fbff;
  display: grid;
  gap: 14px;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  min-height: 58px;
  padding: 8px max(16px, calc((100vw - 1040px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  align-items: center;
  background: linear-gradient(135deg, #21bdc6, #ef4f62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  font-weight: 800;
  border-radius: 6px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand small {
  color: #9ec6d6;
  display: block;
  font-size: 11px;
  margin-top: 3px;
}

.top-nav {
  background: rgba(11, 24, 36, 0.82);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  min-width: 0;
  padding: 3px;
}

.top-nav a,
.lang-button {
  border-radius: 4px;
  border: 1px solid transparent;
  color: #cfe0ea;
  font-size: 12px;
  min-height: 28px;
  padding: 5px 12px;
  text-decoration: none;
  white-space: normal;
}

.top-nav a.active,
.top-nav a:hover,
.lang-button.active {
  background: rgba(223, 244, 255, 0.08);
  border-color: rgba(119, 208, 219, 0.35);
  color: #fff;
}

.lang-switch {
  background: rgba(223, 244, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(119, 208, 219, 0.22);
  display: flex;
  padding: 4px;
}

.lang-button {
  background: transparent;
  cursor: pointer;
}

main {
  margin: 0 auto;
  max-width: 1040px;
  padding: 10px 0 28px;
}

.hero {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.45fr);
}

.static-hero .hero-panel {
  display: none;
}

.hero-copy {
  background:
    linear-gradient(135deg, rgba(7, 17, 27, 0.98), rgba(10, 31, 47, 0.92));
  border: 1px solid rgba(69, 111, 145, 0.45);
  border-radius: 7px;
  border-left: 0;
  box-shadow: 0 0 0 1px rgba(33, 189, 198, 0.06), var(--shadow);
  background-position: center;
  background-size: cover;
  color: var(--ink);
  min-height: 0;
  padding: 14px 16px;
  position: relative;
}

.hero-copy::after {
  display: none;
}

.eyebrow,
.section-kicker {
  color: #68dfe5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.02;
  max-width: 860px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 span {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}

h2 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

h3 {
  font-size: 18px;
}

.hero-copy p {
  color: #c7d6df;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 0;
  max-width: 720px;
}

.command-metrics {
  background: rgba(12, 25, 38, 0.92);
  border: 1px solid rgba(69, 111, 145, 0.45);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 86px;
  overflow: hidden;
}

.command-metrics div {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 0;
  padding: 8px 12px;
}

.command-metrics div:first-child {
  border-left: 0;
}

.command-metrics strong {
  font-size: 21px;
  line-height: 1;
}

.command-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-link,
.secondary-link,
.text-link {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  min-height: 42px;
  text-decoration: none;
}

.primary-link {
  background: linear-gradient(135deg, var(--red), #b92f4e);
  color: #fff;
  padding: 0 16px;
}

.secondary-link {
  border: 1px solid rgba(92, 143, 180, 0.42);
  color: var(--ink);
  padding: 0 16px;
}

.panel,
.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
}

.hero-panel {
  align-self: stretch;
  background: rgba(16, 29, 42, 0.92);
  border-radius: 7px;
  border-top: 4px solid var(--blue);
  padding: 12px;
}

.hero-entry-panel h2 {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 10px;
}

.hero-entry-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-entry {
  background: rgba(20, 36, 52, 0.92);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  text-decoration: none;
}

.hero-entry:nth-child(2),
.hero-entry:nth-child(4) {
  border-left-color: var(--teal);
}

.hero-entry:nth-child(5) {
  border-left-color: var(--gold);
}

.hero-entry strong {
  color: var(--ink);
  font-size: 14px;
}

.hero-entry span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.fact-grid,
.mini-stats,
.info-rows {
  display: grid;
  gap: 10px;
}

.fact,
.mini-stats div,
.field,
.notice {
  background: rgba(16, 29, 42, 0.94);
  border: 1px solid var(--line);
  padding: 12px;
}

.fact span,
.field span,
.mini-stats span {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.fact strong,
.mini-stats strong {
  display: block;
  font-size: 24px;
  margin: 5px 0;
}

.fact small {
  color: var(--muted);
}

.search-band {
  align-items: end;
  display: grid;
  gap: 10px;
  border-radius: 7px;
  grid-template-columns: minmax(220px, 1fr) auto;
  background: rgba(12, 23, 34, 0.86);
  border: 1px solid rgba(92, 143, 180, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  margin: 10px 0 12px;
  padding: 8px 10px;
}

.search-box {
  display: grid;
  gap: 6px;
}

.search-box span {
  color: var(--muted);
  font-weight: 700;
}

.search-box input {
  background: #08131e;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 36px;
  padding: 0 14px;
  width: 100%;
}

.filters {
  background: #0a1621;
  border-radius: 5px;
  border: 1px solid var(--line);
  display: flex;
  padding: 4px;
}

.filter {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  min-height: 32px;
  padding: 0 12px;
}

.filter.active {
  background: #16384a;
  color: #fff;
}

.home-grid,
.guide-layout,
.info-grid {
  display: grid;
  gap: 14px;
}

.home-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.command-board {
  display: grid;
  gap: 8px;
  grid-template-columns: 116px minmax(0, 1fr) 340px;
  margin-top: 8px;
}

.status-stack,
.command-feed,
.command-side,
.start-panel,
.latest-panel,
.command-footer-strip {
  min-width: 0;
}

.status-stack {
  display: grid;
  gap: 8px;
}

.status-card {
  background: linear-gradient(180deg, rgba(20, 36, 52, 0.96), rgba(10, 24, 36, 0.96));
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  min-height: 104px;
  padding: 14px 12px;
}

.status-card.complete {
  border-left: 3px solid var(--red);
}

.status-card.updating {
  border-left: 3px solid var(--blue);
}

.status-card.tracking {
  border-left: 3px solid var(--green);
}

.status-card strong {
  font-size: 16px;
}

.status-card span {
  color: var(--muted);
  font-size: 12px;
}

.status-card a {
  align-self: end;
  color: #54d9ee;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.command-feed .core-guides {
  background: rgba(13, 26, 39, 0.9);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
}

.command-feed .core-guides h3 {
  font-size: 14px;
  margin: 0 0 10px;
}

.command-feed .page-grid {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.command-feed .game-card {
  min-height: 106px;
}

.command-feed .game-cover {
  aspect-ratio: 2.35 / 1;
}

.command-feed .game-card h3 {
  font-size: 12px;
  margin-bottom: 4px;
}

.command-feed .game-card p:not(.tag-row) {
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 1;
}

.command-feed .tag-row {
  display: none;
}

.command-feed .muted {
  font-size: 10px;
}

.all-guides-link {
  background: linear-gradient(90deg, rgba(26, 80, 122, 0.85), rgba(14, 38, 57, 0.85));
  border: 1px solid rgba(82, 141, 255, 0.35);
  border-radius: 5px;
  color: #54d9ee;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
  padding: 7px;
  text-align: center;
  text-decoration: none;
}

.command-side {
  display: grid;
  gap: 8px;
}

.start-panel,
.latest-panel {
  background: rgba(13, 26, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
}

.start-panel a,
.latest-panel a {
  background: linear-gradient(90deg, rgba(20, 42, 61, 0.95), rgba(12, 27, 41, 0.95));
  border: 1px solid rgba(69, 111, 145, 0.44);
  border-radius: 6px;
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding: 8px 10px;
  text-decoration: none;
}

.start-panel a {
  border-left: 3px solid var(--blue);
}

.start-panel strong,
.latest-panel span {
  color: var(--ink);
  font-size: 12px;
}

.start-panel span,
.latest-panel small {
  color: var(--muted);
  font-size: 10px;
}

.latest-panel a {
  grid-template-columns: minmax(0, 1fr) auto;
}

.command-footer-strip {
  background: rgba(13, 26, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 8px;
  overflow: hidden;
}

.command-footer-strip div {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 2px;
  padding: 12px 16px;
}

.command-footer-strip div:first-child {
  border-left: 0;
}

.command-footer-strip strong {
  font-size: 13px;
}

.command-footer-strip span {
  color: var(--muted);
  font-size: 11px;
}

.span-2 {
  grid-column: 1 / -1;
  min-width: 0;
}

.home-grid > .panel.span-2 {
  padding: 14px 16px;
}

.home-grid > .panel.span-2 > h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px;
}

.home-grid > .panel.span-2 > .muted {
  margin-bottom: 12px;
}

.home-grid .notice.prose {
  padding: 12px;
}

.home-grid .notice.prose h3 {
  margin-bottom: 8px;
}

.home-grid .notice.prose p:last-child {
  margin-bottom: 0;
}

.page-grid,
.ending-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.page-card,
.ending-card,
.choice-card,
.generated-scene,
.info-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  min-width: 0;
  padding: 14px;
}

.page-card h3,
.ending-card h3,
.generated-scene h3,
.choice-card h3,
.info-card h2,
.info-card h3 {
  overflow-wrap: anywhere;
}

.page-card p,
.muted {
  color: var(--muted);
  line-height: 1.65;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.game-cover {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(33, 189, 198, 0.16), rgba(239, 79, 98, 0.12)),
    #08131e;
  border-bottom: 1px solid var(--line);
  display: block;
  overflow: hidden;
  width: 100%;
}

.game-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
  width: 100%;
}

.cover-fallback {
  align-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(33, 189, 198, 0.38), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(239, 79, 98, 0.28), transparent 24%),
    linear-gradient(135deg, #0a1824, #112b42 46%, #06111b);
  color: var(--ink);
  display: grid;
  justify-items: center;
  position: relative;
  text-decoration: none;
}

.cover-fallback::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent);
  position: absolute;
}

.cover-fallback span {
  border: 1px solid rgba(223, 244, 255, 0.22);
  box-shadow: 0 0 24px rgba(33, 189, 198, 0.18);
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 12px 14px;
  position: relative;
}

.cover-fallback small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}

.cover-fallback.horror,
.cover-fallback.shooter {
  background:
    radial-gradient(circle at 20% 15%, rgba(239, 79, 98, 0.36), transparent 28%),
    linear-gradient(135deg, #160c15, #102338 48%, #050b12);
}

.cover-fallback.rpg,
.cover-fallback.open-world {
  background:
    radial-gradient(circle at 20% 18%, rgba(215, 152, 47, 0.35), transparent 28%),
    linear-gradient(135deg, #102018, #132f3c 50%, #06111b);
}

.cover-fallback.otome {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 115, 166, 0.32), transparent 28%),
    linear-gradient(135deg, #181327, #123141 52%, #06111b);
}

.game-card:hover .game-cover img {
  filter: saturate(1.12);
  transform: scale(1.035);
}

.game-card .card-meta,
.game-card h3,
.game-card p,
.game-card .tag-row,
.game-card .text-link {
  margin-left: 12px;
  margin-right: 12px;
}

.card-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  margin-top: 12px;
}

.status-pill,
.guide-count {
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 5px 8px;
}

.status-pill {
  color: #fff;
}

.status-pill.complete {
  background: var(--red);
}

.status-pill.updating {
  background: var(--teal);
}

.status-pill.tracking {
  background: var(--blue);
}

.status-pill.info {
  background: #d7982f;
  color: #17212b;
}

.guide-count {
  background: var(--ice);
  border: 1px solid var(--line);
  color: #a8d6e1;
}

.game-card .text-link {
  margin-bottom: 12px;
  margin-top: auto;
}

.game-card h3 {
  font-size: 16px;
  line-height: 1.28;
  margin-bottom: 8px;
}

.game-card p:not(.tag-row) {
  display: -webkit-box;
  line-height: 1.5;
  margin-bottom: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.game-card .tag-row {
  font-size: 12px;
  margin-top: 4px;
}

.tag-row {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.tag-row strong {
  color: var(--ink);
}

.page-type,
.route-pill,
.ending-type {
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  padding: 4px 8px;
}

.page-type {
  background: var(--gold);
}

.route-pill.lizhi {
  background: var(--red);
}

.route-pill.litai {
  background: var(--teal);
}

.route-pill.meiniang {
  background: var(--green);
}

.ending-type.death {
  background: var(--red);
}

.ending-type.fail {
  background: var(--blue);
}

.text-link {
  color: var(--red);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keyword-cloud span {
  background: #0d1a26;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 9px;
}

.keyword-cloud a {
  background: #0d1a26;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 9px;
  text-decoration: none;
}

.seo-map,
.seo-term {
  margin-top: 0;
}

.seo-group {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.seo-group + .seo-group {
  margin-top: 14px;
}

.guide-layout {
  grid-template-columns: 320px minmax(0, 1fr);
}

.choice-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.guide-depth {
  background: #101d2a;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  margin-top: 14px;
  padding: 14px;
}

.game-playbook {
  background: linear-gradient(180deg, rgba(16, 29, 42, 0.98), rgba(10, 23, 34, 0.98));
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  margin: 16px 0;
  padding: 16px;
}

.game-playbook > p {
  color: var(--muted);
  line-height: 1.7;
}

.answer-guide {
  background: rgba(7, 17, 27, 0.55);
  border: 1px solid rgba(33, 189, 198, 0.22);
  margin: 14px 0;
  padding: 12px;
}

.answer-guide article {
  background: #0d1a26;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 12px;
}

.answer-guide article + article {
  margin-top: 10px;
}

.answer-guide strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.answer-guide p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.walkthrough-answer {
  background: rgba(6, 16, 26, 0.42);
  border: 1px solid rgba(47, 127, 255, 0.2);
  margin: 14px 0;
  padding: 12px;
}

.walkthrough-answer .static-table {
  margin-top: 8px;
}

.walkthrough-answer td:nth-child(2) {
  color: var(--ink);
  font-weight: 700;
}

.walkthrough-answer td:nth-child(3) {
  color: #ffb4bd;
}

.download-guide {
  background:
    linear-gradient(135deg, rgba(33, 189, 198, 0.11), rgba(47, 127, 255, 0.08)),
    #0b1a27;
  border: 1px solid rgba(33, 189, 198, 0.28);
  margin: 14px 0;
  padding: 14px;
}

.download-guide h4 {
  color: var(--ink);
  font-size: 1.05rem;
  margin: 4px 0 8px;
}

.download-guide > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}

.download-methods {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-method {
  background: rgba(10, 28, 42, 0.92);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  color: inherit;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  text-decoration: none;
}

.download-method:hover {
  border-color: rgba(33, 189, 198, 0.64);
  transform: translateY(-1px);
}

.download-method span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.download-method strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.download-method em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.playbook-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.playbook-card {
  background: #0d1a26;
  border: 1px solid var(--line);
  min-width: 0;
  padding: 14px;
}

.playbook-card h4 {
  margin: 0 0 10px;
}

.playbook-card ul {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  padding-left: 18px;
}

.playbook-card li + li {
  margin-top: 8px;
}

.playbook-faq {
  margin-bottom: 0;
}

.hub-content-rail {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-top: 12px;
}

.hub-main-feed {
  min-width: 0;
}

.home-answer-rail {
  align-self: start;
  display: grid;
  gap: 10px;
  min-width: 0;
  position: sticky;
  top: 76px;
}

.guide-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 6px;
}

.guide-stats div {
  background: linear-gradient(180deg, #182b3c, #0d1c29);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(9, 139, 146, 0.55);
  padding: 12px;
}

.guide-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}

.guide-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.game-dashboard {
  background: linear-gradient(180deg, rgba(16, 29, 42, 0.98), rgba(11, 23, 34, 0.98));
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
  margin: 14px 0;
  padding: 14px;
}

.game-dashboard h3 {
  margin-bottom: 14px;
}

.dashboard-lane {
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
}

.dashboard-lane + .dashboard-lane {
  margin-top: 14px;
}

.dashboard-lane h4 {
  margin: 0 0 10px;
}

.compact-guide-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-guide-list a {
  background: #0d1a26;
  border: 1px solid var(--line);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  text-decoration: none;
}

.compact-guide-list a span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.guide-depth h3,
.guide-depth h4 {
  margin-bottom: 10px;
}

.depth-grid,
.cleanup-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.depth-card,
.cleanup-item {
  background: #0f1d2a;
  border: 1px solid var(--line);
  padding: 12px;
}

.depth-card h4,
.cleanup-item strong {
  display: block;
  margin-bottom: 7px;
}

.depth-card p,
.cleanup-item p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.depth-card small {
  color: var(--gold);
  display: block;
  font-weight: 800;
}

.chapter-index {
  margin-bottom: 16px;
}

.chapter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.chapter-cloud span,
.chapter-cloud a,
.scene-note {
  background: #0d1a26;
  border: 1px solid var(--line);
  color: var(--muted);
}

.chapter-cloud span,
.chapter-cloud a {
  font-size: 12px;
  padding: 5px 8px;
}

.chapter-cloud a {
  font-weight: 800;
  text-decoration: none;
}

.scene-note {
  line-height: 1.6;
  margin: 0 0 12px;
  padding: 10px;
}

.choice-meta,
.section-row {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.choice-meta span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.generated-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.generated-row {
  background: #0d1a26;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 10px;
}

.generated-row.bad-row {
  border-left: 4px solid var(--red);
}

.generated-row.safe-row {
  border-left: 4px solid var(--green);
}

.field strong {
  display: block;
  line-height: 1.45;
  margin-top: 5px;
}

.danger-text {
  color: var(--red);
}

.success-text {
  color: var(--green);
}

.price-panel {
  overflow-x: auto;
}

.price-table {
  display: grid;
  gap: 8px;
  min-width: 760px;
}

.price-row {
  background: #0f1d2a;
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1.05fr 1.4fr 1.2fr 1.2fr;
  padding: 11px 12px;
}

.price-head {
  background: #183145;
}

.prose {
  line-height: 1.75;
}

.prose ul,
.sources ul {
  line-height: 1.9;
}

.static-seo {
  overflow-x: auto;
}

.static-table {
  margin-top: 16px;
  overflow-x: auto;
}

.static-table table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.static-table th,
.static-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.static-table th {
  background: #183145;
}

.related-links {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
}

.related-links a {
  background: #0d1a26;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.direct-answer,
.guide-steps,
.faq-list {
  background: #101d2a;
  border: 1px solid var(--line);
  margin: 18px 0;
  padding: 16px;
}

.direct-answer {
  border-left: 4px solid var(--red);
}

.direct-answer p:last-child,
.faq-list p {
  color: var(--muted);
}

.topic-nav {
  align-items: center;
  background: #0d2331;
  border: 1px solid rgba(119, 208, 219, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  padding: 12px;
}

.topic-nav strong {
  color: #b6eef5;
  margin-right: 2px;
}

.topic-nav a {
  background: #142c3d;
  border: 1px solid rgba(119, 208, 219, 0.4);
  color: #d9f7fb;
  font-weight: 800;
  padding: 7px 9px;
  text-decoration: none;
}

.guide-steps {
  border-left: 4px solid var(--teal);
}

.guide-steps ol {
  counter-reset: guide-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.guide-steps li {
  background: #0d1a26;
  border: 1px solid var(--line);
  counter-increment: guide-step;
  padding: 12px 12px 12px 44px;
  position: relative;
}

.guide-steps li::before {
  background: var(--teal);
  color: #fff;
  content: counter(guide-step);
  font-weight: 900;
  height: 24px;
  left: 12px;
  line-height: 24px;
  position: absolute;
  text-align: center;
  top: 13px;
  width: 24px;
}

.guide-steps li p {
  color: var(--muted);
  margin: 6px 0 0;
}

.faq-list {
  border-left: 4px solid var(--gold);
}

.source-list {
  list-style: square;
  padding-left: 22px;
}

.source-list a {
  color: var(--red);
  font-weight: 800;
}

.discovery-entry-list {
  margin: 22px 0;
}

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

.discovery-entry {
  border-left: 4px solid var(--teal);
}

.discovery-entry h4 {
  font-size: 16px;
  margin: 0 0 8px;
}

.discovery-entry .text-link {
  margin-right: 12px;
}

details {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}

summary {
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  align-items: center;
  background: #07111b;
  color: #eef6fb;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(16px, 4vw, 56px);
}

.site-footer p {
  color: #91a8b7;
  margin: 5px 0 0;
}

.empty {
  color: var(--muted);
}

.answer-summary {
  background: #111f2d;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  margin: 18px 0 22px;
  padding: 18px;
}

.answer-summary h2 {
  font-size: 1.15rem;
  margin: 6px 0 14px;
}

.answer-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.answer-summary dl > div {
  border-top: 1px solid rgba(128, 70, 42, 0.16);
  padding-top: 12px;
}

.answer-summary dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.answer-summary dt {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 4px;
}

.answer-summary dd {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 1080px) {
  main {
    padding: 12px 16px 32px;
  }

  .site-header,
  .hero,
  .home-grid,
  .guide-layout,
  .search-band {
    grid-template-columns: 1fr;
  }

  .top-nav {
    justify-content: flex-start;
    overflow: visible;
    width: 100%;
  }

  .hero-entry-list {
    grid-template-columns: 1fr;
  }

  .command-board {
    grid-template-columns: 1fr;
  }

  .hub-content-rail {
    grid-template-columns: 1fr;
  }

  .home-answer-rail {
    position: static;
  }

  .status-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .command-footer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    flex-wrap: wrap;
  }

  .page-grid,
  .ending-grid,
  .choice-grid,
  .depth-grid,
  .playbook-grid,
  .download-methods,
  .cleanup-list,
  .discovery-grid,
  .generated-row,
  .price-row,
  .info-grid,
  .guide-stats,
  .compact-guide-list {
    grid-template-columns: 1fr;
  }

  .command-feed .page-grid,
  .command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-metrics {
    height: auto;
  }

  .price-table {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  main {
    padding: 16px;
  }

  .command-metrics,
  .status-stack,
  .command-side,
  .command-feed .page-grid,
  .playbook-grid,
  .download-methods,
  .command-footer-strip {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
  }

  .brand {
    width: 100%;
  }

  .brand strong {
    display: block;
    line-height: 1.25;
  }

  .top-nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-nav a,
  .lang-button {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    justify-content: center;
    min-width: 0;
    min-height: 34px;
    padding: 7px 5px;
    text-align: center;
  }

  .lang-switch {
    width: auto;
  }

  .brand-mark {
    height: 38px;
    width: 38px;
  }

  h1 {
    font-size: clamp(30px, 8.4vw, 34px);
    line-height: 1.08;
    max-width: 100%;
  }

  h1 span {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    white-space: normal;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-copy {
    min-height: 0;
    padding: 22px;
  }

  .hero-panel,
  .panel {
    padding: 16px;
  }

  .search-band {
    margin: 16px 0;
  }

  .static-table {
    overflow: visible;
  }

  .static-table table,
  .static-table thead,
  .static-table tbody,
  .static-table tr,
  .static-table th,
  .static-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .static-table thead {
    display: none;
  }

  .static-table tr {
    background: #0f1d2a;
    border: 1px solid var(--line);
    margin-bottom: 10px;
  }

  .static-table td {
    border: 0;
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere;
  }

  .static-table td:first-child {
    border-top: 0;
    font-weight: 800;
  }

  .topic-nav {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .topic-nav strong,
  .topic-nav a {
    margin: 0;
  }

  .related-links a,
  .keyword-cloud span,
  .keyword-cloud a,
  .chapter-cloud span,
  .chapter-cloud a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
  border-radius: 5px;
  border-radius: 4px;
