.lf-theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    padding: 0;
    place-items: center;
    flex: 0 0 42px;
    color: #17213a;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #d8e0ed;
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.lf-theme-toggle:hover {
    color: #1d5ed8;
    border-color: #9bb5e5;
    transform: translateY(-1px);
}

.lf-theme-toggle:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

.lf-theme-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme="light"] .lf-theme-icon-sun,
[data-theme="dark"] .lf-theme-icon-moon {
    display: none;
}

[data-theme="dark"] .lf-theme-toggle {
    color: #f1f5f9;
    background: rgba(30, 41, 59, .94);
    border-color: rgba(148, 163, 184, .32);
    box-shadow: 0 8px 22px rgba(2, 6, 23, .34);
}

[data-theme="dark"] .lf-theme-toggle:hover {
    color: #93c5fd;
    border-color: rgba(96, 165, 250, .58);
}
