/* SENDIT: the brand layer, after every other sheet.
 *
 * The brand film (a near-black green ground, lime as the one loud colour,
 * cream words, DM Sans set large and tight, lowercase headlines that end on a
 * lime full stop, tracked capital kickers, the asterisk) brought to an app
 * whose pages are tables of money. The film's voice goes where a page speaks:
 * the logo, the titles, Home's hero, the primary action, the kickers, the
 * ticker. Where a page counts, it stays quiet: tabular figures, direction in
 * emerald and red, lime never painted on a number.
 *
 * shell.css holds the palette (--pep-*) and pepper.css the estate's ramp in
 * lime; this file adds the face and the pieces only SENDIT has. Everything is
 * scoped to body[data-app="pepper"] (the app's internal name) or pep- named,
 * because shared-ui is served to eight origins.
 */

/* ------------------------------------------------------------------ face
 * DM Sans, self-hosted (font-src 'self'), latin, one variable file per
 * style. OFL: public/fonts/DM-Sans-OFL.txt. No unicode-range: a glyph the
 * file lacks falls back on its own. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-wght.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-wght-italic.woff2") format("woff2");
}
/* DM Sans Figures: DM Sans's own ten digits on one width - tabular figures, which DM Sans does not have (its GSUB has
   no tnum, so tabular-nums does nothing in it). Built from the same source by scripts/build-sendit-figures.py, one
   static file per weight a figure is set in; the unicode-range leaves every other character to DM Sans. A stack that
   names it first (perps.css, the book) gets figures that never change width as a price ticks, and a column of
   prices whose points line up. */
@font-face {
  font-family: "DM Sans Figures";
  font-style: normal;
  font-weight: 100 549;
  font-display: swap;
  src: url("/fonts/dm-sans-figures-400.woff2") format("woff2");
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "DM Sans Figures";
  font-style: normal;
  font-weight: 550 649;
  font-display: swap;
  src: url("/fonts/dm-sans-figures-600.woff2") format("woff2");
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "DM Sans Figures";
  font-style: normal;
  font-weight: 650 1000;
  font-display: swap;
  src: url("/fonts/dm-sans-figures-700.woff2") format("woff2");
  unicode-range: U+0030-0039;
}

/* The estate's registered inks are re-founded on the body, never :root
   (pepper.css, trap 1), so a component drawn from shared-ui's tokens - the
   wallet's menu, an .ex-panel, a chart's ground - sits on SENDIT's green-black
   rather than the estate's neutral one. */
body[data-app="pepper"] {
  --pickle-font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pickle-font-display: var(--pickle-font);
  --pickle-ground: var(--pep-ground);
  --pickle-surface-1: var(--pep-panel);
  --pickle-text: var(--pep-text);
  --pickle-muted: var(--pep-text-2);
  --pickle-subtle: var(--pep-text-3);
  --pickle-line: var(--pep-line-strong);
  font-family: var(--pickle-font);
  font-optical-sizing: auto;
  letter-spacing: -0.005em;
}
:root {
  --pickle-bg: #0b100c;
  --pickle-bg-deep: #070a07;
  --pickle-surface-2: #192219;
  --pickle-surface-3: #1f2a1e;
  --pickle-surface-4: #273326;
  --pickle-surface-input: #070a07;
  --pickle-surface-hover: rgb(226 255 196 / 6%);
  --pickle-faint: #5f6a57;
}

/* --------------------------------------------------------------- the logo
 * The film's wordmark: "sendit" in a heavy italic, lowercase, and the lime
 * arrow after it. The arrow is an <img> of /assets/sendit-arrow.svg. */

.pep-brand { gap: 5px; }
.pep-brand-name {
  font-size: 23px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: lowercase;
}
.pep-brand-arrow { display: block; width: 19px; height: 19px; margin-top: -4px; }
/* Where the name gives way (shell.css, under 1280 px) the arrow alone is the
   mark, drawn a little larger. */
@media (max-width: 1279px) {
  .pep-brand-arrow { width: 24px; height: 24px; margin-top: 0; }
}

/* ---------------------------------------------------------------- kickers
 * The film's "01 / THE EXPERIENCE": small tracked capitals in lime, with the
 * asterisk before them where one is drawn. */

.pep-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--pep-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.pep-asterisk {
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
  background: url("/assets/sendit-star.svg") center / contain no-repeat;
}

/* ----------------------------------------------------------------- titles
 * Every page's h1 in the film's register: large, tight, and ending on a lime
 * full stop (drawn, so no title's words change). */

.pep-title-h,
.pep-feed-title {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.pep-title-h,
.pep-feed-title { font-size: clamp(30px, 3vw, 40px); }
.pep-title-h::after,
.pep-feed-title::after {
  content: ".";
  color: var(--pep-brand);
}

/* ------------------------------------------------------------ Home's hero
 * The film's opening, at app scale: the kicker, a two-tone lowercase
 * headline that lands on "send it." in lime, the line under it, and the lime
 * pill beside a quiet second action. */

.pep-home-hero {
  position: relative;
  align-items: flex-end;
  padding: 28px 0 8px;
}
.pep-home-h {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.pep-home-h span { display: block; }
.pep-home-h-lime { color: var(--pep-brand); }
.pep-home-tag { margin: 0 0 6px; color: var(--pep-text); font-size: 17px; font-weight: 500; }
.pep-home-hero .pep-sub { font-size: 14px; }

/* ------------------------------------------------------------ the surfaces
 * The film's cards are a shade off the ground with a hairline edge. */

.pep-panel,
.pep-tcard,
.pep-mcard {
  box-shadow: inset 0 0 0 1px var(--pep-line);
}

/* ------------------------------------------------------------- the ticker
 * The film's marquee band: the strip under every page, its prices set apart
 * by the lime asterisk. */

.pep-ticker { background: var(--pep-panel); }
.pep-ticker-item + .pep-ticker-item::before {
  content: "";
  align-self: center;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  background: url("/assets/sendit-star.svg") center / contain no-repeat;
}
.pep-ticker-base { letter-spacing: 0.06em; }

/* -------------------------------------------------------------- selection */

body[data-app="pepper"] ::selection { background: rgb(195 245 111 / 30%); color: var(--pep-text); }

/* ===================================================== less template, more film
 * Where the first pass still read as a template (a wall of equal cards, a
 * glow behind everything, boxes inside boxes), the film's own devices instead:
 * numbered kickers, rankings, hairlines, a lime band, a marquee, air. */

/* No glow behind every page: the ground is flat, as the film's is. */
body[data-app="pepper"] .ex-wrap::before { background: none; }

/* ------------------------------------------------------------ Home's hero */

.pep-home-hero { display: block; padding: 36px 0 12px; }
.pep-home-tag { max-width: 46ch; margin: 0; color: var(--pep-text-2); font-size: 17px; font-weight: 400; line-height: 1.45; }
.pep-home-hero .pep-home-do { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 26px; }
.pep-home-hero .pep-btn-primary { min-height: 52px; padding: 0 28px; font-size: 16px; }
/* The film's second action: words with a line under them, not a second box. */
.pep-home-link {
  color: var(--pep-text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--pep-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.pep-home-link:hover { color: var(--pep-text); text-decoration-color: var(--pep-brand); }

/* --------------------------------------------------------------- sections */

.pep-home-sec { gap: 0; margin: 0 0 56px; }
.pep-home-head { align-items: center; margin-bottom: 14px; }
/* Round 16: the heading is the title, a few words set large, its number small and lime before it. */
.pep-home-h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: var(--pep-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pep-home-n { color: var(--pep-brand); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.pep-kicker {
  margin: 0;
  color: var(--pep-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.pep-kicker-ink { color: var(--pep-brand-ink); }
.pep-home-aside { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--pep-text-3); font-size: 13px; }
/* The one short line under a heading, when it has one: which rule picked the list. */
.pep-home-title { margin: -8px 0 14px; color: var(--pep-text-2); font-size: 14px; }
.pep-home-sec { align-content: start; }
/* A list still to be read keeps its room, so nothing under it moves when it lands. */
.pep-home-wait { min-height: 320px; }

/* ---------------------------------------------------------------- ranking */

.pep-trend-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; padding: 0; list-style: none; }
.pep-trend-top-item { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
/* The rank over its card, as the film numbers its sections: never on the card's own figures. */
.pep-trend-rank {
  color: var(--pep-sage);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.pep-trend-top-item:first-child .pep-trend-rank { color: var(--pep-brand); }
.pep-trend-top .pep-tcard { gap: 12px; height: 100%; padding: 20px; }
.pep-trend-top .pep-tcard-cap { font-size: 32px; letter-spacing: -0.03em; }

.pep-trend-rows { margin: 0; padding: 0; list-style: none; }
.pep-trend-rows li { border-bottom: 1px solid var(--pep-line); }
.pep-trend-row {
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 10px;
  color: var(--pep-text);
  font-size: 14px;
  text-decoration: none;
}
.pep-trend-row:hover { background: var(--pep-panel); color: var(--pep-text); }
.pep-trend-row:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: -2px; }
.pep-trend-n { color: var(--pep-sage); font-weight: 700; }
.pep-trend-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pep-trend-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pep-trend-price,
.pep-trend-chg,
.pep-trend-cap,
.pep-trend-vol { text-align: right; white-space: nowrap; }


/* ------------------------------------------------------------ the crew band
 * The film's lime section, inside the page: ink words on lime, dark cards a
 * little askew, as if dealt onto the table. */

/* Round 18: Home's second section ("02 Clans", pages/index.jsx), the band under its heading; the section keeps the
   space under it, as every other section does. */
.pep-crew {
  margin: 0;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  background: var(--pep-brand);
  color: var(--pep-brand-ink);
}
.pep-crew-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.pep-crew-h { margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; }
.pep-crew-h span { display: block; }
.pep-crew-h-soft { color: #4f6f33; }
.pep-crew-do { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.pep-btn-ink { border-radius: var(--pep-radius-pill); background: var(--pep-brand-ink); color: var(--pep-text); }
.pep-btn-ink:hover { color: var(--pep-text); }
.pep-btn-ink:hover:where(:not([disabled])) { background: #1c261b; }
.pep-crew-link { color: var(--pep-brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.pep-crew-link:hover { color: var(--pep-brand-ink); }
.pep-crew-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.pep-crew-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background: #121912;
  color: var(--pep-text);
  text-decoration: none;
  box-shadow: 0 14px 30px rgb(11 16 12 / 28%);
}
.pep-crew-cards li:nth-child(1) .pep-crew-card { transform: rotate(-1.2deg); }
.pep-crew-cards li:nth-child(2) .pep-crew-card { background: #2a2136; transform: rotate(0.8deg) translateY(6px); }
.pep-crew-cards li:nth-child(3) .pep-crew-card { background: #2b261b; transform: rotate(-0.4deg); }
.pep-crew-card:hover { color: var(--pep-text); }
.pep-crew-card:focus-visible { outline: 3px solid var(--pep-brand-ink); outline-offset: 3px; }
.pep-crew-card-top { display: flex; justify-content: space-between; width: 100%; color: var(--pep-text-2); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pep-crew-card-name { font-size: 24px; letter-spacing: -0.02em; }
.pep-crew-card-pnl { font-size: 20px; font-weight: 700; }
.pep-crew-card-foot { padding-top: 10px; border-top: 1px solid var(--pep-line); width: 100%; color: var(--pep-text-3); font-size: 12px; }
/* The three cards' room while the clans board is read: nothing under the band moves when they land. */
.pep-crew-skel { min-height: 236px; box-shadow: none; opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
  .pep-crew-card { transition: transform 0.2s ease; }
  .pep-crew-cards li .pep-crew-card:hover { transform: rotate(0) translateY(-4px); }
}

/* ------------------------------------------------------ a section's head
 * The (i) beside a heading: the head's space goes to the aside's left, so the hint stays by its words. A list with
 * nothing to show says so in words, a button under them. (Round 19: Home's traders carousel left; the hero's
 * Top traders card is the page's one list of traders.) */
.pep-home-head > .pep-hint { margin-right: auto; margin-left: -4px; }
.pep-home-none { display: grid; justify-items: start; gap: 12px; margin: 4px 0 0; }

/* ===================================================== Home, round 16
 * The owner: "less text, more user friendly, a wow effect". The first
 * screen is the brand at full size and a card beside it: six words of
 * headline, one line, the two ways in, three counters of the last day
 * (counted up once, on sight), and the week's top traders (round 18; the
 * newest trades before it: components/home/HomeHero.jsx,
 * HomeTopTraders.jsx). Under it,
 * the first steps as three icons, then sections that are a title and their
 * cards or tiles. Every motion asks first (prefers-reduced-motion); every
 * list keeps its room while it loads. */

/* ------------------------------------------------------------- the hero */

.pep-hero {
  position: relative;
  margin: 0 0 28px;
  padding: 36px 0 12px;
  container: pep-hero / inline-size;
  isolation: isolate;
}
/* A faint grid under a lime glow, fading out: the film's stage, behind the words and the card only. */
.pep-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(55% 60% at 78% 42%, rgb(195 245 111 / 11%), transparent 70%),
    linear-gradient(var(--pep-line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--pep-line) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(80% 80% at 60% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}
.pep-hero-words { min-width: 0; }
.pep-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@container pep-hero (min-width: 820px) {
  .pep-hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; }
  .pep-hero-h { font-size: clamp(60px, 8.6cqi, 92px); }
}
/* Sized by the hero's own width (the rail beside the page takes some): one column, then two. */
.pep-hero-h {
  margin: 0 0 18px;
  font-size: clamp(46px, 12cqi, 92px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.pep-hero-h span { display: block; }
.pep-hero-lime { color: var(--pep-brand); }
.pep-hero-sub { max-width: 34ch; margin: 0; color: var(--pep-text-2); font-size: 17px; line-height: 1.45; }
.pep-hero-do { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pep-hero-do .pep-btn { min-height: 52px; padding: 0 26px; border-radius: var(--pep-radius-pill); font-size: 16px; }
.pep-hero-alt { background: transparent; box-shadow: inset 0 0 0 1px var(--pep-line-strong); }
.pep-hero-alt:hover:where(:not([disabled])) { background: var(--pep-panel); }

/* The three counters: the figure large, its label small under it; their room kept while they load. */
.pep-hero-stats-room { display: flex; align-items: flex-start; gap: 6px; margin-top: 32px; }
.pep-hero-stats { display: grid; flex: none; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0 clamp(20px, 4cqi, 40px); margin: 0; }
.pep-hero-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; min-width: 84px; min-height: 58px; }
.pep-hero-stat dt { color: var(--pep-text-3); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pep-hero-stat dd {
  margin: 0;
  color: var(--pep-text);
  font-family: "DM Sans Figures", var(--pickle-font);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.pep-hero-stat-skel { justify-content: flex-start; flex-direction: column; gap: 8px; }
.pep-hero-stat-skel i { display: block; width: 72%; height: 24px; border-radius: 8px; background: var(--pep-panel-2); }
.pep-hero-stat-skel i + i { width: 48%; height: 11px; }
.pep-hero-stats-room > .pep-hint { margin-top: 2px; }

/* ------------------------------------------------------- the top traders
 * Round 18 (components/home/HomeTopTraders.jsx): the hero's card is the
 * week's top traders, in the glassy card the live trades had and at its
 * size: five rows of /feed/'s Top Traders (feed.css's ranks, faces and
 * figures), each row as tall as the card's old ones. */

.pep-htop {
  min-width: 0;
  padding: 16px 14px 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(195 245 111 / 5%), transparent 120px), var(--pep-panel);
  box-shadow: inset 0 0 0 1px var(--pep-line-strong), 0 30px 60px -32px rgb(0 0 0 / 70%);
}
.pep-htop-head { display: flex; align-items: center; gap: 8px; margin: 0 6px 8px; font-size: 13px; }
.pep-htop-h { margin: 0; color: var(--pep-text); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.pep-htop-k { overflow: hidden; color: var(--pep-text-3); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pep-htop-all { margin-left: auto; white-space: nowrap; }
.pep-htop-note { margin: -2px 6px 6px; font-size: 12px; }
.pep-htop-list { grid-auto-rows: 60px; gap: 0; min-height: calc(5 * 60px); }
.pep-htop-list > .pep-fd-top-row { gap: 12px; min-width: 0; padding: 0 8px; }
.pep-htop-list .pep-trader { gap: 12px; }
.pep-htop-list .pep-trader-primary { font-size: 14px; }
.pep-htop-list .pep-trader-address { color: var(--pep-text-3); font-size: 12px; }
.pep-htop-list .pep-fd-top-row .pep-face { width: 38px; height: 38px; }
.pep-htop-list .pep-fd-top-fig { gap: 3px; }
.pep-htop-list .pep-fd-top-fig b { font-family: "DM Sans Figures", var(--pickle-font); }
.pep-htop-skel { display: grid; grid-template-columns: 26px 38px minmax(0, 1fr) 56px; align-items: center; gap: 12px; padding: 0 8px; }
.pep-htop-skel + .pep-htop-skel { box-shadow: 0 -1px 0 var(--pep-line); }
.pep-htop-skel i { display: block; height: 12px; border-radius: 6px; background: var(--pep-panel-2); }
.pep-htop-skel i:first-child { grid-column: 2; width: 38px; height: 38px; border-radius: 50%; }
.pep-htop-none { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: calc(5 * 60px); margin: 0; color: var(--pep-text-2); text-align: center; }
.pep-htop-none p { margin: 0; }
/* Beside the words, the card a little roomier: its rows nearer the height of the column it faces. */
@container pep-hero (min-width: 820px) {
  .pep-htop-list { grid-auto-rows: 66px; min-height: calc(5 * 66px); }
  .pep-htop-none { min-height: calc(5 * 66px); }
  .pep-htop-list .pep-fd-top-row .pep-face { width: 42px; height: 42px; }
}

/* -------------------------------------------------------- the first steps */

.pep-start {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 52px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--pep-radius);
  background: var(--pep-panel);
  box-shadow: inset 0 0 0 1px var(--pep-line);
}
.pep-start-title { margin: 0; color: var(--pep-text-2); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pep-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.pep-start-go {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--pep-text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.pep-start-go b { font-weight: 700; }
a.pep-start-go:hover,
button.pep-start-go:hover:where(:not([disabled])) { background: var(--pep-panel-2); color: var(--pep-text); }
.pep-start-go:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: -2px; }
.pep-start-go[disabled] { color: var(--pep-text-3); cursor: default; }
.pep-start-ic { flex: none; box-sizing: content-box; padding: 7px; border-radius: 11px; background: var(--pep-brand-soft); color: var(--pep-brand); }
.pep-start-steps .is-done .pep-start-go { color: var(--pep-brand); cursor: default; }
.pep-start-hide {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pep-text-3);
  cursor: pointer;
}
.pep-start-hide:hover { background: var(--pep-panel-2); color: var(--pep-text); }
.pep-start-hide:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; }
.pep-start .pep-faucet-check { grid-column: 1 / -1; }

/* ---------------------------------------------------------- quests reminder
 * Round 22: one quiet line under the hero (components/home/QuestsCard.jsx):
 * the lime dot of something live, the words, the link to the Earn site's
 * quests and a close button. No box of its own beyond a hairline. */

.pep-quests-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0 0 16px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--pep-radius);
  box-shadow: inset 0 0 0 1px var(--pep-line);
  font-size: 14px;
}
.pep-quests-text { display: flex; flex: 1 1 18ch; align-items: center; gap: 10px; min-width: 0; margin: 0; color: var(--pep-text-2); }
.pep-quests-text::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--pep-brand); }
.pep-quests-go { color: var(--pep-brand); font-weight: 700; white-space: nowrap; text-decoration: none; }
.pep-quests-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.pep-quests-go:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; border-radius: var(--pep-radius-sm); }
.pep-quests-x {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pep-text-3);
  cursor: pointer;
}
.pep-quests-x:hover { background: var(--pep-panel-2); color: var(--pep-text); }
.pep-quests-x:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; }

/* ------------------------------------------------------------ the markets */

.pep-mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pep-mk {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 6px;
  height: 100%;
  min-height: 132px;
  padding: 14px 14px 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--pep-panel);
  box-shadow: inset 0 0 0 1px var(--pep-line);
  color: var(--pep-text);
  text-decoration: none;
}
.pep-mk:hover { background: var(--pep-panel-2); color: var(--pep-text); }
.pep-mk:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; }
.pep-mk-head { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.pep-mk-chg { margin-left: auto; font-family: "DM Sans Figures", var(--pickle-font); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pep-mk-shut { color: var(--pep-text-3); font-family: inherit; font-weight: 600; }
.pep-mk-price { overflow: hidden; font-family: "DM Sans Figures", var(--pickle-font); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; text-overflow: ellipsis; white-space: nowrap; }
.pep-mk-spark { display: block; align-self: end; width: calc(100% + 28px); height: 46px; margin: 0 -14px; color: var(--pep-text-3); }
.pep-mk-skel { display: block; height: 132px; }

/* ---------------------------------------------------------- new launches */

.pep-home-fresh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.pep-home-fresh .pep-side-row { padding: 12px 8px; border-bottom: 1px solid var(--pep-line); border-radius: 0; }

/* ------------------------------------------------------------- narrower */

@media (max-width: 1099px) {
  .pep-home-fresh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .pep-hero { padding-top: 20px; }
  .pep-hero-do .pep-btn { flex: 1; padding: 0 16px; }
  .pep-hero-stats-room { margin-top: 26px; }
  .pep-hero-stats { gap: 0 18px; }
  .pep-hero-stat { min-width: 0; }
  .pep-htop { margin: 0 -4px; padding: 14px 8px 8px; }
  .pep-htop-list { grid-auto-rows: 58px; min-height: calc(5 * 58px); }
  .pep-htop-none { min-height: calc(5 * 58px); }
  .pep-htop-list > .pep-fd-top-row { gap: 10px; padding: 0 4px; }
  .pep-start { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 6px 8px 16px; }
  .pep-start-steps { grid-column: 1 / -1; grid-row: 2; }
  .pep-start-go { flex-direction: column; justify-content: center; gap: 6px; min-height: 80px; padding: 8px 4px; font-size: 13px; text-align: center; }
  .pep-mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pep-mk { min-height: 112px; }
  .pep-mk-spark { height: 36px; }
  .pep-mk-price { font-size: 18px; }
  .pep-home-fresh { grid-template-columns: minmax(0, 1fr); }
  .pep-home-wait { min-height: 480px; }
  .pep-home-head { flex-wrap: nowrap; }
  .pep-home-h2 { font-size: 21px; white-space: nowrap; }
  .pep-home-aside { flex-wrap: nowrap; gap: 12px; white-space: nowrap; }
  /* The top three tokens and the crews swipe sideways, the next one peeking, rather than three screens of cards. */
  .pep-home-sec .pep-trend-top,
  .pep-crew .pep-crew-cards {
    grid-template-columns: none;
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pep-trend-top-item,
  .pep-crew-cards > li { scroll-snap-align: start; }
  .pep-trend-rank { font-size: 32px; }
  .pep-crew .pep-crew-cards { padding-bottom: 12px; }
}

/* --------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .pep-htop-list > .pep-fd-top-row { animation: pep-htop-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .pep-htop-list > .pep-fd-top-row:nth-child(2) { animation-delay: 0.08s; }
  .pep-htop-list > .pep-fd-top-row:nth-child(3) { animation-delay: 0.16s; }
  .pep-htop-list > .pep-fd-top-row:nth-child(4) { animation-delay: 0.24s; }
  .pep-htop-list > .pep-fd-top-row:nth-child(5) { animation-delay: 0.32s; }
  .pep-hero-stat-skel i,
  .pep-htop-skel i,
  .pep-crew-skel,
  .pep-mk-skel { animation: pep-home-wait 1.4s ease-in-out infinite; }
  .pep-mk { transition: transform 0.2s ease, background-color 0.2s ease; }
  .pep-mk:hover { transform: translateY(-3px); }
  @keyframes pep-htop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes pep-home-wait { 50% { opacity: 0.45; } }
}
/* --------------------------------------------------------------- marquee */

.pep-ticker-run { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.pep-ticker-track { display: flex; width: max-content; }
.pep-ticker-track .pep-ticker-items { flex: none; overflow: visible; padding-right: 18px; }
.pep-ticker-copy { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pep-ticker-copy { display: flex; }
  .pep-ticker-track { animation: pep-marquee 60s linear infinite; }
  /* The tape stops under the pointer, and while one of its links has the keyboard's focus. */
  .pep-ticker:hover .pep-ticker-track, .pep-ticker-run:focus-within .pep-ticker-track { animation-play-state: paused; }
}
@keyframes pep-marquee { to { transform: translateX(-50%); } }
/* Round 17: each market on the tape is a link to its trade screen (Ticker.jsx): a soft plate under the pointer, the
   brand ring inside its edge for the keyboard (the band clips anything outside it). */
.pep-ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 -6px;
  padding: 3px 6px;
  border-radius: var(--pep-radius-sm);
  color: var(--pep-text);
  text-decoration: none;
}
.pep-ticker-link:hover { background: var(--pep-panel-hover); color: var(--pep-text); }
.pep-ticker-link:hover .pep-ticker-base { text-decoration: underline; }
.pep-ticker-link:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: -2px; }

/* -------------------------------------------------------- the sidebar rows */

.pep-side-row-line { grid-template-columns: auto minmax(0, 1fr) auto 64px; gap: 10px; padding: 9px 8px; }
.pep-side-row-line .pep-side-name b { font-size: 13px; }
.pep-side-row-line .pep-side-name .pep-faint { font-weight: 500; }
.pep-side-price { font-size: 13px; text-align: right; }
.pep-side-chg { font-size: 12px; font-weight: 600; text-align: right; }

/* ------------------------------------------------------------------ phone */

@media (max-width: 899px) {
  .pep-crew-intro { grid-template-columns: minmax(0, 1fr); }
  .pep-trend-row { grid-template-columns: 26px auto minmax(0, 1fr) auto; gap: 10px; }
  .pep-trend-price,
  .pep-trend-cap,
  .pep-trend-vol { display: none; }
  .pep-trend-chg .pep-faint { display: none; }
  .pep-crew-cards li .pep-crew-card { transform: none; }
  .pep-home-sec { margin-bottom: 48px; }
}

/* ------------------------------------------------------------ chart faces
 * The traders' faces over a chart (components/ChartFaces.jsx), each placed by
 * the adapter through --fx and --fy, set from script (never a style
 * attribute in the markup): at its fill on its bar. The layer is the plot's
 * size (--plot-w, --plot-h: the pane without the price scale and the time
 * axis) and clips to it, as the candles are clipped; a card may leave it,
 * placed through --cx and --cy so that it stays on the screen. */

.pep-candles-wrap { position: relative; margin-top: 12px; }
.pep-candles-wrap > .pep-candles { margin-top: 0; }
.pep-chartpanel .pep-candles-wrap { margin-top: 0; }
/* Its own stacking context over the chart: lightweight-charts lifts its canvases with z-index. */
.pep-cfaces { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pep-cfaces-layer { position: absolute; top: 0; left: 0; width: var(--plot-w, 100%); height: var(--plot-h, 100%); overflow: hidden; }

.pep-cface {
  --ring: rgb(226 255 196 / 28%);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(calc(var(--fx, -99px) - 50%), calc(var(--fy, -99px) - 50%));
}
.pep-cface .pep-face {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--pep-chart-bg, var(--pep-ground)), 0 0 0 3px var(--ring);
}
.pep-cface.is-big .pep-face { width: 24px; height: 24px; }
.pep-cface-other:not(.is-big) { opacity: 0.8; }
.pep-cface-friend.pep-cface-up { --ring: var(--pep-up); }
.pep-cface-friend.pep-cface-down { --ring: var(--pep-down); }
.pep-cface-mine { --ring: var(--pep-brand); z-index: 2; }
.pep-cface:hover,
.pep-cface.is-on { z-index: 3; opacity: 1; }
.pep-cface:hover .pep-face,
.pep-cface.is-on .pep-face { box-shadow: 0 0 0 1.5px var(--pep-chart-bg, var(--pep-ground)), 0 0 0 3px var(--pep-text); }
.pep-cface-more {
  position: absolute;
  right: -9px;
  bottom: -5px;
  padding: 0 3px;
  border-radius: var(--pep-radius-pill);
  background: var(--pep-panel-2);
  box-shadow: 0 0 0 1px var(--pep-line-strong);
  color: var(--pep-text);
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
}
/* The dollar total of a labelled group: over a sell's or a short's face, under a buy's or a long's, unless the plot's edge is too near. */
.pep-cface-usd {
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  padding: 0 4px;
  border-radius: 4px;
  background: rgb(11 16 12 / 82%);
  color: var(--pep-text);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  white-space: nowrap;
  transform: translateX(-50%);
}
.pep-cface.is-label-under .pep-cface-usd { top: calc(100% + 3px); bottom: auto; }
/* A face held at the plot's edge, its fill off the price scale: a caret points the way to it. */
.pep-cface.is-edge-top::before,
.pep-cface.is-edge-bottom::after {
  position: absolute;
  left: 50%;
  border: 4px solid transparent;
  content: "";
  transform: translateX(-50%);
}
.pep-cface.is-edge-top::before { bottom: calc(100% + 1px); border-top-width: 0; border-bottom-color: var(--ring); }
.pep-cface.is-edge-bottom::after { top: calc(100% + 1px); border-bottom-width: 0; border-top-color: var(--ring); }
@media (prefers-reduced-motion: no-preference) {
  .pep-cface .pep-face { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .pep-cface:hover .pep-face,
  .pep-cface.is-on .pep-face { transform: scale(1.18); }
}

.pep-cface-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  display: grid;
  gap: 8px;
  width: 260px;
  padding: 12px;
  border-radius: 14px;
  background: var(--pep-panel-2);
  box-shadow: inset 0 0 0 1px var(--pep-line-strong), 0 18px 40px rgb(0 0 0 / 45%);
  font-size: 13px;
  pointer-events: auto;
  transform: translate(var(--cx, 0px), var(--cy, 0px));
}
.pep-cface-card p { margin: 0; }
.pep-cface-card-head { display: flex; align-items: baseline; gap: 8px; color: var(--pep-text-2); }
.pep-cface-card-head b { margin-left: auto; color: var(--pep-text); font-size: 16px; }
.pep-cface-card-list { display: grid; gap: 10px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--pep-line); list-style: none; }
.pep-cface-card-list li { display: grid; gap: 4px; min-width: 0; }
.pep-cface-card-list .pep-trader { min-width: 0; }
.pep-cface-card-what { display: flex; align-items: baseline; gap: 8px; padding-left: 30px; font-size: 12px; white-space: nowrap; }
.pep-cface-card-what > span:first-child { overflow: hidden; font-weight: 700; text-overflow: ellipsis; }
.pep-cface-card-what em { color: var(--pep-brand); font-style: normal; }
.pep-cface-card-what b { margin-left: auto; }
.pep-cface-card-rest { font-size: 12px; }

/* The legend under a chart draws the faces' rings: lime yours (the brand: you), direction colour followed, quiet everyone else. */
.pep-overlays-key { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pep-panel-2); box-shadow: 0 0 0 2px var(--pep-line-strong); }
.pep-overlays-key-mine { box-shadow: 0 0 0 2px var(--pep-brand); }
.pep-overlays-key-friend { box-shadow: 0 0 0 2px var(--pep-up); }
.pep-overlays-key-other { box-shadow: 0 0 0 2px var(--pep-line-strong); }

/* The crew card's top line: its place this week, and how many it has. */
.pep-crew-card-rank { font-weight: 700; }
.pep-crew-card-members { opacity: 0.8; }

/* -------------------------------------------------------------- portfolio
 * The same register as Home: the total large and bare on the ground, the
 * allocation in colour (one colour a kind of holding, the same as its key,
 * never the brand's lime: a figure is not a button),
 * and each holding a section under a hairline with a lime kicker and its
 * dollar total large on the right, instead of a box inside a box. */

.pep-folio .pep-sum.pep-panel { padding: 8px 0 0; background: none; box-shadow: none; }
.pep-folio .pep-sum-big { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.045em; }
.pep-folio .pep-sum-part { background: var(--pep-panel); box-shadow: inset 0 0 0 1px var(--pep-line); }
.pep-folio .pep-split { height: 10px; border-radius: var(--pep-radius-pill); }
.pep-folio .pep-split-tokens { fill: var(--pep-text); }
.pep-folio .pep-split-liquidity { fill: #8fd0ff; }
.pep-folio .pep-split-staking { fill: #c4b2ff; }
.pep-folio .pep-split-perps { fill: #ffbc6b; }
.pep-folio .pep-split-vault { fill: #ff9fc6; }
.pep-folio .pep-sum-key-tokens::before { background: var(--pep-text); }
.pep-folio .pep-sum-key-liquidity::before { background: #8fd0ff; }
.pep-folio .pep-sum-key-staking::before { background: #c4b2ff; }
.pep-folio .pep-sum-key-perps::before { background: #ffbc6b; }
.pep-folio .pep-sum-key-vault::before { background: #ff9fc6; }

.pep-folio .pep-sec.pep-panel { padding: 24px 0 8px; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--pep-line); }
.pep-folio .pep-sec-head { align-items: baseline; }
.pep-folio .pep-sec-title { color: var(--pep-brand); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pep-folio .pep-sec-sum { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.pep-folio-pos { background: var(--pep-panel); box-shadow: inset 0 0 0 1px var(--pep-line); }

/* ---------------------------------------------------------- the account
 * The bar's right end is the bell, Messages and one face (AccountMenu.jsx):
 * wallet.js's address button stays in the markup for sign-in and for the
 * other origins, and is hidden here while it holds an account (`.on`). */

body[data-app="pepper"] .pep-topbar .ex-wallet .ex-btn.on { display: none; }

.pep-acct { position: relative; }
.pep-acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 10px 4px 5px;
  border: 0;
  border-radius: var(--pep-radius-pill);
  background: var(--pep-panel-2);
  box-shadow: inset 0 0 0 1px var(--pep-line);
  color: var(--pep-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pep-acct-btn .pep-face { width: 30px; height: 30px; }
.pep-acct-btn:hover { background: var(--pep-panel-hover); }
.pep-acct-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--pep-brand); }
.pep-acct-btn:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; }
.pep-acct-btn-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pep-acct-chev { width: 12px; height: 12px; color: var(--pep-text-2); }
@media (prefers-reduced-motion: no-preference) {
  .pep-acct-chev { transition: transform 0.15s ease; }
}
.pep-acct-btn[aria-expanded="true"] .pep-acct-chev { transform: rotate(180deg); }

/* The panel hangs from the sticky top bar, so scrolling the page never brings its foot up: on a short screen it
   stops 20 px above the screen's foot and scrolls its own rows, Disconnect included. On a phone it stops above the
   tab bar, which is drawn over the top bar and everything in it. */
.pep-acct-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 14px;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - var(--pep-top-h) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border-radius: 20px;
  background: var(--pep-panel);
  box-shadow: inset 0 0 0 1px var(--pep-line-strong), 0 24px 60px rgb(0 0 0 / 55%);
}
.pep-acct-panel[hidden] { display: none; }
@media (max-width: 899px) {
  .pep-acct-panel { max-height: calc(100dvh - var(--pep-top-h) - var(--pep-tabbar-h) - env(safe-area-inset-bottom) - 20px); }
  /* A phone's bar keeps the face alone (round 21): no chevron, a 40 px round button. */
  .pep-acct-btn { padding: 3px; }
  .pep-acct-btn .pep-face { width: 34px; height: 34px; }
  .pep-acct-chev { display: none; }
}
.pep-acct-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pep-acct-who .pep-face-lg { width: 52px; height: 52px; }
.pep-acct-who-text { display: grid; gap: 2px; min-width: 0; }
.pep-acct-who-text b { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.pep-acct-copy { justify-self: start; padding: 0; border: 0; background: none; color: var(--pep-text-2); font: inherit; font-size: 13px; cursor: pointer; }
.pep-acct-copy:hover { color: var(--pep-text); }
.pep-acct-copy:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: 2px; border-radius: 4px; }

/* What the faucet answered (components/bank/GetDollars.jsx, the chip's panel and /balance/; round 21 took it out of
   this menu), in the site's banner (dex.css, .pep-callout): emerald when it landed, amber otherwise. */
.pep-cash-note { grid-column: 1 / -1; margin: 8px 0 0; }

.pep-acct-links { display: grid; margin: 0 -6px; }
.pep-acct-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 8px;
  border-radius: 10px;
  color: var(--pep-text);
  font-weight: 600;
  text-decoration: none;
}
.pep-acct-links a:hover { background: var(--pep-panel-2); color: var(--pep-text); }
.pep-acct-links a:focus-visible { outline: 2px solid var(--pep-brand); outline-offset: -2px; }

.pep-acct-social { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--pep-line); }
.pep-acct-social .pep-sub { margin: 0; }
.pep-acct-social .pep-btn { justify-self: start; }
.pep-acct-social .pep-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pep-acct-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--pep-line); font-size: 13px; }
.pep-acct-foot a,
.pep-acct-foot button { padding: 0; border: 0; background: none; color: var(--pep-text-2); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.pep-acct-foot a:hover,
.pep-acct-foot button:hover { color: var(--pep-text); }
.pep-acct-foot button:last-child { margin-left: auto; color: var(--pep-down); }

@media (max-width: 1279px) {
  .pep-acct-btn-name { display: none; }
}
/* The names the e2e specs and the faucet's notes find the corner by. */
.pep-cash { min-width: 0; }
.pep-cash-get { white-space: nowrap; }
/* A claim's Turnstile check (components/shell/FaucetCheck.jsx): an empty slot under the button, hidden, unless
   Cloudflare asks the visitor something; then its box sits here with one line saying why. */
.pep-faucet-check { grid-column: 1 / -1; min-width: 0; }
.pep-faucet-check-slot { max-width: 100%; overflow: hidden; }
.pep-faucet-check-why { margin: 8px 0 6px; color: var(--pep-text-2); font-size: 13px; }

/* The intro (public/intro/, js/intro-gate.js, components/IntroGate.jsx): on a
   first visit the site stays hidden under the film, which plays full screen in
   a frame of its own. Visibility, not display, so the page still lays out
   behind it and is ready the moment the reader taps "enter sendit". */
html.pep-intro {
  overflow: hidden;
  background: #06080a;
}
html.pep-intro body {
  visibility: hidden;
}
.pep-intro-frame {
  visibility: visible;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #06080a;
}
