/* Fades
   A DJ booth from above: a two-channel mixer in brushed aluminium between two turntables on a birch-ply table. Yes is
   channel 1, No is channel 2, and the crossfader is the market. The page is the brushed aluminium of the faceplate;
   the top bar is the black anodised front edge, with a machined chamfer catching the light along its foot. Everything
   you press to act is a fader cap: black, with fine grip ridges at both ends. The side you take is lit in its
   channel's colour. The ticket's figures sit in the mixer's display window, amber on black glass. The leverage slider
   is a fader: a black slot and a black cap with a white index line.
   Lettering, figures and the logo are set in Monda, everything you read in Titillium Web, addresses in Lekton.
   Loaded after /styles.css, which gives the layout; this file only gives the look. The token names below are also
   read by app.js for the charts, so they stay six-digit hex colours. */
:root {
  --ink-0: #eceeec; --ink-1: #e2e4e2; --ink-2: #d3d6d4; --ink-3: #9aa0a3;
  --paper: #f8f8f6;
  --line: #121417; --line-soft: #d9dbd8; --ink: #121417;
  --fg: #121417; --muted: #50565c; --dim: #8a9095;
  --a: #1d8a57; --a-soft: rgba(29, 138, 87, .1);
  --b: #d13b33; --b-soft: rgba(209, 59, 51, .1);
  --lev: #a9650a; --lev-soft: rgba(169, 101, 10, .1);
  --up: #1d8a57; --down: #d13b33; --down-soft: rgba(209, 59, 51, .08);
  --black: #17191c; --black-dk: #0b0c0e; --amber: #f2a516; --amber-dk: #8e5a04; --tape: #efe4bf; --birch: #e2cea9; --alu: #d9dcdf;
  --display: Monda, Eurostile, "Helvetica Neue", Arial, sans-serif;
  --numf: Monda, Eurostile, "Helvetica Neue", Arial, sans-serif;
  --sans: "Titillium Web", "Helvetica Neue", Arial, sans-serif;
  --mono: "Titillium Web", "Helvetica Neue", Arial, sans-serif; /* the base layout sets small labels in --mono; Fades uses its sans */
  --addr: Lekton, ui-monospace, "SF Mono", Menlo, monospace; /* only wallet and contract addresses */
  --edge: 1.5px solid var(--line);
  --hair: 1px solid var(--line-soft);
  --shadow: 0 1px 0 rgba(18, 20, 23, .05), 0 18px 30px -22px rgba(18, 20, 23, .45);
  --r: 4px;
  /* a fader cap: black, lighter at the top edge, grip ridges at both ends */
  --capg: linear-gradient(#34373c, #1d1f23 55%, #121417);
  --ridges: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 4px);
  --cap: var(--ridges) left 9px center / 17px 52% no-repeat, var(--ridges) right 9px center / 17px 52% no-repeat, var(--capg);
  --brushed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0018 .9' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .32 0 0 0 0 .35 0 0 0 -2.6 1.45'/%3E%3C/filter%3E%3Crect width='1200' height='400' filter='url(%23f)' opacity='.3'/%3E%3C/svg%3E");
  color-scheme: light;
}
/* brushed aluminium: pale and cool, with fine horizontal grain */
html { background: #e6e7e5; }
body { background: var(--brushed), linear-gradient(#eceeec, #e2e4e2); background-attachment: scroll, fixed; color: var(--fg); font: 400 16px/1.5 var(--sans); }
.num, .flaps > b, .kv dd, .tbl td.r, output { font-variant-numeric: tabular-nums lining-nums; }
::selection { background: #ffd98a; color: var(--fg); }

h2, h3, .h { font: 700 15.5px/1.25 var(--sans); letter-spacing: 0; color: var(--fg); text-transform: none; }
h1 { font: 700 clamp(25px, 2.3vw, 34px)/1.14 var(--sans); letter-spacing: -.01em; text-transform: none; }
.num, .sum-stats dd, .pos-grid dd, .tbl td.r, .kv dd { font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.hint, .empty, .stage-empty, .empty-state p { font-family: var(--sans); color: var(--muted); }

/* figures: the split-flap tiles become a readout; a new figure comes up from below */
.flaps { gap: 0; }
.flaps > b { width: auto; height: auto; min-width: 0; background: none; border-radius: 0; color: inherit; font: 700 var(--ff, 22px)/1 var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.flaps > b.sp { width: .26em; } .flaps > b.pt { width: auto; }
.flaps > b.flip { animation: rise .32s ease-out; }
@keyframes rise { 0% { clip-path: inset(100% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .flaps > b.flip { animation: none; } }

/* top bar: the mixer's black anodised front edge, a machined chamfer along its foot */
.top { background: linear-gradient(#26292e, var(--black) 55%, #111316); border-bottom: 0; color: #dfe2e6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none;
  background: linear-gradient(#5d6369 0 1px, #d6dade 1px 2.2px, #9aa0a6 2.2px 3px, #6b7177 3px);
  box-shadow: 0 6px 10px -6px rgba(11, 12, 14, .5); }
main { padding-top: 4px; }
.logo { gap: 11px; padding-right: 24px; font: 700 30px/1 var(--display); letter-spacing: -.02em; color: #f1f2f4; }
.logo .mark { width: 36px; height: 36px; border-radius: 8px; }
.logo:hover { color: #fff; }
.tabs { gap: 0; border-left: 1px solid rgba(255, 255, 255, .09); }
.tabs a { position: relative; border-radius: 0; padding: 0 18px; font: 600 16px var(--sans); color: #a3a9b0; border-right: 1px solid rgba(255, 255, 255, .07); }
.tabs a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.tabs a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); box-shadow: none; }
/* the open tab: a fader cap's white index line under it */
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2.5px; border-radius: 1px; z-index: 2; background: #f2f3f5; }
.tabs b { font: 700 13px var(--display); color: var(--amber); }
.bal { border-left: 1px solid rgba(255, 255, 255, .09); }
.bal span { font: 600 12.5px var(--sans); color: #9aa0a6; }
.bal strong { font: 700 23px var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; color: #f4f5f6; }
.net { color: #9aa0a6; }
.top .seg { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .22); }
.top .seg button { color: #cfd3d8; }
.top .seg button[aria-pressed="true"] { background: #e9ebee; color: var(--black); box-shadow: none; }
.top .btn.ghost { background: transparent; color: #e6e8eb; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.top .btn.ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .08); color: #fff; }
.top .btn.primary { background: linear-gradient(#f9fafb, #d6d9dd); color: var(--black); border-color: #0b0c0e; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #0b0c0e; }
.top .btn.primary:hover:not(:disabled) { background: linear-gradient(#fff, #e1e4e7); color: var(--black); }

/* controls: white with an ink edge; the main buttons are fader caps */
.btn { border: var(--edge); border-radius: var(--r); font: 700 15.5px var(--sans); background: var(--paper); color: var(--fg); box-shadow: inset 0 -2px 0 var(--ink-2); transition: transform .08s, box-shadow .08s, background-color .15s, filter .15s; }
.btn:hover:not(:disabled) { background: #fff; color: var(--fg); }
.btn:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 -1px 0 var(--ink-2); }
.btn.primary { background: var(--cap); color: #f2f3f5; border: 1px solid var(--black-dk); padding-left: 34px; padding-right: 34px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 0 var(--black-dk); }
.btn.primary:hover:not(:disabled) { background: var(--cap); border-color: var(--black-dk); filter: brightness(1.18); color: #fff; }
.btn.primary:active:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 var(--black-dk); }
.btn.cta { border: 1px solid var(--black-dk); border-radius: 6px; min-height: 62px; gap: 12px; padding-left: 44px; padding-right: 44px; font: 700 24px/1 var(--display); letter-spacing: -.01em; color: #f4f5f6;
  background: var(--ridges) left 12px center / 22px 56% no-repeat, var(--ridges) right 12px center / 22px 56% no-repeat, var(--capg); justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 3px 0 var(--black-dk), 0 12px 18px -10px rgba(11, 12, 14, .55); }
.btn.cta::after { content: none; }
.btn.cta:hover:not(:disabled) { background: var(--ridges) left 12px center / 22px 56% no-repeat, var(--ridges) right 12px center / 22px 56% no-repeat, var(--capg); filter: brightness(1.18); color: #fff; }
.btn.cta:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 1px 0 var(--black-dk); }
.btn.cta:disabled { background: var(--ink-2); color: var(--dim); border-color: var(--ink-3); box-shadow: none; filter: none; }
.btn.ghost { background: var(--paper); box-shadow: none; border-color: var(--ink-3); }
.btn.ghost:active:not(:disabled) { transform: none; }
.btn.small { box-shadow: none; border-width: 1px; }
.seg { border: var(--edge); border-radius: var(--r); padding: 2px; background: var(--paper); }
.seg button { border-radius: 3px; font: 700 14px var(--sans); }
.seg button[aria-pressed="true"] { background: var(--capg); color: #f2f3f5; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
input:not([type="range"]), select { background: #fff; border: 1px solid var(--ink-3); border-radius: var(--r); font-family: var(--sans); font-weight: 700; }
input:not([type="range"]):hover, select:hover { border-color: var(--fg); }
input:not([type="range"]):focus-visible, select:focus-visible { outline: 2px solid var(--black); outline-offset: 1px; border-color: var(--fg); box-shadow: 0 0 0 4px rgba(242, 165, 22, .35); }
:focus-visible { outline-color: var(--black); }
.chips button { font: 700 14px var(--sans); border-radius: var(--r); border: 1px solid var(--ink-3); background: var(--paper); }
.chips button[aria-pressed="true"] { background: var(--capg); border-color: var(--black-dk); color: #f2f3f5; }

/* market list: white, the market you look at marked by a black edge with the cue amber beside it */
.mk { border-right: var(--edge); background: var(--paper); }
.mk-head { border-bottom: var(--hair); }
.mk-row { border-bottom: var(--hair); }
.mk-row:hover { background: #f1f2f0; }
.mk-row[aria-current="true"] { background: #eceeec; box-shadow: inset 4px 0 0 var(--black), inset 7px 0 0 var(--amber); }
.mk-q { font: 700 15px/1.32 var(--sans); letter-spacing: 0; }
.mk-meta { font: 600 12.5px var(--sans); color: var(--muted); }
.mk-px { font: 700 18px/1.15 var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.mk-px .pa { color: var(--a); } .mk-px .pb { color: var(--b); }
.mk-split { height: 4px; border-radius: 2px; background: var(--b); } .mk-split i { background: var(--a); border-radius: 2px 0 0 2px; box-shadow: 2px 0 0 var(--paper); }
.thumb { border-radius: 4px; }
.thumb.tile { font-family: var(--display); font-weight: 700; border: var(--edge); }
.legal { color: var(--muted); font: 400 12.5px/1.55 var(--sans); }

/* the two sides: the one you take is lit in its channel's colour */
.duel { gap: 12px; border: 0; background: transparent; box-shadow: none; }
.duel-side { border: var(--edge); border-radius: 8px; background: var(--paper); padding: 16px 20px 18px; box-shadow: inset 0 -3px 0 var(--ink-2); transition: background-color .18s, color .18s, transform .08s; }
.duel-side:hover { background: #fff; }
.duel-side:active { transform: translateY(1px); }
.duel-name { font: 700 16px var(--sans); }
.duel-side.a .duel-name { color: var(--a); } .duel-side.b .duel-name { color: var(--b); }
.duel-side.a[aria-pressed="true"] { background: linear-gradient(#22a065, #15714a); border-color: #0a3a24; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -3px 0 rgba(0, 0, 0, .2); }
.duel-side.b[aria-pressed="true"] { background: linear-gradient(#e2493f, #ad2d26); border-color: #561510; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -3px 0 rgba(0, 0, 0, .2); }
.duel-side[aria-pressed="true"], .duel-side[aria-pressed="true"] .duel-name, .duel-side[aria-pressed="true"] .lev { color: #fff; }
.duel-side[aria-pressed="true"] .duel-price.flaps > b { color: #fff; }
.duel-price.flaps { --ff: 50px; }
.duel-side .lev { font: 600 13.5px var(--sans); color: var(--muted); }
#st-cat { font: 700 13.5px var(--sans); color: var(--lev); box-shadow: none; }

/* the booth under the two sides */
.fdb { margin-top: 14px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(18, 20, 23, .2), var(--shadow); background: var(--birch); }
.fdb svg { display: block; width: 100%; height: auto; }
.fdb.wait { width: 340px; margin: 0 0 22px; }

.chart-panel, .stage-row, .more { border-top: var(--hair); }
.panel { border-radius: var(--r); }
.room-num strong { font: 700 34px var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.meter { height: 6px; border-radius: 3px; background: var(--ink-2); } .meter i { background: var(--black); border-radius: 3px; }

/* the ticket */
.ticket { background: var(--paper); border-left: var(--edge); }
.cta-bar { background: linear-gradient(rgba(248, 248, 246, 0), var(--paper) 24%); }
.side-pick { gap: 8px; border: 0; }
.side-pick button { border: var(--edge); border-radius: var(--r); padding: 10px 12px; background: var(--paper); }
.side-pick button span { font: 700 14.5px var(--sans); }
.side-pick button small { font: 700 24px var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.side-pick .a[aria-pressed="true"] { background: linear-gradient(#22a065, #15714a); border-color: #0a3a24; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.side-pick .b[aria-pressed="true"] { background: linear-gradient(#e2493f, #ad2d26); border-color: #561510; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
/* the ticket's board: the mixer's display window, amber figures on black glass in a brushed bezel */
.tboard { position: relative; gap: 10px; padding: 18px 18px 18px; border: 1px solid #0b0c0e; border-radius: 5px; color: #e9ebee;
  background: linear-gradient(#1f2226, #0b0c0e); box-shadow: inset 0 0 0 1px #3a3e44, 0 0 0 4px #c9cdd2, 0 0 0 5px #8d9298, 0 8px 16px -6px rgba(11, 12, 14, .45); margin: 6px 4px 10px; }
.tboard span { font: 700 12.5px var(--sans); color: #8b9096; letter-spacing: .02em; }
.tboard .flaps { --ff: 28px; }
.tboard .flaps > b { color: var(--amber); }
.tboard .flaps.am > b { color: #ffd27a; }
.flaps.am > b { color: var(--fg); }
#tk-margin { font: 700 29px var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.quick { gap: 6px; border: 0; }
.quick button { border: 1px solid var(--ink-3); border-radius: var(--r); font: 700 17px var(--numf); font-variant-numeric: tabular-nums; background: var(--paper); }
.quick button:hover { border-color: var(--fg); background: #fff; }
.lev-head output { font: 700 42px/1 var(--numf); letter-spacing: -.02em; color: var(--lev); font-variant-numeric: tabular-nums lining-nums; }
/* the leverage slider is a fader: a black slot, black up to your leverage's amber, a black cap with a white index line */
#tk-lev::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; border: 1px solid var(--line); background: linear-gradient(#f5b43a, #d68d07) 0 0 / calc(var(--v) * 100%) 100% no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 0 0 / calc(var(--m) * 100%) 100% no-repeat, #fff; }
#tk-lev::-moz-range-track { height: 6px; border-radius: 3px; border: 1px solid var(--line); background: linear-gradient(#f5b43a, #d68d07) 0 0 / calc(var(--v) * 100%) 100% no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 0 0 / calc(var(--m) * 100%) 100% no-repeat, #fff; }
#tk-lev::-webkit-slider-thumb { width: 18px; height: 30px; margin-top: -13px; border: 1px solid #050607; border-radius: 3px;
  background: linear-gradient(90deg, transparent 7.5px, #f2f3f5 7.5px 9.5px, transparent 9.5px), linear-gradient(90deg, #43474d, #25282c 50%, #121417);
  box-shadow: 1px 3px 4px rgba(11, 12, 14, .4); clip-path: none; }
#tk-lev::-moz-range-thumb { width: 16px; height: 28px; border: 1px solid #050607; border-radius: 3px;
  background: linear-gradient(90deg, transparent 6.5px, #f2f3f5 6.5px 8.5px, transparent 8.5px), linear-gradient(90deg, #43474d, #25282c 50%, #121417);
  box-shadow: 1px 3px 4px rgba(11, 12, 14, .4); clip-path: none; }
.lev-ticks { font: 700 14px var(--numf); } .lev-ticks span.off { color: var(--ink-3); }
.rw-track { height: 6px; border-radius: 3px; } .rw-fill { background: var(--ink-3); } .rw-now { background: var(--fg); } .rw-liq { background: var(--amber); }
.kv { border-top: var(--hair); } .kv > div { border-bottom: var(--hair); }
.err { border-left: 3px solid var(--down); background: var(--down-soft); border-radius: 3px; }

/* account pages */
.summary { border-bottom: var(--edge); }
.sum-main span { font: 700 13.5px var(--sans); color: var(--muted); }
.sum-main strong { font: 700 clamp(50px, 7.2vw, 100px)/.95 var(--numf); letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.pos { background: var(--paper); border: var(--edge); border-radius: 8px; box-shadow: inset 0 -3px 0 var(--ink-2); }
.pos-out { font: 700 12.5px var(--sans); }
.empty-state { border: 1.5px dashed var(--ink-3); border-radius: 8px; background: var(--paper); }
.empty-state .es-mark { width: 64px; height: 64px; margin-bottom: 6px; filter: drop-shadow(1px 3px 2px rgba(11, 12, 14, .25)); }
.empty-state b { font: 700 28px var(--display); letter-spacing: -.01em; }
.tbl th { border-bottom: var(--edge); font: 700 12.5px var(--sans); color: var(--fg); }
.tbl td { border-bottom: var(--hair); }
.mid-num { font: 700 48px/1 var(--numf); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.big-num { font-family: var(--numf); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.addr { border: 1px solid var(--ink-3); border-radius: var(--r); background: #fff; font-family: var(--addr); font-size: 12.5px; }
.pool-gap { margin-top: 36px; }
.pick { border: var(--edge); border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(11, 12, 14, .5); background: var(--paper); }
.pick::backdrop { background: rgba(11, 12, 14, .5); }
.pick-item { font: 700 18px/1.2 var(--sans); border-radius: var(--r); }
.pick-item:hover, .pick-item:focus-visible { background: var(--ink-0); color: var(--fg); box-shadow: inset 4px 0 0 var(--black), inset 7px 0 0 var(--amber); }
.toast { background: linear-gradient(#1f2226, #0b0c0e); color: #f2f3f5; border-left: 6px solid var(--amber); border-radius: var(--r); font: 700 15.5px var(--sans); }

/* loading: the crossfader travels as the books come in */
.stage-empty .flaps { display: none; }
.stage-empty p:first-of-type { font: 700 26px var(--display); color: var(--fg); letter-spacing: -.01em; }
.stage-empty #load-count { font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums; }
.ld-track { display: none; }
.sk { background: linear-gradient(90deg, var(--ink-1), var(--ink-2), var(--ink-1)); background-size: 200% 100%; border-radius: 3px; }

/* the pointer */
.cur-dot { background: var(--fg); }
.cur-box { border: 1.5px solid var(--fg); border-radius: var(--r); }
#cur.go .cur-box { border-color: var(--black); }

/* the coin in the top bar */
.coin > * { border-left: 1px solid rgba(255, 255, 255, .09); padding: 0 12px; }
.coin-tk { font: 700 21px var(--display); color: #f4f5f6; letter-spacing: -.01em; }
.coin-ca { font: 400 12.5px var(--addr); color: #c5cad0; }
.coin-ca:hover, .coin-pump:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.coin-pump { font: 700 13.5px var(--sans); color: #c5cad0; }

@media (max-width: 760px) {
  .coin { border-top: 1px solid rgba(255, 255, 255, .09); }
  .logo { font-size: 26px; gap: 9px; } .logo .mark { width: 31px; height: 31px; }
  .tabs a[aria-current="page"]::after { bottom: 5px; left: 10px; right: 10px; }
  .duel-price.flaps { --ff: 30px; }
  .tabs a { padding: 12px 14px; }
  .bal strong { font-size: 19px; } .bal span { font-size: 11px; }
  .acct .btn, .seg button { padding-left: 10px; padding-right: 10px; }
  .duel-side { padding: 13px 14px; }
  .fdb { margin-top: 10px; }
  .fdb.wait { width: 290px; }
  h1 { font-size: 24px; }
  .btn.primary { padding-left: 26px; padding-right: 26px; }
}

/* the base layout sets labels in spaced capitals; Fades writes them as words */
h2, h3, .h, .tabs a, .net, .bal span, .seg button, .field label, .chips button, .stage-empty, .stage-empty p, #st-cat, .duel-name,
.side-pick button span, .sum-main span, .pos-out, .tbl th, .eyebrow, .pick-go, h1, .btn, .mk-meta, .duel-side .lev,
.tboard span, .empty-state b, .coin-pump {
  text-transform: none; letter-spacing: 0; }
.net, .stage-empty { font-family: var(--sans); font-weight: 700; }
.field label, .eyebrow, .pick-go { font: 700 13.5px var(--sans); }
@media (max-width: 760px) { .tabs a[aria-current="page"] { background: rgba(255, 255, 255, .06); } }

/* Live mode: before a wallet is connected the main button reads "Connect a wallet to trade". The bar never grows past
   the screen and the button may wrap. */
.cta-bar { grid-template-columns: minmax(0, 1fr); }
.cta-bar > * { min-width: 0; }
@media (max-width: 760px) { .cta-bar .btn { white-space: normal; text-wrap: balance; line-height: 1.12; padding-left: 36px; padding-right: 36px; } }

/* the main button reads as a sentence on the cap; an error sits on solid paper so the ticket scrolling under the bar
   never shows through it */
.btn.cta { text-transform: none; }
.cta-bar .err { background: linear-gradient(var(--down-soft), var(--down-soft)), var(--paper); }
