/* a product page: the shell every app's page wears, its colours from the app's own sheet (lydia.css, site.css) */
:root { --bg: #0b0b0d; --rail: #101013; --panel: #141418; --raised: #1a1a1f; --line: #24242a; --text: #b9b9c3; --dim: #74747f; --bright: #f2f2f6; --ink: #e9e9ee; --green: #7ad69a; --hi: #efe6d8; --mark: #e0544a; --soft: rgba(224, 84, 74, .16); --glow: rgba(224, 84, 74, .4); --glow-faint: rgba(224, 84, 74, .22); --glow-strong: rgba(224, 84, 74, .45); --tab-glow: rgba(242, 242, 246, .35); --name-end: #f0b0a8; --edge: rgba(239, 230, 216, .03); --shot-top: #17171c; --faint: #4a4a53; --key-edge: #34343c; --thumb: #2c2c33; --bar: rgba(16, 16, 19, .94); --tip: rgba(20, 20, 24, .96); --spot-bg: rgba(11, 11, 13, .72); --card-edge: var(--line); --radius: 7px; --shot-radius: 8px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--mono); overflow-x: hidden; overflow-x: clip; }
a { color: var(--bright); text-decoration: none; }
/* jetbrains mono (ofl, server/fonts, sent beside this sheet), the site's one face; fields and buttons take it too */
@font-face { font-family: "JetBrains Mono"; src: url(jetbrains-mono.ttf) format("truetype"); font-weight: 100 800; font-display: swap; }
:root { --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }
button, input, select, textarea { font-family: inherit; }
code, kbd { font: 12.5px/1.4 var(--mono); }
code { color: var(--hi); }
.page { position: relative; display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; min-height: 100dvh; }
.hidden { display: none !important; }
.dim { color: var(--dim); }

/* the rail */
nav { background: var(--rail); padding: 28px 14px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; scrollbar-width: none; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px 26px; color: inherit; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.brand b { color: var(--bright); font-weight: 400; font-size: 20px; }
.brand small { display: block; color: var(--dim); font-size: 12px; }
.tab { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 12px; margin: 2px 0; border: 0; border-radius: 5px; background: none; color: var(--text); font: 14px/1.55 var(--mono); text-align: left; cursor: pointer; }
.tab small { margin-left: 10px; color: var(--dim); font-size: 10.5px; white-space: nowrap; }
.tab:hover { color: var(--bright); }
.tab.on { color: var(--bright); text-shadow: 0 0 12px var(--tab-glow); }
.tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: linear-gradient(var(--hi), var(--mark)); box-shadow: 0 0 8px var(--glow); transform: translateY(-50%); opacity: 0; transition: height .18s ease, opacity .18s ease; }
.tab.on::before { height: 60%; opacity: 1; }
.get { display: block; margin: 26px 6px 6px; padding: 10px 0; color: var(--bright); text-align: center; border-bottom: 1px solid var(--line); }
.get:hover { border-color: var(--mark); }
.line { margin: 0 6px; color: var(--dim); font-size: 12px; text-align: center; }

/* the pane */
main { padding: 34px clamp(16px, 4vw, 56px) 80px; max-width: 1180px; min-width: 0; }
h1 { margin: 0 0 4px; color: var(--bright); font-weight: 500; font-size: 30px; letter-spacing: -.03em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
h1 small, .head small { color: var(--dim); font-size: 13px; font-weight: 400; }
h2.head { margin: 40px 0 14px; color: var(--bright); font-weight: 400; font-size: 19px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.lead { margin: 0 0 26px; max-width: 640px; }
.card { border: 1px solid var(--card-edge); background: var(--panel); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 12px; }
.card h2 { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--bright); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.card h2 span { color: var(--dim); font-size: 12px; font-weight: 400; }
.card h2 .new { color: var(--green); }
.card p { margin: 0 0 6px; }
ul, ol { margin: 0; padding-left: 18px; }
li { margin: 2px 0; }
.row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row b { color: var(--bright); font-weight: 500; }
.card, .lead, li, .row span, .row b { overflow-wrap: anywhere; }
img { max-width: 100%; }

/* plain words that light up; no pills anywhere */
.act { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; }
.act a { color: var(--text); border-bottom: 1px solid transparent; padding: 2px 0; transition: color .15s ease, border-color .15s ease; }
.act a:hover { color: var(--bright); border-color: var(--dim); }
.act a.lit, a.lit { color: var(--bright); border-bottom: 1px solid var(--mark); }
.act a.lit:hover, a.lit:hover { color: var(--hi); text-shadow: 0 0 14px var(--glow-strong); }

/* a picture of a place, or its quiet frame until the picture is there */
.shot { position: relative; margin: 0; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--shot-radius); overflow: hidden; background: linear-gradient(transparent 0 calc(100% - 1px), rgba(255, 255, 255, .025) 0) 0 0 / 100% 24px, linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(255, 255, 255, .025) 0) 0 0 / 24px 100%, radial-gradient(120% 90% at 50% 0%, var(--shot-top), var(--panel)); }
.shot::before { content: attr(data-name); position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0 16px; color: var(--dim); font-size: 13px; text-align: center; }
.shot::after { content: "picture on its way"; position: absolute; left: 0; right: 0; top: calc(50% + 14px); color: var(--faint); font-size: 11px; text-align: center; }
.shot.has::before, .shot.has::after { content: none; }
.shot > img, .shot > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .35s ease; }
.shot.has > img, .shot.has > video { opacity: 1; }
.shot.wide { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--edge); }
.marked .shot, .group .shot { aspect-ratio: var(--ratio, 16 / 10); }

/* home */
.hero { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 34px; align-items: center; margin: 6px 0 10px; }
.hero .name { width: fit-content; font-size: clamp(40px, 5vw, 64px); margin: 0; letter-spacing: -.05em; background: linear-gradient(100deg, var(--bright), var(--hi) 55%, var(--name-end)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 8px 0 0; }
.hero .shot { animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 18px 22px; margin: 0 0 30px; }
.places b { display: block; margin: 0 0 6px; padding-left: 10px; color: var(--dim); font-size: 12px; font-weight: 400; }
.places a { display: block; padding: 3px 0 3px 10px; border-left: 2px solid var(--line); color: var(--text); font-size: 14px; transition: border-color .15s ease, color .15s ease; }
.places a:hover { color: var(--bright); border-color: var(--mark); }
.places .soon { display: block; padding: 3px 0 3px 10px; border-left: 2px solid var(--line); color: var(--dim); font-size: 14px; }
.places .soon small { font-size: 12px; opacity: .7; }

/* features */
.jump { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 28px; font-size: 13px; }
.jump a { color: var(--dim); }
.jump a:hover { color: var(--bright); }
.jump b { flex-basis: 100%; margin: 8px 0 0; color: var(--text); font-size: 12px; font-weight: 400; }
.jump b:first-child { margin-top: 0; }
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.group .shot { align-self: start; position: sticky; top: 20px; }
.group h2 { margin: 0 0 2px; color: var(--bright); font-weight: 400; font-size: 20px; }
.group .line2 { margin: 0 0 12px; color: var(--dim); }
.group .row { grid-template-columns: 140px 1fr; padding: 7px 0; font-size: 14px; }
.group .row:last-child { border-bottom: 0; }
.group h3 { margin: 22px 0 2px; color: var(--hi); font-weight: 500; font-size: 15px; }
.group h2 + h3 { margin-top: 8px; }
.group .more { margin: 14px 0 0; color: var(--dim); font-size: 13px; }
.group .more a { color: var(--text); border-bottom: 1px solid var(--line); }
.group .more a:hover { color: var(--bright); border-color: var(--mark); }
.section-head { margin: 34px 0 0; color: var(--dim); font-size: 12px; font-weight: 400; }

/* the manual */
.find { margin: 14px 0 18px; max-width: 520px; }
.find input { width: 100%; padding: 8px 2px; color: var(--bright); background: transparent; border: 0; border-bottom: 1px solid var(--line); font: inherit; outline: none; }
.find input:focus { border-color: var(--mark); }
.find input::placeholder { color: var(--dim); }
.book { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; }
.chapters { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--thumb) transparent; }
.chapters::-webkit-scrollbar { width: 3px; height: 3px; }
.chapters::-webkit-scrollbar-thumb { background: var(--thumb); border-radius: 3px; }
.chapters button { position: relative; display: block; width: 100%; padding: 6px 10px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.chapters button:hover { color: var(--bright); }
.chapters button.on { color: var(--bright); }
.chapters button::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--mark); transform: translateY(-50%); transition: height .15s ease; }
.chapters button.on::before { height: 60%; }
.chapters .sep { margin: 12px 10px 4px; color: var(--dim); font-size: 11px; }
.leaf h2 { margin: 0; color: var(--bright); font-weight: 400; font-size: 24px; }
.leaf > .line2 { margin: 2px 0 16px; color: var(--dim); }
.leaf h3 { margin: 26px 0 8px; color: var(--bright); font-weight: 500; font-size: 15px; }
.marked { position: relative; overflow: hidden; border-radius: var(--shot-radius); }
.spot { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0; border: 1.5px solid var(--hi); border-radius: 50%; background: var(--spot-bg); color: var(--hi); font: 600 11px/21px system-ui, sans-serif; text-align: center; cursor: pointer; box-shadow: 0 0 0 4px var(--glow-faint); transition: background .15s ease, transform .15s ease, box-shadow .15s ease; z-index: 1; }
.spot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--mark); opacity: 0; animation: ring 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * .3s); }
.spot:hover, .spot:focus-visible, .spot.on { background: var(--mark); border-color: var(--mark); color: #fff; transform: scale(1.12); outline: none; }
@keyframes ring { 0% { opacity: .7; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.tip { position: absolute; z-index: 3; width: min(280px, calc(100% - 16px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tip); box-shadow: 0 14px 40px rgba(0, 0, 0, .6); color: var(--text); font-size: 13px; line-height: 1.45; pointer-events: none; overflow-wrap: anywhere; }
.tip.sheet { position: fixed; left: 16px; right: 16px; top: auto; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 44px); width: auto; z-index: 96; }
.tip b { display: block; color: var(--bright); font-weight: 500; }
.legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.legend li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 7px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 14px; cursor: default; }
.legend li i { font-style: normal; color: var(--mark); font-weight: 600; font-size: 12px; padding-top: 1px; }
.legend li b { color: var(--bright); font-weight: 500; }
.legend li.on b { color: var(--hi); }
.legend li.on i { color: var(--hi); }
.legend.plain li { cursor: auto; }
.legend.plain li i { color: var(--dim); }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.job { border: 1px solid var(--card-edge); background: var(--panel); border-radius: var(--radius); padding: 12px 16px; }
.job b { display: block; color: var(--bright); font-weight: 500; margin: 0 0 6px; }
.job ol { list-style: none; counter-reset: step; padding: 0; }
.job li { counter-increment: step; position: relative; padding-left: 24px; font-size: 14px; margin: 4px 0; }
.job li::before { content: counter(step); position: absolute; left: 0; top: 0; color: var(--mark); font-weight: 600; font-size: 12px; line-height: 21px; }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { background: var(--soft); } 100% { background: transparent; } }

/* keys and commands */
.table { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 0 22px; margin: 0 0 6px; }
.table > div { display: contents; }
.table > div > * { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.table code { color: var(--hi); }
kbd { display: inline-block; min-width: 20px; padding: 1px 6px; margin: 1px 0; border: 1px solid var(--key-edge); border-bottom-width: 2px; border-radius: 4px; background: var(--raised); color: var(--bright); font-size: 12px; text-align: center; white-space: nowrap; }
.or { color: var(--dim); font-size: 12px; margin: 0 4px; }
.plus { color: var(--dim); margin: 0 1px; }
.keys h2, .cmds h2 { margin: 28px 0 8px; color: var(--bright); font-weight: 400; font-size: 17px; }
.keys h2 small, .cmds h2 small { color: var(--dim); font-size: 12px; margin-left: 8px; }
.none { color: var(--dim); padding: 10px 0; }
.notes { margin: 0 0 8px; padding-left: 18px; max-width: 760px; }
mark { background: var(--soft); color: var(--bright); border-radius: 2px; }
.hits .hit { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.hits .hit small { display: block; color: var(--dim); font-size: 12px; }
.hits .hit span { color: var(--text); font-size: 14px; }
.hits .hit:hover span { color: var(--bright); }

/* the gate */
.gate { border: 1px solid var(--card-edge); background: var(--panel); border-radius: var(--shot-radius); padding: 18px 20px; margin: 0 0 10px; max-width: 760px; }
.gate h2 { margin: 0 0 4px; color: var(--bright); font-weight: 400; font-size: 19px; }
.gate p { margin: 4px 0; }
.gate .act { margin-top: 14px; }
.gate .good { color: var(--green); }
.gate ol { margin: 10px 0 0; }

/* being built: how far each is, a hair of a bar */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: 0 0 10px; }
.plan h2 { justify-content: space-between; }
.plan .far { color: var(--hi); font-size: 12px; font-weight: 500; }
.plan .bar { height: 2px; margin: 2px 0 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.plan .bar i { display: block; height: 100%; width: var(--done, 0%); background: linear-gradient(90deg, var(--hi), var(--mark)); }
.plan p { font-size: 14px; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; margin: 0 0 10px; }
.ideas .row { grid-template-columns: 1fr; gap: 2px; }
.tag { margin-left: 6px; font-size: 11px; font-weight: 400; white-space: nowrap; color: var(--dim); }
.tag[data-hue="amber"] { color: #e0a050; } .tag[data-hue="blue"] { color: #6fa8f0; } .tag[data-hue="teal"] { color: #4fc8b8; } .tag[data-hue="rose"] { color: #f07a9a; }
.tag[data-hue="green"] { color: #7ad69a; } .tag[data-hue="orchid"] { color: #d08ae8; } .tag[data-hue="slate"] { color: #9aa4b8; }
.lines { list-style: none; padding: 0; }
.lines li { padding: 6px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lines li:last-child { border-bottom: 0; }
.older { border: 0; background: none; color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }
.older:hover { color: var(--bright); }

/* privacy: plain words, sorted by what happens to them */
.kinds { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 22px; font-size: 14px; }
.kinds button { position: relative; padding: 4px 0; border: 0; background: none; color: var(--dim); font: inherit; cursor: pointer; }
.kinds button:hover { color: var(--bright); }
.kinds button.on { color: var(--bright); }
.kinds button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mark); transform: scaleX(0); transition: transform .15s ease; }
.kinds button.on::after { transform: none; }
.kinds button small { margin-left: 4px; color: var(--dim); font-size: 11px; }
.never { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.never li { position: relative; margin: 0; padding: 8px 0 8px 18px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.never li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 1px; background: var(--mark); }
.said { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin: 0 0 12px; }
.said .card { margin: 0; }
.said .card h2 small { color: var(--dim); font-size: 11px; font-weight: 400; }
.said .card p { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; margin: 0; padding: 5px 0; border-top: 1px solid var(--line); font-size: 13.5px; overflow-wrap: anywhere; }
.said .card p:first-of-type { border-top: 0; }
.said .card p i { font-style: normal; color: var(--dim); font-size: 11px; padding-top: 2px; }
.said .card p[data-kind="off"] i, .said .switch i { color: var(--hi); }
.said .switch { margin: 8px 0 0; padding: 8px 10px; border-left: 2px solid var(--mark); background: var(--soft); border-radius: 0 4px 4px 0; font-size: 13px; overflow-wrap: anywhere; }
.said .switch i { font-style: normal; display: block; font-size: 11px; }
.fold { margin: 22px 0 0; }
.fold > summary { cursor: pointer; color: var(--bright); font-size: 17px; font-weight: 400; list-style: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "+"; display: inline-block; width: 18px; color: var(--mark); }
.fold[open] > summary::before { content: "\2212"; }
.fold > summary small { color: var(--dim); font-size: 12px; margin-left: 8px; }
.fold > .said { margin-top: 14px; }

/* a gallery of what it made */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 20px; }
.gallery .shot { aspect-ratio: 16 / 9; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: var(--bright); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.gallery .shot.has figcaption { opacity: 1; }

/* a phone and a tablet: nothing wider than the screen */
@media (max-width: 1100px) and (min-width: 721px) {
  .page { grid-template-columns: 190px 1fr; }
  nav { padding: 24px 10px; }
  .tab small { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .group { grid-template-columns: 1fr; }
  .group .shot { position: relative; top: 0; }
  .book { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  nav, .tabs { min-width: 0; }
  nav { position: sticky; top: 0; z-index: 5; height: auto; overflow: visible; background: var(--bar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: max(12px, env(safe-area-inset-top)) 16px 6px; }
  nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: inherit; pointer-events: none; }
  .brand { margin: 0 2px 8px; }
  .tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .tab { width: auto; white-space: nowrap; padding: 8px 10px; }
  .tab small { display: none; }
  .tab::before { left: 50%; top: auto; bottom: 0; width: 0; height: 2px; transform: translateX(-50%); transition: width .18s ease, opacity .18s ease; }
  .tab.on::before { width: 50%; height: 2px; }
  .get, .line { display: none; }
  main { padding: 18px 16px max(60px, env(safe-area-inset-bottom)); }
  h1 { font-size: 24px; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero .name { font-size: clamp(44px, 14vw, 60px); }
  .row, .group .row { grid-template-columns: 1fr; gap: 2px; }
  .group { grid-template-columns: 1fr; gap: 14px; }
  .group .shot { position: relative; top: 0; }
  .book { grid-template-columns: 1fr; gap: 12px; }
  .chapters { position: relative; top: 0; display: flex; gap: 2px; overflow-x: auto; max-height: none; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
  .chapters button { width: auto; white-space: nowrap; padding: 6px 9px; }
  .chapters button::before { left: 50%; top: auto; bottom: 0; width: 0; height: 2px; transform: translateX(-50%); transition: width .15s ease; }
  .chapters button.on::before { width: 60%; height: 2px; }
  .chapters .sep { display: none; }
  .spot { width: 22px; height: 22px; margin: -11px 0 0 -11px; line-height: 19px; font-size: 10px; }
  .table { gap: 0 14px; }
  .card { padding: 12px 14px; }
  .said, .plans { grid-template-columns: minmax(0, 1fr); }
  .said .card p { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 480px) {
  .table { grid-template-columns: 1fr; }
  .table > div > :first-child { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .shot, .spot::after, .flash { animation: none; }
  .tab::before, .chapters button::before, .shot > img, .shot > video, .spot, .act a, .places a, .kinds button::after, .gallery figcaption { transition: none; }
}
.gesture { color: var(--hi); font-size: 13px; }
.table code { overflow-wrap: anywhere; }
main { overflow-wrap: break-word; }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.first { list-style: none; counter-reset: first; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.first li { counter-increment: first; position: relative; margin: 0; padding: 12px 14px 12px 46px; border: 1px solid var(--card-edge); border-radius: var(--radius); background: var(--panel); font-size: 14px; }
.first li::before { content: counter(first); position: absolute; left: 14px; top: 9px; color: var(--mark); font-size: 22px; font-weight: 300; }
.first b { display: block; color: var(--bright); font-weight: 500; }
.group.bare { grid-template-columns: minmax(0, 1fr); }
.group.bare > div { max-width: 760px; }

/* passes: a pass and a way picked as plain words, an order with its code and its qr code */
#pay { max-width: 760px; margin: 0 0 10px; }
#pay .good { color: var(--green); }
#pay .bad { color: var(--mark); }
#pay .small { font-size: 12px; }
#pay .act span { margin-left: 14px; font-size: 13px; }
.vipnow { margin: 0 0 10px; color: var(--text); }
.passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 20px; margin: 0 0 14px; }
.pass { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; min-width: 0; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; }
.pass b { color: var(--bright); font-weight: 400; white-space: nowrap; }
.pass span { margin-left: auto; color: var(--dim); white-space: nowrap; }
button.pass { cursor: pointer; transition: border-color .15s ease; }
button.pass:hover b, button.pass.on b, button.pass.on span { color: var(--hi); }
button.pass.on { border-bottom-color: var(--mark); }
.pass s { margin-right: 4px; color: var(--dim); opacity: .7; }
.pass.held { opacity: .5; }
.pass b i { display: block; color: var(--dim); font-size: .85em; font-style: normal; }
/* bundles: a name, its parts' marks each with its tip, its lengths side by side, each price a pass to pick */
.bundles-head { margin-top: 18px; }
.bundles { display: grid; gap: 12px; margin: 0 0 14px; }
.bundle p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; }
.bundle p b { color: var(--bright); font-weight: 400; }
.bundle em { color: var(--hi); font-size: 11px; font-style: normal; }
.bundle.fits b { color: var(--hi); }
.parts { display: inline-flex; gap: 3px; }
.parts img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; opacity: .85; }
.prices { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.price { display: grid; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-variant-numeric: tabular-nums; text-align: left; opacity: .7; cursor: pointer; transition: opacity .25s, color .25s; }
.price small { color: var(--dim); font-size: 10.5px; }
.price s { margin-right: 3px; color: var(--dim); }
.price:hover { opacity: 1; }
.price.on { color: var(--hi); opacity: 1; }
.price.held { color: var(--dim); font-size: 12px; cursor: default; }
.part-tip { position: relative; display: inline-flex; cursor: help; outline: none; }
.part-tip .tip { position: absolute; left: -4px; bottom: calc(100% + 8px); z-index: 5; display: grid; gap: 1px; width: max-content; max-width: 170px; padding: 6px 9px; border-radius: 8px; background: rgba(16, 12, 24, .92); backdrop-filter: blur(10px); color: var(--dim); font-size: 11.5px; font-weight: 400; line-height: 1.35; text-align: left; white-space: normal; opacity: 0; transform: translateY(3px); pointer-events: none; transition: opacity .2s, transform .2s; }
.part-tip .tip b { color: var(--bright); font-size: 12.5px; font-weight: 400; }
.part-tip img[src*="moxie_site"] { transform: scale(1.7) translateY(4%); }
.part-tip:hover .tip, .part-tip:focus .tip, .part-tip.open .tip { opacity: 1; transform: none; }
.off { margin: 8px 0 0; }
.ways { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 12px; font-size: 14px; }
.way { position: relative; padding: 4px 0; border: 0; background: none; color: var(--dim); font: inherit; cursor: pointer; }
.way:hover, .way.on { color: var(--bright); }
.way::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mark); transform: scaleX(0); transition: transform .15s ease; }
.way.on::after { transform: none; }
.way small { margin-left: 5px; color: var(--dim); font-size: 11px; }
.order { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; margin: 14px 0; padding: 16px 18px; border: 1px solid var(--card-edge); border-radius: var(--shot-radius); background: var(--panel); }
.order .say { min-width: 0; }
.order h2 { margin: 0 0 6px; color: var(--bright); font-weight: 400; font-size: 18px; }
.order h2 small { margin-left: 6px; color: var(--dim); font-size: 12px; }
.order p { margin: 4px 0; overflow-wrap: anywhere; }
.order code { word-break: break-all; color: var(--bright); }
.order .code { color: var(--hi); font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.order canvas.qr { display: block; width: 172px; height: 172px; border-radius: 4px; image-rendering: pixelated; }
.order .paid { display: grid; gap: 8px; margin: 12px 0 0; }
.order input { box-sizing: border-box; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); color: var(--bright); font: inherit; font-size: 14px; }
.order input:focus { outline: none; border-color: var(--mark); }
.state { font-style: normal; color: var(--dim); }
.state[data-state="paid"] { color: var(--green); }
.state[data-state="waiting"] { color: var(--hi); }
.state[data-state="refused"], .state[data-state="refunded"], .state[data-state="disputed"] { color: var(--mark); }
#pay .row b small { margin-left: 6px; color: var(--dim); font-size: 11px; font-weight: 400; }
#pay .row .refund { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 8px 0 0; }
#pay .row .refund input { box-sizing: border-box; flex: 1 1 200px; min-width: 0; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--bright); font: inherit; font-size: 14px; }
#pay .row .refund input:focus { outline: none; border-color: var(--mark); }
/* a code at checkout: a quiet ask, then one underlined field with plain words beside it */
#pay .ask-code { margin: 4px 0 12px; font-size: 13px; }
#pay .ask-code a { color: var(--dim); transition: color .15s ease; }
#pay .ask-code a:hover { color: var(--bright); }
#pay .promo { display: flex; align-items: baseline; gap: 14px; max-width: 360px; margin: 4px 0 0; }
#pay .promo input { box-sizing: border-box; flex: 1 1 auto; min-width: 0; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--bright); font: inherit; font-size: 14px; letter-spacing: .06em; }
#pay .promo input:focus { outline: none; border-color: var(--mark); }
#pay .promo a { flex: none; color: var(--dim); font-size: 14px; transition: color .15s ease; }
#pay .promo a:hover { color: var(--bright); }
#pay .promo a.lit { color: var(--hi); }
#pay .coded { margin: 8px 0 0; font-variant-numeric: tabular-nums; }
#pay .coded s { margin-right: 6px; color: var(--dim); }
#pay .coded b { color: var(--hi); font-weight: 400; }
#pay .quiet { margin: 6px 0 0; color: var(--mark); font-size: 13px; opacity: .85; }
#pay .coded-by { color: var(--hi); }
#pay .row .coded-by { grid-column: 2; font-size: 13px; }
.terms { margin: 16px 0 0; }
.terms summary { color: var(--text); cursor: pointer; }
.terms summary:hover { color: var(--bright); }
.terms p { color: var(--dim); font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .order { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .order canvas.qr { justify-self: center; }
  #pay .act span { display: block; margin: 6px 0 0; }
  #pay .row .coded-by { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .way::after, button.pass { transition: none; }
}
