@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

/* ShareMyShow's own palette. Show pages override these tokens inline with colours taken from the cover. */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --ink: #151516;
  --ink-2: #3B3B3F;
  --muted: #6B6B71;
  --line: #E2E2DD;
  --line-strong: #CACAC4;
  --accent: #2B37F0;
  --accent-soft: #E7E9FE;
  --on: #FFFFFF;
  --glow: #2B37F0;
  /* Chart series (validated for colour-blind separation on both surfaces). */
  --chart-views: #2B37F0;
  --chart-clicks: #E0661F;
  --bad: #C2362C;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111112; --surface: #1B1B1D; --ink: #F2F2F0; --ink-2: #CFCFCC; --muted: #9A9AA0;
    --line: #2B2B2F; --line-strong: #3C3C41; --accent: #8E96FF; --accent-soft: #20234F; --on: #111112; --bad: #FF7A6E; --chart-views: #7A83FF; --chart-clicks: #E06A2C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111112; --surface: #1B1B1D; --ink: #F2F2F0; --ink-2: #CFCFCC; --muted: #9A9AA0;
  --line: #2B2B2F; --line-strong: #3C3C41; --accent: #8E96FF; --accent-soft: #20234F; --on: #111112; --bad: #FF7A6E; --chart-views: #7A83FF; --chart-clicks: #E06A2C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.narrow { max-width: 760px; }
.label { font-size: 14px; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.page-title, .display-1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.02em; }
.display-2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }

/* ——— Header & buttons ——— */
.top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--accent); }
.lang { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--ink); }
/* Language menu: a globe and the current code; the list opens below it (above it in page footers). */
.lang-menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--ink); }
.lang-menu svg { width: 18px; height: 18px; }
.lang-menu ul { position: absolute; z-index: 40; right: 0; top: calc(100% + 6px); display: grid; min-width: 160px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; text-decoration: none; }
.lang-menu a:hover { background: var(--line); }
.lang-menu a[aria-current="true"] { font-weight: 700; }
.top-dark .lang-menu summary { color: rgba(255, 255, 255, .78); }
.top-dark .lang-menu summary:hover, .top-dark .lang-menu[open] summary { color: #FFFFFF; }
.top-dark .lang-menu ul { background: #FFFFFF; border-color: transparent; }
.top-dark .lang-menu a { color: #151516; }
.top-dark .lang-menu a:hover { background: #EDEDEB; }
.sp-foot .lang-menu ul { top: auto; bottom: calc(100% + 6px); }
.lang[aria-current="page"] { color: var(--ink); }
.top-dark .lang[aria-current="page"] { color: #FFFFFF; }
@media (max-width: 400px) { .top nav { gap: 0; } .top .lang { padding: 8px; } }
.top-dark { color: #FFFFFF; }
.top-dark .brand i { border-color: #9AA2FF; }
.top-dark .lang { color: rgba(255, 255, 255, .78); }
.top-dark .lang:hover { color: #FFFFFF; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; padding: 14px 24px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter .2s, transform .15s var(--ease); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn-small { padding: 9px 16px; border-radius: 10px; font-size: 15px; }
.top-dark .btn-small { background: #2B37F0; color: #FFFFFF; }
.account { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s; }
.account:hover { border-color: var(--ink); }
.account i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on); font-size: 14px; font-style: normal; font-weight: 800; }
.top-dark .account { border-color: transparent; background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.top-dark .account:hover { background: rgba(255, 255, 255, .22); }
.top-dark .account i { background: #2B37F0; color: #FFFFFF; }
.logout { margin-left: 6px; }
@media (max-width: 480px) { .account span { display: none; } .account { padding-right: 4px; } }
.btn-invert { background: var(--bg); color: var(--ink); }
.quiet-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--muted); font-size: 15px; text-decoration: none; cursor: pointer; }
.quiet-link:hover { color: var(--ink); text-decoration: underline; }

/* Search: one field with the icon and button inside it. */
.find { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; max-width: 680px; height: 64px; padding: 6px 6px 6px 52px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -26px rgba(0, 0, 0, .4); transition: border-color .2s, box-shadow .2s; }
.find:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 18px 40px -26px rgba(0, 0, 0, .4); }
.find-icon { position: absolute; top: 50%; left: 19px; width: 22px; height: 22px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.find input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 0; border: 0; background: transparent; color: var(--ink); font-size: 18px; outline: none; }
.find input::placeholder { color: var(--muted); }
.find .btn { flex: none; height: 100%; padding: 0 24px; border-radius: 13px; font-size: 16px; }
.find-arrow { display: none; width: 22px; height: 22px; }
/* On the dark hero the field is always white. */
.find-hero { border-color: transparent; background: #FFFFFF; box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .75); }
.find-hero:focus-within { border-color: transparent; box-shadow: 0 0 0 4px rgba(142, 150, 255, .55), 0 26px 60px -24px rgba(0, 0, 0, .75); }
.find-hero .find-icon, .find-hero input::placeholder { color: #6B6B71; }
.find-hero input { color: #151516; }
.find-hero .btn { background: #2B37F0; color: #FFFFFF; }
@media (max-width: 560px) {
  .find { height: 60px; padding-left: 46px; border-radius: 16px; }
  .find-icon { left: 15px; width: 20px; height: 20px; }
  .find input { font-size: 17px; }
  .find .btn { width: 48px; padding: 0; border-radius: 12px; }
  .find-label { display: none; }
  .find-arrow { display: block; }
}
[hidden] { display: none !important; }

/* Live suggestions under the search field */
.suggest { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; display: grid; gap: 2px; max-height: min(420px, 60vh); overflow-y: auto; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .4); }
.suggest a { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.suggest [aria-selected="true"] a { background: var(--bg); }
.suggest img, .suggest-blank { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--line); }
.suggest-blank { display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.suggest a > span:last-child { display: grid; min-width: 0; }
.suggest b, .suggest small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.suggest b { font-size: 16px; font-weight: 700; }
.suggest small { font-size: 14px; color: var(--muted); }
/* The hero field is always white on the dark cover wall, so its list is too. */
.find-hero .suggest { border-color: transparent; background: #FFFFFF; color: #151516; }
.find-hero .suggest [aria-selected="true"] a { background: #F1F1EE; }
.find-hero .suggest small, .find-hero .suggest-blank { color: #6B6B71; }
.find-hero .suggest img, .find-hero .suggest-blank { background: #E2E2DD; }

/* ——— Home ——— */
.home-hero { position: relative; z-index: 1; isolation: isolate; background: #0C0C0E; color: #FFFFFF; }
/* Only the cover wall is clipped, so the search suggestions can hang below the hero. */
.hero-clip { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-wall { position: absolute; top: -18%; left: -8%; width: 116%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; transform: rotate(-6deg); opacity: .62; }
.hero-wall img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #222226; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 65% 60% at 50% 58%, rgba(12, 12, 14, .7), rgba(12, 12, 14, .2)),
  linear-gradient(180deg, rgba(12, 12, 14, .8) 0%, rgba(12, 12, 14, .45) 30%, rgba(12, 12, 14, .75) 78%, #0C0C0E 100%); }
.hero-inner { display: grid; justify-items: center; gap: 16px; max-width: 900px; margin: 0 auto; padding: clamp(48px, 9vw, 120px) 20px clamp(72px, 10vw, 140px); text-align: center; }
.hero-inner h1 { max-width: 15ch; font-size: clamp(38px, 6.2vw, 70px); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
.hero-sub { max-width: 38ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: rgba(255, 255, 255, .88); }
.hero-cta { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, .75); }
@media (max-width: 700px) {
  .hero-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; top: -10%; left: -20%; width: 140%; }
}

.row { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.row-title { font-size: clamp(22px, 2.4vw, 28px); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.row-head a, .discover-head a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.row-head a:hover, .discover-head a:hover { color: var(--ink); }
.discover-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.discover-head + .row { padding-top: 24px; }
.row + .row { padding-top: 0; }
.discover { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 88px; }
.cat-head { display: grid; gap: 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat-card { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-card b { font-size: 20px; font-weight: 800; line-height: 1.2; }
.cat-card span { font-size: 15px; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.pager > :last-child { justify-self: end; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 16vw, 220px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(20px, 4vw, 48px); padding: 4px clamp(20px, 4vw, 48px) 12px; scrollbar-width: none; }
@media (min-width: 1280px) { .rail { padding-inline: calc((100vw - 1280px) / 2 + 48px); scroll-padding-inline: calc((100vw - 1280px) / 2 + 48px); } }
.rail::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; }
.tile { display: grid; gap: 2px; text-decoration: none; }
.tile img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 10px; border-radius: 12px; object-fit: cover; background: var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover img { transform: scale(1.03); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .45); }
.tile b { display: -webkit-box; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile span { overflow: hidden; font-size: 14px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
img.is-broken { visibility: hidden; }
.tile .tile-blank { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 48px; font-weight: 800; white-space: normal; }

.section-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
.podcast-link { display: grid; gap: 32px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.podcast-link-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.podcast-link-intro .lead { max-width: 50ch; }
.podcast-link-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.podcast-link-details > div { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.podcast-link-details h3 { font-size: 21px; }
.podcast-link-details p { max-width: 52ch; color: var(--ink-2); font-size: 16px; }
.makers { display: grid; gap: 28px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.feature h3 { font-size: 21px; }
.feature p { color: var(--ink-2); font-size: 16px; }

/* ——— /pro ——— */
.pro { display: grid; }
/* Every section starts at the same left edge; only the text inside is kept narrow. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pro-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .pro-hero { grid-template-columns: minmax(0, 1fr); } }
.pro-head { display: grid; gap: 14px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 44px); }
.pro-head .display-1 { max-width: 22ch; text-wrap: balance; }
.pro-head .lead { max-width: 58ch; }
.pro-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.pro-proof { font-size: 15px; color: var(--muted); }
/* A made-up week of Pro numbers, in the studio's own look. */
.pro-preview { display: grid; gap: 14px; margin: 0; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .45); }
.pro-preview-head { display: flex; justify-content: space-between; align-items: center; }
.pro-preview-text { font-size: 18px; font-weight: 500; line-height: 1.4; }
.pro-preview-chart { width: 100%; height: 110px; }
.pro-preview-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pro-preview-area { fill: var(--chart-views); opacity: .1; }
.pro-preview-line { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pro-preview-views { stroke: var(--chart-views); }
.pro-preview-clicks { stroke: var(--chart-clicks); }
.pro-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); }
.pro-benefits h2 { font-size: 20px; margin-bottom: 6px; }
.pro-benefits p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .pro-benefits { grid-template-columns: minmax(0, 1fr); } }
.pricing { display: grid; gap: 18px; justify-items: start; }
.launch { padding: 10px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 15px; font-weight: 600; }
/* Monthly / yearly: two radios steer which prices show; without CSS support both simply stay visible. */
.bill-radio { position: absolute; opacity: 0; pointer-events: none; }
.bill-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.bill-toggle label { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.bill-save { margin-left: 4px; color: var(--accent); font-size: 13px; }
.pricing:has(#bill-month:checked) label[for="bill-month"], .pricing:has(#bill-year:checked) label[for="bill-year"] { background: var(--ink); color: var(--bg); }
.pricing:has(#bill-year:checked) label[for="bill-year"] .bill-save { color: inherit; opacity: .8; }
.pricing:has(#bill-month:focus-visible) .bill-toggle, .pricing:has(#bill-year:focus-visible) .bill-toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
.pricing:has(#bill-month:checked) .per-year, .pricing:has(#bill-year:checked) .per-month { display: none; }
.plan-vat { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan-launch { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); font-size: 14px; font-weight: 600; }
.plan h3 { font-size: 22px; }
.tiers-grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 360px); gap: 16px; align-items: start; }
@media (max-width: 900px) { .tiers-grid { grid-template-columns: minmax(0, 1fr); } }
.calc { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.calc h3 { font-size: 18px; }
.calc-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.calc-field input { width: 120px; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); font-size: 18px; font-variant-numeric: tabular-nums; }
.calc output { font-size: 17px; font-weight: 600; line-height: 1.45; }
.upsell-launch { margin-top: 8px; font-size: 15px; font-weight: 600; }
.upsell-form { display: grid; gap: 12px; justify-items: start; }
.interval { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.interval label { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
/* Drawn radios in the text colour, so they read the same on the light and the dark Pro card. */
.interval input { appearance: none; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin: 0; border: 2px solid currentColor; border-radius: 50%; opacity: .85; cursor: pointer; }
.interval input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.interval input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); gap: 16px; }
.plan { display: grid; align-content: start; gap: 18px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.plan-pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 30px 60px -40px var(--accent); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: clamp(40px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); }
.plan-lead { font-weight: 700; }
.plan ul { display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.plan-check { width: 20px; height: 20px; margin-top: 1px; color: var(--muted); }
.plan-pro .plan-check { color: var(--accent); }
.plan .btn { margin-top: 6px; }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.plan-note { font-size: 14px; color: var(--muted); }
.pro-note { padding-top: 14px; font-size: 15px; color: var(--muted); }
.pro-tiers { display: grid; gap: 16px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.tiers-wrap { max-width: 720px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.tiers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tiers th, .tiers td { padding: 14px 20px; border-top: 1px solid var(--line); text-align: left; font-size: 16px; }
.tiers thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.pro-bottom { display: grid; gap: 14px; justify-items: start; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.makers-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.upsell-more { font-size: 15px; font-weight: 600; color: inherit; opacity: .8; text-decoration: none; }
.upsell-more:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tiers th, .tiers td { padding: 12px 14px; font-size: 15px; } }
.faq { display: grid; gap: 24px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 8px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; cursor: pointer; }
.faq details p { max-width: 62ch; padding: 0 24px 22px; color: var(--ink-2); }

.plus, .faq summary i, .more summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after, .more summary i::before, .more summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq summary i::after, .more summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after, .more[open] summary i::after { transform: rotate(0); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot .brand i { width: 15px; height: 15px; border-width: 4px; }

.search { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 88px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 16px; }
.empty { max-width: 48ch; font-size: 19px; color: var(--ink-2); }
.lost { display: grid; gap: 18px; padding-top: 56px; padding-bottom: 96px; }

@media (max-width: 820px) {
  .podcast-link-intro, .podcast-link-details, .features { grid-template-columns: 1fr; }
}

/* ——— Show & episode pages ——— */
.sp { overflow-x: clip; }
.sp-glow { position: fixed; left: 50%; top: -34vh; width: 150vw; height: 95vh; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); opacity: .5; pointer-events: none; z-index: 0; animation: breathe 16s ease-in-out infinite alternate; }
@keyframes breathe {
  from { opacity: .36; transform: translateX(-50%) scale(1); }
  to { opacity: .58; transform: translateX(-50%) scale(1.1); }
}
.sp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; padding: 24px clamp(20px, 4vw, 56px) 40px; }
.sp-cover { margin: 0; }
.sp-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: clamp(14px, 2vw, 22px); background: var(--line); box-shadow: 0 36px 70px -36px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
/* Phones: a smaller cover, so the listen button and the first apps show without scrolling. */
@media (max-width: 919px) {
  .sp-grid { gap: 22px; }
  .sp-cover { max-width: min(62vw, 260px); }
}
@media (min-width: 920px) {
  .sp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding-top: 72px; padding-bottom: 72px; }
  .sp-side { position: sticky; top: 72px; }
}
.sp-side { display: grid; gap: 28px; align-content: start; min-width: 0; }
.sp-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.sp-body > *, .listen, .eps { min-width: 0; }
.listen, .eps { grid-template-columns: minmax(0, 1fr); }
.kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.kicker a { color: var(--ink); font-weight: 600; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.sp-title { margin-top: -6px; font-weight: 800; line-height: 1; letter-spacing: -.03em; overflow-wrap: break-word; }
.t-xl { font-size: clamp(48px, 9vw, 104px); }
.t-l { font-size: clamp(40px, 6.6vw, 80px); }
.t-m { font-size: clamp(32px, 4.8vw, 58px); }
.t-s { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.08; }
.ep-title.t-xl, .ep-title.t-l { font-size: clamp(36px, 5.6vw, 68px); }
.sp-author { margin-top: -6px; font-size: 17px; color: var(--muted); }

.listen { display: grid; gap: 4px; margin-top: 6px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--accent); color: var(--on); text-decoration: none; box-shadow: 0 16px 40px -24px var(--accent); transition: transform .2s var(--ease); }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: scale(.985); }
.cta-text { display: grid; gap: 1px; }
.cta b { font-size: 18px; font-weight: 700; }
.cta small { font-size: 14px; opacity: .75; }
.cta-arrow { font-size: 22px; transition: transform .25s var(--ease); }
.cta:hover .cta-arrow { transform: translateX(4px); }
.apps a, .more summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; transition: padding .25s var(--ease); }
.apps a:hover { padding-left: 12px; }
.apps em { font-size: 15px; font-style: normal; font-weight: 400; color: var(--muted); }
.more summary { color: var(--muted); }
.more summary:hover { color: var(--ink); }

.extra { display: flex; flex-wrap: wrap; gap: 8px; }
.extra a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s; }
.extra a:hover { border-color: var(--ink); }

.eps { display: grid; gap: 12px; margin-top: 12px; }
.eps .label { margin-top: 14px; }
.player { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: var(--line); transition: background .2s; }
/* The newest episode on a show page: the whole card opens the episode's page, the play button still plays. */
.player-link { color: inherit; text-decoration: none; }
.player-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.player-link:focus-visible { outline: none; }
.player:has(.player-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.player .play, .player .bar { position: relative; z-index: 1; }
/* The arrow moves on hover, which lifts it above the link; letting the pointer through keeps the hover from flickering. */
.player-go { flex: none; font-size: 20px; color: var(--muted); pointer-events: none; transition: transform .2s var(--ease), color .2s; }
.player:has(.player-link:hover) { background: color-mix(in srgb, var(--line) 88%, var(--ink)); }
.player:has(.player-link:hover) .player-go { color: var(--ink); transform: translateX(3px); }
.pl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pl-ep-link { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.pl-ep-link:hover { color: var(--ink); }
.play { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: transform .15s var(--ease); }
.play:active { transform: scale(.92); }
.play:disabled { opacity: .3; cursor: default; }
.play i { width: 0; height: 0; margin-left: 4px; border-left: 14px solid var(--bg); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.play.is-playing i { width: 14px; height: 16px; margin: 0; border: 0; background: linear-gradient(90deg, var(--bg) 0 35%, transparent 35% 65%, var(--bg) 65%); }
.player-text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.player-text b { display: -webkit-box; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.player-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { display: none; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: var(--line); cursor: pointer; }
.player.is-active .bar { display: block; }
.bar span { display: block; width: 0; height: 100%; background: var(--ink); }
.ep-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ep-row a { display: grid; min-width: 0; text-decoration: none; }
.ep-row a b { overflow: hidden; font-size: 16px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.ep-row a em { font-size: 14px; font-style: normal; color: var(--muted); }
.ep-row a:hover b { text-decoration: underline; }
.ep-row .bar { grid-column: 2; margin-top: 2px; }
.ep-row.is-active .bar { display: block; }
.play-sm { width: 40px; height: 40px; }
.pl-player { display: grid; gap: 8px; }
.pl-frame { padding: 6px 14px; border-radius: 18px; background: var(--line); }
.pl-frame iframe { display: block; width: 100%; height: 84px; border: 0; background: transparent; transition: height .2s var(--ease); color-scheme: normal; }
/* ↑ Browsers paint an opaque canvas behind a framed page whose colour scheme differs from the
   iframe element's; our dark show pages would put the transparent embed on white otherwise. */
.ep-row.is-playing .play i { width: 11px; height: 13px; margin: 0; border: 0; background: linear-gradient(90deg, var(--bg) 0 35%, transparent 35% 65%, var(--bg) 65%); }
.ep-row.is-current a b { color: var(--accent); }
.play-sm i { margin-left: 3px; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
.play-sm.is-playing i { width: 11px; height: 13px; }

.about { display: grid; gap: 10px; max-width: 62ch; }
.about p { font-size: 16px; line-height: 1.6; color: var(--ink); opacity: .85; white-space: pre-line; overflow-wrap: anywhere; }
.about .label { opacity: 1; }
/* The description sits under the cover on wide screens and in the main column on phones. */
.about.about-side { display: none; }
@media (min-width: 920px) {
  .about.about-side { display: grid; }
  .about.about-main { display: none; }
}

.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.qr-pop { max-width: min(340px, 90vw); padding: 28px; border: 0; border-radius: 22px; background: #FFFFFF; color: #151516; text-align: center; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); }
.qr-pop:popover-open { display: grid; justify-items: center; gap: 10px; }
.qr-pop::backdrop { background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qr-pop img { width: 240px; height: 240px; }
.qr-pop p { font-size: 15px; font-weight: 700; }
.qr-pop .muted { font-weight: 400; color: #6B6B71; }
.qr-pop .chip { margin-top: 6px; border-color: #E2E2DD; }

.sp-foot { display: grid; gap: 18px; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.claim { color: var(--ink); font-weight: 600; text-decoration: none; }
.claim:hover { text-decoration: underline; }
.verified { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.verified a { color: var(--ink); }
.verified i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.verified i::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid var(--on); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sp-foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.sp-foot-row .lang { padding-right: 0; }
.foot-links { display: inline-flex; align-items: center; gap: 16px; margin-left: 16px; }
.foot-links a:not(.lang) { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:not(.lang):hover { text-decoration: underline; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.made .brand { font-size: 15px; color: var(--ink); }
.made .brand i { width: 14px; height: 14px; border-width: 4px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 10; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ——— Sign in & studio ——— */
.auth { display: grid; gap: 20px; padding-top: clamp(32px, 7vw, 88px); padding-bottom: 96px; }
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field input, .pair input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .pair input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .pair input::placeholder { color: var(--muted); }
.code-input { height: 64px !important; font-size: 30px !important; font-weight: 700; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.notice { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.notice-ok { border-color: transparent; background: var(--accent-soft); }
.notice-error { border-color: var(--bad); color: var(--bad); }
.claim-cover { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; }

.studio { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 96px; }
.show-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.show-list img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.show-list b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.show-list em { font-size: 15px; font-style: normal; color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.badge-pro { border-color: var(--accent); background: var(--accent); color: var(--on); }

.ed-show { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 20px; }
.ed-show img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.ed-show p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.url-link { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.share-links { display: grid; gap: 10px; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.share-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 16px 16px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, transform .15s var(--ease); }
.share-link:hover { border-color: var(--ink); }
.share-link:active { transform: scale(.99); }
.share-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-link b { font-size: 16px; }
.share-link small { grid-column: 1; overflow: hidden; color: var(--muted); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.share-link em { grid-row: 1 / span 2; grid-column: 2; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--on); font-size: 14px; font-style: normal; font-weight: 700; white-space: nowrap; }
.url-link:hover { text-decoration: underline; }

.week { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.week-text { font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.ed-locked .week-text { color: var(--muted); }
/* Locked stats: a soft, rising chart sits behind the text, blurred, fading out toward the top. */
.week-locked { position: relative; isolation: isolate; overflow: hidden; min-height: 230px; align-content: start; }
.week-locked > :not(.week-teaser) { position: relative; }
/* It overhangs the card on three sides, so the blur's own edges fall outside the rounded corners. */
.week-teaser { position: absolute; inset: auto -32px -10px; z-index: -1; width: calc(100% + 64px); height: calc(76% + 10px); filter: blur(5px); opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%); mask-image: linear-gradient(to bottom, transparent, #000 55%); }
.teaser-stop-top { stop-color: var(--chart-views); stop-opacity: .35; }
.teaser-stop-bottom { stop-color: var(--chart-views); stop-opacity: 0; }
.teaser-grid { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.teaser-line { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: teaser-draw 1.8s var(--ease) .15s forwards; }
.teaser-views { stroke: var(--chart-views); }
.teaser-clicks { stroke: var(--chart-clicks); animation-delay: .35s; }
@keyframes teaser-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .teaser-line { animation: none; stroke-dashoffset: 0; } }
.split { display: flex; gap: 2px; height: 10px; overflow: hidden; border-radius: 999px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

/* Studio: the stats board at the top. Numbers in ink; the colour sits only on the marks beside them. */
.week h2 { font-size: 22px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.kpi-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.kpi-value { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-delta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.kpi-delta span { font-size: 10px; color: var(--ink); }
/* Phones: each number becomes a row (label and change on the left, the number on the right), and
   each app's bar moves under its name so it keeps the full width. */
@media (max-width: 560px) {
  .kpis { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .kpi { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 16px; }
  .kpi-label { grid-column: 1; }
  .kpi-delta { grid-column: 1; grid-row: 2; }
  .kpi-value { grid-column: 2; grid-row: 1 / span 2; font-size: 32px; }
  .app-bars ul { gap: 14px; }
  .app-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .app-bar-track { grid-column: 1 / -1; grid-row: 2; }
}
.app-bars { display: grid; gap: 10px; padding-top: 4px; }
.app-bars ul { display: grid; gap: 8px; }
.app-bars li { display: grid; grid-template-columns: minmax(96px, 168px) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 15px; }
.app-bar-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-bar-blank { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--line); }
.app-bar-track { height: 10px; border-radius: 4px; background: var(--line); overflow: hidden; }
.app-bar-track i { display: block; height: 100%; border-radius: 4px; background: var(--chart-clicks); }
.app-bar-n { min-width: 72px; color: var(--muted); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.app-bar-n b { margin-right: 6px; color: var(--ink); font-weight: 700; }
.stat-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.stat-facts dt { font-size: 13px; color: var(--muted); }
.stat-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; text-wrap: pretty; }

.upsell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--ink); color: var(--bg); }
.upsell h2 { font-size: 24px; }
.upsell p { max-width: 44ch; margin-top: 6px; opacity: .78; }
.upsell-dev { grid-column: 1 / -1; }

.ed { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.ed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ed h2 { font-size: 22px; }
.ed > .muted { max-width: 56ch; font-size: 16px; }
.ed-locked form { opacity: .45; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.slug-field { display: flex; flex: 1; align-items: center; min-width: 240px; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.slug-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.slug-field span { color: var(--muted); }
.slug-field input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.order li { display: grid; grid-template-columns: 18px 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.order-n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.order-name em { font-size: 14px; font-style: normal; font-weight: 400; color: var(--muted); }
.is-hidden .order-name { color: var(--muted); }
.order-ctl { display: flex; gap: 4px; }
.order-ctl button { min-width: 38px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.order-ctl button:hover:not(:disabled) { border-color: var(--ink); }
.order-ctl button:disabled { opacity: .35; cursor: default; }
.order + .quiet-link { margin-top: 14px; }
input[type="color"] { width: 56px; height: 48px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }

@media (max-width: 600px) {
  .upsell { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 6px; }
  .ed-show { grid-template-columns: 72px minmax(0, 1fr); }
  .ed-show img { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Team */
.team li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.team-who { min-width: 0; overflow-wrap: anywhere; font-size: 17px; }
.team-who em { font-style: normal; color: var(--muted); }
.team-role { font-size: 15px; color: var(--muted); }
.team-ctl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; }
.team-add { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
.team-add input, .team-add select { height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.team-add input:focus, .team-add select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 560px) {
  .team-add { grid-template-columns: minmax(0, 1fr) auto; }
  .team-add input { grid-column: 1 / -1; }
}

/* Claiming */
.claim-opt { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.claim-opt h2 { font-size: 20px; }
details.claim-opt summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.claim-feed { display: grid; gap: 14px; padding-top: 14px; }
.feed-code { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.feed-code code { padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface); font: 700 19px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; user-select: all; }

/* Studio: links */
.links-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.link-name { font-size: 17px; font-weight: 700; }
.link-state { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.link-found { border-color: transparent; background: var(--accent-soft); color: var(--ink); }
/* Pro-only apps on a free show: visible, so makers know they exist, but not editable. */
.link-pro { border-color: var(--accent); color: var(--accent); }
.link-locked .link-name { color: var(--muted); }
.link-locked input:disabled { opacity: .6; cursor: not-allowed; }
.links-list input { grid-column: 1 / -1; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.links-list input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.links-list input::placeholder { color: var(--muted); }
.link-url { grid-column: 1 / -1; overflow-wrap: anywhere; font-size: 15px; color: var(--muted); text-decoration: none; }
.link-url:hover { color: var(--ink); text-decoration: underline; }

/* App marks */
.app-ico { flex: none; width: 20px; height: 20px; fill: currentColor; }
.app-name { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.cta-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cta .app-ico { width: 26px; height: 26px; }

/* Studio: sharing episodes */
.ep-links li { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ep-more summary { cursor: pointer; padding: 14px 0; color: var(--muted); font-weight: 600; }
.ep-link-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ep-link-head b { min-width: 0; overflow: hidden; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
.ep-link-head em { flex: none; font-size: 14px; font-style: normal; color: var(--muted); }
.ep-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.ep-link-url { min-width: 0; overflow-wrap: anywhere; font-size: 15px; color: var(--muted); text-decoration: none; }
.ep-link-url:hover { color: var(--ink); text-decoration: underline; }
.ep-link-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ep-link-form .slug-field { flex: 1 1 240px; }
/* Older episodes (Pro): a search over the feed's archive and a button that loads ten more. */
.ep-archive { display: grid; gap: 12px; padding-top: 18px; }
.ep-search { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-search input { flex: 1 1 240px; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: inherit; font: inherit; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ep-search input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.ep-more-btn { justify-self: start; }

/* Studio: drag to reorder */
.order-grip { width: 18px; height: 22px; border-radius: 6px; background: radial-gradient(circle, var(--muted) 1.3px, transparent 1.6px) 0 0 / 6px 6px; opacity: .55; cursor: grab; touch-action: none; }
.order-grip:hover { opacity: 1; }
fieldset:disabled .order-grip { cursor: default; opacity: .25; }
.order li { position: relative; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.order.no-anim li { transition: none; }
.order.is-sorting { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.order li.is-dragging { z-index: 2; transition: box-shadow .2s var(--ease); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }
@media (pointer: fine) { .order:not(.is-sorting) li { cursor: grab; } .order li button { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) { .order li { transition: none; } }
.order li.is-dragging .order-grip { cursor: grabbing; }
.links-list .link-name { display: inline-flex; align-items: center; gap: 10px; }

/* Studio: 30-day chart */
.trend { display: grid; gap: 10px; margin: 6px 0 0; }
.trend-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.trend-legend li { display: inline-flex; align-items: center; gap: 8px; }
.trend-legend b { color: var(--ink); font-weight: 700; }
.key { display: inline-block; flex: none; width: 14px; height: 2px; border-radius: 2px; }
.key-views { background: var(--chart-views); }
.key-clicks { background: var(--chart-clicks); }
.trend-plot { position: relative; height: 170px; margin: 8px 0 0 44px; outline: none; touch-action: pan-y; }
.trend-plot:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); border-radius: 6px; }
.trend-grid span { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.trend-grid em { position: absolute; right: calc(100% + 10px); top: -9px; font-size: 12px; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trend-area { fill: var(--chart-views); opacity: .1; }
.trend-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trend-views { stroke: var(--chart-views); }
.trend-clicks { stroke: var(--chart-clicks); }
.trend-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.trend-dot.dot-views { background: var(--chart-views); }
.trend-dot.dot-clicks { background: var(--chart-clicks); }
.trend-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-strong); pointer-events: none; }
.trend-cross, .trend-hdot, .trend-tip { display: none; }
.trend-plot.is-hover .trend-cross, .trend-plot.is-hover .trend-hdot { display: block; }
.trend-plot.is-hover .trend-tip { display: grid; }
.trend-tip { position: absolute; top: 2px; z-index: 2; gap: 3px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); font-size: 13px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.trend-tip.is-low { top: auto; bottom: 2px; }
.trend-tip-day { font-weight: 600; color: var(--ink); }
.trend-tip-row { display: flex; align-items: center; gap: 8px; }
.trend-tip-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.trend-x { display: flex; justify-content: space-between; margin-left: 44px; font-size: 12px; color: var(--muted); }
.trend-table summary { display: inline-block; font-size: 14px; color: var(--muted); cursor: pointer; }
.trend-table summary:hover { color: var(--ink); }
.trend-table table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.trend-table th, .trend-table td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: right; }
.trend-table th:first-child, .trend-table td:first-child { text-align: left; }
.trend-table th { font-weight: 600; color: var(--muted); }

/* Studio: distribution scan */
.scan { display: grid; gap: 18px; }
.scan-sum { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.3; }
.scan-meter { display: flex; gap: 2px; height: 8px; overflow: hidden; border-radius: 999px; }
.scan-meter i { flex: 1; }
.scan-meter .is-found { background: var(--accent); }
.scan-meter .is-missing { background: var(--bad); }
.scan-meter .is-unknown { background: var(--line-strong); }
.scan-group { display: grid; gap: 6px; }
.scan-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scan-list .app-name { font-weight: 600; }
.scan-list .chip { grid-row: span 2; text-decoration: none; }
.scan-note { grid-column: 1; font-size: 14px; color: var(--muted); }
.scan-found { display: flex; flex-wrap: wrap; gap: 8px; }
.scan-found li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); font-size: 14px; font-weight: 600; }
.scan-found .app-ico { width: 16px; height: 16px; }
.scan-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }

/* Studio: subscription */
.billing { display: grid; gap: 14px; }
.billing-line { max-width: 56ch; font-size: 17px; }

/* Studio: address as text until you choose to change it */
.address summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; list-style: none; cursor: pointer; }
.address summary::-webkit-details-marker { display: none; }
.address-url { font-size: 17px; color: var(--muted); overflow-wrap: anywhere; }
.address-url b { font-weight: 600; color: var(--ink); }
.address-edit { display: grid; gap: 16px; margin-top: 16px; }
.address-chips { display: grid; gap: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.address-redirects { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.address[open] summary .quiet-link { display: none; }
.address form { margin-top: 14px; }

/* Terms and privacy */
.legal { display: grid; gap: 28px; max-width: 780px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 72px; }
.legal-head { display: grid; gap: 12px; }
.legal-head .display-1 { text-wrap: balance; }
.legal-section { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section h2 { font-size: 20px; line-height: 1.3; }
.legal-n { color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-section p, .legal-section li { max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal-section ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-section li::marker { color: var(--muted); }
.legal-section a, .legal-head a { color: var(--ink); }
.legal-company { font-size: 16px; font-style: normal; line-height: 1.6; color: var(--ink-2); }
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { font-weight: 600; color: var(--muted); }
.legal-table code { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.legal-other a { font-weight: 600; text-decoration: none; }
.legal-other a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.foot-links .foot-privacy { font-weight: 400; color: var(--muted); }


/* ——— Listener ratings (Pro) ——— */
.rate { display: grid; gap: 10px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.rate-invite, .rate-why { font-size: 14px; color: var(--muted); max-width: 46ch; }
.rate-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 17px; }
.rate-score b { font-variant-numeric: tabular-nums; }
.rate-score span { color: var(--muted); font-size: 15px; }
.score { display: inline-flex; gap: 2px; }
.score i { display: inline-flex; color: var(--line-strong); }
.score i.is-full { color: var(--accent); }
/* Half a star: the left half in the accent colour, the right half as an empty one. */
.score i.is-half { position: relative; }
.score i.is-half::after { content: ""; position: absolute; inset: 0; width: 50%; overflow: hidden; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.45L12 17.45 6.2 20.5l1.1-6.45-4.7-4.6 6.5-.95L12 2.6Z'/%3E%3C/svg%3E") 0 0 / 20px 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.45L12 17.45 6.2 20.5l1.1-6.45-4.7-4.6 6.5-.95L12 2.6Z'/%3E%3C/svg%3E") 0 0 / 20px 20px no-repeat; }
.star { width: 20px; height: 20px; fill: currentColor; }
.rate-form { display: grid; gap: 12px; justify-items: start; }
/* Five to one in the markup, drawn one to five: the checked star and every lower one fill up. */
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stars label { display: inline-flex; padding: 4px; color: var(--line-strong); cursor: pointer; transition: transform .15s var(--ease), color .15s; }
.stars label .star { width: 30px; height: 30px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--accent); }
.stars label:hover { transform: scale(1.08); }
.stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.rate-send { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.rate-send input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s; }
.rate-send input:focus { border-color: var(--accent); }
.rate-send input::placeholder { color: var(--muted); }
.rate-send .btn { padding: 0 22px; height: 48px; }
.rate-note { font-size: 15px; font-weight: 600; }
.rate-note.is-bad { color: var(--bad); }

/* Studio: ratings */
.reviews { display: grid; gap: 12px; justify-items: start; }
.reviews-state { font-size: 17px; }

/* Studio: the nudge under the listening links, the "Manage" group, and what each role can do. */
.nudge { margin: -8px 0 0; padding: 12px 16px; border: 1px dashed var(--accent); border-radius: 14px; color: var(--ink); font-size: 15px; }
.nudge a { font-weight: 700; color: var(--accent); white-space: nowrap; }
.ed-group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ed-group h2 { margin: 0 0 4px; font-size: clamp(22px, 3vw, 28px); }
.roles { display: grid; gap: 6px; margin: 4px 0 0; font-size: 14px; }
.roles div { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 10px; }
.roles dt { font-weight: 700; }
.roles dd { margin: 0; color: var(--muted); }

/* Show page: the feed row copies its address; claimed pages say they're official; the language
   switch stands apart from the footer links. */
.apps .app-copy { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; transition: padding .25s var(--ease); }
.apps .app-copy:hover { padding-left: 12px; }
.official { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.official i { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.official i::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid var(--on); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.foot-lang { margin-left: auto; padding-left: 12px; border-left: 1px solid var(--line); }

/* /pro: the case for one link, before the reasons to pay. */
.pro-noloss { display: grid; gap: 12px; padding-top: clamp(40px, 5vw, 64px); }
.pro-noloss > * { max-width: 760px; }
.pro-noloss h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); text-wrap: balance; }
.pro-noloss p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
