/* Episode-only presentation. Native player/Core contracts remain intact. */
body.sh-body .sh-episode { --episode-line:#e8e4db; --episode-muted:#64737a; width:min(1280px,calc(100% - 64px)); padding:32px 0 76px; color:#0b2632; }
.sh-episode *, .sh-episode *::before, .sh-episode *::after { box-sizing:border-box; }
.sh-episode svg { width:20px; height:20px; flex:0 0 20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.sh-episode a { text-decoration:none; }
.sh-episode :is(a,button,summary,input):focus-visible { outline:3px solid #c29a47; outline-offset:4px; }
.sh-episode__breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:var(--episode-muted); font-size:12px; line-height:1.8; margin-bottom:28px; }
.sh-episode__breadcrumbs a:hover { color:#956e24; }
.sh-episode__breadcrumbs > span { color:#bbb8af; }
.sh-episode__header { max-width:980px; margin:0 0 32px; }
.sh-episode__eyebrow { display:flex; align-items:center; gap:14px; margin-bottom:14px; color:#88651e; font-size:12px; font-weight:500; }
.sh-episode__badge { padding:5px 12px; background:#eee6d2; border:1px solid #e4d5b3; border-radius:6px; color:#785a21; }
body.sh-body .sh-episode__header h1 { max-width:950px; margin:0; color:#0a2531; font-size:clamp(25px,2.3vw,38px); font-weight:600; line-height:1.55; letter-spacing:0; text-wrap:pretty; }
.sh-episode__summary { max-width:920px; margin:14px 0 0; font-size:16px; line-height:1.9; color:#5c6c74; }
.sh-episode__meta { display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center; margin-top:20px; font-size:12px; color:#64737a; }
.sh-episode__meta > :is(a,span) { display:inline-flex; align-items:center; gap:7px; }
.sh-episode__meta > a { color:#243f49; }
.sh-episode__meta svg { width:17px; height:17px; flex-basis:17px; color:#aa8740; }
.sh-episode__watch-grid,.sh-episode__body-grid { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:24px; }
.sh-episode__watch-grid.has-chapters,.sh-episode__body-grid { grid-template-columns:minmax(0,1fr) 308px; }
.sh-episode__watch,.sh-episode__description,.sh-episode__info { min-width:0; }
body.sh-body .sh-episode .amx-media-player { overflow:hidden; border:1px solid #213a45; border-radius:16px; background:#06131a; box-shadow:0 12px 34px #081f2a16; }
.sh-episode .amx-player__stage { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; isolation:isolate; }
.sh-episode .amx-player__video { display:block; width:100%; height:100%; object-fit:contain; background:#02080c; }
body.sh-body .sh-episode .amx-player__controls { position:absolute; z-index:5; inset:auto 0 0; display:flex; flex-direction:column; gap:4px; padding:34px 16px 8px; color:#fff; background:linear-gradient(transparent,#020a10ed); opacity:0; pointer-events:none; transition:opacity .18s; direction:ltr; }
.sh-episode .amx-player__controls[hidden] { display:none !important; }
body.sh-body .sh-episode .is-controls-visible .amx-player__controls,.sh-episode .amx-player__controls:focus-within { opacity:1; pointer-events:auto; }
.sh-episode .amx-player__timeline-wrap { width:100%; height:22px; display:flex; align-items:center; }
body.sh-body .sh-episode .amx-player__timeline { width:100%; height:22px; margin:0; padding:0; background:transparent; border:0; cursor:pointer; appearance:none; -webkit-appearance:none; accent-color:#d9b45f; }
.sh-episode .amx-player__timeline::-webkit-slider-runnable-track { height:4px; border-radius:4px; background:linear-gradient(to right,#d9b45f var(--amx-progress,0%),#ffffff4d var(--amx-progress,0%)); }
.sh-episode .amx-player__timeline::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:12px; height:12px; margin-top:-4px; border:0; border-radius:50%; background:#e4c67e; box-shadow:0 0 0 3px #0002; }
.sh-episode .amx-player__timeline::-moz-range-track { height:4px; background:#ffffff4d; border-radius:4px; }
.sh-episode .amx-player__timeline::-moz-range-progress { height:4px; background:#d9b45f; }
.sh-episode .amx-player__timeline::-moz-range-thumb { width:12px; height:12px; border:0; border-radius:50%; background:#e4c67e; }
body.sh-body .sh-episode .amx-player__control-row { display:flex; align-items:center; gap:4px; width:100%; }
body.sh-body .sh-episode .amx-player__control { display:inline-flex; align-items:center; justify-content:center; padding:0; width:40px; min-width:40px; height:40px; min-height:40px; color:#fff; background:transparent; border:0; border-radius:6px; font-size:12px; cursor:pointer; }
body.sh-body .sh-episode .amx-player__control:hover { color:#e4c67e; background:#ffffff12; }
body.sh-body .sh-episode .amx-player__control svg { display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; }
.sh-episode .amx-player__control [data-player-icon='play'] { fill:currentColor; stroke:none; }
.sh-episode .amx-player__control [hidden],.sh-episode .amx-player__caption-toggle[hidden] { display:none !important; }
.sh-episode .amx-player__time,.sh-episode .amx-player__time-separator { color:#f5f2ea; font:11px/1.3 var(--sh-font); white-space:nowrap; font-variant-numeric:tabular-nums; }
.sh-episode .amx-player__control-spacer { flex:1; }
.sh-episode__play { position:absolute; inset:50% auto auto 50%; z-index:3; display:grid; place-items:center; width:66px; height:66px; transform:translate(-50%,-50%); border:1px solid #f0d898; border-radius:50%; background:#081f2adb; color:#edd08a; box-shadow:0 0 0 8px #081f2a35; cursor:pointer; transition:background .2s,opacity .2s; }
.sh-episode__play svg { width:24px; height:24px; fill:currentColor; stroke:none; }
.sh-episode__play[hidden] { display:none; }
.sh-episode__play:hover { background:#b28a3c; color:#fff; }
.sh-episode .amx-player__loading { position:absolute; z-index:6; inset:0; display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:center; background:#07192377; font-size:13px; }
.sh-episode .amx-player__spinner { width:34px; height:34px; border:3px solid #ffffff40; border-top-color:#d9b45f; border-radius:50%; animation:episode-spin .7s linear infinite; }
.sh-episode .amx-player__error { position:absolute; z-index:7; inset:50% 20px auto; padding:16px; background:#081f2af2; border:1px solid #d9b45f80; border-radius:10px; color:#fff; font-size:14px; text-align:center; }
.sh-episode .amx-player__loading[hidden],.sh-episode .amx-player__error[hidden],.sh-episode .amx-player__resume[hidden] { display:none; }
.sh-episode .amx-player__resume { display:flex; flex-wrap:wrap; gap:10px; padding:16px; align-items:center; background:#102a36; font-size:13px; }
.sh-episode .amx-player__resume p { flex:1; margin:0; }
.sh-episode .amx-player__resume button { padding:8px 12px; color:#f0d898; background:transparent; border:1px solid #c4a55d80; border-radius:6px; cursor:pointer; }
body.sh-body .sh-episode .amx-engagement { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:8px; padding:12px 0 0; margin:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
body.sh-body .sh-episode .amx-engagement-item { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:42px; padding:8px 12px; font:12px/1.6 var(--sh-font); color:#3d535d; background:#fff; border:1px solid var(--episode-line); border-radius:8px; cursor:pointer; }
.sh-episode .amx-engagement-item > [data-count] { color:#718087; font-size:11px; }
.sh-episode .amx-engagement-item:not(button) { background:transparent; border-color:transparent; padding-inline-start:0; cursor:default; }
body.sh-body .sh-episode .amx-engagement-item:hover,body.sh-body .sh-episode .amx-engagement-item.is-active { color:#785a21; background:#f5ecd7; border-color:#d9c08b; }
.sh-episode .amx-engagement-item:not(button):hover { background:transparent; border-color:transparent; }
.sh-episode .amx-engagement-icon { display:flex; width:17px; height:17px; }
body.sh-body .sh-episode .amx-engagement-icon svg { width:17px; height:17px; fill:none; stroke:currentColor; }
.sh-episode__chapters { overflow:hidden; background:#fff; border:1px solid var(--episode-line); border-radius:14px; box-shadow:0 3px 14px #07192304; }
.sh-episode__chapters summary { display:flex; align-items:center; gap:10px; padding:16px 18px 10px; color:#0b2632; cursor:pointer; list-style:none; }
.sh-episode__chapters summary::-webkit-details-marker { display:none; }
.sh-episode__chapters summary > span:first-child { display:flex; align-items:center; gap:8px; font-size:16px; font-weight:600; flex:1; }
.sh-episode__chapters summary > span:first-child svg { color:#aa8740; }
.sh-episode__chapter-count { display:grid; place-items:center; width:27px; height:27px; font-size:11px; color:#876422; background:#f4ecd9; border-radius:50%; }
.sh-episode__chevron { transition:transform .18s; }
.sh-episode__chapters[open] .sh-episode__chevron { transform:rotate(180deg); }
.sh-episode__chapter-hint { margin:0 18px 12px; color:#718087; font-size:11px; }
body.sh-body .sh-episode .amx-player__chapters { padding:10px; margin:0; background:#fff; border:0; color:#0b2632; }
.sh-episode [data-episode-chapters-target] .amx-player__chapters { padding-top:0; }
.sh-episode [data-episode-chapters-target] .amx-player__chapters > h2 { display:none; }
.sh-episode .amx-player__chapters h2 { padding:10px; margin:0; font-size:16px; }
.sh-episode .amx-player__chapters ol { margin:0; padding:0; list-style:none; display:grid; gap:3px; max-height:430px; overflow:auto; scrollbar-width:thin; scrollbar-color:#cec8bb transparent; overscroll-behavior:contain; }
.sh-episode .amx-player__chapters li { margin:0; padding:0; }
.sh-episode .amx-player__chapters button { display:flex; align-items:start; gap:11px; width:100%; min-height:48px; margin:0; padding:11px 9px; border:1px solid transparent; border-radius:7px; background:transparent; color:#314c57; font:12px/1.7 var(--sh-font); text-align:start; cursor:pointer; }
.sh-episode .amx-player__chapters time { min-width:40px; flex:0 0 40px; padding-top:1px; color:#987329; font-size:11px; direction:ltr; font-variant-numeric:tabular-nums; }
.sh-episode .amx-player__chapters button:hover { background:#f7f5ef; color:#122e39; }
.sh-episode .amx-player__chapters button.is-active { background:#f6edda; border-color:#e7d5ad; color:#785a21; font-weight:500; }
.sh-episode__body-grid { margin-top:28px; }
.sh-episode__description { padding:30px 34px; border:1px solid var(--episode-line); background:#fff; border-radius:14px; }
.sh-episode__section-kicker { color:#987329; font-size:11px; }
body.sh-body .sh-episode__description > h2 { margin:4px 0 22px; font-size:22px; font-weight:600; }
.sh-episode__content { font-size:16px; line-height:2; color:#3c515c; }
.sh-episode__content :is(p,div) { margin-block:0 18px; }
.sh-episode__content > div:has(> br:only-child) { display:none; }
.sh-episode__content > :last-child { margin-bottom:0; }
.sh-episode__content :is(h2,h3,h4) { margin-block:26px 14px; color:#102e39; }
.sh-episode__content :is(img,video,iframe) { max-width:100%; }
.sh-episode__content a { color:#876422; text-decoration:underline; }
.sh-episode__guests { border-top:1px solid var(--episode-line); margin-top:24px; padding-top:16px; }
.sh-episode__guests h3 { font-size:17px; margin:0 0 8px; }
.sh-episode__guests p { font-size:15px; margin:0; }
.sh-episode__info { padding:22px; background:#f3f1eb; border:1px solid var(--episode-line); border-radius:14px; }
.sh-episode__presenter { display:flex; gap:13px; align-items:center; padding-bottom:20px; margin-bottom:18px; border-bottom:1px solid #dedace; }
.sh-episode__portrait { display:grid; place-items:center; width:58px; height:58px; flex:0 0 58px; overflow:hidden; border-radius:50%; color:#a88744; background:#e7e0d0; }
.sh-episode__portrait img { width:100%; height:100%; object-fit:cover; }
.sh-episode__presenter > div > span,.sh-episode__series > span { color:#718087; font-size:11px; }
body.sh-body .sh-episode__presenter h2 { font-size:15px; margin:2px 0 5px; line-height:1.6; }
.sh-episode__text-link { display:inline-flex; align-items:center; gap:8px; color:#97722a; font-size:11px; }
.sh-episode__series { padding-bottom:18px; }
.sh-episode__series > :is(span,a) { display:block; }
.sh-episode__series > a { font-size:13px; color:#14313d; line-height:1.8; margin-top:4px; }
body.sh-body .sh-episode__info > h3 { margin:0 0 8px; font-size:14px; }
.sh-episode__facts { margin:0; font-size:12px; }
.sh-episode__facts > div { display:flex; align-items:baseline; gap:12px; justify-content:space-between; padding-block:9px; border-bottom:1px solid #e4e0d6; }
.sh-episode__facts dt { color:#718087; }
.sh-episode__facts dd { margin:0; color:#2f4954; text-align:end; }
.sh-episode__browse { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:20px; padding:11px 14px; border:1px solid #c4ad79; border-radius:7px; color:#785a21; font-size:12px; }
.sh-episode__browse:hover { background:#eae1cb; }
.sh-episode__related { margin-top:44px; }
body.sh-body .sh-episode .amx-media-player.is-fullscreen { width:100%; height:100%; border:0; border-radius:0; box-shadow:none; }
.sh-episode .amx-media-player.is-fullscreen .amx-player__stage { width:100%; height:100%; aspect-ratio:auto; }
.sh-episode .amx-media-player.is-fullscreen .amx-player__chapters,.sh-episode .amx-media-player.is-fullscreen .amx-player__resume { display:none; }
[dir='ltr'] .sh-episode__text-link > span,[dir='ltr'] .sh-episode__browse > span { transform:scaleX(-1); }
@keyframes episode-spin { to { transform:rotate(360deg); } }
@media (max-width:1080px) {
  .sh-episode__watch-grid.has-chapters,.sh-episode__body-grid { grid-template-columns:minmax(0,1fr) 280px; gap:18px; }
  .sh-episode .amx-player__chapters ol { max-height:340px; }
  .sh-episode__description { padding:25px; }
}
@media (max-width:860px) {
  body.sh-body .sh-episode { width:min(720px,calc(100% - 36px)); padding:24px 0 50px; }
  .sh-episode__watch-grid.has-chapters,.sh-episode__body-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .sh-episode__breadcrumbs { margin-bottom:20px; font-size:11px; }
  .sh-episode__header { margin-bottom:24px; }
  .sh-episode__summary { font-size:14px; line-height:1.9; }
  .sh-episode__meta { gap:10px 15px; font-size:11px; margin-top:14px; }
  .sh-episode .amx-player__chapters ol { max-height:320px; }
  .sh-episode__info { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
  .sh-episode__presenter,.sh-episode__info > h3,.sh-episode__facts,.sh-episode__browse { grid-column:1/-1; }
  .sh-episode__chapter-hint { margin-bottom:10px; }
}
@media (max-width:480px) {
  body.sh-body .sh-episode { width:calc(100% - 28px); padding-top:20px; }
  body.sh-body .sh-episode__header h1 { font-size:25px; line-height:1.6; }
  .sh-episode__breadcrumbs { gap:6px; }
  .sh-episode__breadcrumbs a:last-child { max-width:100%; }
  .sh-episode__eyebrow { gap:10px; font-size:11px; }
  .sh-episode__summary { font-size:14px; }
  body.sh-body .sh-episode .amx-player__controls { padding:27px 8px 4px; gap:0; }
  body.sh-body .sh-episode .amx-player__control { width:34px; min-width:34px; height:38px; min-height:38px; }
  body.sh-body .sh-episode .amx-player__control svg { width:18px; height:18px; }
  .sh-episode .amx-player__time { font-size:10px; }
  .sh-episode__play { width:52px; height:52px; }
  body.sh-body .sh-episode .amx-engagement { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
  body.sh-body .sh-episode .amx-engagement-item { padding:8px 5px; gap:5px; flex-wrap:wrap; font-size:10px; }
  .sh-episode .amx-engagement-icon { width:15px; height:15px; }
  .sh-episode .amx-engagement-label { flex-basis:100%; font-size:10px; text-align:center; }
  .sh-episode__description { padding:22px 20px; }
  .sh-episode__content { font-size:15px; line-height:2; }
  body.sh-body .sh-episode__description > h2 { font-size:21px; margin-bottom:16px; }
  .sh-episode__chapters summary { padding:14px 16px; }
  .sh-episode__body-grid { margin-top:20px; }
  .sh-episode__info { padding:20px; }
}
@media (prefers-reduced-motion:reduce) { .sh-episode *,.sh-episode *::before,.sh-episode *::after { scroll-behavior:auto !important; transition:none !important; } }
