/* Scoped player presentation inside existing cards; no page redesign. */
.nc-flee-playback { box-sizing:border-box; position:relative; width:100%; min-width:0; color:inherit; }
.nc-flee-playback .nc-flee-player-host { width:100%; min-width:0; background:#080b11; border-radius:10px; overflow:hidden; }
.nc-flee-playback .nc-flee-player-host:empty { display:none; }
.nc-flee-playback .nc-flee-player-host :is(video,iframe) { display:block; width:100%; height:auto; aspect-ratio:16/9; min-height:200px; border:0; position:static; }
.nc-flee-playback .nc-flee-player-host audio { display:block; width:100%; min-height:44px; }
.nc-flee-playback :is(.nc-flee-play,.nc-flee-retry,.nc-flee-sound) { display:inline-flex; justify-content:center; align-items:center; gap:.5rem; box-sizing:border-box; min-height:44px; max-width:100%; padding:.75rem 1.1rem; border:1px solid #e32c14; border-radius:999px; background:#b91c1c; color:#fff; font:inherit; font-weight:700; line-height:1.3; white-space:normal; cursor:pointer; }
.nc-flee-playback[data-nc-flee-kind="video"] > .nc-flee-play { display:flex; width:100%; min-height:200px; aspect-ratio:16/9; border-radius:10px; background:#080b11; }
.nc-flee-playback[data-nc-flee-kind="video"]:has(> .nc-flee-player-host:not(:empty)) > .nc-flee-play { display:inline-flex; width:auto; min-height:44px; aspect-ratio:auto; margin-bottom:.5rem; padding:.75rem 1.1rem; }
.nc-flee-playback :is(button,a):focus-visible { outline:3px solid #e9b949; outline-offset:3px; box-shadow:0 0 0 2px #14243d; }
.nc-flee-playback button:disabled { opacity:.6; cursor:wait; }
.nc-flee-playback [hidden] { display:none!important; }
.nc-flee-playback :is(.nc-flee-player-status,.nc-flee-player-count) { margin:.5rem 0; font:inherit; font-size:.875rem; line-height:1.5; overflow-wrap:anywhere; }
.nc-flee-playback .nc-flee-player-count { font-weight:700; }
.nc-flee-queue { margin-block:1rem; min-width:0; }
.ncm-grid > .ncm-tile > .nc-flee-queue { width:100%; padding:.75rem; box-sizing:border-box; scroll-margin-top:96px; }
.ncm-grid > .ncm-tile .nc-flee-queue > label { font-size:.875rem; }
.nc-flee-queue > label { display:block; margin-bottom:.75rem; font:inherit; font-weight:700; color:inherit; }
.nc-flee-queue-select { display:block; width:100%; max-width:100%; min-height:44px; margin-top:.5rem; padding:.5rem; font:inherit; font-size:1rem; color:#14243d; background:#fff; border:1px solid #64748b; border-radius:8px; }
.nc-flee-queue-select:focus-visible { outline:3px solid #e9b949; outline-offset:3px; }
.nc-flee-diagnostics { margin-block:1rem; padding:.75rem; border:1px solid #64748b; border-radius:8px; color:inherit; }
.nc-flee-diagnostics summary { min-height:32px; cursor:pointer; font-weight:700; }
.nc-flee-diagnostic-values { margin:.75rem 0 0; white-space:pre-wrap; overflow-wrap:anywhere; font:13px/1.5 ui-monospace,monospace; }
.nc-flee-test-controls { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.75rem; }
.nc-flee-test-controls button { min-height:44px; padding:.5rem .75rem; border:1px solid #64748b; border-radius:6px; background:#fff; color:#14243d; font:inherit; cursor:pointer; }
/* Server marks ratio-box wrappers when replacing their old absolutely-positioned iframe. */
.nc-flee-video-slot, .ncm-vid:has(> .nc-flee-playback) { height:auto!important; padding-bottom:0!important; aspect-ratio:auto!important; }
@media(prefers-reduced-motion:reduce) { .nc-flee-playback * { scroll-behavior:auto; transition:none; animation:none; } }
/* Small-card poster facades stay click-to-play; only exact featured roots may preview muted. */
.nc-flee-playback[data-nc-flee-kind="video"] > .nc-flee-play { position:relative; overflow:hidden; isolation:isolate; }
.nc-flee-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.nc-flee-play-label { padding:.55rem .85rem; border-radius:999px; background:rgba(8,11,17,.88); color:#fff; }
.nc-flee-playback:has(> .nc-flee-player-host:not(:empty)) > .nc-flee-play .nc-flee-poster { display:none; }
.ncm-thumb.nc-hub-video-poster { position:relative; padding:0; overflow:hidden; cursor:pointer; border:1px solid var(--ncm-line,#64748b); background:#080b11!important; }
.ncm-thumb.nc-hub-video-poster::after { content:none!important; }
.nc-hub-video-poster .nc-front-pic { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nc-hub-video-play { position:relative; z-index:2; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:rgba(8,11,17,.85); color:#fff; }
.nc-hub-video-poster:focus-visible,.nc-hub-inline-close:focus-visible { outline:3px solid #e9b949; outline-offset:3px; }
.ncm-slot:has(> .nc-hub-inline-video:not([hidden])) { flex-wrap:wrap; }
.nc-hub-inline-video { flex-basis:100%; width:100%; min-width:0; margin-top:.75rem; }
.nc-hub-inline-video[hidden] { display:none!important; }
.nc-hub-inline-video > iframe { display:block; width:100%; min-height:200px; aspect-ratio:16/9; border:0; }
.nc-hub-inline-close { min-height:44px; padding:.5rem .8rem; border-radius:8px; background:#14243d; color:#fff; border:1px solid #64748b; cursor:pointer; }
.nc-hub-inline-status { font-size:.8rem; line-height:1.4; }
.ncm-railtile:has(> .nc-hub-inline-video:not([hidden])) { min-width:min(320px,85vw); }
.ncm-editorial-card .ncm-editorial-grid > .ncm-editorial-media:has(> .nc-hub-inline-video:not([hidden])) { min-width:0; }

/* Text directly inside the existing dark video card needs explicit contrast. */
.ncm-vid > .nc-flee-playback > :is(.nc-flee-player-status,.nc-flee-player-count) { color:#fff; }
