.tema { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(18, 6, 28, 0.6); border: 1px solid rgba(255, 255, 255, 0.24); flex: none; }
.tema button { width: 40px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 99px; background: none; color: #fff; cursor: pointer; opacity: 0.72; transition: background 0.2s, opacity 0.2s; }
.tema button[aria-pressed="true"] { opacity: 1; background: linear-gradient(90deg, #a64dff, #ff2e9a); }
.tema button:focus-visible { outline: 2px solid #ffd24a; outline-offset: 2px; }
[data-tema="claro"] .tema { background: rgba(255, 255, 255, 0.72); border-color: rgba(74, 15, 99, 0.22); }
[data-tema="claro"] .tema button { color: #4b0f63; }
[data-tema="claro"] .tema button[aria-pressed="true"] { color: #fff; background: linear-gradient(90deg, #8a2be0, #d6146f); }
[data-tema="claro"] .tema button:focus-visible { outline-color: #4b0f63; }
