/* 2.5.10 Streamit episode cards: readable overlay + Traditional Chinese season/episode labels. */
body.fgh-native-page .episode-nav-btn .nav-link{
  min-height:48px;padding:10px 20px;border:1px solid var(--fgh-line);border-radius:14px;
  background:var(--fgh-panel)!important;color:var(--fgh-ink)!important;font-size:16px;font-weight:700;box-shadow:none;
}
body.fgh-native-page .episode-nav-btn .nav-link.active{
  background:var(--fgh-button)!important;color:#30200e!important;border-color:#a57429!important;
  box-shadow:inset 0 1px 0 #fff5cf,0 4px 12px #8e5d2020;
}
body.fgh-native-page .episode-card{border-radius:16px;overflow:hidden}
body.fgh-native-page .episode-card .episode-image{position:relative;overflow:hidden;border-radius:16px;background:#111}
body.fgh-native-page .episode-card .episode-image>img{display:block;width:100%;height:100%;object-fit:cover}
body.fgh-native-page .episode-card .episode-image::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(5,5,5,.97) 0%,rgba(5,5,5,.86) 26%,rgba(5,5,5,.42) 54%,rgba(5,5,5,.10) 74%,transparent 100%);
}
body.fgh-native-page .episode-number-static{position:absolute;top:12px;left:12px;z-index:4}
body.fgh-native-page .episode-number-static .episode-number{
  display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 10px;
  border:1px solid #f1d28b;border-radius:999px;background:rgba(24,18,10,.92);color:#fff2ca!important;
  font-size:14px;font-weight:800;line-height:1.3;text-shadow:none!important;box-shadow:0 3px 10px rgba(0,0,0,.45);
  backdrop-filter:blur(5px);
}
body.fgh-native-page .episode-card .episode-detail{
  position:absolute;left:0;right:0;bottom:0;z-index:3;padding:18px 16px;background:transparent!important;color:#fff!important;
}
body.fgh-native-page .episode-card .episode-detail .ep_no,
body.fgh-native-page .episode-card .episode-detail .ep_no span,
body.fgh-native-page .episode-card .episode-detail .title,
body.fgh-native-page .episode-card .episode-detail h5{
  color:#fff7e8!important;opacity:1!important;text-shadow:0 1px 3px rgba(0,0,0,.95),0 2px 8px rgba(0,0,0,.65)!important;
}
body.fgh-native-page .episode-card .episode-detail .ep_no{margin-bottom:4px;font-size:14px;font-weight:800}
body.fgh-native-page .episode-card .episode-detail .title{font-size:18px;font-weight:800;line-height:1.45}
body.fgh-native-page .episode-time-duration{
  display:inline-flex!important;align-items:center;padding:3px 8px!important;border:1px solid rgba(255,225,159,.6)!important;
  border-radius:999px!important;background:rgba(18,14,9,.84)!important;color:#fff7e2!important;
  font-size:13px!important;font-weight:700!important;line-height:1.4;text-shadow:none!important;
}
body.fgh-native-page .episode-card .btn-primary{
  min-height:44px;padding:8px 15px;border:1px solid #e4b857!important;border-radius:12px;
  background:linear-gradient(120deg,#c78b32,#e2ad50)!important;color:#fff!important;font-weight:800;
  box-shadow:0 4px 12px rgba(0,0,0,.32);text-shadow:0 1px 2px rgba(0,0,0,.28);
}
body.fgh-native-page .episode-card:hover .btn-primary{filter:brightness(1.08)}
html[data-fgh-theme="light"] body.fgh-native-page .episode-section,
html[data-fgh-theme="dark"] body.fgh-native-page .episode-section{background:var(--fgh-bg);color:var(--fgh-ink)}
html[data-fgh-theme="dark"] body.fgh-native-page .episode-card .episode-detail *,
html[data-fgh-theme="light"] body.fgh-native-page .episode-card .episode-detail *{color:#fff7e8}
@media(max-width:680px){
  body.fgh-native-page .episode-nav-btn .nav-link{min-height:46px;padding:9px 16px;font-size:15px}
  body.fgh-native-page .episode-number-static{top:9px;left:9px}
  body.fgh-native-page .episode-number-static .episode-number{min-height:28px;padding:3px 8px;font-size:13px}
  body.fgh-native-page .episode-card .episode-detail{padding:14px 12px}
  body.fgh-native-page .episode-card .episode-detail .title{font-size:16px}
  body.fgh-native-page .episode-card .btn-primary{min-height:42px;padding:7px 12px;font-size:14px}
}