* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
}

/*
    Container cu inaltime fixa = MAX_H, pentru ca barile sa stea
    centrate vertical (align-items: center) indiferent de inaltime.
    Asa centrul vizual ramane fix pe ecran.
*/
.loader {
    display: none;
    position: fixed;
    bottom: 120px;                /* ~150px centru vizual */
    left: 50%;
    transform: translateX(-50%);
    height: 60px;                 /* MAX_H - trebuie sincronizat cu JS */
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #f2f2f2;
    z-index: 9999;
}

.loader.visible {
    display: flex;
}

.bar {
    width: 8px;
    height: 4px;                  /* default min */
    border-radius: 4px;
    background: currentColor;
    /* JS seteaza height inline frame-by-frame */
}