/* Açık/koyu tema düğmesi — üç tasarımda ortak */
.tema-dugme{width:42px;height:42px;border-radius:50%;border:1px solid currentColor;background:none;color:inherit;cursor:pointer;display:grid;place-items:center;position:relative;flex:none;opacity:.85;transition:opacity .25s,transform .3s,border-color .3s}
.tema-dugme:hover{opacity:1}.tema-dugme:active{transform:scale(.92)}
.tema-dugme svg{grid-area:1/1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .35s}
.tema-dugme .gunes{opacity:0;transform:rotate(-90deg) scale(.5)}
html[data-tema="koyu"] .tema-dugme .ay{opacity:0;transform:rotate(90deg) scale(.5)}
html[data-tema="koyu"] .tema-dugme .gunes{opacity:1;transform:none}
@media (max-width:980px){.tema-dugme{width:46px;height:46px}}
/* dairesel geçiş: yalnız tema değişirken; sayfa geçişlerine dokunmaz */
html.tema-gecis::view-transition-old(root),html.tema-gecis::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.tema-gecis::view-transition-group(*){animation-duration:0s}
html[data-tema="koyu"]{color-scheme:dark}
