/* ============================================================================
 * voice-live.css — Live voice (Gemini Live) full-screen experience.
 *
 * A clean, monochrome particle sphere on deep-space black. No neon, no colored
 * glow — just soft white stars that expand and scatter with the live audio
 * energy (tight/dense when quiet, a shimmering cloud when speaking). This file
 * styles the surrounding chrome; the sphere itself is drawn by voice-client.js
 * onto #voice-live-canvas.
 * ========================================================================== */

.voice-assist.voice-live-panel {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    background: #000;              /* deep space black */
    color: #ededf0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.5%);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.voice-assist.voice-live-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease;
}

.voice-live-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

/* ── Top bar ──────────────────────────────────────────────────────────────*/
.voice-live-topbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.voice-live-icon-btn {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-width: 30px;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0;
    line-height: 1;
    overflow: hidden;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, .06);
    color: #d4d4d8;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}
.voice-live-icon-btn:hover { background: rgba(255, 255, 255, .12); }
.voice-live-icon-btn:active { transform: scale(.94); }
.voice-live-icon-btn .material-symbols-rounded { font-size: 18px; line-height: 1; }

.voice-live-meta { display: flex; align-items: center; gap: 10px; }
.voice-live-spacer { flex: 1; }

.voice-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a1a1aa;
}
.voice-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4f;
    animation: voiceLivePulse 1.8s ease-out infinite;
}
@keyframes voiceLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, .5); }
    70% { box-shadow: 0 0 0 7px rgba(255, 77, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}
.voice-live-timer {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    color: #71717a;
}

/* ── Stage (sphere on canvas; caption sits low + compact) ──────────────────*/
.voice-live-stage {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 4px;
    min-height: 0;
    pointer-events: none;
}
.voice-live-caption {
    max-width: 640px;
    width: 100%;
    max-height: 26vh;
    overflow: hidden;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.45;
    color: #d4d4d8;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 50%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3px;
}
.voice-live-caption .vc-line { transition: opacity .3s ease; }
.voice-live-caption .vc-user { color: #71717a; font-size: .92em; }
.voice-live-caption .vc-ai { color: #e4e4e7; }
.voice-live-caption .vc-partial { opacity: .55; }

/* ── Bottom controls ───────────────────────────────────────────────────────*/
.voice-live-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    padding: 6px 16px calc(22px + env(safe-area-inset-bottom, 0px));
}
.voice-live-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .07);
    font-size: 12.5px;
    color: #a1a1aa;
    max-width: 90vw;
}
.voice-live-tool[hidden] { display: none; }
.voice-live-tool-spinner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .2);
    border-top-color: #d4d4d8;
    animation: voiceLiveSpin .8s linear infinite;
    flex: none;
}
@keyframes voiceLiveSpin { to { transform: rotate(360deg); } }

.voice-live-status {
    font-size: 13.5px;
    font-weight: 500;
    color: #a1a1aa;
    min-height: 18px;
    text-align: center;
    letter-spacing: .01em;
}

.voice-live-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 1px;
}
.voice-live-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #ededf0;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, border-color .2s ease, opacity .2s ease;
}
.voice-live-round:hover { background: rgba(255, 255, 255, .13); }
.voice-live-round:active { transform: scale(.93); }
.voice-live-round:disabled { opacity: .4; cursor: default; }
.voice-live-round .material-symbols-rounded { font-size: 25px; }
.voice-live-round.is-muted {
    background: rgba(255, 77, 79, .14);
    border-color: rgba(255, 77, 79, .45);
    color: #ff8082;
}
.voice-live-round.voice-live-end {
    background: #ff4d4f;
    border-color: #ff4d4f;
    color: #fff;
    width: 58px;
    height: 58px;
}
.voice-live-round.voice-live-end:hover { background: #ff3538; }

/* ── Sleeping state (dozing until wake word) ───────────────────────────────*/
.voice-assist.voice-live-panel.sleeping .voice-live-canvas { opacity: .35; transition: opacity .5s ease; }
.voice-assist.voice-live-panel.sleeping .voice-live-status { color: #818188; }
.voice-live-round.is-wake {
    background: rgba(120, 170, 255, .16);
    border-color: rgba(120, 170, 255, .45);
    color: #cbd9ff;
}

/* ══════════════════════════════════════════════════════════════════════════
 *  Voice-controlled media window (video / images / article)
 * ════════════════════════════════════════════════════════════════════════ */
.voice-live-media {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    bottom: 150px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    pointer-events: none;
}
.voice-live-media[hidden] { display: none; }
.vlm-card {
    pointer-events: auto;
    width: min(720px, 96%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(18, 18, 20, .92);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    animation: vlmIn .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes vlmIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.vlm-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.vlm-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vlm-close {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 26px !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-width: 26px;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0;
    line-height: 1;
    overflow: hidden;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #d4d4d8;
    cursor: pointer;
}
.vlm-close:hover { background: rgba(255, 255, 255, .12); }
.vlm-close .material-symbols-rounded { font-size: 15px; line-height: 1; }

/* Graceful empty/failure note inside the media window. */
.vlm-note {
    padding: 26px 18px;
    text-align: center;
    color: #a1a1aa;
    font-size: 14px;
}

.vlm-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Video */
.vlm-video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vlm-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlm-suglist {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.vlm-sug {
    flex: 0 0 auto;
    width: 150px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
    border: 1px solid transparent;
    transition: border-color .15s ease, transform .15s ease;
}
.vlm-sug:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.vlm-sug img { width: 100%; height: 84px; object-fit: cover; display: block; background: #111; }
.vlm-sug span { display: block; padding: 6px 8px; font-size: 11.5px; line-height: 1.3; color: #c7c7cc; max-height: 46px; overflow: hidden; }

/* Images */
.vlm-imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 10px;
}
.vlm-imgs a { display: block; border-radius: 8px; overflow: hidden; background: #111; }
.vlm-imgs img { width: 100%; height: 110px; object-fit: cover; display: block; }

/* Article */
.vlm-article { padding: 14px 16px 20px; }
.vlm-article .vlm-hero { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.vlm-article .vlm-src { display: inline-block; font-size: 12px; color: #8aa6ff; margin-bottom: 10px; text-decoration: none; word-break: break-all; }
.vlm-article .vlm-text { font-size: 14px; line-height: 1.6; color: #d4d4d8; }
.vlm-article .vlm-text h1, .vlm-article .vlm-text h2, .vlm-article .vlm-text h3 { color: #ededf0; font-size: 1.05em; margin: 14px 0 6px; }
.vlm-article .vlm-text a { color: #8aa6ff; }
.vlm-article .vlm-text img { max-width: 100%; border-radius: 8px; }

/* Open-in-tab fallback (when the popup blocker stops auto-open) */
.vlm-openlink { padding: 22px 18px; text-align: center; }
.vlm-openlink p { color: #a1a1aa; font-size: 14px; margin: 0 0 14px; }
.vlm-openbtn {
    display: inline-block;
    max-width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    background: #8aa6ff;
    color: #0a0a0b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    word-break: break-all;
}
.vlm-openbtn:hover { background: #9db4ff; }

/* ── While a live call is active, the composer + model picker are inert ────*/
body.live-voice-active .typing-area,
body.live-voice-active #model-selector { pointer-events: none; opacity: .5; }
body.live-voice-active .typing-input { cursor: not-allowed; }
.message.incoming .voice-reply { display: block; }
/* Voice replies never show the copy / read-aloud / regenerate / rate bar. */
.message.voice-msg .message-actions { display: none !important; }

/* Camera self-view (vision mode) */
.voice-live-selfview {
    position: absolute;
    top: 56px;
    right: 14px;
    width: 108px;
    height: 148px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #111;
    z-index: 3;
    transform: scaleX(-1);   /* mirror like a selfie */
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
.voice-live-selfview[hidden] { display: none; }
/* Screen-share preview: not mirrored, landscape, letterboxed. */
.voice-live-selfview.is-screen {
    transform: none;
    object-fit: contain;
    background: #000;
    width: 176px;
    height: 108px;
}
.voice-live-round.is-on {
    background: rgba(120, 170, 255, .16);
    border-color: rgba(120, 170, 255, .5);
    color: #cbd9ff;
}

/* Study answer / notes window (Markdown + MathJax + chart) */
.vlm-answer { font-size: 15px; line-height: 1.6; color: #e4e4e7; }
.vlm-answer h1, .vlm-answer h2, .vlm-answer h3 { color: #f4f4f5; font-size: 1.05em; margin: 14px 0 6px; }
.vlm-answer p { margin: 8px 0; }
.vlm-answer ol, .vlm-answer ul { padding-left: 20px; margin: 8px 0; }
.vlm-answer li { margin: 4px 0; }
.vlm-answer code { background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 5px; font-size: .9em; }
.vlm-answer pre { background: rgba(255,255,255,.05); padding: 10px 12px; border-radius: 10px; overflow-x: auto; }
.vlm-answer mjx-container { color: #f4f4f5; }
.vlm-chart { padding: 6px 0 2px; }
.vlm-chart svg { display: block; width: 100%; height: auto; }

@media (max-width: 600px) {
    .voice-live-selfview { width: 84px; height: 116px; top: 50px; right: 10px; }
    .voice-live-selfview.is-screen { width: 132px; height: 82px; }
}

/* Respect reduced-motion */
body.pref-reduce-motion .voice-live-dot,
body.pref-reduce-motion .voice-live-tool-spinner,
body.pref-reduce-motion .vlm-card { animation: none; }

/* ── Mobile ─────────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {
    .voice-live-round { width: 52px; height: 52px; }
    .voice-live-round.voice-live-end { width: 56px; height: 56px; }
    .voice-live-caption { font-size: 14.5px; max-height: 24vh; }
    .voice-live-media { top: 50px; bottom: 138px; padding: 6px 10px; }
    .vlm-card { width: 100%; border-radius: 16px; }
    .vlm-imgs { grid-template-columns: repeat(2, 1fr); }
    .vlm-imgs img { height: 120px; }
    .vlm-sug { width: 132px; }
}

/* ============================================================================
 * CALL SETTINGS SHEET — voice + tool capabilities
 *
 * Anchored under the top-right button rather than centred, so it reads as
 * belonging to that control and never covers the sphere or the captions. On
 * narrow screens it becomes a bottom sheet, where a floating panel pinned to a
 * corner would be unreachable one-handed.
 * ========================================================================== */
.vls-sheet {
    position: absolute;
    z-index: 6;
    top: 54px;
    right: 14px;
    width: min(360px, calc(100vw - 28px));
    max-height: min(72vh, 560px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: rgba(20, 20, 23, .96);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
    animation: vlsIn .16s ease;
}

.vls-sheet[hidden] { display: none; }

@keyframes vlsIn {
    from { opacity: 0; transform: translateY(-6px) scale(.985); }
}

.vls-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.vls-head-copy { flex: 1; min-width: 0; }
.vls-head h3 { margin: 0; font-size: 14.5px; font-weight: 650; color: #ededf0; }
.vls-sub { margin: 2px 0 0; font-size: 11.5px; color: #8b8b93; }

/* Lock banner, shown once the conversation has begun. */
.vls-locked {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 14px 0;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(251, 191, 36, .10);
    border: 1px solid rgba(251, 191, 36, .26);
    color: #fcd77f;
    font-size: 12px;
    line-height: 1.45;
}

.vls-locked[hidden] { display: none; }
.vls-locked .material-symbols-rounded { font-size: 16px; flex: 0 0 auto; margin-top: 1px; }

.vls-body { overflow-y: auto; padding: 12px 14px 16px; }

.vls-section + .vls-section { margin-top: 18px; }

.vls-section > h4,
.vls-section-head > h4 {
    margin: 0 0 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #71717a;
}

.vls-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.vls-section-head > h4 { margin-bottom: 0; }
.vls-bulk { display: flex; gap: 4px; }

.vls-linkbtn {
    border: 0;
    background: transparent;
    color: #8aa6ff;
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    cursor: pointer;
}

.vls-linkbtn:hover { background: rgba(138, 166, 255, .12); }

.vls-hint {
    margin: 8px 0 10px;
    font-size: 11.5px;
    line-height: 1.5;
    color: #71717a;
}

/* ── Voice picker ────────────────────────────────────────────────────────── */
/* A scrollable list, not a <select>: 30 voices with a character descriptor each
   are far easier to scan as rows, and the current one stays visible. */
.vls-voices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: 208px;
    overflow-y: auto;
    padding-right: 2px;
}

.vls-voice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    color: #d4d4d8;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: background .14s ease, border-color .14s ease;
}

.vls-voice:hover { background: rgba(255, 255, 255, .07); }

.vls-voice[aria-checked="true"] {
    border-color: rgba(138, 166, 255, .55);
    background: rgba(138, 166, 255, .13);
    color: #fff;
}

.vls-voice-copy { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.vls-voice-name { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vls-voice-desc { font-size: 10.5px; color: #8b8b93; }
.vls-voice[aria-checked="true"] .vls-voice-desc { color: #b9c6f0; }

.vls-voice-check {
    margin-left: auto;
    font-size: 16px !important;
    opacity: 0;
    color: #8aa6ff;
    flex: 0 0 auto;
}

.vls-voice[aria-checked="true"] .vls-voice-check { opacity: 1; }

/* ── Tool toggles ────────────────────────────────────────────────────────── */
.vls-tools { display: flex; flex-direction: column; gap: 5px; }

.vls-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: #d4d4d8;
    transition: background .14s ease, border-color .14s ease;
}

.vls-tool:hover { background: rgba(255, 255, 255, .07); }

.vls-tool-ico {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: #a1a1aa;
    font-size: 16px !important;
}

.vls-tool[aria-pressed="true"] .vls-tool-ico { background: rgba(138, 166, 255, .18); color: #8aa6ff; }

.vls-tool-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vls-tool-label { font-size: 12.5px; font-weight: 600; }
.vls-tool-desc { font-size: 10.5px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Switch affordance. A real toggle reads better than a checkmark here because
   these are on/off capabilities rather than a single choice. */
.vls-switch {
    flex: 0 0 auto;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    position: relative;
    transition: background .16s ease;
}

.vls-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d4d4d8;
    transition: transform .16s ease, background .16s ease;
}

.vls-tool[aria-pressed="true"] .vls-switch { background: rgba(138, 166, 255, .85); }
.vls-tool[aria-pressed="true"] .vls-switch::after { transform: translateX(14px); background: #fff; }

/* Locked state: visibly inert, still readable. */
.vls-sheet.is-locked .vls-voice,
.vls-sheet.is-locked .vls-tool,
.vls-sheet.is-locked .vls-linkbtn {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

/* The settings button gets a dot while the user has narrowed the tool set, so a
   reduced-capability call is never a silent surprise. */
#voice-live-settings-btn { position: relative; }

#voice-live-settings-btn.has-custom::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8aa6ff;
    box-shadow: 0 0 0 2px rgba(20, 20, 23, .9);
}

/* ── Narrow screens: bottom sheet ────────────────────────────────────────── */
@media (max-width: 560px) {
    .vls-sheet {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 76vh;
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        animation: vlsUp .18s ease;
    }

    @keyframes vlsUp {
        from { opacity: 0; transform: translateY(14px); }
    }

    .vls-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 30vh; }
}

@media (prefers-reduced-motion: reduce) {
    .vls-sheet { animation: none; }
}

/* Placeholder shown while the voice/tool catalogue is still arriving, or when the
   sheet is opened outside a call. Without a visible state here the panel opened
   empty, which was indistinguishable from the button being broken. */
.vls-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #8b8b93;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .10);
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
}

.spinner-dots::after {
    content: "";
    display: inline-block;
    width: 10px;
    text-align: left;
    animation: vlsDots 1.2s steps(4, end) infinite;
}

@keyframes vlsDots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
}
