/* v3 (2026-10-06): the short site. Adds only what v2.css lacks. */
.frame { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shots.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .shots.two { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shotcap b { color: var(--text, inherit); font-weight: 600; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; list-style: none; margin: 0; padding: 0; }
.points li { border-top: 1px solid var(--line); padding: 16px 0 20px; }
.points b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
.points span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 880px) { .points { grid-template-columns: 1fr; } }
.price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.price .n { font-size: clamp(3.2rem, 9vw, 6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price .u { font: 500 13px/1.4 var(--mono); color: var(--muted); }
.strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.strip h2 { margin: 0; }
.docs { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; align-items: start; }
.toc { position: sticky; top: 76px; display: grid; gap: 7px; font-size: 13.5px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: inherit; }
.doc { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.doc:last-child { border-bottom: 0; }
.doc h2 { margin: 0 0 14px; }
.doc .spec { margin-bottom: 20px; max-width: 760px; }
pre.cmd { font: 500 12.5px/1.7 var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 0 0 18px; max-width: 760px; }
@media (max-width: 880px) { .docs { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; grid-auto-flow: column; overflow-x: auto; gap: 16px; } }
.foot .cline a { display: inline; margin-right: 16px; }
.sect > .wrap > h2 { margin-bottom: 18px; }

/* Documentation chapters: the one place the site is allowed to be long. */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.chapters li { border-top: 1px solid var(--line); padding: 18px 0 22px; display: grid; gap: 4px; }
.chapters a { text-decoration: none; font-size: 19px; letter-spacing: -.01em; }
.chapters a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.chapters span { color: var(--muted); }
.chapters small { font: 400 12px/1.6 var(--mono); color: var(--dim); }
@media (max-width: 880px) { .chapters { grid-template-columns: 1fr; } }
.prose { min-width: 0; max-width: 820px; font-size: 15px; line-height: 1.65; }
.prose h2 { font-size: 24px; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 16.5px; font-weight: 600; margin: 28px 0 8px; }
.prose p { margin: 0 0 12px; max-width: 74ch; }
.prose .spec { margin: 0 0 18px; }
.prose .spec li { grid-template-columns: 200px 1fr; }
.prose .spec .v { font-size: 14.5px; }
.prose .tblwrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 8px; }
.prose table.tbl { font-size: 13.5px; }
.prose code { font: 500 12.5px var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose pre.cmd { white-space: pre; max-width: none; }
.prose pre.cmd code { background: none; border: 0; padding: 0; }
.prose ol.steps { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 6px; }
.prose p.note { border-left: 3px solid var(--line-2, var(--line)); padding: 6px 0 6px 14px; color: var(--muted); }
.prose .shots { margin: 6px 0 22px; }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none !important; }
.toc { max-height: calc(100vh - 100px); overflow-y: auto; }
@media (max-width: 560px) { .prose .spec li { grid-template-columns: 1fr; } }

/* User guide (2026-10-12): a screenshot and its "Box / button → what it does" table in one frame. */
.guide .prose { max-width: 900px; }
.screen { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 10px 0 28px; background: var(--bg); }
.screen figure.gshot { margin: 0; border-bottom: 1px solid var(--line); }
.screen .frame { border: 0; border-radius: 0; }
.screen .frame img { aspect-ratio: auto; object-fit: contain; }
.screen .shotcap { display: block; padding: 8px 14px; font: 400 12px/1.5 var(--mono); color: var(--muted); border-top: 1px solid var(--line); background: var(--bg-2); }
table.boxes { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
table.boxes thead th { font: 500 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
table.boxes tbody th { text-align: left; vertical-align: top; width: 32%; font-weight: 600; padding: 10px 14px; }
table.boxes td { vertical-align: top; padding: 10px 14px; color: var(--text); }
table.boxes tbody tr + tr { border-top: 1px solid var(--line); }
table.boxes td code, table.boxes th code { font-size: 12px; }
.screen.noshot table.boxes thead th { border-top: 0; }
@media (max-width: 640px) {
  .guide .wrap { width: calc(100% - 32px); }
  table.boxes thead { display: none; }
  table.boxes, table.boxes tbody, table.boxes tr, table.boxes th, table.boxes td { display: block; width: auto; }
  table.boxes tbody th { padding: 12px 14px 2px; }
  table.boxes td { padding: 0 14px 12px; color: var(--muted); }
}
/* Guide index: one card per page, grouped by console. */
.ghead { font-size: 19px; margin: 26px 0 2px; }
.gsub { color: var(--muted); margin: 0 0 14px; }
.gcards { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gcards a { display: grid; gap: 4px; height: 100%; padding: 0 0 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; background: var(--bg); }
.gcards a:hover { border-color: var(--line-2); }
.gcards a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.gthumb { display: block; aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.gthumb img { display: block; width: 100%; height: auto; }
.gcards b { font-size: 16px; font-weight: 600; padding: 0 14px; }
.gcards span:not(.gthumb) { color: var(--muted); font-size: 14px; padding: 0 14px; }
@media (max-width: 880px) { .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gcards { grid-template-columns: 1fr; } }
.ops .kick, .ref .kick { font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px; }
.ops p { color: var(--muted); }
.gthumb.none { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 14px; }
.gthumb.none i { font: 400 11.5px/1.5 var(--mono); font-style: normal; color: var(--dim); }
@media (max-width: 640px) { table.boxes tbody th { width: auto; } }
@media (max-width: 880px) { .toc a { white-space: nowrap; } }

/* screenshot modal (lightbox.js) */
html.lb-open { overflow: hidden; }
a.frame { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr; align-items: center;
  background: rgba(10, 12, 18, .86); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.lb.in { opacity: 1; }
.lb[hidden] { display: none; }
.lb-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 14px 18px; color: #e9ecf3; font-size: 14px; }
.lb-count { font: 500 12px var(--mono); color: #a2a9b8; min-width: 48px; }
.lb-cap { flex: 1; } .lb-cap b { font-weight: 600; }
.lb-x { width: 40px; height: 40px; border-radius: 10px; color: #fff; background: rgba(255,255,255,.1); font-size: 16px; }
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-fig { margin: 0; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 0 24px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 10px; background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.985); transition: transform .2s ease, opacity .2s ease; }
.lb.in .lb-img { transform: none; }
.lb.loading .lb-img { opacity: .4; }
.lb-nav { justify-self: center; width: 44px; height: 64px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.1); font-size: 30px; line-height: 1; }
.lb-nav[hidden] { visibility: hidden; }
@media (max-width: 640px) {
  .lb { grid-template-columns: 0 1fr 0; }
  .lb-nav { position: fixed; bottom: 18px; width: 52px; height: 44px; font-size: 24px; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .lb-fig { padding: 0 10px 76px; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb-img { transition: none; } }

/* install / sponsor / contribute (2026-10-12) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.wform { display: grid; gap: 14px; max-width: 520px; margin-top: 14px; }
.wform.wide { grid-template-columns: 1fr 1fr; max-width: none; }
.wform .full, .wform.wide button, .wform.wide .wmsg { grid-column: 1 / -1; }
.wform label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
.wform label small { color: var(--dim); font-weight: 400; }
.wform input, .wform select, .wform textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); color: var(--text); }
.wform input:focus, .wform select:focus, .wform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.wform .chk { display: flex; align-items: center; gap: 9px; font-weight: 400; }
.wform .chk input { width: 18px; height: 18px; }
.wform button { justify-self: start; padding: 13px 22px; font-size: 15px; }
.wmsg { min-height: 1.4em; font-size: 14px; } .wmsg.ok { color: var(--ok); } .wmsg.err { color: var(--fail); }
.steps2 { list-style: none; counter-reset: s; margin: 14px 0 18px; padding: 0; display: grid; gap: 12px; }
.steps2 li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.steps2 li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.steps2 span { color: var(--muted); }
pre.cmd .dim { color: var(--dim); }
.offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.offer > div { padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.offer .found-box { border-color: var(--accent); background: var(--accent-soft); }
.offer .big { font-size: 46px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: 8px 0; }
.offer .big span { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.price-x .found { margin-top: -12px; color: var(--accent-ink); font-size: 15px; }
@media (max-width: 760px) { .two-col, .offer, .wform.wide { grid-template-columns: 1fr; } }
.built { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.built a { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none !important; transition: border-color .2s ease, background .2s ease; }
.built a:hover { border-color: var(--accent); background: var(--accent-soft); }
.built b { font-weight: 600; } .built span { color: var(--muted); font-size: 13.5px; }
.tbl.cmp th[scope="row"] { font-weight: 600; white-space: nowrap; }
.tbl.cmp .oz { background: var(--accent-soft); }
.tbl.cmp thead .oz { color: var(--accent-ink); }
.tbl.cmp td.oz b { font-weight: 600; }
