/* Super Podcatch. Super-family base (dark) with one accent: VU-meter amber. */
/* Fonts are self-hosted (web/fonts, OFL): no request to Google from the reader's browser.
   Chinese, Japanese and Hindi use the reader's system fonts (see the :lang rules below). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/space-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/space-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #060609;
  --panel: #0e0e13;
  --panel-2: #14141b;
  --line: #22222b;
  --line-soft: #1a1a22;
  --paper: #f2f1f5;
  --muted: #a09fb1;
  --dim: #838294;
  --amber: #e9b44c;
  --amber-ink: #1a1305;
  --ok: #7fd1a8;
  --error: #f08a7e;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --measure: 36rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 0.2em; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(74rem, 100% - 2rem); margin-inline: auto; }

/* --- nav --------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(6, 6, 9, 0.82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line-soft); }
.nav .wrap { display: flex; align-items: center; gap: 2rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: -0.015em; text-decoration: none; font-size: 1.05rem; }
.brand .mark { width: 28px; height: 28px; }
.brand span { color: var(--muted); font-weight: 500; }
.nav-links { display: none; gap: 1.75rem; font-size: 0.9375rem; color: var(--muted); margin-left: auto; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--paper); }
.nav .wrap { gap: 1rem; }
.nav .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.nav .lang-switch { margin-left: auto; height: 2.5rem; font-size: 0.875rem; padding-left: 0.8rem; padding-right: 2.2rem; background-position: right 0.8rem center; background-color: transparent; border-color: var(--line); }
@media (min-width: 52rem) { .nav-links { display: flex; } .nav .lang-switch { margin-left: 0.5rem; } }
@media (max-width: 30rem) { .nav .nav-cta { display: none; } }

/* --- buttons + form controls --------------------------------------------------------- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem; min-height: 3.1rem;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; border-radius: 10px; padding: 0.85rem 1.4rem;
  background: var(--amber); color: var(--amber-ink);
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--paper); border-color: #3a3a46; }
.btn.ghost:hover { border-color: var(--paper); filter: none; }
.btn.block { width: 100%; }

input[type=email], select {
  font: inherit; color: var(--paper); background-color: var(--panel-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 0 1rem; height: 3.1rem; min-width: 0;
}
input[type=email]:focus, select:focus { border-color: #4a4a58; outline: none; box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.25); }
input::placeholder { color: var(--dim); }
/* Custom chevron: the native arrow sits flush against the border and cannot be padded. */
select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a09fb1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 8px;
}
select option { background: var(--panel-2); color: var(--paper); }

/* --- hero ------------------------------------------------------------------------- */
.hero { display: grid; gap: 3.5rem; padding: 4.5rem 0 4rem; align-items: center; }
@media (min-width: 62rem) { .hero { grid-template-columns: 1.02fr 0.98fr; padding: 6rem 0 5rem; } }
.hero > *, .stage > *, .client > *, .plans > *, .foot > * { min-width: 0; } /* grid items may not overflow on phones */
.pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem 0.3rem 0.5rem; margin-bottom: 1.5rem; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 209, 168, 0.18); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 1.25rem; max-width: 14ch; }
[data-variant="b"] .only-a, [data-variant="a"] .only-b { display: none; }
/* Variant-A headline: one clause per line (build.py headline()), never wrapping inside a clause. Its size is
   the usual clamp, capped so the longer clause fits the column: 100cqi / --h1-fit, where --h1-fit is that
   clause's width in em, measured per language (+3 %) below. New copy = re-measure (tests/e2e/site.mjs checks 2 lines). */
#apuntate { container-type: inline-size; }
[data-variant="a"] .hero h1 { max-width: none; font-size: min(clamp(2.6rem, 6vw, 4.4rem), 100cqi / var(--h1-fit, 14));
  font-variation-settings: "opsz" 40; } /* DM Sans' display cut at every size: below 40px its optical size widens the line ~6 % */
[data-variant="a"] .hero h1 .cl { white-space: nowrap; }
[data-variant="a"] .hero h1:lang(ja) { font-size: min(clamp(2.2rem, 4.8vw, 3.6rem), 100cqi / var(--h1-fit, 14)); }
/* Hindi +12 %: its Devanagari font is the system's (Kohinoor, Nirmala, Noto…) and their widths differ. */
:lang(es) { --h1-fit: 9.8; } :lang(en) { --h1-fit: 12.8; } :lang(pt) { --h1-fit: 10.5; } :lang(fr) { --h1-fit: 11.3; }
:lang(zh) { --h1-fit: 10.3; } :lang(ja) { --h1-fit: 12.4; } :lang(hi) { --h1-fit: 9.9; }
.lede { color: var(--muted); font-size: 1.1875rem; max-width: var(--measure); margin: 0 0 2rem; }
.lede strong { color: var(--paper); font-weight: 500; }

form#signup { display: grid; gap: 1rem; max-width: 34rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.row input[type=email] { flex: 1 1 15rem; }
.row select { flex: 0 0 auto; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 0.9375rem; color: var(--muted); margin-bottom: 0.6rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.9375rem; color: var(--muted); user-select: none; }
.chips label::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #4a4a58; flex: none; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips label:has(input:checked) { color: var(--paper); border-color: #5a5a68; background: var(--panel-2); }
.chips label:has(input:checked)::before { background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%231a1305' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 8px no-repeat; border-color: var(--amber); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.fine { font-size: 0.875rem; color: var(--dim); margin: 0; }
.lang-note { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.lang-note a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* Chinese and Hindi: script fonts behind DM Sans (which has no CJK/Devanagari glyphs),
   and no negative tracking, which breaks both scripts. */
:lang(zh) body { font-family: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
:lang(hi) body { font-family: "DM Sans", "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", "Mangal", sans-serif; line-height: 1.7; }
:lang(ja) body { font-family: "DM Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(ja) h1, :lang(ja) h2, :lang(hi) h1, :lang(hi) h2, :lang(zh) .stat b, :lang(ja) .stat b, :lang(hi) .stat b { letter-spacing: 0; }
:lang(zh) h1, :lang(ja) h1, :lang(hi) h1 { max-width: 18em; line-height: 1.15; }
:lang(hi) h1 { line-height: 1.25; }
/* Japanese has no spaces: break between phrases, never inside a word (ポッドキャスト). */
:lang(ja) h1, :lang(ja) h2 { word-break: auto-phrase; line-break: strict; }
:lang(ja) h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
:lang(zh) .stat b, :lang(ja) .stat b, :lang(hi) .stat b { font-size: 1.75rem; }
[data-msg] { min-height: 1.4em; margin: 0; font-size: 0.9375rem; }
[data-msg][data-kind="error"] { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Hero visual: a player that never stops, turning episodes into emails, in a loop. */
.stage { position: relative; display: grid; gap: 1rem; }
.player, .inbox-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.player { padding: 1.25rem 1.25rem 1.1rem; }
.player-head { display: flex; align-items: center; gap: 0.9rem; }
.cover { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 700 0.9rem var(--sans); color: var(--amber-ink); background: var(--amber); flex: none; }
.player-head .meta { min-width: 0; flex: 1; }
.player-head b { display: block; font-weight: 600; font-size: 0.9875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-head small { color: var(--muted); font-size: 0.875rem; }
.time { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); white-space: nowrap; }
.wave { display: flex; align-items: center; gap: 3px; height: 64px; margin: 1rem 0 0.75rem; }
.wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--amber); opacity: 0.9; transform-origin: center; animation: vu var(--t) ease-in-out var(--d) infinite alternate; }
.wave i.past { opacity: 0.35; }
@keyframes vu { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); animation: progress var(--cycle) linear infinite; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.arrow { display: flex; align-items: center; gap: 0.75rem; color: var(--dim); font-size: 0.875rem; padding-left: 1.25rem; }
.arrow::before { content: ""; width: 1px; height: 1.5rem; background: linear-gradient(var(--line), var(--amber)); }

.inbox-card { padding: 1.1rem 1.25rem 1.3rem; }
.mail-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.mail-head b { color: var(--paper); font-weight: 600; }
.mail-subject { margin: 0.35rem 0 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lines { display: grid; gap: 0.55rem; }
.lines span { display: block; height: 0.5rem; border-radius: 4px; background: #3a3a47; transform-origin: left; transform: scaleX(0); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.lines span.on { transform: scaleX(1); }
.inbox-card.reset .lines span, .inbox-card.reset .badge { transition: none; }
.lines span.h { background: #6a6a7a; height: 0.6rem; margin-top: 0.35rem; }
/* The card never empties: finished emails drop into a stack behind it, and the next
   one starts writing right away. */
.stage { isolation: isolate; padding-bottom: 26px; }
.inbox-card { position: relative; }
.inbox-card::before, .inbox-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--panel); border: 1px solid var(--line); pointer-events: none; }
.inbox-card::before { transform: translateY(14px) scale(0.955); background: #16161c; border-color: #2c2c36; }
.inbox-card::after { transform: translateY(28px) scale(0.91); background: #111116; border-color: #24242c; opacity: 0.7; }
.inbox-card { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.inbox-card.sent { border-color: rgba(233, 180, 76, 0.6); box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.12); }
.badge { opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; }
.badge.on { opacity: 1; transform: none; }
.arrow .step { display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.2s ease; }
.arrow .step::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.arrow .step.done::before { animation: none; background: #6fcf97; }
.arrow .step.swap { opacity: 0; }
@keyframes pulse { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
.badge { position: absolute; right: 1.25rem; bottom: 1.1rem; background: var(--paper); color: var(--ink); font-size: 0.8125rem; font-weight: 600; border-radius: 999px; padding: 0.3rem 0.75rem; }
.inbox-card .lines { padding-bottom: 2.25rem; }
@media (prefers-reduced-motion: reduce) {
  .wave i, .progress span, .arrow .step::before { animation: none; }
  .lines span, .progress span { transform: none; }
  .badge { opacity: 1; transform: none; }
}

/* --- proof strip --------------------------------------------------------------------- */
/* Demo film under the hero (template.html): plays muted while on screen (never with «Reduce motion»), one
   «Play with sound» pill bottom-right, like superdownloads.app (Mario 2026-10-27). */
.demo { position: relative; margin-bottom: 4.5rem; }
.demo-sound { position: absolute; right: 14px; bottom: 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
  padding: 0.6rem 1rem; font-family: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1; color: var(--paper); background: rgba(6, 6, 9, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.demo-sound[hidden] { display: none; }
.demo-sound:hover { background: rgba(6, 6, 9, 0.88); }
.demo-sound:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.demo video:focus-visible { border-radius: 14px; }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid var(--line); background: var(--panel, #0d0d12); }
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 1.75rem 0; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.strip p { margin: 0; color: var(--dim); font-size: 0.875rem; }
.shows { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-weight: 600; color: #c9c8d4; letter-spacing: -0.01em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin-top: 4.5rem; }
.stat { background: var(--ink); padding: 1.75rem 1.5rem; }
.stat b { display: block; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.9375rem; }

/* --- sections ------------------------------------------------------------------------ */
section { padding: 6rem 0 0; }
.sec-head { max-width: 40rem; margin-bottom: 3rem; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 1rem; }
.sub { color: var(--muted); font-size: 1.125rem; margin: 0; }

/* features */
.features { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 48rem) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { background: var(--panel); padding: 2rem; }
.feature svg { width: 28px; height: 28px; color: var(--amber); margin-bottom: 1.25rem; }
.feature h3 { margin: 0 0 0.5rem; font-size: 1.1875rem; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); }

/* sample: a mail client with the real emails */
.client { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
@media (min-width: 60rem) { .client { grid-template-columns: 19rem 1fr; } }
.client-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel-2); color: var(--dim); font-size: 0.8125rem; }
.client-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c36; }
.client-bar span { margin-left: 0.75rem; }
.mailbox { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); }
@media (min-width: 60rem) { .mailbox { flex-direction: column; overflow: visible; border-bottom: 0; border-right: 1px solid var(--line); } }
.mailbox button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 0.2rem; padding: 1rem 1.1rem; min-width: 15rem; border-bottom: 1px solid var(--line-soft); border-left: 3px solid transparent; }
.mailbox button[aria-selected="true"] { background: var(--panel-2); border-left-color: var(--amber); }
.mailbox button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.mailbox .from { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 600; }
.mailbox .from small { color: var(--dim); font-weight: 400; }
.mailbox .subj { font-size: 0.875rem; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mailbox .snip { font-size: 0.8125rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Fixed-height reader that scrolls inside, like a real mail client. */
.reader { background: #f1f5f9; }
.reader iframe { transition: opacity 0.25s ease; }
.reader iframe.loading { opacity: 0.35; }
.reader iframe { display: block; width: 100%; height: min(44rem, 75vh); border: 0; background: #f1f5f9; }
.note { margin-top: 1rem; font-size: 0.875rem; color: var(--dim); }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; counter-reset: s; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--ink); padding: 2rem; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 0.9375rem; margin-bottom: 1.25rem; }
.steps b { display: block; margin-bottom: 0.35rem; font-size: 1.0625rem; }
.steps span { color: var(--muted); }

/* pricing */
.plans { display: grid; gap: 1.25rem; }
@media (min-width: 44rem) { .plans { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
@media (min-width: 72rem) { .plans { grid-template-columns: repeat(4, 1fr); } .plan { padding: 1.75rem 1.5rem; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel) 45%);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.plan:hover { border-color: #34343f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px -28px rgba(0, 0, 0, 0.8); }
.plan.featured { padding-top: 2.4rem;
  background: radial-gradient(120% 60% at 50% 0%, rgba(233, 180, 76, 0.14), transparent 60%), linear-gradient(180deg, #17150f, var(--panel) 55%);
  border: 1px solid rgba(233, 180, 76, 0.85);
  box-shadow: 0 0 0 1px rgba(233, 180, 76, 0.25), 0 0 32px -4px rgba(233, 180, 76, 0.28), 0 30px 70px -36px rgba(233, 180, 76, 0.55), inset 0 1px 0 rgba(255, 233, 180, 0.25); }
.plan.featured:hover { border-color: var(--amber); box-shadow: 0 0 0 1px rgba(233, 180, 76, 0.4), 0 0 44px -2px rgba(233, 180, 76, 0.36), 0 30px 70px -36px rgba(233, 180, 76, 0.6), inset 0 1px 0 rgba(255, 233, 180, 0.3); }
@media (min-width: 72rem) { .plan.featured { transform: translateY(-10px); } }
.plan .tag { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(180deg, #f1c46a, var(--amber)); color: var(--amber-ink); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em; border-radius: 999px; padding: 0.25rem 0.85rem; box-shadow: 0 6px 18px -6px rgba(233, 180, 76, 0.7); }
.plan h3 { margin: 0; font-size: 1.125rem; }
.plan .desc { color: var(--muted); margin: 0.25rem 0 0; font-size: 0.9375rem; }
.price { display: flex; align-items: baseline; gap: 0.4rem; }
.price b { font-size: 2.75rem; letter-spacing: -0.04em; line-height: 1; }
.price small { color: var(--muted); }
.plan .launch-line { margin: -0.5rem 0 0; color: var(--amber); font-size: 0.875rem; line-height: 1.45; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: 0.6rem; color: #cfced9; font-size: 0.9375rem; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.25rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6.1-6.6' fill='none' stroke='%23e9b44c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .soon { font-size: 0.8125rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem; margin-left: 0.5rem; vertical-align: 0.15em; }
.plans-note { margin-top: 1.25rem; color: var(--dim); font-size: 0.875rem; }

/* faq */
.faq { display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; max-width: 40rem; }

/* closing CTA */
.cta { margin-top: 6rem; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, #17141c 0%, var(--panel) 55%); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .cta { grid-template-columns: 1.3fr auto; } }
.cta h2 { margin: 0 0 0.5rem; }
.cta p { margin: 0; color: var(--muted); }

/* footer */
footer { margin-top: 6rem; border-top: 1px solid var(--line-soft); padding: 3rem 0 3.5rem; color: var(--dim); font-size: 0.9375rem; }
.foot { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot p { margin: 0.75rem 0 0; max-width: 22rem; }
.foot h4 { margin: 0 0 0.75rem; color: var(--paper); font-size: 0.9375rem; font-weight: 600; }
.foot h4 a { color: inherit; }
.foot h4 a:hover { text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot .fam small { display: block; margin-top: 0.1rem; color: var(--dim); font-size: 0.8125rem; line-height: 1.4; }
.foot .fam a:hover small { color: var(--muted); }
.legal-line { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: 0.8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* simple pages (gracias, baja, legal) */
.page { max-width: var(--measure); padding: 4rem 0 2rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); max-width: none; }
.page h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; letter-spacing: -0.01em; }
.page p, .page li { color: var(--muted); }
.page .todo { color: var(--amber); }
.page.press { max-width: 60rem; }
.press-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 1rem 0; }
.press-grid figure { margin: 0; display: grid; gap: 0.5rem; align-content: start; }
.press-grid img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.press-grid .light img { background: #fff; }
.press-grid figcaption { font-size: 0.875rem; color: var(--muted); }
.bar { display: flex; justify-content: space-between; align-items: center; height: 4rem; }

/* Spanish podcast pages: /es/podcast/<slug>, /es/podcast, /es/resumen-podcast-ia */
.crumbs { margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.pod-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.pod-head > div { min-width: 0; }
.pod-head h1 { margin-top: 0; }
.pod-cover { width: 120px; height: 120px; flex: none; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); object-fit: cover; }
.pod-form { margin: 1.75rem 0 1rem; }
.pod-form .row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pod-form .row input { flex: 1 1 14rem; min-width: 0; }
.pod-form .row .btn { white-space: normal; max-width: 100%; }
.pod-form fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
.pod-ep { border-top: 1px solid var(--line); padding: 1.25rem 0 0.5rem; }
.pod-ep h3 { font-size: 1.1rem; margin: 0 0 0.35rem; line-height: 1.35; }
.pod-ep h3 a { color: inherit; }
.pod-pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.pod-pager a:only-child[rel="next"] { margin-left: auto; }
.pod-links, .pod-index { padding-left: 1.1rem; }
.pod-index li { margin-bottom: 0.9rem; }
@media (max-width: 560px) { .pod-head { flex-direction: column; } .pod-cover { width: 88px; height: 88px; } }
.cmp-wrap { overflow-x: auto; width: min(60rem, 100vw - 2rem); margin: 1rem 0 0.75rem; border: 1px solid var(--line); border-radius: 14px; }
.cmp { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: 0.95rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-weight: 600; background: var(--panel); }
.cmp tbody th { font-weight: 600; color: var(--muted); width: 16%; }

/* --- world catalog: /<lang>/explorar and /<lang>/mis-podcasts ------------------------- */
[hidden] { display: none !important; }
.nav-links a[aria-current="page"] { color: var(--paper); }
.explore-link { display: inline-block; margin-top: 0.85rem; font-size: 0.9375rem; font-weight: 500; color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.explore-link:hover { color: var(--paper); }
/* «Lo que escucha el mundo»: real podcasts from other countries, original name first. */
/* home «what the world listens to»: cover-led tiles, the host's face does the work (Mario 2026-11-13) */
.world { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .world { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 62rem) { .world { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.world-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); color: var(--paper); text-decoration: none; overflow: hidden; transition: border-color 0.2s ease, background 0.2s ease; }
.world-card:hover, .world-card:focus-visible { border-color: var(--line); background: var(--panel-2); }
.world-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--panel-2); transition: transform 0.4s ease; }
.world-card:hover img { transform: scale(1.03); }
.wc-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; flex: 1; padding: 0.75rem 0.85rem 0.9rem; }
.wc-country { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.world-card b { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.wc-hook { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.wc-flow { margin-top: auto; padding-top: 0.35rem; font-family: var(--mono); font-size: 0.6875rem; color: var(--amber); }
@media (prefers-reduced-motion: reduce) { .world-card img { transition: none; } .world-card:hover img { transform: none; } }

.page-head { padding: 3.5rem 0 2.25rem; max-width: 44rem; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; margin-bottom: 1rem; }
.page-head .lede { margin: 0; font-size: 1.125rem; }
:lang(zh) .page-head h1, :lang(ja) .page-head h1, :lang(hi) .page-head h1 { letter-spacing: 0; line-height: 1.2; }

.explore-layout { display: grid; gap: 2.5rem; align-items: start; }
.explore-layout > * { min-width: 0; }
@media (min-width: 62rem) { .explore-layout { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; } }

/* search */
.search { position: relative; display: block; margin-bottom: 2rem; }
.search input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3.1rem; font: inherit; color: var(--paper);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 1rem 0 2.75rem;
}
.search input:focus { border-color: #4a4a58; outline: none; box-shadow: 0 0 0 3px rgba(233, 180, 76, 0.25); }
.search input::-webkit-search-decoration { -webkit-appearance: none; }
.search-icon { position: absolute; left: 1rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5.2' fill='none' stroke='%23a09fb1' stroke-width='1.6'/%3E%3Cpath d='M11 11l3.5 3.5' stroke='%23a09fb1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.kicker { font: 400 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin: 0 0 0.85rem; }
.featured-row { margin-bottom: 2.75rem; }
/* Cover-led tiles (featured row + country lists, one system): the cover is the card, no box around it. */
.featured-band { margin-bottom: 3.5rem; }
.featured-band .featured-row { margin: 0; padding: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 2.5rem 1.25rem; }
.featured-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile-art { position: relative; margin-bottom: 0.9rem; }
.tile .art { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--panel-2); }
.tile .cover-tile { display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); font-weight: 700; font-size: 2rem; }
.tile-rank { position: absolute; top: 0.5rem; left: 0.5rem; min-width: 1.9rem; height: 1.9rem; padding: 0 0.55rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: rgba(6, 6, 9, 0.84); color: var(--paper); font: 400 0.8125rem var(--mono); }
.tile-rank.star { background: var(--amber); color: var(--amber-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tile-rank .st { font: 400 0.875rem var(--sans); margin-right: 0.25rem; }
.tile .name { font-weight: 600; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.tile .orig { margin-top: 0.15rem; color: var(--muted); font-size: 0.875rem; line-height: 1.35; overflow-wrap: anywhere; }
.tile .by { margin-top: 0.2rem; color: var(--dim); font-size: 0.875rem; line-height: 1.4; overflow-wrap: anywhere; }
.tile .hook { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.tile-foot { margin-top: auto; padding-top: 0.9rem; display: grid; justify-items: start; gap: 0.85rem; }
.tile-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { font-size: 0.75rem; line-height: 1.5; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.6rem; }
/* Skeleton tiles shipped in the page (template_explore.html): the final layout before the catalog loads. */
.sk .art, .sk-line, .sk-bar { display: block; background: var(--panel-2); border-radius: 10px; }
.sk .art { aspect-ratio: 1; }
.sk-line { height: 0.8rem; margin-top: 0.6rem; border-radius: 999px; }
.sk-line.short { width: 60%; }
.sk-bar { height: 3.1rem; margin-bottom: 2rem; }
.sk-bar.tabs-sk { height: 2.4rem; width: 70%; margin-bottom: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .sk .art, .sk-line, .sk-bar { animation: sk-pulse 1.4s ease-in-out infinite alternate; }
}
@keyframes sk-pulse { to { opacity: 0.55; } }
/* Phones and narrow tablets: the featured row scrolls sideways, the next cover peeking in. */
@media (max-width: 47.99rem) {
  .featured-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -1rem; padding: 0 1rem 0.25rem; scroll-padding-inline: 1rem; }
  .featured-tiles::-webkit-scrollbar { display: none; }
  .featured-tiles .tile { scroll-snap-align: start; }
  .tiles { gap: 2rem 1rem; }
}

/* continent tabs + country chips */
.tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 1.25rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { all: unset; box-sizing: border-box; cursor: pointer; white-space: nowrap; padding: 0.7rem 0 0.75rem; color: var(--muted); font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button:hover { color: var(--paper); }
.tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--amber); }
.tabs button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.countries { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.countries button { font: 500 0.9375rem var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer; }
.countries button:hover { color: var(--paper); border-color: #3a3a46; }
.countries button[aria-pressed="true"] { color: var(--paper); background: var(--panel-2); border-color: #5a5a68; }

/* podcast cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 0.6rem 1rem; padding: 0.75rem; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.card.ranked { grid-template-columns: 1.6rem 72px minmax(0, 1fr) auto; }
.card .rank { font: 400 0.9375rem var(--mono); color: var(--dim); text-align: right; }
.card .rank.star { color: var(--amber); }
.card .art { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--panel-2); }
.card .cover-tile { display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); font-weight: 700; font-size: 1.15rem; }
.card .info { display: grid; gap: 0.1rem; min-width: 0; }
.card .name { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card .by { color: var(--muted); font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta { color: var(--dim); font-size: 0.8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.card .orig { color: var(--muted); font-size: 0.875rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* «In Chinese · summary in Spanish»: the show's language, and that the summary comes in the reader's. */
.card .lang-note { color: var(--dim); font-size: 0.8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.card .blurb { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.compact .card { grid-template-columns: 72px minmax(0, 1fr); }
.compact .card > button { grid-column: 2; justify-self: start; }
@media (max-width: 40rem) {
  .card { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .card.ranked { grid-template-columns: 1.1rem 72px minmax(0, 1fr); }
  .card .rank { align-self: center; }
  .card > button { grid-column: 2; justify-self: start; }
  .card.ranked > button { grid-column: 3; }
}
.follow { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.4rem 1rem; font: 600 0.875rem var(--sans); white-space: nowrap; cursor: pointer; color: var(--paper); background: transparent; border: 1px solid #3a3a46; border-radius: 999px; }
.follow:hover { border-color: var(--paper); }
.follow[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.follow[aria-pressed="true"]::before { content: ""; width: 10px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1.2' fill='none' stroke='%231a1305' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 8px no-repeat; }
.follow[aria-pressed="true"]::before, .chips label:has(input:checked)::before { animation: tick-pop 0.22s cubic-bezier(.2,.7,.2,1); }
@keyframes tick-pop { from { transform: scale(0.4); opacity: 0; } }
.follow:disabled, .remove:disabled { opacity: 0.45; cursor: not-allowed; }
.results .none { color: var(--muted); margin: 0; }

/* any podcast: search the world / paste a link (add-podcast) */
.search + .addany-hint { margin: -1.25rem 0 2rem; color: var(--dim); }
.addany { margin-top: 1.5rem; padding: 1.25rem; background: var(--panel); border: 1px dashed #3a3a46; border-radius: var(--radius); }
.addany-lede { margin: 0 0 1rem; color: var(--muted); font-size: 0.9375rem; max-width: var(--measure); }
.addany .btn { white-space: normal; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
.addany-status { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.addany-status:empty, .addany .cards:empty { display: none; }
.addany .cards { margin-top: 1rem; }
.addany-no { color: var(--muted); font-size: 0.8125rem; line-height: 1.4; max-width: 15rem; }
@media (max-width: 40rem) { .card > .addany-no { grid-column: 2; max-width: none; } }

/* follow tray (signup) */
.tray { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; scroll-margin-top: 5rem; }
@media (min-width: 62rem) { .tray { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; } }
.tray h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; letter-spacing: -0.01em; margin: 0 0 1rem; }
.tray .count { font: 700 0.8125rem var(--sans); min-width: 1.6rem; height: 1.6rem; padding: 0 0.45rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--amber); color: var(--amber-ink); }
.tray-empty { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.tray-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tray-chips:empty { display: none; }
.tray-chip { display: inline-flex; align-items: center; gap: 0.25rem; max-width: 100%; border: 1px solid #3a3a46; background: var(--panel-2); border-radius: 999px; padding: 0.2rem 0.25rem 0.2rem 0.8rem; font-size: 0.875rem; }
.tray-chip .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tray-chip .x { all: unset; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.tray-chip .x:hover { background: var(--line); color: var(--paper); }
.tray-chip .x:focus-visible { outline: 2px solid var(--amber); }
.tray form#signup { max-width: none; }
.tray form#signup > * { min-width: 0; }
.tray .btn { white-space: normal; text-align: center; }
.tray .row input[type=email] { flex-basis: 100%; }
.hint { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.875rem; }
.tray-bar { position: fixed; z-index: 20; left: 1rem; right: 1rem; bottom: 1rem; max-width: 22rem; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.8rem 1.2rem; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); }
.tray-bar b { min-width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--amber-ink); color: var(--amber); font-size: 0.8125rem; }
@media (min-width: 62rem) { .tray-bar { display: none !important; } }
@media (max-width: 61.99rem) { main:has(.tray-bar) { padding-bottom: 4rem; } }

/* manage page */
.manage { min-height: 50vh; }
.manage > * { max-width: 52rem; }
.manage .page-head { padding-bottom: 1.75rem; }
.manage .lede { overflow-wrap: anywhere; }
.notice { display: grid; gap: 1.25rem; justify-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.notice p { margin: 0; color: var(--muted); }
.pending { border: 1px solid rgba(233, 180, 76, 0.55); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2rem; display: grid; gap: 1rem; justify-items: start; }
.pending h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin: 0; }
.pending .cards { width: 100%; }
.remove { min-height: 2.5rem; padding: 0.4rem 1rem; font-size: 0.875rem; border-radius: 999px; }
.manage-add { margin: 2rem 0 1.5rem; }
/* Leaving: the last podcast's «Remove» and «Unsubscribe from everything» share one panel. */
.leave { margin-top: 1.5rem; border-color: rgba(240, 138, 126, 0.45); }
.leave p { color: var(--paper); }
.leave-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.btn.danger { background: transparent; color: var(--error); border-color: rgba(240, 138, 126, 0.6); }
.btn.danger:hover { border-color: var(--error); background: rgba(240, 138, 126, 0.08); filter: none; }
.manage-leave { margin: 2.5rem 0 0; text-align: center; }
.error { color: var(--error); margin: 1rem 0 0; min-height: 1.4em; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 1.25rem; transform: translate(-50%, 8px); margin: 0; padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 0.9375rem; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
/* Suggestion of the reader's own language (signup.js), under the nav, near the switch. */
.lang-hint { position: absolute; z-index: 25; top: 5rem; left: 1rem; right: 1rem; max-width: 24rem; margin-left: auto; display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.5rem 0.65rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); color: var(--paper); font-size: 0.9375rem; line-height: 1.45; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); animation: hint-in 0.25s ease both; }
.lang-hint p { margin: 0; flex: 1; min-width: 0; }
.lang-hint a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang-hint a:hover { text-decoration: underline; }
.lang-hint button { flex: none; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.lang-hint button:hover, .lang-hint button:focus-visible { background: var(--line); color: var(--paper); }
@keyframes hint-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .lang-hint { animation: none; } }
.loading { display: flex; gap: 0.4rem; padding: 2rem 0; }
.loading i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.2s ease-in-out infinite; }
.loading i:nth-child(2) { animation-delay: 0.15s; }
.loading i:nth-child(3) { animation-delay: 0.3s; }

/* --- plans (2026-10-25): buy links, plan dialog, plan line in the tray and on the manage page --- */
.linkish { background: none; border: 0; padding: 0.25rem 0; font: 500 0.9375rem var(--sans); color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #4a4a58; cursor: pointer; }
.linkish:hover { color: var(--paper); text-decoration-color: var(--paper); }
.linkish.center { display: block; text-align: center; }
.plan .linkish.center { margin-top: -0.75rem; }
.paywall { width: min(40rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto; margin: auto; padding: 1.75rem;
  color: var(--paper); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.paywall::backdrop { background: rgba(6, 6, 9, 0.72); backdrop-filter: blur(3px); }
.paywall h2 { margin: 0 0 0.5rem; font-size: 1.375rem; letter-spacing: -0.01em; }
.paywall .sub { font-size: 1rem; margin-bottom: 1.25rem; }
.paywall .fine { margin-top: 0.75rem; }
.pw-plans { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .pw-plans { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.pw-plan { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.pw-plan.featured { border-color: rgba(233, 180, 76, 0.85); background: radial-gradient(120% 70% at 50% 0%, rgba(233, 180, 76, 0.12), transparent 60%); }
.pw-plan h3 { margin: 0; font-size: 1.0625rem; }
.pw-plan .desc { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.9375rem; flex: 1; }
.pw-plan .btn { white-space: normal; }
.pw-plan .linkish { align-self: center; }
.pw-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; margin-top: 1.25rem; }
.tray-plan { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.875rem; }
.tray-plan:empty { display: none; }
.manage-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.manage-plan:empty { display: none; }
.manage-plan > span { flex: 1 1 14rem; min-width: 0; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .follow[aria-pressed="true"]::before, .chips label:has(input:checked)::before { animation: none; }
  .reader iframe { transition: none; }
}

/* «The site knows it's me» (me.js, 2026-11-03): welcome-back bar under the nav, «Your plan» in the pricing
   table, «Not me» under Mis podcasts, the wait on /gracias-plan. */
.me-bar { border-bottom: 1px solid var(--line); background: var(--panel); }
.me-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.75rem 0; }
.me-bar p { flex: 1 1 16rem; min-width: 0; margin: 0; color: var(--paper); font-weight: 600; font-size: 0.9375rem; line-height: 1.45; }
.me-bar .btn { min-height: 2.5rem; padding-block: 0; }
.plan.mine:not(.featured) { border-color: #5a5a68; }
.me-out-line { margin: 2.5rem 0 0; text-align: center; }
.me-out-line:empty { display: none; }
[data-paid-state="wait"] .loading { justify-content: flex-start; margin: 1rem 0; }
/* Signed-in chip in the nav (Mario 2026-11-04: «la persona tiene que entender que está conectada»): initial with a
   green dot; the masked email beside it from 40rem. Replaces «Start free». */
.me-chip { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 0.25rem; border-radius: 999px; text-decoration: none; color: var(--paper); font-size: 0.875rem; font-weight: 600; }
.me-chip:hover .me-av { border-color: var(--amber); }
.me-av { position: relative; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid #5a5a68; background: var(--panel-2); color: var(--amber); font-size: 0.9375rem; }
.me-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); border: 2px solid #060609; }
.me-chip-t { display: none; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 40rem) { .me-chip { padding-right: 0.9rem; border: 1px solid var(--line); padding-left: 0.2rem; } .me-chip-t { display: inline; } }
.nav .wrap.me-on { gap: 0.75rem; }
.nav .wrap > .me-chip:last-child { margin-left: auto; }
.me-dot { display: inline-block; width: 8px; height: 8px; margin-right: 0.5rem; vertical-align: 0.1em; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 209, 168, 0.18); }
.me-bar b { font-weight: 600; }
.me-bar p span:last-child { color: var(--muted); font-weight: 500; }
.me-hero { display: grid; gap: 1rem; justify-items: start; margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.me-hero p { margin: 0; color: var(--paper); }
