@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --guide-bg: #070914;
  --guide-panel: #0d1122;
  --guide-panel-2: #11162a;
  --guide-line: rgba(139, 159, 218, .2);
  --guide-line-strong: rgba(42, 219, 255, .42);
  --guide-text: #f3f6ff;
  --guide-muted: #99a5c6;
  --guide-cyan: #21ddff;
  --guide-violet: #8d67ff;
  --guide-pink: #ff4f9a;
  --guide-green: #98ff42;
  --guide-radius: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.guide-site { margin: 0; min-width: 320px; min-height: 100vh; color: var(--guide-text); background: var(--guide-bg); font-family: Inter, system-ui, sans-serif; line-height: 1.65; }
body.guide-site::before { content: ''; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 15% 5%, rgba(26, 176, 255, .13), transparent 34%), radial-gradient(circle at 90% 22%, rgba(142, 71, 255, .13), transparent 32%), linear-gradient(rgba(115, 147, 208, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(115, 147, 208, .035) 1px, transparent 1px); background-size: auto, auto, 44px 44px, 44px 44px; }
body.guide-site::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent 49.8%, rgba(40, 222, 255, .04) 50%, transparent 50.2%); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.guide-header { position: sticky; top: 0; z-index: 50; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--guide-line); background: rgba(7, 9, 20, .88); backdrop-filter: blur(20px); }
.guide-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.guide-brand-mark { width: 40px; aspect-ratio: 1; border: 1px solid var(--guide-cyan); border-radius: 50%; background: radial-gradient(circle at center, transparent 43%, rgba(32, 220, 255, .18) 45% 56%, transparent 58%), conic-gradient(from 20deg, transparent, var(--guide-cyan), transparent 28%, var(--guide-violet), transparent 56%, var(--guide-pink), transparent 78%); box-shadow: 0 0 28px rgba(33, 221, 255, .22); }
.guide-brand strong, .guide-brand small { display: block; font-family: Rajdhani, sans-serif; letter-spacing: .16em; line-height: 1; }
.guide-brand strong { font-size: 22px; }
.guide-brand small { margin-top: 7px; color: var(--guide-cyan); font-size: 9px; letter-spacing: .46em; }
.guide-nav { display: flex; align-items: center; gap: 8px; }
.guide-nav a { padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--guide-muted); font: 600 13px Rajdhani, sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
.guide-nav a:hover, .guide-nav a[aria-current="page"] { color: var(--guide-text); border-color: var(--guide-line); background: rgba(255, 255, 255, .04); }

.guide-hub-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 540px; display: grid; align-content: center; padding: 86px max(24px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--guide-line); }
.guide-hub-hero::before { content: ''; position: absolute; z-index: -2; inset: 0 0 0 52%; background: linear-gradient(90deg, var(--guide-bg), transparent 25%), radial-gradient(circle at 62% 47%, transparent 0 18%, rgba(33, 221, 255, .18) 18.3% 18.8%, transparent 19.2% 27%, rgba(142, 103, 255, .2) 27.3% 27.8%, transparent 28.2%), repeating-conic-gradient(from 18deg at 62% 47%, rgba(33, 221, 255, .11) 0 2deg, transparent 2deg 17deg); opacity: .84; }
.guide-hub-hero::after { content: 'COMPLETE  ROUTES  /  SECRETS  /  CONTROLS'; position: absolute; right: clamp(20px, 4vw, 70px); bottom: 28px; color: rgba(147, 165, 204, .3); font: 700 10px Rajdhani, sans-serif; letter-spacing: .32em; }
.guide-grid-glow { position: absolute; z-index: -1; left: 50%; width: 36vw; aspect-ratio: 1; border: 1px solid rgba(33, 221, 255, .18); transform: rotate(45deg); box-shadow: inset 0 0 80px rgba(99, 64, 255, .08), 0 0 80px rgba(33, 221, 255, .06); }
.guide-kicker { display: flex; align-items: center; gap: 10px; color: var(--guide-cyan); font: 700 12px Rajdhani, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.guide-kicker > span { width: 32px; height: 2px; background: linear-gradient(90deg, var(--guide-cyan), var(--guide-violet)); box-shadow: 0 0 12px var(--guide-cyan); }
.guide-hub-hero h1, .guide-detail-hero h1 { max-width: 800px; margin: 18px 0; font: 700 clamp(52px, 7.1vw, 104px)/.86 Rajdhani, sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.guide-hub-hero h1 em, .guide-detail-hero h1 em { display: block; color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(142, 103, 255, .8); text-shadow: 0 0 36px rgba(142, 103, 255, .2); }
.guide-hub-hero > p { max-width: 690px; margin: 0 0 34px; color: var(--guide-muted); font-size: clamp(16px, 1.4vw, 20px); }
.guide-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-hero-stats > div { min-width: 160px; padding: 15px 22px; border: 1px solid var(--guide-line); border-radius: 14px; background: rgba(13, 17, 34, .75); }
.guide-hero-stats strong { display: block; color: var(--guide-cyan); font: 700 25px Rajdhani, sans-serif; }
.guide-hero-stats span { color: var(--guide-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.guide-library, .guide-method, .related-guides { max-width: 1380px; margin: 0 auto; padding: 84px clamp(20px, 4vw, 56px); }
.guide-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 30px; }
.guide-section-heading > div > * { margin: 0; }
.guide-section-index { display: block; margin-bottom: 8px; color: var(--guide-cyan); font: 700 12px Rajdhani, sans-serif; letter-spacing: .24em; }
.guide-section-heading h2, .section-title-row h2, .guide-method h2 { font: 700 clamp(28px, 3.3vw, 48px)/1 Rajdhani, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.guide-section-heading p, .section-title-row p { margin-top: 8px !important; color: var(--guide-muted); }
.guide-search { min-width: min(390px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--guide-line); border-radius: 14px; background: rgba(12, 16, 32, .8); }
.guide-search > span:not(.sr-only) { color: var(--guide-cyan); font-size: 25px; }
.guide-search input { width: 100%; height: 50px; border: 0; outline: 0; color: var(--guide-text); background: transparent; font: 500 14px Inter, sans-serif; }
.guide-search:focus-within { border-color: var(--guide-cyan); box-shadow: 0 0 0 3px rgba(33, 221, 255, .1); }
.guide-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.guide-filter { min-height: 40px; padding: 0 18px; border: 1px solid var(--guide-line); border-radius: 999px; color: var(--guide-muted); background: var(--guide-panel); font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.guide-filter:hover, .guide-filter.is-active { color: #061018; border-color: var(--guide-cyan); background: var(--guide-cyan); box-shadow: 0 0 22px rgba(33, 221, 255, .2); }
.guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card { min-width: 0; display: grid; grid-template-columns: 184px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--guide-line); border-radius: var(--guide-radius); background: linear-gradient(145deg, rgba(19, 25, 48, .96), rgba(8, 11, 24, .96)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.guide-card:hover { transform: translateY(-4px); border-color: var(--guide-line-strong); box-shadow: 0 18px 55px rgba(0, 0, 0, .28); }
.guide-card[hidden] { display: none; }
.guide-card-cover { position: relative; display: grid; place-items: center; min-height: 310px; padding: 25px; overflow: hidden; border-right: 1px solid var(--guide-line); background: radial-gradient(circle at 50% 40%, rgba(33, 221, 255, .14), transparent 56%), #090d1b; text-decoration: none; }
.guide-card-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, .12) 50%, transparent 56%); transform: translateX(-110%); transition: transform .7s ease; }
.guide-card:hover .guide-card-cover::after { transform: translateX(110%); }
.guide-card-cover img { width: 120px; max-height: 190px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.guide-card-cover > span { position: absolute; left: 15px; bottom: 14px; padding: 5px 9px; border: 1px solid var(--guide-line-strong); border-radius: 7px; color: var(--guide-cyan); background: rgba(6, 12, 25, .88); font: 700 10px Rajdhani, sans-serif; letter-spacing: .16em; }
.guide-card-body { min-width: 0; padding: 26px; }
.guide-card-eyebrow { display: flex; justify-content: space-between; gap: 10px; color: var(--guide-muted); font: 700 10px Rajdhani, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.guide-card-eyebrow span:first-child { color: var(--guide-green); }
.guide-card h2 { margin: 12px 0 8px; font: 700 28px/1.05 Rajdhani, sans-serif; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { color: var(--guide-cyan); }
.guide-card p { margin: 0; color: var(--guide-muted); font-size: 13px; line-height: 1.65; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.guide-tags span { padding: 4px 8px; border: 1px solid var(--guide-line); border-radius: 6px; color: #b7c2e0; font-size: 10px; }
.guide-card-actions { display: flex; align-items: center; gap: 16px; }
.guide-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid var(--guide-line); border-radius: 11px; font: 700 12px Rajdhani, sans-serif; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
.guide-btn.primary { color: #031117; border-color: var(--guide-cyan); background: linear-gradient(135deg, var(--guide-cyan), #75ecff); box-shadow: 0 8px 25px rgba(33, 221, 255, .16); }
.guide-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(33, 221, 255, .28); }
.guide-btn.secondary { background: rgba(255, 255, 255, .04); }
.guide-btn.secondary:hover { border-color: var(--guide-violet); background: rgba(142, 103, 255, .1); }
.guide-text-link { color: var(--guide-cyan); font-size: 12px; font-weight: 700; text-decoration: none; }
.guide-text-link:hover { text-decoration: underline; }
.guide-empty { padding: 50px; border: 1px dashed var(--guide-line); border-radius: var(--guide-radius); color: var(--guide-muted); text-align: center; }

.guide-method { border-top: 1px solid var(--guide-line); }
.guide-method > div:first-child { max-width: 620px; margin-bottom: 30px; }
.guide-method h2 { margin: 0; }
.guide-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-method article { padding: 26px; border: 1px solid var(--guide-line); border-radius: 18px; background: linear-gradient(150deg, rgba(18, 24, 46, .75), rgba(9, 12, 25, .8)); }
.guide-method article > strong { color: var(--guide-violet); font: 700 12px Rajdhani, sans-serif; letter-spacing: .2em; }
.guide-method h3 { margin: 30px 0 8px; font: 700 22px Rajdhani, sans-serif; text-transform: uppercase; }
.guide-method p { margin: 0; color: var(--guide-muted); font-size: 13px; }

.guide-breadcrumb { max-width: 1380px; margin: 0 auto; display: flex; gap: 10px; padding: 26px clamp(20px, 4vw, 56px); color: var(--guide-muted); font-size: 12px; }
.guide-breadcrumb a { text-decoration: none; }
.guide-breadcrumb a:hover { color: var(--guide-cyan); }
.guide-detail-hero { max-width: 1268px; min-height: 520px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: clamp(45px, 8vw, 120px); padding: 42px 32px 80px; }
.guide-detail-hero h1 { max-width: 820px; font-size: clamp(50px, 6.4vw, 90px); }
.guide-detail-hero h1 em { margin-top: 6px; font-size: .48em; letter-spacing: .02em; }
.guide-detail-copy > p { max-width: 760px; margin: 0; color: var(--guide-muted); font-size: 17px; }
.guide-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.guide-quick-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--guide-line); border-radius: 14px; background: var(--guide-line); }
.guide-quick-facts > div { padding: 13px 14px; background: var(--guide-panel); }
.guide-quick-facts dt { color: var(--guide-muted); font: 700 9px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.guide-quick-facts dd { margin: 4px 0 0; font: 600 13px Rajdhani, sans-serif; }
.guide-detail-cover { position: relative; justify-self: center; width: min(100%, 290px); aspect-ratio: 3 / 4; display: grid; place-items: center; padding: 24px; border: 1px solid var(--guide-line-strong); border-radius: 22px; background: radial-gradient(circle, rgba(33, 221, 255, .16), transparent 63%), #090c19; box-shadow: 20px 22px 0 rgba(142, 103, 255, .08), 0 26px 70px rgba(0, 0, 0, .45); transform: perspective(900px) rotateY(-5deg); }
.guide-detail-cover::before { content: ''; position: absolute; inset: -10px 10px 10px -10px; z-index: -1; border: 1px solid rgba(142, 103, 255, .3); border-radius: 24px; }
.guide-detail-cover img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
.cover-system { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; border: 1px solid var(--guide-cyan); border-radius: 7px; color: var(--guide-cyan); background: rgba(4, 10, 19, .9); font: 700 10px Rajdhani, sans-serif; letter-spacing: .15em; }
.cover-scan { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.cover-scan::after { content: ''; position: absolute; inset: -40% 0 auto; height: 35%; background: linear-gradient(transparent, rgba(33, 221, 255, .12), transparent); animation: guide-scan 5s linear infinite; }
@keyframes guide-scan { to { transform: translateY(500%); } }

.guide-detail-layout { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; padding: 30px clamp(20px, 4vw, 56px) 70px; border-top: 1px solid var(--guide-line); }
.guide-toc { position: sticky; top: 104px; align-self: start; padding: 22px; border: 1px solid var(--guide-line); border-radius: 18px; background: rgba(12, 16, 31, .88); backdrop-filter: blur(14px); }
.guide-toc > span { display: block; margin-bottom: 14px; color: var(--guide-muted); font: 700 10px Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.guide-toc nav { display: grid; gap: 3px; }
.guide-toc nav a { display: grid; grid-template-columns: 24px 1fr; gap: 7px; padding: 8px; border-radius: 8px; color: var(--guide-muted); font-size: 11px; line-height: 1.35; text-decoration: none; }
.guide-toc nav a > span { color: #5f6c91; font: 700 10px Rajdhani, sans-serif; }
.guide-toc nav a:hover, .guide-toc nav a.is-active { color: var(--guide-text); background: rgba(33, 221, 255, .07); }
.guide-toc nav a.is-active > span { color: var(--guide-cyan); }
.guide-manual-link { display: block; margin-top: 18px; padding: 12px; border: 1px solid rgba(142, 103, 255, .28); border-radius: 10px; color: var(--guide-muted); font-size: 10px; line-height: 1.5; text-decoration: none; }
.guide-manual-link > span { display: block; color: var(--guide-violet); font: 700 9px Rajdhani, sans-serif; letter-spacing: .18em; }
.guide-detail-content { min-width: 0; }
.guide-content-section { padding: 50px 0; border-bottom: 1px solid var(--guide-line); scroll-margin-top: 90px; }
.section-title-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 28px; }
.section-title-row > * { margin: 0; }
.section-title-row .guide-section-index { padding-top: 8px; }
.control-table-wrap { overflow-x: auto; border: 1px solid var(--guide-line); border-radius: 18px; }
.controls-section table { width: 100%; border-collapse: collapse; background: rgba(11, 15, 29, .75); }
.controls-section th, .controls-section td { padding: 17px 20px; border-bottom: 1px solid var(--guide-line); text-align: left; vertical-align: top; }
.controls-section thead th { color: var(--guide-muted); background: rgba(255, 255, 255, .025); font: 700 10px Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.controls-section tbody tr:last-child > * { border-bottom: 0; }
.controls-section tbody th { width: 150px; }
kbd { min-width: 54px; display: inline-block; padding: 7px 10px; border: 1px solid rgba(33, 221, 255, .32); border-bottom-width: 3px; border-radius: 8px; color: var(--guide-cyan); background: #070b17; font: 700 12px Rajdhani, sans-serif; text-align: center; }
.controls-section td strong, .controls-section td span { display: block; }
.controls-section td strong { font-size: 13px; }
.controls-section td span { margin-top: 3px; color: var(--guide-muted); font-size: 12px; }
.gameplay-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gameplay-shot { min-width: 0; margin: 0; }
.gameplay-shot button { position: relative; width: 100%; display: block; overflow: hidden; padding: 0; border: 1px solid var(--guide-line); border-radius: 18px; color: var(--guide-text); background: #03050c; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); cursor: zoom-in; }
.gameplay-shot button::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .024) 0 1px, transparent 1px 4px), linear-gradient(180deg, transparent 58%, rgba(2, 4, 12, .72)); }
.gameplay-shot button:hover, .gameplay-shot button:focus-visible { border-color: var(--guide-cyan); outline: 0; box-shadow: 0 0 0 3px rgba(33, 221, 255, .1), 0 22px 50px rgba(0, 0, 0, .38); }
.gameplay-shot img { display: block; width: 100%; height: auto; object-fit: contain; background: #02040a; image-rendering: auto; transition: transform .3s ease, filter .3s ease; }
.gameplay-shot button:hover img { transform: scale(1.025); filter: saturate(1.08) contrast(1.03); }
.gameplay-shot-number, .gameplay-shot-zoom { position: absolute; z-index: 2; bottom: 12px; font: 700 9px Rajdhani, sans-serif; letter-spacing: .16em; }
.gameplay-shot-number { left: 13px; color: var(--guide-cyan); }
.gameplay-shot-zoom { right: 13px; color: #fff; opacity: .78; }
.gameplay-shot figcaption { min-height: 58px; display: flex; align-items: flex-start; gap: 9px; padding: 12px 5px 0; color: var(--guide-muted); font-size: 11px; line-height: 1.55; }
.gameplay-shot figcaption .gameplay-caption-line { width: 18px; height: 1px; flex: 0 0 auto; margin-top: 8px; background: var(--guide-violet); }
.gameplay-shot-source { display: block; width: fit-content; margin-top: 4px; color: var(--guide-cyan); font: 700 9px Rajdhani, sans-serif; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.gameplay-shot-source:hover { text-decoration: underline; }
.gameplay-capture-note { margin: 22px 0 0; padding: 14px 16px; border: 1px solid rgba(152, 255, 66, .2); border-radius: 12px; color: var(--guide-muted); background: rgba(152, 255, 66, .035); font-size: 11px; }
.gameplay-capture-note strong { color: var(--guide-green); font: 700 11px Rajdhani, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.guide-image-lightbox { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: visible; padding: 0; border: 1px solid var(--guide-line-strong); border-radius: 20px; color: var(--guide-text); background: #050712; box-shadow: 0 35px 110px rgba(0, 0, 0, .8); }
.guide-image-lightbox::backdrop { background: rgba(1, 3, 10, .88); backdrop-filter: blur(10px); }
.guide-image-lightbox figure { margin: 0; }
.guide-image-lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 20px 20px 0 0; background: #000; }
.guide-image-lightbox figcaption { padding: 14px 54px 16px 18px; color: var(--guide-muted); font-size: 12px; }
.guide-image-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; background: rgba(4, 6, 15, .82); font-size: 27px; line-height: 1; cursor: pointer; }
.guide-image-lightbox-close:hover, .guide-image-lightbox-close:focus-visible { color: #031117; border-color: var(--guide-cyan); outline: 0; background: var(--guide-cyan); }
.walkthrough-chapter { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 26px; padding: 34px 0; border-top: 1px solid var(--guide-line); scroll-margin-top: 90px; }
.chapter-number { color: transparent; font: 700 50px Rajdhani, sans-serif; -webkit-text-stroke: 1px rgba(33, 221, 255, .45); }
.chapter-label { color: var(--guide-violet); font: 700 10px Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.chapter-content h2 { margin: 4px 0 6px; font: 700 clamp(25px, 3vw, 36px) Rajdhani, sans-serif; }
.chapter-summary { margin: 0 0 20px; color: var(--guide-muted); }
.chapter-content ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.chapter-content li { position: relative; counter-increment: step; padding: 13px 16px 13px 52px; border-top: 1px solid rgba(139, 159, 218, .11); color: #d7ddf1; font-size: 14px; }
.chapter-content li::before { content: counter(step); position: absolute; left: 13px; top: 12px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--guide-line); border-radius: 50%; color: var(--guide-cyan); font: 700 10px Rajdhani, sans-serif; }
.chapter-checkpoint { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(152, 255, 66, .22); border-radius: 12px; background: rgba(152, 255, 66, .045); }
.chapter-checkpoint > span { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #07120b; background: var(--guide-green); font-weight: 800; }
.chapter-checkpoint strong { color: var(--guide-green); font: 700 10px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.chapter-checkpoint p { margin: 1px 0 0; color: var(--guide-muted); font-size: 12px; }
.secret-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.secret-grid article { min-width: 0; padding: 21px; border: 1px solid var(--guide-line); border-radius: 15px; background: linear-gradient(145deg, rgba(22, 19, 47, .8), rgba(10, 13, 27, .85)); }
.secret-grid article > span { color: var(--guide-pink); }
.secret-grid h3 { margin: 18px 0 7px; font: 700 18px Rajdhani, sans-serif; }
.secret-grid p { margin: 0; color: var(--guide-muted); font-size: 12px; }
.guide-faq { border-top: 1px solid var(--guide-line); }
.guide-faq details { border-bottom: 1px solid var(--guide-line); }
.guide-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 2px; font: 600 15px Inter, sans-serif; cursor: pointer; list-style: none; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary span { color: var(--guide-cyan); font-size: 23px; transition: transform .2s ease; }
.guide-faq details[open] summary span { transform: rotate(45deg); }
.guide-faq details p { margin: 0; padding: 0 34px 20px 2px; color: var(--guide-muted); font-size: 14px; }
.guide-sources { margin-top: 40px; padding: 22px; border: 1px solid var(--guide-line); border-radius: 15px; background: rgba(255, 255, 255, .02); }
.guide-sources h2 { margin: 0 0 7px; font: 700 18px Rajdhani, sans-serif; text-transform: uppercase; }
.guide-sources p, .guide-sources li { color: var(--guide-muted); font-size: 11px; }
.guide-sources ul { margin: 10px 0 0; padding-left: 18px; }
.guide-sources a { color: var(--guide-cyan); }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 80; width: 0; height: 3px; background: linear-gradient(90deg, var(--guide-cyan), var(--guide-violet), var(--guide-pink)); box-shadow: 0 0 14px var(--guide-cyan); }

.related-guides { border-top: 1px solid var(--guide-line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid > a { min-width: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--guide-line); border-radius: 14px; background: var(--guide-panel); text-decoration: none; }
.related-grid > a:hover { border-color: var(--guide-line-strong); }
.related-grid img { width: 72px; height: 88px; object-fit: contain; border-radius: 8px; background: #080b16; }
.related-grid span > * { display: block; }
.related-grid small { color: var(--guide-cyan); font: 700 9px Rajdhani, sans-serif; letter-spacing: .14em; }
.related-grid strong { margin: 5px 0; overflow: hidden; font: 700 17px Rajdhani, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.related-grid em { color: var(--guide-muted); font-size: 10px; font-style: normal; }

.guide-footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px clamp(20px, 5vw, 72px); border-top: 1px solid var(--guide-line); background: #060810; }
.guide-footer strong, .guide-footer span { display: block; }
.guide-footer strong { font: 700 14px Rajdhani, sans-serif; letter-spacing: .15em; }
.guide-footer span { margin-top: 4px; color: var(--guide-muted); font-size: 11px; }
.guide-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.guide-footer a { color: var(--guide-muted); font-size: 11px; text-decoration: none; }
.guide-footer a:hover { color: var(--guide-cyan); }

@media (max-width: 1050px) {
  .guide-card-grid { grid-template-columns: 1fr; }
  .guide-detail-hero { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .guide-detail-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 30px; }
  .secret-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .guide-header { position: relative; min-height: 64px; padding: 10px 18px; }
  .guide-brand strong { font-size: 18px; }
  .guide-brand small { letter-spacing: .27em; }
  .guide-brand-mark { width: 34px; }
  .guide-nav a { display: none; }
  .guide-nav a[aria-current="page"] { display: inline-flex; }
  .guide-hub-hero { min-height: 590px; padding: 70px 22px 90px; }
  .guide-hub-hero::before { inset: 28% -20% 0 18%; opacity: .52; }
  .guide-hub-hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .guide-hero-stats > div { min-width: calc(50% - 6px); }
  .guide-section-heading { align-items: stretch; flex-direction: column; }
  .guide-search { min-width: 0; width: 100%; }
  .guide-card { grid-template-columns: 122px minmax(0, 1fr); }
  .guide-card-cover { min-height: 285px; padding: 16px; }
  .guide-card-cover img { width: 92px; }
  .guide-card-body { padding: 20px; }
  .guide-card h2 { font-size: 24px; }
  .guide-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .guide-card-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .guide-method-grid { grid-template-columns: 1fr; }
  .guide-detail-hero { grid-template-columns: 1fr; padding: 25px 22px 60px; }
  .guide-detail-cover { width: 220px; grid-row: 1; transform: none; }
  .guide-detail-copy { grid-row: 2; }
  .guide-detail-hero h1 { font-size: clamp(45px, 15vw, 70px); }
  .guide-quick-facts { grid-template-columns: repeat(2, 1fr); }
  .guide-detail-layout { grid-template-columns: 1fr; padding-top: 18px; }
  .guide-toc { position: relative; top: auto; }
  .guide-toc nav { grid-template-columns: repeat(2, 1fr); }
  .gameplay-gallery { grid-template-columns: 1fr; }
  .walkthrough-chapter { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .chapter-number { font-size: 38px; }
  .related-grid { grid-template-columns: 1fr; }
  .guide-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .guide-library, .guide-method, .related-guides { padding: 58px 15px; }
  .guide-hero-stats > div { min-width: 100%; }
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-cover { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--guide-line); }
  .guide-card-cover img { width: 120px; max-height: 165px; }
  .guide-card-actions { align-items: center; flex-direction: row; }
  .guide-toc nav { grid-template-columns: 1fr; }
  .walkthrough-chapter { grid-template-columns: 1fr; }
  .chapter-number { font-size: 30px; }
  .section-title-row { grid-template-columns: 1fr; }
  .controls-section th, .controls-section td { padding: 14px 12px; }
  .controls-section tbody th { width: 105px; }
  .gameplay-shot figcaption { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
