:root {
    --vv-ink: #09234b;
    --vv-text: #263e63;
    --vv-muted: #7889a4;
    --vv-canvas: #f7fbff;
    --vv-surface: #ffffff;
    --vv-surface-soft: #f2f7fb;
    --vv-surface-raised: #ffffff;
    --vv-border: #e5eef8;
    --vv-border-strong: #d6e3f1;
    --vv-primary: #12cdb0;
    --vv-primary-deep: #008d7d;
    --vv-primary-soft: #ddf8f2;
    --vv-blue: #2f8cff;
    --vv-blue-soft: #eaf3ff;
    --vv-danger: #e6545d;
    --vv-warning: #f5a524;
    --vv-on-primary: #052c28;
    --vv-shadow-sm: 0 8px 24px rgba(31, 80, 126, .07);
    --vv-shadow-lg: 0 24px 70px rgba(31, 80, 126, .13);
    --vv-radius-sm: 11px;
    --vv-radius-md: 16px;
    --vv-radius-lg: 22px;
    --vv-container: 1240px;
    --vv-scroll-track: #f2f7fb;
    --vv-scroll-thumb: #b8c9dc;
    --vv-player: #07111f;
    color-scheme: light;
    scrollbar-color: var(--vv-scroll-thumb) var(--vv-scroll-track);
    scrollbar-width: thin;
}

html[data-vv-public-theme="dark"] {
    --vv-ink: #f2f7ff;
    --vv-text: #d4e0f0;
    --vv-muted: #93a6c0;
    --vv-canvas: #08111f;
    --vv-surface: #101c2c;
    --vv-surface-soft: #152438;
    --vv-surface-raised: #18283d;
    --vv-border: #243852;
    --vv-border-strong: #35506f;
    --vv-primary: #28ddbd;
    --vv-primary-deep: #63efd5;
    --vv-primary-soft: rgba(40, 221, 189, .13);
    --vv-blue: #69aaff;
    --vv-blue-soft: rgba(105, 170, 255, .13);
    --vv-danger: #ff7b83;
    --vv-warning: #ffc35c;
    --vv-on-primary: #041b18;
    --vv-shadow-sm: 0 12px 32px rgba(0, 0, 0, .22);
    --vv-shadow-lg: 0 30px 90px rgba(0, 0, 0, .38);
    --vv-scroll-track: #0c1726;
    --vv-scroll-thumb: #39516e;
    --vv-player: #02060c;
    color-scheme: dark;
}

html[data-vv-public-theme="dark"] body {
    background: var(--vv-canvas);
    color: var(--vv-text);
}

html {
    min-height: 100%;
    scroll-padding-top: 88px;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--vv-canvas);
    color: var(--vv-text);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s ease, color .2s ease;
}

body::-webkit-scrollbar,
.vv-user-page *::-webkit-scrollbar,
.vv-public-home *::-webkit-scrollbar,
.vv-play-page *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body::-webkit-scrollbar-track,
.vv-user-page *::-webkit-scrollbar-track,
.vv-public-home *::-webkit-scrollbar-track,
.vv-play-page *::-webkit-scrollbar-track {
    background: var(--vv-scroll-track);
}

body::-webkit-scrollbar-thumb,
.vv-user-page *::-webkit-scrollbar-thumb,
.vv-public-home *::-webkit-scrollbar-thumb,
.vv-play-page *::-webkit-scrollbar-thumb {
    border: 3px solid var(--vv-scroll-track);
    border-radius: 999px;
    background: var(--vv-scroll-thumb);
}

a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--vv-primary) 36%, transparent);
    outline-offset: 3px;
}

.vv-public-container {
    width: min(calc(100% - 40px), var(--vv-container));
    margin-inline: auto;
}

.vv-public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    border-bottom: 1px solid color-mix(in srgb, var(--vv-border) 88%, transparent);
    background: color-mix(in srgb, var(--vv-surface) 94%, transparent);
    backdrop-filter: blur(18px);
}

.vv-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.vv-public-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: var(--vv-ink);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.7px;
    text-decoration: none;
}

.vv-public-brand:hover {
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-public-brand img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.vv-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.vv-theme-toggle,
.vv-icon-link {
    display: inline-grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--vv-ink);
    font-size: 20px;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.vv-theme-toggle:hover,
.vv-icon-link:hover {
    background: var(--vv-surface-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
    transform: translateY(-1px);
}

.vv-quiet-button,
.vv-login-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid var(--vv-border);
    border-radius: 999px;
    background: var(--vv-surface-soft);
    color: var(--vv-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.vv-quiet-button:hover,
.vv-login-link:hover {
    border-color: color-mix(in srgb, var(--vv-primary) 52%, var(--vv-border));
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
}

/* Homepage theme adapter: vv-home.css remains the component owner. */
.vv-public-home {
    --home-ink: var(--vv-ink);
    --home-text: var(--vv-text);
    --home-muted: var(--vv-muted);
    --home-canvas: var(--vv-canvas);
    --home-surface: var(--vv-surface);
    --home-border: var(--vv-border);
    --home-teal: var(--vv-primary);
    --home-teal-dark: var(--vv-primary-deep);
    --home-blue: var(--vv-blue);
    --home-shadow: var(--vv-shadow-sm);
    background: var(--vv-canvas);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-public-header,
html[data-vv-public-theme="dark"] .vv-public-home .vv-discovery-panel,
html[data-vv-public-theme="dark"] .vv-public-home .vv-movie-card,
html[data-vv-public-theme="dark"] .vv-public-home .vv-public-footer,
html[data-vv-public-theme="dark"] .vv-public-home .vv-category-grid button,
html[data-vv-public-theme="dark"] .vv-public-home .vv-category-grid a {
    border-color: var(--vv-border);
    background: var(--vv-surface);
    color: var(--vv-text);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-site-search,
html[data-vv-public-theme="dark"] .vv-public-home .vv-login-link,
html[data-vv-public-theme="dark"] .vv-public-home .vv-panel-tabs,
html[data-vv-public-theme="dark"] .vv-public-home .vv-filters {
    border-color: var(--vv-border);
    background: var(--vv-surface);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-filter-options a.is-active {
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-pager a,
html[data-vv-public-theme="dark"] .vv-public-home .vv-pager span,
html[data-vv-public-theme="dark"] .vv-public-home .vv-list-message {
    border-color: var(--vv-border);
    background: var(--vv-surface-soft);
    color: var(--vv-text);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-site-search:focus-within {
    background: var(--vv-surface-raised);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-movie-title,
html[data-vv-public-theme="dark"] .vv-public-home .vv-section-heading h2,
html[data-vv-public-theme="dark"] .vv-public-home .vv-rank-copy strong,
html[data-vv-public-theme="dark"] .vv-public-home .vv-recent-copy strong {
    color: var(--vv-ink);
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-movie-meta,
html[data-vv-public-theme="dark"] .vv-public-home .vv-rank-copy small,
html[data-vv-public-theme="dark"] .vv-public-home .vv-recent-copy small,
html[data-vv-public-theme="dark"] .vv-public-home .vv-recent-time,
html[data-vv-public-theme="dark"] .vv-public-home .vv-footer-brand p,
html[data-vv-public-theme="dark"] .vv-public-home .vv-copyright {
    color: var(--vv-muted);
}

@media (prefers-reduced-motion: reduce) {
    .vv-user-watch,
    .vv-user-secondary,
    .vv-space-actions a {
        transition: none;
    }

    .vv-user-watch:hover,
    .vv-user-secondary:hover,
    .vv-space-actions a:hover {
        transform: none;
    }
}

.vv-user-page {
    min-height: 100vh;
    background:
        radial-gradient(720px 340px at 82% 0, color-mix(in srgb, var(--vv-blue) 10%, transparent), transparent 70%),
        var(--vv-canvas);
}

.vv-user-topnav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vv-user-topnav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 24px 4px 22px;
    color: var(--vv-text);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.vv-user-topnav a::after {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 0;
    height: 3px;
    border-radius: 99px;
    background: var(--vv-primary);
    content: "";
    opacity: 0;
    transform: scaleX(.4);
    transition: .2s ease;
}

.vv-user-topnav a:hover,
.vv-user-topnav a.is-active {
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-user-topnav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.vv-user-name {
    max-width: 120px;
    overflow: hidden;
    color: var(--vv-text);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vv-user-main {
    padding-top: 24px;
    padding-bottom: 42px;
}

.vv-user-banner {
    position: relative;
    display: flex;
    min-height: 320px;
    align-items: center;
    margin-bottom: 28px;
    overflow: hidden;
    padding: 46px 52px;
    border-radius: 22px;
    background-color: color-mix(in srgb, var(--vv-blue) 16%, var(--vv-surface));
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--vv-canvas) 62%, transparent) 0%, color-mix(in srgb, var(--vv-canvas) 18%, transparent) 40%, transparent 64%),
        url('../image/vv-hero-v2.png');
    background-position: center;
    background-size: cover;
    box-shadow: var(--vv-shadow-sm);
}

.vv-user-banner-copy {
    position: relative;
    z-index: 2;
    max-width: 34rem;
}

.vv-user-greeting {
    margin: 0 0 10px;
    color: var(--vv-muted);
    font-size: 15px;
    letter-spacing: .28em;
}

.vv-user-banner h1 {
    margin: 0;
    color: var(--vv-ink);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.18;
    text-wrap: balance;
}

.vv-user-banner-meta {
    margin: 14px 0 0;
    color: var(--vv-text);
    font-size: 15px;
}

.vv-user-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.vv-user-watch,
.vv-user-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.vv-user-watch {
    background: #073d4b;
    color: #fff;
    box-shadow: 0 12px 28px rgba(7, 61, 75, .22);
}

.vv-user-watch i {
    color: #62f1d7;
    font-size: 20px;
}

.vv-user-watch:hover {
    background: #005f68;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.vv-user-secondary {
    border: 1px solid color-mix(in srgb, var(--vv-ink) 12%, transparent);
    background: color-mix(in srgb, var(--vv-surface) 72%, transparent);
    color: var(--vv-ink);
}

.vv-user-secondary:hover {
    background: var(--vv-surface);
    color: var(--vv-primary-deep);
    text-decoration: none;
    transform: translateY(-2px);
}

.vv-user-banner-note {
    position: absolute;
    z-index: 2;
    top: 48px;
    left: 58%;
    margin: 0;
    color: var(--vv-ink);
    font-family: KaiTi, STKaiti, "Songti SC", serif;
    font-size: 26px;
    line-height: 1.55;
    transform: rotate(-7deg);
}

html[data-vv-public-theme="dark"] .vv-user-banner {
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--vv-canvas) 78%, transparent) 0%, color-mix(in srgb, var(--vv-canvas) 28%, transparent) 44%, transparent 70%),
        url('../image/vv-hero-v2.png');
}

html[data-vv-public-theme="dark"] .vv-user-watch {
    background: var(--vv-primary);
    color: var(--vv-on-primary);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--vv-primary) 28%, transparent);
}

html[data-vv-public-theme="dark"] .vv-user-watch i,
html[data-vv-public-theme="dark"] .vv-user-watch:hover {
    color: var(--vv-on-primary);
}

html[data-vv-public-theme="dark"] .vv-user-watch:hover {
    background: var(--vv-primary-deep);
}

.vv-user-layout {
    align-items: flex-start;
}

.vv-user-sidebar {
    position: sticky;
    top: 94px;
}

.vv-user-menu,
.vv-user-page .card,
.vv-user-page .breadcrumb,
.vv-user-page .alert,
.vv-user-page .modal-content {
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-md);
    background: var(--vv-surface);
    color: var(--vv-text);
    box-shadow: var(--vv-shadow-sm);
}

.vv-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 22px 16px 16px;
    border: 1px solid var(--vv-border);
    border-radius: 18px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--vv-primary) 12%, var(--vv-surface)) 0%, var(--vv-surface) 58%);
    text-align: center;
    box-shadow: var(--vv-shadow-sm);
}

.vv-profile-card .avatar {
    width: 72px;
    height: 72px;
    border: 3px solid var(--vv-surface);
    border-radius: 20px;
    background: var(--vv-surface-soft);
    object-fit: cover;
    box-shadow: var(--vv-shadow-sm);
}

.vv-profile-copy {
    min-width: 0;
    max-width: 100%;
}

.vv-profile-copy .nickname {
    display: block;
    overflow: hidden;
    color: var(--vv-ink);
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vv-profile-member {
    margin: 5px 0 0;
    color: var(--vv-muted);
    font-size: 13px;
    font-weight: 700;
}

.vv-profile-card.is-member .vv-profile-member {
    color: var(--vv-primary-deep);
}

.vv-profile-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 2px 0 0;
    padding: 12px 4px 0;
    border-top: 1px solid var(--vv-border);
}

.vv-profile-facts div {
    display: grid;
    gap: 3px;
}

.vv-profile-facts dt {
    color: var(--vv-muted);
    font-size: 12px;
    font-weight: 600;
}

.vv-profile-facts dd {
    margin: 0;
    color: var(--vv-ink);
    font-size: 15px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.vv-user-menu {
    display: grid;
    gap: 5px;
    margin-top: 0;
    padding: 9px;
}

.vv-user-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--vv-text);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.vv-user-menu a i {
    color: var(--vv-muted);
    font-size: 18px;
}

.vv-user-menu a:hover,
.vv-user-menu a.active {
    border-color: color-mix(in srgb, var(--vv-primary) 34%, var(--vv-border));
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-user-menu a.active i {
    color: var(--vv-primary-deep);
}

.vv-space {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.vv-space-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.vv-space-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--vv-ink);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.4px;
}

.vv-space-heading h2 span {
    display: grid;
    place-items: center;
    font-size: 24px;
}

.vv-space-heading .is-teal { color: #17c990; }
.vv-space-heading .is-heart { color: #ff6573; }
.vv-space-heading .is-search { color: var(--vv-blue); }

.vv-space-heading--compact {
    margin-bottom: 12px;
}

.vv-space-heading--compact h2 {
    font-size: 18px;
}

.vv-space-heading .card-title {
    margin: 0;
}

.vv-space-id {
    margin: 0;
    color: var(--vv-muted);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vv-space-id span {
    color: var(--vv-ink);
}

.vv-space-more {
    display: inline-flex;
    align-items: center;
    color: var(--vv-muted);
    font-size: 13px;
    text-decoration: none;
}

.vv-space-more:hover {
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-space-back {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px 0 11px;
    border: 1px solid var(--vv-border);
    border-radius: 999px;
    background: var(--vv-surface);
    color: var(--vv-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: var(--vv-shadow-sm);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.vv-space-back i {
    font-size: 16px;
}

.vv-space-back:hover {
    border-color: color-mix(in srgb, var(--vv-primary) 52%, var(--vv-border));
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
    transform: translateY(-1px);
}

.vv-space-back:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(18, 205, 176, .22);
}

.vv-space-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.vv-space-actions a {
    display: flex;
    min-height: 116px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 8px;
    border: 1px solid var(--vv-border);
    border-radius: 16px;
    background: var(--vv-surface);
    color: var(--vv-ink);
    text-decoration: none;
    box-shadow: var(--vv-shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.vv-space-actions a:hover {
    border-color: color-mix(in srgb, var(--vv-primary) 50%, var(--vv-border));
    color: var(--vv-ink);
    text-decoration: none;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--vv-primary) 16%, transparent);
    transform: translateY(-3px);
}

.vv-space-actions strong {
    font-size: 14px;
    font-weight: 750;
}

.vv-space-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 26px;
}

.vv-space-icon.is-blue { background: #e8f2ff; color: #4595ff; }
.vv-space-icon.is-green { background: #e6fbf3; color: #13c992; }
.vv-space-icon.is-indigo { background: #e9f1ff; color: #537ee8; }
.vv-space-icon.is-cyan { background: #e8f7ff; color: #258fe8; }
.vv-space-icon.is-teal { background: #e4faf5; color: #10b991; }
.vv-space-icon.is-coral { background: #fff0ee; color: #ff7068; }

html[data-vv-public-theme="dark"] .vv-space-icon.is-blue { background: rgba(69, 149, 255, .16); }
html[data-vv-public-theme="dark"] .vv-space-icon.is-green,
html[data-vv-public-theme="dark"] .vv-space-icon.is-teal { background: rgba(16, 185, 145, .16); }
html[data-vv-public-theme="dark"] .vv-space-icon.is-indigo { background: rgba(83, 126, 232, .16); }
html[data-vv-public-theme="dark"] .vv-space-icon.is-cyan { background: rgba(37, 143, 232, .16); }
html[data-vv-public-theme="dark"] .vv-space-icon.is-coral { background: rgba(255, 112, 104, .16); }

.vv-space-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
}

.vv-space-panel {
    min-width: 0;
    padding: 20px 22px 10px;
    border: 1px solid var(--vv-border);
    border-radius: 18px;
    background: var(--vv-surface);
    box-shadow: var(--vv-shadow-sm);
}

.vv-space-panel--table {
    padding-bottom: 8px;
}

.vv-space-panel .table-responsive {
    margin: 0 -6px 6px;
}

.vv-space-empty {
    padding: 28px 12px 32px !important;
    color: var(--vv-muted) !important;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.vv-help {
    display: grid;
    gap: 20px;
    padding: 2px 0 16px;
}

.vv-help article {
    max-width: 68ch;
}

.vv-help h3 {
    margin: 0 0 6px;
    color: var(--vv-ink);
    font-size: 15px;
    font-weight: 750;
}

.vv-help p {
    margin: 0;
    color: var(--vv-text);
    font-size: 14px;
    line-height: 1.7;
}

.vv-help p + p {
    margin-top: 8px;
}

.vv-help a {
    color: var(--vv-primary-deep);
    font-weight: 700;
}

.vv-help a:hover {
    color: var(--vv-primary-deep);
}

.vv-help-meta {
    color: var(--vv-muted);
    font-size: 13px;
}

.vv-help-meta a {
    color: inherit;
    font-weight: 650;
}

.vv-help code {
    display: inline;
    padding: 1px 6px;
    border: 1px solid var(--vv-border);
    border-radius: 6px;
    background: var(--vv-surface-soft);
    color: var(--vv-ink);
    font-size: 12.5px;
    font-weight: 650;
}

.vv-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 2px 0 18px;
}

.vv-shop-grid > .vv-space-empty {
    grid-column: 1 / -1;
}

.vv-shop-card {
    display: flex;
    flex-direction: column;
    min-height: 228px;
    padding: 20px 18px 16px;
    border: 1px solid var(--vv-border);
    border-radius: 16px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--vv-primary) 11%, var(--vv-surface)) 0%, var(--vv-surface) 48%);
}

.vv-shop-card[data-type="2"] {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--vv-blue) 11%, var(--vv-surface)) 0%, var(--vv-surface) 48%);
}

.vv-shop-type {
    align-self: flex-start;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    font-size: 12px;
    font-weight: 750;
    line-height: 24px;
}

.vv-shop-card[data-type="2"] .vv-shop-type {
    background: var(--vv-blue-soft);
    color: var(--vv-blue);
}

.vv-shop-card h3 {
    margin: 12px 0 0;
    color: var(--vv-ink);
    font-size: 20px;
    font-weight: 850;
}

.vv-shop-term {
    margin: 6px 0 0;
    color: var(--vv-muted);
    font-size: 13px;
}

.vv-shop-price {
    margin: auto 0 14px;
    color: var(--vv-primary-deep);
    font-size: 28px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.4px;
}

.vv-shop-card[data-type="2"] .vv-shop-price {
    color: var(--vv-blue);
}

.vv-shop-price small {
    margin-right: 2px;
    font-size: 14px;
    font-weight: 750;
}

.vv-shop-card .pays {
    width: 100%;
}

.vv-coupon {
    display: grid;
    gap: 16px;
    max-width: 420px;
    padding-bottom: 18px;
}

.vv-coupon label {
    display: block;
    margin-bottom: 8px;
    color: var(--vv-ink);
    font-size: 13px;
    font-weight: 700;
}

.vv-coupon-actions,
.vv-pay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vv-pay-actions {
    padding: 8px 0 18px;
}

.vv-pay-actions[hidden],
.vv-pay-paid[hidden],
.vv-pay-actions .submit[hidden],
#vv-pay-start[hidden] {
    display: none !important;
}

#vv-pay-start {
    min-width: 148px;
}

.vv-pay-paid {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    margin: 4px 0 18px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    font-size: 13px;
    font-weight: 750;
}

.vv-pay-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100vw - 32px), 360px);
    height: fit-content;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}

.vv-pay-dialog:focus {
    outline: 0;
}

.vv-pay-dialog::backdrop {
    background: rgba(9, 35, 75, .46);
}

.vv-pay-dialog[open] {
    animation: vv-pay-dialog-in .2s cubic-bezier(.16, 1, .3, 1);
}

.vv-pay-dialog[open]::backdrop {
    animation: vv-pay-dialog-fade .2s ease-out;
}

.vv-pay-dialog-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px 22px 22px;
    background: var(--vv-surface);
    border: 1px solid var(--vv-border);
    border-radius: 18px;
    box-shadow: var(--vv-shadow-lg);
}

.vv-pay-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--vv-surface-soft);
    color: var(--vv-muted);
    font-size: 18px;
    cursor: pointer;
    box-shadow: none;
}

.vv-pay-dialog-close:hover {
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
}

.vv-pay-dialog-close:hover,
.vv-pay-dialog-close:focus,
.vv-pay-dialog-close:focus-visible,
.vv-pay-dialog-close:active {
    outline: none;
    border: 0;
    box-shadow: none;
}

.vv-pay-qr-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    font-size: 22px;
}

.vv-pay-dialog[data-type="wxpay"] .vv-pay-qr-mark {
    background: #e8f8ee;
    color: #07c160;
}

.vv-pay-dialog[data-type="alipay"] .vv-pay-qr-mark {
    background: var(--vv-blue-soft);
    color: var(--vv-blue);
}

.vv-pay-qr-title {
    margin: 0;
    color: var(--vv-ink);
    font-size: 16px;
    font-weight: 750;
}

.vv-pay-ways {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
}

.vv-pay-way {
    min-height: 36px;
    padding: 0 10px;
    color: var(--vv-text);
    background: var(--vv-surface-soft);
    border: 1px solid var(--vv-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.vv-pay-way:hover,
.vv-pay-way:focus,
.vv-pay-way:focus-visible,
.vv-pay-way:active {
    outline: none;
    box-shadow: none;
}

.vv-pay-way:hover {
    color: var(--vv-ink);
    border-color: var(--vv-border-strong);
}

.vv-pay-dialog[data-type="wxpay"] .vv-pay-way[data-way="wxpay"],
.vv-pay-way[data-way="wxpay"].is-active {
    color: #067544;
    background: #e8f8ee;
    border-color: #9fe0bc;
}

.vv-pay-dialog[data-type="alipay"] .vv-pay-way[data-way="alipay"],
.vv-pay-way[data-way="alipay"].is-active {
    color: var(--vv-blue);
    background: var(--vv-blue-soft);
    border-color: #bbd6ff;
}

.vv-pay-qr-box {
    display: grid;
    place-items: center;
    width: 228px;
    height: 228px;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
}

.vv-pay-qr-box img,
.vv-pay-qr-box canvas,
.vv-pay-qr-box svg {
    display: block;
    width: 212px;
    height: 212px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    shape-rendering: crispEdges;
}

.vv-pay-qr-status {
    margin: 0;
    color: var(--vv-muted);
    font-size: 13px;
    font-weight: 650;
}

.vv-pay-qr-status.is-wait { color: var(--vv-primary-deep); }
.vv-pay-qr-status.is-ok { color: var(--vv-primary-deep); }
.vv-pay-qr-status.is-err { color: var(--vv-danger); }

.vv-pay-qr-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

@keyframes vv-pay-dialog-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@keyframes vv-pay-dialog-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vv-order-state {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.vv-order-state.is-paid {
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
}

.vv-order-state.is-open {
    background: color-mix(in srgb, var(--vv-danger) 12%, var(--vv-surface));
    color: var(--vv-danger);
}

.vv-order-state.is-open:hover {
    color: var(--vv-danger);
    text-decoration: none;
}

.vv-space-fields,
.vv-space-binds {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vv-space-fields > div,
.vv-space-binds li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--vv-border);
}

.vv-space-fields > div:last-child,
.vv-space-binds li:last-child {
    border-bottom: 0;
}

.vv-space-fields dt,
.vv-space-binds p {
    margin: 0;
    color: var(--vv-muted);
    font-size: 13px;
    font-weight: 500;
}

.vv-space-fields dd,
.vv-space-binds strong {
    margin: 0;
    color: var(--vv-ink);
    font-size: 14px;
    font-weight: 700;
}

.vv-space-nickname dd {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vv-space-nickname input {
    width: 132px;
    height: 36px;
    min-height: 36px;
    padding: 0 8px;
}

.vv-space-edit {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: var(--vv-surface-soft);
    color: var(--vv-primary-deep);
    cursor: pointer;
}

.vv-space-edit:hover {
    background: var(--vv-primary-soft);
}

.vv-space-binds li > div {
    min-width: 0;
}

.vv-space-bound {
    display: inline-block;
    margin-top: 4px;
    color: var(--vv-primary-deep);
    font-size: 12px;
    font-weight: 700;
}

.vv-space-bind-btn {
    flex: 0 0 auto;
    min-width: 72px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--vv-primary) 50%, var(--vv-border));
    border-radius: 999px;
    color: var(--vv-primary-deep);
    font-size: 13px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
}

.vv-space-bind-btn:hover,
.vv-space-bind-btn.is-unbind {
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-space-bind-btn.is-unbind {
    border-color: color-mix(in srgb, var(--vv-danger) 40%, var(--vv-border));
    color: var(--vv-danger);
}

.vv-user-page .card {
    overflow: hidden;
}

.vv-user-page .card-body {
    padding: 24px;
}

.vv-user-page .card-title,
.vv-user-page .vv-uc-card-title,
.vv-user-page h5,
.vv-user-page h6,
.vv-user-page .vv-uc-title {
    color: var(--vv-ink);
    font-weight: 800;
}

.vv-user-page .text-muted,
.vv-user-page .text-secondary,
.vv-user-page .vv-uc-subtitle,
.vv-user-page .action-desc {
    /* Bootstrap marks these utilities important; the scoped theme must win. */
    color: var(--vv-muted) !important;
}

.vv-user-page .vv-uc-alert {
    border-color: color-mix(in srgb, var(--vv-blue) 32%, var(--vv-border));
    background: var(--vv-blue-soft);
    color: var(--vv-text);
}

.vv-user-page .vv-uc-kpi,
.vv-user-page .vv-uc-action,
.vv-user-page .vv-uc-bind,
.vv-user-page .list-group-item {
    border-color: var(--vv-border);
    background: var(--vv-surface-soft);
    color: var(--vv-text);
}

.vv-user-page .vv-uc-kpi .kpi-label {
    color: var(--vv-muted);
}

.vv-user-page .vv-uc-kpi .kpi-value,
.vv-user-page .vv-uc-action .action-title {
    color: var(--vv-ink);
}

.vv-user-page .vv-uc-action:hover {
    border-color: color-mix(in srgb, var(--vv-primary) 45%, var(--vv-border));
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
}

.vv-user-page .form-control,
.vv-auth-page .form-control {
    min-height: 44px;
    border: 1px solid var(--vv-border-strong);
    border-radius: var(--vv-radius-sm);
    background: var(--vv-surface);
    color: var(--vv-ink);
    box-shadow: none;
}

.vv-user-page textarea.form-control,
.vv-auth-page textarea.form-control {
    min-height: 120px;
    resize: none;
}

.vv-user-page .form-control::placeholder,
.vv-auth-page .form-control::placeholder {
    color: var(--vv-muted);
}

.vv-user-page .form-control:focus,
.vv-auth-page .form-control:focus {
    border-color: var(--vv-primary);
    background: var(--vv-surface-raised);
    color: var(--vv-ink);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--vv-primary) 14%, transparent);
}

.vv-password-field {
    position: relative;
}

.vv-password-field .form-control {
    padding-right: 46px;
}

.vv-password-field button {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--vv-muted);
    font-size: 18px;
    cursor: pointer;
}

.vv-password-field button:hover {
    background: var(--vv-surface-soft);
    color: var(--vv-primary-deep);
}

.vv-user-page .form-control-plaintext {
    /* The nickname field keeps an inline legacy color; shared theme owns text. */
    color: var(--vv-text) !important;
}

.vv-user-page .btn,
.vv-auth-page .btn {
    min-height: 40px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.vv-user-page .btn-primary,
.vv-auth-page .btn-primary {
    border-color: var(--vv-primary);
    background: var(--vv-primary);
    color: var(--vv-on-primary);
}

.vv-user-page .btn-primary:hover,
.vv-auth-page .btn-primary:hover {
    border-color: var(--vv-primary-deep);
    background: var(--vv-primary-deep);
    color: var(--vv-on-primary);
}

.vv-user-page .btn-outline-primary,
.vv-user-page .btn-outline-success {
    border-color: color-mix(in srgb, var(--vv-primary) 60%, var(--vv-border));
    color: var(--vv-primary-deep);
}

.vv-user-page .btn-outline-primary:hover,
.vv-user-page .btn-outline-success:hover {
    border-color: var(--vv-primary);
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
}

.vv-user-page .table {
    margin-bottom: 0;
    /* Several legacy tables declare a literal border color after this file. */
    border-color: var(--vv-border) !important;
    color: var(--vv-text);
}

.vv-user-page .table th,
.vv-user-page .table td,
.vv-user-page .vv-uc-table th,
.vv-user-page .vv-uc-table td {
    vertical-align: middle;
    border-color: var(--vv-border);
    color: var(--vv-text);
}

.vv-user-page .table thead th {
    border-bottom-width: 1px;
    background: var(--vv-surface-soft);
    color: var(--vv-muted);
    font-size: 12px;
    font-weight: 750;
}

.vv-user-page .table-hover tbody tr:hover {
    background: var(--vv-primary-soft);
    color: var(--vv-text);
}

.vv-user-page .breadcrumb {
    padding: 11px 15px;
    box-shadow: none;
}

.vv-user-page .breadcrumb-item,
.vv-user-page .breadcrumb-item.active {
    color: var(--vv-muted);
    font-size: 13px;
}

.vv-user-page .breadcrumb-item a {
    color: var(--vv-primary-deep);
}

.vv-user-page .modal-header,
.vv-user-page .modal-footer {
    border-color: var(--vv-border);
}

.vv-user-page .modal-body {
    color: var(--vv-text);
}

.vv-user-page .close {
    color: var(--vv-text);
    text-shadow: none;
}

.vv-user-page .vv-uc-alert .close {
    /* Legacy page CSS is loaded after the shared stylesheet. */
    color: var(--vv-text) !important;
}

.vv-user-page .avatar {
    /* Existing templates contain inline avatar colors; theme tokens own them. */
    border-color: var(--vv-border-strong) !important;
    background: var(--vv-surface-soft) !important;
}

.vv-user-page .highlight,
.vv-user-page pre,
.vv-user-page code {
    border-color: var(--vv-border);
    background: var(--vv-surface-soft);
    color: var(--vv-text);
}

.vv-user-footer {
    margin-top: auto;
}

/* Authentication */
body.vv-auth-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(700px 360px at 6% 4%, color-mix(in srgb, var(--vv-primary) 16%, transparent), transparent 72%),
        radial-gradient(760px 420px at 98% 96%, color-mix(in srgb, var(--vv-blue) 15%, transparent), transparent 70%),
        var(--vv-canvas);
}

.vv-auth-shell {
    display: grid;
    width: min(100%, 980px);
    min-height: 610px;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    border: 1px solid var(--vv-border);
    border-radius: 26px;
    background: var(--vv-surface);
    box-shadow: var(--vv-shadow-lg);
}

.vv-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    overflow: hidden;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--vv-surface) 16%, transparent), color-mix(in srgb, var(--vv-ink) 64%, transparent)),
        url('../image/vv-hero-v2.png') center / cover no-repeat;
    color: #fff;
}

.vv-auth-visual::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border: 44px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    content: "";
}

.vv-auth-visual .vv-public-brand {
    position: relative;
    z-index: 1;
    color: #fff;
}

.vv-auth-message {
    position: relative;
    z-index: 1;
    max-width: 380px;
}

.vv-auth-message span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.vv-auth-message h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 850;
    letter-spacing: -.05em;
    line-height: 1.16;
}

.vv-auth-message p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.vv-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.vv-auth-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.vv-auth-panel-top a {
    color: var(--vv-primary-deep);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.vv-auth-panel h1 {
    margin: 0 0 7px;
    color: var(--vv-ink);
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -.035em;
}

.vv-auth-subtitle {
    margin: 0 0 25px;
    color: var(--vv-muted);
    font-size: 13px;
}

.vv-auth-page .form-group {
    margin-bottom: 16px;
}

.vv-auth-page label {
    display: block;
    margin-bottom: 7px;
    color: var(--vv-text);
    font-size: 13px;
    font-weight: 700;
}

.vv-auth-page .btn-primary {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--vv-primary) 22%, transparent);
}

.vv-auth-switch {
    margin: 19px 0 0;
    color: var(--vv-muted);
    font-size: 13px;
    text-align: center;
}

.vv-auth-switch a {
    color: var(--vv-primary-deep);
    font-weight: 750;
}

.vv-social-login {
    margin-top: 21px;
    padding-top: 19px;
    border-top: 1px solid var(--vv-border);
    text-align: center;
}

.vv-social-login p {
    margin-bottom: 11px;
    color: var(--vv-muted);
    font-size: 12px;
}

.vv-social-buttons {
    display: flex;
    justify-content: center;
    gap: 11px;
}

.vv-social-buttons a {
    display: inline-grid;
    width: 44px;
    height: 44px;
    overflow: hidden;
    place-items: center;
    border: 1px solid var(--vv-border);
    border-radius: 50%;
    background: var(--vv-surface-soft);
}

.vv-social-buttons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.vv-auth-inline-alert {
    margin-bottom: 16px;
    padding: 11px 13px;
    border: 1px solid color-mix(in srgb, var(--vv-blue) 32%, var(--vv-border));
    border-radius: 11px;
    background: var(--vv-blue-soft);
    color: var(--vv-text);
    font-size: 13px;
}

/* Player */
.vv-play-page {
    min-height: 100vh;
    background: var(--vv-canvas);
}

.vv-play-main {
    padding-top: 26px;
    padding-bottom: 54px;
}

.vv-play-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.vv-play-heading p {
    margin: 0 0 6px;
    color: var(--vv-primary-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.vv-play-title {
    margin: 0;
    color: var(--vv-ink);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.vv-play-sub {
    color: var(--vv-muted);
    font-size: 13px;
}

.vv-play-card {
    overflow: hidden;
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-lg);
    background: var(--vv-surface);
    box-shadow: var(--vv-shadow-lg);
}

.vv-player {
    --vv-loader-size: 132px;
    --vv-loader-icon: 50px;
    --vv-loader-soft: 12px;
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--vv-player);
}

.vv-player iframe,
#vv-artplayer {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

#vv-artplayer .art-video-player {
    width: 100%;
    height: 100%;
}

.vv-player.is-embed #vv-artplayer {
    display: none;
}

.vv-player.is-art iframe {
    display: none;
}

.vv-play-cover {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--vv-player);
    color: #c9d7e8;
}

.vv-play-cover[hidden] {
    display: none !important;
}

.vv-play-cover p {
    margin: 0;
    font-size: 14px;
}

.vv-play-cover.is-error p {
    color: #f0c4c7;
}

.vv-brand-loader {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--vv-loader-size, 132px);
    height: var(--vv-loader-size, 132px);
}

.vv-brand-loader img {
    position: relative;
    z-index: 1;
    width: var(--vv-loader-icon, 50px);
    height: var(--vv-loader-icon, 50px);
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(18, 205, 176, .42));
    animation: vv-brand-pulse 1.6s ease-in-out infinite;
}

.vv-brand-loader-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 80deg, transparent 0 58%, #12cdb0 76%, #7af0d8 90%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: vv-play-spin .9s linear infinite;
}

.vv-brand-loader-orbit.is-soft {
    inset: var(--vv-loader-soft, 12px);
    opacity: .4;
    animation-duration: 1.8s;
    animation-direction: reverse;
}

.vv-brand-loader.is-mini {
    width: 68px;
    height: 68px;
}

.vv-brand-loader.is-mini img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
}

.vv-play-cover-spin[hidden] {
    display: none !important;
}

.vv-play-cover-text[hidden] {
    display: none !important;
}

.vv-player .art-loading {
    place-items: center;
    justify-content: center;
    align-items: center;
    background: rgba(6, 10, 16, .42);
}

.vv-player .art-video-player.art-loading-show .art-loading {
    display: grid;
}

.vv-player .art-icon-loading {
    display: grid !important;
    place-items: center;
    width: var(--vv-loader-size) !important;
    height: var(--vv-loader-size) !important;
    min-width: var(--vv-loader-size) !important;
    min-height: var(--vv-loader-size) !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transform: none !important;
}

.vv-player .art-icon-loading svg {
    display: none !important;
}

.vv-player .art-loading .vv-brand-loader,
.vv-player .art-icon-loading .vv-brand-loader {
    width: var(--vv-loader-size);
    height: var(--vv-loader-size);
}

.vv-player .art-loading .vv-brand-loader img,
.vv-player .art-icon-loading .vv-brand-loader img {
    width: var(--vv-loader-icon);
    height: var(--vv-loader-icon);
}

@keyframes vv-play-spin {
    to { transform: rotate(360deg); }
}

@keyframes vv-brand-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.94); opacity: .82; }
}

.vv-skel,
.vv-play-heading.is-pending .vv-play-title,
.vv-play-heading.is-pending .vv-play-sub,
.vv-ep.is-skel {
    color: transparent;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, color-mix(in srgb, var(--vv-surface) 70%, transparent), transparent) 0 0 / 40% 100% no-repeat,
        var(--vv-surface-soft);
    animation: vv-play-shimmer 1.2s ease-in-out infinite;
}

.vv-play-heading.is-pending .vv-play-title {
    display: block;
    width: min(280px, 68vw);
    height: 32px;
    border-radius: 8px;
}

.vv-play-heading.is-pending .vv-play-sub {
    width: 168px;
    height: 14px;
    margin-top: 2px;
    border-radius: 6px;
}

.vv-play-card.is-pending .vv-episodes-meta {
    width: 72px;
    height: 12px;
    border-radius: 6px;
    background: var(--vv-surface-soft);
}

.vv-ep.is-skel {
    min-height: 36px;
    border-color: transparent;
}

@keyframes vv-play-shimmer {
    0% { background-position: -40% 0, 0 0; }
    100% { background-position: 140% 0, 0 0; }
}

.vv-play-details {
    padding: 22px 24px 24px;
}

.vv-play-section-label {
    display: block;
    color: var(--vv-ink);
    font-size: 15px;
    font-weight: 800;
}

.vv-episodes-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.vv-episodes-meta {
    color: var(--vv-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.vv-episodes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.vv-ep,
.vv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vv-border);
    background: var(--vv-surface-soft);
    color: var(--vv-text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.vv-ep {
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 56px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--vv-surface-soft);
    color: var(--vv-ink);
    font-size: 14px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.vv-btn {
    min-height: 38px;
    gap: 6px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.vv-ep:hover,
.vv-btn:hover {
    border-color: color-mix(in srgb, var(--vv-primary) 45%, var(--vv-border));
    background: var(--vv-primary-soft);
    color: var(--vv-primary-deep);
    text-decoration: none;
}

.vv-ep.is-active {
    border-color: transparent;
    background: var(--vv-primary);
    color: var(--vv-on-primary);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--vv-primary) 28%, transparent);
}

.vv-ep:focus-visible,
.vv-btn:focus-visible {
    outline: 3px solid rgba(18, 205, 176, .35);
    outline-offset: 2px;
}

.vv-empty {
    padding: 18px;
    border: 1px dashed var(--vv-border-strong);
    border-radius: var(--vv-radius-sm);
    background: var(--vv-surface-soft);
    color: var(--vv-muted);
    font-size: 13px;
    text-align: center;
}

.video-list > .vv-empty {
    grid-column: 1 / -1;
}

html[data-vv-public-theme="dark"] .vv-public-home .vv-public-hero::after {
    background: rgba(5, 15, 28, .28);
}

.vv-public-footer {
    margin-top: 68px;
    padding: 28px 0 20px;
    border-top: 1px solid var(--vv-border);
    background: var(--vv-surface);
}

.vv-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.vv-footer-brand p,
.vv-copyright {
    margin: 4px 0 0;
    color: var(--vv-muted);
    font-size: 12px;
}

.vv-footer-main nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.vv-footer-main nav a {
    color: var(--vv-muted);
    font-size: 12px;
    text-decoration: none;
}

.vv-footer-main nav a:hover {
    color: var(--vv-primary-deep);
}

.vv-copyright {
    margin-top: 18px;
    text-align: center;
}

@media (max-width: 900px) {
    .vv-user-topnav {
        display: none;
    }

    .vv-user-banner-note {
        display: none;
    }

    .vv-space-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vv-space-split {
        grid-template-columns: 1fr;
    }

    .vv-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vv-user-sidebar {
        position: static;
    }

    .vv-profile-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px 14px;
        padding: 14px;
        text-align: left;
    }

    .vv-profile-card .avatar {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .vv-profile-copy {
        flex: 1;
        min-width: 0;
    }

    .vv-profile-facts {
        width: 100%;
    }

    .vv-user-menu {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
        overflow-x: auto;
    }

    .vv-user-menu a {
        white-space: nowrap;
    }

    .vv-auth-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .vv-auth-visual {
        min-height: 230px;
    }
}

@media (max-width: 640px) {
    .vv-public-container {
        width: min(calc(100% - 28px), var(--vv-container));
    }

    .vv-public-header {
        height: 62px;
    }

    .vv-header-inner {
        gap: 9px;
    }

    .vv-public-brand {
        font-size: 18px;
    }

    .vv-public-brand img {
        width: 29px;
        height: 29px;
    }

    .vv-user-name,
    .vv-quiet-button span {
        display: none;
    }

    .vv-quiet-button {
        width: 40px;
        padding: 0;
    }

    .vv-user-main,
    .vv-play-main {
        padding-top: 14px;
    }

    .vv-user-banner {
        min-height: 0;
        padding: 26px 22px 28px;
        background-image:
            linear-gradient(180deg, color-mix(in srgb, var(--vv-canvas) 88%, transparent), color-mix(in srgb, var(--vv-canvas) 70%, transparent)),
            url('../image/vv-hero-v2.png');
        background-position: center;
    }

    .vv-user-banner-note {
        display: none;
    }

    .vv-user-banner h1 {
        font-size: 28px;
    }

    .vv-space-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vv-space-split {
        grid-template-columns: 1fr;
    }

    .vv-shop-grid {
        grid-template-columns: 1fr;
    }

    .vv-space-actions a {
        min-height: 104px;
    }

    .vv-user-menu {
        grid-template-columns: repeat(3, minmax(104px, 1fr));
    }

    .vv-user-page .card-body,
    .vv-play-details {
        padding: 18px;
    }

    .vv-play-page .vv-public-header {
        height: 56px;
    }

    .vv-play-page .vv-play-main {
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .vv-play-page .vv-play-heading {
        margin-bottom: 10px;
        gap: 4px;
    }

    .vv-play-page .vv-play-heading p {
        display: none;
    }

    .vv-play-page .vv-play-title {
        font-size: 20px;
        line-height: 1.25;
        letter-spacing: -.03em;
    }

    .vv-play-page .vv-play-sub {
        font-size: 12px;
    }

    .vv-play-page .vv-play-card {
        border-radius: 16px;
        box-shadow: var(--vv-shadow-sm);
    }

    .vv-play-page .vv-play-details {
        padding: 12px 12px 14px;
    }

    .vv-play-page .vv-public-footer {
        margin-top: 18px;
        padding: 16px 0 12px;
    }

    .vv-play-page .vv-copyright {
        margin-top: 10px;
    }

    .vv-play-page .art-control-pip,
    .vv-play-page .art-control-fullscreenWeb,
    .vv-play-page .art-control-volume,
    .vv-play-page .art-volume-panel {
        display: none !important;
    }

    .vv-play-page .art-control-time {
        font-size: 11px;
    }

    .vv-play-page .art-state {
        transform: scale(.68);
    }

    .vv-play-page .vv-player {
        --vv-loader-size: 72px;
        --vv-loader-icon: 28px;
        --vv-loader-soft: 7px;
    }

    .vv-play-page .art-controls {
        gap: 2px;
    }

    .vv-episodes {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
    }

    .vv-ep {
        min-width: 0;
        width: 100%;
        min-height: 36px;
        padding: 0 4px;
        font-size: 13px;
    }

    body.vv-auth-page {
        display: block;
        padding: 14px;
    }

    .vv-auth-shell {
        border-radius: 20px;
    }

    .vv-auth-visual {
        min-height: 190px;
        padding: 24px;
    }

    .vv-auth-message h2 {
        font-size: 29px;
    }

    .vv-auth-message p {
        display: none;
    }

    .vv-auth-panel {
        padding: 28px 22px 30px;
    }

    .vv-play-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .vv-footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .vv-footer-main nav {
        justify-content: flex-start;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .vv-space-back:hover {
        transform: none;
    }

    .vv-play-cover-spin,
    .vv-brand-loader img,
    .vv-brand-loader-orbit,
    .vv-play-heading.is-pending .vv-play-title,
    .vv-play-heading.is-pending .vv-play-sub,
    .vv-ep.is-skel,
    .vv-skel,
    .vv-movie-card.is-skel .vv-movie-poster,
    .vv-movie-card.is-skel .vv-movie-title,
    .vv-movie-card.is-skel .vv-movie-meta {
        animation: none !important;
    }
}

@media (forced-colors: active) {
    :root {
        scrollbar-color: auto;
    }

    .vv-theme-toggle,
    .vv-quiet-button,
    .vv-space-back,
    .vv-ep,
    .vv-btn {
        border: 1px solid ButtonText;
    }
}
