/* ===== Violetos Meditacijų Namai – dizaino sistema ===== */
:root {
    --violet-deep: #7B5EA7;
    --violet-medium: #9B7BC7;
    --violet-light: #B794D4;
    --violet-pale: #EDE7F6;
    --violet-ultra-pale: #F8F5FC;
    --gold: #C9A227;
    --gold-light: #E8D48A;
    --gold-pale: #FBF5E0;
    --cream: #FFFBF5;
    --green: #6FA98A;
    --green-dark: #517E66;
    --text-primary: #2A2438;
    --text-secondary: #6B6478;
    --text-muted: #9A94A8;
    --white: #FFFFFF;
    --danger: #B85C5C;
    --shadow-soft: 0 4px 30px rgba(123, 94, 167, 0.08);
    --shadow-medium: 0 10px 40px rgba(123, 94, 167, 0.12);
    --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
@media (max-width: 768px) { html { font-size: 16px; } }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400; line-height: 1.65; color: var(--text-primary);
    background: linear-gradient(180deg, var(--cream) 0%, var(--violet-ultra-pale) 100%);
    min-height: 100vh; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--violet-deep); }
a { color: var(--violet-deep); }
strong { font-weight: 600; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 18px; }
.wrap-wide { max-width: 900px; margin: 0 auto; padding: 0 18px; }

/* ===== Viršutinė juosta ===== */
.topnav {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 251, 245, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--violet-pale);
}
.topnav-in { max-width: 900px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topnav .logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--violet-deep); text-decoration: none; white-space: nowrap; }
.topnav .logo small { display: block; font-family: 'Inter', sans-serif; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-top: -3px; }
.topnav-links { display: flex; gap: 4px; }
.topnav-links a {
    text-decoration: none; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    padding: 8px 14px; border-radius: 100px; transition: all 0.2s ease; white-space: nowrap;
}
.topnav-links a:hover { background: var(--violet-pale); color: var(--violet-deep); }
.topnav-links a.active { background: var(--violet-deep); color: var(--white); }
.topnav-links a .badge { background: var(--danger); color: #fff; font-size: 0.66rem; padding: 1px 6px; border-radius: 20px; vertical-align: 2px; margin-left: 3px; }
@media (max-width: 860px) { .topnav-links { display: none; } }

/* ===== Apatinė mobili navigacija ===== */
.bottomnav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: rgba(255, 251, 245, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--violet-pale);
    padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 860px) {
    .bottomnav { display: flex; }
    body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
}
.bottomnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    height: var(--nav-h); text-decoration: none; color: var(--text-muted); font-size: 0.64rem; font-weight: 600;
    position: relative;
}
.bottomnav a .ic { font-size: 1.35rem; line-height: 1; }
.bottomnav a.active { color: var(--violet-deep); }
.bottomnav a.active::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; background: var(--violet-deep); border-radius: 0 0 4px 4px; }
.bottomnav a .badge { position: absolute; top: 8px; right: calc(50% - 20px); background: var(--danger); color: #fff; font-size: 0.6rem; padding: 0 5px; border-radius: 20px; }

/* ===== Bendri elementai ===== */
.page { padding: 26px 0 60px; }
.page-title { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 0.3rem; }
.page-sub { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.4rem; }

.card {
    background: var(--white); border-radius: 20px; padding: 22px 24px;
    box-shadow: var(--shadow-soft); border: 1px solid var(--violet-pale); margin-bottom: 16px;
}
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet-medium) 100%);
    color: var(--white); padding: 14px 26px; font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 100px;
    border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(123, 94, 167, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(123, 94, 167, 0.35); }
.btn:disabled { opacity: 0.65; cursor: default; transform: none; }
.btn-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); box-shadow: 0 8px 20px rgba(81, 126, 102, 0.25); }
.btn-ghost { background: var(--white); color: var(--violet-deep); border: 1.5px solid var(--violet-pale); box-shadow: none; }
.btn-ghost:hover { border-color: var(--violet-medium); box-shadow: none; }
.btn-danger { background: var(--white); color: var(--danger); border: 1.5px solid #E8CFCF; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.field {
    width: 100%; padding: 15px 18px; border: 1.5px solid var(--violet-pale); border-radius: 14px;
    font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-primary);
    background: var(--violet-ultra-pale); transition: border-color 0.2s ease, box-shadow 0.2s ease; outline: none;
}
.field::placeholder { color: var(--text-muted); }
.field:focus { border-color: var(--violet-medium); box-shadow: 0 0 0 4px rgba(123, 94, 167, 0.12); }
textarea.field { resize: vertical; min-height: 90px; }
label.lbl { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin: 0 0 6px 4px; }

.msg { padding: 13px 18px; border-radius: 14px; font-size: 0.93rem; margin-bottom: 16px; }
.msg-ok { background: #EDF5F0; color: var(--green-dark); border: 1px solid #CDE3D7; }
.msg-err { background: #F9EDED; color: var(--danger); border: 1px solid #E8CFCF; }
.note { font-size: 0.82rem; color: var(--text-muted); }

/* ===== Prisijungimas ===== */
.auth-hero { text-align: center; padding: 44px 0 10px; }
.auth-hero .dove { font-size: 2rem; }
.auth-hero h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 6px 0 4px; }
.auth-hero p { color: var(--text-secondary); font-size: 0.98rem; max-width: 420px; margin: 0 auto; }
.auth-card { max-width: 440px; margin: 22px auto 0; }
.auth-alt { text-align: center; margin-top: 14px; }
.auth-alt button.linklike, .linklike {
    background: none; border: none; color: var(--violet-deep); font-size: 0.9rem;
    text-decoration: underline; cursor: pointer; font-family: inherit;
}

/* ===== Meditacijų sąrašas ===== */
.med-row {
    display: flex; align-items: center; gap: 14px; background: var(--white);
    border: 1px solid var(--violet-pale); border-radius: 18px; padding: 14px 16px;
    margin-bottom: 10px; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative; overflow: hidden;
}
.med-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.med-row .play {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-medium));
    color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
    box-shadow: 0 5px 12px rgba(123, 94, 167, 0.3);
}
.med-row .body { flex: 1; min-width: 0; }
.med-row .t { font-weight: 600; color: var(--text-primary); font-size: 0.98rem; line-height: 1.35; }
.med-row .meta { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.tag-gyvai { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--gold-light); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; padding: 1px 8px; border-radius: 20px; }
.med-row .fav { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--violet-light); padding: 6px; line-height: 1; }
.med-row .fav.on { color: var(--violet-deep); }
.med-row .prog { position: absolute; left: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--violet-medium), var(--violet-deep)); border-radius: 3px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.filters a {
    text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border-radius: 100px;
    background: var(--white); color: var(--text-secondary); border: 1.5px solid var(--violet-pale); transition: all 0.15s ease;
}
.filters a.active { background: var(--violet-deep); color: var(--white); border-color: var(--violet-deep); }
.search-row { display: flex; gap: 10px; }

.section-label { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin: 22px 0 10px 4px; }

/* ===== Meditacijos puslapis ===== */
.player-frame { position: relative; padding-top: 56.25%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-medium); background: var(--text-primary); margin-bottom: 14px; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.resume-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--violet-pale); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; font-size: 0.92rem;
}

/* ===== Komentarai ===== */
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--violet-pale); }
.comment:last-child { border-bottom: 0; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--violet-pale); color: var(--violet-deep); font-weight: 700; font-size: 0.95rem;
}
.avatar.vio { background: linear-gradient(135deg, var(--violet-deep), var(--violet-medium)); color: #fff; }
.comment .c-body { flex: 1; min-width: 0; }
.comment .c-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.comment .c-name { font-weight: 600; font-size: 0.92rem; }
.badge-vio { background: var(--violet-deep); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 1px 8px; border-radius: 20px; letter-spacing: 0.05em; }
.badge-cash { background: var(--gold-pale); color: var(--gold); font-size: 0.62rem; font-weight: 700; padding: 1px 8px; border-radius: 20px; letter-spacing: 0.05em; }
.badge-pin { color: var(--gold); font-size: 0.72rem; font-weight: 700; }
.comment .c-time { font-size: 0.74rem; color: var(--text-muted); }
.comment .c-text { font-size: 0.95rem; color: var(--text-primary); margin: 3px 0 6px; white-space: pre-line; overflow-wrap: break-word; }
.comment .c-actions { display: flex; gap: 14px; align-items: center; }
.comment .c-actions button { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 2px 0; }
.comment .c-actions button.liked { color: var(--violet-deep); }
.replies { margin-left: 26px; border-left: 2px solid var(--violet-pale); padding-left: 14px; }
.reply-box { margin: 8px 0 10px; }

/* ===== Kalendorius ===== */
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 6px 0; font-weight: 700; }
.cal td { text-align: center; padding: 2px; }
.cal .d { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; font-size: 0.9rem; color: var(--text-secondary); position: relative; }
.cal .d.today { border: 1.5px solid var(--violet-medium); font-weight: 700; color: var(--violet-deep); }
.cal .d.has { background: var(--violet-deep); color: #fff; font-weight: 700; }
.cal .d.has.past { background: var(--violet-pale); color: var(--violet-deep); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav a { text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 6px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--violet-pale); }
.cal-nav .m { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--violet-deep); text-transform: capitalize; }

.event-card { display: flex; gap: 16px; align-items: flex-start; }
.event-date {
    flex-shrink: 0; width: 64px; text-align: center; background: var(--violet-ultra-pale);
    border: 1px solid var(--violet-pale); border-radius: 14px; padding: 8px 4px;
}
.event-date .dd { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--violet-deep); line-height: 1.1; }
.event-date .mm { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }
.countdown { font-size: 0.82rem; color: var(--gold); font-weight: 600; }
.zoom-meta {
    display: inline-flex; gap: 14px; flex-wrap: wrap; align-items: center;
    margin-top: 10px; padding: 7px 14px; background: var(--violet-ultra-pale);
    border: 1px dashed var(--violet-pale); border-radius: 10px;
    font-size: 0.82rem; color: var(--text-secondary);
}
.zoom-meta strong { color: var(--violet-deep); font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }

/* ===== Žinutės ===== */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 16px; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 0.95rem; white-space: pre-line; overflow-wrap: break-word; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--violet-deep), var(--violet-medium)); color: #fff; border-bottom-right-radius: 6px; }
.bubble.vio { align-self: flex-start; background: var(--white); border: 1px solid var(--violet-pale); border-bottom-left-radius: 6px; }
.bubble .bt { display: block; font-size: 0.68rem; opacity: 0.7; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; }
.chat-form textarea { flex: 1; min-height: 52px; max-height: 160px; }

/* ===== Admin ===== */
.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 8px 10px; border-bottom: 2px solid var(--violet-pale); }
.table td { padding: 10px; border-bottom: 1px solid var(--violet-pale); vertical-align: top; }
.pill { font-size: 0.7rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.pill-active { background: #EDF5F0; color: var(--green-dark); }
.pill-cancelled { background: var(--gold-pale); color: var(--gold); }
.pill-expired, .pill-refunded { background: #F9EDED; color: var(--danger); }
.pill-pending { background: var(--violet-pale); color: var(--violet-deep); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--white); border: 1px solid var(--violet-pale); border-radius: 16px; padding: 16px; text-align: center; }
.stat .n { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--violet-deep); line-height: 1.1; }
.stat .l { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }

/* ===== Modalas ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
    background: rgba(42, 36, 56, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    padding: 20px; animation: modalFade 0.2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
    background: var(--white); border-radius: 22px; padding: 28px 26px; max-width: 440px; width: 100%;
    box-shadow: 0 24px 70px rgba(42, 36, 56, 0.3); position: relative; animation: modalUp 0.25s ease;
}
.modal h3 { font-size: 1.35rem; margin-bottom: 10px; }
.modal p { font-size: 0.95rem; color: var(--text-secondary); }
.modal .modal-x {
    position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer;
    font-size: 1.3rem; color: var(--text-muted); line-height: 1; padding: 6px;
}
.modal .modal-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal .modal-actions .btn { flex: 1; min-width: 150px; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.cancel-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cancel-row h3 { font-size: 1.1rem; margin-bottom: 2px; }

/* ===== Pradžios hero ===== */
.home-hello { padding: 8px 0 4px; }
.home-hello h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
.continue-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--violet-deep) 0%, var(--violet-medium) 100%); color: #fff; border: 0; }
.continue-card .t { color: #fff; font-weight: 600; }
.continue-card .note2 { color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.continue-card .play { background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.5); }

/* ===== Violetos meditacijų audio grotuvas ===== */
.vm-player {
    background: linear-gradient(160deg, var(--violet-ultra-pale) 0%, var(--violet-pale) 100%);
    border: 1px solid rgba(123, 94, 167, .14);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    padding: 24px 22px 18px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.vm-player::before {
    content: "";
    position: absolute;
    inset: -60% 30% auto -30%;
    height: 220px;
    background: radial-gradient(circle, rgba(183, 148, 212, .22) 0%, rgba(183, 148, 212, 0) 70%);
    pointer-events: none;
}

/* --- grojimo mygtukas --- */
.vm-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 5vw, 30px);
    position: relative;
}

.vm-play {
    width: clamp(66px, 17vw, 82px);
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: linear-gradient(145deg, var(--violet-medium) 0%, var(--violet-deep) 100%);
    box-shadow: 0 10px 26px rgba(123, 94, 167, .34), inset 0 1px 0 rgba(255, 255, 255, .28);
    transition: transform .22s ease, box-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
}

.vm-play:hover,
.vm-play:focus-visible {
    transform: scale(1.05);
    box-shadow: 0 14px 34px rgba(123, 94, 167, .44), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.vm-play:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 4px; }
.vm-play svg { width: 38%; height: 38%; fill: #fff; display: block; }
.vm-play .vm-ico-play { margin-left: 10%; }
.vm-play .vm-ico-pause { display: none; }
.vm-player.is-playing .vm-play .vm-ico-play { display: none; }
.vm-player.is-playing .vm-play .vm-ico-pause { display: block; }

/* rami „kvėpuojanti" aureolė grojant */
.vm-player.is-playing .vm-play::after {
    content: "";
    position: absolute;
    inset: -10%;
    border-radius: 50%;
    border: 2px solid rgba(155, 123, 199, .5);
    animation: vm-breathe 3.6s ease-in-out infinite;
}

@keyframes vm-breathe {
    0%, 100% { transform: scale(.98); opacity: .75 }
    50% { transform: scale(1.14); opacity: 0 }
}

/* --- šuolis per 15 s --- */
.vm-skip {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: var(--violet-deep);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
    font-weight: 700;
    position: relative;
    transition: background .2s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vm-skip:hover, .vm-skip:focus-visible { background: #fff; transform: scale(1.06); }
.vm-skip:focus-visible { outline: 2px solid var(--violet-light); outline-offset: 3px; }
.vm-skip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: -1px; }
.vm-skip[data-skip^="-"] svg { transform: scaleX(-1); }
.vm-skip span { font-size: .6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }

/* --- juosta --- */
.vm-bar { margin-top: 20px; position: relative; }

.vm-track {
    position: relative;
    height: 22px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}

.vm-track::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 6px;
    border-radius: 3px;
    background: rgba(123, 94, 167, .18);
}

.vm-fill {
    position: absolute;
    left: 0;
    height: 6px;
    border-radius: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--violet-light) 0%, var(--violet-deep) 100%);
    pointer-events: none;
}

.vm-thumb {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--violet-deep);
    box-shadow: 0 2px 8px rgba(123, 94, 167, .35);
    transform: translateX(-50%);
    pointer-events: none;
    transition: transform .15s ease;
}

.vm-track:hover .vm-thumb { transform: translateX(-50%) scale(1.18); }

.vm-times {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: .82rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* --- apatinė eilutė --- */
.vm-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    position: relative;
}

.vm-speed {
    border: 1px solid rgba(123, 94, 167, .28);
    background: rgba(255, 255, 255, .7);
    color: var(--violet-deep);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vm-speed:hover, .vm-speed:focus-visible { background: #fff; }

.vm-vol { display: flex; align-items: center; gap: 9px; }
.vm-vol svg { width: 19px; height: 19px; fill: var(--violet-deep); opacity: .75; flex-shrink: 0; }

.vm-vol input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: clamp(70px, 22vw, 110px);
    height: 4px;
    border-radius: 2px;
    background: rgba(123, 94, 167, .22);
    outline: none;
    cursor: pointer;
}

.vm-vol input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--violet-deep);
    box-shadow: 0 1px 4px rgba(123, 94, 167, .4);
    cursor: pointer;
}

.vm-vol input[type=range]::-moz-range-thumb {
    width: 14px; height: 14px; border-radius: 50%; border: 0;
    background: var(--violet-deep); cursor: pointer;
}

/* --- būsenos --- */
.vm-player.is-loading .vm-play { opacity: .55; pointer-events: none; }
.vm-err {
    margin-top: 12px;
    font-size: .85rem;
    color: var(--danger);
    text-align: center;
}

@media (max-width: 380px) {
    .vm-player { padding: 22px 16px 16px; }
    .vm-vol input[type=range] { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .vm-player.is-playing .vm-play::after { animation: none; opacity: 0 }
    .vm-play, .vm-skip, .vm-thumb { transition: none }
}
