/* feed · launch a card for anyone. WHITE HEAVEN: painted white cloud skies, centred lowercase statements, ink type and ink buttons,
   white cards. Funnel Display + Funnel Sans + Reddit Mono. Loaded after app.css (the ported product) and card.css. */
@font-face { font-family: FD; src: url(/assets/fonts/FunnelDisplay-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: FS; src: url(/assets/fonts/FunnelSans-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: FM; src: url(/assets/fonts/RedditMono-latin.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }

:root {
  --ink: #0d1117; --page: #f6f8fb; --sheet: #fbfcfd;
  --bg: #f4f7fa; --card: #ffffff; --field: #f3f6f9; --border: rgba(13, 17, 23, .09); --hover: rgba(13, 17, 23, .045);
  --fg: #2b323d; --white: #0d1117; --muted: #687280;
  --p4: rgba(13, 17, 23, .04); --p6: rgba(13, 17, 23, .06); --p8: rgba(13, 17, 23, .08); --p10: rgba(13, 17, 23, .10); --p14: rgba(13, 17, 23, .14);
  --p20: rgba(13, 17, 23, .20); --p35: rgba(13, 17, 23, .35); --p45: rgba(13, 17, 23, .50); --p60: rgba(13, 17, 23, .60); --p70: rgba(13, 17, 23, .72);
  --sans: FS, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: FM, ui-monospace, 'Cascadia Mono', Consolas, monospace; --geo: FD, FS, sans-serif; --head: FD, FS, sans-serif;
  --edge: max(24px, calc((100vw - 1320px) / 2));
  --sky: #8eaad0;
  --sh-1: 0 1px 2px rgba(40, 56, 80, .06), 0 10px 28px -14px rgba(40, 56, 80, .2);
  --sh-2: 0 30px 80px -30px rgba(40, 56, 80, .34), 0 10px 24px -14px rgba(40, 56, 80, .16);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-o: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
html { background: var(--page); scrollbar-color: rgba(13, 17, 23, .2) transparent; scroll-padding-top: 24px; }
body { font: 400 15px/1.5 var(--sans); color: var(--fg); background: var(--page); font-feature-settings: 'kern' 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); }
::selection { background: rgba(142, 170, 208, .32); color: var(--ink); }
:focus-visible { outline: 2px solid rgba(13, 17, 23, .55); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(13, 17, 23, .18); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
.mono { font-family: var(--mono); }
.lbl { font: 500 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ---------------------------------------------------------------- the sky (header band + home hero) */
.qsky { position: relative; z-index: 2; isolation: isolate; }
.qsky-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: #e9eff5 var(--lq, none) 50% 50% / cover no-repeat; }
.qsky-bg::before { content: ''; position: absolute; inset: -30px; background: inherit; filter: blur(22px); }
.qsky-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity 1s var(--ease); }
.qsky-bg img.in { opacity: 1; }
.qsky-bg .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 248, 251, .5) 0, rgba(246, 248, 251, 0) 150px, rgba(246, 248, 251, 0) 62%, rgba(251, 252, 253, .55) 100%); }

/* header */
.qtop { position: relative; z-index: 20; display: flex; align-items: center; gap: 22px; height: 76px; padding: 0 var(--edge); }
.qbrand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); flex: none; }
.qbrand svg { width: 33px; height: 33px; overflow: visible; }
.qbrand b { font: 650 31px/1 FD; letter-spacing: -.055em; margin-top: -3px; }
.qnav { display: flex; gap: 2px; margin-right: auto; }
.qnav a { padding: 8px 13px; border-radius: 999px; color: rgba(13, 17, 23, .64); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.qnav a:hover { color: var(--ink); background: rgba(255, 255, 255, .5); }
.qnav a.on { color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(13, 17, 23, .05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.qsearch { position: relative; width: 272px; }
.qsearch .in { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 17, 23, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s, background .2s; }
.qsearch .in:focus-within { border-color: rgba(13, 17, 23, .28); background: rgba(255, 255, 255, .9); }
.qsearch svg { width: 16px; height: 16px; color: rgba(13, 17, 23, .48); flex: none; }
.qsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.qsearch input::placeholder { color: rgba(13, 17, 23, .44); }
.qsearch .typeahead { top: 48px; }
.typeahead { background: #fff; border-color: var(--p8); box-shadow: var(--sh-2); }
.typeahead .grp { font: 600 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.typeahead .gl { background: var(--field); }
.qacts { display: flex; align-items: center; gap: 8px; flex: none; }
.qacts .btn { height: 40px; padding: 0 17px; font-size: 14px; }
.btn { font-family: var(--sans); font-weight: 600; letter-spacing: -.005em; }
.btn-ink, .btn-w { background: var(--ink); color: #fff; border: 0; padding: 8px 18px; }
.btn-ink:hover, .btn-w:hover { background: #232b37; }
.btn-ink.btn-l, .btn-w.btn-l { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-ink.wide { width: 100%; height: 52px; font-size: 15.5px; }
.btn-ghost { height: 40px; padding: 0 17px; background: rgba(255, 255, 255, .64); color: var(--ink); border: 1px solid rgba(13, 17, 23, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: #fff; border-color: rgba(13, 17, 23, .2); }
.btn-o { border-color: var(--p14); color: var(--ink); }
.btn-o:hover { background: #fff; border-color: var(--p20); }
.btn-glass { background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 17, 23, .08); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255, 255, 255, .9); }
.btn-glass img { width: 18px; height: 18px; border-radius: 5px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 17, 23, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.menu-btn svg { width: 20px; height: 20px; }
.ca-top { height: 40px; border-radius: 999px; padding: 0 14px; gap: 8px; align-items: center; font: 500 12.5px var(--mono); color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(13, 17, 23, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ca-top b { font: 700 12px var(--sans); color: rgba(13, 17, 23, .5); }
.ca-top svg { width: 14px; height: 14px; }
.wmenu { right: var(--edge); top: 66px; background: #fff; border-color: var(--p8); box-shadow: var(--sh-2); z-index: 30; }

/* inner-page heading on the sky */
.vhead { padding: 38px var(--edge) 100px; }
.vhead h1 { margin: 0; font: 600 clamp(42px, 5.4vw, 76px)/.97 FD; letter-spacing: -.05em; max-width: 940px; text-wrap: balance; color: var(--ink); }
.vhead p { margin: 18px 0 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: rgba(13, 17, 23, .66); text-wrap: pretty; }
.vhead .crumbs { display: flex; padding: 0 0 18px; color: rgba(13, 17, 23, .6); }
.vhead .crumbs a:hover { color: var(--ink); }

/* the sheet: everything under the sky */
.sheet { position: relative; z-index: 1; margin-top: -40px; background: var(--sheet); border-radius: 34px 34px 0 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .9), 0 -26px 70px -34px rgba(52, 74, 104, .3); min-height: 60vh; padding-bottom: 0; overflow: clip; }
.sheet > * { position: relative; }
.wrap { max-width: 1368px; padding: 0 var(--edge); }
@media (min-width: 1368px) { .wrap { padding: 0 24px; } }
.sheet > .wrap:first-child { padding-top: 52px; }

/* ---------------------------------------------------------------- home hero: the card is the form */
.qsky.home { min-height: max(740px, 100svh); display: flex; flex-direction: column; }
.qsky.home #vhead { flex: 1; display: flex; }
.fhero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(8px, 2.6vh, 36px) 24px 96px; }
.fhero .grains { position: absolute; left: 0; top: -76px; width: 100%; height: calc(100% + 76px); pointer-events: none; z-index: 0; }
.fhero > :not(.grains) { position: relative; z-index: 1; }
.fhero h1 { margin: 0; font: 600 clamp(48px, min(7vw, 10.2vh), 122px)/.92 FD; letter-spacing: -.056em; color: var(--ink); text-wrap: balance; }
.fhero .sub { margin: clamp(14px, 2.2vh, 22px) 0 0; max-width: 540px; font-size: clamp(16px, 2.1vh, 19px); line-height: 1.5; color: rgba(13, 17, 23, .64); text-wrap: balance; }
.fstage { position: relative; margin-top: clamp(28px, 4.8vh, 52px); width: clamp(320px, min(38vw, 50vh), 560px); perspective: 1600px; }
.fstage .fcardw { animation: ffloat 7s ease-in-out infinite; }
.fstage .qpc { width: 100%; --cw: clamp(320px, min(38vw, 50vh), 560px); cursor: text; }
.fshadow { position: absolute; left: 11%; right: 11%; bottom: -32px; height: 28px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 82, 112, .34), rgba(60, 82, 112, 0)); filter: blur(7px); animation: fshadow 7s ease-in-out infinite; }
@keyframes ffloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes fshadow { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.92); opacity: .7 } }
.fgo { display: flex; flex-direction: column; align-items: center; gap: 13px; margin-top: clamp(36px, 5.6vh, 58px); }
.fgo .btn { height: 52px; padding: 0 26px; font-size: 16px; }
.hint { min-height: 1.5em; font-size: 14px; color: rgba(13, 17, 23, .55); }
.hint b { color: var(--ink); font-weight: 600; }
.fhero .ca-hero { margin-top: 16px; }
@media (min-width: 1280px) { .fhero .ca-hero { display: none; } }
/* typing on the card */
#hcard .tk b { display: flex; align-items: baseline; overflow: visible; }
#hcard .tk .dl { flex: none; }
#hcard input { font: inherit; letter-spacing: inherit; color: var(--ink); background: transparent; border: 0; outline: 0; padding: 0; margin: 0; min-width: 0; border-radius: 0; caret-color: var(--ink); -webkit-appearance: none; appearance: none; }
#hcard .tk input { text-transform: uppercase; }
#hcard .tk input::placeholder { color: rgba(13, 17, 23, .16); }
#hcard input:focus { box-shadow: inset 0 -.32cqw 0 rgba(142, 170, 208, .55); }
#hcard .who { gap: 0; }
#hcard .who #hAv { margin-right: 1.8cqw; }
#hcard .who .fr { flex: none; color: rgba(13, 17, 23, .55); }
#hcard .who input { font: 500 3.7cqw/1.1 FS, sans-serif; color: var(--ink); }
#hcard .who input::placeholder { color: rgba(13, 17, 23, .34); }

/* ---------------------------------------------------------------- bands: sky windows on the sheet */
.fband { position: relative; isolation: isolate; padding: 0 14px; }
.fband + .fband { margin-top: 14px; }
.sheet > .fband:first-child { padding-top: 14px; }
.sheet > .fband:first-child > .bg { top: 14px; }
.fband > .bg, .ffoot > .bg { position: absolute; inset: 0 14px; z-index: -1; overflow: hidden; border-radius: 30px; background: #edf1f6; }
.fband > .bg img, .ffoot > .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.fband > .bg img.in, .ffoot > .bg img.in { opacity: 1; }
.fband > .bg::after, .ffoot > .bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(13, 17, 23, .04); }
.fband > .in { max-width: 1240px; margin: 0 auto; padding: clamp(88px, 12vh, 136px) clamp(20px, 4vw, 56px); text-align: center; }
.fband h2 { margin: 0; font: 600 clamp(42px, 5.8vw, 88px)/.95 FD; letter-spacing: -.055em; color: var(--ink); text-wrap: balance; }
.fband .in > p { margin: 20px auto 0; max-width: 540px; font-size: 18px; line-height: 1.55; color: rgba(13, 17, 23, .64); text-wrap: pretty; }
.fband .in > .btn { margin-top: 36px; height: 52px; padding: 0 26px; font-size: 16px; }

/* every trade feeds it: trades -> lane -> the card */
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(48px, 1fr) minmax(0, 420px); align-items: center; gap: 0 12px; max-width: 1060px; margin: clamp(48px, 7vh, 76px) auto 0; text-align: left; }
.trades { display: flex; flex-direction: column; gap: 8px; height: 328px; overflow: hidden; padding: 2px 4px; margin: 0 -4px; -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent); mask-image: linear-gradient(180deg, #000 64%, transparent); }
.tr { flex: none; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 15px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 1px 2px rgba(40, 56, 80, .06), 0 10px 26px -14px rgba(40, 56, 80, .26); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14.5px; color: var(--fg); }
.tr i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.tr.s i { background: #c5ccd6; }
.tr b { font-weight: 600; color: var(--ink); }
.tr span { font: 500 13px var(--mono); color: rgba(13, 17, 23, .58); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 12.5px; color: rgba(13, 17, 23, .52); }
.tr em::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(13, 17, 23, .1), 0 0 10px 3px rgba(255, 255, 255, .95); }
.tr.new { animation: trin .6s var(--ease-o); }
@keyframes trin { from { opacity: 0; transform: translateY(-14px) scale(.98) } }
.lane { height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 30%, #fff 70%, rgba(255, 255, 255, 0)); box-shadow: 0 0 14px 2px rgba(255, 255, 255, .9); }
.fcardw.sm { position: relative; perspective: 1400px; }
.fcardw.sm .qpc { width: 100%; --cw: 420px; }
.flow .grain { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; z-index: 3;
  background: radial-gradient(circle, #fff 0 36%, rgba(255, 255, 255, .55) 52%, rgba(255, 255, 255, 0) 72%); box-shadow: 0 0 16px 5px rgba(255, 255, 255, .9), 0 2px 6px rgba(60, 82, 112, .22); }
.qpc.fed { animation: fed .8s var(--ease-o); }
.qpc.fed .edge { animation: fededge .8s var(--ease-o); }
@keyframes fed { 0% { filter: brightness(1.05) } 100% { filter: brightness(1) } }
@keyframes fededge { 0% { box-shadow: inset 0 0 0 1px rgba(13, 17, 23, .07), inset 0 0 0 .7cqw rgba(255, 255, 255, .95), inset 0 0 7cqw rgba(142, 170, 208, .4) } 100% { box-shadow: inset 0 0 0 1px rgba(13, 17, 23, .07), inset 0 1.5px 0 #fff, inset 0 -1px 0 rgba(13, 17, 23, .05) } }

/* fed right now: the parade */
.fb-live > .in { padding-bottom: 30px; }
.lh { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; text-align: left; }
.lh h2 { font-size: clamp(38px, 4.6vw, 66px); }
.parade { position: relative; overflow: hidden; padding: 20px 0 100px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.track { display: flex; gap: 26px; width: max-content; padding-left: 26px; animation: parade calc(var(--n, 6) * 5.5s) linear infinite; }
.parade:hover .track { animation-play-state: paused; }
@keyframes parade { to { transform: translateX(calc(-50% - 13px)) } }
.pcard { flex: none; display: block; width: 320px; perspective: 1100px; }
.pcard .qpc { transition: transform .45s var(--ease-o); }
.pcard:hover .qpc { transform: perspective(1100px) rotateX(4deg) rotateY(-6deg) translateY(-6px); }
.pcard .cap, .ccell .cap { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 0 4px; font-size: 14px; color: var(--muted); }
.pcard .cap b, .ccell .cap b { min-width: 0; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .cap span, .ccell .cap span { white-space: nowrap; }
.pcard .oc, .ghost { position: relative; display: grid; place-items: center; aspect-ratio: 85.6 / 53.98; border-radius: 5.2% / 8.25%; border: 1.5px dashed rgba(13, 17, 23, .14); background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(239, 243, 247, .8)); text-align: center; color: var(--muted); font-size: 14px; transition: border-color .2s, background .2s; }
.pcard .oc b, .ghost b { display: block; margin-bottom: 6px; font: 600 24px/1 FD; letter-spacing: -.035em; color: var(--ink); }
.pcard.open:hover .oc, a.ghost:hover { border-color: rgba(13, 17, 23, .3); background: #fff; }
.ghost .gw { position: absolute; left: 7%; top: 9%; font: 650 18px/1 FD; letter-spacing: -.05em; color: rgba(13, 17, 23, .24); }
.ghost .gn { position: absolute; left: 7%; bottom: 12%; font: 400 12px var(--mono); letter-spacing: .16em; color: rgba(13, 17, 23, .24); }
.ghost.sk { border: 0; }

/* ---------------------------------------------------------------- footer: the sky again */
.ffoot { position: relative; isolation: isolate; margin-top: 110px; padding: 0 14px 14px; }
.fband + .ffoot { margin-top: 14px; }
.ffoot > .bg { inset: 0 14px 14px; }
.ffoot > .in { padding: clamp(110px, 16vh, 170px) clamp(24px, 4vw, 56px) 30px; }
.ffoot .big { margin: 0; font: 650 clamp(120px, 21vw, 330px)/.8 FD; letter-spacing: -.075em; color: var(--ink); }
.ffoot .line2 { margin: 26px 0 0; max-width: 640px; font: 500 clamp(19px, 2vw, 26px)/1.3 FD; letter-spacing: -.02em; color: rgba(13, 17, 23, .74); }
.fcta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fcta .capill { margin-top: 0; }
.ffoot .flinks { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 40px; flex-wrap: wrap; margin-top: 76px; padding-top: 22px; border-top: 1px solid rgba(13, 17, 23, .1); font-size: 14px; color: rgba(13, 17, 23, .6); }
.ffoot .flinks nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ffoot .flinks a:hover { color: var(--ink); }
.capill { display: inline-flex; align-items: center; gap: 10px; height: 40px; margin-top: 26px; padding: 0 10px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .64); border: 1px solid rgba(13, 17, 23, .1); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 13px var(--mono); }
.capill .k { font: 700 12.5px var(--sans); color: rgba(13, 17, 23, .5); }
.capill svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- cards page */
.qsec { padding: 64px 0 0; }
.qsec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.chipb { height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--p10); background: transparent; color: var(--p70); font-size: 13.5px; font-weight: 500; }
.chipb.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 36px 26px; }
.ccell { display: block; perspective: 1100px; }
.ccell .qpc { transition: transform .45s var(--ease-o); }
.ccell:hover .qpc { transform: perspective(1100px) rotateX(5deg) rotateY(-7deg) translateY(-6px); }
.empty-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--p8); box-shadow: var(--sh-1); color: var(--muted); }
.empty-row b { color: var(--ink); font-weight: 600; }
.qpc.fluid { width: 100%; --cw: 300px; border-radius: 5.2% / 8.25%; }
.tcard { display: inline-flex; align-items: center; flex: none; height: 20px; padding: 0 8px; border: 1px solid var(--p14); border-radius: 999px; font: 500 12px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.ccell .cap .tcard { align-self: center; margin-right: auto; }
.typeahead b .tcard { height: 18px; margin-left: 8px; padding: 0 7px; font-size: 11.5px; }

/* ---------------------------------------------------------------- ported pages, white */
.panel, .rcard { background: #fff; border: 1px solid var(--p8); border-radius: 22px; box-shadow: var(--sh-1); }
.panel h3, .modal-in h3 { font-family: FD; font-weight: 600; letter-spacing: -.025em; }
.modal, .mmenu { background: rgba(226, 233, 241, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-in { background: #fff; border-color: var(--p8); box-shadow: 0 40px 100px -30px rgba(40, 56, 80, .45); border-radius: 24px; }
.toast { background: var(--ink); color: #fff; border-radius: 999px; }
.mmenu-in { background: #fff; border-color: var(--p8); padding-top: 16px; }
.mmenu .qnav { flex-direction: column; margin: 18px 0 0; }
.mmenu .qnav a { font-size: 17px; padding: 12px 14px; }
.fbox { background: #fff; border-color: var(--p10); }
.page-h { display: none; }
.coin-head h1 { font-family: FD; font-weight: 600; letter-spacing: -.045em; }
.kv { border-color: var(--p8); }
.kv b { font-weight: 600; }
.cardside { display: flex; flex-direction: column; gap: 14px; }
.cardside .qpc { width: 100%; --cw: 380px; }
.cardnote { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cardnote b { color: var(--ink); font-weight: 600; }
.launch-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; }
.preview .qpc { width: 100%; --cw: 440px; }
.preview .pv-note { margin-top: 26px; }
.done .qpc { width: 100%; --cw: 400px; margin: 0 auto 18px; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px 24px; }
.doc h2 { font-family: FD; font-weight: 600; letter-spacing: -.035em; }
.doc .callout { background: #fff; border-color: var(--p10); }
.toc a.on { color: var(--ink); background: #fff; box-shadow: var(--sh-1); }
.xm-tag { font-size: 12.5px; }
.ph2 { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ph2 > img, .ph2 > .ini { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 20px 50px -20px rgba(40, 56, 80, .45); font-size: 30px; flex: none; }
.ph2 h1 { display: flex; align-items: center; gap: 10px; }
.ph2 h1 .vf { width: 30px; height: 30px; }
.ph2 p { margin-top: 8px; }
.ph2 .acts2 { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-h h2 { margin: 0; font: 600 30px/1.1 FD; letter-spacing: -.035em; }
/* the dark port's hard-coded colours, made white */
.noimg, .dot, .coin-head .lg, .phead .av, .prof .av, .tok .im, .mini .im { background: #e9eef3; }
.ini { background: #e6ecf2; color: var(--ink); }
.dot .bd, .who .xmb, .field .msg::before, .route-in button { color: #fff; }
.who { background: rgba(255, 255, 255, .85); border-color: var(--p8); color: var(--ink); }
.tok .age, .mini .im .age { background: rgba(255, 255, 255, .85); color: var(--ink); }
.sk { background: linear-gradient(100deg, #edf1f5 20%, #f8fafc 40%, #edf1f5 60%); background-size: 200% 100%; }
.inp::placeholder { color: rgba(13, 17, 23, .36); }
.inp:focus { border-color: rgba(13, 17, 23, .4); box-shadow: 0 0 0 4px rgba(142, 170, 208, .18); }
.drop:hover, .drop.over { background: #f1f5f9; }
.steps li i { border-color: rgba(13, 17, 23, .2); }
.steps li.ok i::after { border-color: #fff; }
/* the coin page: the card on a sky window, the chart under it once the coin trades */
.cwin { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 420px; padding: clamp(44px, 6vw, 84px) clamp(28px, 7vw, 110px); border-radius: 26px; overflow: hidden; perspective: 1400px; }
.cwin > .bg { position: absolute; inset: 0; z-index: -1; background: #edf1f6; }
.cwin > .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.cwin > .bg img.in { opacity: 1; }
.cwin .qpc { width: min(100%, 500px); }
.split > .stack:first-child { gap: 16px; }
#cp .coin-head .ttl h1 { display: none; }
#cp .coin-head .ttl .fr { margin-top: 0; }
/* the X handle picker on the launch form */
.xpick { border: 1px solid rgba(13, 17, 23, .14); background: #fff; }
.xpick:focus-within { border-color: rgba(13, 17, 23, .42); box-shadow: 0 0 0 4px rgba(142, 170, 208, .18); }
.xcard .xm-tag { flex: none; }
.routebox .hd { font: 600 12.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
/* inner pages: the sky fades into the sheet */
.qsky:not(.home) .qsky-bg .shade { background: linear-gradient(180deg, rgba(246, 248, 251, .5) 0, rgba(246, 248, 251, 0) 150px, rgba(251, 252, 253, 0) 46%, rgba(251, 252, 253, .8) calc(100% - 90px), #fbfcfd calc(100% - 40px)); }
.qsky:not(.home) + .sheet { box-shadow: none; }
/* nobreak() spans must look exactly like their parent text */
span.nw { white-space: nowrap; display: inline !important; font: inherit !important; color: inherit !important; letter-spacing: inherit !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.kv b a svg { width: 13px; height: 13px; vertical-align: -2px; margin-left: 4px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) { .qsearch { width: 220px; } }
@media (max-width: 1023px) {
  .qnav, .qsearch, .qacts .wbtn-d { display: none; }
  .menu-btn { display: grid; }
  .qtop { gap: 12px; justify-content: space-between; }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; order: -1; max-width: 520px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 440px; }
  .flow .lane { display: none; }
  .trades { height: 216px; }
}
@media (max-width: 767px) {
  .qtop { height: 66px; }
  .qbrand svg { width: 27px; height: 27px; }
  .qbrand b { font-size: 27px; }
  .qacts .btn-ink { display: none; }
  .qsky.home { min-height: 0; }
  .fhero { padding: 20px 18px 96px; }
  .fhero h1 { font-size: clamp(44px, 12.6vw, 62px); }
  .fstage { width: min(86vw, 420px); }
  .fstage .qpc { --cw: min(86vw, 420px); }
  .vhead { padding: 18px 18px 84px; }
  .sheet { border-radius: 26px 26px 0 0; }
  .fband, .ffoot { padding-left: 8px; padding-right: 8px; }
  .fband > .bg { inset: 0 8px; border-radius: 24px; }
  .sheet > .fband:first-child { padding-top: 8px; }
  .sheet > .fband:first-child > .bg { top: 8px; }
  .fband + .fband, .fband + .ffoot { margin-top: 8px; }
  .ffoot { padding-bottom: 8px; margin-top: 80px; }
  .ffoot > .bg { inset: 0 8px 8px; border-radius: 24px; }
  .fband > .in { padding: 80px 20px; }
  .fband .in > p { font-size: 16.5px; }
  .pcard { width: 264px; }
  .cgrid { grid-template-columns: minmax(0, 1fr); }
  .ffoot > .in { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .fstage .fcardw, .fshadow, .track { animation: none; }
  .parade { overflow-x: auto; }
  .ccell:hover .qpc, .pcard:hover .qpc { transform: none; }
}
