/* ================================================================
   topbar-display.css — Display client topbar (lightweight variant).
   No language picker, no geo banner — just brand + refresh timer.
   Used by displayClient/index.php and statusBouncer.
   ================================================================ */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 1.05rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-origin: top left;
    transform: scale(var(--header-scale));
    width: calc(100% / var(--header-scale));
}
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.topbar-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background:
        radial-gradient(ellipse 100% 20% at 50% 38%, #36424e 0%, transparent 70%),
        radial-gradient(ellipse 80% 15% at 50% 72%, #161c22 0%, transparent 65%),
        linear-gradient(158deg, #1a2028 0%, #28333e 38%, #151b22 65%, #202830 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.topbar-icon svg { width: 18px; height: 18px; }
.topbar-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}
.topbar-name {
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #e0e7ff, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.topbar-spacer {
    margin-left: auto;
}
.topbar-refresh {
    font-size: clamp(0.62rem, calc(0.72rem * var(--pair-font-scale)), 0.92rem);
    color: rgba(255, 255, 255, 0.42);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    max-width: 48vw;
    text-align: right;
    margin-left: auto;
    display: none;
}
