@charset "UTF-8";

/* The guide pages share the homepage identity, with a calmer reading rhythm. */
.guide-page { background: #080e17; font-size: 15px; line-height: 1.9; }
.guide-page main { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guide-page h1, .guide-page h2, .guide-page h3 { font-family: var(--sans); }
.guide-page .primary-navigation [aria-current="page"] { color: var(--blue-bright); }
.guide-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 27px 12px; color: #91a6b8; font-size: 13px; }
.guide-breadcrumb a:hover { color: var(--blue); }
.guide-breadcrumb [aria-current] { color: #d7e2ed; }
.guide-kicker { color: #b4a8de; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; margin-bottom: 18px; }
.guide-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 36px; padding-block: 54px 68px; border-bottom: 1px solid var(--line); }
.guide-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 30%, #503a8c24, transparent 55%); }
.guide-hero h1 { font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.45; letter-spacing: 1px; margin-bottom: 24px; }
.guide-hero h1 em { color: #b4e8f5; font-style: normal; }
.guide-lead { color: #adbfce; font-size: 16px; max-width: 620px; margin-bottom: 27px; }
.guide-hero-copy > .button { margin-right: 10px; margin-bottom: 12px; }
.guide-hero-art { margin: 0; display: grid; place-items: center; min-width: 0; }
.guide-hero-art svg { width: min(100%, 380px); height: auto; filter: drop-shadow(0 0 35px #7189dd28); }
.guide-hero-art figcaption { color: #8096aa; font-size: 12px; text-align: center; margin-top: 12px; }
.guide-section { --guide-anchor-inset: 60px; padding-block: 60px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(-1 * var(--guide-anchor-inset)); }
.guide-section:last-child { border-bottom: 0; }
.guide-section .section-heading { display: block; margin-bottom: 30px; }
.guide-section .section-heading .guide-kicker { margin-bottom: 10px; }
.guide-section .section-heading > p:not(.guide-kicker) { margin: 15px 0 0; max-width: 680px; font-size: 14px; }
.guide-section-title { font-size: 28px; font-weight: 500; line-height: 1.5; letter-spacing: .3px; margin-bottom: 22px; }
.section-heading .guide-section-title { margin-bottom: 0; }
.guide-section > p, .guide-article > p { color: #b1c1ce; }
.guide-note { color: #bbcbd9; background: #1422368c; border-left: 2px solid #9a94cd; padding: 19px 23px; margin-top: 24px; }
.guide-note p:last-child { margin-bottom: 0; }
.guide-note strong, .note-label { color: #dfddf3; }
.note-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.guide-footer { border-top: 1px solid var(--line); margin-top: 35px; }
.guide-footer .footer-inner { padding-block: 30px; }
.guide-footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.guide-footer-nav a { font-size: 13px; color: #a5bacb; }
.guide-footer-nav a:hover { color: var(--blue); }
.guide-page .back-top { flex-shrink: 0; }

/* Systems directory */
.systems-page .guide-hero { grid-template-columns: 1.4fr 1fr; max-width: none; padding-block: 52px 58px; }
.systems-page .guide-hero-copy { max-width: 830px; }
.systems-hero-art { display: grid; place-items: center; min-width: 0; }
.systems-hero-art svg { width: 100%; height: auto; }
.systems-hero-art > span { color: #879bbd; font-size: 10px; letter-spacing: 4px; margin-top: -15px; }
.systems-hero-note { color: #8fa4b9; font-size: 12px; margin: 10px 0 0; }
.systems-intro-note { display: flex; align-items: start; gap: 18px; color: #91a9ba; font-size: 14px; margin: 28px 0 0; padding: 22px 25px; background: #111d2c; border-left: 2px solid #a398ca; }
.systems-intro-note > .icon { margin-top: 5px; color: #a3a5dc; }
.systems-intro-note strong { color: #c7dce9; font-weight: 500; }
.systems-intro-note p { margin: 5px 0 0; }
.systems-intro-note a { color: var(--blue); border-bottom: 1px solid #83ddf14d; }
.systems-page .guide-section > .section-heading { display: flex; justify-content: space-between; align-items: end; }
.systems-page .guide-section > .section-heading > p { flex-shrink: 0; }
.systems-filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.system-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.system-filter-buttons button { min-height: 44px; border: 1px solid #7e9bb334; background: #0c1722; color: #a9bbca; padding: 8px 18px; font-size: 14px; }
.system-filter-buttons button:hover { border-color: #83ddf180; color: #d5f4fc; }
.system-filter-buttons button[aria-pressed="true"] { background: #153042; border-color: #83ddf18c; color: #c7f2fc; }
.system-search { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #8dabc266; min-width: 240px; max-width: 100%; color: #a7bdcd; }
.system-search input { background: transparent; color: #e9edf0; width: 100%; min-width: 0; min-height: 45px; padding: 8px 5px; border: 0; font-size: 16px; }
.system-search input::placeholder { color: #8298aa; }
.system-search:focus-within { border-color: var(--blue); }
.system-search input:focus-visible { outline-offset: 3px; }
[data-system-count] { font-size: 13px; color: #96adbf; }
.featured-systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.system-card { position: relative; min-width: 0; border: 1px solid #8aabc225; background: linear-gradient(135deg, #101d2b, #0c1420); transition: border-color .2s, background .2s; }
.system-card:hover { border-color: #9bcae457; background: linear-gradient(135deg, #142336, #0c1420); }
.system-art { position: relative; display: grid; place-items: center; min-height: 205px; margin: 0; overflow: hidden; background: radial-gradient(ellipse at center, #34598135, #14213a14 65%, transparent 80%); }
.system-art svg { width: min(76%, 300px); height: 170px; color: #a6ddeb; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 15px #79a8d130); }
.system-art figcaption { position: absolute; bottom: 12px; color: #7893a6; font-size: 11px; letter-spacing: 1px; }
.system-art > span { position: absolute; bottom: 10px; color: #93aec5; font-size: 11px; letter-spacing: 1px; }
.art-faction { background: radial-gradient(ellipse at 25% 45%, #26779721, transparent 55%), radial-gradient(ellipse at 75% 45%, #7456aa26, transparent 55%); }
.art-star { background: radial-gradient(ellipse at center, #5f489e40, transparent 68%); }
.art-poly { background: radial-gradient(ellipse at center, #375b9040, transparent 68%); }
.art-doll { background: radial-gradient(ellipse at center, #3d65853b, transparent 68%); }
.system-card-body { padding: 25px 30px 30px; }
.system-card h3 { font-size: 25px; font-weight: 500; margin-bottom: 10px; line-height: 1.5; }
.system-card p { color: #aabfce; font-size: 14px; margin-bottom: 16px; }
.system-tag { display: inline-block; color: #a9a0d2; font-size: 11px; letter-spacing: 1.4px; margin-bottom: 9px; }
.system-start { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 18px; }
.system-start strong { display: block; color: #d0dce6; font-size: 12px; margin-bottom: 4px; }
.system-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #9ee0f2; font-size: 14px; font-weight: 500; }
.system-link:hover { color: #e5faff; }
.system-link .icon { width: 18px; height: 18px; }
.other-systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.other-systems .system-card h3 { font-size: 21px; }
.other-systems .system-card-body { padding: 26px; height: 100%; display: flex; flex-direction: column; }
.other-systems .system-link { margin-top: auto; align-self: start; }
#systems-empty { color: #bdcfe0; padding: 40px 24px; text-align: center; border: 1px dashed #8baac44f; }
.guide-next-step { padding: 42px; margin-block: 45px 65px; border: 1px solid #8a92c43d; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: radial-gradient(ellipse at right, #4c3c7733, transparent 75%), #0f1a28; }
.guide-next-step h2 { font-size: 28px; }
.guide-next-step p:not(.guide-kicker) { color: #9fb4c9; font-size: 14px; margin-bottom: 0; }
.guide-next-step .button { flex-shrink: 0; }
.systems-page .guide-footer > .container { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.systems-page .guide-footer p, .systems-page .guide-footer > .container > a:last-child { color: #8fa6ba; font-size: 13px; margin-bottom: 0; }

/* Detailed guide */
.guide-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.guide-stat p { margin: 8px 0 0; font-size: 13px; color: #8fa7ba; }
.guide-stat strong > span { font-size: 13px; margin-left: 10px; color: #bdd5e5; }
.guide-stat { padding-left: 16px; border-left: 1px solid #91b9d84f; color: #a9bfd0; font-size: 13px; }
.guide-stat strong { display: block; color: #c6edf7; font-size: 29px; font-weight: 500; line-height: 1.4; }
.guide-stat strong small { font-size: 14px; margin-left: 4px; }
.guide-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; border-bottom: 1px solid var(--line); gap: 20px; }
.guide-fact { min-width: 0; color: #d3e0eb; font-size: 15px; }
.guide-fact dt { color: #8ea6bb; font-size: 12px; margin-bottom: 7px; }
.guide-fact dd { margin: 0; }
.guide-fact > span { display: block; color: #8ea6bb; font-size: 12px; margin-bottom: 7px; }
.guide-fact > strong { font-weight: 500; color: #d3e0eb; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 64px; align-items: start; }
.guide-article { min-width: 0; grid-column: 1; grid-row: 1; }
.guide-toc { grid-column: 2; grid-row: 1; position: sticky; top: 28px; margin-top: 55px; border-left: 1px solid #8aabc233; padding-left: 22px; font-size: 13px; }
.guide-toc-back { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 18px !important; }
.guide-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-caption { color: #8ca5b9 !important; font-size: 13px; margin: 20px 0 0; }
.guide-text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.guide-toc p, .guide-toc h2, .guide-toc h3 { color: #dce5ed; font-size: 13px; margin-bottom: 13px; letter-spacing: 1px; }
.guide-toc a { display: block; color: #879fb3; padding: 7px 0; min-height: 38px; }
.guide-toc a:hover, .guide-toc a[aria-current="location"] { color: #a7e5f5; }
.guide-step-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; }
.guide-step { min-width: 0; padding: 23px; background: #101d2c85; border-top: 1px solid #78a7ca44; }
.guide-step .step-number { display: block; color: #9c98c8; font-size: 14px; margin-bottom: 13px; font-variant-numeric: tabular-nums; }
.guide-step h3 { font-size: 18px; font-weight: 500; margin-bottom: 9px; }
.guide-step p { color: #9fb4c5; margin: 0; font-size: 14px; }
.build-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.build-card { position: relative; min-width: 0; border: 1px solid #91a9c32a; padding: 23px; background: #0d1826; }
.build-symbol { display: grid; place-items: center; width: 44px; height: 44px; color: #b4c6ef; margin-bottom: 13px; background: #1c2945; border: 1px solid #9f9dd444; }
.build-symbol svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.build-card h3 { color: #d7e7f1; font-size: 20px; font-weight: 500; margin-bottom: 7px; }
.build-card > p { color: #a7bbcd; font-size: 14px; }
.build-example { border-top: 1px solid var(--line); padding-top: 13px; color: #a9bbcd; font-size: 13px; }
.build-example strong { color: #bcebf5; font-weight: 500; }
.build-example p:last-child { margin-bottom: 0; }
.build-example { margin-bottom: 0; }
.build-example > div + div { margin-top: 12px; }
.build-example dt { color: #c8d9e5; font-size: 12px; }
.build-example dd { margin-left: 0; color: #b9e3ed; }
.build-example dd span { color: #92aabe; display: block; font-size: 12px; }
.star-path { margin: 26px 0 0; padding: 28px; background: radial-gradient(ellipse at top right, #4a376924, transparent 70%), #0d1724; border: 1px solid #90abc22d; }
.star-stage + .star-stage { margin-top: 28px; padding-top: 27px; border-top: 1px solid #9aa7d334; }
.star-stage-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.star-stage-head h3 { color: #dce8f3; font-size: 17px; font-weight: 500; margin: 0; }
.star-stage-head p, .star-stage-head span { color: #a9a5cc; font-size: 13px; margin: 0; }
.star-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; margin: 0; }
.star-node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; padding: 17px 8px; border: 1px solid #8abed047; background: #172a3a85; color: #c5e6ef; font-size: 15px; }
.star-sequence .star-node:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -16px; transform: translateY(-50%); color: #90b5ca; z-index: 1; }
.star-node-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid #96d7ed6b; color: #a5e1f5; font-size: 11px; }
.star-node small { display: block; color: #a1b4c9; font-size: 12px; }
.star-node > span:last-child:not(.star-node-number) { color: #a1b4c9; font-size: 12px; }
.star-node > strong { font-size: inherit; font-weight: 500; }
.star-branch-option > p { color: #93a8be; font-size: 12px; margin: 10px 0 0; text-align: center; }
.star-branch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 15px; }
.star-branch-option { min-width: 0; }
.star-branch-follow { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; text-align: center; }
.star-branch-follow > p, .star-branch-follow > span { margin: 0; font-size: 12px; color: #b7acd6; }
.star-branch-follow .star-node { border-color: #a193d56b; background: #3429457a; }
.star-path-caption { font-size: 13px; color: #a5b5cc; margin: 23px 0 0; }
.material-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.material-card { min-width: 0; padding: 22px 19px; border: 1px solid #91a9c32a; background: #101c2b; }
.material-card > svg { width: 64px; max-width: 100%; height: auto; margin-block: 18px; }
.material-stage { color: #b3a7d3; font-size: 12px; }
.material-card h3 { font-size: 17px; line-height: 1.7; margin: 10px 0; font-weight: 500; color: #d7eaf3; }
.material-cost { color: #abe1ee; font-size: 14px; margin-bottom: 14px; }
.material-cost strong { display: block; font-size: 25px; font-weight: 500; line-height: 1.5; }
.material-source { color: #9bb2c4; font-size: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.material-source p:last-child { margin-bottom: 0; }
.material-source > span { display: block; color: #879eb2; font-size: 11px; margin-bottom: 4px; }
.material-source > strong { font-size: 14px; color: #c2d4e2; font-weight: 500; }
.material-cost > span { display: block; color: #96adc1; font-size: 12px; margin-top: 4px; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; scrollbar-color: #516a83 #101a27; }
.guide-table { border-collapse: collapse; width: 100%; margin: 15px 0; color: #aec2d2; font-size: 14px; }
.guide-table caption { text-align: left; color: #cfdeea; margin-bottom: 12px; }
.guide-table th { color: #cedeea; font-size: 13px; font-weight: 500; background: #142436; }
.guide-table th, .guide-table td { padding: 14px 17px; border-bottom: 1px solid #90aac126; text-align: left; vertical-align: top; }
.reset-panel { padding: 28px; border: 1px solid #a298cb52; background: linear-gradient(120deg, #24213680, #111c2b); color: #b6c5d6; }
.reset-panel h3 { font-size: 20px; color: #e1dff2; font-weight: 500; }
.reset-panel strong { color: #d2c6f2; }
.reset-panel ul { padding-left: 22px; }
.reset-panel p:last-child, .reset-panel ul:last-child { margin-bottom: 0; }
.guide-faq { border-top: 1px solid var(--line); }
.guide-faq details { border-bottom: 1px solid var(--line); }
.guide-faq summary { cursor: pointer; color: #c9dde9; font-size: 15px; padding: 20px 26px 20px 0; }
.guide-faq summary::marker { color: #9c94cb; }
.guide-faq details > p, .guide-faq details > div { color: #a8bece; font-size: 14px; padding: 0 24px 4px 18px; }
.guide-faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.guide-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-related > .section-heading { grid-column: 1 / -1; margin-bottom: 5px; }
.guide-footer-nav { padding-block: 20px 45px; }
.astrolabe-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.astrolabe-type { position: relative; display: block; min-width: 0; padding: 0; border: 1px solid #94a9ca3d; background: #111d2b; text-align: left; color: #b7c9d9; transition: border-color .2s, background .2s; }
.astrolabe-type:hover { border-color: #9ee5f290; }
.astrolabe-type[aria-pressed="true"] { border-color: #a7e8f4; background: #183245; box-shadow: 0 0 0 1px #a7e8f438, 0 0 30px #6683bf1a; }
.astrolabe-type[aria-pressed="true"]::after { content: "查看中"; position: absolute; top: 9px; left: 9px; padding: 2px 8px; color: #c9f1f9; background: #102437e8; border: 1px solid #a7e8f455; font-size: 10px; }
.astrolabe-portrait { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #101827; }
.astrolabe-portrait img { width: 400%; max-width: none; height: 100%; object-fit: cover; object-position: center top; transform: translateX(var(--portrait-shift)); }
.astrolabe-type-copy { display: block; padding: 15px 14px 17px; }
.astrolabe-type-copy > small { display: block; color: #9d9bcc; font-size: 9px; letter-spacing: 1.7px; }
.astrolabe-type-copy > strong { display: block; color: #d5e5ee; font-size: 21px; font-weight: 500; margin-block: 3px 4px; }
.astrolabe-type-copy > span { display: block; color: #9db4c7; font-size: 12px; }
.astrolabe-type[aria-pressed="true"] .astrolabe-type-copy > strong { color: #bceffc; }
.astrolabe-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 22px; }
.astrolabe-map-panel { min-width: 0; border: 1px solid #8eadd334; background: radial-gradient(ellipse at center, #2433585c, transparent 75%), #0d1724; }
.astrolabe-map-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #92aaca25; padding: 15px 18px; color: #aeb8d7; font-size: 11px; }
.astrolabe-map-heading > span:first-child { color: #c8e9f6; font-size: 14px; }
.astrolabe-map { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); aspect-ratio: 1; width: 100%; max-width: 580px; margin-inline: auto; }
.astrolabe-connections { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: #83a9c4; }
.astrolabe-star { grid-column: var(--star-column); grid-row: var(--star-row); align-self: center; justify-self: center; position: relative; min-width: 0; width: 88%; height: 88%; max-width: 116px; max-height: 116px; padding: 9px 3px 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid #657f9f77; background: linear-gradient(150deg, #1a2941, #101c2a); color: #adbed3; }
.astrolabe-star:hover { border-color: #b5d3e7b3; background: #22324a; }
.astrolabe-star[aria-pressed="true"] { background: linear-gradient(150deg, #254b61, #16324c); border-color: #aae9f7; color: #c8f5fc; box-shadow: inset 0 0 15px #81d6f01c, 0 0 20px #82bded20; }
.astrolabe-star-number { position: absolute; left: 5px; top: 3px; color: #829eb7; font-size: 9px; line-height: 1.3; }
.astrolabe-star svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.astrolabe-star strong { font-size: 12px; font-weight: 500; line-height: 1.5; }
.astrolabe-star-effect { width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #8fa9bf; font-size: 9px; line-height: 1.5; }
.astrolabe-map-caption { margin: 0; padding: 6px 18px 17px; text-align: center; color: #91a7bf; font-size: 11px; }
.astrolabe-detail-jump { display: none; min-height: 44px; align-items: center; justify-content: center; border-top: 1px solid #89a8c32e; font-size: 13px; color: #afe5f0; padding: 8px 14px; }
.astrolabe-detail { position: sticky; top: 25px; min-width: 0; border: 1px solid #a49dd35c; background: linear-gradient(145deg, #1d2239, #101c2c); padding: 24px 21px; scroll-margin-top: 100px; }
.astrolabe-detail .guide-kicker { margin-bottom: 10px; font-size: 10px; }
.astrolabe-detail h3 { font-size: 27px; font-weight: 500; margin-bottom: 22px; color: #d5eafa; }
.astrolabe-effects, .astrolabe-conditions { margin: 0; }
.astrolabe-effects > div + div { margin-top: 17px; }
.astrolabe-effects dt { color: #8fa4bc; font-size: 12px; }
.astrolabe-effects dd { margin: 4px 0 0; color: #b9eaf8; font-size: 17px; }
.astrolabe-effects > div:last-child dd { color: #c4b5e8; }
.astrolabe-conditions { margin-top: 22px; padding-top: 18px; border-top: 1px solid #a2aec92e; }
.astrolabe-conditions > div + div { margin-top: 15px; }
.astrolabe-conditions dt { color: #d0d5e7; font-size: 12px; margin-bottom: 5px; }
.astrolabe-conditions dd { margin: 0; font-size: 13px; color: #9eafc6; }
.astrolabe-effect-note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #a2aec92e; color: #93a3bc; font-size: 12px; }
.astrolabe-unlock-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.astrolabe-unlock-notes p { min-width: 0; margin: 0; color: #9bb1c7; font-size: 13px; }
.astrolabe-unlock-notes strong { display: block; color: #becfe0; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
@media (max-width: 1150px) {
  .astrolabe-viewer { grid-template-columns: minmax(0, 1fr); }
  .astrolabe-map-panel { max-width: 650px; width: 100%; }
  .astrolabe-detail { position: static; }
  .astrolabe-effects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .astrolabe-effects > div + div { margin-top: 0; }
  .astrolabe-detail-jump { display: flex; }
  .astrolabe-type-copy { padding-inline: 11px; }
  .astrolabe-type-copy > strong { font-size: 19px; }
  .astrolabe-type-copy > span { font-size: 11px; }
}
@media (max-width: 640px) {
  .astrolabe-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .astrolabe-portrait { aspect-ratio: 1 / 1.1; }
  .astrolabe-type-copy { padding: 13px 12px 15px; }
  .astrolabe-type-copy > strong { font-size: 20px; }
  .astrolabe-type-copy > span { font-size: 11px; }
  .astrolabe-viewer { gap: 18px; }
  .astrolabe-map-heading { padding-inline: 13px; }
  .astrolabe-map-heading > span:last-child { font-size: 10px; }
  .astrolabe-star { padding: 8px 2px 4px; gap: 3px; }
  .astrolabe-star svg { width: 23px; height: 23px; }
  .astrolabe-star strong { font-size: 12px; }
  .astrolabe-star-effect { display: none; }
  .astrolabe-map-caption { padding-inline: 13px; font-size: 11px; }
  .astrolabe-detail { padding: 23px; }
  .astrolabe-effects { grid-template-columns: 1fr; gap: 15px; }
  .astrolabe-detail h3 { margin-bottom: 18px; }
  .astrolabe-unlock-notes { grid-template-columns: 1fr; gap: 14px; padding: 20px; background: #101d2a; }
}
.related-card > span { font-size: 18px; color: #c8e6f1; }
.related-card .icon { margin-top: 16px; color: #a8ccdf; width: 18px; height: 18px; }
.related-card { display: block; padding: 24px; min-width: 0; border: 1px solid #89b5cf38; background: #0e1b29; }
.related-card:hover { border-color: #b0dced80; }
.related-card h3 { font-size: 18px; color: #c8e6f1; margin-bottom: 8px; font-weight: 500; }
.related-card p { color: #9eb5c5; font-size: 14px; margin-bottom: 0; }

@media (min-width: 961px) and (max-width: 1150px) {
  .guide-page .header-inner { gap: 16px; width: calc(100% - 40px); }
  .guide-page .primary-navigation { gap: 18px; }
  .guide-page .brand { min-width: 150px; gap: 9px; }
  .guide-page .brand-caption { font-size: 11px; letter-spacing: 2px; }
  .guide-page .header-download { padding-inline: 11px; }
}
@media (max-width: 1050px) {
  .guide-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 170px; }
  .material-grid { grid-template-columns: 1fr; }
  .material-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 20px; }
  .material-card > svg { grid-column: 1; grid-row: 1 / span 3; align-self: center; }
  .material-stage { grid-column: 2; grid-row: 1; }
  .material-card h3 { grid-column: 2; grid-row: 2; }
  .material-cost { grid-column: 2; grid-row: 3; }
  .material-cost strong { display: inline; margin-right: 8px; font-size: 21px; }
  .material-source { grid-column: 2; grid-row: 4; }
  .other-systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .guide-page .guide-hero { padding-block: 35px 48px; }
  .guide-hero h1 { font-size: 39px; }
  .guide-lead { font-size: 15px; }
  .guide-layout { display: flex; flex-direction: column; gap: 0; }
  .guide-toc { position: static; order: -1; width: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 22px 0; margin-top: 0; border: 0; border-bottom: 1px solid var(--line); }
  .guide-toc p, .guide-toc h2, .guide-toc h3 { width: 100%; margin-bottom: 0; }
  .guide-toc a { padding-block: 8px; }
  .guide-toc nav { display: flex; flex-wrap: wrap; gap: 0 22px; width: 100%; }
  .guide-toc-back { width: 100%; margin-top: 0; }
  .guide-article { width: 100%; }
  .guide-section { --guide-anchor-inset: 44px; padding-block: 44px; }
  .guide-stat-grid { gap: 10px; }
  .guide-stat { padding-left: 10px; }
  .guide-stat strong { font-size: 25px; }
  .system-card-body { padding-inline: 23px; }
  .guide-page .guide-section-title { font-size: 25px; }
}
@media (max-width: 640px) {
  .guide-page { padding-bottom: 0; font-size: 15px; }
  .starboard-page { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .guide-page .container { width: calc(100% - 40px); }
  .guide-page .header-inner { width: calc(100% - 24px); gap: 8px; }
  .guide-page .brand { min-width: 0; gap: 6px; }
  .guide-page .brand-caption { letter-spacing: 2px; }
  .guide-page .header-download { min-height: 39px; padding: 7px 10px; font-size: 11px; }
  .guide-breadcrumb { font-size: 12px; padding-top: 20px; gap: 8px; }
  .guide-hero { grid-template-columns: 1fr; gap: 24px; }
  .systems-page .guide-hero { grid-template-columns: 1fr; gap: 30px; }
  .systems-hero-art { grid-row: 1; width: 60%; max-width: 240px; margin-inline: auto; }
  .guide-hero h1 { font-size: 34px; margin-bottom: 18px; letter-spacing: .2px; }
  .guide-kicker { font-size: 10px; letter-spacing: 2px; margin-bottom: 13px; }
  .guide-hero-art { grid-row: 1; }
  .guide-hero-art svg { width: min(65vw, 250px); }
  .guide-hero-art figcaption { margin-top: 0; font-size: 11px; }
  .guide-lead { font-size: 15px; margin-bottom: 20px; }
  .guide-hero-copy > .button { margin-right: 0; max-width: 100%; white-space: normal; font-size: 14px; }
  .guide-stat-grid { margin-top: 23px; gap: 8px; }
  .guide-stat-grid { margin-top: 0; padding-block: 24px; }
  .guide-stat { font-size: 12px; padding-left: 10px; }
  .guide-stat strong { font-size: 25px; }
  .guide-stat strong > span { display: block; margin: 3px 0 0; font-size: 11px; }
  .guide-stat p { font-size: 12px; }
  .guide-facts { grid-template-columns: 1fr; gap: 16px; }
  .guide-fact { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; font-size: 14px; }
  .guide-fact dt { margin-bottom: 0; align-self: center; }
  .guide-fact > span { margin-bottom: 0; align-self: center; }
  .guide-page .guide-section-title { font-size: 24px; }
  .guide-section .section-heading { display: block; }
  .systems-page .guide-section > .section-heading { display: block; }
  .guide-section .section-heading > p { margin-top: 10px; font-size: 14px; }
  .systems-filter-bar { gap: 18px; }
  .system-filter-buttons { width: 100%; gap: 7px; }
  .system-filter-buttons button { flex: 1 1 auto; padding-inline: 12px; font-size: 13px; }
  .system-search { width: 100%; min-width: 0; }
  .featured-systems, .other-systems, .guide-step-grid, .build-grid, .guide-related { grid-template-columns: 1fr; }
  .featured-systems { gap: 22px; }
  .system-art { min-height: 190px; }
  .system-art svg { height: 160px; }
  .system-card-body, .other-systems .system-card-body { padding: 23px; }
  .system-card h3 { font-size: 23px; }
  .systems-intro-note { font-size: 14px; }
  .systems-intro-note { padding: 19px; gap: 12px; }
  .guide-next-step { flex-direction: column; align-items: start; padding: 25px; margin-block: 28px 45px; }
  .guide-next-step h2 { font-size: 24px; }
  .systems-page .guide-footer > .container { gap: 18px; }
  .guide-note { padding: 17px 18px; font-size: 14px; }
  .guide-step-grid { gap: 14px; }
  .guide-step { padding: 21px; }
  .guide-toc { gap: 2px 16px; font-size: 13px; }
  .guide-toc a { min-height: 44px; }
  .star-path { padding: 20px 14px; }
  .star-sequence, .star-branch { gap: 13px; }
  .star-node { font-size: 14px; padding-inline: 4px; }
  .star-node small { font-size: 11px; }
  .star-node > span:last-child:not(.star-node-number) { font-size: 11px; }
  .star-sequence .star-node:not(:last-child)::after { right: -13px; font-size: 13px; }
  .star-stage-head h3 { font-size: 16px; }
  .star-branch-follow > p, .star-branch-follow > span { font-size: 11px; }
  .material-card { display: block; padding: 23px; }
  .material-source { border: 0; border-top: 1px solid var(--line); padding: 13px 0 0; }
  .material-cost strong { display: inline; margin-right: 6px; }
  .guide-table th, .guide-table td { padding: 12px; font-size: 13px; }
  .reset-panel { padding: 23px; font-size: 14px; }
  .guide-footer .footer-inner { gap: 25px; }
  .guide-footer-nav { gap: 12px 20px; }
}
@media (max-width: 360px) {
  .guide-page .brand-caption { display: none; }
  .guide-hero h1 { font-size: 30px; }
  .guide-stat { padding-left: 7px; font-size: 11px; }
  .star-branch, .star-sequence { gap: 10px; }
  .star-node { font-size: 12px; }
  .star-node small { font-size: 10px; }
  .star-node > span:last-child:not(.star-node-number) { font-size: 10px; }
  .star-sequence .star-node:not(:last-child)::after { right: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-page *, .guide-page *::before, .guide-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (max-width: 960px) {
  .guide-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
}
@media print {
  .guide-page { background: white; color: #111; font-size: 11pt; }
  .guide-page .site-header, .guide-page .guide-toc, .guide-page .guide-footer, .guide-page .skip-link { display: none; }
  .guide-page .container { width: 100%; }
  .guide-layout { display: block; }
  .guide-hero { display: block; padding-block: 10px; }
  .guide-hero-art { display: none; }
  .guide-page h1, .guide-page h2, .guide-page h3, .guide-page p, .guide-page strong, .guide-page dd, .guide-page dt, .guide-page a { color: #111; }
  .guide-section { padding-block: 20px; }
  .guide-step, .build-card, .material-card, .star-node { break-inside: avoid; }
}
