/*
 * MODEL TV — dark theme.
 *
 * Loaded last and scoped to the data-theme written on <html>, so every rule here
 * is a deliberate swap of a light surface or ink colour. The brand magenta stays
 * the action colour; only its text use is lightened enough to be readable.
 */

:root[data-theme="dark"] {
    color-scheme: dark;

    --mtv-navy: #E9F2FA;
    --mtv-navy-ink: #E3EDF6;
    --mtv-navy-deep: #CFE0EE;
    --mtv-paper: #0F1B28;
    --mtv-white: #0B1622;
    --mtv-text-dim: #A9BCCD;
    --mtv-hairline: rgba(166, 196, 222, .18);
    --mtv-shadow: 0 22px 60px rgba(0, 0, 0, .6);

    --glass-surface: linear-gradient(150deg, rgba(24, 39, 55, .84), rgba(15, 26, 39, .76));
    --glass-surface-strong: linear-gradient(150deg, rgba(28, 44, 61, .97), rgba(17, 29, 42, .94));
    --glass-surface-quiet: linear-gradient(150deg, rgba(22, 36, 51, .64), rgba(13, 23, 35, .54));
    --glass-line: rgba(166, 196, 222, .16);
    --glass-edge: rgba(0, 0, 0, .5);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, .08);
    --glass-shadow: 0 30px 70px -34px rgba(0, 0, 0, .85), 0 8px 22px -14px rgba(0, 0, 0, .55);
    --glass-shadow-soft: 0 18px 44px -28px rgba(0, 0, 0, .65);

    --dk-pink-text: #FF87AC;
    --dk-muted: rgba(206, 223, 238, .66);
    --dk-muted-strong: rgba(216, 231, 243, .8);
    --dk-input: rgba(255, 255, 255, .055);
    --dk-input-focus: rgba(255, 255, 255, .085);
    --dk-line: rgba(166, 196, 222, .16);
    --dk-line-strong: rgba(166, 196, 222, .26);
    --dk-chip: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
    --dk-chip-hover: rgba(255, 255, 255, .13);
    --dk-bg: #0B1622;
}

/* ---------- Page ---------- */

:root[data-theme="dark"] body {
    background:
        radial-gradient(1100px 720px at 6% -10%, rgba(216, 30, 91, .16), transparent 62%),
        radial-gradient(980px 680px at 102% -4%, rgba(0, 110, 175, .18), transparent 60%),
        radial-gradient(900px 760px at 52% 112%, rgba(124, 92, 220, .12), transparent 62%),
        linear-gradient(180deg, #0A1521 0%, #0B1724 52%, #101420 100%);
    background-attachment: fixed;
    background-color: var(--dk-bg);
    color: var(--mtv-navy-ink);
}

:root[data-theme="dark"] ::selection { background: rgba(216, 30, 91, .32); }

/* ---------- Header and menus ---------- */

:root[data-theme="dark"] .mtv-header {
    background: rgba(11, 20, 31, .74);
    border-bottom-color: rgba(255, 255, 255, .07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 22px 48px -34px rgba(0, 0, 0, .9);
}

@media (max-width: 640px) {
    :root[data-theme="dark"] .mtv-header {
        background: rgba(11, 20, 31, .86);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
    }
}

:root[data-theme="dark"] .mtv-nav a { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-nav a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, .08);
}
:root[data-theme="dark"] .mtv-nav a.active {
    color: var(--dk-pink-text);
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    box-shadow: var(--glass-inset), 0 10px 24px -16px rgba(0, 0, 0, .8);
}

:root[data-theme="dark"] .mtv-search input {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    color: var(--mtv-navy-ink);
}
:root[data-theme="dark"] .mtv-search input::placeholder { color: rgba(206, 223, 238, .5); }
:root[data-theme="dark"] .mtv-search input:focus {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 135, 172, .55);
    box-shadow: 0 0 0 4px rgba(216, 30, 91, .14);
}

:root[data-theme="dark"] .mtv-bell {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #DCE9F4;
    box-shadow: var(--glass-inset);
}
:root[data-theme="dark"] .mtv-bell:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 135, 172, .5);
    color: var(--dk-pink-text);
}

:root[data-theme="dark"] .mtv-menu__trigger {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}
:root[data-theme="dark"] .mtv-menu__chev { fill: rgba(206, 223, 238, .7); }
:root[data-theme="dark"] .mtv-menu__panel {
    background: #0F1D2B;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .6);
}
:root[data-theme="dark"] .mtv-menu__who { border-bottom-color: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .mtv-menu__who .mtv-muted { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-menu__item { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-menu__item:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--dk-pink-text);
}
:root[data-theme="dark"] .mtv-menu__item--action { color: #FF9DBB; }
:root[data-theme="dark"] .mtv-menu__item--action:hover { background: rgba(216, 30, 91, .16); }

:root[data-theme="dark"] .mtv-header .mtv-btn--ghost {
    background: var(--mtv-magenta);
    border-color: var(--mtv-magenta);
    color: #FFFFFF;
}
:root[data-theme="dark"] .mtv-header .mtv-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    color: #FFFFFF;
}

:root[data-theme="dark"] .mtv-btn--ghost,
:root[data-theme="dark"] .mtv-btn--outline {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: var(--glass-inset);
    color: #E6F0F8;
}
:root[data-theme="dark"] .mtv-btn--ghost:hover,
:root[data-theme="dark"] .mtv-btn--outline:hover {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 135, 172, .5);
    color: var(--dk-pink-text);
}
:root[data-theme="dark"] .mtv-connect__actions .mtv-btn--outline { border-color: var(--dk-line-strong); }

/* ---------- Dock ---------- */

:root[data-theme="dark"] .mtv-dock {
    background: rgba(13, 23, 35, .84);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 60px -26px rgba(0, 0, 0, .9);
}
:root[data-theme="dark"] .mtv-dock::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}
:root[data-theme="dark"] .mtv-dock a { color: rgba(206, 223, 238, .7); }
:root[data-theme="dark"] .mtv-dock a.active {
    color: var(--dk-pink-text);
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
}

/* ---------- Logo ---------- */

.mtv-logo__on-dark,
:root[data-theme="dark"] .mtv-logo__on-light { display: none; }
:root[data-theme="dark"] .mtv-logo__on-dark { display: block; }

/* ---------- Muted ink ---------- */

:root[data-theme="dark"] .mtv-muted,
:root[data-theme="dark"] .mtv-page-sub,
:root[data-theme="dark"] .mtv-meta-line,
:root[data-theme="dark"] .mtv-model__role,
:root[data-theme="dark"] .mtv-card__meta,
:root[data-theme="dark"] .mtv-post__handle,
:root[data-theme="dark"] .mtv-post__time,
:root[data-theme="dark"] .mtv-post__dot,
:root[data-theme="dark"] .mtv-post__reposted,
:root[data-theme="dark"] .mtv-post__guest,
:root[data-theme="dark"] .mtv-post__owner-actions a,
:root[data-theme="dark"] .mtv-post__owner-actions button,
:root[data-theme="dark"] .mtv-profile__handle,
:root[data-theme="dark"] .mtv-profile__meta,
:root[data-theme="dark"] .mtv-profile__skills,
:root[data-theme="dark"] .mtv-sidenav__handle,
:root[data-theme="dark"] .mtv-rail__blurb,
:root[data-theme="dark"] .mtv-rail__empty,
:root[data-theme="dark"] .mtv-statrow,
:root[data-theme="dark"] .mtv-facts dt,
:root[data-theme="dark"] .mtv-pitem__cat,
:root[data-theme="dark"] .mtv-explore__blurb,
:root[data-theme="dark"] .mtv-explore__foot,
:root[data-theme="dark"] .mtv-calling__blurb,
:root[data-theme="dark"] .mtv-threads__preview,
:root[data-theme="dark"] .mtv-threads__top em,
:root[data-theme="dark"] .mtv-bubble__meta,
:root[data-theme="dark"] .mtv-bubble__clip figcaption,
:root[data-theme="dark"] .mtv-filechip__body small,
:root[data-theme="dark"] .mtv-chat__pick small,
:root[data-theme="dark"] .mtv-chat__total,
:root[data-theme="dark"] .mtv-player__attrib,
:root[data-theme="dark"] .mtv-player__error p,
:root[data-theme="dark"] .mtv-composer__hint,
:root[data-theme="dark"] .mtv-composer__chip,
:root[data-theme="dark"] .mtv-auth__sub,
:root[data-theme="dark"] .mtv-auth__alt,
:root[data-theme="dark"] .mtv-auth__form small,
:root[data-theme="dark"] .mtv-auth__or,
:root[data-theme="dark"] .mtv-tabs strong,
:root[data-theme="dark"] .mtv-pager__gap,
:root[data-theme="dark"] .mtv-ranknote,
:root[data-theme="dark"] .mtv-post__report summary,
:root[data-theme="dark"] .mtv-report summary,
:root[data-theme="dark"] .mtv-thread__empty,
:root[data-theme="dark"] .mtv-verify__payments li,
:root[data-theme="dark"] .mtv-storybar__name,
:root[data-theme="dark"] .mtv-comment__meta,
:root[data-theme="dark"] .mtv-empty,
:root[data-theme="dark"] .mtv-chip__count,
:root[data-theme="dark"] .mtv-studio-card__identity p,
:root[data-theme="dark"] .mtv-studio-card__bio,
:root[data-theme="dark"] .mtv-studio-card__foot,
:root[data-theme="dark"] .mtv-event-card__content > p:not(.mtv-event-card__eyebrow),
:root[data-theme="dark"] .mtv-event-card__meta { color: var(--dk-muted); }

/* ---------- Pink accent ink ---------- */

:root[data-theme="dark"] .mtv-section__link,
:root[data-theme="dark"] .mtv-meta-line a,
:root[data-theme="dark"] .mtv-link,
:root[data-theme="dark"] .mtv-rail__more,
:root[data-theme="dark"] .mtv-rail__title a:hover,
:root[data-theme="dark"] .mtv-player__attrib a,
:root[data-theme="dark"] .mtv-post__guest a,
:root[data-theme="dark"] .mtv-post__reposted a,
:root[data-theme="dark"] .mtv-notifs a,
:root[data-theme="dark"] .mtv-pitem__body a,
:root[data-theme="dark"] .mtv-explore__tag.is-live,
:root[data-theme="dark"] .mtv-calling__pay--paid,
:root[data-theme="dark"] .mtv-tabs a.active,
:root[data-theme="dark"] .mtv-tabs a.active strong,
:root[data-theme="dark"] .mtv-auth__alt a,
:root[data-theme="dark"] .mtv-auth__errors ul,
:root[data-theme="dark"] .mtv-filechip__kind,
:root[data-theme="dark"] .mtv-bubble__ref,
:root[data-theme="dark"] .mtv-chip--action,
:root[data-theme="dark"] .mtv-ad__cta,
:root[data-theme="dark"] .mtv-verify__state .mtv-link { color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-post__name:hover,
:root[data-theme="dark"] .mtv-post__time:hover,
:root[data-theme="dark"] .mtv-post__owner-actions a:hover,
:root[data-theme="dark"] .mtv-post__owner-actions button:hover,
:root[data-theme="dark"] .mtv-people__name:hover,
:root[data-theme="dark"] .mtv-sidecard a:hover,
:root[data-theme="dark"] .mtv-sidenav__user:hover .mtv-sidenav__name,
:root[data-theme="dark"] .mtv-model:hover .mtv-model__name { color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-tabs a:hover,
:root[data-theme="dark"] .mtv-tabs a.active strong { color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-auth__invite-eyebrow,
:root[data-theme="dark"] .mtv-storynew__eyebrow,
:root[data-theme="dark"] .mtv-event-card__eyebrow,
:root[data-theme="dark"] .mtv-explore__tag.is-live { color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-post__report summary:hover,
:root[data-theme="dark"] .mtv-post__report[open] summary {
    background: rgba(216, 30, 91, .16);
    color: var(--dk-pink-text);
}

:root[data-theme="dark"] .mtv-picker label,
:root[data-theme="dark"] .mtv-checkbox { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-picker { border-color: var(--dk-line-strong); }

/* ---------- Buttons and small glass controls ---------- */

:root[data-theme="dark"] .mtv-chip,
:root[data-theme="dark"] .mtv-pager__num,
:root[data-theme="dark"] .mtv-pager__step {
    background: var(--dk-chip);
    border-color: var(--dk-line);
    color: #DCE8F2;
    box-shadow: none;
}
:root[data-theme="dark"] .mtv-chip:hover,
:root[data-theme="dark"] .mtv-pager__num:hover,
:root[data-theme="dark"] .mtv-pager__step:hover { background: var(--dk-chip-hover); }

:root[data-theme="dark"] .mtv-chip.is-now {
    background: rgba(216, 30, 91, .16);
    border-color: rgba(255, 135, 172, .55);
    color: #FFB2C8;
}

:root[data-theme="dark"] .mtv-pager__num.is-now {
    background: linear-gradient(150deg, #E02A66, #D81E5B 60%, #B41650);
    border-color: transparent;
    color: #FFFFFF;
}

:root[data-theme="dark"] .mtv-tabs {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none;
}
:root[data-theme="dark"] .mtv-tabs a { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-tabs a.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    box-shadow: var(--glass-inset);
}

:root[data-theme="dark"] .mtv-badge {
    border-color: rgba(255, 255, 255, .22);
    color: #E6F0F8;
}
:root[data-theme="dark"] .mtv-badge--followers {
    background: rgba(255, 255, 255, .1);
    color: #DCE8F2;
}

/* ---------- Feed chrome ---------- */

:root[data-theme="dark"] .mtv-sidenav a { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-sidenav a:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--dk-pink-text);
}
:root[data-theme="dark"] .mtv-sidenav a.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    color: var(--dk-pink-text);
    box-shadow: var(--glass-inset);
}
:root[data-theme="dark"] .mtv-sidenav__account { border-top-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .mtv-sidenav__user { color: #E6F0F8; }

:root[data-theme="dark"] .mtv-composer textarea,
:root[data-theme="dark"] .mtv-chat__composer textarea { color: var(--mtv-navy-ink); }
:root[data-theme="dark"] .mtv-composer textarea::placeholder { color: rgba(206, 223, 238, .42); }
:root[data-theme="dark"] .mtv-composer__thumb {
    border-color: rgba(255, 255, 255, .16);
    box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .7);
}
:root[data-theme="dark"] .mtv-composer__file { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-composer__errors {
    background: rgba(216, 30, 91, .12);
    color: #F6E7EC;
}

:root[data-theme="dark"] .mtv-post__media img { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .mtv-post__report form,
:root[data-theme="dark"] .mtv-report form {
    background: #101E2C;
    border-color: var(--dk-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
:root[data-theme="dark"] .mtv-post__report form p { color: var(--dk-muted); }

:root[data-theme="dark"] .mtv-post__actions button,
:root[data-theme="dark"] .mtv-post__action { color: var(--dk-muted-strong); }
:root[data-theme="dark"] .mtv-post__actions button:hover,
:root[data-theme="dark"] .mtv-post__action:hover {
    background: rgba(216, 30, 91, .16);
    color: #FF9DBB;
}
:root[data-theme="dark"] .mtv-post__actions button.on { color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-notifs li.unread { background: rgba(216, 30, 91, .12); }

:root[data-theme="dark"] .mtv-ranknote {
    background: rgba(255, 255, 255, .045);
    border-color: var(--dk-line);
}
:root[data-theme="dark"] .mtv-ranknote summary { color: #E6F0F8; }
:root[data-theme="dark"] .mtv-ranknote summary::after { color: var(--dk-muted); }

:root[data-theme="dark"] .mtv-storybar { border-bottom-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .mtv-storybar__ring--seen { background: rgba(255, 255, 255, .18); }
:root[data-theme="dark"] .mtv-storybar__ring--create { background: rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .mtv-storybar__ring--create:hover { background: rgba(216, 30, 91, .32); }
:root[data-theme="dark"] .mtv-storybar__avatar {
    border-color: #0E1B28;
    background: #0E1B28;
}
:root[data-theme="dark"] .mtv-storybar__avatar--initials {
    background: rgba(255, 255, 255, .08);
    color: #DCE8F2;
}
:root[data-theme="dark"] .mtv-storybar__plus { border-color: #0E1B28; }

/* ---------- Forms ---------- */

:root[data-theme="dark"] .mtv-form input:not([type=checkbox]),
:root[data-theme="dark"] .mtv-form textarea,
:root[data-theme="dark"] .mtv-form select,
:root[data-theme="dark"] .mtv-auth__form input:not([type=checkbox]),
:root[data-theme="dark"] .mtv-field select,
:root[data-theme="dark"] .mtv-field textarea,
:root[data-theme="dark"] .mtv-field input[type=number],
:root[data-theme="dark"] .mtv-field input[type=text],
:root[data-theme="dark"] .mtv-inlineform input[type=text],
:root[data-theme="dark"] .mtv-replybox textarea,
:root[data-theme="dark"] .mtv-searchbar input,
:root[data-theme="dark"] .mtv-composer select,
:root[data-theme="dark"] .mtv-theme-option,
:root[data-theme="dark"] .mtv-rolechip,
:root[data-theme="dark"] .mtv-role-option,
:root[data-theme="dark"] .mtv-chat__pick,
:root[data-theme="dark"] .mtv-filechip,
:root[data-theme="dark"] .mtv-report form select,
:root[data-theme="dark"] .mtv-report form textarea,
:root[data-theme="dark"] .mtv-report form input {
    background: var(--dk-input);
    border-color: var(--dk-line-strong);
    color: var(--mtv-navy-ink);
    box-shadow: none;
}

:root[data-theme="dark"] .mtv-form input::placeholder,
:root[data-theme="dark"] .mtv-form textarea::placeholder,
:root[data-theme="dark"] .mtv-auth__form input::placeholder,
:root[data-theme="dark"] .mtv-field input::placeholder,
:root[data-theme="dark"] .mtv-searchbar input::placeholder,
:root[data-theme="dark"] .mtv-composer textarea::placeholder { color: rgba(206, 223, 238, .42); }

:root[data-theme="dark"] .mtv-form input:focus,
:root[data-theme="dark"] .mtv-form textarea:focus,
:root[data-theme="dark"] .mtv-form select:focus,
:root[data-theme="dark"] .mtv-auth__form input:focus,
:root[data-theme="dark"] .mtv-field select:focus,
:root[data-theme="dark"] .mtv-field textarea:focus,
:root[data-theme="dark"] .mtv-field input:focus,
:root[data-theme="dark"] .mtv-searchbar input:focus,
:root[data-theme="dark"] .mtv-composer select:focus,
:root[data-theme="dark"] .mtv-replybox textarea:focus {
    background: var(--dk-input-focus);
    border-color: rgba(255, 135, 172, .55);
    box-shadow: 0 0 0 4px rgba(216, 30, 91, .14);
}

:root[data-theme="dark"] select option,
:root[data-theme="dark"] .mtv-composer select option {
    background: #0F1D2B;
    color: #E9F2FA;
}

:root[data-theme="dark"] .mtv-form--privacy { border-top-color: rgba(255, 255, 255, .14); }
:root[data-theme="dark"] .mtv-fieldset { border-color: var(--dk-line-strong); }
:root[data-theme="dark"] .mtv-fieldset legend,
:root[data-theme="dark"] .mtv-form label,
:root[data-theme="dark"] .mtv-auth__form label,
:root[data-theme="dark"] .mtv-field > span { color: #DCE8F2; }

:root[data-theme="dark"] .mtv-theme-option:has(input:checked) {
    border-color: rgba(255, 135, 172, .6);
    background: rgba(216, 30, 91, .16);
}
:root[data-theme="dark"] .mtv-appearance {
    background: rgba(255, 255, 255, .035);
    border-color: var(--dk-line);
}

/* ---------- Auth screens ---------- */

:root[data-theme="dark"] .mtv-auth h1 { color: #F2F8FD; }
:root[data-theme="dark"] .mtv-auth__errors {
    background: rgba(216, 30, 91, .12);
    border-color: rgba(216, 30, 91, .35);
}
:root[data-theme="dark"] .mtv-auth__oauth {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #EAF3FA;
    box-shadow: none;
}
:root[data-theme="dark"] .mtv-auth__oauth:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .24);
}
:root[data-theme="dark"] .mtv-auth__or::before,
:root[data-theme="dark"] .mtv-auth__or::after { background: rgba(255, 255, 255, .12); }

/* ---------- Alerts, tags and tables ---------- */

:root[data-theme="dark"] .mtv-alert--ok {
    background: rgba(216, 30, 91, .14);
    border-color: rgba(216, 30, 91, .36);
    color: #F7EAF0;
}
:root[data-theme="dark"] .mtv-alert--error {
    background: rgba(185, 28, 28, .16);
    border-color: rgba(248, 113, 113, .4);
    color: #FFC2C2;
}
:root[data-theme="dark"] .mtv-toast {
    background: rgba(216, 30, 91, .16);
    border-color: rgba(216, 30, 91, .38);
    color: #FFB2C8;
}
:root[data-theme="dark"] .mtv-tag--pending,
:root[data-theme="dark"] .mtv-tag--submitted,
:root[data-theme="dark"] .mtv-tag--viewed {
    background: rgba(255, 255, 255, .1);
    color: #DCE8F2;
}
:root[data-theme="dark"] .mtv-tag--approved,
:root[data-theme="dark"] .mtv-tag--shortlisted,
:root[data-theme="dark"] .mtv-tag--hired {
    background: rgba(216, 30, 91, .18);
    color: #FFA8C2;
}
:root[data-theme="dark"] .mtv-tag--rejected,
:root[data-theme="dark"] .mtv-tag--closed,
:root[data-theme="dark"] .mtv-tag--declined,
:root[data-theme="dark"] .mtv-calling__pay {
    background: rgba(185, 28, 28, .2);
    color: #FFB4B4;
}
:root[data-theme="dark"] .mtv-table th { color: #E6F0F8; }
:root[data-theme="dark"] .mtv-table td { border-bottom-color: rgba(255, 255, 255, .07); }
:root[data-theme="dark"] .mtv-adminrow__note {
    background: rgba(255, 255, 255, .07);
    color: #DCE8F2;
}

/* ---------- Profile ---------- */

:root[data-theme="dark"] .mtv-profile__banner {
    background:
        radial-gradient(120% 160% at 82% 0%, rgba(255, 255, 255, .12), transparent 45%),
        linear-gradient(120deg, #12354C 0%, #3E2459 48%, #8E1240 100%);
}
:root[data-theme="dark"] .mtv-avatar,
:root[data-theme="dark"] .mtv-studio-card__avatar {
    background: linear-gradient(140deg, #14364D, var(--mtv-magenta));
}
:root[data-theme="dark"] .mtv-avatar--xl {
    border-color: #0E1B28;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
:root[data-theme="dark"] .mtv-profile__meta a { color: var(--dk-pink-text); }
:root[data-theme="dark"] .mtv-profile__stats a { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-profile__stats a:hover { color: var(--dk-pink-text); }
:root[data-theme="dark"] .mtv-facts > div,
:root[data-theme="dark"] .mtv-workstrip__item {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
}
:root[data-theme="dark"] .mtv-empty h3 { color: #F0F6FB; }

/* ---------- Cards, explore and casting ---------- */

:root[data-theme="dark"] .mtv-sidecard a { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-explore__icon,
:root[data-theme="dark"] .mtv-connect__head > svg {
    background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(216, 30, 91, .18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
:root[data-theme="dark"] .mtv-explore__tag.is-soon {
    background: rgba(255, 255, 255, .1);
    color: #C6D8E7;
}
:root[data-theme="dark"] .mtv-connect__actions .mtv-btn--outline { border-color: rgba(255, 255, 255, .18); }
:root[data-theme="dark"] .mtv-calling__body { color: #DCE8F2; }

/* ---------- Ads ---------- */

:root[data-theme="dark"] .mtv-ad__head { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .mtv-ad__disclosure { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-ad__title { color: #EDF4FA; }
:root[data-theme="dark"] .mtv-ad__body { color: var(--dk-muted-strong); }
:root[data-theme="dark"] .mtv-ad__card:hover { background: rgba(216, 30, 91, .08); }
:root[data-theme="dark"] .mtv-ad__image { background: rgba(255, 255, 255, .06); }

/* ---------- Chat ---------- */

:root[data-theme="dark"] .mtv-chat__list,
:root[data-theme="dark"] .mtv-chat__thread,
:root[data-theme="dark"] .mtv-chat__composer {
    background: var(--glass-surface);
    border-color: var(--dk-line);
    box-shadow: none;
}
:root[data-theme="dark"] .mtv-chat__head { border-bottom-color: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .mtv-threads a { color: #DCE8F2; }
:root[data-theme="dark"] .mtv-threads a:hover { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .mtv-threads__top strong,
:root[data-theme="dark"] .mtv-bubble__meta strong { color: #EEF5FA; }
:root[data-theme="dark"] .mtv-bubble__text { background: rgba(255, 255, 255, .07); }
:root[data-theme="dark"] .mtv-bubble--mine .mtv-bubble__text { background: rgba(216, 30, 91, .22); }
:root[data-theme="dark"] .mtv-bubble__media img,
:root[data-theme="dark"] .mtv-bubble__clip video { border-color: rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .mtv-chat__pick--over {
    border-color: rgba(255, 135, 172, .55);
    background: rgba(216, 30, 91, .14);
}
:root[data-theme="dark"] .mtv-chat__pick--over em { color: var(--dk-pink-text); }

/* ---------- Video ---------- */

:root[data-theme="dark"] .mtv-player__error { background: var(--glass-surface-strong); }
:root[data-theme="dark"] .mtv-player__error h3 { color: #F2F8FD; }
:root[data-theme="dark"] .mtv-card__title,
:root[data-theme="dark"] .mtv-model__name,
:root[data-theme="dark"] .mtv-calling__title,
:root[data-theme="dark"] .mtv-chat__title,
:root[data-theme="dark"] .mtv-thread__head { color: #F0F6FB; }

/* ---------- Footer ---------- */

:root[data-theme="dark"] .mtv-footer {
    background: linear-gradient(140deg, #0C2438 0%, #7E1036 100%);
    color: #F4F6FA;
}
:root[data-theme="dark"] .mtv-footer__join {
    background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border-color: rgba(255, 255, 255, .2);
}
:root[data-theme="dark"] .mtv-footer__join-button { color: #0B2233; }

/* ---------- Verified badge page (inline page styles) ---------- */

:root[data-theme="dark"] .mtv-verify__state,
:root[data-theme="dark"] .mtv-verify__offer { border-color: var(--dk-line); }
:root[data-theme="dark"] .mtv-verify__price { color: #F2F8FD; }
:root[data-theme="dark"] .mtv-verify__price span { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-verify__payments li {
    border-bottom-color: var(--dk-line);
    color: #E2ECF5;
}

/* ---------- Invite and join pages (inline page styles) ---------- */

:root[data-theme="dark"] .mtv-join__card,
:root[data-theme="dark"] .mtv-join__grid article,
:root[data-theme="dark"] .mtv-invitepage__card,
:root[data-theme="dark"] .mtv-invitepage__list li,
:root[data-theme="dark"] .mtv-invitecard__meta {
    background: var(--glass-surface);
    border-color: var(--dk-line);
    box-shadow: none;
}
:root[data-theme="dark"] .mtv-join__qr { background: #FFFFFF; }
:root[data-theme="dark"] .mtv-join__note {
    background: rgba(216, 30, 91, .12);
    border-left-color: rgba(255, 135, 172, .7);
}
:root[data-theme="dark"] .mtv-join__fine,
:root[data-theme="dark"] .mtv-join__qrlabel,
:root[data-theme="dark"] .mtv-join__qrhelp,
:root[data-theme="dark"] .mtv-join__steps li span:last-child,
:root[data-theme="dark"] .mtv-join__grid p { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-join__steps { border-top-color: var(--dk-line); }
:root[data-theme="dark"] .mtv-join__steps li { background: rgba(255, 255, 255, .045); }
/* The closing block used --mtv-navy as a fill; in dark that variable is ink, not a surface. */
:root[data-theme="dark"] .mtv-join__closing {
    background: linear-gradient(150deg, rgba(216, 30, 91, .3), rgba(20, 33, 48, .92));
    border: 1px solid rgba(255, 135, 172, .28);
    color: #F4F8FC;
}
:root[data-theme="dark"] .mtv-join__closing h2 { color: #FFFFFF; }
:root[data-theme="dark"] .mtv-join__closing p { color: rgba(255, 255, 255, .82); }
:root[data-theme="dark"] .mtv-invitepage__hint,
:root[data-theme="dark"] .mtv-invitepage__rule,
:root[data-theme="dark"] .mtv-invitepage__readylede,
:root[data-theme="dark"] .mtv-invitepage__empty,
:root[data-theme="dark"] .mtv-invitepage__url,
:root[data-theme="dark"] .mtv-invitepage__who span,
:root[data-theme="dark"] .mtv-invitecard__meta span,
:root[data-theme="dark"] .mtv-invitepage__form label em,
:root[data-theme="dark"] .mtv-invitepage__paused p,
:root[data-theme="dark"] .mtv-optout__note,
:root[data-theme="dark"] .mtv-legal__updated { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-invitepage__rule,
:root[data-theme="dark"] .mtv-legal__section { border-color: var(--dk-line); }
:root[data-theme="dark"] .mtv-optout__note { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .mtv-legal__contact { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .mtv-invitepage__form input,
:root[data-theme="dark"] .mtv-storynew__caption input {
    background: var(--dk-input);
    border-color: var(--dk-line-strong);
    color: var(--mtv-navy-ink);
}
:root[data-theme="dark"] .mtv-invitecard { background: rgba(255, 255, 255, .05); border-color: var(--dk-line); }
:root[data-theme="dark"] .mtv-invitecard__shot { background: rgba(255, 255, 255, .03); }
:root[data-theme="dark"] .mtv-invitecard__meta {
    border-top-color: var(--dk-line);
    border-left-color: var(--dk-line);
}
:root[data-theme="dark"] .mtv-invitepage__status {
    background: rgba(255, 255, 255, .1);
    color: #DCE8F2;
}
:root[data-theme="dark"] .mtv-auth__invite {
    background: rgba(216, 30, 91, .12);
    border-color: rgba(216, 30, 91, .35);
    color: #F3E9EE;
}
:root[data-theme="dark"] .mtv-auth__invite-note {
    background: rgba(255, 255, 255, .07);
    color: #DCE8F2;
}

/* ---------- Story composer (inline page styles) ---------- */

:root[data-theme="dark"] .mtv-storynew__form,
:root[data-theme="dark"] .mtv-storynew__active {
    background: var(--glass-surface);
    border-color: var(--dk-line);
}
:root[data-theme="dark"] .mtv-storynew__blurb,
:root[data-theme="dark"] .mtv-storynew__picker small,
:root[data-theme="dark"] .mtv-storynew__note,
:root[data-theme="dark"] .mtv-storynew__meta span { color: var(--dk-muted); }
:root[data-theme="dark"] .mtv-storynew__picker {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .18);
}
:root[data-theme="dark"] .mtv-storynew__picker:hover { background: rgba(216, 30, 91, .08); }
:root[data-theme="dark"] .mtv-storynew__errors { color: #FFB2C8; }
:root[data-theme="dark"] .mtv-storynew__list li { border-color: rgba(255, 255, 255, .1); }

/* ---------- Scrollbars ---------- */

:root[data-theme="dark"] .mtv-sidenav,
:root[data-theme="dark"] .mtv-feed__right,
:root[data-theme="dark"] .mtv-rail__track {
    scrollbar-color: rgba(255, 255, 255, .24) transparent;
}
