.theme{--at:0;background:var(--tray);box-shadow:inset 0 0 0 1px var(--line);border-radius:999px;padding:3px;display:flex;position:relative}:root[data-theme=light] .theme{--at:1}:root[data-theme=dark] .theme{--at:2}.theme:before{content:"";background:var(--card);width:30px;height:30px;box-shadow:var(--raised);transform:translateX(calc(var(--at) * 30px));transition:transform .25s var(--ease);border-radius:999px;position:absolute;top:3px;left:3px}.theme button{width:30px;height:30px;color:var(--faint);cursor:pointer;transition:color .16s ease, transform .16s var(--ease);background:0 0;border:0;border-radius:999px;place-items:center;display:grid;position:relative}:root:not([data-theme]) .theme button:first-child,:root[data-theme=light] .theme button:nth-child(2),:root[data-theme=dark] .theme button:nth-child(3){color:var(--ink)}.theme button:active{transform:scale(.9)}.theme svg{width:16px;height:16px}@media (hover:hover){.theme button:hover{color:var(--ink)}}
