
.ea-audio-host{
  grid-column:1/-1;
  width:100%;
  min-width:0;
  margin-top:26px;
  overflow:hidden;
}
.ea-audio-engine{
  --ea-gold:#d4af37;
  --ea-gold2:#f0d57a;
  --ea-red:#c80e1b;
  --ea-deep:#080909;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.44);
  border-radius:22px;
  background:
    radial-gradient(circle at 78% 15%,rgba(212,175,55,.055),transparent 30%),
    linear-gradient(145deg,#090b0b,#120203);
  box-shadow:0 22px 60px rgba(0,0,0,.36);
  color:#fff;
}
.ea-audio-engine *{box-sizing:border-box;min-width:0}
.ea-audio-engine-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:17px 21px;
  border-bottom:1px solid rgba(212,175,55,.22);
  background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.12));
}
.ea-audio-engine-head>div{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.ea-audio-eyebrow{
  color:var(--ea-gold);
  font-size:9px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.ea-audio-engine-head strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:20px;
  line-height:1.1;
}
.ea-audio-close{
  flex:0 0 38px;
  width:38px;height:38px;
  border:1px solid rgba(212,175,55,.55);
  border-radius:10px;
  background:#090909;
  color:#ff3252;
  font-size:20px;
  cursor:pointer;
}
.ea-audio-browse-toggle{display:none}
.ea-audio-layout{
  display:grid;
  grid-template-columns:minmax(230px,31%) minmax(0,69%);
  min-height:430px;
  width:100%;
}
.ea-audio-list-wrap{
  min-width:0;
  overflow:hidden;
  border-right:1px solid rgba(212,175,55,.18);
  background:linear-gradient(180deg,#060808,#050707);
}
.ea-audio-list{
  padding:16px;
  overflow-y:auto;
  overflow-x:hidden;
  max-height:560px;
}
.ea-audio-episode-card{
  width:100%;
  display:block;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  padding:15px 15px 14px;
  margin:0 0 10px;
  border:1px solid rgba(212,175,55,.26);
  border-radius:12px;
  background:linear-gradient(180deg,#0b0e0e,#080a0a);
  color:#fff;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,opacity .2s ease;
}
.ea-audio-episode-card:hover,
.ea-audio-episode-card.active{
  border-color:var(--ea-gold);
  background:linear-gradient(135deg,#17140c,#120305);
  transform:translateY(-2px);
}
.ea-audio-episode-card.is-unavailable{
  opacity:.54;
  border-style:dashed;
  filter:saturate(.65);
}
.ea-audio-episode-card.is-unavailable:hover{opacity:.72}
.ea-audio-episode-card span,
.ea-audio-episode-card small{display:block}
.ea-audio-episode-num{
  margin-bottom:6px;
  color:var(--ea-gold);
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.ea-audio-episode-card strong{
  display:block;
  color:#ff2a55;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  line-height:1.35;
}
.ea-audio-episode-card small{
  margin-top:8px;
  color:#aaa;
  font-size:8px;
  line-height:1.35;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.ea-audio-player{
  padding:28px 30px 25px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}
.ea-audio-now{
  margin-bottom:15px;
  color:var(--ea-gold);
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.ea-audio-current{
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:20px;
  align-items:center;
}
.ea-audio-cover{
  width:118px;height:118px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.45);
  background:radial-gradient(circle,#3a2303,#110202);
  display:grid;
  place-items:center;
  box-shadow:0 10px 28px rgba(0,0,0,.30);
}
.ea-audio-cover img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.ea-audio-cover-fallback{
  text-align:center;
  color:var(--ea-gold);
  font-size:18px;
  font-weight:900;
  line-height:1.05;
}
.ea-audio-current-num{
  color:var(--ea-gold);
  font-size:8px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.ea-audio-current-title{
  margin:5px 0 8px;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(24px,2.15vw,34px);
  line-height:1.08;
  overflow-wrap:anywhere;
}
.ea-audio-current-desc{
  max-width:760px;
  margin:0;
  color:#c8c8c8;
  font-size:11px;
  line-height:1.55;
}
.ea-audio-unavailable{
  margin:20px 0 0;
  padding:14px 16px;
  border:1px dashed rgba(212,175,55,.38);
  border-radius:11px;
  background:rgba(212,175,55,.035);
}
.ea-audio-unavailable strong,
.ea-audio-unavailable span{display:block}
.ea-audio-unavailable strong{
  color:var(--ea-gold2);
  font-size:11px;
}
.ea-audio-unavailable span{
  margin-top:4px;
  color:#aaa;
  font-size:9px;
}
.ea-audio-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:23px;
}
.ea-audio-controls button{
  width:44px;height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(212,175,55,.46);
  border-radius:50%;
  background:linear-gradient(180deg,#111414,#090b0b);
  color:#fff;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 6px 15px rgba(0,0,0,.18);
}
.ea-audio-controls .ea-audio-play{
  width:58px;height:58px;
  background:linear-gradient(180deg,#d81122,#840912);
  border-color:var(--ea-gold);
  font-size:17px;
  box-shadow:0 9px 22px rgba(0,0,0,.32),0 0 0 1px rgba(212,175,55,.08);
}
.ea-audio-controls button:hover{border-color:var(--ea-gold);transform:translateY(-1px)}
.ea-audio-controls.disabled,
.ea-audio-scrub.disabled,
.ea-audio-options.disabled{
  opacity:.35;
  pointer-events:none;
}
.ea-audio-scrub{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 40px;
  gap:10px;
  align-items:center;
  margin-top:18px;
  color:#aaa;
  font-size:8px;
}
.ea-audio-range,.ea-audio-volume{accent-color:var(--ea-gold)}
.ea-audio-range{width:100%}
.ea-audio-options{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  flex-wrap:wrap;
  margin-top:16px;
}
.ea-audio-options label{
  display:flex;
  align-items:center;
  gap:8px;
  color:#aaa;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.065em;
}
.ea-audio-speed{
  min-width:72px;
  border:1px solid rgba(212,175,55,.36);
  background:#080a0a;
  color:#fff;
  border-radius:8px;
  padding:7px 8px;
}
.ea-audio-volume{width:120px}
.ea-audio-transcript{
  display:inline-flex;
  align-self:center;
  margin-top:16px;
  color:var(--ea-gold)!important;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  text-decoration:none!important;
}
.ea-audio-open{align-items:start!important}
.ea-audio-launch{cursor:pointer}

/* Tablet */
@media(max-width:980px){
  .ea-audio-layout{grid-template-columns:minmax(210px,35%) minmax(0,65%)}
  .ea-audio-player{padding:24px 22px}
  .ea-audio-current{grid-template-columns:100px minmax(0,1fr);gap:16px}
  .ea-audio-cover{width:100px;height:100px}
}

/* Mobile listening-station mode */
@media(max-width:800px){
  .ea-audio-host{margin-top:18px}
  .ea-audio-engine{border-radius:16px}
  .ea-audio-engine-head{padding:13px 14px}
  .ea-audio-engine-head>div{gap:7px}
  .ea-audio-engine-head strong{font-size:16px}
  .ea-audio-eyebrow{font-size:8px}
  .ea-audio-browse-toggle{
    display:flex;
    width:calc(100% - 28px);
    min-height:42px;
    margin:13px 14px 0;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(212,175,55,.56);
    border-radius:999px;
    background:linear-gradient(180deg,#111414,#090a0a);
    color:#fff;
    font-size:9px;
    font-weight:900;
    letter-spacing:.075em;
    text-transform:uppercase;
    cursor:pointer;
  }
  .ea-audio-layout{
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  .ea-audio-list-wrap{
    order:2;
    max-height:0;
    overflow:hidden;
    border-right:0;
    border-top:0;
    transition:max-height .28s ease;
  }
  .ea-audio-browse-open .ea-audio-list-wrap{
    max-height:360px;
    border-top:1px solid rgba(212,175,55,.18);
  }
  .ea-audio-list{
    display:flex;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    max-height:none;
    padding:12px;
    scrollbar-width:thin;
  }
  .ea-audio-episode-card{
    flex:0 0 220px;
    margin:0;
    padding:13px;
  }
  .ea-audio-player{
    order:1;
    padding:20px 15px 18px;
  }
  .ea-audio-current{
    grid-template-columns:84px minmax(0,1fr);
    gap:13px;
  }
  .ea-audio-cover{
    width:84px;height:84px;
    border-radius:12px;
  }
  .ea-audio-current-title{
    font-size:20px;
  }
  .ea-audio-current-desc{
    font-size:10px;
    line-height:1.5;
  }
  .ea-audio-controls{
    margin-top:19px;
    gap:7px;
  }
  .ea-audio-controls button{
    width:40px;height:40px;
  }
  .ea-audio-controls .ea-audio-play{
    width:52px;height:52px;
  }
  .ea-audio-options{
    gap:12px;
  }
}
@media(max-width:480px){
  .ea-audio-player{padding:17px 12px 16px}
  .ea-audio-current{grid-template-columns:68px minmax(0,1fr);gap:11px}
  .ea-audio-cover{width:68px;height:68px}
  .ea-audio-current-title{font-size:17px}
  .ea-audio-current-desc{font-size:9px}
  .ea-audio-controls{gap:5px}
  .ea-audio-controls button{width:36px;height:36px;font-size:9px}
  .ea-audio-controls .ea-audio-play{width:48px;height:48px}
  .ea-audio-scrub{grid-template-columns:34px minmax(0,1fr) 34px;gap:6px}
  .ea-audio-volume{width:90px}
}
@media(prefers-reduced-motion:reduce){
  .ea-audio-episode-card,
  .ea-audio-list-wrap,
  .ea-audio-controls button{transition:none!important}
}


/* v1.2.1 — Episode browser + skip-control precision refinement */

/* Keep desktop archive clean; Browse Episodes is mobile-only regardless of theme/button rules. */
@media(min-width:801px){
  .ea-audio-engine .ea-audio-browse-toggle{
    display:none!important;
  }
}

/* Left archive browser: cleaner hierarchy and safer text wrapping. */
.ea-audio-engine .ea-audio-list-wrap{
  background:
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 20%),
    linear-gradient(180deg,#070909,#050707);
}
.ea-audio-engine .ea-audio-list{
  padding:18px 16px 20px;
}
.ea-audio-engine .ea-audio-episode-card{
  position:relative;
  overflow:hidden;
  padding:16px 16px 15px;
  border-radius:12px;
}
.ea-audio-engine .ea-audio-episode-card.active:before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,#ff274a,#a90817);
}
.ea-audio-engine .ea-audio-episode-card strong{
  max-width:100%;
  color:#f2395b;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  line-height:1.42;
  font-weight:700;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto;
}
.ea-audio-engine .ea-audio-episode-card small{
  margin-top:9px;
  line-height:1.35;
}
.ea-audio-engine .ea-audio-episode-card.is-unavailable strong{
  color:#8f6e76;
}
.ea-audio-engine .ea-audio-episode-card.is-unavailable{
  opacity:.58;
}

/* Give the episode browser enough room to breathe without stealing the player. */
@media(min-width:981px){
  .ea-audio-engine .ea-audio-layout{
    grid-template-columns:minmax(255px,32%) minmax(0,68%);
  }
}
@media(min-width:801px) and (max-width:980px){
  .ea-audio-engine .ea-audio-layout{
    grid-template-columns:minmax(230px,36%) minmax(0,64%);
  }
}

/* Precision-centred transport controls. */
.ea-audio-engine .ea-audio-controls button{
  position:relative;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:middle!important;
  font-family:Arial,Helvetica,sans-serif;
}
.ea-audio-engine .ea-audio-controls button[data-action="back"],
.ea-audio-engine .ea-audio-controls button[data-action="forward"]{
  width:46px;
  height:46px;
}
.ea-audio-engine .ea-audio-skip-label{
  position:absolute;
  left:50%;
  top:50%;
  display:block;
  width:max-content;
  margin:0;
  padding:0;
  transform:translate(-50%,-50%);
  line-height:1;
  font-size:12px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.025em;
  white-space:nowrap;
  pointer-events:none;
}

/* Keep player button visually centred as well. */
.ea-audio-engine .ea-audio-play{
  padding:0!important;
  line-height:1!important;
}

/* Mobile: catalog remains secondary and cards are comfortably readable. */
@media(max-width:800px){
  .ea-audio-engine .ea-audio-browse-toggle{
    display:flex!important;
  }
  .ea-audio-engine .ea-audio-list{
    padding:12px;
  }
  .ea-audio-engine .ea-audio-episode-card{
    flex-basis:235px;
    padding:14px 14px 13px;
  }
  .ea-audio-engine .ea-audio-episode-card strong{
    font-size:12px;
    line-height:1.4;
  }
  .ea-audio-engine .ea-audio-controls button[data-action="back"],
  .ea-audio-engine .ea-audio-controls button[data-action="forward"]{
    width:40px;
    height:40px;
  }
  .ea-audio-engine .ea-audio-skip-label{
    font-size:11px;
  }
}
@media(max-width:480px){
  .ea-audio-engine .ea-audio-controls button[data-action="back"],
  .ea-audio-engine .ea-audio-controls button[data-action="forward"]{
    width:36px;
    height:36px;
  }
  .ea-audio-engine .ea-audio-skip-label{
    font-size:10px;
  }
}
