/* PairPerps · look A "Slash" (DESIGN.md). Near-black ground, one signal orange for the action, longs and moves up, with
   dark text on it; a cool blue for shorts and moves down; red only for errors and liquidation. The object is a paper order
   slip. Funnel Display for headlines and the pair, Funnel Sans for text and every figure, Martian Mono for labels. All three
   self-hosted, OFL 1.1 (licences beside the files). */
@font-face { font-family: "Funnel Display"; src: url(/assets/fonts/FunnelDisplay-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url(/assets/fonts/FunnelDisplay-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(/assets/fonts/FunnelSans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(/assets/fonts/FunnelSans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(/assets/fonts/FunnelSans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(/assets/fonts/FunnelSans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(/assets/fonts/MartianMono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(/assets/fonts/MartianMono-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b0b0c; --panel: #141416; --panel-2: #1b1b1e; --deep: #070708;
  --line: #222226; --line-2: #34343a;
  --ink: #f4f3f1; --ink-2: #a9a8ad; --mute: #6d6c72;
  --acc: #ff6a1a; --acc-hi: #ff8340; --on: #1a0a00; --cool: #9fb4ff; --bad: #ff5b4f;
  --display: "Funnel Display", "Arial Black", sans-serif; --text: "Funnel Sans", system-ui, sans-serif; --mono: "Martian Mono", ui-monospace, monospace;
  --wrap: 1320px; --gut: 32px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; background: var(--bg); }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--acc); } .down { color: var(--cool); }
.r { text-align: right; }
.fine { font-size: 13px; color: var(--mute); line-height: 1.5; }
.link { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.linkbtn { background: none; border: 0; color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.d { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: .94; }
.d em { font-style: normal; color: var(--acc); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: #55555c; }
.btn.g { background: var(--acc); color: var(--on); border-color: var(--acc); }
.btn.g:hover { background: var(--acc-hi); border-color: var(--acc-hi); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.wide { width: 100%; margin-top: 18px; }

/* header */
.top { border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.nav { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .mk { width: 32px; height: 32px; }
.brand .wm { height: 22px; width: auto; }
.links { display: flex; gap: 24px; font-size: 15px; color: var(--ink-2); }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.sp { flex: 1; }
.acts { display: flex; align-items: center; gap: 10px; position: relative; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px dashed #3a3a40; border-radius: 8px; background: none; }
.ca i { font-style: normal; color: var(--ink); }
.ca.on { border-style: solid; border-color: var(--acc); }
/* launch day: the full contract address above the header, on every page and every width */
.cabar { background: var(--acc); color: var(--on); font-size: 13px; }
.cabar .wrap { display: flex; align-items: center; gap: 14px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.cabar b { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.cabar code { font-family: var(--mono); font-size: 12px; min-width: 0; overflow-wrap: anywhere; user-select: all; }
.cabar .cabtn { display: flex; gap: 8px; margin-left: auto; flex: none; }
.cabar button, .cabar a { height: 28px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(26,10,0,.35); background: transparent; color: var(--on); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; }
.cabar a { background: var(--on); color: var(--acc); border-color: var(--on); }
/* the house coin, at the foot of the home page */
.sec.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; border: 1px solid var(--line-2); border-radius: 16px; padding: 28px 32px; margin-top: 56px; margin-bottom: 56px; }
.house h2 { font-size: 48px; margin-bottom: 12px; }
.house p { color: var(--ink-2); line-height: 1.55; max-width: 46ch; }
.house p.fine { margin-top: 8px; color: var(--mute); }
.house .addr { display: grid; gap: 12px; }
.house code { font-family: var(--mono); font-size: 12px; padding: 14px 16px; border: 1px dashed #3a3a40; border-radius: 10px; overflow-wrap: anywhere; color: var(--ink); }
.house .abtn { display: flex; gap: 10px; flex-wrap: wrap; }
.menu { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: none; }
.menu span, .menu span::before, .menu span::after { display: block; width: 16px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.menu span::before { position: absolute; top: -5px; } .menu span::after { position: absolute; top: 5px; }
.pick { position: absolute; right: 0; top: 48px; width: 280px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; display: grid; gap: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.pick p { font-size: 13px; color: var(--ink-2); line-height: 1.45; padding: 2px 4px 6px; }
.pick button, .pick a { display: flex; justify-content: space-between; align-items: center; text-align: left; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; font-weight: 600; }
.pick small { color: var(--mute); font-weight: 500; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; padding: 64px 0 56px; }
.kick { font-family: var(--mono); font-size: 12px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.kick .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }
.kick .dot.off { background: var(--mute); }
.hero h1 { font-size: clamp(44px, 6.1vw, 88px); }
.hero h1 em { white-space: nowrap; }
.lede { margin-top: 26px; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 600px; }
.lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.note { font-size: 13px; color: var(--mute); max-width: 240px; line-height: 1.45; margin-left: 4px; }

/* the slip */
.slipstage { position: relative; padding: 18px 8px 0; }
.toss { transform: rotate(-2.5deg); }
.toss.go { animation: toss .9s cubic-bezier(.2,.8,.25,1) both; }
@keyframes toss { 0% { transform: translateY(-26px) rotate(4deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-2.5deg); } }
.slipsvg { width: 100%; height: auto; filter: drop-shadow(0 34px 44px rgba(0,0,0,.55)); }
.slipcap { display: block; margin-top: 22px; text-align: center; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--mute); }

/* sections */
.sec { padding: 36px 0 22px; border-top: 1px solid var(--line); }
.sechead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.sechead h2 { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.sechead p { color: var(--ink-2); font-size: 15px; }
.sechead .right { margin-left: auto; }

/* Markets */
.bhead { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { height: 34px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line); background: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bsearch input { height: 38px; width: 260px; max-width: 100%; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 14px var(--text); }
.board { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px 10px; }
.brow { display: grid; grid-template-columns: minmax(150px, 210px) 1fr 140px 100px 110px 140px; align-items: center; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--line); }
.rows .brow:last-child { border-bottom: 0; }
.brow.h { min-height: 34px; font-family: var(--mono); font-size: 10.5px; color: var(--mute); letter-spacing: .04em; text-transform: uppercase; }
.brow.on { background: rgba(255,106,26,.07); margin: 0 -18px; padding: 0 18px; }
.pairc { font: 800 24px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.pairc i { font-style: normal; color: var(--acc); margin-right: 2px; }
.cls { font-size: 14px; color: var(--ink-2); }
.px, .chg, .lev { font-variant-numeric: tabular-nums; }
.px { font-size: 17px; font-weight: 600; }
.px.flip { animation: tick .5s ease-out; }
@keyframes tick { 0% { color: var(--acc); } 100% { color: var(--ink); } }
.chg { font-size: 15px; font-weight: 500; }
.lev { font-size: 14px; color: var(--ink-2); }
.act { justify-self: end; }
.pickbtn { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pickbtn:hover { border-color: var(--acc); }
.pickbtn[aria-pressed="true"] { background: var(--acc); color: var(--on); border-color: var(--acc); }
.bnote { padding: 18px 0; color: var(--ink-2); font-size: 15px; }
.bfoot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 2px 0; }
.bstat { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.bstat.bad { color: var(--bad); }

/* Pairs */
.claim { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.belt { position: relative; min-height: 240px; border-radius: 14px; background: var(--deep); border: 1px dashed var(--line-2); display: grid; place-items: center; overflow: hidden; padding: 24px; }
.belt .empty { font-size: 17px; color: var(--ink-2); text-align: center; line-height: 1.5; max-width: 420px; }
.belt:has(.slips) { place-items: start; border-style: solid; }
.belt .empty b { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; display: inline-block; margin-bottom: 4px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.panel h3 { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.toplist { list-style: none; }
.toplist li { display: grid; grid-template-columns: 22px 36px 1fr auto 74px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.toplist li:last-child { border-bottom: 0; }
.toplist .n { font: 11px var(--mono); color: var(--mute); }
.toplist img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--panel-2); }
.toplist .nm { display: flex; flex-direction: column; min-width: 0; }
.toplist .nm b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toplist .nm small { font-size: 12px; color: var(--mute); }
.toplist .mc { font-weight: 600; font-size: 14px; }
.toplist .ch { font-size: 13px; text-align: right; }
.panel .fine { margin-top: 10px; }

/* coin cards: the coins' slips */
.slips { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; width: 100%; align-self: start; }
.scard { display: block; transition: transform .2s; }
.scard:hover { transform: rotate(-1.5deg) translateY(-3px); }
.scard .slipsvg { filter: drop-shadow(0 14px 18px rgba(0,0,0,.45)); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.step .n { font-family: var(--mono); font-weight: 600; font-size: 12px; color: var(--on); background: var(--acc); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; margin: 16px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 26px; padding-bottom: 36px; color: var(--mute); font-size: 13px; }
.foot nav { display: flex; gap: 18px; margin-left: auto; }
.foot a:hover { color: var(--ink); }

/* page heads */
.phead { padding: 44px 0 26px; }
.phead h1 { font-size: clamp(48px, 6vw, 84px); }
.phead p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 680px; line-height: 1.55; }
.back { display: inline-block; margin: 28px 0 0; font-size: 14px; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.back::before { content: "← "; }

/* launch */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; padding-bottom: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.card > legend, .card > h2 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; padding: 0 4px; }
fieldset.card { border: 1px solid var(--line); }
.sub { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 4px 0 14px; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label, .field .lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 15px var(--text); }
.field textarea { resize: vertical; min-height: 84px; }
.field.bad input, .field.bad textarea, .field.bad .drop { border-color: var(--bad); }
.ferr { font-size: 13px; color: var(--bad); min-height: 0; }
.ferr:empty { display: none; }
.opt { font-weight: 400; color: var(--mute); }
.prefix { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); }
.prefix span { padding-left: 12px; color: var(--mute); }
.prefix input { border: 0; background: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px dashed var(--line-2); border-radius: 8px; cursor: pointer; }
.drop input { display: none; }
.drop .ph { width: 52px; height: 52px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; font-size: 22px; color: var(--mute); overflow: hidden; flex: none; }
.drop .ph img { width: 100%; height: 100%; object-fit: cover; }
.drop strong { font-size: 14px; display: block; }
.drop small { font-size: 12px; color: var(--mute); }
.side { justify-self: start; display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.side button { height: 42px; padding: 0 22px; background: none; border: 0; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.side button[aria-checked="true"][data-v="long"] { background: var(--acc); color: var(--on); }
.side button[aria-checked="true"][data-v="short"] { background: var(--ink); color: var(--bg); }
.levs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.levs button { height: 46px; border-radius: 8px; border: 1px solid var(--line-2); background: none; font: 800 20px var(--display); color: var(--ink-2); }
.levs button[aria-checked="true"] { background: var(--acc); color: var(--on); border-color: var(--acc); }
.levs button[disabled] { opacity: .3; cursor: not-allowed; }
.kv { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.kv dt { color: var(--ink-2); } .kv dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.levnote { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.lside { position: sticky; top: 20px; }
.lside .slipwrap { padding: 12px 4px 16px; }
.lside .slipsvg { filter: drop-shadow(0 16px 22px rgba(0,0,0,.5)); }
.fmsg { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.fmsg.err { color: var(--bad); }
.honest { margin-top: 14px; font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--acc); padding: 4px 0 4px 12px; line-height: 1.5; }
.lsteps { list-style: none; display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--mute); }
.lsteps li::before { content: "○ "; } .lsteps li.done { color: var(--ink-2); } .lsteps li.done::before { content: "● "; color: var(--acc); }
.lsteps li.now { color: var(--ink); font-weight: 600; } .lsteps li.now::before { content: "◐ "; color: var(--acc); }
.pp .board { max-height: 440px; overflow: auto; }
.pp .brow { grid-template-columns: minmax(120px, 170px) 1fr 110px 80px 90px 76px; }
.pp .pairc { font-size: 21px; }

/* coin page */
.coinhead { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 30px 0 18px; }
.coinhead img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--panel-2); }
.coinhead h1 { font-size: clamp(42px, 5.6vw, 68px); }
.coinhead p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.cgrid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 28px; align-items: start; }
.chart { position: relative; height: 300px; }
.chart svg { width: 100%; height: 100%; }
.chart .tagl { position: absolute; right: 8px; transform: translateY(-50%); font: 600 12px var(--text); padding: 3px 8px; border-radius: 5px; background: var(--panel-2); color: var(--ink-2); }
.chart .tagl.liq { color: var(--bad); } .chart .tagl.en { right: auto; left: 8px; } .chart .tagl.mk { background: var(--ink); color: var(--bg); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; }
.legend i.le { background: var(--ink-2); } .legend i.ll { background: var(--bad); }
.sec.gap { margin-top: 22px; }
.sechead h2.h3 { font-size: 28px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-family: var(--mono); font-size: 10.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; } .facts dd { font-size: 19px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.path { list-style: none; }
.path li { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.path .k { font: 600 11px var(--mono); text-transform: uppercase; color: var(--ink-2); }
.path .k.liquidated { color: var(--bad); } .path .k.opened, .path .k.added, .path .k.bought { color: var(--acc); }
.path time { color: var(--mute); font-size: 13px; white-space: nowrap; }
.addrs { display: grid; gap: 10px; }
.addrs div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.addrs dt { color: var(--ink-2); } .addrs dd { font-family: var(--mono); font-size: 11px; word-break: break-all; }

/* how it works */
.rules { list-style: none; display: grid; gap: 10px; counter-reset: r; }
.rules li { padding: 14px 16px 14px 54px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); position: relative; counter-increment: r; }
.rules li::before { content: counter(r); position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 6px; background: var(--panel-2); color: var(--acc); font: 600 11px/24px var(--mono); text-align: center; }
.rules li b { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acc); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 760px; }

/* 404 */
.d.huge { font-size: clamp(56px, 8.4vw, 120px); }
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: center; padding: 64px 0; overflow-x: clip; }
.lost #lostTag { padding: 16px 14px; }
.lost .slipsvg { transform: rotate(-3deg); }

/* phones and narrow */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .slipstage { max-width: 520px; width: 100%; margin: 0 auto; }
  .claim { grid-template-columns: 1fr; }
  .lgrid { grid-template-columns: minmax(0, 1fr); }
  .lside { position: static; }
  .lside .slipwrap { max-width: 460px; margin: 0 auto; }
  .cgrid { grid-template-columns: minmax(0, 1fr); }
  .cgrid .slipwrap { max-width: 460px; width: 100%; margin: 0 auto; }
  .lost { grid-template-columns: minmax(0, 1fr); }
  .lost #lostTag { max-width: 440px; width: 100%; }
}
@media (max-width: 860px) {
  :root { --gut: 16px; }
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px var(--gut); }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu { display: block; }
  .acts .lbtn { display: none; }
  .nav { gap: 12px; }
  .brow { grid-template-columns: 1fr auto; grid-template-areas: "code px" "cls chg" "lev act"; gap: 4px 12px; padding: 10px 0; }
  .brow.h { display: none; }
  .brow .code { grid-area: code; } .brow .px { grid-area: px; } .brow .cls { grid-area: cls; } .brow .chg { grid-area: chg; } .brow .lev { grid-area: lev; text-align: left; } .brow .act { grid-area: act; }
  .pp .brow { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .sechead h2 { font-size: 34px; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 520px) {
  .hero { padding: 32px 0 36px; }
  .lede { font-size: 17px; }
  .slipstage { padding: 10px 2px 0; }
  .ca { display: none; }
  .cabar .wrap { flex-wrap: wrap; gap: 6px 12px; }
  .cabar code { order: 3; flex: 1 0 100%; font-size: 11px; }
  .sec.house { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .house h2 { font-size: 38px; }
  .pairc { font-size: 21px; }
  .slips { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .toplist li { grid-template-columns: 20px 32px 1fr auto; }
  .toplist .ch { display: none; }
  .path li { grid-template-columns: 1fr auto; }
  .path li > span:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .bsearch input { width: 100%; }
  .bsearch { width: 100%; }
}
@media (max-width: 360px) {
  .brand .wm { display: none; }
  .acts .btn.sm { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .toss.go, .px.flip { animation: none; }
  .scard { transition: none; }
}
