/* Star Hop Atlas. Built on design/tokens.css; system font stacks replace the design's web fonts. */
:root {
  --night: #0B1020;
  --night-panel: #0E1428;
  --surface: #131A2E;
  --surface-placeholder: #18203A;
  --skeleton: #222C4A;
  --line: #26304F;
  --line-strong: #3A4670;
  --control-border: #6B7699;
  --text: #E8ECF6;
  --text-muted: #A3ADC8;
  --starlight: #F2B84B;
  --starlight-hover: #FFD584;
  --on-starlight: #0B1020;
  --nebula: #A79BFF;
  --nebula-surface: #1D1B3A;
  --nebula-border: #4A4488;
  --nebula-text: #D9D3FF;
  --nebula-notice-text: #E6E1FF;
  --notice-surface: #2A2210;
  --notice-border: #5C4A1E;
  --notice-text: #F6D58E;
  --sky-daylight: #F2B84B;
  --sky-civil: #5B86C8;
  --sky-nautical: #33558F;
  --sky-astronomical: #1F3363;
  --sky-dark: #070B16;
  --moon: #E9E4D4;
  --moon-dark: #2A3557;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius-hero: 16px;
  --radius-card: 10px;
  --radius-chip: 999px;
  --content-max: 1200px;
  --gutter: 24px;
  --touch-min: 44px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--night); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: var(--starlight); }
a:hover { color: var(--starlight-hover); }
a:focus-visible { outline: 2px solid var(--starlight); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
h1 { font-size: 44px; line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 24px; font-weight: 600; line-height: 1.25; }
p { margin: 0; }
img, svg { flex: 0 0 auto; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { background: var(--night); border-bottom: 1px solid var(--line); }
.bar { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: var(--touch-min); color: var(--text); text-decoration: none; font-family: var(--font-display); line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--text); }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.wordmark span { font-weight: 500; color: var(--starlight); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 10px; color: var(--text); font-size: 16px; text-decoration: none; }
.nav a:hover { color: var(--starlight-hover); }
.nav a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--starlight); }

/* Main */
.main { flex: 1 0 auto; width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 32px var(--gutter) 96px; display: flex; flex-direction: column; gap: 32px; }
.main-home { padding-top: 56px; gap: 64px; }
.main-error { padding: 80px var(--gutter) 120px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-col { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.site-footer .brand { gap: 9px; align-self: flex-start; }
.site-footer .wordmark { font-size: 18px; }
.tagline { max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.footer-nav { flex: 1 1 280px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 15px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: var(--touch-min); color: var(--text); }
.footer-notes { gap: 8px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.footer-notes a { color: var(--text); }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: var(--text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* Hero panel with the fixed starfield */
.hero { position: relative; overflow: hidden; background: var(--night-panel) url(/assets/starfield.svg) 0 0 / 100% 100% no-repeat; border: 1px solid var(--line); border-radius: var(--radius-hero); padding: 56px 48px; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.hero-text { flex: 1 1 480px; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nebula); }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-muted); }

/* Homepage entry blocks */
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.block { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.block-title { padding-bottom: 12px; border-bottom: 2px solid var(--line-strong); display: flex; align-items: center; gap: 10px; }
.more { display: inline-flex; align-items: center; align-self: flex-start; min-height: var(--touch-min); font-size: 15px; font-weight: 500; }
.empty { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-muted); }

/* Entry rows: guides lists, home blocks, city lists */
.entries { list-style: none; margin: 0; padding: 0; }
.entries li { border-bottom: 1px solid var(--line); }
.entries a { display: flex; flex-direction: column; gap: 4px; min-height: var(--touch-min); padding: 14px 0; color: var(--text); text-decoration: none; }
.entries a:hover .entry-title { color: var(--starlight-hover); }
.entries .with-media { flex-direction: row; align-items: center; gap: 14px; padding: 11px 0; }
.entries .with-chevron { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.entries .with-aside { flex-flow: row wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.entry-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.entry-title { font-size: 17px; font-weight: 500; line-height: 1.35; }
.entry-meta { font-size: 14px; color: var(--text-muted); }
.entry-aside { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.entry-media { flex: 0 0 72px; height: 54px; display: flex; align-items: center; justify-content: center; background: var(--surface-placeholder); border-radius: var(--radius-card); }
.entry-media svg { max-width: 100%; max-height: 100%; }

/* Product card grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 24px; }
.grid a { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; }
.grid a:hover { color: var(--text); }
.grid a:hover .card-title { color: var(--starlight-hover); }
.card-media { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--surface-placeholder); border-radius: var(--radius-card); }
.card-media svg { width: 80%; height: 80%; }
.card-title { font-size: 15px; font-weight: 500; line-height: 1.35; }
.card-meta { font-size: 14px; color: var(--text-muted); }
.card-price { font-size: 15px; font-weight: 600; }

/* Pagination */
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--touch-min); min-height: var(--touch-min); padding: 0 12px; }
.pagination a { border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; }
.pagination a:hover { border-color: var(--starlight); color: var(--text); }
.pagination [aria-current] { background: var(--starlight); color: var(--on-starlight); font-weight: 600; padding: 0 10px; }
.pagination .gap { min-width: 32px; padding: 0; color: var(--text-muted); }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 14px; background: var(--nebula-surface); border: 1px solid var(--nebula-border); border-radius: var(--radius-chip); color: var(--nebula-text); text-decoration: none; font-size: 15px; }
.chip:hover { color: var(--text); border-color: var(--nebula); }

/* Prose pages (About) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.prose section { display: flex; flex-direction: column; gap: 12px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

/* Error pages */
.error { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.error-code { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); }
.error-text { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.buttons { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 18px; border: 1px solid var(--starlight); color: var(--text); text-decoration: none; font-weight: 500; }
.button:hover { color: var(--text); background: var(--surface); }

/* Shared section blocks */
.section { display: flex; flex-direction: column; gap: 16px; }
.section-title { padding-bottom: 12px; border-bottom: 2px solid var(--line-strong); }
.column { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-direction: column; gap: 12px; }
.plain-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--touch-min); font-size: 16px; }
.button-primary { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--starlight); color: var(--on-starlight); text-decoration: none; font-size: 17px; font-weight: 600; }
.button-primary:hover { background: var(--starlight-hover); color: var(--on-starlight); }

/* Sky hub and city page */
.main-sky-hub { gap: 40px; }
.hero-sky { padding: 44px 40px; }
.hero-sky .hero-text { flex: none; max-width: 760px; gap: 12px; }
.hero-sky .lead { font-size: 18px; }
.hero-city { padding: 40px 36px; }
.hero-city .hero-text { flex: none; max-width: none; }
.hero-intro { font-size: 18px; line-height: 1.65; }
.city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.city-grid a { display: flex; flex-direction: column; gap: 2px; min-height: var(--touch-min); padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--text); text-decoration: none; }
.city-grid a:hover { border-color: var(--line-strong); color: var(--text); }
.city-grid a:hover .city-name { color: var(--starlight-hover); }
.city-name { font-size: 17px; font-weight: 500; }
.city-country { font-size: 14px; color: var(--text-muted); }
.country-list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 32px; }
.country-list li { break-inside: avoid; }
.country-list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); font-size: 16px; }
.country-list a:hover { color: var(--starlight-hover); }
.city-list { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.city-list li { break-inside: avoid; padding: 6px 0; display: flex; flex-direction: column; }
.city-list a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 32px; color: var(--text); font-size: 16px; }
.city-list a:hover { color: var(--starlight-hover); }
.city-list span { font-size: 13px; color: var(--text-muted); }
.page-head .lead { max-width: 760px; }

/* Sky date page */
.sky-date { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.sky-date h1 { font-size: 40px; line-height: 1.15; }
.sky-date h2 { font-size: 22px; }
.sky-intro { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.65; }
.notice { padding: 16px 20px; background: var(--nebula-surface); border: 1px solid var(--nebula-border); border-radius: var(--radius-card); color: var(--nebula-notice-text); font-size: 17px; font-weight: 500; }
.glance { display: flex; flex-direction: column; gap: 12px; }
.glance-bar { display: block; width: 100%; height: 28px; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.glance-labels { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text-muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 3px; }
.band-daylight { fill: var(--sky-daylight); background: var(--sky-daylight); }
.band-civil { fill: var(--sky-civil); background: var(--sky-civil); }
.band-nautical { fill: var(--sky-nautical); background: var(--sky-nautical); }
.band-astronomical { fill: var(--sky-astronomical); background: var(--sky-astronomical); }
.band-dark { fill: var(--sky-dark); background: var(--sky-dark); }
.swatch.band-dark { border: 1px solid var(--line-strong); }
.night-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.night-table caption { padding-bottom: 10px; text-align: left; font-size: 15px; color: var(--text-muted); }
.night-table thead tr { border-bottom: 2px solid var(--line-strong); }
.night-table thead th { padding: 10px 0; text-align: left; font-weight: 600; }
.night-table tbody tr { border-bottom: 1px solid var(--line); }
.night-table tbody th { padding: 10px 16px 10px 0; text-align: left; font-weight: 400; }
.night-table td { padding: 10px 0; font-family: var(--font-mono); font-size: 15px; }
.night-table tr.total { border-bottom: 2px solid var(--line-strong); }
.night-table tr.total th { padding: 12px 16px 12px 0; font-weight: 600; }
.night-table tr.total td { padding: 12px 0; font-weight: 500; }
.moon, .outlook, .nearby { display: flex; flex-direction: column; gap: 12px; }
.outlook { gap: 10px; }
.outlook p { font-size: 17px; line-height: 1.65; }
.moon-cards { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.moon-cards div { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.moon-cards dt { font-size: 14px; color: var(--text-muted); }
.moon-cards dd { margin: 4px 0 0; font-size: 19px; font-weight: 500; }
.moon-phase { display: flex; align-items: center; gap: 12px; }
.moon-lit { fill: var(--moon); }
.moon-dark { fill: var(--moon-dark); }
.other-nights { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.other-nights a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--touch-min); color: var(--text); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.night-prev, .night-next { text-decoration: none; font-weight: 500; }
.other-nights a:hover { color: var(--starlight-hover); }
.outline-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.outline-chips a { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 16px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-size: 15px; }
.outline-chips a:hover { border-color: var(--starlight); color: var(--text); }

/* Shop: illustrations */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.art { color: var(--text-muted); }
.card-media .art, .product-art .art { width: 72%; height: 72%; overflow: visible; }

/* Shop: hub */
.category-grid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.category-grid .card-meta { line-height: 1.45; }
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.brand-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); }
.brand-name { font-size: 17px; font-weight: 500; }
.brand-focus { font-size: 14px; color: var(--text-muted); }
.brand-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.brand-links a { display: inline-flex; align-items: center; min-height: var(--touch-min); font-size: 15px; }

/* Shop: listings */
.main-shop { gap: 24px; }
.listing-title { font-size: 40px; line-height: 1.15; }
.listing-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sort ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; }
.sort li:first-child { color: var(--text-muted); padding-right: 4px; }
.sort a, .sort span { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 10px; }
.sort a { color: var(--text); }
.sort a:hover { color: var(--starlight-hover); }
.sort [aria-current] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--starlight); }
.page-label { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.active-filters > span { color: var(--text-muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: var(--touch-min); padding: 0 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-chip); color: var(--text); text-decoration: none; }
.pill:hover { color: var(--text); border-color: var(--starlight); }
.clear-all { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 8px; color: var(--text); }
.listing { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.facets { flex: 1 1 220px; max-width: 280px; display: flex; flex-direction: column; gap: 28px; }
.facet { display: flex; flex-direction: column; gap: 4px; }
.facet h2 { margin-bottom: 4px; font-size: 15px; }
.facet ul { list-style: none; margin: 0; padding: 0; }
.facet a, .facet li > span { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text); text-decoration: none; font-size: 15px; }
.facet a:hover { color: var(--starlight-hover); }
.facet .off { color: var(--text-muted); opacity: 0.55; }
.facet a::before, .facet li > span::before { content: ""; flex: 0 0 16px; height: 16px; border: 1px solid var(--control-border); }
.facet .on::before { background: var(--starlight); border-color: var(--starlight); }
.results { flex: 4 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }

/* Shop: product page */
.main-product { gap: 48px; }
.product-top { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.product-art { flex: 1 1 420px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--surface-placeholder); border-radius: var(--radius-card); }
.product-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.brand-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--touch-min); font-size: 15px; font-weight: 500; }
.product-info h1 { font-size: 36px; line-height: 1.15; }
.product-summary { font-size: 17px; color: var(--text-muted); }
.buy-box { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 16px; }
.price { font-size: 32px; font-weight: 600; color: var(--starlight); }
.buy-note { padding: 12px 14px; background: var(--notice-surface); border: 1px solid var(--notice-border); border-radius: 8px; color: var(--notice-text); font-size: 15px; font-weight: 500; }
.buy-box dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px 16px; font-size: 15px; }
.buy-box dt { color: var(--text-muted); }
.buy-box dd { margin: 0; }
.product-body { max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.product-body section { display: flex; flex-direction: column; gap: 14px; }
.product-body h2 { font-size: 26px; }
.product-body p { font-size: 17px; line-height: 1.65; }
.product-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; }
.specs { width: 100%; border-collapse: collapse; font-size: 16px; }
.specs tr { border-top: 1px solid var(--line); }
.specs tr:last-child { border-bottom: 1px solid var(--line); }
.specs th { width: 45%; padding: 11px 16px 11px 0; text-align: left; font-weight: 500; }
.specs td { padding: 11px 0; }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); }

/* Guides: hub and lists */
.main-guides { gap: 40px; }
.hero-guides { padding: 44px 40px; }
.hero-guides .hero-text { flex: none; max-width: 760px; gap: 12px; }
.hero-guides .lead { font-size: 18px; }
.section.latest { gap: 8px; }
.topic-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.topic-group { display: flex; flex-direction: column; gap: 12px; }
.topic-group h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--text-muted); }
.chip-off { opacity: 0.5; }
.chip-off:hover { color: var(--nebula-text); border-color: var(--nebula-border); }

/* Guides: article page */
.article-head { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.byline { font-size: 15px; color: var(--text-muted); }
.article-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.article-body { flex: 3 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.article-body section { display: flex; flex-direction: column; gap: 14px; }
.article-body h2 { font-size: 26px; line-height: 1.25; }
.article-body h3 { margin-top: 10px; font-family: var(--font-body); font-size: 19px; line-height: 1.35; font-weight: 600; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.65; }
.article-body ul, .article-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article-intro { display: flex; flex-direction: column; gap: 16px; }
.article-intro p { font-size: 19px; }
.facts { padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.facts-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.article-body .facts h2 { font-size: 18px; }
.facts-source { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.facts dl { margin: 0; }
.facts dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; }
.article-body .faq h3 { margin-top: 14px; }
.article-aside { flex: 1 1 240px; display: flex; flex-direction: column; gap: 32px; }
.article-aside section { display: flex; flex-direction: column; gap: 12px; }
.aside-title { font-size: 15px; color: var(--text-muted); }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--text); text-decoration: none; }
.guide-card:hover { color: var(--text); border-color: var(--line-strong); }
.guide-card:hover .entry-title { color: var(--starlight-hover); }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  h1 { font-size: 34px; }
  .bar { padding-top: 8px; padding-bottom: 8px; }
  .nav { margin-left: -10px; }
  .main-home { padding-top: 32px; gap: 48px; }
  .main-error { padding-top: 48px; padding-bottom: 80px; }
  .hero { padding: 32px 20px; }
  .hero-row { gap: 20px; }
  .hero-text { flex-basis: 100%; }
  .hero-art { width: 112px; height: 112px; }
  .lead { font-size: 17px; }
  .hero-sky, .hero-city { padding: 32px 20px; }
  .sky-date h1 { font-size: 30px; }
  .other-nights { flex-direction: column; align-items: flex-start; gap: 0; }
  .other-nights span:empty { display: none; }
  .listing-title { font-size: 30px; }
  .grid, .related .grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .listing { gap: 32px; }
  .facets { max-width: none; flex-basis: 100%; gap: 20px; }
  .facet ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .product-top { gap: 24px; }
  .product-art, .product-info { flex-basis: 100%; }
  .product-info h1 { font-size: 28px; }
  .buy-box { padding: 18px; }
  .price { font-size: 28px; }
  .product-body h2 { font-size: 22px; }
  .hero-guides { padding: 32px 20px; }
  .article-layout { gap: 40px; }
  .article-body h2 { font-size: 22px; }
  .article-intro p { font-size: 18px; }
  .facts { padding: 16px 18px; }
  .facts dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
