/* Tombol ganti tema & transisi pergantian (dibutuhkan juga di mode terang) */
html.theme-switching,html.theme-switching *,html.theme-switching *::before,html.theme-switching *::after{transition: background-color 0.35s ease,color 0.35s ease,border-color 0.35s ease,fill 0.35s ease !important}
::view-transition-old(root),::view-transition-new(root){animation: none;mix-blend-mode: normal}
::view-transition-new(root){animation: ifx-theme-reveal 0.6s cubic-bezier(0.22,0.61,0.36,1)}
@keyframes ifx-theme-reveal {
    from{clip-path: circle(0 at var(--tt-x,50%) var(--tt-y,0))}
    to{clip-path: circle(var(--tt-r,150vmax) at var(--tt-x,50%) var(--tt-y,0))}
}
.nv-theme-btn{overflow: hidden}
.nv-theme-btn i{position: absolute;transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),opacity 0.3s}
.nv-theme-btn .fa-sun{transform: translateY(140%) rotate(-90deg);opacity: 0;color: #fbbf24}
.nv-theme-btn .fa-moon{transform: none;opacity: 1}
html[data-theme="dark"] .nv-theme-btn .fa-sun{transform: none;opacity: 1}
html[data-theme="dark"] .nv-theme-btn .fa-moon{transform: translateY(-140%) rotate(90deg);opacity: 0}
html[data-theme="dark"] .nv-theme-btn{box-shadow: inset 0 0 0 1px rgba(251,191,36,0.25)}
html[data-theme="dark"] .nv-theme-btn:hover{background: rgba(251,191,36,0.12) !important}
.ifx-theme-fab{position: fixed;right: 16px;bottom: 16px;z-index: 9999;width: 46px;height: 46px;border-radius: 50%;border: 1px solid rgba(15,23,42,0.1);background: #fff;color: #0f172a;box-shadow: 0 10px 24px -8px rgba(15,23,42,0.35);display: inline-flex;align-items: center;justify-content: center;cursor: pointer;font-size: 1.05rem}
html[data-theme="dark"] .ifx-theme-fab{background: var(--dk-elev);color: #fbbf24;border-color: var(--dk-line-strong)}
