/* Milotche Timer – Frontend Styles */
.mlt-timer {
    --mlt-color: #ffffff;
    color: var(--mlt-color);
    font-family: inherit;
    text-align: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.mlt-timer .mlt-label {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: .04em;
    color: var(--mlt-color);
}

.mlt-timer .mlt-expired-msg {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mlt-color);
}

/* ── Shared blocks layout ── */
.mlt-timer .mlt-blocks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.mlt-timer .mlt-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.mlt-timer .mlt-num {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--mlt-color);
}

.mlt-timer .mlt-unit {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: .25rem;
    color: var(--mlt-color);
    opacity: .75;
}

/* ── Classic ── */
.mlt-classic .mlt-separator {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--mlt-color);
    opacity: .4;
    margin-bottom: 1.2rem;
    align-self: flex-start;
    padding-top: .15rem;
}

/* ── Modern (cards) ── */
.mlt-modern .mlt-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: .6rem 1rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mlt-modern .mlt-block {
    gap: .5rem;
}

/* ── Minimal (inline) ── */
.mlt-minimal .mlt-inline {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: .15rem;
    flex-wrap: wrap;
}

.mlt-minimal .mlt-num {
    font-size: 2rem;
}

.mlt-minimal .mlt-unit {
    font-size: .85rem;
    margin: 0 .35rem 0 .05rem;
    opacity: .7;
}

.mlt-minimal .mlt-sep {
    display: none;
}

/* ── Neon ── */
.mlt-neon .mlt-num {
    font-size: 3rem;
    text-shadow:
        0 0 6px  var(--mlt-glow, rgba(255,255,255,.5)),
        0 0 20px var(--mlt-glow, rgba(255,255,255,.3));
}

.mlt-neon .mlt-neon-sep {
    font-size: 2.5rem;
    color: var(--mlt-color);
    opacity: .5;
    text-shadow: 0 0 8px var(--mlt-glow, rgba(255,255,255,.4));
    margin-bottom: 1.4rem;
    align-self: flex-start;
    padding-top: .2rem;
}

.mlt-neon {
    background: #0a0a0a;
    border-radius: 8px;
}

/* ── Elegant ── */
.mlt-elegant .mlt-blocks {
    gap: 0;
}

.mlt-elegant .mlt-block {
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255,255,255,.2);
}

.mlt-elegant .mlt-block:last-child {
    border-right: none;
}

.mlt-elegant .mlt-divider {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--mlt-color);
    opacity: .3;
    margin: .4rem auto;
}

.mlt-elegant .mlt-num {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: .05em;
}

.mlt-elegant .mlt-unit {
    font-size: .65rem;
    letter-spacing: .15em;
}

/* ── Error ── */
.milotche-timer-error {
    color: #c0392b;
    font-style: italic;
}

@media (max-width: 480px) {
    .mlt-timer .mlt-num { font-size: 2rem; }
    .mlt-elegant .mlt-block { padding: 0 .75rem; }
}
