/* Bouton de bascule clair / sombre */
.tt{position:fixed;right:max(1rem,env(safe-area-inset-right,0px));bottom:max(1rem,env(safe-area-inset-bottom,0px));z-index:90;width:46px;height:46px;border-radius:50%;border:2px solid var(--ink);background:var(--card);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:3px 3px 0 var(--blue);transition:transform .15s,box-shadow .15s}
.tt:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--blue)}
.tt svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tt .sun{display:none}
:root[data-theme="dark"] .tt .moon{display:none}
:root[data-theme="dark"] .tt .sun{display:block}
@media(prefers-reduced-motion:reduce){.tt{transition:none}}
