/* Menu clock layout: icon + time + timezone abbreviation
 * Loaded after styles.css so we override the legacy block layout.
 */

.menu-clock {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    /* Keep the original absolute positioning from styles.css */
}

.menu-clock-icon {
    color: var(--primary);
    opacity: 0.85;
    font-size: 0.9em;
    align-self: center;
    line-height: 1;
}

.menu-clock-time {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
}

.menu-clock-tz {
    font-size: 0.72em;
    letter-spacing: 0.12em;
    color: var(--primary);
    opacity: 0.8;
    text-transform: uppercase;
}

.menu-clock-tz:empty {
    display: none;
}

/* Tablet */
@media (max-width: 900px) {
    .menu-clock {
        font-size: 1.05rem;
        gap: 0.35rem;
    }
}

/* Mobile - keep it compact but still readable next to other side-panel chrome */
@media (max-width: 600px) {
    .menu-clock {
        font-size: 0.95rem;
        top: 0.85rem;
        right: 0.85rem;
        gap: 0.3rem;
    }
    .menu-clock-tz {
        font-size: 0.68em;
        letter-spacing: 0.08em;
    }
}
