
/* Cinento v2.21 — TV Account dropdown final fix: same-side menu, no off-screen flyout */
html.tv-mode #topHeader .cinento-account-slot,
html.tv-mode #topHeader [data-cinento-account-slot],
html.tv-mode #cinentoPageHeader .cinento-account-slot,
html.tv-mode #cinentoPageHeader [data-cinento-account-slot]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  align-self:stretch!important;
  overflow:visible!important;
  position:relative!important;
  direction:ltr!important;
  text-align:left!important;
}
html.tv-mode #topHeader .cinento-account-trigger,
html.tv-mode #topHeader [data-cinento-account-slot] .cinento-account-trigger,
html.tv-mode #topHeader [data-cinento-account-slot] button[data-account-toggle],
html.tv-mode #cinentoPageHeader .cinento-account-trigger,
html.tv-mode #cinentoPageHeader [data-cinento-account-slot] .cinento-account-trigger,
html.tv-mode #cinentoPageHeader [data-cinento-account-slot] button[data-account-toggle]{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  min-height:38px!important;
  height:auto!important;
  padding:8px 10px!important;
  text-align:left!important;
  direction:ltr!important;
  border-radius:13px!important;
  overflow:visible!important;
}
html.tv-mode #topHeader .cinento-account-trigger .cinento-account-icon,
html.tv-mode #cinentoPageHeader .cinento-account-trigger .cinento-account-icon{
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  flex:0 0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  place-items:unset!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  visibility:visible!important;
  position:static!important;
  color:inherit!important;
}
html.tv-mode #topHeader .cinento-account-trigger .cinento-account-icon i,
html.tv-mode #cinentoPageHeader .cinento-account-trigger .cinento-account-icon i{
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  font-size:15px!important;
  line-height:1!important;
  color:inherit!important;
}
html.tv-mode #topHeader .cinento-account-trigger .cinento-tv-label,
html.tv-mode #cinentoPageHeader .cinento-account-trigger .cinento-tv-label{
  display:inline-block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  white-space:nowrap!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  color:inherit!important;
}
html.tv-mode #topHeader .cinento-account-trigger .cinento-account-status-dot,
html.tv-mode #cinentoPageHeader .cinento-account-trigger .cinento-account-status-dot{
  right:9px!important;
  left:auto!important;
  top:8px!important;
  bottom:auto!important;
}
/* Collapsed sidebar: only icon. The JS expands the sidebar before opening dropdown. */
html.tv-mode.tv-nav-collapsed #topHeader .cinento-account-slot,
html.tv-mode.tv-nav-collapsed #topHeader [data-cinento-account-slot],
html.tv-mode.tv-nav-collapsed #cinentoPageHeader .cinento-account-slot,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader [data-cinento-account-slot]{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  align-self:center!important;
  overflow:visible!important;
}
html.tv-mode.tv-nav-collapsed #topHeader .cinento-account-trigger,
html.tv-mode.tv-nav-collapsed #topHeader [data-cinento-account-slot] .cinento-account-trigger,
html.tv-mode.tv-nav-collapsed #topHeader [data-cinento-account-slot] button[data-account-toggle],
html.tv-mode.tv-nav-collapsed #cinentoPageHeader .cinento-account-trigger,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader [data-cinento-account-slot] .cinento-account-trigger,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader [data-cinento-account-slot] button[data-account-toggle]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  gap:0!important;
  text-align:center!important;
}
html.tv-mode.tv-nav-collapsed #topHeader .cinento-account-trigger .cinento-tv-label,
html.tv-mode.tv-nav-collapsed #topHeader .cinento-account-trigger .cinento-account-status-dot,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader .cinento-account-trigger .cinento-tv-label,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader .cinento-account-trigger .cinento-account-status-dot{
  display:none!important;
}
html.tv-mode.tv-nav-collapsed #topHeader .cinento-account-trigger .cinento-account-icon,
html.tv-mode.tv-nav-collapsed #cinentoPageHeader .cinento-account-trigger .cinento-account-icon{
  flex:0 0 22px!important;
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
}
/* Dropdown must live under the Account button inside the TV sidebar, not fixed outside screen. */
html.tv-mode #topHeader .cinento-account-slot.open .cinento-account-menu,
html.tv-mode #topHeader [data-cinento-account-slot].open .cinento-account-menu,
html.tv-mode #cinentoPageHeader .cinento-account-slot.open .cinento-account-menu,
html.tv-mode #cinentoPageHeader [data-cinento-account-slot].open .cinento-account-menu{
  position:static!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:8px 0 0!important;
  padding:8px!important;
  border-radius:16px!important;
  max-height:calc(100dvh - 360px)!important;
  overflow:auto!important;
  z-index:99999!important;
  background:linear-gradient(180deg,rgba(8,13,22,.98),rgba(3,7,13,.98))!important;
  border:1px solid rgba(103,232,249,.18)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.36)!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-card-head,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-card-head{
  padding:6px 6px 8px!important;
  margin-bottom:6px!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-kicker,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-kicker{
  font-size:8px!important;
  letter-spacing:.14em!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-name,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-name{
  font-size:12px!important;
  line-height:1.18!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-sub,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-sub{
  font-size:10px!important;
  line-height:1.35!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-link,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-link{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-height:34px!important;
  padding:8px 9px!important;
  border-radius:12px!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
  justify-content:stretch!important;
}
html.tv-mode #topHeader .cinento-account-menu .cinento-account-link i,
html.tv-mode #cinentoPageHeader .cinento-account-menu .cinento-account-link i{
  font-size:12px!important;
  min-width:16px!important;
}
html.tv-mode.light-mode #topHeader .cinento-account-slot.open .cinento-account-menu,
html.tv-mode.light-mode #topHeader [data-cinento-account-slot].open .cinento-account-menu,
html.tv-mode.light-mode #cinentoPageHeader .cinento-account-slot.open .cinento-account-menu,
html.tv-mode.light-mode #cinentoPageHeader [data-cinento-account-slot].open .cinento-account-menu{
  background:rgba(255,255,255,.97)!important;
  border-color:rgba(15,23,42,.12)!important;
  box-shadow:0 18px 44px rgba(15,23,42,.14)!important;
}
