#theme-toggle {display:none}

/* ─────────────────────────────────────────────
   Reset
────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────
   Fonts
────────────────────────────────────────────── */
@font-face {
  font-family: 'Bubblegum Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bubblegumsans.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/opensans.woff') format('woff');
}

/* ─────────────────────────────────────────────
   Base
────────────────────────────────────────────── */
html, body {
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  color: #2b2b2b;
}

small {
  font-family: 'Open Sans', sans-serif;
}

body {
  padding-top: 0;
  transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: url('/images/site/topwave.png'), url('/images/site/geometry.png');
  background-repeat: no-repeat, repeat;
  background-position: top center, center center;
  background-attachment: scroll, fixed;
  background-size: 100%, 21%;
}

body.player-open {
  background-position-y: var(--player-height), center;
}

#player-title,
#player-podcast {
  text-decoration: none;
}

#player-title:hover,
#player-podcast:hover {
  text-decoration: underline;
}

#player-title {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a2e0f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#player-podcast {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 0.9rem;
  color: #6a5d2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────
   Typography
────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Bubblegum Sans', cursive;
  font-weight: normal;
  color: #111;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h1, .h1 { font-size: 2rem; }
h2, .h3 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1; }
h2 small {font-size: .8rem}
/* ─────────────────────────────────────────────
   Navigation
────────────────────────────────────────────── */
.site-nav {
  position: relative;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 0.75rem 1.5rem;
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  line-height: 1;
}

.nav-logo-img {
  height: 100px;
  width: auto;
  display: block;
  margin-top:15px
}

.nav-btns {
  display: flex;
  align-items: center;
  gap: 0;
}





/* ─────────────────────────────────────────────
   Shows
────────────────────────────────────────────── */
.shows-section {
  background-color: transparent;
  padding: 9rem 2rem 1.5rem;
}

.shows-inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* Podcast grid */
.podcast-grid {
  position: relative;
  list-style: none;
  padding: 0;
}

.podcast-grid .grid-item {
  width: calc((100% - (4 * 1rem)) / 5);
  margin: .4rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


.grid-item-broken {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  aspect-ratio: 1;
  border-radius: 10px;
  background-color: #2b2b2b;
  color: #aaa;
}

.grid-item-broken .placeholder {
  background-color: transparent;
  color: #777;
}

.broken-slug {
  font-size: 0.7rem;
  text-align: center;
  word-break: break-word;
  padding: 0 0.5rem;
  margin: 0;
}

.recent-card {
  display: flex;
  gap: 1rem;
  background: var(--sc-purple-light);
  padding: 1rem;
  border-radius: 12px;
  align-items: center;
  margin-bottom: 1.5rem;
}

.recent-thumb {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.recent-info {
  flex: 1;
}

.recent-label {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0 0 0.2rem;
}

.recent-title {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}


.filters {margin: 1rem 0 1.5rem 0}

.topic-filters {

  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 1rem 4rem 0 ;
  
}
.country-filter {
  background: #e8f7e8;
  border-color: #6bbf6b;
  color: #2f7a2f;
}

.country-filter.active {
  background: #2f7a2f;
  color: white;
}




.podcast-grid li a {
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: #ddd;
  transition: transform 0.15s, box-shadow 0.15s;
}

.podcast-grid li a:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.podcast-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c8cfe8;
  color: #4559b4;
  font-size: 2rem;
  font-weight: 900;
}

/* ─────────────────────────────────────────────
   Waves
────────────────────────────────────────────── */
.wave-down,
.wave-up {
  display: block;
  line-height: 0;
}

.wave-down svg,
.wave-up svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ─────────────────────────────────────────────
   Featured
────────────────────────────────────────────── */
.featured-section {
  background-color: #4559b4;
  padding: 0 2rem 3rem;
}

.featured-inner {
  max-width: 700px;
  margin: 0 auto;
}

.featured-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin: 0 0 1rem;
}

.featured-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.featured-art {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.featured-info h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.featured-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.featured-link {
  color: #ffcc66;
  font-size: 0.82rem;
  text-decoration: none;
}

.featured-link:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Promo
────────────────────────────────────────────── */
 .features-block {
    padding: 2rem 1rem;
  }

  .features-block .intro h1 {
    font-size: 1.3rem;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }


/* ─────────────────────────────────────────────
   Hero
────────────────────────────────────────────── */
.hero-section {
  padding: 13rem 2rem 0 1.5rem;
}

.hero-inner {
  display: flex;
  gap: 2.5rem;
  max-width: 1320px;
  margin: 0 auto 2rem;
  align-items: flex-start;
}

.hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 413px;
  padding-right: 200px;
  align-items: flex-start;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.breadcrumb a {
  color: #4559b4;
}

.description-section a {
  color: gold;
  font-size: 0.8rem;
  text-decoration: none;
}

.artwork {
  width: 413px;
  height: 413px;
  max-width: 413px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ─────────────────────────────────────────────
   Page
────────────────────────────────────────────── */
.page-wrap {
  background-color: transparent;
  /* min-height: 100vh; */
}

.page-wrap a:hover {
  text-decoration: underline;
}

a:any-link {
  text-decoration: none;
}

/* ─────────────────────────────────────────────
   Misc
────────────────────────────────────────────── */
/* waves */
.wave-top,
.wave-bottom,
.wave-foot {
  width: 100%;
  padding-top: 12%; /* controls height responsively */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  display: block;
  line-height: 0;
}


/* individual images + alignment */
.wave-top {
  background-image: url('/images/site/wave-top1.png');
}

.wave-bottom {
  background-image: url('/images/site/wave-mid-bottom.png');
  background-position: center bottom;
}

.wave-foot {
  background-image: url('/images/site/wavebottom.png');
  background-position: center bottom;
}

.orange-left-dash {
  border-left: 2px dashed #ff8a00;
  padding: 2rem 2rem 2rem 3rem;
  border-radius: 20px;
}

.site-footer {
  background-color: #4559b4;
  text-align: left;
  padding: 1.5rem 2rem;
}

.site-footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin: 0;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
}

hr {
  margin: 1rem 0;
  color: #ccc;
  background-color: currentColor;
  border: 1;
  opacity: 0.25;
}





/* ─────────────────────────────────────────────
   Latest episodes
────────────────────────────────────────────── */
.latest {
  max-width: 900px;
  margin: 0 auto;
  padding: 7rem 2rem 1.5rem;
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.episode {
  display: flex;
  gap: 1.5rem;
}

.thumb img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.info h2 a {
  text-decoration: none;
  color: inherit;
}

.author {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0 0 0.5rem;
}

.desc {
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* ─────────────────────────────────────────────
   Episode page
────────────────────────────────────────────── */
.ep-count-bar {
  max-width: 1320px;
  margin: 0 auto;
  text-align: right;
  font-size: 1.5rem;
  color: #2b2b2b;
  padding-bottom: 0.5rem;
  font-family: 'Bubblegum Sans', cursive;
}

.intro {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}





.meta-row {
  font-size: .9rem;
  margin: 1.8rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}



.meta-row span {
background: rgba(255,107,53,0.12);
border-radius: 999px;
padding: 0.15rem 0.65rem;
color: #FF6B35;
display: inline-block;
}

.quick-links {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.quick-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
}



/* Description section */
.description-section {
  background-color: #4559b4;
  padding: 0 2rem 3rem;
}

.description-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.description-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.description-left .episode-art {
  width: 80%;
  border-radius: 12px;
  display: block;
}

.episode-art {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.episode-title {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

.description-right {
  color: #fff;
}

.description-scroll-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
  padding-bottom: 0.5rem;
}

.description-section h2 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 1.25rem;
}

.description-body p {
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.description-meta, .disclaimer {
  font-size: 0.875rem;
  color: #ccc;
}

/* More episodes */
.more-section {
  background-color: transparent;
  padding: 2rem 2rem;
}

.more-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.more-section h2 {
  font-size: 1.1rem;
  color: #111;
  margin: 0 0 1.25rem;
}

.episode-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.episode-grid li a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
}

.episode-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  transition: opacity 0.15s;
}

.episode-grid li a:hover img { opacity: 0.8; }

.episode-grid span {
  font-size: 0.75rem;
  color: #333;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─────────────────────────────────────────────
   Podcast page
────────────────────────────────────────────── */
.hero-info .author {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1;
}

.description {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.hero-btns {
  margin-bottom: 1.25rem;
}

.quick-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ep-box {
  background-color: #ccc;
  border-radius: 6px;
  padding: 0.3rem;
}

.content-section {
  background-color: #4559b4;
  padding: 0 1rem 3rem;
}

.content-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.episode-list h2 {
  color: #fff;
  /*font-size: 1.2rem;*/
  margin: 0 0 1.5rem;
}

.episode-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.episode-list li {
  display: flex;
  gap: 1rem;
  position: relative;
}

.ep-thumb-col {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  display: flex;
  justify-content: center;
}

.ep-line {
  position: absolute;
  top: -1.25rem;
  bottom: -1.25rem;
  left: 50%;
  width: 3px;
  background-color: #fff;
  transform: translateX(-50%);
}

.episode-list li:first-child .ep-thumb-col .ep-line {
  top: 40px;
}

.episode-list li:last-child .ep-thumb-col .ep-line {
  bottom: calc(100% - 40px);
}

.ep-thumb-link {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.ep-thumb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.ep-row:hover .ep-thumb {
  transform: rotate(360deg);
  transition: transform 3s linear;
}

@keyframes spin-record {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ep-details {
  flex: 1;
  min-width: 0;
  margin: 0.5rem 0 1.25rem;
  padding: 0.75rem;
  background-color: rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: background-color 0.15s;
}

.ep-row:hover .ep-details {
  background-color: rgba(255,255,255,0.13);
}

.episode-list li:last-child .ep-details {
  margin-bottom: 0;
}

.ep-title {
  display: block;
  color: #ffcc66;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.ep-title:hover {
  text-decoration: underline;
}

.ep-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.35rem;
  display: flex;
  gap: 0.75rem;
}

.ep-snippet {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
  font-style: normal;
}

/* Sidebar */
.sidebar {
  position: relative;
  top: 80px;
}

.sidebar-card {
  background-color: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem;
  margin: 2rem 0 1rem 0;
}

.sidebar-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}

.sidebar-card-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.sidebar-card-body {
  font-size: .9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.sidebar-card-body a {
  color: #ffcc66;
  text-decoration: underline;
}



.about-row {
  font-size: .9rem;
  color: rgba(255,255,255,0.75);
  margin: 0.3rem 0;
}

.about-row strong {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.artwork,.latestimg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.podcast-grid li a:hover, .filter-btn:hover {
  animation: jiggle 0.4s ease-in-out;
  transform: scale(1.04);
}

#tab-favourites .podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

#tab-favourites .podcast-grid .grid-item {
  width: 100%;
  height: auto;
}

#tab-favourites .podcast-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.artwork:hover,.latestimg:hover {
  animation: jiggle 0.4s ease-in-out;
  transform: scale(1.06);
}

@keyframes jiggle {
  0%   { transform: rotate(0deg) scale(1.02); }
  25%  { transform: rotate(-2deg) scale(1.04); }
  50%  { transform: rotate(2deg) scale(1.05); }
  75%  { transform: rotate(-1deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1.06); }
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;

  background: #ffffff;
  border: 2px solid #e3d9ff;
  border-radius: 0.9rem;

  font-size: 1rem;
  font-weight: 500;
  color: #333;

  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #6a4df5;
  box-shadow: 0 0 0 3px rgba(106, 77, 245, 0.25);
}

.form-button {
  width: 100%;
  padding: 0.9rem 1rem;

  background: #6a4df5;
  color: white;

  border: none;
  border-radius: 0.9rem;

  font-size: 1.1rem;
  font-weight: 600;

  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.form-button:hover {
  background: #5a3de0;
}

.form-button:active {
  transform: scale(0.97);
}

.filter-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #4559b4;
  background: white;
  color: #4559b4;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4559b4;
  color: white;
  transform: rotate(4deg) scale(1.04);
}

.nav-btn,
.q-btn,
.play-btn,
.fav-btn,
.play-ep1-btn,
.logout-btn,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 20px;
  height: auto;

  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;

  border: none;
  border-radius: 999px;
  cursor: pointer;

  transition: transform 0.1s ease, opacity 0.15s ease;
  opacity: 0.85;
}

.nav-btn:hover,
.q-btn:hover,
.play-btn:hover,
.fav-btn:hover
.play-ep1-btn:hover,
.logout-btn:hover,
.random-art:hover
 {
  opacity: 1;
  animation: jiggle 0.4s ease-in-out;
  transform: scale(1.04);

}
.logout-btn {
  width: 100%
}

.play-btn,.play-ep1-btn {
  opacity: 1;
  background: #FF8A3D;
  box-Shadow: 0 6px 0 #D66F2F;
  color: #fff;
}

.play-btn:hover,.play-ep1-btn:hover {
  box-Shadow: 0 6px 0 #D66F2F;
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

/* Not favourited */
.fav-btn[data-favourited="false"],.fav-btn {
  opacity: 1;
  background: #ffd23f;
  box-Shadow: 0 6px 0 #D9A916;
  color: #fff;
}

/* Favourited */
.fav-btn[data-favourited="true"] {
  opacity: 1;
  background: #FF6FAE;
  box-Shadow: 0 6px 0 #D6558C;
  color: #fff;
}

/* Hover */
.fav-btn:hover {
  opacity: 1;
  animation: jiggle 0.4s ease-in-out;
  transform: scale(1.04);
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
}


.dash-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.dash-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease;
/*  opacity: 0.55; */
}

.dash-tab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.dash-tab:hover {
    animation: jiggle 0.4s ease-in-out;
  transform: scale(1.04);
}
.dash-tab:active {
  transform: translateY(2px);
}

.dash-tab.active {
  opacity: 1;
  transform: rotate(4deg) scale(1.04);
}

.dash-tab[data-tab="shows"] {
  background: #ffd23f;
  color: #fff;
  box-shadow: 0 4px 0 #d9a916;
  opacity: 1;
  margin: 5px;
}

.dash-tab[data-tab="dashboard"] {
  background: #ff6f59;
  color: #fff;
  box-shadow: 0 4px 0 #d9523f;
  opacity: 1;
  margin: 5px;
}

.dash-tab[data-tab="about"] {
  color:white;
  background: #4cc9f0;
  color: #fff;
  box-shadow: 0 4px 0 #2a9ec4;
  opacity: 1;
  margin: 5px;
}
.next-btn,
.prev-btn {
  background: #4cc9f0;
  color: #0b3c4f;
  box-shadow: 0 4px 0 #2a9ec4;
  opacity: 1;
  margin: 5px;
}
.dash-tab[data-tab="latest"] {
  background: #4cc9f0;
  color: #0b3c4f;
  box-shadow: 0 4px 0 #2a9ec4;
  opacity: 1;
  margin: 5px;
}
.dash-tab[data-tab="search"] {
  background: #4cc9f0;
  color: #0b3c4f;
  box-shadow: 0 4px 0 #2a9ec4;
  opacity: 1;
  margin: 5px;
}

.dash-tab[data-tab="history"] {
  background: #ffd23f;
  color: #fff;
  box-shadow: 0 4px 0 #d9a916;
}

.dash-tab[data-tab="favourites"] {
  background: #ff6f59;
  color: #fff;
  box-shadow: 0 4px 0 #d9523f;
}

.dash-tab[data-tab="account"] {
  background: #4cc9f0;
  color: #fff;
  box-shadow: 0 4px 0 #2a9ec4;
}

/* --- GLOBAL KID-FRIENDLY FORM STYLES --- */

form {
  background: var(--sc-purple-light, #f3e8ff);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 0 var(--sc-purple, #b388ff);
}

/* Label text */
form label {
  font-weight: 700;
  font-size: 1rem;
  color: #4a2ea8;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Inputs */
form input {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 3px solid #d3c2ff;
  background: white;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus {
  outline: none;
  border-color: #8a5bff;
  box-shadow: 0 0 0 3px rgba(138, 91, 255, 0.25);
}

/* Buttons (your existing play-ep1-btn will inherit this nicely) */
form button {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  background: #8a5bff;
  color: white;
  border: none;
  transition: transform 0.1s, background 0.2s;
}

form button:hover {
  background: #7548e6;
}

form button:active {
  transform: scale(0.96);
}

/* Auth messages */
.auth-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a2ea8;
  padding-top: 0.3rem;
}

/* ── Mobile-only About section, hidden on desktop ── */
.mobile-about-section {
  display: none;
}

.wave-mobile-about-bottom {
  display: none;
}
.just-mobile, .mobile-footer-nav {display:none}
/* ─────────────────────────────────────────────
   Responsive
────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ── Hero: big full-width artwork ── */
  body {background: none}
.nav-logo-img {
  height: 60px;
  margin-top:0;
}
.breadcrumb a, .hero-info .author {color: #e2e2e2}
.nav-btns a[data-tab="shows"],
  .nav-btns a[data-tab="about"],
  .nav-btns a[data-tab="latest"],
  .nav-btns a[data-tab="search"] {
    display: none;
  }

  .nav-btns {
    gap: 0;
  }
  .feature svg {
    width: 80px;
    height: 80px;
  }

  .feature h3 {
    font-size: 1rem;
  }

  .feature p {
    display: none;
  }
  .nav-btns .dash-tab svg {
    width: 18px;
    height: 18px;
  }
  .podcast-grid .grid-item {
    width: calc((100% - (2 * 0.6rem)) / 3);
    margin: 2px;
  }
  .shows-section {padding: 1rem 0 0 0}


.promo-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .promo-card p {
    display: none;
  }

  .promo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .promo-card h4 {
    font-size: 0.8rem;
    text-align: center;
  }

  .promo-section h2 {
    font-size: 1.3rem;
  }

  .promo-section {
    padding: 2rem 1rem;
  }
  .mobile-footer-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: #4559b4;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    padding: 0.5rem 0.25rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .mobile-meta-section {
    display: block;
    padding: 1.5rem 1rem;
  }

  .mobile-meta-inner {
    max-width: 1320px;
    margin: 0 auto;
    text-align:center;
  }
  .meta-row {display:block}
  .meta-row span {margin: .25rem;}
  .quick-links {border: 0;margin: 1rem 0;text-align: center;}
  .quick-links .nav-btns {text-align: center;display: block;}
  /* Hide the original hero copies on mobile, since the moved copies above now show */
  .hero-section .meta-row,
  .hero-section .quick-links {
    display: none;
  }
  .description-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .description-right {
    order: 1;
    border-left: none;
    border-radius: 0;
    padding: 0;
    margin-top: 1rem;
  }

  .description-left {
    order: 2;
    display: flex;
    flex-direction: row;
    text-align:center;
    align-items: center;
    gap: 1rem;
  }

  .description-left .episode-art {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .episode-title {
    margin: 0;
  }

  .footer-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: "Fredoka", system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .footer-tab svg {
    width: 22px;
    height: 22px;
  }

  .footer-tab:hover,
  .footer-tab:active {
    color: #ffd23f;
  }

  body {
    padding-bottom: 64px;
  }

  body.player-open {
    padding-bottom: calc(64px + var(--player-height, 0px));
  }


  .hero-section {
    padding: 1.5rem 1rem 1rem;
    background-color: #4559B4;
  }
  .site-nav {
        background-color: #4559B4;
  }

  .hero-inner {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #fff;
  }

  .artwork {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    aspect-ratio: 1;
  }

  .hero-info {
    height: auto;
    padding-right: 0;
    width: 100%;
    align-items: stretch;
    text-align: left;
  }

  .hero-info h1 {
    font-size: 1.6rem;
    color: #fff
  }


  /* ── Play + Favourite buttons: side by side, tighter padding ── */
  .hero-btns {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .hero-btns .play-btn,
  .hero-btns .fav-btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
    justify-content: center;
  }

  /* ── Episode count bar ── */
  .ep-count-bar {
    font-size: 1.1rem;
    padding: 0 0.5rem 0.5rem;
    color: #fff;
    background: #4958AE;
  }

  /* ── Reorder: sidebar above episode list ── */
  .content-inner {
    display: flex;
    flex-direction: column;
  }

  .content-inner > .sidebar {
    order: -1;
    position: static;
    display: flex;
    flex-direction: column;
  }

  .content-inner > .episode-list {
    order: 1;
  }

  /* Within the sidebar itself: About card first, rest follow after episode list visually */
  .sidebar .sidebar-card.about {
    order: -1;
  }

  .sidebar .sidebar-card.start-here {
    order: 2;
  }

  .sidebar .sidebar-card.quick-links {
    order: 3;
  }



  /* ── Episode rows: tighten spacing ── */
  .episode-list {
    padding: 0;
  }

  .ep-thumb-col {
    width: 56px;
  }

  .ep-thumb {
    width: 56px;
    height: 56px;
  }

  .ep-details {
    padding: 0.6rem;
  }

  .ep-meta {
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.68rem;
  }

  .ep-title {
    font-size: 0.92rem;
  }

  .ep-snippet {
    font-size: 0.82rem;
  }


  body.player-open {
    background-position-y: calc(740px + var(--player-height, 0px)), center;
  }



  .mobile-about-section {
    display: block;
    padding: 3rem 1rem 1.5rem;
  }

  .mobile-about-inner {
    max-width: 1320px;
    margin: 0 auto;
  }

  .mobile-about-inner .sidebar-card-label {
    color: rgba(0,0,0,0.4);
  }

  .about-row-dark {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.75);
    margin: 0.3rem 0;
  }

  .about-row-dark strong {
    color: rgba(0,0,0,0.5);
    font-weight: 600;
  }

  .mobile-topics {
    margin-top: 1rem;
  }

  .topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .topic-chip {
    background: #0d6efd;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
  }

  .wave-mobile-about-bottom {
    display: block;
    width: 100%;
    padding-top: 12%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
  background-image: url('/images/site/wave-top1.png');
  }

  /* Hide the original sidebar About card on mobile to avoid duplication */
  .sidebar .sidebar-card.about, .not-mobile {
    display: none;
  }
  .just-mobile {display: block;}
}