/* ===================================================================
   OG NETWORK — the film player (embeds and watch pages). Everything
   lives under .ogp so it can sit inside any page.
   =================================================================== */
.ogp {
  position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; color: #fff;
  font-family: "Amazon Ember", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; outline: none;
  -webkit-tap-highlight-color: transparent; container-type: inline-size; isolation: isolate;
}
.ogp *, .ogp *::before, .ogp *::after { box-sizing: border-box; }
:where(.ogp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:where(.ogp) a { color: inherit; text-decoration: none; }
:where(.ogp) svg { display: block; }
.ogp:focus-visible { box-shadow: inset 0 0 0 2px #cbb682; }
.ogp button:focus-visible, .ogp a:focus-visible, .ogp [tabindex]:focus-visible { outline: 2px solid #cbb682; outline-offset: 2px; }

.ogp-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ogp-cover {
  position: absolute; inset: 0; background: #14110d center / cover no-repeat; transition: opacity .45s ease;
}
.ogp-live .ogp-cover { opacity: 0; pointer-events: none; }
.ogp .ogp-cover.ogp-cover-back { opacity: 1; }
.ogp-shade {
  position: absolute; inset: 0; pointer-events: none; transition: opacity .3s ease;
  background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 58%, rgba(0,0,0,.78) 100%);
}

/* ---- the top: brand, title, share ---- */
.ogp-top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 14px; transition: opacity .3s ease, transform .3s ease;
}
.ogp-brand { flex: none; display: block; }
.ogp-brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.ogp-tt { min-width: 0; flex: 1; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
.ogp-tt b { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ogp-tt span { display: block; margin-top: 2px; font-size: 12.5px; color: #e9dbbd; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ogp-topshare { flex: none; }

/* ---- big play ---- */
.ogp-big {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px; padding: 13px 26px 13px 16px; border-radius: 999px;
  background: #cbb682 !important; color: #15120d !important; font-weight: 800 !important; font-size: 18px !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.5); transition: transform .18s ease, background .18s ease;
}
.ogp-big i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(21,18,13,.12); }
.ogp-big svg { width: 22px; height: 22px; margin-left: 2px; }
.ogp-big:hover { transform: translate(-50%, -50%) scale(1.04); background: #d9c796 !important; }
.ogp-started .ogp-big { display: none; }

/* ---- spinner ---- */
.ogp-spin { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.ogp-spin[hidden] { display: none; }
.ogp-spin i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(203,182,130,.25); border-top-color: #cbb682; animation: ogp-spin .8s linear infinite; }
@keyframes ogp-spin { to { transform: rotate(360deg); } }

/* ---- the control bar ---- */
.ogp-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 10px 6px;
  transition: opacity .3s ease, transform .3s ease;
}
.ogp:not(.ogp-started) .ogp-bar { display: none; }
.ogp-scrub { position: relative; height: 20px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px; }
.ogp-track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.26); transition: height .15s ease; }
.ogp-scrub:hover .ogp-track, .ogp-scrubbing .ogp-track { height: 6px; }
.ogp-buf, .ogp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; width: 0; }
.ogp-buf { background: rgba(255,255,255,.34); }
.ogp-fill { background: #cbb682; }
.ogp-marks { position: absolute; inset: 0; pointer-events: none; }
.ogp-marks i { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #f4c84c; border-radius: 1px; }
.ogp-knob {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #e9dbbd; box-shadow: 0 0 0 3px rgba(203,182,130,.35); transform: scale(0); transition: transform .15s ease; pointer-events: none;
}
.ogp-scrub:hover .ogp-knob, .ogp-scrubbing .ogp-knob, .ogp-scrub:focus-visible .ogp-knob { transform: scale(1); }
.ogp-tip {
  position: absolute; bottom: 22px; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px;
  background: rgba(10,9,7,.88); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none;
}
.ogp-tip[hidden] { display: none; }
.ogp-ctl { display: flex; align-items: center; gap: 2px; height: 44px; }
.ogp-ic { flex: none; width: 40px; height: 40px; display: grid !important; place-items: center; border-radius: 10px; color: #fff; opacity: .92; transition: background .15s ease, opacity .15s ease; }
.ogp-ic:hover { background: rgba(255,255,255,.1); opacity: 1; }
.ogp-ic[hidden] { display: none !important; }
.ogp-ic svg { width: 24px; height: 24px; }
.ogp-ic.on { color: #cbb682; }
.ogp-vol { display: flex; align-items: center; }
.ogp-volr { width: 0; opacity: 0; margin: 0; accent-color: #cbb682; transition: width .2s ease, opacity .2s ease, margin .2s ease; cursor: pointer; }
.ogp-vol:hover .ogp-volr, .ogp-volr:focus-visible { width: 76px; opacity: 1; margin: 0 6px 0 2px; }
.ogp-time { margin-left: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #f2ecdf; }
.ogp-time i { font-style: normal; opacity: .6; }
.ogp-flex { flex: 1; min-width: 4px; }
.ogp-wm { flex: none; display: grid; place-items: center; height: 40px; padding: 0 6px; opacity: .92; }
.ogp-wm img { height: 24px; width: auto; }
.ogp-wm:hover { opacity: 1; }

/* idle: the picture alone */
.ogp-live.ogp-idle .ogp-bar, .ogp-live.ogp-idle .ogp-top { opacity: 0; transform: translateY(6px); pointer-events: none; }
.ogp-live.ogp-idle .ogp-top { transform: translateY(-6px); }
.ogp-live.ogp-idle .ogp-shade { opacity: 0; }
.ogp-live.ogp-idle { cursor: none; }

/* ---- ad breaks ---- */
.ogp-adpill {
  position: absolute; left: 14px; bottom: 74px; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(8,7,6,.78); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; pointer-events: none;
}
.ogp-adpill[hidden] { display: none; }
.ogp-adpill b { padding: 3px 8px; border-radius: 999px; background: #f4c84c; color: #15120d; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ogp-adpill span { font-variant-numeric: tabular-nums; }
.ogp-adpill em { font-style: normal; color: #d9cfb8; }
.ogp-inad .ogp-skip { opacity: .3; pointer-events: none; }
.ogp-inad .ogp-scrub { cursor: default; }
.ogp-inad .ogp-knob, .ogp-inad .ogp-tip { display: none; }
.ogp-live.ogp-idle .ogp-adpill { bottom: 16px; }

/* ---- sound ---- */
.ogp-unmute {
  position: absolute; right: 12px; top: 58px; z-index: 3; display: flex !important; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: #cbb682 !important; color: #15120d !important; font-weight: 800 !important; font-size: 14px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.ogp-unmute[hidden] { display: none !important; }
.ogp-unmute svg { width: 20px; height: 20px; }

/* ---- episodes (embedded series) ---- */
.ogp-eps {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; width: min(360px, 88%); overflow: auto; overscroll-behavior: contain;
  background: rgba(16,14,11,.97); border-left: 1px solid rgba(203,182,130,.2); padding: 6px 8px 12px;
}
.ogp-eps[hidden] { display: none; }
.ogp-eps-h { position: sticky; top: -6px; display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 8px 8px; background: rgba(16,14,11,.97); }
.ogp-eps-h b { font-size: 15px; }
.ogp-eps-s { margin: 10px 8px 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a99b79; }
.ogp-ep { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 6px !important; border-radius: 10px; text-align: left; }
.ogp-ep:hover { background: rgba(255,255,255,.06) !important; }
.ogp-ep.on { background: rgba(203,182,130,.16) !important; }
.ogp-ep img, .ogp-ep-ph { flex: none; width: 96px; height: 54px; border-radius: 6px; object-fit: cover; background: #241e15; }
.ogp-ep span { min-width: 0; }
.ogp-ep b { display: block; font-size: 13.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogp-ep small { display: block; margin-top: 3px; font-size: 12px; color: #a99b79; }

/* ---- the end, and errors ---- */
.ogp-end, .ogp-err {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center; background: rgba(10,9,7,.8);
}
.ogp-end[hidden], .ogp-err[hidden] { display: none; }
.ogp-end-k { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cbb682; }
.ogp-end-h { max-width: 90%; font-size: clamp(18px, 4.2cqw, 28px); font-weight: 800; line-height: 1.2; }
.ogp-end-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.ogp-err p { max-width: 90%; font-size: 16px; font-weight: 700; line-height: 1.4; }
.ogp-btn {
  display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 18px !important; border-radius: 999px;
  border: 1px solid rgba(203,182,130,.55) !important; background: rgba(255,255,255,.06) !important; color: #f4f1ea !important;
  font-size: 14px !important; font-weight: 700 !important; line-height: 1.1; white-space: nowrap;
}
.ogp-btn svg { width: 18px; height: 18px; }
.ogp-btn.ogp-gold { background: #cbb682 !important; border-color: #cbb682 !important; color: #15120d !important; }
.ogp-btn:hover { filter: brightness(1.08); }

/* ---- Up Next: the closest pick counts down and starts by itself ---- */
.ogp-end.ogp-end-next { gap: 12px; background: rgba(10,9,7,.9); }
.ogp-un { display: flex !important; align-items: center; gap: 16px; max-width: min(640px, 92%); padding: 0 !important; text-align: left; }
.ogp-un-art {
  position: relative; flex: none; width: 220px; width: clamp(150px, 34cqw, 300px); aspect-ratio: 16 / 9; border-radius: 10px;
  background: #1c1813 center / cover no-repeat; display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(203,182,130,.3); transition: box-shadow .2s ease;
}
.ogp-un:hover .ogp-un-art, .ogp-un:focus-visible .ogp-un-art { box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 2px #cbb682; }
.ogp-un-ring { position: relative; width: 58px; height: 58px; border-radius: 50%; background: rgba(8,7,6,.62); display: grid; place-items: center; }
.ogp-un-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ogp-un-ring circle { fill: none; stroke-width: 3; }
.ogp-un-ring .bg { stroke: rgba(233,219,189,.22); }
.ogp-un-ring .fg { stroke: #cbb682; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; animation: ogp-count 8s linear forwards; }
.ogp-un-ring.paused .fg { animation-play-state: paused; }
.ogp-un-ring b { position: relative; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes ogp-count { to { stroke-dashoffset: 106.8; } }
.ogp-un-t { min-width: 0; }
.ogp-un-t b { display: block; font-size: 20px; font-size: clamp(16px, 3.4cqw, 24px); font-weight: 800; line-height: 1.15; }
.ogp-un-t small { display: block; margin-top: 5px; font-size: 13px; color: #d9cfb8; }
.ogp-un-alts { display: flex; gap: 10px; width: 100%; max-width: min(640px, 92%); }
.ogp-un-alt { flex: 1 1 0; min-width: 0; display: flex !important; align-items: center; gap: 8px; padding: 6px !important; border-radius: 10px; background: rgba(255,255,255,.06) !important; text-align: left; }
.ogp-un-alt:hover, .ogp-un-alt:focus-visible { background: rgba(203,182,130,.16) !important; }
.ogp-un-alt span { flex: none; width: 64px; aspect-ratio: 16 / 9; border-radius: 6px; background: #1c1813 center / cover no-repeat; }
.ogp-un-alt b { min-width: 0; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogp-join { display: flex; gap: 8px; width: min(440px, 92%); }
.ogp-join input { flex: 1; min-width: 0; padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(203,182,130,.45); background: rgba(0,0,0,.4); color: #fff; font: inherit; font-size: 14px; outline: none; }
.ogp-join input:focus { border-color: #cbb682; }
.ogp-join input.err { border-color: rgba(255,110,110,.85); }
.ogp-join-done { font-size: 13.5px; color: #e9dbbd; }
.ogp-join-done b { color: #cbb682; }
/* the end card is the whole player while it's up: no controls, title or Play button under it */
.ogp-at-end .ogp-bar, .ogp-at-end .ogp-top, .ogp-at-end .ogp-big, .ogp-at-end .ogp-adpill,
.ogp-at-end .ogp-unmute, .ogp-at-end .ogp-spin, .ogp-at-end .ogp-eps { display: none !important; }
@container (max-width: 520px) {
  .ogp-end { padding: 12px; }
  .ogp-end.ogp-end-next { gap: 8px; }
  .ogp-un-alts, .ogp-join { display: none; }
  .ogp-un-art { width: 38cqw; }
  .ogp-un-ring { width: 46px; height: 46px; }
  .ogp-un-ring b { font-size: 16px; }
}
@container (max-width: 340px) {
  .ogp-un { flex-direction: column; text-align: center; gap: 8px; }
  .ogp-un-art { width: 64cqw; }
  .ogp-end-next .ogp-end-k { display: none; }
}

/* ---- the watch page draws its own title and share row ---- */
.ogp-page .ogp-brand, .ogp-page .ogp-tt, .ogp-page .ogp-topshare { display: none !important; }
.ogp-page .ogp-top { pointer-events: none; }

/* ---- small players (an embed in a sidebar, a phone) ---- */
@container (max-width: 520px) {
  .ogp-skip { display: none !important; }
  .ogp-adpill em { display: none; }
  .ogp-vol .ogp-volr { display: none; }
  .ogp-tt span { display: none; }
  .ogp-brand img { height: 28px; }
}
@container (max-width: 400px) {
  .ogp-big { padding: 16px; }
  .ogp-big span { display: none; }
  .ogp-big i { width: 30px; height: 30px; background: none; }
  .ogp-time i, .ogp-dur { display: none; }
  .ogp-wm { display: none; }
  .ogp-ic { width: 36px; height: 36px; }
  .ogp-top { padding: 8px; gap: 8px; }
  .ogp-tt b { font-size: 14px; }
  .ogp-adpill { bottom: 62px; left: 8px; }
  .ogp-unmute { top: 48px; }
}
@media (hover: none) {
  .ogp-volr { display: none; }
  .ogp-knob { transform: scale(1); width: 12px; height: 12px; margin: -6px 0 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ogp *, .ogp { transition: none !important; animation-duration: 1.6s !important; }
}

/* ---- an embed page is the player and nothing else ---- */
html.og-embed-page, html.og-embed-page body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #000; }
html.og-embed-page #og-player { position: fixed; inset: 0; }
