/* Gruzt Guides — shared public site styles. */
:root {
  color-scheme: dark;
  --bg: #101313;
  --surface: #181d1b;
  --surface-raised: #1d2420;
  --surface-soft: #141916;
  --line: #303931;
  --line-soft: #252d28;
  --text: #f2f4ed;
  --muted: #a4aea5;
  --faint: #78877c;
  --accent: #c2f075;
  --accent-hover: #d2ff8c;
  --accent-ink: #192213;
  --radius: 20px;
  --content: 1200px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body::before { position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 720px; background: radial-gradient(ellipse at 78% 16%, rgba(111,155,71,.07), transparent 53%); content: ""; pointer-events: none; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { cursor: pointer; }
svg { display: block; flex-shrink: 0; }
.icon { width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 300; left: 20px; top: 10px; padding: 12px 18px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; }
h1 { font-size: clamp(42px, 5.7vw, 74px); line-height: 1.045; letter-spacing: -.055em; }
h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.eyebrow, .section-kicker { display: block; margin-bottom: 19px; color: var(--accent); font-size: 11px; font-weight: 650; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.site-main { max-width: var(--content); margin: 0 auto; padding: 0 32px; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: var(--content); min-height: 92px; margin: auto; padding: 18px 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 12px; text-decoration: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #557039; border-radius: 13px; background: var(--accent); color: var(--accent-ink); font-size: 30px; font-weight: 750; line-height: 1; }
.brand-mark > span { position: absolute; right: 4px; bottom: 4px; font-size: 15px; font-weight: 500; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-name { display: flex; flex-direction: column; gap: 7px; font-size: 23px; font-weight: 750; line-height: 1; letter-spacing: -.055em; }
.brand-name small { color: var(--faint); font-size: 10px; font-weight: 450; letter-spacing: .005em; }
.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: 25px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); font-size: 13px; font-weight: 550; text-decoration: none; transition: color .16s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav .nav-shop, .nav-shop { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; padding: 10px 14px; border: 1px solid #3e4b39; border-radius: 8px; color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.nav-shop .icon { width: 15px; height: 15px; }
.main-nav .nav-shop:hover, .nav-shop:hover { border-color: var(--accent); color: var(--accent); background: #1c2819; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button.secondary, button.secondary { border-color: #3b453b; background: transparent; color: var(--text); }
.button.secondary:hover, button.secondary:hover { border-color: #66775d; background: #252e23; }
.button svg { width: 17px; height: 17px; }
button:not(.button):not(.filter-button):not(.copy-button):not(#clear-search) { min-height: 44px; padding: 11px 17px; border: 1px solid #3b453b; border-radius: 8px; background: var(--surface-raised); color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.4; }
button:not(.button):not(.filter-button):not(.copy-button):not(#clear-search):hover { border-color: #71835e; background: #263122; }
.actions, .hero-actions, .support-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.home-hero { position: relative; display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: 58px; padding: 74px 0 68px; }
.hero-copy { max-width: 650px; }
.hero-copy h1 { margin: 0 0 27px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero-copy .eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #c2f0750d; content: ""; }
.hero-lead { max-width: 470px; margin-bottom: 29px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions .button { min-height: 49px; padding: 14px 20px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 23px 0 0; color: var(--faint); font-size: 12px; }
.hero-note svg { width: 15px; height: 15px; }
.hero-note span + span::before { display: inline-block; width: 3px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: #576b47; content: ""; }
.hero-visual { position: relative; display: grid; min-height: 345px; padding: 12px; place-items: center; isolation: isolate; }
.hero-visual::before { position: absolute; width: 340px; height: 340px; border: 1px solid #333d2e; border-radius: 50%; content: ""; z-index: -2; }
.hero-visual::after { position: absolute; width: 425px; height: 425px; border: 1px solid #252e24; border-radius: 50%; content: ""; z-index: -2; }
.hero-visual > svg { width: 100%; height: auto; max-height: 390px; overflow: visible; }
.visual-orbit { position: absolute; top: 38px; right: 18px; width: 13px; height: 13px; border: 3px solid #101313; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px #536a3b; }
.visual-panel { width: 100%; max-width: 335px; padding: 23px; border: 1px solid #48573d; border-radius: 18px; background: linear-gradient(140deg, #24301f, #191f1b 72%); box-shadow: 0 32px 60px #0004; transform: rotate(-5deg); }
.visual-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #536640; border-radius: 5px; color: var(--accent); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.visual-title { position: relative; margin: 8px 0 25px; color: var(--text); font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.visual-title > span { position: absolute; right: 0; top: 0; color: var(--accent); font-size: 43px; font-weight: 300; }
.visual-label { margin-top: 25px; color: var(--faint); font-size: 8px; letter-spacing: .16em; }
.visual-line { display: flex; align-items: center; gap: 10px; margin-top: 0; padding: 16px 0; border-top: 1px solid #3a4732; color: #d4e0c9; font-size: 11px; line-height: 1.3; }
.visual-line > span { align-self: flex-start; color: #6d845a; font-size: 8px; }
.visual-line > .icon { width: 18px; height: 18px; color: #a0bc80; }
.visual-line > .icon:last-child { width: 13px; height: 13px; margin-left: auto; color: #647b52; }
.visual-line > div { flex: 1; }
.visual-line small { display: block; margin-top: 5px; color: #7b8f6a; font-size: 8px; }
.visual-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.quick-start { position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 22px; margin: 8px 0 65px; padding: 28px; border: 1px solid #43513a; border-radius: var(--radius); background: linear-gradient(115deg, #25301f, #1a211b 75%); }
.quick-start-icon { display: grid; place-items: center; width: 52px; height: 58px; border: 1px solid #4b5d3b; border-radius: 13px; background: #c2f0750a; color: var(--accent); }
.quick-start-icon svg { width: 25px; height: 25px; }
.quick-start-copy h2 { margin: 0 0 6px; font-size: 21px; }
.quick-start-copy p { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.quick-start-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; color: #8c9f7c; font-size: 10px; white-space: nowrap; }
.quick-start-copy .eyebrow { margin-bottom: 8px; font-size: 9px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading .section-kicker { margin-bottom: 10px; }
.section-title { margin: 0; font-size: clamp(29px, 3.5vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { max-width: 340px; margin: 0 0 3px; color: var(--faint); font-size: 13px; }
.catalog-toolbar { display: flex; flex-direction: column; gap: 19px; margin-top: 27px; }
.search-wrap { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid #3b453c; border-radius: 11px; background: #181e1a; transition: border-color .15s, box-shadow .15s; }
.search-wrap:focus-within { border-color: #a5c577; box-shadow: 0 0 0 3px #c2f0750c; }
.search-wrap > svg { width: 20px; height: 20px; margin-left: 19px; color: var(--faint); }
.search-wrap input { min-width: 0; width: 100%; height: 57px; padding: 0 48px 0 0; border: 0; border-radius: 11px; background: none; color: var(--text); font-size: 15px; outline: 0; }
.search-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-wrap input::placeholder { color: #7f8a81; opacity: 1; }
#clear-search { position: absolute; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: #293226; color: var(--muted); }
#clear-search:hover { color: var(--text); background: #36442e; }
#clear-search svg { width: 17px; height: 17px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { padding: 8px 14px; border: 1px solid #303a31; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.45; transition: color .15s, border-color .15s, background .15s; }
.filter-button:hover { border-color: #5b6b4c; color: var(--text); }
.filter-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 17px; color: var(--faint); font-size: 12px; }
.grid, .cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; min-width: 0; min-height: 275px; padding: 25px; border: 1px solid #303a31; border-radius: 15px; background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.card:hover { border-color: #6d8154; background: #1d251e; transform: translateY(-3px); }
.card-top { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 5px 12px; margin-bottom: 27px; }
.card-top .game-icon { grid-row: 1 / 3; }
.card-top .card-type { grid-column: 2; margin: 0; text-align: right; font-size: 8px; color: #6e8064; }
.game-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #424e3d; border-radius: 10px; background: #283324; color: #c7d5b3; }
.game-icon svg { width: 22px; height: 22px; }
.game-tag { color: #a3b68d; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: .075em; text-align: right; text-transform: uppercase; }
.card-type { display: block; margin-bottom: 9px; color: var(--faint); font-size: 10px; font-weight: 550; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; }
.card-title, .card h2 { margin: 0 0 11px; font-size: 21px; font-weight: 600; line-height: 1.26; letter-spacing: -.025em; }
.card-title a { text-decoration: none; }
.card-description { margin-bottom: 26px; color: #94a092; font-size: 13px; line-height: 1.7; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.card-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 650; text-decoration: none; }
.card-link svg { width: 16px; height: 16px; transition: transform .15s; }
.card-link:hover svg { transform: translateX(3px); }
.copy-button { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 1px solid #354030; border-radius: 7px; background: #20291e; color: #90a082; transition: border-color .15s, color .15s; }
.copy-button:hover { border-color: #81975f; color: var(--accent); }
.copy-button svg, .copy-icon { width: 15px; height: 15px; }
.empty-state { padding: 55px 24px; border: 1px dashed #45523b; border-radius: 15px; color: var(--muted); text-align: center; }
.empty-state h2 { margin-bottom: 9px; color: var(--text); font-size: 23px; }
.empty-state p { max-width: 420px; margin: auto; font-size: 14px; }
.support-strip { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px 40px; align-items: center; margin: 58px 0 70px; padding: 31px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.support-strip h2 { margin-bottom: 8px; font-size: 26px; font-weight: 600; }
.support-strip p { max-width: 590px; margin: 0; color: var(--muted); font-size: 14px; }
.support-strip > div:first-child { position: relative; padding-left: 62px; }
.support-strip > div:first-child > .icon { position: absolute; left: 0; top: 7px; width: 40px; height: 40px; padding: 8px; border: 1px solid #425139; border-radius: 10px; color: var(--accent); }
.support-strip .eyebrow { margin-bottom: 10px; font-size: 9px; }
.support-actions { flex-direction: column; align-items: flex-end; gap: 10px; }
.support-actions > span { display: flex; align-items: center; gap: 6px; color: #788b6b; font-size: 10px; }
.support-actions > span .icon { width: 13px; height: 13px; }
.shop-banner { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 17px; margin: 0 0 35px; padding: 20px 22px; border: 1px solid #37452f; border-radius: 14px; background: #1b2419; }
.shop-banner-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #40563b; border-radius: 11px; background: #253720; color: var(--accent); }
.shop-banner-icon svg { width: 23px; height: 23px; }
.shop-banner-label { display: block; margin-bottom: 4px; color: #9bc16b; font-size: 9px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.shop-banner-title { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.shop-banner p { max-width: 710px; margin: 5px 0 0; color: #94a18e; font-size: 12px; line-height: 1.6; }
.shop-banner-cta { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.shop-banner .button { min-height: 40px; padding: 10px 16px; font-size: 12px; }
.shop-banner-handle { color: #7b9070; font-size: 10px; line-height: 1.2; overflow-wrap: anywhere; }
.home-page .shop-banner { margin-top: 50px; margin-bottom: 25px; }
.page-breadcrumb { display: flex; align-items: center; gap: 9px; margin: 28px 0 24px; color: var(--faint); font-size: 12px; line-height: 1.5; }
.page-breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb svg { width: 15px; height: 15px; }
.manual-hero { max-width: 940px; padding: 9px 0 39px; }
.manual-hero .eyebrow { margin-bottom: 17px; }
.manual-hero h1 { max-width: 900px; margin-bottom: 21px; font-size: clamp(36px, 5.1vw, 60px); line-height: 1.09; letter-spacing: -.045em; overflow-wrap: anywhere; }
.manual-hero > p { max-width: 700px; color: var(--muted); }
.manual-hero .actions { margin-top: 25px; }
.manual-hero .actions button, .manual-hero .actions a { font-size: 12px; }
.manual-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 15px; color: var(--faint); font-size: 11px; }
.manual-meta span { display: inline-flex; align-items: center; gap: 6px; }
.manual-meta span + span::before { width: 3px; height: 3px; margin-right: 6px; border-radius: 50%; background: #5b6d4c; content: ""; }
.manual-meta svg { width: 14px; height: 14px; }
.article-layout { display: grid; grid-template-columns: 225px minmax(0,1fr); align-items: start; gap: 42px; margin-bottom: 70px; }
.toc-panel { position: sticky; top: 28px; max-height: calc(100vh - 60px); padding: 22px 0 20px; border-top: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #47573b transparent; }
.toc-heading { margin: 0 0 19px; color: #8f9e87; font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.toc-panel nav { display: flex; flex-direction: column; gap: 3px; }
.toc-panel nav a { display: block; padding: 8px 11px; border-left: 2px solid transparent; color: #9ca794; font-size: 12px; line-height: 1.5; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.toc-panel nav a:hover { color: var(--text); background: #20291d; }
.toc-panel nav a.is-active, .toc-panel nav a[aria-current="true"], .toc-panel nav a[aria-current="location"] { border-color: var(--accent); background: #26321f; color: var(--accent); }
.toc-help { margin-top: 26px; padding: 17px 11px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; line-height: 1.7; }
.toc-help a { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: #b3c59c; text-decoration: none; }
.guide-article { min-width: 0; padding: 7px 34px 0; border: 1px solid #303a31; border-radius: 17px; background: #171d19; }
.guide-section { padding: 29px 0 32px; scroll-margin-top: 30px; }
.guide-section + .guide-section { border-top: 1px solid #303a31; }
.guide-section h2 { margin: 0 0 20px; color: #e4ecdb; font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.guide-section p { color: #b5bfb1; font-size: 15px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section a { color: var(--accent); text-decoration-color: #77984e; }
.guide-section a:hover { color: #e1ffbc; text-decoration-color: #e1ffbc; }
.intro-note { padding: 18px 20px; border: 1px solid #3e4b34; border-left: 3px solid #9ac35f; border-radius: 8px; background: #222b1e; color: #afbd9f; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.guide-article > .intro-note { margin-top: 26px; margin-bottom: 0; }
.guide-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.guide-end a { color: var(--accent); text-decoration: none; }
.reading-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; background: transparent; pointer-events: none; }
.reading-progress > span { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 10px #c2f07555; }
.status-toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: min(430px, calc(100vw - 48px)); padding: 14px 20px; border: 1px solid #677e48; border-radius: 11px; background: #26331f; color: #e8f9d0; font-size: 13px; line-height: 1.6; box-shadow: 0 10px 36px #0005; opacity: 0; transform: translateY(15px); transition: opacity .2s, transform .2s; pointer-events: none; overflow-wrap: anywhere; }
.status-toast.is-visible { opacity: 1; transform: translateY(0); }
.prep-intro, .agreement .intro { max-width: 950px; padding: 11px 0 31px; }
.prep-intro h1, .agreement h1 { max-width: 900px; margin: 0 0 23px; font-size: clamp(36px, 5vw, 60px); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.prep-intro > p, .agreement .intro > p { max-width: 800px; color: var(--muted); font-size: 16px; }
.prep-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.prep-meta span { padding: 5px 11px; border: 1px solid #3b4932; border-radius: 5px; color: #adc396; font-size: 11px; }
.prep-start { margin: 8px 0 24px; padding: 27px 30px; border: 1px solid #354130; border-radius: 15px; background: #1b2219; }
.prep-start h2 { margin: 0 0 15px; font-size: 22px; }
.prep-start ul { max-width: 970px; margin: 0; padding-left: 19px; color: #abb8a1; font-size: 14px; line-height: 1.8; }
.prep-start li { margin: 9px 0; padding-left: 4px; }
.prep-start strong { color: #d8e4cd; }
.notice { margin: 24px 0 29px; padding: 21px 24px; border: 1px solid #65583a; border-left: 3px solid #c9aa66; border-radius: 9px; background: #27251c; color: #bfba9f; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.notice > strong { color: #e5d5ad; font-size: 14px; font-weight: 600; }
.notice p { margin: 7px 0 0; }
.notice a { color: #e2cf9f; font-size: 13px; }
.prep-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 32px 0 27px; }
.prep-group-link { display: block; min-width: 0; padding: 24px; border: 1px solid #37432f; border-radius: 13px; background: var(--surface); text-decoration: none; transition: border-color .15s, background .15s; }
.prep-group-link:hover { border-color: #829b60; background: #222d1e; }
.prep-group-link .eyebrow { margin-bottom: 18px; font-size: 9px; }
.prep-group-link h2 { margin: 0 0 10px; font-size: 22px; }
.prep-group-link p { margin: 0; color: #91a085; font-size: 13px; line-height: 1.7; }
.prep-controls { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; }
.prep-group { margin-bottom: 25px; padding: 29px 32px 14px; border: 1px solid #313c2c; border-radius: 15px; background: var(--surface); scroll-margin-top: 25px; }
.prep-group > .eyebrow { margin: 0 0 12px; }
.prep-group > h2 { margin: 0 0 11px; font-size: 30px; letter-spacing: -.035em; }
.prep-group > p { margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.prep-step { margin: 0; padding: 0; border-top: 1px solid #323d2d; scroll-margin-top: 28px; }
.prep-step summary { display: flex; align-items: center; gap: 16px; padding: 22px 0; list-style: none; cursor: pointer; }
.prep-step summary::-webkit-details-marker { display: none; }
.prep-step summary:hover .step-label { color: var(--accent); }
.step-number { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border: 1px solid #4c5d3c; border-radius: 9px; background: #25331f; color: var(--accent); font-size: 13px; font-weight: 650; }
.step-label { flex: 1; color: #d9e3d2; font-size: 17px; font-weight: 550; line-height: 1.4; transition: color .15s; }
.step-tag { display: block; margin-top: 5px; color: #839379; font-size: 11px; font-weight: 400; line-height: 1.5; }
.step-chevron { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border: 1px solid #3d4b32; border-radius: 6px; color: #a1b68c; font-size: 22px; font-weight: 300; line-height: 1; transition: transform .2s; }
.prep-step[open] .step-chevron { transform: rotate(45deg); }
.step-body { padding: 0 0 25px 51px; color: #adbba3; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.step-body .step-path { margin-bottom: 19px; padding: 12px 16px; border: 1px solid #3b4b31; border-radius: 8px; background: #202b1d; color: #bed2a7; font-size: 13px; line-height: 1.8; white-space: normal; }
.step-body ol { margin: 0 0 20px; padding-left: 19px; }
.step-body li { margin: 12px 0; padding-left: 3px; }
.step-links { display: flex; gap: 9px; flex-wrap: wrap; margin: 22px 0 16px; }
.step-links a { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid #4c603a; border-radius: 6px; background: #27351f; color: #c7e7a5; font-size: 12px; line-height: 1.5; text-decoration: none; }
.step-links a:hover { background: #35472a; border-color: #93af68; }
.step-source { color: #849a70; font-size: 11px; }
.prep-help { margin: 38px 0 25px; padding: 30px; border: 1px solid #435638; border-radius: 15px; background: #222e1c; }
.prep-help h2 { margin-bottom: 13px; font-size: 28px; }
.prep-help p { max-width: 790px; color: #a9bc99; font-size: 14px; }
.prep-footnote { margin: 0 0 24px; color: #819076; font-size: 12px; line-height: 1.8; }
.prep-footnote + p { margin-bottom: 60px; font-size: 13px; }
.agreement { max-width: 950px; }
.agreement details { margin: 27px 0; padding: 20px 24px; border: 1px solid #34402e; border-radius: 12px; background: var(--surface); }
.agreement details summary { color: #dbe5d1; font-size: 14px; font-weight: 550; cursor: pointer; }
.agreement details ol { margin: 19px 0 3px; padding-left: 20px; color: #adc19c; font-size: 13px; line-height: 1.8; }
.agreement details li { padding-left: 5px; margin: 5px 0; }
.agreement details a { text-decoration: none; }
.agreement details a:hover { color: var(--accent); }
.agreement article { margin: 0 0 28px; padding: 9px 35px 18px; border: 1px solid #34402f; border-radius: 15px; background: var(--surface); }
.agreement article h2 { margin: 28px 0 18px; padding-top: 28px; border-top: 1px solid #34402f; color: #dce6d2; font-size: 23px; scroll-margin-top: 28px; }
.agreement article h2:first-child { border: 0; padding-top: 0; }
.agreement article p { color: #aab9a0; font-size: 14px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-contact { margin: 28px 0; padding: 27px 30px; border: 1px solid #435735; border-radius: 13px; background: #222d1d; }
.legal-contact h2 { margin-bottom: 12px; font-size: 25px; }
.legal-contact p { color: #acbe9b; font-size: 14px; }
.agreement > p:last-child { margin-bottom: 60px; color: var(--muted); font-size: 13px; }
.site-footer { padding: 0 32px; border-top: 1px solid var(--line-soft); background: #0e110f; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; max-width: 1136px; margin: auto; padding: 37px 0 29px; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.footer-brand .brand-mark svg { width: 20px; height: 20px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand p { max-width: 370px; margin: 15px 0 0; color: #6f7d71; font-size: 11px; line-height: 1.8; }
.footer-nav { display: flex; justify-content: flex-end; gap: 14px 23px; flex-wrap: wrap; max-width: 510px; padding-top: 8px; }
.footer-nav a { color: #8a9884; font-size: 12px; text-decoration: none; }
.footer-nav .icon { display: inline-block; width: 12px; height: 12px; margin-left: 3px; vertical-align: middle; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; max-width: 1136px; margin: auto; padding: 19px 0 24px; border-top: 1px solid #252e23; color: #61705e; font-size: 10px; line-height: 1.7; }
.footer-bottom p { max-width: 720px; margin: 0; }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (min-width: 1400px) {
  .home-hero { padding-top: 90px; padding-bottom: 83px; }
}
@media (max-width: 1000px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .main-nav .nav-shop { padding: 9px 11px; }
  .home-hero { grid-template-columns: 1.2fr .8fr; gap: 20px; padding-top: 63px; }
  .hero-visual { min-height: 300px; }
  .hero-visual::before { width: 250px; height: 250px; }
  .hero-visual::after { width: 325px; height: 325px; }
  .hero-copy h1 { font-size: 60px; }
  .hero-lead { font-size: 16px; }
  .card { min-height: 275px; padding: 22px; }
  .card-title, .card h2 { font-size: 20px; }
  .article-layout { grid-template-columns: 195px minmax(0,1fr); gap: 25px; }
  .guide-article { padding-right: 27px; padding-left: 27px; }
  .shop-banner-title { font-size: 15px; }
  .shop-banner p { font-size: 11px; }
  .shop-banner { gap: 13px; }
  .footer-nav { max-width: 390px; justify-content: flex-end; gap: 14px 22px; }
}
@media (max-width: 800px) {
  .site-main { padding-right: 24px; padding-left: 24px; }
  .header-inner { min-height: 84px; padding: 18px 24px; }
  .brand-name { font-size: 21px; }
  .brand-name small { display: none; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 11px; }
  .home-hero { padding-top: 55px; padding-bottom: 57px; }
  .hero-copy h1 { font-size: 51px; }
  .hero-visual { min-height: 280px; }
  .hero-visual::after { width: 270px; height: 270px; }
  .hero-visual::before { width: 210px; height: 210px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { min-height: 45px; padding: 12px 15px; font-size: 12px; }
  .hero-note { font-size: 10px; }
  .quick-start { gap: 17px; padding: 23px; margin-bottom: 53px; }
  .quick-start-icon { width: 43px; height: 49px; }
  .quick-start-copy h2 { font-size: 20px; }
  .quick-start-copy p { font-size: 12px; }
  .quick-start .button { padding: 12px 14px; font-size: 12px; }
  .grid, .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading > p { max-width: 260px; font-size: 12px; }
  .support-strip { grid-template-columns: 1fr; gap: 22px; margin-top: 43px; margin-bottom: 50px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .toc-panel { position: static; max-height: none; padding: 19px 21px; border: 1px solid #37432f; border-radius: 12px; background: #171f17; overflow: visible; }
  .toc-panel .toc-heading { margin-bottom: 12px; }
  .toc-panel nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .toc-panel nav a { padding: 6px 8px; font-size: 11px; }
  .toc-help { display: none; }
  .guide-article { padding-right: 30px; padding-left: 30px; }
  .manual-hero { padding-bottom: 31px; }
  .manual-hero h1 { font-size: 45px; }
  .shop-banner { grid-template-columns: 36px minmax(0,1fr); padding: 18px; gap: 13px; }
  .shop-banner-icon { width: 36px; height: 36px; border-radius: 9px; }
  .shop-banner-icon svg { width: 20px; height: 20px; }
  .shop-banner-cta { grid-column: 2; flex-direction: row; justify-content: flex-start; align-items: center; gap: 13px; }
  .shop-banner .button { min-height: 37px; padding: 8px 13px; font-size: 11px; }
  .shop-banner-handle { font-size: 9px; }
  .prep-groups { gap: 12px; }
  .prep-group-link { padding: 18px; }
  .prep-group-link h2 { font-size: 20px; }
  .prep-group-link p { font-size: 12px; }
  .prep-group-link .eyebrow { font-size: 8px; }
  .site-footer { padding-right: 24px; padding-left: 24px; }
  .footer-main { gap: 25px; }
  .footer-nav { max-width: 290px; gap: 12px 17px; }
  .footer-nav a { font-size: 11px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 25px; }
  .site-main { padding-right: 20px; padding-left: 20px; }
  .header-inner { min-height: 0; padding: 20px; gap: 19px; flex-wrap: wrap; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-name { font-size: 22px; }
  .brand-name small { display: inline; font-size: 11px; }
  .header-inner > .brand { order: 1; }
  .header-inner > .nav-shop { order: 2; margin-left: auto; padding: 9px 11px; font-size: 10px; }
  .header-inner > .nav-shop .icon { width: 13px; height: 13px; }
  .header-inner > .main-nav { order: 3; }
  .main-nav { width: 100%; justify-content: flex-start; gap: 11px 17px; }
  .main-nav a { font-size: 11px; }
  .main-nav .nav-shop { margin-left: auto; padding: 6px 9px; border-radius: 6px; font-size: 10px; }
  .home-hero { grid-template-columns: 1fr; gap: 0; padding: 43px 0 28px; }
  .hero-copy { max-width: 430px; }
  .hero-copy h1 { margin-bottom: 23px; font-size: clamp(43px, 10.8vw, 58px); line-height: 1.07; }
  .hero-copy .eyebrow { font-size: 9px; margin-bottom: 19px; }
  .hero-lead { max-width: 410px; margin-bottom: 25px; font-size: 16px; line-height: 1.7; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { min-height: 47px; padding: 13px 17px; font-size: 12px; }
  .hero-note { margin-top: 20px; font-size: 10px; }
  .hero-visual { max-width: 410px; min-height: 250px; width: 100%; margin: 5px auto -7px; padding: 8px 19px; }
  .hero-visual > svg { max-height: 270px; }
  .hero-visual::after { width: 270px; height: 270px; }
  .hero-visual::before { width: 215px; height: 215px; }
  .visual-panel { max-width: 305px; padding: 19px 20px; }
  .visual-title { font-size: 27px; margin-bottom: 20px; }
  .visual-label { margin-top: 20px; }
  .visual-line { padding: 12px 0; }
  .quick-start { grid-template-columns: 38px minmax(0,1fr); gap: 12px 14px; padding: 21px; margin: 9px 0 44px; border-radius: 14px; }
  .quick-start-icon { width: 38px; height: 43px; border-radius: 10px; align-self: start; }
  .quick-start-icon svg { width: 20px; height: 20px; }
  .quick-start-copy h2 { margin-bottom: 8px; font-size: 20px; }
  .quick-start-copy p { font-size: 13px; }
  .quick-start-meta { grid-column: 2; align-items: flex-start; font-size: 10px; gap: 11px; margin-top: 3px; white-space: normal; }
  .quick-start > .button { grid-column: 2; justify-self: start; margin-top: 1px; min-height: 38px; padding: 9px 14px; font-size: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .section-heading .section-kicker { margin-bottom: 10px; font-size: 9px; }
  .section-title { font-size: 33px; }
  .section-heading > p { max-width: 330px; font-size: 12px; }
  .catalog-toolbar { margin-top: 23px; gap: 15px; }
  .search-wrap input { height: 53px; padding-right: 38px; font-size: 16px; }
  .search-wrap > svg { margin-left: 16px; width: 18px; height: 18px; }
  .filters { gap: 6px; }
  .filter-button { padding: 7px 11px; font-size: 10px; }
  .catalog-meta { margin-top: 20px; font-size: 10px; }
  .grid, .cards-grid { grid-template-columns: 1fr; gap: 13px; }
  .card { min-height: 248px; padding: 23px; border-radius: 13px; }
  .card-top { margin-bottom: 25px; }
  .card-title, .card h2 { font-size: 23px; }
  .card-description { font-size: 13px; margin-bottom: 23px; }
  .card-bottom { padding-top: 16px; }
  .card-type { font-size: 9px; }
  .game-tag { font-size: 10px; }
  .card-link { font-size: 12px; }
  .support-strip { margin-top: 37px; margin-bottom: 39px; padding: 27px 0; gap: 22px; }
  .support-strip h2 { font-size: 26px; }
  .support-strip p { font-size: 14px; }
  .support-actions .button { padding: 12px 16px; font-size: 12px; }
  .support-actions { align-items: flex-start; }
  .support-strip > div:first-child { padding-left: 0; }
  .support-strip > div:first-child > .icon { position: static; width: 37px; height: 37px; margin-bottom: 18px; }
  .home-page .shop-banner { margin-top: 35px; }
  .page-breadcrumb { margin: 22px 0; font-size: 11px; }
  .shop-banner { grid-template-columns: 33px minmax(0,1fr); gap: 11px; margin-bottom: 28px; padding: 17px; border-radius: 12px; }
  .shop-banner-icon { width: 33px; height: 33px; border-radius: 9px; }
  .shop-banner-label { font-size: 8px; letter-spacing: .11em; }
  .shop-banner-title { font-size: 15px; line-height: 1.45; }
  .shop-banner p { font-size: 11px; line-height: 1.65; }
  .shop-banner-cta { grid-column: 1 / -1; margin-top: 3px; gap: 12px; flex-wrap: wrap; }
  .shop-banner .button { min-height: 39px; padding: 10px 13px; font-size: 11px; }
  .shop-banner-handle { font-size: 9px; }
  .manual-hero { padding: 0 0 28px; }
  .manual-hero .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .manual-hero h1 { font-size: clamp(35px, 9.2vw, 49px); line-height: 1.1; margin-bottom: 21px; }
  .manual-hero > p { font-size: 16px; line-height: 1.7; }
  .manual-meta { gap: 9px; margin-bottom: 13px; font-size: 10px; }
  .manual-hero .actions { gap: 10px; margin-top: 24px; }
  .manual-hero .actions button, .manual-hero .actions a { font-size: 11px; min-height: 42px; padding: 11px 14px; }
  .article-layout { margin-bottom: 45px; gap: 19px; }
  .toc-panel { padding: 18px 16px; }
  .toc-heading { font-size: 9px; }
  .toc-panel nav { grid-template-columns: 1fr; gap: 1px; }
  .toc-panel nav a { padding: 6px 10px; font-size: 12px; }
  .guide-article { padding: 2px 21px 0; border-radius: 13px; }
  .guide-section { padding: 27px 0 28px; }
  .guide-section h2 { margin-bottom: 17px; font-size: 22px; line-height: 1.4; }
  .guide-section p { font-size: 16px; line-height: 1.85; }
  .guide-end { padding: 20px 0; gap: 15px; font-size: 11px; flex-wrap: wrap; }
  .intro-note { padding: 16px; font-size: 14px; }
  .guide-article > .intro-note { margin-top: 23px; }
  .status-toast { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); padding: 13px 16px; font-size: 12px; }
  .prep-intro, .agreement .intro { padding-top: 0; padding-bottom: 24px; }
  .prep-intro h1, .agreement h1 { font-size: 38px; }
  .prep-intro > p, .agreement .intro > p { font-size: 16px; }
  .prep-meta { margin: 21px 0; gap: 7px; }
  .prep-meta span { padding: 5px 8px; font-size: 10px; }
  .prep-start { padding: 23px; border-radius: 12px; }
  .prep-start h2 { font-size: 22px; }
  .prep-start ul { padding-left: 16px; font-size: 16px; }
  .notice { padding: 18px 20px; margin: 24px 0; font-size: 16px; line-height: 1.75; }
  .notice > strong { font-size: 15px; }
  .prep-groups { grid-template-columns: 1fr; gap: 12px; margin: 26px 0 23px; }
  .prep-group-link { padding: 21px; }
  .prep-group-link .eyebrow { margin-bottom: 13px; font-size: 9px; }
  .prep-group-link h2 { font-size: 23px; margin-bottom: 8px; }
  .prep-group-link p { font-size: 14px; }
  .prep-controls { margin-bottom: 23px; }
  .prep-group { padding: 25px 22px 5px; border-radius: 13px; }
  .prep-group > .eyebrow { font-size: 9px; }
  .prep-group > h2 { font-size: 28px; }
  .prep-group > p { margin-bottom: 22px; font-size: 16px; }
  .prep-step summary { gap: 11px; padding: 19px 0; }
  .step-number { width: 31px; height: 33px; border-radius: 8px; font-size: 12px; }
  .step-label { font-size: 16px; }
  .step-tag { font-size: 10px; }
  .step-chevron { width: 23px; height: 25px; font-size: 20px; }
  .step-body { padding: 0 0 22px; font-size: 16px; line-height: 1.85; }
  .step-body .step-path { padding: 11px 13px; font-size: 13px; }
  .step-links a { font-size: 11px; padding: 9px 11px; }
  .step-source { font-size: 11px; }
  .prep-help { padding: 24px; border-radius: 12px; margin-top: 30px; }
  .prep-help h2 { font-size: 27px; }
  .prep-help p { font-size: 16px; }
  .prep-help .actions { gap: 10px; }
  .prep-help .button { font-size: 11px; padding: 11px 13px; }
  .prep-footnote { font-size: 12px; }
  .agreement details { padding: 19px 21px; }
  .agreement details ol { font-size: 14px; }
  .agreement article { padding: 1px 23px 13px; border-radius: 13px; }
  .agreement article h2 { margin: 25px 0 17px; padding-top: 25px; font-size: 22px; }
  .agreement article p { font-size: 16px; line-height: 1.85; }
  .legal-contact { padding: 24px; }
  .legal-contact h2 { font-size: 26px; }
  .legal-contact p { font-size: 16px; }
  .site-footer { padding-right: 20px; padding-left: 20px; }
  .footer-main { flex-direction: column; gap: 24px; padding: 30px 0 25px; }
  .footer-brand p { max-width: 310px; margin-top: 13px; font-size: 11px; }
  .footer-nav { justify-content: flex-start; max-width: none; padding: 0; gap: 12px 23px; }
  .footer-nav a { font-size: 11px; }
  .footer-bottom { padding: 19px 0 25px; flex-direction: column; gap: 12px; font-size: 10px; }
}
@media (max-width: 370px) {
  .site-main { padding-right: 16px; padding-left: 16px; }
  .header-inner { padding-right: 16px; padding-left: 16px; }
  .main-nav { gap: 10px 12px; }
  .main-nav a { font-size: 10px; }
  .main-nav .nav-shop { font-size: 9px; padding: 6px 7px; }
  .hero-copy h1 { font-size: 41px; }
  .hero-actions .button { padding: 12px 14px; font-size: 11px; }
  .hero-visual { min-height: 240px; padding-right: 10px; padding-left: 10px; }
  .quick-start { padding: 18px; gap: 12px; }
  .quick-start-copy h2 { font-size: 18px; }
  .shop-banner-handle { font-size: 8px; }
  .manual-hero h1 { font-size: 34px; }
  .guide-article { padding-right: 18px; padding-left: 18px; }
  .prep-group { padding-right: 18px; padding-left: 18px; }
}
.prep-search-result { margin-bottom: 20px; }
.prep-search-result h2 { margin: 16px 0 10px; }
.prep-search-result p { color: var(--muted); }
.prep-search-result .game-tag { text-align: left; }
@media (max-width: 600px) {
  .hero-visual { display: none; }
  .home-hero { padding-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card:hover, .button:hover { transform: none; }
}
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; font-size: 11pt; }
  body::before, .site-header, .site-footer, .shop-banner, .reading-progress, .actions, .toc-panel, .status-toast, .guide-end, .prep-groups, .prep-controls, .prep-help, .step-source, .step-links, .agreement details, .legal-contact { display: none !important; }
  .site-main { max-width: none; padding: 0; }
  .article-layout { display: block; margin: 0; }
  .guide-article, .prep-group, .agreement article, .prep-start { padding: 0; border: 0; border-radius: 0; background: #fff; color: #111; }
  .guide-section { padding: 18px 0; }
  .guide-section h2, .guide-section p, .guide-section a, .manual-hero > p, .manual-meta, .prep-intro > p, .prep-group > p, .step-label, .step-tag, .step-body, .agreement article h2, .agreement article p, .agreement .intro > p, .prep-start ul { color: #111; }
  h1 { font-size: 28pt !important; }
  h2 { font-size: 17pt !important; break-after: avoid; }
  .manual-hero { padding: 0 0 14px; }
  .guide-section p, .agreement article p, .step-body, .prep-start ul { font-size: 11pt; }
  .intro-note, .notice, .step-body .step-path { padding: 12px; border: 1px solid #aaa; border-radius: 0; background: #fff; color: #111; }
  .notice > strong, .notice a, .eyebrow { color: #333; }
  .prep-step { border-color: #bbb; }
  .step-body { padding-left: 0; }
  .step-number { border: 1px solid #777; color: #111; background: #fff; }
  .step-chevron, .prep-footnote + p, .agreement > p:last-child { display: none; }
}
