:root {
  --bg: #090c11;
  --panel: #111720;
  --panel-2: #171f2b;
  --text: #f7f9fc;
  --muted: #9da8b7;
  --line: #273241;
  --accent: #77e6aa;
  --accent-2: #75a7ff;
  --warn: #ffd166;
  --danger: #ff7979;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at top, #142032 0, var(--bg) 34rem); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button,input,textarea,select { font: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(9,12,17,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #07120c; background: linear-gradient(135deg, var(--accent), #c6ffde); font-weight: 900; letter-spacing: -.04em; box-shadow: 0 8px 24px rgba(119,230,170,.18); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 1.06rem; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: .7rem; margin-top: 5px; }
.main-nav { display: flex; gap: 22px; color: #d7dde7; font-size: .92rem; }
.hero { padding: 86px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 6.2rem); line-height: .92; letter-spacing: -.055em; margin: 0 0 20px; max-width: 880px; }
.hero h1 span { color: var(--accent); }
.hero p { color: #c1cad7; font-size: 1.16rem; max-width: 760px; }
.hero-card { background: linear-gradient(145deg, rgba(117,167,255,.16), rgba(119,230,170,.08)); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.hero-card strong { font-size: 1.15rem; }
.hero-card .big-stat { display: block; font-size: 4rem; font-weight: 900; letter-spacing: -.06em; margin: 6px 0 0; }
.search-box { display: flex; gap: 10px; margin-top: 28px; max-width: 760px; }
.search-box input, .field input, .field textarea, .field select { width: 100%; background: #0d131c; color: var(--text); border: 1px solid #2d3a4b; border-radius: 12px; padding: 13px 14px; outline: none; }
.search-box input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(117,167,255,.12); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border-radius: 11px; border: 1px solid transparent; background: var(--accent); color: #07120c; font-weight: 800; cursor: pointer; }
.btn:hover { color: #07120c; filter: brightness(1.04); }
.btn-secondary { background: #1b2532; color: var(--text); border-color: #334154; }
.btn-secondary:hover { color: var(--text); background: #243144; }
.btn-danger { background: rgba(255,121,121,.12); color: #ffb6b6; border-color: rgba(255,121,121,.35); }
.section { padding: 48px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.035em; margin: 0; }
.section-heading p { color: var(--muted); max-width: 620px; margin: 0; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.game-card { display: grid; grid-template-columns: 150px 1fr; min-height: 230px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.game-card-art { position: relative; min-height: 100%; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #2d4261, #18202c 48%, #153728); }
.game-card-art span { color: #d9e6f5; font-size: .82rem; }
.game-card-art strong { font-size: 5.6rem; line-height: .8; color: rgba(255,255,255,.16); }
.game-card-body { padding: 21px; }
.game-card h3 { font-size: 1.28rem; line-height: 1.15; margin: 3px 0 10px; }
.game-card p { color: #b4bfcd; font-size: .92rem; margin: 0 0 14px; }
.eyebrow { text-transform: uppercase; font-size: .68rem; letter-spacing: .13em; font-weight: 900; color: var(--accent); }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { border: 1px solid #334154; background: #171f2a; color: #c9d2de; border-radius: 999px; padding: 4px 9px; font-size: .75rem; }
.chip.good { color: #baf5d3; border-color: rgba(119,230,170,.35); background: rgba(119,230,170,.08); }
.chip.warn { color: #ffe5a3; border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.08); }
.franchise-grid, .platform-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.franchise-card, .platform-card, .content-card { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.franchise-card h3, .platform-card h3, .content-card h3 { margin: 2px 0 8px; }
.franchise-card p, .platform-card p, .content-card p { color: var(--muted); margin: 0; }
.detail-hero { padding: 52px 0 28px; }
.detail-hero-grid { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: stretch; }
.detail-art { border-radius: 24px; padding: 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #2f4d70, #17202c 50%, #17432d); border: 1px solid rgba(255,255,255,.09); }
.detail-art span { color: #dbe6f2; }
.detail-art strong { font-size: 7rem; color: rgba(255,255,255,.13); line-height: .8; }
.detail-copy h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: .96; letter-spacing: -.055em; margin: 4px 0 14px; }
.detail-copy .lead { font-size: 1.05rem; color: #c0cad7; max-width: 880px; }
.detail-meta { display: flex; gap: 14px 24px; flex-wrap: wrap; margin-top: 20px; color: #aeb8c5; font-size: .9rem; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.tabs a { white-space: nowrap; padding: 9px 12px; color: #aeb8c5; border-radius: 10px; }
.tabs a.active { background: #1d2938; color: var(--text); }
.content-wrap { padding: 30px 0 64px; }
.two-col { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
.stack { display: grid; gap: 16px; }
.rich-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rich-card h2 { margin: 0 0 12px; letter-spacing: -.025em; }
.rich-card h3 { margin: 18px 0 8px; }
.rich-card p { color: #b9c3cf; }
.info-list { display: grid; gap: 11px; }
.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.055); padding-bottom: 10px; }
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; }
.release-list, .timeline, .walkthrough-list { display: grid; gap: 10px; }
.release-row, .timeline-row, .walkthrough-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 16px; border-radius: 12px; background: #0e141d; border: 1px solid #263243; }
.release-row small, .timeline-row small, .walkthrough-row small { color: var(--muted); display: block; }
.timeline-row.current { border-color: rgba(119,230,170,.45); box-shadow: inset 3px 0 var(--accent); }
.empty { color: var(--muted); padding: 22px; border: 1px dashed #334154; border-radius: 14px; }
.notice { border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid #344154; background: #141d28; }
.notice.success { border-color: rgba(119,230,170,.35); background: rgba(119,230,170,.08); }
.notice.error { border-color: rgba(255,121,121,.4); background: rgba(255,121,121,.08); }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: #080b10; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); }
.footer-inner strong { color: var(--text); }
.footer-inner p { margin: 4px 0 0; }
.footer-meta { max-width: 560px; text-align: right; }
.compact { margin-top: -5px !important; }
.muted { color: var(--muted) !important; }
.admin-shell { width: min(1260px, calc(100% - 28px)); margin: 0 auto; }
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 26px 0 50px; }
.admin-nav { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; height: fit-content; position: sticky; top: 96px; }
.admin-nav a { display: block; padding: 10px 12px; border-radius: 9px; color: #b8c2ce; }
.admin-nav a.active { background: #1d2938; color: var(--text); }
.admin-main h1 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #d8dee7; font-weight: 700; font-size: .9rem; }
.field textarea { min-height: 130px; resize: vertical; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.login-wrap { width: min(520px, calc(100% - 30px)); margin: 8vh auto; }
.login-card { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.login-card h1 { margin-top: 0; }
@media (max-width: 900px) {
  .hero-grid, .two-col, .admin-layout { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .franchise-grid, .platform-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-nav { position: static; display: flex; overflow-x: auto; }
  .admin-nav a { white-space: nowrap; }
}
@media (max-width: 650px) {
  .main-nav { display: none; }
  .hero { padding-top: 50px; }
  .game-card { grid-template-columns: 105px 1fr; }
  .game-card-art strong { font-size: 3.8rem; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-art { min-height: 150px; }
  .franchise-grid, .platform-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
  .footer-meta { text-align: left; margin-top: 18px; }
}

/* Rich catalog content */
.fact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.fact-card { min-height: 102px; padding: 16px; border-radius: 14px; background: #0e141d; border: 1px solid #263243; display: grid; align-content: center; gap: 7px; }
.fact-card span, .mini-panel span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fact-card strong { font-size: 1rem; line-height: 1.25; }
.section-block p:last-child { margin-bottom: 0; }
.release-row-rich { align-items: start; }
.release-row-rich p { margin: 8px 0 0; color: #aeb8c5; font-size: .88rem; max-width: 760px; }
.guide-chapter { border: 1px solid #263243; border-radius: 14px; background: var(--panel); overflow: hidden; }
.guide-chapter[open] { border-color: #33465c; }
.guide-summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; background: #0e141d; }
.guide-summary::-webkit-details-marker { display: none; }
.guide-summary span:first-child { min-width: 0; }
.guide-summary b { display: block; font-size: 1rem; }
.guide-summary small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.4; }
.guide-body { padding: 18px; border-top: 1px solid #263243; }
.guide-body h3, .cheat-card h4 { margin: 16px 0 8px; }
.mini-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 15px; }
.mini-panel { padding: 12px 14px; border-radius: 11px; background: #0d131c; border: 1px solid #283446; display: grid; gap: 5px; }
.step-list { margin: 8px 0 0; padding-left: 22px; color: #c3ccd7; }
.step-list li { padding: 4px 0; line-height: 1.5; }
.compact-list { margin-bottom: 14px; }
.callout { margin-top: 14px; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(117,167,255,.3); background: rgba(117,167,255,.07); }
.callout.warn { border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.07); }
.callout strong { display: block; margin-bottom: 4px; }
.callout p, .callout ul { margin: 0; color: #c4cdd8; }
.callout ul { padding-left: 20px; }
.content-card-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.content-card-top h3 { margin-top: 2px; }
.platform-chips { margin: 10px 0 4px; }
.code-block { margin: 14px 0; padding: 14px 16px; overflow-x: auto; border: 1px solid #334154; border-radius: 12px; background: #090d12; color: #dff7e9; font: 700 .9rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.source-line { margin-bottom: 0 !important; font-size: .87rem; }
.source-card p { overflow-wrap: anywhere; margin-bottom: 0; }
.chip.danger { color: #ffb6b6; border-color: rgba(255,121,121,.4); background: rgba(255,121,121,.08); }
.relation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
@media (max-width: 760px) {
  .fact-grid, .relation-grid, .mini-grid { grid-template-columns: 1fr; }
  .guide-summary, .content-card-top { align-items: flex-start; }
}

/* v0.3 game hub expansion */
.game-card-art.has-cover, .detail-art.has-cover { padding: 0; overflow: hidden; background: #0b1017; }
.game-card-art.has-cover img, .detail-art.has-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card-art.has-cover img { min-height: 220px; }
.detail-art.has-cover { min-height: 260px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-platforms { margin-top: 18px; }
.platform-badge, .storefront-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #344154; border-radius: 9px; padding: 6px 9px; background: #101721; color: #e6ecf3; font-size: .76rem; font-weight: 800; line-height: 1; }
.platform-mark, .storefront-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 29px; height: 20px; border-radius: 5px; padding: 0 5px; background: rgba(255,255,255,.08); font-size: .62rem; letter-spacing: -.02em; }
.brand-nintendo { border-color: rgba(245,73,73,.42); }
.brand-playstation { border-color: rgba(81,136,255,.48); }
.brand-xbox { border-color: rgba(93,206,106,.42); }
.brand-steam { border-color: rgba(120,178,224,.42); }
.brand-epic { border-color: rgba(230,230,230,.28); }
.brand-gog { border-color: rgba(171,109,233,.45); }
.brand-ea { border-color: rgba(238,95,95,.42); }
.brand-pc, .brand-microsoft { border-color: rgba(91,188,255,.38); }
.game-sidebar { position: sticky; top: 96px; }
.coverage-list { display: grid; gap: 8px; }
.coverage-list a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; background: #0e141d; border: 1px solid #263243; border-radius: 10px; color: #c4ceda; }
.coverage-list b { color: var(--accent); }
.guide-intro { font-size: 1rem; color: #d0d8e3 !important; }
.guide-sections h4 { margin: 22px 0 7px; color: #edf3fa; }
.guide-sections p { margin-top: 5px; }
.quest-card { padding: 0; overflow: hidden; }
.quest-card summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 18px; background: #0e141d; }
.quest-card summary::-webkit-details-marker { display: none; }
.quest-card summary b { display: block; margin-top: 4px; }
.quest-body { padding: 18px; border-top: 1px solid #263243; }
.item-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.item-card h3 { margin-top: 4px; }
.item-card p { margin: 7px 0; }
.cheat-filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { appearance: none; border: 1px solid #344154; background: #121a25; color: #b9c4d0; padding: 8px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; }
.filter-button.active { background: #23344a; color: #fff; border-color: #4d6d94; }
.cheat-title-wrap { display: flex; align-items: center; gap: 13px; }
.cheat-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid #344154; background: #111925; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.ui-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.media-card { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.media-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #0b1017; }
.media-card figcaption { padding: 12px 14px; display: grid; gap: 4px; color: var(--muted); font-size: .82rem; }
.media-card figcaption strong { color: var(--text); }
.admin-preview { max-width: 180px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; background: #0b1017; }
.admin-subnav { display:flex; gap:8px; flex-wrap:wrap; margin: 12px 0 20px; }
.admin-subnav a { padding:7px 10px; border:1px solid #344154; border-radius:999px; font-size:.8rem; }
.admin-subnav a.active { background:#23344a; color:#fff; }
.record-list { display:grid; gap:10px; }
.record-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:13px 14px; border:1px solid #2b3748; border-radius:12px; background:#0e141d; }
.record-row small { display:block; color:var(--muted); margin-top:3px; }
@media (max-width: 900px) { .game-sidebar { position: static; } .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) { .item-grid, .media-grid { grid-template-columns: 1fr; } .quest-card summary { align-items:flex-start; } .detail-art.has-cover { max-width: 260px; } }

/* v0.3 administration editors */
.admin-game-heading { display:flex; align-items:center; gap:18px; margin: 10px 0 18px; }
.admin-game-heading h2 { margin:0; }
.admin-cover-preview { width:72px; aspect-ratio:3/4; object-fit:cover; border-radius:10px; border:1px solid var(--line); background:#0b1017; display:block; }
.admin-section-heading { display:flex; justify-content:space-between; gap:16px; align-items:end; margin: 6px 0 16px; }
.admin-section-heading h2 { margin:0; }
.admin-record-editor { margin-bottom:18px; }
.inline-form { display:inline-flex; margin:0; }
.repeat-list { display:grid; gap:12px; margin:8px 0 10px; }
.repeat-row { display:grid; grid-template-columns: minmax(180px,.38fr) minmax(280px,1fr) auto; gap:10px; align-items:end; padding:12px; border:1px solid #2b3748; border-radius:12px; background:#0d131c; }
.repeat-row .field.full { grid-column:auto; }
.repeat-row textarea { min-height:94px; }
.check-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:8px; padding:12px; border:1px solid #2b3748; border-radius:12px; background:#0d131c; }
.check-grid label { display:flex; gap:8px; align-items:flex-start; font-weight:600; color:#c4ceda; }
.check-grid input { width:auto; margin-top:4px; }
.media-admin-preview { width:min(240px,100%); aspect-ratio:3/4; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#0b1017; }
.media-admin-preview img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:900px) { .repeat-row { grid-template-columns:1fr; } .repeat-row .field.full { grid-column:1; } .check-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { .admin-section-heading { align-items:flex-start; flex-direction:column; } .check-grid { grid-template-columns:1fr; } }
.badge-logo { width:22px; height:22px; object-fit:contain; display:block; opacity:.96; }
.quest-group { display:grid; gap:10px; margin-top:8px; }
.quest-group + .quest-group { margin-top:22px; }
.compact-heading { margin-bottom:4px; }
.compact-heading h3 { margin:0; font-size:1.3rem; }

/* v0.4 walkthrough articles */
.guide-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.9rem;color:var(--muted);margin-bottom:18px}.guide-breadcrumb a{color:var(--text)}
.walkthrough-article{min-width:0}.walkthrough-article-head{padding:28px;border:1px solid var(--border);background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.015));border-radius:18px;margin-bottom:20px}.walkthrough-article-head h1{margin:.3rem 0 .7rem;font-size:clamp(2rem,4vw,3.2rem)}
.guide-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}.guide-facts>div{padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:rgba(0,0,0,.16)}.guide-facts span{display:block;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.guide-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}.guide-article-main{min-width:0}.guide-opening{font-size:1.06rem;padding:20px 22px;border-left:4px solid var(--accent);background:rgba(255,255,255,.025);border-radius:0 12px 12px 0;margin-bottom:22px}
.guide-step{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;padding:26px 0;border-bottom:1px solid var(--border)}.guide-step-number{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#0c1118;font-weight:900;position:sticky;top:96px}.guide-step-content h2{margin:0 0 10px;font-size:1.55rem}.guide-step-content p{font-size:1.02rem;line-height:1.78}.guide-toc{position:sticky;top:92px}.guide-toc-card{border:1px solid var(--border);background:var(--panel);border-radius:15px;padding:18px}.guide-toc-card h3{margin:.35rem 0 12px}.guide-toc-card>a{display:flex;gap:9px;padding:9px 0;color:var(--muted);border-bottom:1px solid rgba(255,255,255,.06);font-size:.9rem}.guide-toc-card>a:hover{color:var(--text)}.guide-toc-card>a span{color:var(--accent);font-weight:800}.guide-toc-card hr{border:0;border-top:1px solid var(--border);margin:12px 0}.guide-toc-card .toc-all{color:var(--text);font-weight:700;border:0}
.guide-pager{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0;padding-top:22px;border-top:1px solid var(--border)}.guide-pager div{display:flex;flex-direction:column;gap:5px}.guide-pager .next{text-align:right}.guide-pager span{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.guide-pager a{font-weight:800}.guide-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.guide-media-grid figure,.guide-inline-media{margin:0}.guide-media-grid img,.guide-inline-media img{width:100%;display:block;border-radius:12px;border:1px solid var(--border)}.guide-media-grid figcaption,.guide-inline-media figcaption{font-size:.82rem;color:var(--muted);margin-top:6px}.guide-route{padding:20px;border:1px solid var(--border);border-radius:15px;background:rgba(255,255,255,.02);margin:20px 0}.route-track{display:flex;gap:0;overflow-x:auto;padding:8px 0}.route-node{display:flex;align-items:center;min-width:max-content}.route-node span{width:13px;height:13px;border:3px solid var(--accent);border-radius:50%;margin-right:7px}.route-node:not(:last-child)::after{content:"";width:46px;height:2px;background:var(--border);margin:0 10px}.guide-help{margin-top:25px}
.walkthrough-index-grid{display:grid;gap:12px}.walkthrough-index-card{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px;border:1px solid var(--border);border-radius:15px;background:var(--panel);color:var(--text);transition:.18s ease}.walkthrough-index-card:hover{transform:translateY(-2px);border-color:var(--accent)}.walkthrough-index-number{font-size:1.5rem;font-weight:900;color:var(--accent);opacity:.9}.walkthrough-index-card h3{margin:.2rem 0 .35rem}.walkthrough-index-card p{margin:0;color:var(--muted)}.walkthrough-index-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:.82rem;color:var(--muted)}.walkthrough-open{white-space:nowrap}
.badge-logo{width:18px;height:18px;object-fit:contain;color:currentColor}.platform-badge .badge-logo,.storefront-badge .badge-logo{filter:none}
@media(max-width:900px){.guide-article-layout{grid-template-columns:1fr}.guide-toc{position:static;order:-1}.guide-facts{grid-template-columns:1fr}.walkthrough-index-card{grid-template-columns:44px minmax(0,1fr)}.walkthrough-open{grid-column:2}.guide-media-grid{grid-template-columns:1fr}}
