/* ATREYA APPEARANCE CONTROL R12
   One working light/dark control across public, auth and app zones. */
#themeToggle,
#atreyaUniversalThemeToggle,
#atreyaCommonThemeToggle,
.atreya-universal-theme-toggle,
.atreya-common-theme-toggle,
#atreyaUniversalThemeControlR10R3A{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

#atreyaAppearanceR12{
  position:fixed!important;
  right:14px!important;
  bottom:14px!important;
  right:max(14px,env(safe-area-inset-right))!important;
  bottom:max(14px,env(safe-area-inset-bottom))!important;
  z-index:2147483000!important;
  min-width:118px!important;
  height:52px!important;
  padding:5px 16px 5px 7px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  touch-action:manipulation!important;
  font:700 13px/1 Arial,"Noto Sans Devanagari","Noto Sans Telugu",sans-serif!important;
  white-space:nowrap!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease!important;
}
#atreyaAppearanceR12:hover{transform:translateY(-1px)}
#atreyaAppearanceR12:active{transform:translateY(0)}
#atreyaAppearanceR12:focus-visible{outline:3px solid rgba(236,168,45,.35)!important;outline-offset:3px!important}
#atreyaAppearanceR12 .atreya-appearance-r12-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  font:700 20px/1 Georgia,serif!important;
}
html[data-theme="light"] #atreyaAppearanceR12{
  border:1px solid #d8ad61!important;
  background:rgba(255,252,246,.98)!important;
  color:#4b321f!important;
  box-shadow:0 10px 28px rgba(67,42,11,.13)!important;
}
html[data-theme="light"] #atreyaAppearanceR12 .atreya-appearance-r12-icon{
  background:#082749!important;
  color:#f4c658!important;
  border:1px solid #153c66!important;
}
html[data-theme="dark"] #atreyaAppearanceR12{
  border:1px solid #b88634!important;
  background:rgba(5,18,36,.97)!important;
  color:#f4ead6!important;
  box-shadow:0 12px 30px rgba(0,0,0,.34)!important;
}
html[data-theme="dark"] #atreyaAppearanceR12 .atreya-appearance-r12-icon{
  background:#f2b83f!important;
  color:#08213f!important;
  border:1px solid #f0ca73!important;
}
@media(max-width:520px){
  #atreyaAppearanceR12{
    right:10px!important;
    bottom:10px!important;
    right:max(10px,env(safe-area-inset-right))!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
    min-width:48px!important;
    width:48px!important;
    height:48px!important;
    padding:5px!important;
  }
  #atreyaAppearanceR12 .atreya-appearance-r12-label{display:none!important}
  #atreyaAppearanceR12 .atreya-appearance-r12-icon{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){
  #atreyaAppearanceR12{transition:none!important}
}
