/* ============================================================
 * v2.3.6 — Unified glass control bar + ambient glow
 * Standalone file, enqueued AFTER watch-cinema.css and
 * watch-redesign.css so its rules win the cascade.
 * Replaces the split overlay buttons + below-player chrome strip
 * with ONE bar overlaying the bottom edge of the player.
 * Control colours are fixed light-on-dark (it floats over video).
 * ============================================================ */

/* Retire the legacy control surfaces inside the cinema layout */
.eos-watch--cinema .eos-player-controls,
.eos-watch--cinema .eos-cn-chrome { display: none !important; }

/* Ambient glow — a soft colour halo bleeding out behind the stage */
.eos-watch--cinema .eos-player { isolation: isolate; }
.eos-watch--cinema .eos-player::before {
  content: ""; position: absolute; inset: -10% -5% -4%;
  z-index: -1; border-radius: 40px;
  background: var(--cn-amber-glow, rgba(231,178,75,0.18));
  filter: blur(46px) saturate(150%);
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.eos-watch--cinema.is-cn-ambient .eos-player::before { opacity: .5; }

/* The bar */
.eos-watch--cinema .eos-cn-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8;
  padding: 0 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 8%, rgba(0,0,0,0.34) 58%, transparent);
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  font-family: inherit;
}
.eos-watch--cinema .eos-player:hover .eos-cn-bar,
.eos-watch--cinema .eos-player:focus-within .eos-cn-bar,
.eos-watch--cinema.is-cn-ctlshow .eos-cn-bar,
.eos-watch--cinema .eos-cn-bar.is-pinned { opacity: 1; transform: none; }

/* Scrubber */
.eos-watch--cinema .eos-cn-scrub {
  position: relative; height: 18px; display: flex; align-items: center;
  cursor: pointer; margin: 0 2px 4px; touch-action: none;
}
.eos-watch--cinema .eos-cn-scrub__track {
  position: absolute; left: 0; right: 0; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.25); overflow: hidden; transition: height .12s ease;
}
.eos-watch--cinema .eos-cn-scrub:hover .eos-cn-scrub__track { height: 6px; }
.eos-watch--cinema .eos-cn-scrub__buf {
  position: absolute; left: 0; height: 100%; width: 0;
  background: rgba(255,255,255,0.30);
}
.eos-watch--cinema .eos-cn-scrub__played {
  position: absolute; left: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cn-amber-dark, #7E560F), var(--cn-amber, #A9761F));
}
.eos-watch--cinema .eos-cn-scrub__thumb {
  position: absolute; left: 0; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transform: translate(-50%,-50%) scale(0);
  transition: transform .12s ease; box-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.eos-watch--cinema .eos-cn-scrub:hover .eos-cn-scrub__thumb,
.eos-watch--cinema .eos-cn-scrub:focus-visible .eos-cn-scrub__thumb { transform: translate(-50%,-50%) scale(1); }
.eos-watch--cinema .eos-cn-scrub__prev {
  position: absolute; bottom: 18px; left: 0; transform: translateX(-50%);
  background: #000; color: #fff; font-size: 11px; font-variant-numeric: tabular-nums;
  padding: 3px 8px; border-radius: 6px; border: 0.5px solid rgba(255,255,255,0.2);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .1s;
}
.eos-watch--cinema .eos-cn-scrub:hover .eos-cn-scrub__prev { opacity: 1; }
.eos-watch--cinema .eos-cn-scrub__live { display: none; }
.eos-watch--cinema .eos-cn-bar.is-bar-live .eos-cn-scrub__played {
  background: linear-gradient(90deg, #7f1d1d, #DC2626); width: 100% !important;
}
.eos-watch--cinema .eos-cn-bar.is-bar-live .eos-cn-scrub__buf,
.eos-watch--cinema .eos-cn-bar.is-bar-live .eos-cn-scrub__thumb { display: none; }
.eos-watch--cinema .eos-cn-bar.is-bar-live .eos-cn-scrub__live {
  display: block; position: absolute; right: -1px; top: 50%; width: 11px; height: 11px;
  transform: translateY(-50%); border-radius: 50%; background: #DC2626; border: 2px solid #fff;
  animation: cnLivePulse 2s ease-in-out infinite;
}
@keyframes cnLivePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,.4); } 50% { box-shadow: 0 0 0 6px rgba(220,38,38,0); } }

/* Control row */
.eos-watch--cinema .eos-cn-bar__row { display: flex; align-items: center; gap: 4px; }
.eos-watch--cinema .eos-cn-cbtn {
  height: 40px; min-width: 40px; padding: 0 9px; border: 0; background: transparent;
  color: #fff; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  opacity: 0.92; transition: background .12s ease, opacity .12s ease;
}
.eos-watch--cinema .eos-cn-cbtn:hover { background: rgba(255,255,255,0.16); opacity: 1; }
.eos-watch--cinema .eos-cn-cbtn--amber:hover { background: rgba(231,178,75,0.32); }
.eos-watch--cinema .eos-cn-cbtn.is-on { background: rgba(231,178,75,0.32); }
.eos-watch--cinema .eos-cn-cbtn i { font-size: 19px; }
.eos-watch--cinema .eos-cn-bar__sp { flex: 1; }
.eos-watch--cinema .eos-cn-bar__sep { width: 1px; height: 20px; background: rgba(255,255,255,0.18); margin: 0 4px; }
.eos-watch--cinema .eos-cn-time {
  font-size: 12px; font-variant-numeric: tabular-nums; color: #fff; opacity: 0.85;
  padding: 0 6px; white-space: nowrap;
}
.eos-watch--cinema .eos-cn-livepill {
  display: inline-flex; align-items: center; gap: 5px; border: 0;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
  color: #fff; background: rgba(220,38,38,0.92); padding: 5px 10px; border-radius: 999px; cursor: pointer;
}
.eos-watch--cinema .eos-cn-livepill span { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.eos-watch--cinema .eos-cn-livepill.is-behind { background: rgba(255,255,255,0.22); }

/* Volume */
.eos-watch--cinema .eos-cn-vol { display: flex; align-items: center; }
.eos-watch--cinema .eos-cn-vol__slider {
  width: 0; overflow: hidden; transition: width .2s ease; display: flex; align-items: center;
}
.eos-watch--cinema .eos-cn-vol:hover .eos-cn-vol__slider,
.eos-watch--cinema .eos-cn-vol.is-open .eos-cn-vol__slider { width: 78px; }
.eos-watch--cinema .eos-cn-vol__slider input[type="range"] {
  width: 68px; margin: 0 6px; accent-color: var(--cn-amber, #A9761F); cursor: pointer; height: 4px;
}

/* Settings menu */
.eos-watch--cinema .eos-cn-menuwrap { position: relative; }
.eos-watch--cinema .eos-cn-menu {
  position: absolute; right: 0; bottom: 44px; width: 232px;
  background: #14181E;
  border: 0.5px solid rgba(255,255,255,0.14); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55); padding: 6px; z-index: 20;
  animation: cnMenuPop .15s ease;
}
@keyframes cnMenuPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.eos-watch--cinema .eos-cn-menu__h {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.5;
  font-weight: 600; color: #fff; padding: 8px 11px 4px;
}
.eos-watch--cinema .eos-cn-menu__div { height: 0.5px; background: rgba(255,255,255,0.12); margin: 4px 6px; }
.eos-watch--cinema .eos-cn-seg2 {
  display: flex; gap: 3px; background: rgba(255,255,255,0.08);
  border-radius: 8px; padding: 3px; margin: 2px 6px 4px;
}
.eos-watch--cinema .eos-cn-seg2 button {
  flex: 1; border: 0; background: transparent; color: #fff; font: inherit;
  font-size: 11.5px; font-weight: 600; padding: 6px 4px; border-radius: 6px;
  cursor: pointer; opacity: 0.7; transition: background .12s ease, opacity .12s ease;
}
.eos-watch--cinema .eos-cn-seg2 button:hover { opacity: 1; background: rgba(255,255,255,0.10); }
.eos-watch--cinema .eos-cn-seg2 button.is-on {
  background: var(--cn-amber, #A9761F); color: var(--on-gold, #1B160A); opacity: 1;
}
.eos-watch--cinema .eos-cn-menu__row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  padding: 9px 11px; border: 0; background: transparent; border-radius: 8px;
  cursor: pointer; font: inherit; font-size: 12.5px; color: #fff; transition: background .12s ease;
}
.eos-watch--cinema .eos-cn-menu__row:hover { background: rgba(255,255,255,0.10); }
.eos-watch--cinema .eos-cn-menu__row i { font-size: 16px; vertical-align: -3px; margin-right: 4px; }
.eos-watch--cinema .eos-cn-menu__val { font-size: 11.5px; opacity: 0.65; display: inline-flex; align-items: center; gap: 4px; }

/* Mobile */
@media (max-width: 720px) {
  .eos-watch--cinema .eos-cn-bar { padding: 0 8px 8px; }
  .eos-watch--cinema .eos-cn-cbtn { height: 40px; min-width: 40px; padding: 0 7px; }
  .eos-watch--cinema .eos-cn-cbtn i { font-size: 18px; }
  .eos-watch--cinema .eos-cn-bar__sep { margin: 0 2px; }
}

/* ============================================================
 * v2.3.8 — Admin chat controls cleanup + watching pill presence
 * ============================================================ */
/* Admin gear sits inside the slow-mode row instead of floating/overlapping */
.eos-watch--cinema .eos-aqc-gear.eos-aqc-gear--inrow{
  position: static !important; inset: auto !important; right: auto !important; top: auto !important;
  margin: 0 0 0 2px !important; flex-shrink: 0;
}
.eos-watch--cinema .eos-chat-slowbar{ padding: 8px 10px !important; gap: 8px; align-items: center; }
/* Compact segmented slow-mode (drives the native select) */
.eos-watch--cinema .eos-cn-slowseg{ margin-left: auto; display: flex; gap: 2px; background: var(--cn-bg-soft); border-radius: 999px; padding: 3px; }
.eos-watch--cinema .eos-cn-slowseg button{ border: 0; background: transparent; color: var(--cn-fg); opacity: .6; font: inherit; font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 999px; cursor: pointer; transition: background .12s ease, opacity .12s ease; }
.eos-watch--cinema .eos-cn-slowseg button:hover{ opacity: 1; }
.eos-watch--cinema .eos-cn-slowseg button.is-on{ background: var(--cn-fg); color: var(--cn-bg); opacity: 1; }
.eos-watch--cinema .eos-chat-slowbar__select.eos-cn-hide{ display: none !important; }

/* Watching pill in the top bar opens the presence list */
.eos-watch--cinema .eos-cn-top{ position: relative; z-index: 200; }
.eos-watch--cinema #eos-cn-viewers{ cursor: pointer; user-select: none; }
.eos-watch--cinema #eos-cn-viewers .eos-cn-vchev{ width: 11px; height: 11px; margin-left: 2px; transition: transform .15s ease; vertical-align: -1px; }
.eos-watch--cinema .eos-cn-top.is-pres-open #eos-cn-viewers .eos-cn-vchev{ transform: rotate(180deg); }
.eos-watch--cinema .eos-cn-pres-pop{
  position: absolute; top: calc(100% + 6px); right: 12px; width: 286px; max-width: calc(100vw - 40px);
  z-index: 60; display: none; background: #ffffff; border: .5px solid rgba(20,20,22,.12);
  border-radius: 12px; box-shadow: var(--cn-shadow); padding: 8px;
}
.eos-watch--cinema .eos-cn-top.is-pres-open .eos-cn-pres-pop{ display: block; animation: cnMenuPop .15s ease; }
.eos-watch--cinema .eos-cn-pres-pop #eos-chat-pr,
.eos-watch--cinema .eos-cn-pres-pop #eos-chat-pr[hidden]{
  display: block !important; position: static !important; inset: auto !important; margin: 0 !important;
  width: auto !important; max-height: 320px; overflow: auto; box-shadow: none !important; border: 0 !important; background: transparent !important;
}

/* ============================================================
 * v2.4.0 — WhatsApp-style chat bubbles
 * Own messages (.is-mine) right-aligned in a theme amber bubble;
 * others left in neutral bubbles with coloured names; reaction
 * pills hang off the bubble edge. Hover action/react bars are
 * position:absolute already, so flex rows don't expose them.
 * ============================================================ */
/* v3.3.3 — REMOVED: the v2.4.0 WhatsApp-bubble chat skin and its v2.4.2 colour
   forcing. The mambo watch layer owns the chat row now (flat rows, hashed name
   tones, pills under the message), and these ~30 !important declarations were
   superimposing a second, conflicting design on it. Scoped .eos-watch--cinema,
   so nothing outside the watch page is affected. Original: watch-controls.css.pre-v333.bak */
/* keep hover toolbars out of the flex flow (they're absolute already; enforce) */
.eos-watch--cinema .eos-chat-msg > .eos-chat-actions,
.eos-watch--cinema .eos-chat-msg > .eos-chat-react-bar{ position: absolute !important; }

/* v2.4.1 — solid (non-translucent) watching dropdown */
[data-theme="dark"] .eos-watch--cinema .eos-cn-pres-pop{ background:#161C24 !important; border-color:rgba(255,255,255,.12) !important; }
.eos-watch--cinema .eos-cn-pres-pop{ background:#ffffff; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }

/* ============================================================
 * v2.4.2 — Chat scroll fix + dark-mode contrast
 * ============================================================ */
/* The admin panel kept display:flex even when [hidden], so it sat as an
 * invisible overlay over the chat and swallowed wheel/scroll. Truly hide it. */
.eos-watch--cinema .eos-aqc-panel[hidden]{ display: none !important; }
/* Sender names were near-black on dark bubbles (invisible). Force readable
 * amber in both themes (literal colours — the redesign repurposes some vars). */

/* ============================================================
 * v2.4.3 — header priority, media shape, collapsible sections, themed toolbars
 * ============================================================ */
/* Keep the site header's profile menu (nav.eos-nav z:95) above the watch bar */
.eos-watch--cinema .eos-cn-top{ z-index: 40 !important; }
/* Uploaded media: never oval — rounded rectangle at the photo's natural ratio */
.eos-watch--cinema .eos-chat-msg__body img:not(.emoji):not(.eos-chat-msg__avatar){
  border-radius: 10px !important; max-width: 100% !important; max-height: 360px !important;
  width: auto !important; height: auto !important; object-fit: contain !important;
}
.eos-watch--cinema .eos-chat-msg .au-msg-media{ border-radius: 10px !important; overflow: hidden; display: inline-block; }
/* Collapsible admin-panel section headers */
.eos-watch--cinema .eos-cn-sechead{
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px;
  background: transparent; border: 0; border-top: .5px solid var(--cn-border); padding: 10px 12px;
  cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--cn-fg); opacity: .7;
}
.eos-watch--cinema .eos-cn-sechead:hover{ opacity: 1; }
.eos-watch--cinema .eos-cn-secchev{ width: 14px; height: 14px; transition: transform .15s ease; }
.eos-watch--cinema .eos-cn-sechead.is-collapsed .eos-cn-secchev{ transform: rotate(-90deg); }
/* Hover action toolbar + quick-react bar: theme-consistent (was a dark pill on the light theme) */
.eos-watch--cinema .eos-chat-actions,
.eos-watch--cinema .eos-chat-react-bar{
  background: #ffffff !important; border: .5px solid rgba(20,20,22,.12) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.16) !important; color: #141416 !important;
}
[data-theme="dark"] .eos-watch--cinema .eos-chat-actions,
[data-theme="dark"] .eos-watch--cinema .eos-chat-react-bar{
  background: #1B2129 !important; border-color: rgba(255,255,255,.14) !important; color: #E6E7EA !important;
}
.eos-watch--cinema .eos-chat-action,
.eos-watch--cinema .eos-chat-react-q{ color: inherit !important; }
.eos-watch--cinema .eos-chat-action:hover,
.eos-watch--cinema .eos-chat-react-q:hover{ background: rgba(231,178,75,.20) !important; color: #7E560F !important; }
[data-theme="dark"] .eos-watch--cinema .eos-chat-action:hover,
[data-theme="dark"] .eos-watch--cinema .eos-chat-react-q:hover{ color: #FFC76E !important; }
/* Admin gear sized for the utility lane */
.eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear{
  position: static !important; inset: auto !important; width: 30px !important; height: 30px !important;
  margin: 0 !important; flex-shrink: 0;
}

/* v2.4.5 — emoji-picker opener on the reaction bar shows a smiley icon */
.eos-watch--cinema .eos-chat-react-more{ display:inline-flex; align-items:center; justify-content:center; }
.eos-watch--cinema .eos-chat-react-more svg{ width:16px; height:16px; }

/* ============================================================
 * v2.4.6 — Make the utility-lane bookmark/search/gear clearly visible & spaced
 * (id selectors to beat the muted .eos-chat-util-ico rule)
 * ============================================================ */
#eos-chat-bm-toggle-lane, #eos-chat-search-toggle-lane, #eos-chat-langpill,
.eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear{
  color: var(--cn-fg) !important; opacity: 1 !important;
  background: var(--cn-bg-soft) !important; border: .5px solid var(--cn-border) !important;
}
#eos-chat-bm-toggle-lane svg, #eos-chat-search-toggle-lane svg,
.eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear svg,
.eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear i{
  width: 17px !important; height: 17px !important; font-size: 17px !important; stroke: currentColor !important;
}
#eos-chat-bm-toggle-lane:hover, #eos-chat-search-toggle-lane:hover,
.eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear:hover{
  background: var(--cn-amber-glow) !important; color: var(--cn-amber-dark) !important; border-color: rgba(231,178,75,.4) !important;
}
[data-theme="dark"] #eos-chat-bm-toggle-lane:hover,
[data-theme="dark"] #eos-chat-search-toggle-lane:hover,
[data-theme="dark"] .eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear:hover{ color: var(--cn-amber-soft) !important; }
.eos-watch--cinema .eos-chat-utility-lane{ gap: 6px !important; flex-wrap: nowrap !important; }
.eos-watch--cinema .eos-chat-utility-lane .eos-chat-mode{ flex: 1 1 auto !important; min-width: 0 !important; }

/* ============================================================
 * v2.4.7 — Bookmark/search/gear lane buttons: SOLID, visible, tappable.
 * High-specificity (html body … button#id) to beat the !important class
 * rules in chat-aurora.css / chat-studio.css that kept them near-invisible.
 * Plus responsive wrap so they're never crushed on a narrow chat panel.
 * ============================================================ */
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-bm-toggle-lane,
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-search-toggle-lane,
html body .eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear{
  background:#ffffff !important; border:1px solid rgba(20,20,22,.20) !important; border-radius:9px !important;
  color:#141416 !important; width:34px !important; height:34px !important; opacity:1 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.08) !important; flex-shrink:0 !important;
}
html[data-theme="dark"] body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-bm-toggle-lane,
html[data-theme="dark"] body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-search-toggle-lane,
html[data-theme="dark"] body .eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear{
  background:#222a33 !important; border-color:rgba(255,255,255,.22) !important; color:#E6E7EA !important;
}
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-bm-toggle-lane:hover,
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-search-toggle-lane:hover,
html body .eos-watch--cinema .eos-chat-utility-lane .eos-aqc-gear:hover{
  background:var(--cn-amber,#A9761F) !important; color:var(--on-gold,#1B160A) !important; border-color:transparent !important;
}
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-bm-toggle-lane svg,
html body .eos-watch--cinema .eos-chat-utility-lane button#eos-chat-search-toggle-lane svg{ width:18px !important; height:18px !important; }
.eos-watch--cinema .eos-chat-utility-lane{ flex-wrap:wrap !important; row-gap:6px !important; column-gap:6px !important; }
.eos-watch--cinema .eos-chat-utility-lane .eos-chat-mode{ flex:1 1 150px !important; min-width:130px !important; }

/* ============================================================
 * v2.4.8 — Reaction pills no longer overlap text/next message.
 * (Were absolute bottom:-10px and hung onto the following message.)
 * Put them in normal flow inside the bubble.
 * ============================================================ */
.eos-watch--cinema .eos-chat-msg__pills{
  position: static !important; inset: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
  margin: 5px 0 0 0 !important; display: flex !important; gap: 4px !important; flex-wrap: wrap !important;
}
.eos-watch--cinema .eos-chat-msg.is-mine .eos-chat-msg__pills{ justify-content: flex-end !important; }

/* ============================================================
 * v2.4.9 — Chat search box: floating, properly-sized overlay (was static, pushing the chat down)
 * ============================================================ */
.eos-watch--cinema #eos-chat{ position: relative !important; }
.eos-watch--cinema #eos-chat-search{
  position: absolute !important; top: 8px !important; left: 8px !important; right: 8px !important; bottom: auto !important;
  width: auto !important; max-width: none !important; z-index: 80 !important;
  background: #ffffff !important; border: .5px solid rgba(20,20,22,.14) !important; border-radius: 12px !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.24) !important; max-height: 72% !important; overflow: auto !important; padding: 8px !important;
}
html[data-theme="dark"] .eos-watch--cinema #eos-chat-search{ background: #161C24 !important; border-color: rgba(255,255,255,.16) !important; }
.eos-watch--cinema #eos-chat-search .eos-chat-search__head{ display: flex !important; align-items: center !important; gap: 8px !important; }
.eos-watch--cinema #eos-chat-search input#eos-chat-search-input{ flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: 36px !important; background: transparent !important; }

/* ============================================================
 * v2.5.0 — Native YouTube live chat (sign in + read + post in-site)
 * Scoped to .eos-watch--cinema. Opaque literal colours (the redesign
 * repurposes --cn-* vars to translucent values). Light + dark.
 * ============================================================ */
.eos-watch--cinema .eos-chat-pane[data-pane="external"] { position: relative; }
.eos-watch--cinema .eos-ytc {
  display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%;
  font-family: inherit; color: #141416;
}
html[data-theme="dark"] .eos-watch--cinema .eos-ytc { color: #E6E7EA; }

/* YouTube play badge */
.eos-watch--cinema .eos-ytc-logo {
  display: inline-block; width: 18px; height: 13px; background: #FF0033; border-radius: 3px; position: relative; vertical-align: -1px;
}
.eos-watch--cinema .eos-ytc-logo::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  border-left: 6px solid #fff; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

/* State cards (sign-in / connecting / error) */
.eos-watch--cinema .eos-ytc-state {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 11px; padding: 28px 24px;
}
.eos-watch--cinema .eos-ytc-state__ic .eos-ytc-logo { width: 54px; height: 38px; border-radius: 10px; }
.eos-watch--cinema .eos-ytc-state__ic .eos-ytc-logo::after { left: 21px; top: 11px; border-left: 16px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.eos-watch--cinema .eos-ytc-state h3 { margin: 4px 0 0; font-size: 16px; font-weight: 600; }
.eos-watch--cinema .eos-ytc-state p { margin: 0; font-size: 13px; line-height: 1.5; max-width: 300px; color: rgba(20,20,22,.6); }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-state p { color: rgba(255,255,255,.6); }
.eos-watch--cinema .eos-ytc-fine { font-size: 11px !important; max-width: 280px !important; color: rgba(20,20,22,.5) !important; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-fine { color: rgba(255,255,255,.45) !important; }
.eos-watch--cinema .eos-ytc-warn {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: #FEF3C7; color: #B45309; font-size: 24px; font-weight: 800;
}

/* Sign-in / retry button */
.eos-watch--cinema .eos-ytc-login {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 4px;
  background: #FF0033; color: #fff; border: 0; border-radius: 999px;
  padding: 11px 20px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,0,51,.28); transition: filter .15s ease, transform .1s ease;
}
.eos-watch--cinema .eos-ytc-login:hover { filter: brightness(1.06); }
.eos-watch--cinema .eos-ytc-login:active { transform: translateY(1px); }
.eos-watch--cinema .eos-ytc-login .eos-ytc-logo { background: #fff; }
.eos-watch--cinema .eos-ytc-login .eos-ytc-logo::after { border-left-color: #FF0033; }

/* Connected bar */
.eos-watch--cinema .eos-ytc-conn {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 11.5px;
  background: rgba(20,20,22,.03); border-bottom: .5px solid rgba(20,20,22,.10); flex-shrink: 0;
}
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-conn { background: rgba(255,255,255,.04); border-bottom-color: rgba(255,255,255,.10); }
.eos-watch--cinema .eos-ytc-dot { width: 7px; height: 7px; border-radius: 50%; background: #36b37e; flex-shrink: 0; }
.eos-watch--cinema .eos-ytc-me { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: rgba(20,20,22,.6); font-weight: 600; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-me { color: rgba(255,255,255,.6); }
.eos-watch--cinema .eos-ytc-me img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.eos-watch--cinema .eos-ytc-out {
  border: .5px solid rgba(20,20,22,.16); background: #fff; color: #141416; border-radius: 999px;
  font: inherit; font-size: 10.5px; font-weight: 600; padding: 3px 10px; cursor: pointer;
}
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-out { background: #1F2630; color: #E6E7EA; border-color: rgba(255,255,255,.16); }

/* Message stream */
.eos-watch--cinema .eos-ytc-stream {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  padding: 12px; display: flex; flex-direction: column; gap: 11px;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.eos-watch--cinema .eos-ytc-msg { display: flex; gap: 8px; align-items: flex-start; }
.eos-watch--cinema .eos-ytc-av {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  background: rgba(20,20,22,.10); display: inline-block;
}
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-av { background: rgba(255,255,255,.12); }
.eos-watch--cinema .eos-ytc-c { min-width: 0; }
.eos-watch--cinema .eos-ytc-n { font-size: 11.5px; font-weight: 600; color: rgba(20,20,22,.55); margin-bottom: 1px; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-n { color: rgba(255,255,255,.55); }
.eos-watch--cinema .eos-ytc-t { font-size: 13.5px; line-height: 1.4; word-wrap: break-word; overflow-wrap: anywhere; }
.eos-watch--cinema .eos-ytc-badge { font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 1px; color: #fff; }
.eos-watch--cinema .eos-ytc-badge.own { background: #FF0033; }
.eos-watch--cinema .eos-ytc-badge.mod { background: #5b8def; }
.eos-watch--cinema .eos-ytc-badge.mem { background: #2ba640; }
.eos-watch--cinema .eos-ytc-msg.is-sc .eos-ytc-c {
  background: var(--cn-amber, #A9761F); color: var(--on-gold, #1B160A); border-radius: 10px; padding: 7px 10px;
}
.eos-watch--cinema .eos-ytc-msg.is-sc .eos-ytc-n { color: rgba(27,22,10,.72); }

/* Composer */
.eos-watch--cinema .eos-ytc-cmp {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-shrink: 0;
  border-top: .5px solid rgba(20,20,22,.10);
}
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-cmp { border-top-color: rgba(255,255,255,.10); }
.eos-watch--cinema .eos-ytc-cmp input {
  flex: 1; height: 38px; border-radius: 999px; border: .5px solid rgba(20,20,22,.12);
  background: rgba(20,20,22,.04); padding: 0 14px; font: inherit; font-size: 13px; color: #141416; outline: none;
}
.eos-watch--cinema .eos-ytc-cmp input:focus { border-color: #A9761F; background: #fff; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-cmp input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #E6E7EA; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-cmp input:focus { background: #1F2630; border-color: #A9761F; }
.eos-watch--cinema .eos-ytc-cmp input:disabled { opacity: .6; }
.eos-watch--cinema .eos-ytc-send {
  width: 40px; height: 40px; border-radius: 50%; background: #FF0033; color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: filter .15s ease;
}
.eos-watch--cinema .eos-ytc-send:hover { filter: brightness(1.06); }
.eos-watch--cinema .eos-ytc-send svg { width: 18px; height: 18px; }

/* v2.5.3 — Full embedded YouTube live chat fills the YouTube pane */
.eos-watch--cinema .eos-chat-pane[data-pane="external"].is-active { display: flex; flex-direction: column; }
.eos-watch--cinema .eos-ytc-embed { flex: 1 1 auto; width: 100%; min-height: 480px; border: 0; display: block; background: #fff; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-embed { background: #0f0f0f; }

/* ============================================================
 * v2.5.4 — YouTube-style custom chat: extra elements
 * (super chat cards, member events, emoji picker, settings,
 *  moderation, mentions, timestamps). Light + dark.
 * ============================================================ */
.eos-watch--cinema .eos-ytc-msg { position: relative; }
.eos-watch--cinema .eos-ytc-t a { color: #1a73e8; text-decoration: none; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-t a { color: #8ab4f8; }
.eos-watch--cinema .eos-ytc-at { color: #7E560F; font-weight: 600; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-at { color: #A9761F; }
.eos-watch--cinema .eos-ytc-badge.ver { background: #8a8a8a; }
.eos-watch--cinema .eos-ytc-ts { display: none; font-size: 10px; color: rgba(20,20,22,.4); margin-right: 5px; font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-ts { color: rgba(255,255,255,.4); }
.eos-watch--cinema .eos-ytc-stream.show-ts .eos-ytc-ts { display: inline; }
.eos-watch--cinema .eos-ytc-del { color: rgba(20,20,22,.4); font-style: italic; }

/* Super Chat / Super Sticker card */
.eos-watch--cinema .eos-ytc-sc { border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.eos-watch--cinema .eos-ytc-sc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; color: #fff; }
.eos-watch--cinema .eos-ytc-sc__top .eos-ytc-n { color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.eos-watch--cinema .eos-ytc-sc__top .eos-ytc-av { width: 22px; height: 22px; }
.eos-watch--cinema .eos-ytc-amt { font-weight: 800; font-size: 13px; }
.eos-watch--cinema .eos-ytc-sc__t { padding: 7px 10px; font-size: 13.5px; background: rgba(0,0,0,.04); }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-sc__t { background: rgba(255,255,255,.06); }

/* Member / gift event card */
.eos-watch--cinema .eos-ytc-evt { text-align: center; font-size: 12.5px; font-weight: 600; color: #2ba640; background: rgba(43,166,64,.10); border: .5px solid rgba(43,166,64,.25); border-radius: 10px; padding: 7px 10px; }

/* No-channel note */
.eos-watch--cinema .eos-ytc-note { font-size: 11.5px; line-height: 1.4; color: #B45309; background: #FEF3C7; border-top: .5px solid rgba(180,83,9,.2); padding: 8px 12px; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-note { color: #FCD34D; background: rgba(180,83,9,.18); }

/* Settings (gear) + menu */
.eos-watch--cinema .eos-ytc-gear { width: 24px; height: 24px; border-radius: 6px; border: 0; background: transparent; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.eos-watch--cinema .eos-ytc-gear:hover { background: rgba(20,20,22,.08); }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-gear:hover { background: rgba(255,255,255,.10); }
.eos-watch--cinema .eos-ytc-gear svg { width: 15px; height: 15px; }
.eos-watch--cinema .eos-ytc-menu { position: absolute; right: 10px; top: 40px; z-index: 10; background: var(--bg,#fff); border: .5px solid rgba(20,20,22,.14); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.2); padding: 8px 12px; font-size: 12.5px; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-menu { background: #1F2630; border-color: rgba(255,255,255,.14); color: #E6E7EA; }
.eos-watch--cinema .eos-ytc-menu label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.eos-watch--cinema .eos-ytc-conn { position: relative; }

/* Emoji picker */
.eos-watch--cinema .eos-ytc-emo { width: 34px; height: 34px; border-radius: 50%; background: rgba(20,20,22,.05); border: 0; cursor: pointer; font-size: 16px; flex-shrink: 0; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-emo { background: rgba(255,255,255,.06); }
.eos-watch--cinema .eos-ytc-picker { position: absolute; bottom: 56px; left: 12px; width: 244px; background: var(--bg,#fff); border: .5px solid rgba(20,20,22,.14); border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.22); padding: 8px; display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; z-index: 10; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-picker { background: #1F2630; border-color: rgba(255,255,255,.14); }
.eos-watch--cinema .eos-ytc-picker[hidden] { display: none; }
.eos-watch--cinema .eos-ytc-picker button { border: 0; background: transparent; font-size: 18px; padding: 4px; border-radius: 6px; cursor: pointer; }
.eos-watch--cinema .eos-ytc-picker button:hover { background: rgba(20,20,22,.06); }
.eos-watch--cinema .eos-ytc-cmp { position: relative; }

/* Moderation hover actions */
.eos-watch--cinema .eos-ytc-acts { position: absolute; right: 0; top: -4px; display: none; gap: 3px; background: var(--bg,#fff); border: .5px solid rgba(20,20,22,.14); border-radius: 8px; padding: 3px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-acts { background: #1F2630; border-color: rgba(255,255,255,.14); }
.eos-watch--cinema .eos-ytc-msg:hover .eos-ytc-acts { display: flex; }
.eos-watch--cinema .eos-ytc-acts button { width: 26px; height: 26px; border: 0; background: transparent; color: rgba(20,20,22,.6); border-radius: 6px; cursor: pointer; font-size: 13px; }
html[data-theme="dark"] .eos-watch--cinema .eos-ytc-acts button { color: rgba(255,255,255,.6); }
.eos-watch--cinema .eos-ytc-acts button:hover { background: rgba(255,0,51,.12); color: #FF0033; }

/* ============================================================
 * v2.5.5 — Admin "Chat controls" pane: make it scroll (flexbox trap:
 * the list needs min-height:0 to shrink & scroll), and cap the panel
 * to the viewport. Plus the player-bar toggle hides .eos-cn-bar so the
 * native YouTube controls are reachable.
 * ============================================================ */
.eos-watch--cinema .eos-aqc-panel {
  max-height: min(calc(100% - 70px), 78vh) !important;
  display: flex !important; flex-direction: column !important; overflow: hidden !important;
}
.eos-watch--cinema .eos-aqc-list {
  flex: 1 1 auto !important; min-height: 0 !important;
  overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; overscroll-behavior: contain !important;
}
/* When admin turns the player bar OFF, it must not intercept anything */
.eos-watch--cinema .eos-cn-bar[style*="display: none"] { pointer-events: none !important; }

/* v2.5.6 — Global hide for the custom player control bar (all viewers) when
 * the admin turns "Player control bar" OFF, so YouTube's native controls show. */
.eos-watch--cinema.is-cn-bar-off .eos-cn-bar { display: none !important; pointer-events: none !important; }

/* ============================================================
 * v2.5.7 — Admin "Chat controls" pane scrolls as ONE column (whole pane,
 * up & down), instead of a cramped inner-list scroll. Overrides v2.5.5.
 * ============================================================ */
.eos-watch--cinema .eos-aqc-panel {
  max-height: min(calc(100% - 70px), 82vh) !important;
  display: flex !important; flex-direction: column !important;
  overflow-y: auto !important; overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important; overscroll-behavior: contain !important;
}
.eos-watch--cinema .eos-aqc-list {
  flex: 0 0 auto !important; min-height: 0 !important; overflow: visible !important;
}

/* ============================================================
 * v2.5.8 — Bookmark panel: float IN FRONT, properly sized (mirrors the
 * search-box overlay). In cinema it was set right/top/z-index but never
 * given position, so it rendered in-flow behind/over the messages.
 * ============================================================ */
.eos-watch--cinema #eos-chat { position: relative !important; }
.eos-watch--cinema #eos-chat-bm-panel {
  position: absolute !important;
  top: 8px !important; left: 8px !important; right: 8px !important;
  margin: 0 !important; width: auto !important; max-width: none !important;
  z-index: 85 !important;
  background: #ffffff !important;
  border: .5px solid rgba(20,20,22,.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.24) !important;
}
.eos-watch--cinema #eos-chat-bm-panel.is-open { max-height: min(460px, calc(100% - 16px)) !important; }
html[data-theme="dark"] .eos-watch--cinema #eos-chat-bm-panel {
  background: #161C24 !important; border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.5) !important;
}
.eos-watch--cinema #eos-chat-bm-panel .eos-chat-bm-panel__list { max-height: calc(70vh - 60px) !important; }

/* ============================================================
 * v2.5.9 — Unified per-message hover toolbar (one pill, top-right,
 * above the bubble; replaces the two overlapping pills).
 * ============================================================ */
.eos-watch--cinema .eos-chat-msg { position: relative; }
.eos-watch--cinema .eos-cn-mtools {
  position: absolute; top: -14px; right: 8px; z-index: 30;
  display: flex; align-items: center; gap: 1px;
  background: #ffffff; border: .5px solid rgba(20,20,22,.12); border-radius: 999px;
  padding: 3px; box-shadow: 0 6px 20px rgba(0,0,0,.16);
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .13s ease, transform .13s ease;
}
.eos-watch--cinema .eos-chat-msg:hover .eos-cn-mtools,
.eos-watch--cinema .eos-cn-mtools:focus-within,
.eos-watch--cinema .eos-cn-mtools.is-pop { opacity: 1; transform: none; pointer-events: auto; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mtools { background: #1F2630; border-color: rgba(255,255,255,.14); box-shadow: 0 6px 20px rgba(0,0,0,.5); }

/* Buttons inside the toolbar (my mbtn + the moved chat buttons) → uniform round icons */
.eos-watch--cinema .eos-cn-mtools .eos-cn-mbtn,
.eos-watch--cinema .eos-cn-mtools .eos-chat-action {
  width: 30px; height: 30px; min-width: 30px; padding: 0; margin: 0; border: 0; background: transparent;
  color: rgba(20,20,22,.6); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.eos-watch--cinema .eos-cn-mtools .eos-chat-action > span { display: none; }   /* icon-only inline */
.eos-watch--cinema .eos-cn-mtools .eos-cn-mbtn:hover,
.eos-watch--cinema .eos-cn-mtools .eos-chat-action:hover { background: rgba(20,20,22,.07); color: #141416; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mtools .eos-cn-mbtn,
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mtools .eos-chat-action { color: rgba(255,255,255,.62); }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mtools .eos-cn-mbtn:hover,
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mtools .eos-chat-action:hover { background: rgba(255,255,255,.10); color: #fff; }

/* Quick-react popover (opens above the toolbar) */
.eos-watch--cinema .eos-cn-quickpop {
  position: absolute; bottom: calc(100% + 6px); right: 0; display: none; align-items: center; gap: 1px;
  background: #ffffff; border: .5px solid rgba(20,20,22,.12); border-radius: 999px; padding: 4px 6px;
  box-shadow: 0 10px 26px rgba(0,0,0,.2); z-index: 34;
}
.eos-watch--cinema .eos-cn-quickpop.open { display: flex; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-quickpop { background: #1F2630; border-color: rgba(255,255,255,.14); }
.eos-watch--cinema .eos-cn-quickpop .eos-chat-react-q { font-size: 18px; width: 32px; height: 32px; line-height: 1; border: 0; background: transparent; border-radius: 50%; cursor: pointer; padding: 0; }
.eos-watch--cinema .eos-cn-quickpop .eos-chat-react-q:hover { background: rgba(20,20,22,.07); }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-quickpop .eos-chat-react-q:hover { background: rgba(255,255,255,.10); }
.eos-watch--cinema .eos-cn-quickpop .eos-chat-react-more { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 50%; color: rgba(20,20,22,.5); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-quickpop .eos-chat-react-more { color: rgba(255,255,255,.5); }

/* ⋯ More menu (opens below the toolbar) */
.eos-watch--cinema .eos-cn-mmore {
  position: absolute; top: calc(100% + 6px); right: 0; display: none; flex-direction: column;
  background: #ffffff; border: .5px solid rgba(20,20,22,.12); border-radius: 12px; padding: 5px;
  box-shadow: 0 12px 32px rgba(0,0,0,.2); z-index: 34; min-width: 154px;
}
.eos-watch--cinema .eos-cn-mmore.open { display: flex; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mmore { background: #1F2630; border-color: rgba(255,255,255,.14); }
.eos-watch--cinema .eos-cn-mmore .eos-chat-action {
  width: auto !important; height: auto !important; min-width: 0 !important; border-radius: 8px !important;
  justify-content: flex-start !important; gap: 9px; padding: 8px 10px !important; font-size: 12.5px; color: #141416;
}
.eos-watch--cinema .eos-cn-mmore .eos-chat-action > span { display: inline !important; }   /* labels visible in menu */
.eos-watch--cinema .eos-cn-mmore .eos-chat-action:hover { background: rgba(20,20,22,.06); }
.eos-watch--cinema .eos-cn-mmore .eos-chat-action--delete { color: #DC2626; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mmore .eos-chat-action { color: #E6E7EA; }
html[data-theme="dark"] .eos-watch--cinema .eos-cn-mmore .eos-chat-action:hover { background: rgba(255,255,255,.08); }

/* Retire the old separate pills inside cinema (now moved into the unified bar) */
.eos-watch--cinema .eos-chat-msg .eos-chat-actions[style*="display: none"],
.eos-watch--cinema .eos-chat-msg .eos-chat-react-bar[style*="display: none"] { display: none !important; }


/* ============================================================
   v2.6.5 — Ultra-modern SVG reactions rail (.eos-rxp)
   Overrides the legacy emoji rail in watch-cinema.css.
   ============================================================ */
.eos-cn-rxbar.eos-rxp {
  padding: 9px 7px;
  gap: 8px;
  background: rgba(18, 21, 28, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.09);
}
.eos-cn-rxbar.eos-rxp .eos-rxp-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: #aeb6c4;
  background: transparent; border: 0; border-radius: 50%;
  cursor: pointer; padding: 0; font-size: 0; line-height: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.9, 0.5, 1), background 0.15s ease, color 0.15s ease;
}
.eos-cn-rxbar.eos-rxp .eos-rxp-btn svg { width: 22px; height: 22px; }
.eos-cn-rxbar.eos-rxp .eos-rxp-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--rx-c, #fff);
  transform: scale(1.12);
}
.eos-cn-rxbar.eos-rxp .eos-rxp-btn:active { transform: scale(0.82); }
.eos-cn-rxbar.eos-rxp .eos-rxp-btn:focus-visible { outline: 2px solid #A9761F; outline-offset: 2px; }
.eos-rxp-cnt {
  position: absolute; bottom: -3px; right: -3px;
  min-width: 16px; height: 16px; border-radius: 999px;
  background: var(--rx-c, #A9761F); color: #101318;
  font-size: 10px; font-weight: 600; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.eos-rxp-cnt[hidden] { display: none; }
.eos-rxp-cnt.is-pop { animation: eosRxPop 0.3s cubic-bezier(0.34, 1.9, 0.5, 1); }
@keyframes eosRxPop { 50% { transform: scale(1.35); } }
.eos-rxp-tip {
  position: absolute; right: 52px; top: 50%; transform: translateY(-50%);
  background: rgba(16, 19, 24, 0.95);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  color: #e8ebf1; font-size: 11.5px; padding: 4px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease; white-space: nowrap;
}
.eos-rxp-btn:hover .eos-rxp-tip,
.eos-rxp-btn:focus-visible .eos-rxp-tip { opacity: 1; }
/* SVG float bubbles: shed the glass circle, add sway + tumble */
.eos-cn-rx__bubble.is-svg {
  background: transparent; border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  width: auto; height: auto; font-size: 0;
  animation: eosRxRiseSvg var(--rx-d, 2.4s) ease-out forwards;
}
@keyframes eosRxRiseSvg {
  0%   { opacity: 0; transform: translate(0, 10px) rotate(0) scale(0.7); }
  8%   { opacity: 1; transform: translate(0, 0) scale(1.15); }
  100% { opacity: 0; transform: translate(var(--rx-sw, 0px), -300px) rotate(var(--rx-rt, 0deg)) scale(1); }
}
/* Taller rail: keep the capture-moment camera button clear of it */
.eos-cn-rxbar.eos-rxp + .eos-mc-btn,
#eos-cn-rxbar.eos-rxp ~ .eos-mc-btn { top: calc(50% + 158px); }

/* ============================================================
 * v2.9.7 — Accessibility: keyboard focus + reduced motion
 * ============================================================ */
/* Visible focus rings on the player chrome (bright gold reads on the dark scrim) */
.eos-watch--cinema .eos-cn-cbtn:focus-visible,
.eos-watch--cinema .eos-cn-ibtn:focus-visible,
.eos-watch--cinema .eos-cn-livepill:focus-visible,
.eos-watch--cinema .eos-cn-menu__row:focus-visible,
.eos-watch--cinema .eos-cn-seg2 button:focus-visible { outline: 2px solid #E7B24B; outline-offset: 2px; border-radius: 9px; }
.eos-watch--cinema .eos-cn-scrub:focus-visible .eos-cn-scrub__track { box-shadow: 0 0 0 2px #E7B24B; }
.eos-watch--cinema .eos-cn-scrub:focus-visible .eos-cn-scrub__thumb { transform: translate(-50%,-50%) scale(1); }
/* Side tabs (Chat/Notes/Bible) sit on the light dock — deep-gold ring, bright gold in dark */
.eos-watch--cinema .eos-side-tab:focus-visible,
.eos-watch--cinema .eos-chat-mode-btn:focus-visible { outline: 2px solid var(--gold-ink, #7E560F); outline-offset: 2px; border-radius: 8px; }
[data-theme="dark"] .eos-watch--cinema .eos-side-tab:focus-visible,
[data-theme="dark"] .eos-watch--cinema .eos-chat-mode-btn:focus-visible { outline-color: #E7B24B; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .eos-watch--cinema .eos-side-tab:focus-visible,
  :root:not([data-theme="light"]) .eos-watch--cinema .eos-chat-mode-btn:focus-visible { outline-color: #E7B24B; }
}

/* Honor prefers-reduced-motion: stop the looping/infinite chrome animations
   (live pulse, hub glow, off-air orb drift, presence ring, notes-detach pulse)
   while leaving hover transitions intact. */
@media (prefers-reduced-motion: reduce){
  .eos-watch--cinema *, .eos-watch--cinema *::before, .eos-watch--cinema *::after,
  .eos-player-offair *, .eos-player-offair *::before, .eos-player-offair *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
 * v2.17.0 — reactions usable on TOUCH + clip-aware popovers.
 * The unified toolbar was hover/focus-only (opacity:0, pointer-events:none),
 * and .is-pop had a reveal rule but no writer — on a phone there was NO way
 * to reach React/Reply at all. chat.js already toggles .is-actions on tap;
 * honor it here, enlarge targets for coarse pointers, and let the popovers
 * flip when the stream edge would clip them (classes set in watch-controls.js).
 * ============================================================ */
.eos-watch--cinema .eos-chat-msg.is-actions .eos-cn-mtools { opacity: 1; transform: none; pointer-events: auto; }
@media (pointer: coarse) {
  .eos-watch--cinema .eos-cn-mtools .eos-cn-mbtn,
  .eos-watch--cinema .eos-cn-mtools .eos-chat-action { width: 40px; height: 40px; min-width: 40px; }
  .eos-watch--cinema .eos-cn-quickpop .eos-chat-react-q,
  .eos-watch--cinema .eos-cn-quickpop .eos-chat-react-more { width: 40px; height: 40px; font-size: 21px; }
}
.eos-watch--cinema .eos-cn-quickpop.drop { bottom: auto; top: calc(100% + 6px); }
.eos-watch--cinema .eos-cn-mmore.rise   { top: auto; bottom: calc(100% + 6px); }
