:root {
  color-scheme: dark;
  --bg: #10121c;
  --panel: #181c29;
  --deep: #0e1018;
  --ink: #f6f1e8;
  --muted: #b8bacb;
  --line: #363b50;
  --violet: #ccbeff;
  --gold: #ffd688;
  --brass: #e0b784;
  --silver: #bdb2ca;
  --on-accent: #221929;
  font: 16px/1.55 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: var(--site-header-height, 73px); }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--violet); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, select, input { font: inherit; }
button, select, summary { cursor: pointer; }
a, button, select, input, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
[id] { scroll-margin-block-start: 1rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 2 * clamp(16px, 5vw, 72px))); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: 1rem; transform: translateY(-180%); z-index: 20; background: var(--deep); padding: .6rem 1rem; }
.skip:focus { transform: none; }

.top { position: sticky; inset-block-start: 0; z-index: 10; background: var(--deep); border-bottom: 1px solid var(--line); }
.top-inner, .bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.top-inner { min-height: 72px; }
.brand { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; color: var(--ink); font-size: 1.15rem; font-weight: 720; letter-spacing: -.025em; }
.brand-mark { display: block; position: relative; flex: none; }
.brand-mark img { filter: drop-shadow(0 0 7px #b992ff63); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .demo-modes button { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
  .demo-marker { transition: transform .18s ease, width .18s ease, height .18s ease, border-radius .18s ease; }
  .demo-price { transition: color .18s ease, border-color .18s ease; }
  @supports (transition-behavior: allow-discrete) {
    .demo-map-layer, .demo-pins { transition: opacity .16s ease, display .16s allow-discrete; }
    .demo-map-layer[hidden], .demo-pins[hidden] { opacity: 0; }
    @starting-style {
      .demo-map-layer:not([hidden]), .demo-pins:not([hidden]) { opacity: 0; }
    }
  }
  .top .brand img { animation: nox-mark-in .72s cubic-bezier(.2,.8,.2,1) both; }
  .brand img { transition: filter .2s ease, transform .2s ease; }
  .brand:is(:hover, :focus-visible) img { transform: scale(1.055); filter: drop-shadow(0 0 4px #ffd68855); }
  .brand-mark::before, .brand-mark::after {
    content: ""; position: absolute; z-index: 1; width: 10%; aspect-ratio: 1; border-radius: 50%;
    background: #fff1ff; box-shadow: 0 0 5px 1px #bc9cffb0; transform: translate(-50%, -50%);
    pointer-events: none; opacity: 0;
  }
  .top .brand-mark::after { animation: nox-mark-spark .60s .08s linear both; }
  .brand:is(:hover, :focus-visible) .brand-mark::before { animation: nox-mark-spark .64s linear both; }
}
@keyframes nox-mark-in {
  from { opacity: .58; scale: .9; }
  to { opacity: 1; scale: 1; }
}
@keyframes nox-mark-spark {
  0% { left: 61%; top: 25%; opacity: 0; }
  9% { left: 50%; top: 14%; opacity: .8; }
  37% { left: 14%; top: 50%; opacity: 1; }
  65% { left: 50%; top: 86%; opacity: .9; }
  93% { left: 86%; top: 50%; opacity: .35; }
  100% { left: 77%; top: 41%; opacity: 0; }
}
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(14px, 3vw, 38px); }
.top nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; font-weight: 580; }
.top nav a:hover { color: var(--violet); }
.top-actions { display: flex; align-items: center; gap: .55rem; }
.language-switch { display: flex; align-items: stretch; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); font-size: .79rem; font-weight: 680; }
.language-switch > * { display: grid; place-items: center; min-width: 32px; min-height: 32px; padding-inline: .2rem; border-radius: 3px; text-decoration: none; }
.language-switch a { color: var(--muted); }
.language-switch a:hover { color: var(--ink); background: var(--line); }
.language-switch [aria-current] { color: var(--on-accent); background: var(--violet); }
.button { display: inline-flex; gap: .55rem; align-items: center; justify-content: center; min-height: 46px; padding: .55rem 1.05rem; border: 1px solid #72728b; border-radius: 6px; color: var(--ink); text-align: center; text-decoration: none; font-weight: 660; }
.button:hover { border-color: var(--violet); background: #272238; }
.button.primary { color: var(--on-accent); border-color: var(--gold); background: var(--gold); box-shadow: 0 4px 23px #ffd6881c; }
.button.primary:hover { color: var(--on-accent); border-color: #ffe4af; background: #ffe4af; }
.button-small { min-height: 38px; font-size: .88rem; }

.hero { background: radial-gradient(ellipse at 74% 4%, #30273c 0, transparent 55rem), var(--deep); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(1.2rem, 4vw, 3.6rem); padding-block: clamp(2rem, 5vw, 5.25rem); }
.compatibility { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: var(--violet); font-size: .9rem; font-weight: 650; }
.compatibility::before { content: ""; flex: none; width: .43rem; aspect-ratio: 1; background: currentColor; rotate: 45deg; box-shadow: 0 0 12px #ccbeff80; }
h1 { font: 400 clamp(3rem, 6.7vw, 6.4rem)/.93 Georgia, serif; letter-spacing: -.075em; text-wrap: initial; }
.lead { max-width: 34ch; margin-top: 1.3rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.demo-jump span { font-size: 1.05rem; line-height: 1; }
.meta { max-width: 56ch; margin-top: .8rem; color: var(--muted); font-size: .8rem; }
.hero-frame { overflow: clip; border: 1px solid #a68d76; border-radius: 12px 12px 28px 12px; background: var(--panel); box-shadow: 0 24px 60px #08080da8; }
.hero-frame-image { overflow: clip; aspect-ratio: 5 / 4; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 44% center; transform: scale(1.55); transform-origin: 29% 27%; }
.hero-frame figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem 1.1rem; padding: .78rem 1rem; border-top: 1px solid #a68d76; }
.hero-frame-title, .hero-frame-beast { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; font-weight: 650; }
.hero-frame small { color: var(--muted); font-size: .78rem; font-weight: 450; }
.quote { display: inline-block; justify-self: start; min-width: 2.45rem; padding: 1px 5px; border-radius: 4px; background: var(--silver); color: var(--on-accent); text-align: center; white-space: nowrap; font-size: .8rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.quote.valuable { background: var(--gold); }
.demo-section { padding-block: clamp(2.1rem, 5vw, 4.5rem); border-block: 1px solid var(--line); background: linear-gradient(160deg, #1d2032, var(--bg) 62%); }
.demo-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.2rem; }
.demo-heading p { color: var(--muted); font-size: .9rem; }

.section { padding-block: clamp(2.8rem, 6vw, 5.6rem); }
h2 { font: 400 clamp(2rem, 4vw, 3.35rem)/1.07 Georgia, serif; letter-spacing: -.05em; }
h3 { font-size: 1.15rem; font-weight: 680; }
.section-heading { align-self: start; display: grid; gap: .85rem; max-width: 40ch; }
.section-heading p, .guide-content li, .install li, .release-card p, .faq p { color: var(--muted); }
.guide-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; font-size: .9rem; }
.guide-links a { display: inline-flex; align-items: center; min-height: 42px; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.guide-links a:hover { border-color: var(--violet); }

.demo { --demo-cheap: var(--silver); --demo-expensive: var(--gold); border: 1px solid #575372; border-radius: 17px; background: var(--panel); box-shadow: 0 18px 56px #08091180; }
.demo-compare { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; background: #202435; }
.demo-modes { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--deep); }
.demo-modes button { min-height: 36px; border: 0; border-radius: 5px; background: transparent; padding: .25rem .7rem; color: var(--muted); font-weight: 650; }
.demo-modes button:hover:not([aria-pressed="true"]) { background: #262032; color: var(--ink); }
.demo-modes button[aria-pressed="true"] { background: var(--violet); color: var(--on-accent); box-shadow: inset 0 1px #fff7; }
.demo-layers { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; border: 0; margin: 0; min-width: 0; }
.demo-layers label {
  position: relative; display: inline-flex; min-height: 44px; align-items: center; gap: .45rem;
  padding: 0 .58rem; border: 1px solid var(--line); border-radius: 8px; background: var(--deep);
  color: var(--ink); font-size: .86rem;
}
.demo-layers:not(:disabled) label { cursor: pointer; }
.demo-layers:not(:disabled) label:hover { border-color: var(--violet); }
.demo-switch { display: none; }
@media (forced-colors: none) {
  .demo-layers input { position: absolute; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); }
  .demo-switch {
    display: inline-flex; flex: none; align-items: center; width: 1.65rem; height: 1rem; padding: 2px;
    border: 1px solid #827491; border-radius: 1rem; background: #2a2238; color: #b7aac6;
  }
  .demo-switch::before { content: ""; width: .56rem; height: .56rem; border-radius: 50%; background: currentColor; }
  .demo-layers input:checked + .demo-switch { border-color: var(--violet); background: var(--violet); color: var(--on-accent); }
  #demo-show-beasts:checked + .demo-switch { border-color: var(--gold); background: var(--gold); }
  .demo-layers input:checked + .demo-switch::before { transform: translateX(.61rem); }
  .demo-layers input:focus-visible + .demo-switch { outline: 2px solid var(--violet); outline-offset: 3px; }
}
@media (forced-colors: none) and (prefers-reduced-motion: no-preference) {
  .demo-switch { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
  .demo-switch::before { transition: transform 140ms ease; }
}
.demo-settings { min-width: 0; border-top: 1px solid var(--line); background: linear-gradient(160deg, #222237, var(--panel) 70%); border-radius: 0 0 16px 16px; }
.demo-settings h3 { margin: 0; padding: .8rem 1rem 0; font-size: 1rem; }
.demo-controls { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: .8rem 1rem; padding: .75rem 1rem 1rem; border: 0; margin: 0; min-width: 0; }
.demo-layers:disabled, .demo-controls:disabled { opacity: .58; }
.demo-control { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: .3rem; }
.demo-control > label { color: var(--muted); font-size: .85rem; font-weight: 610; }
.demo-colors label { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.demo-colors input { width: 40px; height: 25px; padding: 1px 3px; border: 1px solid var(--line); border-radius: 4px; background: var(--deep); }
.range-row { display: flex; gap: .75rem; align-items: center; min-height: 42px; }
.range-row input { flex: 1; width: 100%; min-width: 0; margin: 0; accent-color: var(--violet); }
.threshold-value { min-width: 3.2rem; color: var(--gold); text-align: right; white-space: nowrap; font-weight: 720; font-variant-numeric: tabular-nums; }
.demo-control select { min-height: 42px; padding: .25rem .55rem; border: 1px solid #675974; border-radius: 5px; background: var(--deep); color: var(--ink); }
.demo-control select:hover { border-color: var(--violet); }
.demo-scene { min-width: 0; }
/* The combat crop shows 78% of the source width. The inset shows the rightmost 15%. Both use the full screenshot's marker coordinates. */
.demo-map { position: relative; isolation: isolate; overflow: clip; aspect-ratio: 1305 / 585; background: #1c1824; --marker-size: .81rem; --glyph-size: 15px; }
.demo-world { position: absolute; width: 128.205%; transform: translateY(-9%); }
.demo-inset { position: absolute; top: .55rem; right: .55rem; width: clamp(92px, 22%, 205px); aspect-ratio: 251 / 239; overflow: clip; border: 1px solid #c6b89a; border-radius: 6px; box-shadow: 0 2px 9px #0e1018c0; }
.demo-inset-map { position: absolute; top: 0; right: 0; width: 666.6667%; aspect-ratio: 1673 / 940; background: url("assets/demo-game.webp") center / 100% 100% no-repeat; }
.demo-game { display: block; width: 100%; height: auto; }
.demo-map[data-size="compact"] { --marker-size: .72rem; --glyph-size: 11px; }
.demo-map[data-size="large"] { --marker-size: .97rem; --glyph-size: 20px; }
.demo-map-layer, .demo-pins { position: absolute; inset: 0; }
.demo-map-layer { pointer-events: none; }
.demo-map-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-radar-label { position: absolute; left: var(--x); top: var(--y); transform: translate(calc(-100% - 4px), -55%); padding: .1rem .35rem; border: 1px solid var(--route-color); border-radius: 3px; background: #181521ed; color: var(--route-color); font-size: clamp(.62rem, 1.25vw, .8rem); white-space: nowrap; }
.demo-monster { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; transform: translate(-50%,-50%) rotate(45deg); background: var(--dot, orangered); box-shadow: 0 0 0 1px #211829; }
.demo-monster[data-rarity="normal"] { width: 3px; height: 3px; border-radius: 50%; }
.demo-monster[data-rarity="magic"] { --dot: dodgerblue; }
.demo-monster[data-rarity="rare"] { --dot: gold; }
.demo-monster[data-rarity="unique"] { width: 7px; height: 7px; --dot: sienna; box-shadow: 0 0 0 1px #f5cca0; }
.demo-pins { pointer-events: none; }
.demo-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--demo-cheap); pointer-events: auto; }
.demo-marker { position: absolute; top: 50%; left: 50%; width: var(--glyph-size); height: var(--glyph-size); transform: translate(-50%, -50%); border: 2px solid currentColor; filter: drop-shadow(0 0 3px #100c14); }
.demo-map[data-shape="ring"] .demo-marker { border-radius: 50%; }
.demo-map[data-shape="diamond"] .demo-marker { transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; }
.demo-map[data-shape="brackets"] .demo-marker { border-width: 0 2px; border-radius: 4px; }
.demo-map[data-shape="corners"] .demo-marker { border: 0; background: linear-gradient(currentColor,currentColor) left top/35% 2px no-repeat, linear-gradient(currentColor,currentColor) right top/35% 2px no-repeat, linear-gradient(currentColor,currentColor) left bottom/35% 2px no-repeat, linear-gradient(currentColor,currentColor) right bottom/35% 2px no-repeat, linear-gradient(currentColor,currentColor) left top/2px 35% no-repeat, linear-gradient(currentColor,currentColor) right top/2px 35% no-repeat, linear-gradient(currentColor,currentColor) left bottom/2px 35% no-repeat, linear-gradient(currentColor,currentColor) right bottom/2px 35% no-repeat; }
.demo-price { position: absolute; left: 50%; bottom: calc(50% + var(--glyph-size) * .68 + 4px); transform: translateX(-50%); padding: .08rem .36rem; border: 1px solid currentColor; border-radius: 4px; background: #211829; color: inherit; font-size: var(--marker-size); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-pin[data-minimap] .demo-price { top: 50%; left: calc(50% + 11px); bottom: auto; transform: translateY(-50%); }
.demo-pin-name { position: absolute; top: calc(50% + var(--glyph-size) * .68 + 4px); left: 50%; transform: translateX(-50%); padding: .05rem .3rem; border-radius: 3px; background: #16121aed; color: var(--ink); font-size: .69rem; font-weight: 650; white-space: nowrap; }
.demo-pin[data-edge] .demo-pin-name { top: 50%; left: calc(50% + 12px); transform: translateY(-50%); }
.demo-pin[data-minimap] .demo-pin-name { display: none; }
.demo-pin[data-expensive] { color: var(--demo-expensive); }
.demo-pin:is(:hover, :focus-visible, [aria-pressed="true"]) { z-index: 1; }
.demo-pin:is(:hover, :focus-visible, [aria-pressed="true"]) .demo-price { outline: 1px solid var(--violet); outline-offset: 2px; }
.map-caption { display: grid; gap: .3rem; align-content: start; min-height: 64px; padding: .55rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.map-legend { display: flex; gap: .32rem; align-items: center; flex-wrap: wrap; }
.legend-dot, .legend-outline { width: .62rem; height: .62rem; border-radius: 3px; background: var(--demo-expensive); }
.legend-outline { margin-left: .55rem; border: 1px solid var(--violet); background: transparent; }
.demo-list { min-width: 0; border-top: 1px solid var(--line); }
.demo-list summary { padding: .6rem 1rem; font-weight: 650; }
.demo-list-note { margin: 0 .9rem .65rem; color: var(--muted); font-size: .83rem; }
.demo-list ul { margin: 0; padding: 0; list-style: none; }
.demo-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; border-top: 1px solid var(--line); }
.demo-row:nth-child(odd) { background: #1c1824; }
.demo-row[data-active] { background: #312640; box-shadow: inset 3px 0 var(--violet); }
.beast-select { display: grid; align-items: center; grid-template-columns: 2.9rem minmax(0, 1fr); gap: .3rem; min-width: 0; min-height: 44px; padding: .25rem .9rem; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: .89rem; }
.beast-select:hover, .beast-track:hover { background: #3a2f47; }
.beast-select:focus-visible { outline-offset: -3px; }
.beast-name { overflow-wrap: anywhere; }
.beast-track { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.beast-track input { margin: 0; width: 1rem; height: 1rem; accent-color: var(--violet); cursor: pointer; }
.beast-track:focus-within { outline: 2px solid var(--violet); outline-offset: -3px; }
.beast-track input:focus-visible { outline-offset: 2px; }

@media (min-width: 1000px) {
  .demo:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) clamp(235px, 23vw, 276px); }
  .demo-compare { grid-column: 1 / -1; }
  .demo-settings { border-top: 0; border-left: 1px solid var(--line); border-radius: 0 0 16px 0; }
  .demo-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .demo-colors, .demo-control-wide { grid-column: 1 / -1; }
  .demo-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .demo-control select { min-height: 38px; width: 100%; padding-inline: .35rem; font-size: .87rem; }
  .demo-colors label { flex-wrap: wrap; }
  .demo-scene { align-self: start; }
}

.guide-section, .faq { display: grid; grid-template-columns: minmax(0, .56fr) minmax(0, 1.44fr); gap: clamp(1.25rem, 4vw, 3.75rem); align-items: start; }
.guide { display: grid; gap: .55rem; }
.guide details { overflow: clip; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.guide details[open] { border-color: #676078; background: #1d2032; }
.guide summary { padding: .92rem 1rem; }
.guide summary:focus-visible { outline-offset: -3px; }
.faq details, .release-history details { border-bottom: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
summary { padding: .8rem .35rem; font-weight: 680; }
summary::marker { color: var(--violet); }
summary:hover { color: var(--violet); }
.guide-content { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(.85rem, 2vw, 1.6rem); padding: .7rem 1rem 1.15rem; align-items: start; }
.guide-content img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.guide-location { color: var(--violet); font-size: .86rem; }
.guide-location + p { margin-top: .55rem; color: var(--muted); }
.monster-legend { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.monster-legend li { display: flex; align-items: center; gap: .38rem; font-size: .85rem; }
.monster-legend span { width: .62rem; height: .62rem; border-radius: 2px; background: var(--marker); }
.guide-content ol { padding-left: 1.35rem; }
.guide-content li + li { margin-top: .55rem; }
.setup { background: linear-gradient(115deg, #242238, var(--panel) 64%); border-block: 1px solid var(--line); }
.install > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.install ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.6rem 0 0; padding: 0; list-style: none; counter-reset: install-step; }
.install li { padding: 1rem 1.1rem 1.2rem; border-top: 1px solid #827899; background: var(--deep); border-radius: 0 0 8px 8px; counter-increment: install-step; }
.install li::before { content: counter(install-step); display: grid; place-items: center; width: 1.85rem; height: 1.85rem; margin-bottom: .65rem; border: 1px solid #75698c; border-radius: 4px; color: var(--violet); font-size: .88rem; font-weight: 650; }
.install li strong { display: block; margin-bottom: .4rem; color: var(--ink); }
.release-section { padding-bottom: 0; }
.release-section > h2 { margin-bottom: 1.25rem; }
.release-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem; }
.release-card { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow-wrap: anywhere; }
.release-card:first-child { display: grid; align-content: center; justify-items: start; gap: .55rem; border-color: #8d775c; background: linear-gradient(145deg, #302a36, var(--panel) 75%); }
.release-card:first-child h3 { font: 400 clamp(1.7rem, 3vw, 2.7rem)/1.07 Georgia, serif; }
.release-card h3, .release-card p + p { margin-bottom: .45rem; }
.release-card .button { margin-block: .6rem .8rem; }
.release-plugins { margin: .7rem 0 0; padding: 0; list-style: none; }
.release-plugins li + li { margin-top: .72rem; padding-top: .72rem; border-top: 1px solid var(--line); }
.release-history { margin-top: 1.4rem; padding: 1.2rem clamp(1rem, 3vw, 2rem); border-block: 1px solid var(--line); }
.release-history details ul { margin-top: 0; padding-inline-start: 1.5rem; color: var(--muted); }
.release-history details { border-bottom: 0; }
.faq p { margin: 0 .35rem 1rem; }
.bottom { padding: 1.4rem 0; border-top: 1px solid var(--line); background: var(--deep); color: var(--muted); font-size: .85rem; }
.back-to-top { display: inline-flex; gap: .35rem; align-items: center; min-height: 36px; text-decoration: none; }

@media (max-width: 860px) {
  html { scroll-padding-block-start: var(--site-header-height, 115px); }
  .top-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .6rem; padding-block: .55rem; }
  .top nav { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 1150px) {
  .demo-pin-name { display: none; }
  .demo-pin:not([data-minimap]):is([aria-pressed="true"], :focus-visible) .demo-pin-name { display: inline-block; }
}

@media (max-width: 760px) {
  .hero-layout, .guide-section, .faq { grid-template-columns: 1fr; }
  .hero-frame-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 580px) {
  .guide-content, .install ol, .release-grid { grid-template-columns: 1fr; }
  .install ol { gap: .65rem; }
}

@media (max-width: 460px) {
  .demo-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; padding: .8rem; }
  .demo-control select { padding-inline: .35rem; font-size: .86rem; }
  .demo-pin { min-width: 28px; min-height: 28px; }
  .demo-price { font-size: min(.7rem,var(--marker-size)); }
  .demo-inset .demo-radar-label { font-size: .61rem; }
  .demo-inset .demo-marker { width: .62rem; height: .62rem; }
  .demo-pin[data-minimap] .demo-price { padding-inline: .2rem; }
  .demo-compare { gap: .35rem; padding: .55rem .65rem .4rem; }
  .demo-modes { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .top nav { gap: .2rem .75rem; font-size: .86rem; }
  .hero-actions .button { font-size: .88rem; }
  .hero-frame figcaption { padding: .65rem .75rem; }
  .bottom .wrap { flex-wrap: wrap; }
}

@media (max-width: 370px) {
  .demo-controls { grid-template-columns: 1fr; }
  .top .brand { gap: .35rem; font-size: 1rem; }
  .top .brand img { width: 28px; height: 28px; }
  .top-actions { gap: .35rem; }
  .top-actions .button { padding-inline: .45rem; }
}
