/* confuego v8 — unified blue-box layout for ALL pages */

:root {
    --bg:         #faf8f4;
    --bg-card:    #ffffff;
    --fg:         #2c2724;
    --muted:      #6f6660;
    --accent:     #149deb;       /* legacy primary — bright sky blue */
    --accent-dk:  #0f7ec0;
    --accent-soft:#a1dffb;
    --border:     #e3ddd2;
    --max-width-box: 1080px;      /* blue-box wrapper width (was 978px) */
    --radius:     0.4rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
                 "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
body {
    color: var(--fg); line-height: 1.55; font-size: 1rem;
    background-image: linear-gradient(rgba(20,15,12,0.28), rgba(20,15,12,0.28)), url("/media/hipe_content/bg_home.jpg");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-color: #1a1410;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-dk); text-decoration: underline; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 1.2em 0 0.5em; }
h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-top: 1.5em; }
h3 { font-size: 1.1rem; }
p { margin: 0.5em 0 1em; }
.prose p { max-width: 40em; }
.prose a { text-decoration: underline; }
.subtle { color: var(--muted); font-size: 0.95rem; }
.placeholder { color: var(--muted); font-style: italic; }
.badge { display: inline-block; background: var(--accent); color: white;
         padding: 0.15em 0.6em; border-radius: 999px; font-size: 0.8rem; }

/* page-wrap — centers everything, max width matches legacy 978px */
.page-wrap {
    max-width: var(--max-width-box);
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    color: white;
}

/* nav — sits ABOVE the blue box, on the bg image */
.page-nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    background: rgba(74, 51, 40, 0.78);
    border-radius: 0 0 4px 4px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 0.4rem 0.5rem 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.nav-main, .nav-social {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap;
}
.nav-main a { color: white; font-weight: 500; font-size: 0.95rem; }
.nav-main a:hover { color: var(--accent-soft); text-decoration: none; }
.nav-social { gap: 0.7rem; }
.nav-social img { height: 14px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.nav-social a:hover img { opacity: 1; }
.lang-cell { margin-left: 0.3rem; }
.lang-switch select {
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12); color: white;
    padding: 0.2rem 0.4rem; border-radius: var(--radius); font: inherit; font-size: 0.85rem;
}
.lang-switch option { color: var(--fg); }

/* APP-BOX — the light blue container that holds the page content */
.app-box {
    background-color: var(--accent);
    padding: 1.25rem;
    border-radius: 4px;
    box-shadow: 10px 14px 38px rgba(0,0,0,0.45);
    color: var(--fg);
}

/* footer — right-aligned, white text on bg image */
.page-footer {
    text-align: right;
    margin-top: 1rem;
    padding: 1rem 0.5rem 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    line-height: 1.45;
}
.page-footer p { margin: 0.25rem 0; }
.page-footer a { color: white; text-decoration: underline; }
.page-footer a:hover { color: var(--accent-soft); }
.page-footer .copy { font-size: 0.8rem; opacity: 0.75; margin-top: 0.4rem; }

/* ======================================================================== */
/* HOME — 3x3 grid: row 1 col 2 = logo, row 2 col 2 = welcome text           */
/* ======================================================================== */

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
        "tl tm tr"
        "ml mm mr"
        "bl bm br";
    aspect-ratio: 870 / 549;     /* locks tile heights uniformly */
    gap: 0.85rem;
    max-width: 100%;
    margin: 0 auto;
}
.tile {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    min-width: 0; min-height: 0;
}
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }

.tile-tl { grid-area: tl; }
.tile-tm { grid-area: tm; }
.tile-tr { grid-area: tr; }
.tile-ml { grid-area: ml; }
.tile-mm { grid-area: mm; }
.tile-mr { grid-area: mr; }
.tile-bl { grid-area: bl; }
.tile-bm { grid-area: bm; }
.tile-br { grid-area: br; }

/* Logo tile (desktop: row 1, col 2) — blue background, centered logo */
.tile-logo {
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    padding: 0.25rem;
}
.tile-logo img { max-height: 95%; max-width: 95%; width: auto; height: auto; }

/* Text tile (desktop: row 2, col 2) — white background, welcome text */
.tile-text {
    background: white;
    display: flex;
    overflow: hidden;
}
.tile-text-body {
    width: 100%;
    padding: 0.7rem 0.9rem 0.6rem 1.4rem;
    overflow-y: auto;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--fg);
    min-height: 0;
}
.tile-text-body p { margin: 0 0 0.5rem; }
.tile-text-body p:last-child { margin-bottom: 0; }
.tile-text-body a { color: var(--accent); text-decoration: underline; }
.tile-text-body strong { color: var(--accent); }

/* Tablet: 2 columns, drop areas, let order take over */
@media (min-width: 40rem) and (max-width: 55.99rem) {
    .home-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        aspect-ratio: auto;
    }
    .tile-tl, .tile-tm, .tile-tr,
    .tile-ml, .tile-mm, .tile-mr,
    .tile-bl, .tile-bm, .tile-br { grid-area: auto; }
    .tile-photo { aspect-ratio: 290 / 183; }
    .tile-logo  { aspect-ratio: 16 / 9; order: -2; grid-column: span 2; }
    .tile-text  { aspect-ratio: auto; order: -1; grid-column: span 2; }
    .tile-text-body { font-size: 0.95rem; padding: 1rem 1.2rem; overflow: visible; }
}

/* Mobile-only contact block + voice-box — hidden on desktop */
.home-contact-mobile, .home-voice-box { display: none; }
.mobile-back { display: none; }

/* MOBILE GLOBAL: hide top nav on every page, slim padding */
@media (max-width: 39.99rem) {
    .page-nav { display: none; }
    .page-wrap { padding-top: 0.6rem; padding-bottom: 0.5rem; }

    /* Home: hide footer too (info is duplicated by .home-contact-mobile) */
    body.home-page-mobile-hide .page-footer { display: none; }

    /* Subpages: keep footer for legal (terms/privacy/copy), hide contact */
    .page-footer .footer-contact { display: none; }
    .page-footer .line1 { font-size: 0.85rem; }
    .page-footer { text-align: center; }

    /* Back link — shown on every page EXCEPT home */
    .mobile-back {
        display: inline-block;
        margin: 0 0 0.5rem;
        padding: 0.55rem 1rem;
        background: rgba(255,255,255,0.92);
        color: var(--accent-dk);
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }
    .mobile-back span { margin-right: 0.35rem; }
    body.home-page-mobile-hide .mobile-back { display: none; }
}

/* Mobile: single column — logo + welcome text + contact block. Photos hidden. */
@media (max-width: 39.99rem) {
    .home-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        aspect-ratio: auto;
        gap: 0.7rem;
    }
    .tile-tl, .tile-tm, .tile-tr,
    .tile-ml, .tile-mm, .tile-mr,
    .tile-bl, .tile-bm, .tile-br { grid-area: auto; }
    .tile-photo { display: none; }
    .tile-logo  { aspect-ratio: 16 / 9; min-height: 7rem; order: -2; padding: 0.5rem; }
    .tile-logo img { max-height: 88%; max-width: 90%; }
    .tile-text  { aspect-ratio: auto; order: -1; }
    .tile-text-body { font-size: 1rem; padding: 1rem 1.1rem; overflow: visible; line-height: 1.5; }

    .home-contact-mobile {
        display: block;
        background: white;
        border-radius: var(--radius);
        padding: 1rem 1.2rem;
        margin-top: 0.7rem;
        color: var(--fg);
        font-size: 1rem;
        line-height: 1.45;
        text-align: center;
    }
    .home-voice-box {
        display: block;
        background: white;
        border-radius: var(--radius);
        padding: 1rem 1.2rem;
        margin-top: 0.7rem;
        text-align: center;
    }
    .home-voice-box .voice-overs-btn {
        display: inline-block;
        background: var(--accent);
        color: white;
        padding: 0.85rem 2rem;
        border-radius: 999px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-decoration: none;
        font-size: 1.1rem;
    }
    .home-voice-box .voice-overs-btn:active { background: var(--accent-dk); }
    .home-contact-mobile .contact-lines { margin: 0 0 0.7rem; }
    .home-contact-mobile a { color: var(--accent); text-decoration: underline; }
    .home-contact-mobile a:active { color: var(--accent-dk); }
    .home-contact-mobile .home-social {
        list-style: none; padding: 0; margin: 0 0 0.7rem;
        display: flex; gap: 1rem; justify-content: center;
    }
    .home-contact-mobile .home-social a {
        display: inline-block;
        padding: 0.55rem 1rem;
        background: var(--accent-soft);
        color: var(--accent-dk);
        border-radius: 999px;
        text-decoration: none;
        font-weight: 600;
        min-width: 5rem;
    }
    .home-contact-mobile .lang-line {
        margin: 0;
        font-size: 0.95rem;
        color: var(--muted);
    }
    .home-contact-mobile .lang-line a {
        color: var(--accent-dk);
        text-decoration: underline;
        padding: 0.25rem 0.4rem;
    }
    .home-contact-mobile .lang-line strong { color: var(--fg); padding: 0.25rem 0.4rem; }
    .home-contact-mobile .lang-line .sep { color: var(--muted); opacity: 0.6; }
}

/* ======================================================================== */
/* Voice catalog / person detail / page — content sits inside .app-box       */
/* ======================================================================== */

.page-head { color: white; margin-bottom: 1.25rem; }
.page-head h1 { color: white; margin: 0; }
.page-head-meta { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0.3rem 0 0; }

.filters {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end;
    margin-bottom: 1.25rem; padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
}
.filters label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.filters label.search { flex: 1; min-width: 12rem; }
.filters select, .filters input[type=search] {
    border: 1px solid var(--border); background: white;
    padding: 0.4rem 0.55rem; border-radius: var(--radius);
    font: inherit; color: var(--fg); min-width: 7rem;
}
.filters input[type=search] { min-width: 0; width: 100%; }
.filters input:focus, .filters select:focus { outline: 2px solid var(--accent-dk); outline-offset: 1px; }
.filter-submit, .filter-reset {
    border: 1px solid var(--accent-dk); background: var(--accent-dk); color: white;
    padding: 0.45rem 0.9rem; border-radius: var(--radius); font: inherit; cursor: pointer;
    text-decoration: none;
}
.filter-reset { background: transparent; color: var(--accent-dk); }
.filter-submit:hover { background: #0a679a; border-color: #0a679a; }

.voice-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.85rem;
}
@media (min-width: 40rem) { .voice-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .voice-grid { grid-template-columns: 1fr 1fr 1fr; } }

.voice-card {
    background: white; border-radius: var(--radius);
    padding: 0.8rem; display: flex; gap: 0.8rem; align-items: flex-start;
    transition: transform 0.15s ease;
}
.voice-card:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.voice-card-body { flex: 1; min-width: 0; }
.voice-card img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.voice-card audio { width: 100%; margin-top: 0.4rem; }
.voice-title { font-weight: 600; margin: 0; }
.voice-meta { color: var(--muted); font-size: 0.85rem; margin: 0.15rem 0 0.3rem; }
.lang-tag {
    display: inline-block; background: var(--accent-soft); color: #0a4d75;
    padding: 0.05em 0.5em; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
}
.voice-photo-placeholder {
    width: 72px; height: 72px; flex-shrink: 0;
    background: var(--accent-dk); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.35rem; border-radius: var(--radius);
}

.button {
    display: inline-block; background: white; color: var(--accent-dk);
    padding: 0.6rem 1.2rem; border-radius: var(--radius); font-weight: 600;
    text-decoration: none; transition: background-color 0.15s ease;
}
.button:hover, .button:focus { background: var(--accent-soft); color: var(--accent-dk); text-decoration: none; }
.button-ghost { background: transparent; color: white; border: 1px solid white; }
.button-ghost:hover { background: white; color: var(--accent-dk); }

/* person detail (inside app-box) */
.person { color: var(--fg); background: rgba(255,255,255,0.95); border-radius: var(--radius); padding: 1.5rem; }
.person h1 { color: var(--fg); margin-top: 0; }
.person-header {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 0.75rem;
}
/* kill the trailing paragraph gap right above the Demo pill */
.person-meta .prose > :last-child { margin-bottom: 0.3rem; }
/* portrait removed from rendering — single column layout */
.person-portrait {
    width: 100%; max-width: 280px;
    aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--radius);
}
.person-langs { color: var(--muted); }
.person-cv { margin: 0.6rem 0 0; }
.person-cv .download-link {
    display: inline-block;
    background: var(--accent-soft); color: var(--accent-dk);
    padding: 0.35rem 0.9rem; border-radius: 999px;
    font-size: 0.9rem; font-weight: 600; text-decoration: none;
}
.person-cv .download-link:hover { background: var(--accent); color: white; }
.voices-by-lang { margin-bottom: 1.25rem; }
.voices-by-lang h2 { margin: 0.6em 0 0.6em; border-bottom: 1px solid var(--border); padding-bottom: 0.3em; }
/* Audio fragments — compact blue rounded pills (legacy confuego.nl look),
   custom player with a seekable progress bar; 2 per line on wider screens.   */
.frag-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.5rem;
}
@media (min-width: 40rem) { .frag-grid { grid-template-columns: 1fr 1fr; } }

.frag {
    display: flex; align-items: center; gap: 0.6rem;
    background: var(--accent); color: white;
    border-radius: 999px;
    padding: 0.3rem 0.7rem 0.3rem 0.35rem;
    scroll-margin-top: 1rem;   /* breathing room when reached via #v<id> anchor */
}

/* play / pause toggle (white triangle → white pause bars) */
.frag-play {
    flex-shrink: 0; width: 2rem; height: 2rem; padding: 0;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: background-color 0.15s ease;
}
.frag-play:hover { background: rgba(255,255,255,0.34); }
.frag-play:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.frag-ico {
    width: 0; height: 0; border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
.frag.playing .frag-ico {
    width: 7px; height: 9px; border: 0;
    border-left: 2.5px solid #fff; border-right: 2.5px solid #fff;
    margin-left: 0;
}

.frag-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.22rem; }
.frag-title {
    font-size: 0.85rem; font-weight: 500; color: white;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frag-bar {
    height: 4px; border-radius: 999px; cursor: pointer;
    background: rgba(255,255,255,0.32); overflow: hidden;
}
.frag-fill { height: 100%; width: 0; background: #fff; border-radius: 999px; }

/* clip length (shown before play) / elapsed-while-playing */
.frag-time {
    flex-shrink: 0; font-size: 0.72rem; line-height: 1;
    color: rgba(255,255,255,0.9);
    font-variant-numeric: tabular-nums;
    white-space: nowrap; text-align: right;
}

/* white mail / download icons (on the blue pill) */
.frag-act { flex-shrink: 0; display: inline-flex; align-items: center; }
.frag-act img { height: 15px; width: auto; display: block; opacity: 0.9; transition: opacity 0.15s ease; }
.frag-act:hover img, .frag-act:focus img { opacity: 1; }

/* the top Demo/compilation — same pill but a bit bigger + darker blue (hero) */
.frag-demo {
    background: var(--accent-dk);
    margin: 0.35rem 0;
    padding: 0.45rem 0.9rem 0.45rem 0.5rem;
    gap: 0.8rem;
}
.frag-demo .frag-play { width: 2.5rem; height: 2.5rem; }
.frag-demo .frag-ico { border-width: 6px 0 6px 10px; }
.frag-demo.playing .frag-ico { width: 9px; height: 12px; border-left-width: 3px; border-right-width: 3px; }
.frag-demo .frag-title { font-size: 1rem; font-weight: 600; }
.frag-demo .frag-bar { height: 5px; }
.frag-demo .frag-time { font-size: 0.8rem; }
.frag-demo .frag-act img { height: 18px; }

/* fragments without audio: just the title + mail */
.frag-noaudio { background: var(--accent-soft); color: var(--accent-dk); }
.frag-noaudio .frag-title { color: var(--accent-dk); }

/* highlight a fragment opened via an emailed ?aid=<id> / #v<id> link */
.frag:target, .frag-target { box-shadow: 0 0 0 2px var(--accent-dk), 0 4px 12px rgba(0,0,0,0.25); }

.back-link { margin-top: 2rem; }

/* static pages — text on a white card inside the blue box */
.static-page {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    color: var(--fg);
    max-width: 100%;
}
.static-page h1 { color: var(--fg); margin-top: 0; }


/* algemene voorwaarden / static-page typography */
.static-page h2 {
    font-size: 1.05rem; margin-top: 1.5em; margin-bottom: 0.3em;
    color: var(--accent-dk);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.15em;
}
.static-page h3 {
    font-size: 1.05rem;
    color: var(--accent-dk);
    margin: 1.4em 0 0.4em;
    padding-bottom: 0.15em;
    border-bottom: 1px solid var(--border);
}
.static-page h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-dk);
    margin: 0.8em 0 0.15em 0;
    padding-left: 1.1em;
    text-indent: -1.1em;
}
.static-page h4::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.5em;
}
/* Body paragraphs that follow an h4 bullet — visually indented to align under the bullet text */
.static-page .bullet-body {
    padding-left: 1.6em;
    margin-bottom: 0.6em;
}


.static-page p { margin: 0.25em 0 0.5em; }
.static-page p + p { margin-top: 0.15em; }   /* tight when two paragraphs are adjacent */
.static-page h4 + p { margin-top: 0.2em; }
.static-page p + h3, .static-page p + h4 { margin-top: 1.2em; }
.static-page h4 ~ p { padding-left: 0.7rem; }  /* indent body under h4 subheaders */
.static-page h3 ~ p, .static-page h3 ~ h4 ~ p[class=lead] { padding-left: 0; }

.static-page p.lead { font-size: 0.95rem; color: var(--muted); }
.static-page ol.lettered { list-style: none; padding-left: 1.2rem; }
.static-page ol.lettered li { padding-left: 0.5rem; margin-bottom: 0.4em; }
.static-page ol.lettered li strong { display: inline-block; min-width: 1.5em; color: var(--accent-dk); }
.static-page .download-link {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent-dk);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.static-page .download-link:hover { background: var(--accent); color: white; text-decoration: none; }

/* ======================================================================== */
/* Voice catalog — two wide columns (Man | Vrouw) + top search bar            */
/* modernised: rounded "pill" rows with a circular play toggle + info chevron,*/
/* decorative hat / fan photos atop each column (from the original confuego.nl)*/
/* ======================================================================== */

/* header row: "Voice overs" title (1/3) on the left, search/filter (2/3) right */
.vo-head {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.25rem;
}
.vo-head .page-head { margin-bottom: 0; flex: 1 1 0; min-width: 0; }
.vo-head .filters   { margin-bottom: 0; flex: 2 1 0; min-width: 0; }
@media (max-width: 46rem) {
    .vo-head .page-head, .vo-head .filters { flex-basis: 100%; }
}

.vo2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 46rem) {
    .vo2 { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}

/* decorative column-top photo (hat / fan) — kept at native size so it stays
   crisp; the wider name list spans the full column beneath it */
.vo-photo {
    width: 100%; max-width: 300px; height: auto; display: block;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.22);
    margin: 0 auto 0.9rem;   /* horizontally centered over the column */
}

.vo-col-head {
    display: flex; align-items: baseline; gap: 0.5rem;
    margin: 0 0 0.8rem;
    color: white;
    font-size: 1.05rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(255,255,255,0.35);
}
.vo-col-count {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.18);
    padding: 0.05em 0.6em; border-radius: 999px;
}

.vo-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.4rem;
}

.vo-row {
    display: flex; align-items: center; gap: 0.65rem;
    background: var(--bg-card);
    border-radius: 999px;
    padding: 0.32rem 0.42rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.vo-row:hover { box-shadow: 0 5px 14px rgba(0,0,0,0.22); transform: translateY(-1px); }

/* circular play button */
.vo-play {
    flex-shrink: 0;
    width: 2.15rem; height: 2.15rem;
    border: 0; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
    transition: background-color 0.15s ease, transform 0.1s ease;
}
.vo-play:hover { background: var(--accent-dk); }
.vo-play:active { transform: scale(0.93); }
.vo-play:focus-visible { outline: 2px solid var(--accent-dk); outline-offset: 2px; }
.vo-play-empty { background: var(--border); cursor: default; }
.vo-play-empty:hover { background: var(--border); }

/* play icon = triangle; .playing → two pause bars */
.vo-play-icon {
    width: 0; height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
.vo-play.playing .vo-play-icon {
    width: 9px; height: 11px;
    border: 0;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    margin-left: 0;
}

.vo-name {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--fg); text-decoration: none; font-weight: 600;
}
.vo-name:hover { color: var(--accent-dk); text-decoration: none; }
.vo-name:hover .vo-name-text { text-decoration: underline; }
.vo-name-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vo-langs { display: inline-flex; gap: 0.25rem; flex-shrink: 0; }
.vo-langs .lang-tag { font-size: 0.62rem; padding: 0.1em 0.45em; }

.vo-info {
    flex-shrink: 0;
    width: 1.85rem; height: 1.85rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 1.5rem; line-height: 1;
    border-radius: 50%; text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.vo-info:hover { background: var(--accent-soft); color: var(--accent-dk); text-decoration: none; }

.vo-empty { color: var(--muted); font-style: italic; padding: 0.5rem 0.2rem; }


/* Language toggle — anchor-based, more responsive than a <select> */
.lang-toggle { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; }
.lang-toggle .lang-current { font-weight: 700; color: white; opacity: 0.95; }
.lang-toggle .lang-other {
    color: rgba(255,255,255,0.7); font-weight: 500;
    padding: 0.1rem 0.35rem; border-radius: 0.25rem;
    text-decoration: none;
}
.lang-toggle .lang-other:hover { background: rgba(255,255,255,0.15); color: white; text-decoration: none; }
.lang-toggle .lang-sep { color: rgba(255,255,255,0.4); }
