:root {
  color-scheme: dark;
  --bg: #080908;
  --bg-2: #101310;
  --panel: rgba(20, 24, 21, 0.94);
  --panel-2: #1b201b;
  --ink: #f7f0df;
  --muted: #b9b09d;
  --soft: #d8cdb6;
  --line: #30382f;
  --line-2: rgba(255, 255, 255, 0.12);
  --gold: #ffc03a;
  --red: #ff4d45;
  --green: #74c987;
  --blue: #69a7c9;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    linear-gradient(180deg, rgba(255, 192, 58, 0.09), transparent 440px),
    radial-gradient(circle at 12% 0%, rgba(255, 77, 69, 0.16), transparent 360px),
    linear-gradient(90deg, rgba(116, 201, 135, 0.04), transparent 50%),
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.07;
  background-image:
    linear-gradient(90deg, #fff 1px, transparent 1px),
    linear-gradient(#fff 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.52));
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
li,
summary,
td,
th {
  overflow-wrap: anywhere;
}

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

h1 {
  margin-bottom: 16px;
  color: #fff8e7;
  font-size: clamp(2.3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: #fff8e7;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: #fff8e7;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p,
li,
dd,
td {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 6px;
  color: #17150d;
  background: var(--gold);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 8, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 900;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 192, 58, 0.42);
  border-radius: 8px;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 0 24px rgba(255, 192, 58, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 22px);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.92rem;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  color: var(--soft);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
  gap: 24px;
  width: min(1380px, calc(100% - 32px));
  margin: 26px auto 30px;
}

.hero,
.game-shell,
.layout,
.callout-strip,
.page-head,
.breadcrumb {
  max-width: calc(100vw - 32px);
}

.hero-copy,
.hero-card,
.panel,
.side-box,
.game-panel,
.guide-card,
.source-panel,
.stat-card,
.topic-card,
.warning-note,
.table-panel {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(22px, 5vw, 54px);
}

.hero-copy::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(8, 9, 8, 0.95), rgba(8, 9, 8, 0.35)),
    url("/assets/img/cobb-shot-1.gif") center / cover;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 760px;
  color: var(--soft);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-button,
.secondary-button,
.small-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 900;
}

.primary-button {
  border: 0;
  color: #17150d;
  background: var(--gold);
  cursor: pointer;
}

.secondary-button,
.small-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.small-button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.86rem;
}

.hero-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.title-art {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: #050505;
}

.facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.facts div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facts dd {
  margin: 3px 0 0;
}

.game-shell {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 30px;
}

.first-play {
  margin-top: 24px;
  margin-bottom: 8px;
}

.play-tip-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.play-tip {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.play-tip:hover {
  border-color: rgba(255, 192, 58, 0.45);
  background: rgba(255, 192, 58, 0.08);
  text-decoration: none;
}

.play-tip strong {
  color: var(--gold);
  font-size: 0.92rem;
}

.play-tip span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.play-bridge {
  display: grid;
  gap: 16px;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 24px;
}

.play-bridge__links {
  width: 100%;
  margin: 0;
}

.screenshot-strip {
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screenshot-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.screenshot-strip__head .eyebrow {
  margin-bottom: 0;
}

.screenshot-strip__lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.screenshot-tile {
  margin: 0;
  min-width: 0;
}

.screenshot-tile a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.screenshot-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshot-tile figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.screenshot-tile figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.9rem;
}

.compact-hero {
  min-height: 0;
  margin-top: 12px;
}

.compact-hero .hero-copy {
  min-height: 0;
  padding: clamp(18px, 3vw, 28px);
}

.compact-hero .hero-copy h2,
.game-info-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: 0.94;
}

.game-panel {
  overflow: hidden;
}

.game-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 26px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 192, 58, 0.16), rgba(255, 77, 69, 0.08));
}

.game-topbar h2 {
  margin: 0;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.meta-pills span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.84rem;
}

.game-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 520px;
  background: #020202;
}

.game-frame-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.62);
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.game-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.86)),
    var(--fallback-image, url("/assets/img/cobb-shot-1.gif")) center / cover;
}

.official-play-card {
  display: grid;
  min-height: 420px;
  align-content: end;
  gap: 12px;
  padding: clamp(22px, 5vw, 44px);
  background-position: center;
  background-size: cover;
}

.official-play-card h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
}

.official-play-card p {
  max-width: 620px;
}

.game-fallback.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.game-fallback h2,
.game-fallback p {
  max-width: 560px;
  margin-inline: auto;
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #111411;
}

.embed-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
  background: #0b0d0b;
}

.embed-help span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.embed-help button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.embed-help button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.embed-status {
  margin: 0;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0b0d0b;
  font-size: 0.86rem;
}

.embed-status a {
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel-2);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
  transform: translateX(1px);
}

.fullscreen-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.fullscreen-icon::before,
.fullscreen-icon::after {
  position: absolute;
  inset: 0;
  content: "";
  border-color: currentColor;
  border-style: solid;
}

.fullscreen-icon::before {
  border-width: 2px 0 0 2px;
}

.fullscreen-icon::after {
  border-width: 0 2px 2px 0;
}

.source-link {
  margin-left: auto;
  font-weight: 800;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
}

.main-flow {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.main-flow > * {
  min-width: 0;
  max-width: 100%;
}

.panel,
.source-panel,
.table-panel {
  padding: clamp(20px, 4vw, 34px);
}

.panel.compact {
  padding: 22px;
}

.two-column,
.three-column,
.guide-grid,
.topic-grid,
.game-grid,
.stat-grid {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.two-column > *,
.three-column > *,
.guide-grid > *,
.topic-grid > *,
.game-grid > *,
.stat-grid > *,
.layout > *,
.game-shell > *,
.hero > * {
  min-width: 0;
}

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

.three-column,
.guide-grid,
.topic-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-card,
.topic-card,
.stat-card,
.warning-note {
  padding: 18px;
}

.guide-card p,
.topic-card p,
.stat-card p {
  margin-bottom: 0;
}

.control-list,
.diagnosis-list,
.cheat-grid,
.layer-grid,
.evidence-grid,
.video-grid,
.video-plan,
.source-cards,
.search-chip-grid,
.ranked-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 24px;
}

.main-flow .trust-bar {
  width: 100%;
  margin: 0;
}

.trust-bar article,
.evidence-status,
.source-cards article,
.video-plan article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.trust-bar article {
  padding: 14px;
}

.trust-bar h2 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.92rem;
}

.trust-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.evidence-status {
  padding: clamp(20px, 4vw, 30px);
}

.evidence-status dl,
.shot-proof {
  display: grid;
  gap: 0;
  margin: 0;
}

.evidence-status dl {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.evidence-status div,
.shot-proof div {
  min-width: 0;
}

.evidence-status dt,
.shot-proof dt {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-status dd,
.shot-proof dd {
  margin: 4px 0 0;
  color: var(--soft);
}

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

.source-cards article,
.video-plan article {
  padding: 16px;
}

.source-cards h3,
.video-plan h3 {
  margin: 0 0 8px;
}

.source-cards p,
.video-plan p {
  margin: 0 0 8px;
}

.video-plan {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.control-list {
  padding-left: 18px;
  margin: 12px 0;
}

.small-note {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.search-chip-grid a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
}

.diagnosis-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.diagnosis-list article,
.cheat-grid article,
.layer-grid article,
.evidence-card,
.video-card,
.rank-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.diagnosis-list article,
.cheat-grid article,
.layer-grid article {
  padding: 16px;
}

.diagnosis-list h3,
.cheat-grid h3,
.layer-grid h3,
.evidence-card h3,
.video-card h3,
.rank-card h3 {
  margin: 0 0 8px;
}

.diagnosis-list p,
.cheat-grid p,
.layer-grid p,
.evidence-card p,
.video-card p,
.rank-card p {
  margin: 0 0 8px;
}

.cheat-grid,
.layer-grid,
.evidence-grid,
.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-card,
.video-card {
  overflow: hidden;
}

.evidence-card img,
.rank-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050505;
}

.evidence-card h3,
.evidence-card p,
.evidence-card .shot-proof,
.video-card h3,
.video-card p {
  padding-inline: 14px;
}

.evidence-card h3,
.video-card h3 {
  padding-top: 14px;
}

.evidence-card p,
.evidence-card .shot-proof,
.video-card p {
  padding-bottom: 14px;
}

.shot-proof {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.shot-proof div {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.shot-proof div:last-child {
  border-bottom: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #000;
  cursor: pointer;
}

.video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.78;
}

.video-thumb span {
  position: absolute;
  inset: auto 16px 16px auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 192, 58, 0.5);
  border-radius: 6px;
  color: #17150d;
  background: var(--gold);
  font-weight: 900;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.route-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  align-self: center;
}

.cell {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.cell.wall {
  background: #050505;
}

.cell.safe {
  border-color: rgba(111, 201, 137, 0.46);
  background: rgba(111, 201, 137, 0.12);
}

.cell.path {
  border-color: rgba(255, 192, 58, 0.42);
  background: rgba(255, 192, 58, 0.11);
}

.cell.objective {
  border-color: rgba(255, 192, 58, 0.72);
  background: rgba(255, 192, 58, 0.22);
  color: var(--gold);
}

.cell.danger {
  border-color: rgba(255, 77, 69, 0.58);
  background: rgba(255, 77, 69, 0.16);
  color: var(--red);
}

.ranked-list {
  gap: 16px;
}

.rank-card {
  display: grid;
  grid-template-columns: 58px minmax(130px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.rank {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 6px;
  background: var(--gold);
  color: #151009;
  font-weight: 950;
}

.score-meter {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 950;
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
}

.search-panel input {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  background: #090a09;
  font: inherit;
}

.search-results {
  display: grid;
  gap: 12px;
}

.search-results article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.search-results h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.search-results p {
  margin: 0;
}

.guide-card .number {
  display: inline-grid;
  width: 34px;
  height: 28px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 5px;
  color: #17150d;
  background: var(--gold);
  font-weight: 900;
}

.warning-note {
  border-color: rgba(255, 77, 69, 0.35);
  background: rgba(255, 77, 69, 0.08);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: rgba(255, 192, 58, 0.1);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.steps li {
  padding-left: 4px;
}

.route-block {
  display: grid;
  gap: 14px;
}

.route-step {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

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

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 16px 0;
  color: #fff8e7;
  font-weight: 900;
  cursor: pointer;
}

details p,
details ul,
details ol {
  padding-bottom: 16px;
}

.sidebar {
  position: sticky;
  top: 82px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.side-box {
  padding: 18px;
}

.side-box h2 {
  font-size: 1.12rem;
}

.side-box a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.media-box img {
  width: 100%;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.game-card div {
  padding: 14px;
}

.game-card p {
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.game-card a {
  font-weight: 900;
}

.source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list a {
  display: inline-flex;
  color: var(--ink);
  font-weight: 800;
}

.callout-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 24px;
}

.callout-strip a {
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
}

.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-head {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 24px;
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 9, 8, 0.95), rgba(8, 9, 8, 0.65)),
    url("/assets/img/cobb-shot-2.gif") center / cover;
  box-shadow: var(--shadow);
}

.page-head p {
  max-width: 780px;
  color: var(--soft);
  font-size: 1.06rem;
}

.last-updated {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 192, 58, 0.32);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 192, 58, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 30px clamp(16px, 4vw, 44px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #070807;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  padding: 3px 0;
}

.fine-print {
  margin: 0;
  color: #8f8676;
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .hero,
  .game-shell,
  .layout {
    grid-template-columns: 1fr;
  }

  .play-tip-row,
  .screenshot-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .trust-bar,
  .evidence-status dl,
  .video-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-map,
  .rank-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .three-column,
  .guide-grid,
  .topic-grid,
  .stat-grid,
  .cheat-grid,
  .layer-grid,
  .evidence-grid,
  .video-grid,
  .source-cards,
  .callout-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .play-tip-row,
  .screenshot-strip__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    overflow-x: visible;
    white-space: normal;
    padding-bottom: 2px;
  }

  .hero-copy {
    min-height: 360px;
  }

  .game-topbar,
  .game-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .meta-pills {
    justify-content: flex-start;
  }

  .game-frame-wrap {
    min-height: 420px;
  }

  .source-link {
    margin-left: 0;
  }

  .two-column,
  .three-column,
  .guide-grid,
  .topic-grid,
  .game-grid,
  .stat-grid,
  .diagnosis-list,
  .cheat-grid,
  .layer-grid,
  .evidence-grid,
  .video-grid,
  .video-plan,
  .source-cards,
  .trust-bar,
  .evidence-status dl,
  .search-chip-grid,
  .sidebar,
  .callout-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .panel,
  .source-panel,
  .table-panel {
    padding: 20px;
  }
}
