/* Window controls — approved B variant.
 * Keep the existing titlebar, button geometry, light theme and font icons intact.
 * The existing three font glyphs already share the same vertical center.
 */
:root.dark .window > .titbar > div > .wbtg {
    background-color: transparent;
    color: #e1dce7;
    text-shadow: none;
}

:root.dark .window > .titbar > div > .wbtg.red {
    color: #ffdae3;
}

:root.dark .window > .titbar > div > .wbtg:hover {
    background-color: rgba(255, 255, 255, 0.09);
    color: #f5f5f7;
}

:root.dark .window > .titbar > div > .wbtg:active {
    background-color: rgba(255, 255, 255, 0.16);
    color: #f5f5f7;
    opacity: 1;
}

:root.dark .window > .titbar > div > .wbtg.red:hover {
    background-color: #b84b65;
    color: #fff;
}

:root.dark .window > .titbar > div > .wbtg.red:active {
    background-color: #9d3c55;
    color: #fff;
}
