/* Short Run Arcade — one stylesheet, written by hand, built into site/assets/ by tools/build.py */

@font-face {
  font-family: "LAH Display";
  src: url(/assets/type/display.woff2) format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LAH Text";
  src: url(/assets/type/text.woff2) format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --panel: #fffdf9;
  --ink: #14181f;
  --ink-2: #3c4454;
  --ink-3: #6b7486;
  --rule: #e2dacc;
  --rule-2: #cfc4b0;
  --night: #0e1219;
  --night-2: #171d27;
  --night-rule: #2a3444;
  --night-ink: #e8eaf0;
  --night-ink-2: #9aa5ba;
  --brass: #a8761f;
  --brass-2: #d9ab53;
  --brass-soft: #f2e3c4;
  --flare: #cf3f2c;
  --deep: #0f5f57;
  --measure: 1180px;
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --r-l: 18px;
  --r-m: 12px;
  --r-s: 8px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .05), 0 14px 32px -20px rgba(20, 24, 31, .35);
  --shadow-lift: 0 2px 6px rgba(20, 24, 31, .07), 0 26px 50px -26px rgba(20, 24, 31, .45);
  --display: "LAH Display", "Segoe UI", system-ui, sans-serif;
  --text: "LAH Text", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: from-font; }
img, svg, picture { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
small { font-size: .84rem; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.lx-wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.lx-narrow { max-width: 720px; }
.lx-skip { position: absolute; left: -9999px; }
.lx-skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: var(--r-s); }
.lx-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ——— header ——————————————————————————————————————————————— */
.lx-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.lx-head__in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.lx-mark { display: inline-flex; align-items: center; gap: .62rem; font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: 1.12rem; text-decoration: none; padding: .35rem 0; }
.lx-mark__lamp { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #ffd37c, var(--flare) 62%, #7d1d12); box-shadow: 0 0 0 3px rgba(207, 63, 44, .14), 0 0 18px rgba(207, 63, 44, .5); flex: none; }
.lx-mark__txt i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.lx-nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.lx-nav a {
  text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink-2);
  padding: .5rem .7rem; border-radius: var(--r-s);
}
.lx-nav a:hover { background: var(--paper-2); color: var(--ink); }
.lx-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.lx-burger { display: none; margin-left: auto; align-items: center; gap: .5rem; background: var(--panel); border: 1px solid var(--rule-2); border-radius: 999px; padding: .5rem .85rem; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.lx-burger__bars { display: grid; gap: 3px; }
.lx-burger__bars i { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
  .lx-burger { display: inline-flex; }
  .lx-nav {
    position: fixed; inset: 68px 0 auto; margin: 0; display: none; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--panel); border-bottom: 1px solid var(--rule);
    padding: .5rem clamp(1rem, 4vw, 2rem) 1rem; box-shadow: var(--shadow);
  }
  .lx-nav[data-open="1"] { display: flex; }
  .lx-nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--rule); font-size: 1.02rem; }
  .lx-nav a:last-child { border-bottom: 0; }
}

/* ——— shared bits ——————————————————————————————————————————— */
.lx-kicker { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 .7rem; }
.lx-lede { font-size: clamp(1.06rem, 1rem + .5vw, 1.28rem); color: var(--ink-2); line-height: 1.55; }
.lx-sec { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.lx-sec--tight { padding: clamp(1.8rem, 4vw, 3rem) 0; }
.lx-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); flex-wrap: wrap; }
.lx-sec__head p { margin: .2rem 0 0; color: var(--ink-3); max-width: 52ch; }

.lx-btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; text-decoration: none; padding: .78rem 1.25rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; min-height: 46px; }
.lx-btn--go { background: var(--ink); color: var(--paper); }
.lx-btn--go:hover { background: #262d3a; }
.lx-btn--ghost { background: transparent; border-color: var(--rule-2); color: var(--ink); }
.lx-btn--ghost:hover { border-color: var(--ink-3); background: var(--panel); }
.lx-btn--play { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: #24160a; box-shadow: 0 10px 24px -14px rgba(168, 118, 31, .9); }
.lx-btn--play:hover { filter: brightness(1.05); }
.lx-btn__arrow { transition: transform .18s ease; }
.lx-btn:hover .lx-btn__arrow { transform: translateX(3px); }

.lx-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .02em; padding: .3rem .62rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--rule); white-space: nowrap; }
.lx-pill--platform { background: #eaf3f1; border-color: #c9e0da; color: #0d5b52; }
.lx-pill--ride { background: #f5eddc; border-color: #e6d3aa; color: #7a5510; }
.lx-pill--long { background: #f0eef8; border-color: #d7d2ec; color: #453a80; }

.lx-rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ——— hero ——————————————————————————————————————————————— */
.lx-hero { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2rem, 5vw, 3.2rem); }
.lx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.lx-hero h1 { margin-bottom: .45em; }
.lx-hero h1 em { font-style: normal; color: var(--brass); }
.lx-hero__meta { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.4rem 0 0; }
.lx-hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.7rem; }
.lx-hero__art { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--night); }
.lx-hero__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lx-hero__tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .9rem; color: #f3ede1; font-size: .84rem; background: linear-gradient(transparent, rgba(6, 9, 14, .86)); }
@media (max-width: 860px) { .lx-hero__grid { grid-template-columns: 1fr; } }

/* ——— band strip ——————————————————————————————————————————— */
.lx-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.lx-band { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 1.35rem 1.35rem 1.1rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.lx-band__time { font-family: var(--display); font-size: 1.05rem; font-weight: 800; color: var(--brass); letter-spacing: -.01em; }
.lx-band h3 { margin: .15rem 0 .5rem; }
.lx-band p { color: var(--ink-2); font-size: .96rem; }
.lx-band ul { list-style: none; margin: auto 0 0; padding: .9rem 0 0; border-top: 1px dashed var(--rule-2); display: grid; gap: .35rem; }
.lx-band li a { font-weight: 600; font-size: .94rem; text-decoration-color: var(--rule-2); }
.lx-band li a:hover { text-decoration-color: var(--brass); }
@media (max-width: 860px) { .lx-bands { grid-template-columns: 1fr; } }

/* ——— cabinet cards ——————————————————————————————————————— */
.lx-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.lx-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.lx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.lx-card__shot { position: relative; background: var(--night); }
.lx-card__shot img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.lx-card__score { position: absolute; right: .8rem; bottom: .8rem; background: rgba(10, 13, 19, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); border-radius: 999px; padding: .3rem .7rem; font-family: var(--display); font-weight: 800; font-size: .96rem; font-variant-numeric: tabular-nums; }
.lx-card__body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.lx-card__body h3 { margin-bottom: .35rem; }
.lx-card__body h3 a { text-decoration: none; }
.lx-card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.lx-card__body h3 a:hover { color: var(--brass); }
.lx-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: .9rem; }
.lx-card__facts { margin: auto 0 0; padding-top: .85rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: .4rem; }
.lx-card__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }

/* featured row */
.lx-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.lx-pick { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--night); color: #f4efe6; box-shadow: var(--shadow); min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; }
.lx-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.lx-pick__in { position: relative; padding: 1.4rem 1.25rem 1.3rem; background: linear-gradient(transparent, rgba(7, 10, 15, .9) 45%); }
.lx-pick__why { font-family: var(--display); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 .5rem; }
.lx-pick h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.lx-pick h3 a { text-decoration: none; }
.lx-pick h3 a::after { content: ""; position: absolute; inset: 0; }
.lx-pick p { margin: 0; font-size: .93rem; color: #cfd5e0; }
@media (max-width: 900px) { .lx-picks { grid-template-columns: 1fr; } }

/* ——— criteria / scores ————————————————————————————————————— */
.lx-scoreboard { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); padding: clamp(1.2rem, 3vw, 1.9rem); box-shadow: var(--shadow); }
.lx-dial { position: relative; width: 190px; height: 190px; margin-inline: auto; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--brass) calc(var(--val) * 1%), var(--paper-2) 0); }
.lx-dial::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--panel); border: 1px solid var(--rule); }
.lx-dial__num { position: relative; z-index: 1; font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.lx-dial__cap { position: relative; z-index: 1; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: .35rem; }
.lx-bars { display: grid; gap: .85rem; margin: 0; }
.lx-bar { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr) 42px; gap: .8rem; align-items: center; }
.lx-bar__name { font-weight: 700; font-size: .93rem; }
.lx-bar__track { display: block; height: 9px; border-radius: 999px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--rule); }
.lx-bar__fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brass), var(--brass-2)); }
.lx-bar__val { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; font-size: .92rem; }
@media (max-width: 760px) {
  .lx-scoreboard { grid-template-columns: 1fr; }
  .lx-bar { grid-template-columns: minmax(84px, 110px) minmax(0, 1fr) 36px; }
}

/* ——— cabinet page ——————————————————————————————————————— */
.lx-crumbs { font-size: .86rem; color: var(--ink-3); padding: 1.1rem 0 .2rem; }
.lx-crumbs a { text-decoration: none; }
.lx-crumbs a:hover { text-decoration: underline; }
.lx-review__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; padding-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.lx-review__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.4rem; margin: 1.4rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--rule); }
.lx-review__facts div { padding: .45rem 0; border-bottom: 1px dotted var(--rule-2); }
.lx-review__facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lx-review__facts dd { margin: .1rem 0 0; font-weight: 600; font-size: .96rem; }
.lx-shot { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--night); }
.lx-shot img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.lx-shot figcaption { font-size: .8rem; color: var(--ink-3); padding: .6rem .8rem; background: var(--panel); border-top: 1px solid var(--rule); }
@media (max-width: 880px) { .lx-review__head { grid-template-columns: 1fr; } }

.lx-prose { max-width: 70ch; }
.lx-prose h2 { margin-top: 2.2rem; }
.lx-prose h3 { margin-top: 1.6rem; }
.lx-prose ul, .lx-prose ol { padding-left: 1.15rem; margin: 0 0 1.2rem; }
.lx-prose li { margin-bottom: .4rem; }
.lx-prose a { color: #8a5f12; }

.lx-note { background: var(--brass-soft); border: 1px solid #e6d3a6; border-left: 4px solid var(--brass); border-radius: var(--r-m); padding: 1.1rem 1.2rem; margin: 1.6rem 0; }
.lx-note h4 { margin: 0 0 .4rem; }
.lx-note p:last-child { margin-bottom: 0; }

.lx-verdict { background: var(--night); color: var(--night-ink); border-radius: var(--r-l); padding: clamp(1.3rem, 3vw, 2rem); margin: 2rem 0; }
.lx-verdict h2 { color: #fff; margin-top: 0; }
.lx-verdict p { color: #cdd4e2; margin-bottom: 0; }

.lx-twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 1.8rem 0; }
.lx-listcard { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 1.1rem 1.2rem; }
.lx-listcard h4 { margin-bottom: .6rem; }
.lx-listcard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.lx-listcard li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .5rem; font-size: .96rem; }
.lx-listcard li::before { content: "+"; font-weight: 800; color: var(--deep); }
.lx-listcard--snag li::before { content: "–"; color: var(--flare); }
@media (max-width: 700px) { .lx-twocol { grid-template-columns: 1fr; } }

.lx-faq { margin: 2rem 0 0; display: grid; gap: .6rem; }
.lx-faq details { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: .2rem .2rem; }
.lx-faq summary { cursor: pointer; font-weight: 700; padding: .85rem 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 46px; align-items: center; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary::after { content: "+"; font-family: var(--display); font-size: 1.3rem; color: var(--brass); line-height: 1; }
.lx-faq details[open] summary::after { content: "–"; }
.lx-faq p { margin: 0 1rem 1rem; color: var(--ink-2); }

.lx-play { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.lx-play p { margin: 0; font-size: .92rem; color: var(--ink-3); max-width: 46ch; }

.lx-nextprev { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 2.4rem; }
.lx-nextprev a { display: block; padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); text-decoration: none; }
.lx-nextprev a:hover { border-color: var(--rule-2); }
.lx-nextprev span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lx-nextprev strong { font-family: var(--display); font-size: 1.05rem; }
@media (max-width: 620px) { .lx-nextprev { grid-template-columns: 1fr; } }

/* ——— floor plan (table) ——————————————————————————————————— */
.lx-controls { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; }
.lx-chip { font: inherit; font-size: .88rem; font-weight: 600; padding: .5rem .85rem; min-height: 40px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--panel); cursor: pointer; }
.lx-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lx-tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-l); background: var(--panel); box-shadow: var(--shadow); }
.lx-table { width: 100%; border-collapse: collapse; min-width: 880px; font-size: .94rem; }
.lx-table th, .lx-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.lx-table thead th { position: sticky; top: 0; background: var(--paper-2); font-family: var(--display); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); z-index: 1; }
.lx-table thead button { min-height: 40px; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; gap: .3rem; align-items: center; color: inherit; font-weight: 700; }
.lx-table thead button::after { content: "↕"; opacity: .45; font-size: .9em; }
.lx-table thead button[data-dir="asc"]::after { content: "↑"; opacity: 1; }
.lx-table thead button[data-dir="desc"]::after { content: "↓"; opacity: 1; }
.lx-table tbody tr:hover { background: var(--paper); }
.lx-table tbody tr:last-child td { border-bottom: 0; }
.lx-table td b { font-family: var(--display); font-variant-numeric: tabular-nums; }
.lx-table a.lx-tname { font-weight: 700; text-decoration: none; }
.lx-table a.lx-tname:hover { color: var(--brass); text-decoration: underline; }
.lx-empty { padding: 2rem 1rem; text-align: center; color: var(--ink-3); }

/* ——— picker ————————————————————————————————————————————— */
.lx-quiz { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.lx-quiz fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.lx-quiz legend { font-family: var(--display); font-weight: 700; font-size: 1.15rem; padding: 0; margin-bottom: .8rem; }
.lx-opts { display: flex; gap: .6rem; flex-wrap: wrap; }
.lx-opt { position: relative; }
.lx-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lx-opt span { display: block; padding: .7rem 1.05rem; min-height: 46px; display: flex; align-items: center; border: 1px solid var(--rule-2); border-radius: 999px; font-weight: 600; font-size: .93rem; background: var(--paper); }
.lx-opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lx-opt input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 3px; }
.lx-result { margin-top: 1.4rem; }
.lx-result__lead { font-weight: 600; color: var(--ink-2); margin-bottom: 1rem; }

/* ——— dark band sections ————————————————————————————————— */
.lx-dark { background: var(--night); color: var(--night-ink); }
.lx-dark h2, .lx-dark h3 { color: #fff; }
.lx-dark p { color: var(--night-ink-2); }
.lx-dark .lx-kicker { color: var(--brass-2); }
.lx-crit { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.lx-crit__item { border-top: 2px solid var(--night-rule); padding-top: 1rem; }
.lx-crit__item h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.lx-crit__item p { font-size: .92rem; margin: 0; }
.lx-crit__n { font-family: var(--display); font-size: .8rem; color: var(--brass-2); letter-spacing: .1em; }
@media (max-width: 900px) { .lx-crit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lx-crit { grid-template-columns: 1fr; } }

.lx-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.lx-feat { display: grid; grid-template-rows: auto 1fr; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.lx-feat img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lx-feat__in { padding: 1.2rem 1.3rem 1.4rem; }
.lx-feat h3 a { text-decoration: none; }
.lx-feat h3 a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 800px) { .lx-feature { grid-template-columns: 1fr; } }

/* ——— logbook ————————————————————————————————————————————— */
.lx-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.lx-log li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.lx-log time { font-family: var(--display); font-weight: 700; color: var(--brass); font-size: .95rem; }
.lx-log p { margin: .2rem 0 0; color: var(--ink-2); }
@media (max-width: 620px) { .lx-log li { grid-template-columns: 1fr; gap: .2rem; } }

/* ——— footer ————————————————————————————————————————————— */
.lx-foot { background: var(--night); color: var(--night-ink-2); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.4rem, 5vw, 3.6rem) 0 2rem; font-size: .94rem; }
.lx-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--gap); }
.lx-foot h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.lx-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.lx-foot a { color: var(--night-ink); text-decoration: none; }
.lx-foot a:hover { color: var(--brass-2); text-decoration: underline; }
.lx-foot__note { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--night-rule); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
.lx-foot__mark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: .7rem; }
@media (max-width: 1000px) { .lx-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lx-foot__grid { grid-template-columns: 1fr; } }

/* ——— cookie bar (only rendered when a tag id is configured) ——— */
.lx-consent { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1rem; z-index: 50; width: min(660px, calc(100% - 2rem)); background: var(--panel); border: 1px solid var(--rule-2); border-radius: var(--r-l); box-shadow: var(--shadow-lift); padding: 1.1rem 1.2rem; display: none; }
.lx-consent[data-show="1"] { display: block; }
.lx-consent p { font-size: .92rem; margin-bottom: .9rem; }
.lx-consent__row { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ——— 404 ————————————————————————————————————————————————— */
.lx-lost { text-align: center; padding: clamp(3rem, 9vw, 6rem) 0; }
.lx-lost h1 { font-size: clamp(3rem, 10vw, 6rem); }
.lx-lost p { max-width: 48ch; margin-inline: auto; color: var(--ink-2); }
.lx-lost .lx-hero__cta { justify-content: center; }

.lx-band--link { position: relative; transition: border-color .2s ease, transform .2s ease; }
.lx-band--link:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.lx-band--link h3 a { text-decoration: none; }
.lx-band--link h3 a::after { content: ""; position: absolute; inset: 0; }

/* ——— money section ———————————————————————————————————————— */
.lx-stamp { font-size: .86rem; color: var(--ink-3); border-left: 3px solid var(--brass); padding-left: .8rem; margin: 1rem 0 2rem; }
.lx-table--matrix { min-width: 720px; }
.lx-table--compact { min-width: 640px; }
.lx-table--matrix td:not(:first-child), .lx-table--matrix th:not(:first-child) { text-align: center; }
.lx-tick { display: inline-block; min-width: 4.6rem; font-size: .8rem; font-weight: 700; padding: .22rem .55rem; border-radius: 999px; border: 1px solid transparent; }
.lx-ok { background: #e6f3ee; color: #0d5b4a; border-color: #c4e2d6; }
.lx-no { background: #f7e9e6; color: #93301f; border-color: #eccbc3; }
.lx-part { background: #f5eddc; color: #7a5510; border-color: #e6d3aa; }
.lx-unk { background: var(--paper-2); color: var(--ink-3); border-color: var(--rule); }
.lx-sources { margin: .4rem 0 1.4rem; font-size: .88rem; }
.lx-sources summary { cursor: pointer; color: var(--ink-3); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.lx-sources ul { margin: .5rem 0 0; }
.lx-sources a { word-break: break-word; }
.lx-glossary { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: .6rem 1.2rem; margin: 0 0 1.6rem; }
.lx-glossary dt { font-weight: 700; }
.lx-glossary dd { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .lx-glossary { grid-template-columns: 1fr; gap: .15rem; } .lx-glossary dd { margin-bottom: .7rem; } }
.lx-cost { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 1.8rem 0; }
.lx-cost div { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 1rem 1.1rem; }
.lx-cost dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lx-cost dd { margin: .2rem 0 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
@media (max-width: 700px) { .lx-cost { grid-template-columns: 1fr; } }

/* small utilities, so no page needs an inline style (the CSP forbids them) */
.lx-mb2 { margin-bottom: 2rem; }
.lx-mb16 { margin-bottom: 1.6rem; }
.lx-my { margin: 1.6rem 0; }
.lx-plain { margin: 0; color: var(--ink-2); }
.lx-fine { margin-top: 1.2rem; color: var(--ink-3); font-size: .92rem; }
/* generated: bar widths and dial values (tools/build.py appends them) */

@media print { .lx-head, .lx-foot, .lx-consent { display: none; } body { background: #fff; } }

.lx-w-0{width:0%}.lx-v-0{--val:0}
.lx-w-1{width:1%}.lx-v-1{--val:1}
.lx-w-2{width:2%}.lx-v-2{--val:2}
.lx-w-3{width:3%}.lx-v-3{--val:3}
.lx-w-4{width:4%}.lx-v-4{--val:4}
.lx-w-5{width:5%}.lx-v-5{--val:5}
.lx-w-6{width:6%}.lx-v-6{--val:6}
.lx-w-7{width:7%}.lx-v-7{--val:7}
.lx-w-8{width:8%}.lx-v-8{--val:8}
.lx-w-9{width:9%}.lx-v-9{--val:9}
.lx-w-10{width:10%}.lx-v-10{--val:10}
.lx-w-11{width:11%}.lx-v-11{--val:11}
.lx-w-12{width:12%}.lx-v-12{--val:12}
.lx-w-13{width:13%}.lx-v-13{--val:13}
.lx-w-14{width:14%}.lx-v-14{--val:14}
.lx-w-15{width:15%}.lx-v-15{--val:15}
.lx-w-16{width:16%}.lx-v-16{--val:16}
.lx-w-17{width:17%}.lx-v-17{--val:17}
.lx-w-18{width:18%}.lx-v-18{--val:18}
.lx-w-19{width:19%}.lx-v-19{--val:19}
.lx-w-20{width:20%}.lx-v-20{--val:20}
.lx-w-21{width:21%}.lx-v-21{--val:21}
.lx-w-22{width:22%}.lx-v-22{--val:22}
.lx-w-23{width:23%}.lx-v-23{--val:23}
.lx-w-24{width:24%}.lx-v-24{--val:24}
.lx-w-25{width:25%}.lx-v-25{--val:25}
.lx-w-26{width:26%}.lx-v-26{--val:26}
.lx-w-27{width:27%}.lx-v-27{--val:27}
.lx-w-28{width:28%}.lx-v-28{--val:28}
.lx-w-29{width:29%}.lx-v-29{--val:29}
.lx-w-30{width:30%}.lx-v-30{--val:30}
.lx-w-31{width:31%}.lx-v-31{--val:31}
.lx-w-32{width:32%}.lx-v-32{--val:32}
.lx-w-33{width:33%}.lx-v-33{--val:33}
.lx-w-34{width:34%}.lx-v-34{--val:34}
.lx-w-35{width:35%}.lx-v-35{--val:35}
.lx-w-36{width:36%}.lx-v-36{--val:36}
.lx-w-37{width:37%}.lx-v-37{--val:37}
.lx-w-38{width:38%}.lx-v-38{--val:38}
.lx-w-39{width:39%}.lx-v-39{--val:39}
.lx-w-40{width:40%}.lx-v-40{--val:40}
.lx-w-41{width:41%}.lx-v-41{--val:41}
.lx-w-42{width:42%}.lx-v-42{--val:42}
.lx-w-43{width:43%}.lx-v-43{--val:43}
.lx-w-44{width:44%}.lx-v-44{--val:44}
.lx-w-45{width:45%}.lx-v-45{--val:45}
.lx-w-46{width:46%}.lx-v-46{--val:46}
.lx-w-47{width:47%}.lx-v-47{--val:47}
.lx-w-48{width:48%}.lx-v-48{--val:48}
.lx-w-49{width:49%}.lx-v-49{--val:49}
.lx-w-50{width:50%}.lx-v-50{--val:50}
.lx-w-51{width:51%}.lx-v-51{--val:51}
.lx-w-52{width:52%}.lx-v-52{--val:52}
.lx-w-53{width:53%}.lx-v-53{--val:53}
.lx-w-54{width:54%}.lx-v-54{--val:54}
.lx-w-55{width:55%}.lx-v-55{--val:55}
.lx-w-56{width:56%}.lx-v-56{--val:56}
.lx-w-57{width:57%}.lx-v-57{--val:57}
.lx-w-58{width:58%}.lx-v-58{--val:58}
.lx-w-59{width:59%}.lx-v-59{--val:59}
.lx-w-60{width:60%}.lx-v-60{--val:60}
.lx-w-61{width:61%}.lx-v-61{--val:61}
.lx-w-62{width:62%}.lx-v-62{--val:62}
.lx-w-63{width:63%}.lx-v-63{--val:63}
.lx-w-64{width:64%}.lx-v-64{--val:64}
.lx-w-65{width:65%}.lx-v-65{--val:65}
.lx-w-66{width:66%}.lx-v-66{--val:66}
.lx-w-67{width:67%}.lx-v-67{--val:67}
.lx-w-68{width:68%}.lx-v-68{--val:68}
.lx-w-69{width:69%}.lx-v-69{--val:69}
.lx-w-70{width:70%}.lx-v-70{--val:70}
.lx-w-71{width:71%}.lx-v-71{--val:71}
.lx-w-72{width:72%}.lx-v-72{--val:72}
.lx-w-73{width:73%}.lx-v-73{--val:73}
.lx-w-74{width:74%}.lx-v-74{--val:74}
.lx-w-75{width:75%}.lx-v-75{--val:75}
.lx-w-76{width:76%}.lx-v-76{--val:76}
.lx-w-77{width:77%}.lx-v-77{--val:77}
.lx-w-78{width:78%}.lx-v-78{--val:78}
.lx-w-79{width:79%}.lx-v-79{--val:79}
.lx-w-80{width:80%}.lx-v-80{--val:80}
.lx-w-81{width:81%}.lx-v-81{--val:81}
.lx-w-82{width:82%}.lx-v-82{--val:82}
.lx-w-83{width:83%}.lx-v-83{--val:83}
.lx-w-84{width:84%}.lx-v-84{--val:84}
.lx-w-85{width:85%}.lx-v-85{--val:85}
.lx-w-86{width:86%}.lx-v-86{--val:86}
.lx-w-87{width:87%}.lx-v-87{--val:87}
.lx-w-88{width:88%}.lx-v-88{--val:88}
.lx-w-89{width:89%}.lx-v-89{--val:89}
.lx-w-90{width:90%}.lx-v-90{--val:90}
.lx-w-91{width:91%}.lx-v-91{--val:91}
.lx-w-92{width:92%}.lx-v-92{--val:92}
.lx-w-93{width:93%}.lx-v-93{--val:93}
.lx-w-94{width:94%}.lx-v-94{--val:94}
.lx-w-95{width:95%}.lx-v-95{--val:95}
.lx-w-96{width:96%}.lx-v-96{--val:96}
.lx-w-97{width:97%}.lx-v-97{--val:97}
.lx-w-98{width:98%}.lx-v-98{--val:98}
.lx-w-99{width:99%}.lx-v-99{--val:99}
.lx-w-100{width:100%}.lx-v-100{--val:100}
