:root {
  --bg: #faf8f4;
  --surface: #f3efe8;
  --border: #e0d8cc;
  --olive: #7a8c6e;
  --sand: #c9b99a;
  --deep-blue: #2c3e5a;
  --gold: #b8975a;
  --gold-light: #d4b97a;
  --text: #3a3028;
  --text-muted: #8a7d70;
  --white: #fffdf9;
  --es: #7a8c6e;
  --de: #2c3e5a;
  --en: #b8975a;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Jost", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-weight: 300;
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  background: none;
  border: none;
  padding: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep-blue);
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.75;
}
.logo span {
  color: var(--gold);
}
nav {
  display: flex;
  gap: 0.25rem;
}
nav button {
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  transition: all 0.2s;
}
nav button:hover,
nav button.active {
  color: var(--deep-blue);
  background: var(--surface);
}
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 560px) {
  header {
    padding: 0 0.85rem;
  }
  .logo {
    font-size: 1.1rem;
  }
  nav {
    gap: 0;
  }
  nav button {
    font-size: 0.68rem;
    padding: 0.4rem 0.45rem;
  }
  .nav-icon-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* VIEWS */
.view {
  display: none;
}
.view.active {
  display: block;
}

/* HERO */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.day-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}
.hero-date {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--deep-blue);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.year-progress {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.reflection-box {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #3d5475 100%);
  color: #e8f0f8;
  border-radius: 8px;
  padding: 1.8rem 2.5rem;
  margin: 0 auto 1.5rem;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.reflection-box::before {
  content: '"';
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
  pointer-events: none;
}
.reflection-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reflection-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
}
.daily-phrase {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: left;
}

/* VITALITY (racha semanal) */
.vitality-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}
.vitality-plant {
  font-size: 2.75rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.vitality-plant.vitality-bump {
  animation: vitalityBump 0.5s;
}
@keyframes vitalityBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.25) rotate(-4deg); }
  100% { transform: scale(1) rotate(0); }
}
.vitality-info { flex: 1; min-width: 0; }
.vitality-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--deep-blue);
  margin-bottom: 0.4rem;
}
.vitality-days {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}
.vitality-day-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  color: var(--text-muted);
  background: var(--surface);
  flex-shrink: 0;
}
.vitality-day-dot.tier-1 {
  background: #d6e0cd;
  border-color: #c0cfb4;
  color: #5f6e54;
}
.vitality-day-dot.tier-2 {
  background: #a9bd9b;
  border-color: #93a884;
  color: white;
}
.vitality-day-dot.tier-3 {
  background: var(--olive);
  border-color: var(--olive);
  color: white;
  box-shadow: 0 0 0 3px rgba(184, 151, 90, 0.3);
  font-size: 0.72rem;
}
.vitality-day-dot.today:not(.tier-1):not(.tier-2):not(.tier-3) {
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 500;
}
.vitality-day-dot.future { opacity: 0.4; }
.vitality-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.vitality-today {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.vitality-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--deep-blue);
  font-family: "Jost", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.vitality-pill:hover {
  background: var(--olive);
  color: white;
  border-color: var(--olive);
}
@media (max-width: 480px) {
  .vitality-widget { flex-direction: column; text-align: center; }
  .vitality-days { justify-content: center; }
  .vitality-today { justify-content: center; }
}

/* SOURCE PAGE CHECK (Matutina / Reavivados / LES) */
/* CONFETTI BURST */
.confetti-spark {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: confettiBurst 0.7s ease-out forwards;
}
@keyframes confettiBurst {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.3); opacity: 0; }
}

/* COPY BUTTON */
.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.copy-btn:hover {
  color: var(--deep-blue);
  background: var(--surface);
}
.copy-btn.copied {
  color: var(--olive);
}
.copy-btn-reflection {
  color: rgba(255, 255, 255, 0.45);
  padding: 0.2rem;
}
.copy-btn-reflection:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 90, 0.08);
}
.card-header {
  padding: 1rem 1.4rem 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.card-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-likes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.like-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}
.like-btn:hover {
  transform: scale(1.2);
}
.like-btn.liked {
  animation: heartBeat 0.3s;
}
@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.1); }
}
.like-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 20px;
}
.card-es .lang-dot { background: var(--es); }
.card-de .lang-dot { background: var(--de); }
.card-en .lang-dot { background: var(--en); }
.card-es .card-header { border-top: 3px solid var(--es); }
.card-de .card-header { border-top: 3px solid var(--de); }
.card-en .card-header { border-top: 3px solid var(--en); }
.lang-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.card-es .lang-title { color: var(--es); }
.card-de .lang-title { color: var(--de); }
.card-en .lang-title { color: var(--en); }
.card-body {
  padding: 1.4rem 1.6rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text);
  min-height: 200px;
}

/* LESSON SECTIONS */
.lesson-section { margin-bottom: 1.15rem; }
.lesson-section:last-child { margin-bottom: 0; }
.ls-title {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
}
.card-es .ls-title { color: var(--es); border-color: #d0dcca; }
.card-de .ls-title { color: var(--de); border-color: #c4cdd8; }
.card-en .ls-title { color: var(--en); border-color: #dfd2bc; }
.ls-summary {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.97rem;
  line-height: 1.75;
}
.ls-vocab {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.ls-vocab li { font-size: 0.86rem; line-height: 1.5; }
.vw { font-weight: 500; color: var(--deep-blue); }
.vp { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }
.ls-sent {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ls-sent li {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.97rem;
  font-style: italic;
  padding-left: 0.9rem;
  border-left: 2px solid var(--border);
  line-height: 1.5;
}
.ls-q {
  list-style: none;
  counter-reset: q;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ls-q li {
  counter-increment: q;
  font-size: 0.86rem;
  display: flex;
  gap: 0.45rem;
}
.ls-q li::before {
  content: counter(q) ".";
  color: var(--text-muted);
  flex-shrink: 0;
  font-size: 0.78rem;
  padding-top: 0.08rem;
}
.ls-pronunc { font-size: 0.86rem; line-height: 1.65; white-space: pre-line; }
.ls-grammar {
  background: var(--surface);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.65;
}
.ls-grammar-ex {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--deep-blue);
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

/* EMPTY */
.empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.4rem;
  color: var(--text-muted);
  text-align: center;
  gap: 0.5rem;
  min-height: 200px;
}
.empty-card .icon { font-size: 2rem; opacity: 0.35; }
.empty-card p { font-size: 0.85rem; line-height: 1.6; }

/* STATUS */
.status-msg {
  text-align: center;
  padding: 0.75rem 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 600px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.status-msg.error {
  background: #fdf0ee;
  border: 1px solid #e8b4ae;
  color: #8b3a32;
}
.status-msg.info {
  background: #eef3f8;
  border: 1px solid #b4c8dc;
  color: #2c4a6a;
}

/* SOURCES SECTION */
.sources-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.sources-header {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--deep-blue);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sources-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.src-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.src-tab {
  background: none;
  border: 1px solid var(--border);
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 1.2rem;
  border-radius: 3px;
  transition: all 0.2s;
}
.src-tab.active {
  background: var(--deep-blue);
  color: white;
  border-color: var(--deep-blue);
}
.src-tab:hover:not(.active) {
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}
.lang-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.lang-tab {
  background: none;
  border: 1px solid var(--border);
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  transition: all 0.2s;
  color: var(--text-muted);
}
.lang-tab[data-lang="es"].active { background: var(--es); color: white; border-color: var(--es); }
.lang-tab[data-lang="en"].active { background: var(--en); color: white; border-color: var(--en); }
.lang-tab[data-lang="de"].active { background: var(--de); color: white; border-color: var(--de); }
.source-text-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--text);
  max-height: 520px;
  overflow-y: auto;
  white-space: pre-wrap;
  position: relative;
}
.source-text-empty {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
  font-family: "Jost", sans-serif;
  text-align: center;
  padding: 3rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SOURCE PAGES (Matutina / Reavivados / LES) */
.source-page-hero {
  text-align: center;
  padding: 3rem 2rem 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.source-page-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.6rem;
}
.source-page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--deep-blue);
  margin-bottom: 1.5rem;
}
.source-page-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1rem;
}
.source-credit {
  text-align: center;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 1.1rem;
}
.week-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.week-day-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.week-day-btn:hover:not(:disabled):not(.active) {
  border-color: var(--deep-blue);
  color: var(--deep-blue);
}
.week-day-btn.active {
  background: var(--deep-blue);
  color: white;
  border-color: var(--deep-blue);
}
.week-day-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.audio-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.55;
  line-height: 1;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.audio-btn:not(:disabled) {
  cursor: pointer;
  opacity: 1;
  color: var(--deep-blue);
  border-color: var(--deep-blue);
}
.audio-btn:not(:disabled):hover {
  background: var(--deep-blue);
  color: white;
}
.audio-btn.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: white;
}
.source-audio-player {
  max-width: 420px;
  margin: 0.9rem auto 0;
}
.source-audio-player .fd-player-controls {
  justify-content: center;
}
.source-page-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.source-page-text {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 2.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--text);
  white-space: pre-wrap;
  min-height: 50vh;
}
.source-page-text.is-dm { white-space: normal; }
.dm-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--deep-blue);
  margin-bottom: 1.2rem;
}
.dm-verse {
  font-style: italic;
  text-align: left;
  border-left: 3px solid #1a1a1a;
  padding-left: 1rem;
  margin: 0 0 1.5rem 0;
  color: var(--text-muted);
}
.source-page-text.is-dm p { text-align: justify; margin: 0 0 1.1rem 0; }

.source-page-text.is-les { white-space: normal; }
.source-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--deep-blue);
  margin-bottom: 0.3rem;
}
.source-date {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.les-section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin: 0 0 0.8rem 0;
}
.les-instruction {
  font-style: italic;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 0.8rem 1.1rem;
  margin: 0 0 1.3rem 0;
  color: var(--text);
}
.les-egw-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--olive);
  border-top: 1px solid var(--border);
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
}
.source-page-text.is-les p { text-align: justify; margin: 0 0 1.1rem 0; }

/* SUBRAYADO DE TEXTO (prototipo, solo localStorage) */
.fd-hl { border-radius: 2px; padding: 0 1px; cursor: pointer; }
.fd-hl-yellow { background: rgba(255, 213, 79, 0.55); }
.fd-hl-red { background: rgba(255, 107, 129, 0.4); }
.fd-hl-blue { background: rgba(74, 144, 217, 0.32); }
.fd-hl-green { background: rgba(102, 187, 106, 0.38); }
.fd-hl-toolbar {
  position: fixed;
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--text);
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 500;
  transform: translate(-50%, calc(-100% - 10px));
}
.fd-hl-toolbar.is-visible { display: flex; }
.fd-hl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, border-color 0.15s;
}
.fd-hl-dot:hover { border-color: #fff; transform: scale(1.12); }
.fd-hl-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,0.2); }
.fd-hl-remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.fd-hl-remove:hover { background: rgba(255,255,255,0.32); }

.page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--deep-blue);
  margin-bottom: 0.4rem;
}

/* PODCAST */
.podcast-hero {
  text-align: center;
  padding: 3.5rem 2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.podcast-hero .page-title { font-size: 2.4rem; }
.podcast-hero p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.ornament {
  text-align: center;
  color: var(--sand);
  font-size: 1.1rem;
  letter-spacing: 0.5rem;
  margin: 1.5rem 0;
}
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.ep-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ep-card:hover { box-shadow: 0 6px 24px rgba(44, 62, 90, 0.08); }
.ep-thumb {
  background: linear-gradient(135deg, var(--deep-blue), #3d5475);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.ep-thumb::before {
  content: "♪";
  position: absolute;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.06);
  bottom: -0.5rem;
  right: 0.5rem;
  line-height: 1;
}
.ep-num { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; }
.ep-title { font-family: "Cormorant Garamond", serif; font-size: 1.15rem; color: #e8f0f8; font-weight: 300; line-height: 1.35; }
.ep-body { padding: 1.1rem 1.3rem; }
.ep-date { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.ep-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.ep-audio { width: 100%; height: 38px; border-radius: 3px; accent-color: var(--olive); }
.fd-player { margin-bottom: 1rem; }
/* Oculto sin display:none (eso pausaría el audio al navegar entre pestañas) */
.audio-pool {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.fd-player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.fd-player-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;
}
.fd-player-btn:hover { border-color: var(--olive); color: var(--olive); }
.fd-player-btn.is-active { background: var(--olive); border-color: var(--olive); color: white; }
.fd-player-play { width: 40px; height: 40px; font-size: 0.95rem; }
.fd-player-speed { width: auto; padding: 0 0.65rem; border-radius: 17px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; }
.fd-player-seek-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fd-player-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  min-width: 2.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.fd-player-seek {
  flex: 1;
  width: 100%;
  height: 4px;
  accent-color: var(--olive);
  cursor: pointer;
}
/* RECOMENDADO (contenido de terceros, no propio) */
.recommended-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  text-align: center;
}
.recommended-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.9rem;
}
.rec-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.rec-author {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--deep-blue);
  text-decoration: none;
}
a.rec-author:hover {
  text-decoration: underline;
}
.rec-like-wrap {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 2;
}
.rec-like-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s;
  padding: 0;
}
.rec-like-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}
.rec-like-btn.liked {
  opacity: 1;
  animation: heartBeat 0.3s;
}
.rec-like-count {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
}
.recommended-footer {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.recommended-footer a {
  color: var(--olive);
  text-decoration: none;
}
.recommended-footer a:hover {
  text-decoration: underline;
}
.ep-placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  gap: 0.5rem;
  min-height: 200px;
}
.ep-placeholder .icon { font-size: 2rem; opacity: 0.3; }
.ep-placeholder p { font-size: 0.82rem; line-height: 1.5; }

/* ABOUT */
.about-wrap { max-width: 680px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.about-wrap h2 { font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: var(--deep-blue); margin-bottom: 1rem; }
.about-wrap p { margin-bottom: 1.2rem; line-height: 1.9; color: var(--text-muted); font-size: 0.92rem; }
.about-wrap h3 { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--text); margin: 2rem 0 0.5rem; }
.vitality-stages { display: flex; flex-direction: column; gap: 1.5rem; margin: 1rem 0 1.6rem; }
.vitality-stage-caption {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.src-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.src-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  transition: all 0.3s ease;
}
.src-list li:hover { border-color: var(--olive); box-shadow: 0 4px 12px rgba(122, 140, 110, 0.1); }
.src-link { display: block; padding: 0.75rem 1rem; color: inherit; text-decoration: none; transition: all 0.3s ease; }
.src-link:hover { color: var(--olive); }
.src-link strong { color: var(--deep-blue); display: block; margin-bottom: 0.15rem; }
.src-link::after { content: " →"; margin-left: 0.3rem; opacity: 0; transition: opacity 0.3s ease; color: var(--olive); }
.src-link:hover::after { opacity: 1; }

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
