/* ==========================================================
   Ulduzlu Yol · Məstan — site styles
   ========================================================== */
:root {
  --blue: #2f7de1;
  --blue-deep: #0b5cc7;
  --sky: #8fd3ff;
  --sky-2: #c9ecff;
  --orange: #ff8a1f;
  --red: #e5484d;
  --yellow: #ffd23f;
  --yellow-soft: #fff1b8;
  --green: #3fb26b;
  --purple: #4b2f8f;
  --purple-2: #2a1a5e;
  --cream: #fff8ec;
  --ink: #1d2a4a;
  --ink-2: #4a5878;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 10px 0 rgba(29, 42, 74, .12);
  --head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .4em; }
button { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }
.center { text-align: center; margin-top: 40px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --edge: var(--blue-deep);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .7em 1.4em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--head); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--edge);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge); }
.btn svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.btn--sm { font-size: .95rem; padding: .5em 1.1em; box-shadow: 0 4px 0 var(--edge); }
.btn--lg { font-size: 1.25rem; padding: .75em 1.6em; }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --edge: #d9a400; }
.btn--white { --bg: #fff; --fg: var(--blue-deep); --edge: #9cc7ef; }
.btn--red { --bg: var(--red); --edge: #a92c31; }
.btn--blue { --bg: var(--blue); --edge: var(--blue-deep); }

.pill {
  display: inline-block; padding: .25em .9em; border-radius: 999px;
  font-family: var(--head); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  transform: rotate(-2deg);
}
.pill--blue { background: var(--sky-2); color: var(--blue-deep); }
.pill--yellow { background: var(--yellow); color: var(--ink); }
.pill--green { background: #d4f3df; color: #1d7a45; }
.pill--red { background: var(--red); color: #fff; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 0 rgba(29, 42, 74, .06);
}
.nav__inner {
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 800; font-size: 1.4rem;
  color: var(--ink); text-decoration: none;
}
.nav__brand img { width: 44px; height: 44px; transition: transform .4s; }
.nav__brand:hover img { transform: rotate(72deg) scale(1.1); }
.nav__brand--light { color: #fff; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--head); font-weight: 700; font-size: 1.1rem;
  padding: .35em .8em; border-radius: 999px;
  text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__link--blue:hover { background: var(--sky-2); color: var(--blue-deep); }
.nav__link--orange:hover { background: #ffe2bf; color: #b85a00; }
.nav__link--purple:hover { background: #e4dbff; color: var(--purple); }
.nav__link--green:hover { background: #d4f3df; color: #1d7a45; }
.nav__link--red:hover { background: #ffdcdd; color: #a92c31; }
.nav__menu .btn { margin-left: 10px; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border: 0; border-radius: 14px;
    background: var(--sky-2); cursor: pointer;
  }
  .nav__toggle span { width: 22px; height: 3px; border-radius: 2px; background: var(--blue-deep); transition: transform .25s, opacity .25s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 12px 16px 20px; background: #fff;
    box-shadow: 0 12px 24px rgba(29, 42, 74, .12);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav__menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { font-size: 1.25rem; padding: .5em .9em; }
  .nav__menu .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(860px, 100svh - 68px);
  display: flex; flex-direction: column;
  background: linear-gradient(#7cc8fb, #c4ecff 60%);
}
.hero__bg {
  position: absolute; inset: auto 0 0 0; height: 70%;
  background-size: cover; background-position: center bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 28%);
          mask-image: linear-gradient(transparent, #000 28%);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; width: 180px; height: 60px; border-radius: 60px; background: #fff; opacity: .9;
  animation: drift 40s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; top: -40px; left: 28px; }
.cloud::after { width: 60px; height: 60px; top: -26px; left: 92px; }
.cloud--1 { top: 12%; left: -10%; }
.cloud--2 { top: 24%; left: 40%; transform: scale(.7); animation-duration: 55s; animation-delay: -20s; }
.cloud--3 { top: 8%; left: 70%; transform: scale(.85); animation-duration: 48s; animation-delay: -35s; }
@keyframes drift { from { translate: -20vw 0; } to { translate: 120vw 0; } }

.hero__content {
  position: relative; z-index: 3; text-align: center;
  padding: 28px 16px 0;
}
.hero__logo {
  width: min(520px, 82vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 8px 0 rgba(11, 92, 199, .25));
  animation: pop .8s cubic-bezier(.34, 1.56, .64, 1) both;
}
.hero__tag {
  font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--ink); margin: 4px auto 18px; max-width: 40ch;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .7);
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.js-song[aria-pressed="true"] { --bg: var(--blue); --fg: #fff; --edge: var(--blue-deep); }
.js-song[aria-pressed="true"] svg { animation: wiggle .5s ease-in-out infinite alternate; }

.hero__cast {
  position: relative; z-index: 3; margin-top: auto;
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(0px, 1.5vw, 24px);
  padding: 0 16px 56px;
}
.cast {
  position: relative; background: none; border: 0; padding: 0; cursor: pointer;
  transform-origin: bottom center;
  animation: idle 3.2s ease-in-out infinite;
}
.cast img { width: 100%; height: auto; filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .15)); }
.cast--ata    { width: clamp(60px, 12vw, 165px); animation-delay: -.4s; }
.cast--mercan { width: clamp(72px, 15vw, 200px); animation-delay: -1.2s; }
.cast--mestan { width: clamp(66px, 13vw, 175px); animation-delay: -2s; }
.cast--iris   { width: clamp(52px, 10vw, 135px); animation-delay: -2.6s; }
.cast.is-jump { animation: jump .6s cubic-bezier(.34, 1.56, .64, 1); }
.cast:focus-visible { outline: 4px dashed var(--yellow); outline-offset: 6px; border-radius: 20px; }
.bubble {
  position: absolute; bottom: 100%; left: 50%; translate: -50% -6px;
  white-space: nowrap; pointer-events: none;
  background: #fff; color: var(--ink);
  font-family: var(--head); font-weight: 800; font-size: clamp(.9rem, 1.6vw, 1.15rem);
  padding: .4em .9em; border-radius: 18px;
  box-shadow: 0 4px 0 rgba(29, 42, 74, .15);
  animation: bubble 2.2s ease forwards;
}
.bubble::after {
  content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0;
  border: 9px solid transparent; border-top-color: #fff;
}

@keyframes idle { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.02, .98); } }
@keyframes jump { 0% { transform: translateY(0) scale(1.05, .9); } 40% { transform: translateY(-38px) scale(.95, 1.06); } 100% { transform: translateY(0); } }
@keyframes pop { from { transform: scale(.4) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wiggle { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes bubble { 0% { opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: scale(1.05); } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

/* ---------- waves ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 70px; z-index: 4; pointer-events: none; }
.wave path { fill: var(--cream); }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; }
.wave--purple path { fill: var(--purple); }
.wave--cream path { fill: var(--cream); }
.wave--yellow path { fill: var(--yellow-soft); }
.section--blue > .wave--top path { fill: var(--cream); }

/* ---------- sections ---------- */
.section { position: relative; padding: 80px 0 80px; }
.section:has(> .wave--bottom) { padding-bottom: 130px; }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue); color: #fff; padding-top: 130px; }
.section--purple { background: var(--purple); color: #fff; padding-top: 60px; }
.section--yellow { background: var(--yellow-soft); padding-top: 130px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 10px; }
.section__head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.section__head--light p { color: rgba(255, 255, 255, .88); }
.section__head--light h2 { color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }

/* ---------- episodes ---------- */
.episodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.ep {
  position: relative; background: #fff; border-radius: var(--radius); overflow: visible;
  box-shadow: var(--shadow); border: 3px solid #fff;
  transition: transform .25s;
}
.ep:hover { transform: translateY(-6px) rotate(-.6deg); }
.ep__thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0;
  background: var(--sky-2);
}
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ep:hover .ep__thumb img { transform: scale(1.06); }
.ep__play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow);
  box-shadow: 0 5px 0 #d9a400; transition: transform .2s;
}
.ep__play svg { width: 36px; height: 36px; fill: var(--ink); margin-left: 4px; }
.ep:hover .ep__play { transform: scale(1.12); }
.ep__body { padding: 20px 24px 26px; }
.ep__num { font-family: var(--head); font-weight: 800; color: var(--blue); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.ep__body h3 { font-size: 1.6rem; margin: 4px 0 8px; }
.ep__body p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.sticker {
  position: absolute; z-index: 3; top: -14px; right: -10px;
  background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.1rem;
  padding: .3em .9em; border-radius: 999px; transform: rotate(8deg);
  box-shadow: 0 4px 0 #a92c31; animation: wiggle 1.4s ease-in-out infinite alternate;
}
.sticker--orange { background: var(--orange); box-shadow: 0 4px 0 #b85a00; }
.ep__thumb--soon {
  cursor: default; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #ffe2bf 0 22px, #ffd3a3 22px 44px);
}
.ep__thumb--soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.92); transform: none !important; }
.ep__soon {
  position: absolute; font-family: var(--head); font-weight: 800; font-size: 1.9rem; color: #b85a00;
  background: #fff; padding: .1em .8em; border-radius: 18px; transform: rotate(-4deg);
  box-shadow: 0 5px 0 rgba(184, 90, 0, .25);
}
.ep--soon .ep__num { color: var(--orange); }

/* ---------- characters ---------- */
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) and (min-width: 601px) { .chars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .chars { grid-template-columns: 1fr 1fr; gap: 14px; }
  .char { padding: 14px 12px 16px; }
  .char__name { font-size: 1.3rem !important; }
  .char__role { font-size: .85rem; }
  .char::after { width: 28px; height: 28px; top: 10px; right: 10px; font-size: 1.2rem; }
}
.char {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 18px 22px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--c2); color: var(--ink);
  box-shadow: 0 8px 0 rgba(0, 0, 0, .18);
  transition: transform .25s;
}
.char:hover { transform: translateY(-6px) rotate(1deg); }
.char:nth-child(even):hover { transform: translateY(-6px) rotate(-1deg); }
.char:focus-visible { outline: 4px dashed var(--yellow); outline-offset: 4px; }
.char__img {
  width: 100%; aspect-ratio: 1; display: grid; place-items: end center;
  border-radius: 50%; background: radial-gradient(circle at 50% 60%, #fff 0 58%, transparent 59%);
  margin-bottom: 10px;
}
.char__img img { height: 92%; width: auto; object-fit: contain; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.char:hover .char__img img { transform: translateY(-8px) scale(1.06); }
.char__name { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--c); line-height: 1.1; }
.char__role { font-weight: 800; font-size: .95rem; color: var(--ink-2); }
.char__bio {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  font-size: .98rem; color: var(--ink); opacity: 0;
  transition: grid-template-rows .35s, opacity .35s, margin .35s;
}
.char__bio > span { min-height: 0; overflow: hidden; }
.char[aria-expanded="true"] .char__bio { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.char::after {
  content: "+"; position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: #fff; font-weight: 800; font-size: 1.4rem; line-height: 1;
  transition: transform .3s;
}
.char[aria-expanded="true"]::after { transform: rotate(45deg); }

/* ---------- game ---------- */
.game {
  position: relative; max-width: 980px; margin: 0 auto;
  aspect-ratio: 5 / 2.4; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--yellow); box-shadow: 0 10px 0 rgba(0, 0, 0, .25);
  cursor: none; touch-action: none; user-select: none;
}
@media (max-width: 640px) { .game { aspect-ratio: 4 / 3.4; } }
.game__scene { position: absolute; inset: 0; background-size: cover; background-position: center; }
.game__dark {
  position: absolute; inset: 0; pointer-events: none;
  --x: 50%; --y: 50%; --r: 90px;
  background: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0 60%, rgba(5, 3, 20, .97) 100%);
}
.hide {
  position: absolute; border: 0; padding: 0; background: none; cursor: none;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.hide img { width: 100%; height: auto; pointer-events: none; }
.hide.is-found { transform: scale(1.2); z-index: 2; }
.hide.is-found::after {
  content: "✓"; position: absolute; top: -8px; right: -8px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1rem;
}
.hide--1 { width: 11%; left: 8%;  bottom: 6%; }
.hide--2 { width: 8%;  left: 78%; bottom: 10%; transform: rotate(6deg); }
.hide--3 { width: 7%;  left: 46%; top: 8%; }
.hide--4 { width: 6%;  left: 31%; bottom: 7%; }
.game__hud {
  position: absolute; z-index: 5; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.game__hud .btn { pointer-events: auto; cursor: pointer; }
.game__count {
  font-family: var(--head); font-weight: 800; font-size: 1.15rem;
  background: rgba(255, 255, 255, .95); color: var(--purple); padding: .25em .9em; border-radius: 999px;
}
.game__win {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px;
  background: rgba(42, 26, 94, .55); cursor: auto;
}
.game__win[hidden] { display: none; }
.game__win strong { font-family: var(--head); font-size: clamp(2.4rem, 7vw, 4rem); color: var(--yellow); text-shadow: 0 5px 0 rgba(0, 0, 0, .3); line-height: 1; animation: pop .6s cubic-bezier(.34, 1.56, .64, 1); }
.game__win span { font-weight: 800; font-size: 1.2rem; }
.game.is-won .game__dark { opacity: 0; transition: opacity .6s; }

/* ---------- episodes: partner badge ---------- */
.ep__partner {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 12px;
  border-radius: 16px; background: #eef7f0; border: 2px dashed #9fd8b1;
  font-size: .9rem; font-weight: 700; color: #1d6b3d; line-height: 1.3;
}
.ep__partner img { width: 40px; height: 40px; flex: none; }
.ep__partner a { color: inherit; }

/* ---------- studio: how it's made ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 760px)  { .steps { grid-template-columns: 1fr; max-width: 420px; gap: 18px; } }
.step {
  position: relative; min-width: 0; background: #fff; border-radius: var(--radius);
  padding: 14px 14px 20px; box-shadow: var(--shadow);
  transition: transform .25s;
}
.step:nth-child(odd):hover { transform: translateY(-6px) rotate(-1deg); }
.step:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.step__art {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.step__art > img { width: 100%; height: 100%; object-fit: cover; }
.step__art--script {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 18px; font-size: .95rem; line-height: 1.45; color: var(--ink);
  background: repeating-linear-gradient(#fff 0 22px, #dbe7fb 22px 23px);
  border: 2px solid #dbe7fb; transform: rotate(-1.5deg);
}
.step__art--script p { margin: 0 0 6px; }
.step__art--script i { color: var(--ink-2); }
.step__art--idea { position: relative; display: grid; place-items: end center; padding-top: 12px;
  background: radial-gradient(circle at 70% 30%, #fff6c4 0 22%, transparent 23%), color-mix(in srgb, var(--c) 16%, #fff); }
.step__art--idea img { height: 88%; width: auto; }
.idea { position: absolute; top: 10%; right: 24%; font-size: 2.6rem; animation: wiggle 1.2s ease-in-out infinite alternate; }
.step__num {
  position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff;
  font-family: var(--head); font-weight: 800; font-size: 1.3rem; box-shadow: 0 3px 0 rgba(0,0,0,.15);
}
.step h3 { font-size: 1.4rem; color: var(--c); margin: 0 4px 4px; }
.step p { margin: 0 4px; font-size: .95rem; color: var(--ink-2); }

/* ---------- ulduzlu yol ---------- */
.media { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
@media (max-width: 900px) { .media { grid-template-columns: 1fr; } }
.media__card--wide { grid-column: 1 / -1; }
.yt__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.yt__head h3 { margin: 0; }
.yt__search { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--yellow-soft); border: 2px solid var(--yellow); }
.yt__search input { border: 0; background: none; outline: none; font: inherit; font-size: 1rem; width: 200px; color: var(--ink); }
.yt { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .yt { grid-template-columns: 1fr; } }
.yt__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.yt__poster:hover img { transform: scale(1.04); }
.yt__poster:hover .ep__play { transform: scale(1.12); }
.yt__now { margin: 10px 4px 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.yt__list {
  list-style: none; margin: 0; padding: 0 6px 0 0; display: grid; gap: 8px;
  max-height: 460px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--yellow) transparent;
}
@media (max-width: 900px) { .yt__list { max-height: 380px; } }
.yt__list li[hidden] { display: none; }
.yt__item {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; width: 100%;
  padding: 6px; border: 0; border-radius: 16px; background: none; cursor: pointer; text-align: left;
  font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--ink); transition: background .15s;
}
.yt__item img { width: 120px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 10px; }
.yt__item:hover { background: var(--yellow-soft); }
.yt__item.is-active { background: var(--yellow); }
.media__card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.media__card h3 { font-size: 1.5rem; }
.ratio { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, var(--red), #ff7a59); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.yt-fallback .ep__play { position: static; }
.listen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 26px; align-items: center; }
@media (max-width: 900px) { .listen { grid-template-columns: 1fr; } }
.listen__info { text-align: center; padding: 6px 8px; }
.listen__info h3 { margin: 4px 0 8px; }
.listen__info p { margin: 0 auto; color: var(--ink-2); max-width: 34ch; }
.listen__art { position: relative; width: 140px; height: 150px; margin: 0 auto 6px; display: grid; place-items: end center;
  border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--sky-2) 0 62%, transparent 63%); }
.listen__art img { height: 138px; width: auto; max-width: none; }
.listen__art span { position: absolute; top: 0; right: 4px; font-size: 2.2rem; animation: wiggle 1.4s ease-in-out infinite alternate; }
.listen .platforms { justify-content: center; margin-top: 16px; }
.podcast { width: 100%; height: 400px; border: 0; border-radius: 18px; background: #fff; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.platforms a {
  font-family: var(--head); font-weight: 700; text-decoration: none;
  padding: .3em .9em; border-radius: 999px; background: var(--yellow-soft); color: var(--ink);
  border: 2px solid var(--yellow);
}
.platforms a:hover { background: var(--yellow); }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--blue-deep); color: #fff; padding: 120px 0 30px; overflow: hidden; }
.footer__peek {
  position: absolute; right: 4%; top: 30px; width: 110px; z-index: 5;
  transform: rotate(-8deg); transition: transform .3s;
}
.footer__peek:hover { transform: rotate(0) translateY(-10px); }
@media (max-width: 700px) { .footer__peek { width: 74px; top: 44px; } }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr; gap: 36px; }
.footer__grid .btn { margin-top: 4px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }
.footer p { color: rgba(255, 255, 255, .85); }
.footer h4 { font-size: 1.35rem; color: var(--yellow); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__links a { color: #fff; font-weight: 700; text-decoration: none; }
.footer__links a:hover { color: var(--yellow); }
.footer__copy { text-align: center; margin: 40px 0 0; font-size: .9rem; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(11, 30, 70, .8); backdrop-filter: blur(6px);
}
.modal[hidden] { display: none; }
.modal__box { width: min(1000px, 100%); background: var(--yellow); border-radius: var(--radius); padding: 10px 10px 12px; box-shadow: 0 12px 0 rgba(0, 0, 0, .3); animation: pop .4s cubic-bezier(.34, 1.56, .64, 1); }
.modal__bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 10px 14px; }
.modal__bar h3 { margin: 0; font-size: 1.4rem; }
.modal__close {
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.8rem; line-height: 1;
}

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