.podcast-studio :focus-visible:not(.share) { outline: 3px solid #a775e4; outline-offset: 4px; }
.podcast-hero-action { margin: 1.4rem 0 1.6rem; }
.podcast-hero-action .podcast-time { display: inline-block; color: var(--muted); font: 600 13px/1.4 system-ui,sans-serif; margin-left: .65rem; }
.podcast-enhanced .podcast-inline-audio { display: none; }
.podcast-enhanced .podcast-inline-action { display: block; }
.podcast-inline-action { display: none; margin: 0 0 .9rem; }
html.podcast-open { overflow: hidden; }
dialog.podcast-studio {
  --studio-text: #fcf8ff;
  --studio-muted: #e0d8e6;
  --studio-mint: #b8e3d7;
  --brand: var(--studio-mint);
  --studio-border: #e9d5ff38;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem,4vw,3.25rem);
  background:
    radial-gradient(circle at 1px 1px, #e8d8fb20 .75px, transparent 1.25px) 0 0 / 24px 24px,
    radial-gradient(ellipse at 94% 4%, #743f77 0%, transparent 55%),
    radial-gradient(ellipse at 94% 110%, #17404a 0%, transparent 56%),
    linear-gradient(136deg, #1a122b 12%, #211630 52%, #10222e 100%);
  color: var(--studio-text);
  color-scheme: dark;
  font: 400 1rem/1.55 system-ui,sans-serif;
}
dialog.podcast-studio[open] { animation: studio-in .38s cubic-bezier(.2,.8,.2,1) both; }
dialog.podcast-studio[open][data-closing] { animation: studio-out .23s ease-in both; }
.podcast-studio::backdrop { background: #100b1c; animation: studio-in .28s ease-out both; }
.podcast-studio[data-closing]::backdrop { animation: studio-out .23s ease-in both; }
@keyframes studio-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes studio-out { from { opacity: 1; } to { opacity: 0; } }
.studio-shell { width: min(1150px,100%); min-height: 100%; margin: auto; display: grid; grid-template-rows: auto 1fr; }
.studio-top { display: flex; justify-content: space-between; align-items: center; gap: .85rem; padding-bottom: 1.05rem; border-bottom: 1px solid var(--studio-border); }
.studio-signature { display: block; width: clamp(120px,20vw,220px); height: auto; }
.studio-kicker { margin: 0; color: var(--studio-mint); font-weight: 750; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; }
.studio-button, .studio-speed {
  padding: .65rem .85rem;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  font: 650 .9rem/1.3 system-ui,sans-serif;
  color: #fff;
  background: #f5e2ff14;
  cursor: pointer;
  white-space: nowrap;
}
.studio-button:hover { background: #f5e2ff2a; }
.studio-grid {
  align-self: center;
  display: grid;
  grid-template:
    "copy listen" auto
    "meta listen" auto / minmax(0,1.23fr) minmax(0,1fr);
  align-items: start;
  gap: 1.65rem clamp(1.6rem,5.5vw,5.15rem);
  padding-block: clamp(2.25rem,7vh,5.25rem);
}
.podcast-studio[open]:not([data-closing]) .studio-grid { animation: studio-reveal .55s cubic-bezier(.22,.85,.3,1) both; }
@keyframes studio-reveal { from { opacity: 0; transform: translateY(22px) scale(.986); } to { opacity: 1; transform: none; } }
.studio-copy { grid-area: copy; align-self: end; }
.studio-listen { grid-area: listen; align-self: center; min-width: 0; }
.studio-art { aspect-ratio: 16 / 9; margin: 0 0 .85rem; border-radius: 1rem; overflow: hidden; border: 1px solid var(--studio-border); box-shadow: 0 1.25rem 4rem #08061366; }
.studio-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-copy h2 { margin: .7rem 0 .65rem; color: var(--studio-text); font: 400 clamp(3rem,7.1vw,6.25rem)/.98 Georgia,serif; letter-spacing: -.055em; text-wrap: balance; }
.studio-copy .studio-subtitle { margin: 0 0 1.1rem; color: var(--studio-mint); font: italic 400 clamp(1.55rem,3.65vw,3.1rem)/1.13 Georgia,serif; letter-spacing: -.015em; text-wrap: balance; }
.studio-intro { margin: 0; max-width: 45ch; color: var(--studio-muted); line-height: 1.65; font-size: clamp(.98rem,1.4vw,1.11rem); }
.studio-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.studio-meta > div { flex: 1 1 0; min-inline-size: max-content; padding: .7rem .8rem; border: 1px solid var(--studio-border); border-radius: .85rem; background: #ddd7ff10; }
.studio-meta > div:first-child { flex-grow: 1.25; }
.studio-meta dt { color: var(--studio-mint); font-size: .68rem; font-weight: 750; letter-spacing: .125em; text-transform: uppercase; }
.studio-meta dd { margin: .25rem 0 0; color: var(--studio-text); font-size: .88rem; line-height: 1.35; white-space: nowrap; }
.studio-player { padding: clamp(.9rem,2.5vw,1.4rem); border-radius: 1rem; background: #171124b8; border: 1px solid var(--studio-border); }
.studio-wave { display: flex; align-items: center; justify-content: space-between; height: 50px; gap: 2px; margin: 0 0 .55rem; overflow: hidden; }
.studio-wave span { flex: 1 1 0; min-width: 2px; max-width: 5px; border-radius: 999px; height: var(--height); background: #e0bcff51; transition: background .2s; }
.studio-wave span[data-played] { background: #f0d4ff; }
.studio-seek { display: block; width: 100%; margin: .15rem 0 .25rem; cursor: pointer; accent-color: #e6beff; }
.studio-times { display: flex; justify-content: space-between; color: #decce9; font-size: .86rem; font-variant-numeric: tabular-nums; }
.studio-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.studio-play { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: 0; border: 0; border-radius: 50%; background: #ebceff; color: #241131; cursor: pointer; }
.studio-play:hover { background: #faf0ff; }
.studio-play svg { width: 21px; height: 21px; }
.studio-play [data-icon="pause"], .studio-play[data-playing] [data-icon="play"] { display: none; }
.studio-play[data-playing] [data-icon="pause"] { display: block; }
.studio-speed { max-width: 5rem; color: #fff; }
.studio-speed option { background: #241835; color: #fff; }
.studio-notice:empty { display: none; }
.studio-notice { margin: .7rem 0 0; color: #f6d6f7; }
.studio-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: .85rem 0 0; }
.studio-action { font-family: inherit; cursor: pointer; }
.studio-action:hover, .studio-action:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #121a1f;
  box-shadow: 0 6px 22px -8px #8fc0b08c;
}
@media (max-width: 760px) {
  .studio-grid { grid-template: "copy" auto "listen" auto "meta" auto / minmax(0,1fr); width: min(510px,100%); margin: 0 auto; gap: 1.35rem; padding-block: 1.8rem 1rem; }
  .studio-art { aspect-ratio: 2.35; }
  .studio-copy h2, .studio-copy .studio-subtitle { text-wrap: wrap; }
  .studio-copy .studio-subtitle { margin-bottom: .75rem; }
}
@media (max-width: 355px) {
  .studio-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .podcast-studio, .podcast-studio::backdrop, .podcast-studio .studio-grid { animation-duration: .01ms !important; }
  .studio-wave span { transition: none; }
}
