/* Botón sol / luna (compartido) */
.tema-btn{position:fixed;left:20px;bottom:22px;z-index:71;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:rgba(10,15,45,.7);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);transition:transform .3s cubic-bezier(.16,1,.3,1),background .3s;color:#FCCF00;overflow:hidden}
.tema-btn:hover{transform:scale(1.08) rotate(-8deg)}
.tema-btn svg{position:absolute;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .3s}
.tema-btn .sol{transform:translateY(130%) rotate(-90deg);opacity:0}
.tema-btn .luna{fill:currentColor;stroke:none}
[data-tema="claro"] .tema-btn{background:rgba(255,255,255,.9);border-color:rgba(30,48,94,.14);box-shadow:0 12px 30px rgba(30,48,94,.18);color:#E08A00}
[data-tema="claro"] .tema-btn .luna{transform:translateY(-130%) rotate(90deg);opacity:0}
[data-tema="claro"] .tema-btn .sol{transform:none;opacity:1}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
@media (max-width:640px){.tema-btn{left:14px;bottom:76px;width:44px;height:44px}}
