/* NOKOR REUNG v500 — Telegram logo anchored to the User end of the
   glass navigation bar on phones; adjacent to Account on desktop.
   This never changes movie progress, purchase data or dock navigation. */
.nr-telegram-open{
  box-sizing:border-box;
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  padding:0;
  border-radius:50%;
  border:1.5px solid rgba(245,204,103,.8);
  background:linear-gradient(145deg,#2bade7 0%,#1586ca 100%);
  box-shadow:0 6px 16px rgba(0,0,0,.40),0 0 0 2px rgba(13,18,28,.55),inset 0 1px rgba(255,255,255,.2);
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  flex:0 0 40px;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.nr-telegram-open svg{
  display:block;
  width:21px;
  height:21px;
  flex:none;
  pointer-events:none;
}
.nr-telegram-open:hover{
  border-color:#ffda75;
  box-shadow:0 7px 18px rgba(0,0,0,.45),0 0 0 3px rgba(255,199,44,.15);
}
.nr-telegram-open:focus-visible{
  outline:2px solid #ffc72c;
  outline-offset:3px;
}
.nr-telegram-dock{display:none}
.topbar .nr-telegram-desktop{
  display:inline-grid;
  flex:0 0 38px;
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  margin-right:2px;
  background:linear-gradient(145deg,rgba(40,130,191,.34),rgba(17,36,56,.9));
  border:1px solid rgba(70,164,223,.65);
  box-shadow:0 4px 12px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.09);
  color:#5ac3fc;
}
@media(max-width:900px){
  .topbar .nr-telegram-desktop{display:none!important}
  html[data-nr-nav="v429"] #nr-main-dock{
    overflow:visible!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>.nr-telegram-dock{
    display:grid!important;
    position:absolute!important;
    z-index:15!important;
    right:0px!important;
    bottom:calc(100% + 10px)!important;
    top:auto!important;
    left:auto!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    padding:0!important;
    margin:0!important;
    border-radius:50%!important;
    box-shadow:0 6px 17px rgba(0,0,0,.4),0 0 0 2px rgba(17,22,29,.8)!important;
    transform:none!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-state="compact"]>.nr-telegram-dock{
    right:-12px!important;
    bottom:calc(100% + 10px)!important;
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
    min-height:37px!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>.nr-telegram-dock svg{
    width:21px!important;
    height:21px!important;
    color:white!important;
  }
}
/* Keep the compact badge fully within the viewport on small iPhones. */
@media(max-width:360px){
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-state="compact"]>.nr-telegram-dock{
    right:3px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .nr-telegram-open{transition:none}
}
