/* ============================================================
   Tessera. Advertising on the wall.

   Every value below is measured off apple.com, not remembered from it.
   tools/apple-study.js and tools/apple-study2.js dump the computed styles
   and geometry that this file is built from.
   ============================================================ */

/* Satoshi is the fallback of last resort. Apple renders in the system
   grotesque, which on this machine is Segoe UI Variable, and it is the only
   face here with a real 600. */
@font-face { font-family: 'Satoshi'; font-weight: 300; font-style: normal; font-display: swap; src: url('../assets/fonts/satoshi-300.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/satoshi-400.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/satoshi-500.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/satoshi-700.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 900; font-style: normal; font-display: swap; src: url('../assets/fonts/satoshi-900.woff2') format('woff2'); }

:root {
  /* measured: rgb(29,29,31) ink, rgb(51,51,54) running text,
     rgb(110,110,115) and rgb(134,134,139) secondary */
  --ink: #1d1d1f;
  --body: #333336;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --wash: #f5f5f7;
  --card: #e8e8ed;
  --line: #d2d2d7;
  --hair: rgba(210, 210, 215, .64);
  /* measured: links are #0066cc on light and #2997ff on dark.
     the button blue is a third value, #0071e3. */
  --link: #0066cc;
  --link-dark: #2997ff;
  --blue: #0071e3;
  --blue-hi: #0077ed;
  --promo: #b64400;
  --on-ink: #f5f5f7;
  --on-ink-2: #a1a1a6;

  --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
          "Segoe UI", system-ui, "Helvetica Neue", Arial, "Satoshi", sans-serif;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
             "Segoe UI", system-ui, "Helvetica Neue", Arial, "Satoshi", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 44px;
  --pad: clamp(20px, 6vw, 96px);
  --r: 20px;
  --pill: 980px;
  --ls-meta: 98px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

/* apple.com body: 17px / 25px / -0.374px */
body {
  margin: 0;
  font-family: var(--text);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul { margin: 0; }

/* The measured Apple ladder, with its size-specific tracking (negative above
   ~34px, slightly positive from 20 to 28px). Headings are weight 600. These
   values are applied through the component rules below rather than as
   utility classes:
     56/600 -.28px 1.07   hero title     48/600 -.144px 1.08  section headline
     (Apple also runs 80 for a product hub and 40 for a tile title; this page
      has no hub and its tiles are the wall's, so neither is used here)
     28/400 +.196px 1.14  hero subhead   24/600 +.216px 1.17
     21/400 +.231px 1.19  lead           17/400 -.374px 1.47  body
     14/400 -.224px 1.29  caption        12/400 -.12px 1.33   fine print
*/

.wrap {
  max-width: 1268px; margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}
.wrap.narrow { max-width: 820px; }

/* ---------- scroll progress ---------- */
.scrollbar {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: 0;
  background: var(--blue); z-index: 60; opacity: 0;
  transition: opacity .4s linear;
}

/* ---------- nav ----------
   measured: 44px tall, rgba(255,255,255,.8) over saturate(1.8) blur(20px),
   12px links at rgba(0,0,0,.8) with 8px side padding and a full-height hit */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 -1px 0 var(--hair);
  transition: background .35s linear;
}
.nav.stuck { background: rgba(245, 245, 247, .86); }
/* the wall is black and it now sits at the top of the page, so the bar opens in
   Apple's dark treatment and flips to the light one when a light band is under it */
.nav.on-dark { background: rgba(22, 22, 23, .8); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .16); }
.nav.on-dark .links a { color: rgba(255, 255, 255, .8); }
.nav.on-dark .links a:hover { color: var(--on-ink); }
.nav.on-dark .glyph rect { fill: var(--on-ink); }
.nav.on-dark .nav-acct { color: rgba(255, 255, 255, .8); }
.nav.on-dark .nav-acct:hover { color: var(--on-ink); }
.nav.on-dark .burger span { background: var(--on-ink); }
.nav.on-dark.open { background: rgba(22, 22, 23, .96); }
.nav.on-dark.open .sheet a { color: rgba(255, 255, 255, .8); border-top-color: rgba(255, 255, 255, .16); }
.nav-inner {
  height: var(--nav-h); max-width: 1024px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  display: flex; align-items: stretch; gap: 0;
}
.brand { display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.glyph { width: 17px; height: 17px; overflow: visible; }
.glyph rect { fill: var(--ink); }
.glyph rect.accent { fill: var(--blue); }
.links {
  display: flex; align-items: stretch; margin-left: 22px;
  font-size: 12px; letter-spacing: -.01em;
}
.links a { display: flex; align-items: center; padding: 0 12px; color: rgba(0, 0, 0, .8); }
.links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: stretch; gap: 2px; margin-left: auto; }

/* ---------- buttons ----------
   measured: 980px radius, 11px 21px padding, 44px tall, 17px at weight 400.
   the pair is always one filled and one outlined. */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; border: 1px solid transparent; cursor: pointer;
  border-radius: var(--pill); font-weight: 400; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.pill:hover { background: var(--blue-hi); }
.pill:active { transform: scale(.98); }
.pill-out { background: transparent; color: var(--blue); border-color: currentColor; }
.pill-out:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill-lg { padding: 11px 21px; font-size: 17px; min-height: 44px; }

.burger { display: none; background: none; border: 0; width: 44px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(2.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.sheet { display: none; flex-direction: column; padding: 0 max(var(--pad), env(safe-area-inset-right)) 18px max(var(--pad), env(safe-area-inset-left)); }
.sheet a { padding: 12px 0; font-size: 17px; border-top: 1px solid var(--hair); color: rgba(0, 0, 0, .8); }
.nav.open { background: rgba(245, 245, 247, .96); }
.nav.open .sheet { display: flex; }

/* ---------- views ---------- */
/* One document, one view on screen. The wall gets the whole first frame with
   nothing above it but the bar, so the nav offset belongs here rather than on
   a heading that used to eat the fold. */
.view { display: none; }
.view.on { display: block; }
.view.feed { background: #000; min-height: 100vh; padding-top: var(--nav-h); }

.cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cta-row.start { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; }
.under { font-size: 12px; line-height: 1.33; letter-spacing: -.01em; color: var(--ink-3); }

/* the text link with a chevron, Apple's secondary action */
.more {
  font-size: 17px; color: var(--link); display: inline-flex; align-items: center;
  min-height: 30px; letter-spacing: -.022em;
}
.more::after {
  content: ''; width: .42em; height: .42em; margin-left: .34em;
  border-right: 1.4px solid currentColor; border-top: 1.4px solid currentColor;
  transform: rotate(45deg); display: inline-block;
}
.more:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.band { padding: clamp(80px, 12vh, 144px) 0; scroll-margin-top: var(--nav-h); }
.band.wash { background: var(--wash); }
.band.dark { background: #000; color: var(--on-ink); }
.h-sect { font-family: var(--display); font-size: clamp(31px, 5vw, 48px); font-weight: 600; letter-spacing: -.003em; line-height: 1.08; color: inherit; }
/* measured on the store page: a bold clause then the same sentence in grey */
.h-sect .go-on { color: var(--ink-3); }
.body { max-width: 680px; margin-top: 14px; font-size: 17px; line-height: 1.47; color: var(--body); font-weight: 400; letter-spacing: -.022em; }
.band.dark .body { color: var(--on-ink-2); }

.reveal { opacity: 1; }

/* ---------- profile ---------- */
.pf-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pf-name { font-family: var(--display); font-size: clamp(28px, 4.6vw, 40px); font-weight: 600; letter-spacing: -.006em; line-height: 1.1; }
.pf-handle { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); margin-top: 4px; }
.pf-acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.pf-h { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); margin: 44px 0 14px; }
.pf-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pf-card { display: block; color: inherit; text-decoration: none; }
.pf-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); display: block; background: var(--card); }
.pf-card figcaption { font-size: 14px; letter-spacing: -.016em; margin-top: 8px; }
.pf-card .pf-price { color: var(--ink-2); font-size: 12px; letter-spacing: -.01em; }

/* ---------- messages ---------- */
/* the pane is the screen: a thread that scrolls the page away takes the
   header and the composer with it */
.view.chat { height: 100vh; height: 100dvh; overflow: hidden; }
body[data-view="chat"] .foot { display: none; }
.ch { display: grid; grid-template-columns: 320px 1fr; height: 100%; min-height: 0; background: #000; }
.ch-list { border-right: 1px solid rgba(255, 255, 255, .1); padding: calc(var(--nav-h) + 22px) 0 22px; overflow: auto; }
.ch-h { font-family: var(--display); font-size: 24px; font-weight: 600; padding: 0 18px 14px; color: var(--on-ink); }
.ch-row { display: flex; gap: 10px; align-items: center; padding: 12px 18px; cursor: pointer; color: var(--on-ink); background: none; border: 0; width: 100%; text-align: left; font: inherit; }
.ch-row:hover, .ch-row.on { background: rgba(255, 255, 255, .06); }
.ch-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; flex: 0 0 auto; opacity: 0; }
.ch-dot.on { opacity: 1; }
.ch-who { font-size: 15px; letter-spacing: -.016em; }
.ch-prev { font-size: 12px; letter-spacing: -.01em; color: var(--on-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-main { display: flex; flex-direction: column; padding: calc(var(--nav-h) + 12px) 0 0; min-height: 0; }
.ch-head { display: flex; align-items: center; gap: 12px; padding: 0 22px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ch-back { background: none; border: 0; color: var(--link-dark); font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; padding: 0 8px 0 0; display: none; }
.ch-peerbox { min-width: 0; }
.ch-peername { font-size: 17px; font-weight: 600; letter-spacing: -.022em; color: var(--on-ink); }
.ch-peer { font-size: 12px; letter-spacing: -.01em; color: var(--on-ink-2); min-height: 16px; }
.ch-block { margin-left: auto; background: none; border: 0; color: var(--on-ink-2); font: inherit; font-size: 12px; cursor: pointer; min-height: 44px; }
.ch-block:hover { color: var(--on-ink); }
.ch-empty { color: var(--on-ink-2); font-size: 14px; padding: 40px 22px; }
.ch-thread { flex: 1 1 auto; overflow: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.ch-msg { max-width: min(72%, 520px); padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.35; letter-spacing: -.016em; }
.ch-msg.me { align-self: flex-end; background: var(--blue); color: #fff; }
.ch-msg.them { align-self: flex-start; background: rgba(255, 255, 255, .1); color: var(--on-ink); }
.ch-msg time { display: block; font-size: 11px; opacity: .6; margin-top: 3px; }
/* an unsent bubble is drawn first and settled afterwards, so it carries its
   own state rather than being redrawn when the answer lands */
.ch-msg.pending { opacity: .55; }
.ch-msg.failed { opacity: 1; box-shadow: inset 0 0 0 1px #ff453a; }
.ch-msg.delivered time::after { content: '  delivered'; }
.ch-msg.read time::after { content: '  read'; }
.ch-photo { max-width: min(60%, 340px); border-radius: var(--r); }
.ch-typing { font-size: 12px; color: var(--on-ink-2); padding: 0 22px 6px; min-height: 18px; }
.ch-form { display: flex; gap: 10px; padding: 12px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ch-form input[type=text] { flex: 1 1 auto; background: rgba(255, 255, 255, .08); border: 0; border-radius: var(--pill); color: var(--on-ink); font: inherit; font-size: 15px; padding: 11px 16px; min-height: 44px; }
.ch-form input[type=file] { display: none; }
.ch-icon { background: none; border: 0; cursor: pointer; color: var(--link-dark); font-size: 15px; padding: 0 12px; min-height: 44px; }
.ch-state { font-size: 11px; color: var(--on-ink-2); }

/* ---------- placements ---------- */
.rates {
  margin-top: 44px; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.rate {
  background: var(--paper); border-radius: var(--r); padding: 24px 24px 26px;
  display: flex; flex-direction: column; gap: 8px; color: var(--ink);
}
.rate h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; line-height: 1.19; }
.rate p { font-size: 14px; color: var(--ink-2); line-height: 1.4; letter-spacing: -.016em; }
.rate-v { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rate .more { margin-top: auto; padding-top: 14px; font-size: 14px; }
.rate .more::after { width: .38em; height: .38em; }

/* ---------- the wall ---------- */
.wall { position: relative; width: 100%; height: 0; }
.card { position: absolute; top: 0; left: 0; will-change: transform; contain: paint; }
/* measured: Apple tiles carry no shadow at all */
.card .tilt {
  height: 100%; border-radius: var(--r); overflow: hidden; position: relative;
  background: var(--wash); color: var(--body);
}
.card.is-photo .tilt { background: var(--card); }
.card .media { position: absolute; inset: 0; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease, transform .9s var(--ease); }
.card.loaded .media img { opacity: 1; }
.card:hover .media img { transform: scale(1.028); }
.card .overlay {
  position: absolute; inset: auto 0 0 0; padding: 34px 12px 11px; color: #fff;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .34) 54%, rgba(0, 0, 0, 0));
}
.overlay .ov-t { font-size: 14px; font-weight: 400; letter-spacing: -.016em; line-height: 1.29; }
a.ov-t, a.ls-seller { color: inherit; text-decoration: none; }
a.ov-t:hover, a.ls-seller:hover { text-decoration: underline; }
/* the overlay itself stays out of the way of a card open, but the name in it
   is a link and has to be able to take the click */
.overlay a.ov-t { pointer-events: auto; }
@media (hover: none) {
  .overlay a.ov-t { padding: 13px 0; margin: -13px 0; }
  .ls-row a.ls-seller { padding: 14px 0; margin: -14px 0; }
}
.overlay .ov-a { font-size: 12px; letter-spacing: -.01em; opacity: .78; }
.card h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -.022em; line-height: 1.24;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

/* sponsored slot */
.card.is-ad .tilt { background: #121216; color: var(--on-ink); }
.ad-body { position: absolute; inset: 0; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ad-chip {
  align-self: flex-start; flex: 0 0 auto; font-size: 12px; letter-spacing: -.01em; font-weight: 400;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--pill); padding: 3px 10px 2px;
}
.ad-body h3 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; line-height: 1.19; -webkit-line-clamp: 3; flex: 0 0 auto; }
.ad-body p { font-size: 14px; line-height: 1.4; letter-spacing: -.016em; color: var(--on-ink-2); -webkit-line-clamp: 2;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; flex: 0 0 auto; }
.ad-link { margin-top: auto; font-size: 14px; letter-spacing: -.016em; font-weight: 400; color: var(--link-dark); display: inline-flex; align-items: center; min-height: 26px; flex: 0 0 auto; }
.ad-link::after { content: '\203A'; margin-left: 4px; font-size: 17px; line-height: 1; }

/* mount animation */
.card.pre { opacity: 0; }
.card.pre .tilt { transform: translateY(26px); filter: blur(6px); }
.card:not(.pre) { transition: opacity .7s ease; }
.card:not(.pre) .tilt { transition: transform .9s var(--ease), filter .9s var(--ease); }

.loaders { display: flex; gap: 14px; padding: 14px; margin-top: 20px; }
.net-error {
  max-width: 620px; margin: 0 auto; padding: 11px 16px; border-radius: 12px;
  background: rgba(255, 158, 64, .16); color: #ffc890; font-size: 14px; text-align: center;
}
.net-error[hidden] { display: none; }
.loaders[hidden] { display: none; }
.loaders span { height: 96px; flex: 1; border-radius: var(--r); background: #1a1a1e; animation: pulse 1.1s ease-in-out infinite; }
.loaders span:nth-child(2) { animation-delay: .14s; height: 128px; }
.loaders span:nth-child(3) { animation-delay: .28s; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }
.endnote { text-align: center; color: var(--ink-3); font-size: 12px; letter-spacing: -.01em; padding: 36px 0 0; }

/* ---------- rate card ---------- */
.cta-row.start .pill { align-self: center; }

/* ---------- footer ----------
   measured: 12px / 16px / -0.12px, links at rgba(0,0,0,.72), small print at .56 */
.foot { background: var(--wash); padding: 34px 0 30px; font-size: 12px; line-height: 1.33; letter-spacing: -.01em; color: rgba(0, 0, 0, .56); scroll-margin-top: var(--nav-h); }
.notes { display: flex; flex-direction: column; gap: 9px; padding-bottom: 26px; border-bottom: 1px solid var(--hair); line-height: 1.45; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding: 26px 0; }
.foot-cols h5 { margin: 0 0 9px; font-size: 12px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.foot-cols a { display: block; padding: 4px 0; color: rgba(0, 0, 0, .72); }
.foot-cols a:hover { text-decoration: underline; }
.fine { padding-top: 6px; }

/* ---------- self serve ---------- */
.builder {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: clamp(28px, 5vw, 64px); margin-top: 44px; align-items: start;
}
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 14px; letter-spacing: -.016em; color: var(--ink); padding: 0; }
/* every text-like field, so an email or password input cannot fall back to the
   browser's own border and focus ring beside a styled one */
.field input:not([type="file"]):not([type="color"]):not([type="radio"]):not([type="checkbox"]),
.field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field textarea { resize: vertical; line-height: 1.45; }
.field input:focus-visible, .field textarea:focus-visible, .pill:focus-visible, a:focus-visible, button:focus-visible {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .28);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="color"] {
  width: 100%; height: 44px; padding: 3px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
input[type="file"] { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); }
input[type="file"]::file-selector-button {
  min-height: 40px; margin-right: 12px; padding: 0 17px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--pill); background: #fff;
  font: inherit; font-size: 14px; color: var(--blue);
  transition: background .2s, color .2s, border-color .2s;
}
input[type="file"]::file-selector-button:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.hint { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); line-height: 1.45; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--pill); padding: 11px 16px;
  font-size: 14px; letter-spacing: -.016em; cursor: pointer; color: var(--ink);
}
.choices input { accent-color: var(--blue); width: 17px; height: 17px; }
.choices label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }

.preview { position: sticky; top: 76px; }
.preview-k { font-size: 14px; letter-spacing: -.016em; color: var(--ink); }
.preview-stage { margin-top: 14px; display: flex; justify-content: center; }
.preview-stage .card { position: relative; }
.preview-n { margin-top: 12px; font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); text-align: center; }
.preview-empty {
  font-size: 14px; color: var(--ink-3); text-align: center; border: 1px dashed var(--line);
  border-radius: var(--r); padding: 40px 20px; width: 240px; background: #fff;
}

.run-h { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; margin-bottom: 12px; }
.running { border-top: 1px solid var(--hair); }
.running-empty { padding: 18px 0; font-size: 14px; color: var(--ink-3); }
.run-row { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.run-txt { flex: 1 1 auto; min-width: 0; }
.run-txt h4 { font-size: 17px; font-weight: 600; letter-spacing: -.022em; }
.run-txt > p { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
.run-nums { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 7px; font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.run-acts { display: flex; gap: 16px; flex: 0 0 auto; align-items: center; }
.linkish { background: none; border: 0; color: var(--link); cursor: pointer; font-size: 14px; letter-spacing: -.016em; padding: 0; min-height: 30px; }
.linkish:hover { text-decoration: underline; }
.linkish.danger { color: var(--ink-2); }
.state {
  flex: 0 0 auto; font-size: 12px; letter-spacing: -.01em; font-weight: 400;
  padding: 4px 10px; border-radius: var(--pill);
}
.state-live { background: rgba(26, 137, 23, .12); color: #17713b; }
.state-paused { background: rgba(120, 120, 128, .14); color: var(--ink-2); }
.state-ended { background: rgba(120, 120, 128, .14); color: var(--ink-3); }

/* served slot */
.ad-hit { position: absolute; inset: 0; z-index: 3; }
.ad-flag {
  position: absolute; top: 11px; left: 11px; z-index: 2;
  font-size: 12px; letter-spacing: -.01em; font-weight: 400;
  color: rgba(255, 255, 255, .86); background: rgba(0, 0, 0, .5);
  border: 0; border-radius: var(--pill); padding: 3px 10px 2px;
}
.card.is-ad .overlay { z-index: 1; }
.card.is-ad .ad-body { z-index: 2; }

/* ---------- selling card ----------
   measured on the store page: name 21/600 ink, price 17/400 grey,
   eyebrow 12 in the promo orange. the price is never bold. */
.card.is-listing .tilt { background: #fff; }
.card.is-listing .media { inset: 0 0 var(--ls-meta) 0; }
.card.is-open { cursor: pointer; }
.ls-stack {
  position: absolute; top: 11px; right: 11px; z-index: 2; pointer-events: none;
  font-size: 12px; letter-spacing: -.01em; color: #fff; background: rgba(0, 0, 0, .5);
  border-radius: var(--pill); padding: 3px 9px; font-variant-numeric: tabular-nums;
}
.ls-body {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--ls-meta);
  padding: 12px 13px; display: flex; flex-direction: column; gap: 6px;
}
.ls-body h3 { font-size: 17px; line-height: 1.24; -webkit-line-clamp: 2; color: var(--ink); }
.ls-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }
.ls-seller { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-price { font-size: 17px; font-weight: 400; letter-spacing: -.022em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ls-price.gone { color: var(--ink-3); text-decoration: line-through; }

/* ---------- seller form ---------- */
.shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.shot { position: relative; width: 56px; height: 74px; border-radius: 10px; overflow: hidden; background: var(--wash); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .62); color: #fff; font-size: 14px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.from { font-size: 14px; letter-spacing: -.016em; color: var(--link); background: rgba(0, 102, 204, .07); border-radius: 12px; padding: 10px 12px; }
.item-field { gap: 14px; padding: 18px 20px 20px; border: 1px solid var(--hair); border-radius: var(--r); background: #fff; }
.item-field legend { font-size: 14px; letter-spacing: -.016em; color: var(--ink); padding: 0 5px; }

/* ---------- the note ---------- */
.nm-wrap {
  position: fixed; inset: 0; z-index: 80; overflow: auto; padding: clamp(12px, 3vw, 40px);
  background: rgba(0, 0, 0, .62); backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  display: flex; align-items: flex-start; justify-content: center;
}
.nm-wrap[hidden] { display: none; }
.nm {
  background: #fff; border-radius: var(--r); width: min(940px, 100%); margin: auto; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38); color: var(--body);
}
.nm-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--hair); }
.nm-kicker { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); }
.nm-close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--card); cursor: pointer; position: relative; flex: 0 0 auto; }
.nm-close::before, .nm-close::after { content: ''; position: absolute; left: 8px; top: 14px; width: 14px; height: 1.5px; background: var(--ink); }
.nm-close::before { transform: rotate(45deg); }
.nm-close::after { transform: rotate(-45deg); }
.nm-media { grid-column: 1; grid-row: 2; position: relative; background: #0d0d10; min-height: 300px; }
.nm-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nm-stage img { width: 100%; height: 100%; object-fit: contain; }
.nm-count {
  position: absolute; top: 12px; left: 12px; font-size: 12px; letter-spacing: -.01em; color: #fff;
  background: rgba(0, 0, 0, .5); padding: 3px 10px; border-radius: var(--pill); font-variant-numeric: tabular-nums;
}
.nm-nav { position: absolute; inset: auto 0 50% 0; display: flex; justify-content: space-between; padding: 0 10px; }
.nm-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88);
  color: var(--ink); font-size: 19px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.nm-dots { position: absolute; inset: auto 0 13px 0; display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; padding-inline: 12px; }
.nm-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.nm-dot.on { background: #fff; }
.nm-txt { grid-column: 2; grid-row: 2; padding: 22px 24px 24px; overflow: auto; }
.nm-title { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: .004em; line-height: 1.17; color: var(--ink); }
.nm-by { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-top: 8px; font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); }
.nm-by b { color: var(--ink); font-weight: 400; }
.nm-body { margin-top: 14px; font-size: 17px; line-height: 1.47; letter-spacing: -.022em; color: var(--body); white-space: pre-wrap; }
.nm-tags { margin-top: 15px; font-size: 14px; letter-spacing: -.016em; color: var(--link); }
.nm-acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.nm-like, .nm-sell, .nm-share {
  border: 1px solid var(--line); background: #fff; border-radius: var(--pill); padding: 8px 17px;
  font-size: 14px; cursor: pointer; min-height: 44px; color: var(--ink);
}
.nm-like.on { border-color: var(--blue); color: var(--blue); background: rgba(0, 122, 255, .07); }
.nm-like:hover { background: var(--wash); }
.nm-sell { border-color: var(--blue); color: var(--blue); }
.nm-sell:hover { background: var(--blue); color: #fff; }

/* ---------- the thread under a note ----------
   A comment is the first thing on this wall a stranger can write, so it is
   drawn quiet and small: the pictures stay the subject, the words are support. */
.nm-comments { margin-top: 26px; border-top: 1px solid var(--hair); padding-top: 16px; }
.nm-c-head { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.nm-c-list { margin-top: 12px; display: flex; flex-direction: column; gap: 16px; }
.nm-c { display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.42; letter-spacing: -.016em; }
.nm-c-who { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: -.01em; }
.nm-c-text { color: var(--body); margin: 0; overflow-wrap: anywhere; }
.nm-c-foot { font-size: 11px; letter-spacing: -.006em; color: var(--ink-3); }
.nm-c-acts { margin-left: 8px; }
.nm-c-acts .linkish { font-size: 11px; min-height: 28px; }
.nm-c.gone { opacity: .45; }
.nm-c-none { font-size: 13px; color: var(--ink-3); margin: 0; }
.nm-c-photo { width: 108px; height: 108px; object-fit: cover; border-radius: var(--r); margin-top: 4px; }
.nm-c-sticker { width: 56px; height: 56px; margin-top: 4px; }
.nm-c-form { margin-top: 18px; }
.nm-c-input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font: inherit; font-size: 15px; letter-spacing: -.016em; color: var(--ink);
  resize: vertical; min-height: 44px; background: #fff;
}
.nm-c-file { display: none; }
.nm-c-shots { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.nm-c-shot { position: relative; display: block; }
.nm-c-shot img { width: 62px; height: 62px; object-fit: cover; border-radius: 9px; display: block; }
.nm-c-x {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; font-size: 14px; line-height: 1; cursor: pointer;
}
.nm-c-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.nm-c-attach, .nm-c-send {
  border: 1px solid var(--line); background: #fff; border-radius: var(--pill); padding: 0 15px;
  font-size: 14px; cursor: pointer; min-height: 44px; color: var(--ink);
}
.nm-c-send { border-color: var(--blue); background: var(--blue); color: #fff; }
.nm-c-send:disabled { opacity: .5; }
.nm-c-stickers { display: flex; gap: 4px; flex-wrap: wrap; }
.nm-c-sticker {
  width: 44px; height: 44px; border: 1px solid transparent; border-radius: 12px; background: none;
  cursor: pointer; padding: 5px; display: grid; place-items: center;
}
.nm-c-sticker img { width: 28px; height: 28px; display: block; }
.nm-c-sticker.on { border-color: var(--blue); background: rgba(0, 122, 255, .07); }
.nm-c-msg { font-size: 12px; color: var(--ink-3); margin: 8px 0 0; min-height: 16px; }

/* Apple's buy module: the name on the left, price stacked over the button on the right */
.nm-item { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 18px 24px 20px; border-top: 1px solid var(--hair); background: var(--wash); color: var(--ink); }
.nm-item-main { flex: 1 1 auto; min-width: 0; }
.nm-item-k { font-size: 12px; letter-spacing: -.01em; color: var(--promo); }
.nm-item h4 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; margin-top: 4px; }
.nm-item-row { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 0 auto; }
.nm-price { font-size: 24px; font-weight: 600; letter-spacing: .009em; font-variant-numeric: tabular-nums; }
.nm-buy { background: var(--blue); color: #fff; border-radius: var(--pill); padding: 8px 20px; font-size: 17px; font-weight: 400; min-height: 36px; }

/* ---------- account ---------- */
.nav-slot { display: flex; align-items: stretch; }
.nav-acct {
  background: none; border: 0; cursor: pointer; padding: 0 8px;
  font: inherit; font-size: 12px; letter-spacing: -.01em; color: rgba(0, 0, 0, .8);
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-acct:hover { color: var(--ink); }

/* the sheet the sign-in and the account summary live in */
.as-wrap {
  position: fixed; inset: 0; z-index: 90; overflow: auto; padding: clamp(12px, 3vw, 40px);
  background: rgba(0, 0, 0, .5); backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  display: flex; align-items: flex-start; justify-content: center;
}
.as-wrap[hidden] { display: none; }
.as {
  background: #fff; border-radius: var(--r); width: min(400px, 100%); margin: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .34); overflow: hidden;
}
.as-head { display: flex; align-items: center; padding: 18px 20px 0; }
.as-title { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: .004em; }
.as-x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--card); cursor: pointer; position: relative; flex: 0 0 auto; border: 0; }
.as-x::before, .as-x::after { content: ''; position: absolute; left: 8px; top: 14px; width: 14px; height: 1.5px; background: var(--ink); }
.as-x::before { transform: rotate(45deg); }
.as-x::after { transform: rotate(-45deg); }
.as-tabs { display: flex; gap: 4px; padding: 12px 20px 0; }
.as-tabs .tab {
  background: none; border: 0; cursor: pointer; padding: 6px 10px; font: inherit;
  font-size: 14px; letter-spacing: -.016em; color: var(--ink-3); border-radius: var(--pill);
}
.as-tabs .tab.on { color: var(--ink); background: var(--wash); }
.as-body { padding: 14px 20px 22px; }
.as-body .hint[hidden] { display: none; }
.as-body .form { gap: 14px; }
.as-out { display: flex; flex-direction: column; gap: 10px; }
.as-mail { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); margin-bottom: 4px; }

/* provider sign-in: one full-width action per provider, then a line saying the
   password path is still there. 44px tall because it is the primary target on
   a phone. No brand marks, which would need Google's asset rules to satisfy. */
.as-oauth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.as-oauth-btn {
  width: 100%; min-height: 44px; border: 0; cursor: pointer; border-radius: var(--pill);
  background: var(--ink); color: #fff; font: inherit; font-size: 17px; font-weight: 400;
  letter-spacing: -.022em; padding: 11px 21px;
}
.as-oauth-btn:hover { background: #333336; }
.as-oauth-btn + .as-oauth-btn { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.as-or { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); text-align: center; margin: 0 0 14px; }

/* the gate is what a signed-out form says instead of failing on submit */
.gate { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); }
.gate .linkish { font-size: 14px; }

/* one screen, both sides */
.acct-out { margin-top: 26px; font-size: 17px; color: var(--ink-2); }
.acct-out[hidden], #acct-claim[hidden] { display: none; }
.acct-totals {
  list-style: none; display: grid; gap: 0; margin: 26px 0 0; padding: 0;
  max-width: 760px; border-top: 1px solid var(--hair);
}
.acct-totals li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 14px;
  letter-spacing: -.016em; color: var(--ink-2);
}
.acct-totals .tk { color: var(--ink); }
.acct-totals b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.acct-claim-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.acct-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(34px, 5vh, 56px); }
.acct-col { min-width: 0; }

/* ---------- analytics ---------- */
.an-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.an-window { display: flex; gap: 4px; }
.an-window .tab {
  background: none; border: 1px solid var(--hair); cursor: pointer; padding: 5px 12px;
  font: inherit; font-size: 12px; letter-spacing: -.01em; color: var(--ink-2); border-radius: var(--pill);
}
.an-window .tab.on { color: var(--ink); background: var(--card); border-color: transparent; }
.an-window .tab:hover { color: var(--ink); }
.an-totals { margin-top: 22px; }

.an-grid {
  display: grid; gap: clamp(20px, 3vw, 34px); margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.an-col, .an-admin { min-width: 0; }
.an-admin { margin-top: clamp(40px, 6vh, 64px); }
.an-admin[hidden], .an-claim[hidden] { display: none; }

.an-row {
  background: var(--paper); border-radius: var(--r); padding: 20px 22px 22px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.band:not(.wash) .an-row { background: var(--wash); }
.an-head { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.an-head h4 { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; grid-column: 1; }
.an-head .an-sub { grid-column: 1; }
.an-head .spark { grid-column: 2; grid-row: 1 / span 2; width: 120px; height: 30px; }
.an-sub { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); line-height: 1.3; }

.an-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--hair); padding-top: 13px; }
.an-stat { display: flex; flex-direction: column; gap: 2px; min-width: 74px; }
.an-k { font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); }
.an-v { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .004em; font-variant-numeric: tabular-nums; color: var(--ink); }

.an-empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.an-empty h4 { font-size: 17px; font-weight: 600; letter-spacing: -.022em; }
.an-empty p { font-size: 14px; letter-spacing: -.016em; color: var(--ink-2); line-height: 1.4; }

.an-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.an-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 14px; letter-spacing: -.016em; color: var(--ink-2);
}
.an-list b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.an-warn { font-size: 12px; letter-spacing: -.01em; color: var(--promo); }
.an-claim { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); }
.chip-btn {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); cursor: pointer;
  padding: 6px 13px; font: inherit; font-size: 12px; letter-spacing: -.01em; color: var(--ink);
}
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.chip-btn:disabled { opacity: .55; cursor: default; }

.spark { display: block; overflow: visible; }
.spark-line { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-area { fill: rgba(0, 113, 227, .08); stroke: none; }
.spark-head { fill: var(--blue); }
.spark-flat { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }

/* the note sheet carries its own counts, since a creator reads them here first */
.nm-counts { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; letter-spacing: -.01em; color: var(--ink-3); }
.nm-counts b { font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- touch ---------- */
@media (hover: none), (pointer: coarse) {
  .pill { min-height: 44px; }
  .burger { width: 44px; }
  .more, .ad-link { min-height: 40px; }
  .sheet a { padding: 14px 0; }
  .card:hover .media img { transform: none; }
  .links a { padding: 0 10px; }
  .nav-acct { padding: 0 10px; }
}

/* ---------- device classes ---------- */
@media (max-width: 1080px) {
  .builder { grid-template-columns: 1fr; }
  .preview { position: static; }
}

@media (max-width: 860px) {
  .links { display: none; }
  .acct-cols { grid-template-columns: 1fr; }
  .an-grid { grid-template-columns: 1fr; }
  .an-head { grid-template-columns: 1fr; }
  .an-head .spark { grid-column: 1; grid-row: auto; width: 100%; height: 34px; }
  .burger { display: block; }
  .nav-inner { gap: 0; }
  .band { padding: clamp(60px, 9vh, 100px) 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* a phone gets one pane at a time: the list, then the thread it opened */
  .ch-back { display: block; }
  .ch { grid-template-columns: 1fr; }
  .ch-list { border-right: 0; }
  .ch-main { display: none; }
  #chat.open .ch-list { display: none; }
  #chat.open .ch-main { display: flex; }
  .ch-msg { max-width: 84%; }

  .nm { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .nm-head { grid-row: 1; }
  .nm-media { grid-column: 1; grid-row: 2; min-height: 44vh; }
  .nm-txt { grid-column: 1; grid-row: 3; padding: 18px 18px 20px; }
  .nm-item { grid-row: 4; padding: 16px 18px 18px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cta-row { gap: 10px; }
  .rates { margin-top: 30px; gap: 14px; }
  .rate { padding: 20px; }
  .pair { grid-template-columns: 1fr; }
  .run-row { flex-wrap: wrap; gap: 10px; }
  .run-acts { order: 3; }
  .ls-body h3 { font-size: 15px; }
  .ls-price { font-size: 15px; }
  .pf-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 380px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .pill-lg { width: 100%; }
  .more { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .card.pre .tilt { transform: none; filter: none; }
  .card:hover .media img { transform: none; }
  .loaders span { animation: none; opacity: .6; }
}
