:root {
    --dashboard-side-width: clamp(216px, 16vw, 248px);
    --page-top: #f8fbff;
    --page-bottom: #e8f0ff;
    --frame-top: rgba(244, 248, 255, 0.86);
    --frame-bottom: rgba(227, 237, 255, 0.92);
    --card: rgba(255, 255, 255, 0.78);
    --card-strong: rgba(255, 255, 255, 0.94);
    --line: rgba(56, 116, 255, 0.32);
    --line-strong: rgba(56, 116, 255, 0.7);
    --text: #132033;
    --muted: #5f6f89;
    --primary: #2f6dff;
    --primary-deep: #1845c8;
    --primary-soft: #dbe8ff;
    --cyan: #3ac7d7;
    --cyan-soft: #dffaff;
    --rose: #ff6f91;
    --rose-soft: #ffe4eb;
    --gold: #ffb84f;
    --gold-soft: #fff2dc;
    --success-bg: #ecfff1;
    --success-text: #1f7044;
    --error-bg: #fff1ef;
    --error-text: #ab4338;
    --shadow-lg: 0 24px 60px rgba(36, 83, 190, 0.14);
    --shadow-md: 0 14px 30px rgba(43, 91, 199, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background: #f5f8fc;
    overflow-x: hidden;
}

body.guest-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.modal-open {
    overflow: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.65;
    animation: fluid-mesh 20s ease-in-out infinite alternate;
}

body::before {
    width: 65vw;
    height: 65vw;
    min-width: 500px;
    min-height: 500px;
    top: -20vh;
    left: -10vw;
    background: rgba(147, 197, 253, 0.45);
}

body::after {
    width: 55vw;
    height: 55vw;
    min-width: 450px;
    min-height: 450px;
    bottom: -15vh;
    right: -5vw;
    background: rgba(216, 180, 254, 0.35);
    animation-delay: -10s;
}

@keyframes fluid-mesh {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(5vw, 5vh) scale(1.05) rotate(5deg);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.dashboard-frame,
.auth-shell {
    position: relative;
    z-index: 1;
}

.dashboard-layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent;
}

.dashboard-layout .layui-side.dashboard-side {
    top: 0;
    bottom: 0;
    width: var(--dashboard-side-width);
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(15, 28, 52, 0.98) 0%, rgba(20, 41, 78, 0.98) 52%, rgba(18, 56, 112, 0.94) 100%);
    box-shadow: 16px 0 32px rgba(12, 24, 49, 0.22);
}

.dashboard-side-scroll {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 18px 16px 20px;
    overflow-y: auto;
}

.dashboard-side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-side-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 48px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(14, 30, 58, 0.22);
}

.dashboard-side-title {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-side-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.dashboard-side-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
}

.dashboard-side-caption {
    padding: 2px 12px 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
}

.dashboard-nav-tree {
    width: 100%;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-nav-tree.layui-nav {
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-nav-tree .layui-nav-bar,
.dashboard-nav-tree .layui-nav-more {
    display: none;
}

.dashboard-nav-tree .layui-nav-item {
    margin-bottom: 6px;
}

.dashboard-nav-tree .layui-nav-item:last-child {
    margin-bottom: 0;
}

.dashboard-nav-tree > .layui-nav-item > a {
    height: auto;
    line-height: 1.4;
    padding: 13px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-nav-tree > .layui-nav-item > a:hover,
.dashboard-nav-tree > .layui-this > a {
    transform: translateX(2px);
    background: linear-gradient(135deg, rgba(47, 109, 255, 0.98) 0%, rgba(73, 135, 255, 0.94) 52%, rgba(58, 199, 215, 0.92) 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(30, 77, 189, 0.28);
}

.dashboard-nav-group > a {
    position: relative;
    padding-right: 42px;
}

.dashboard-nav-group > a::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.dashboard-nav-group.layui-nav-itemed > a {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.dashboard-nav-group.layui-nav-itemed > a::after {
    transform: translateY(-65%) rotate(45deg);
    border-color: rgba(255, 255, 255, 0.9);
}

.dashboard-nav-child {
    margin: 6px 0 2px;
    padding: 2px 0 0;
    background: transparent;
}

.dashboard-nav-child dd {
    position: relative;
    margin: 4px 0 0;
    padding-left: 14px;
}

.dashboard-nav-child dd::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-nav-child dd a {
    position: relative;
    margin-left: 14px;
    padding: 11px 14px 11px 18px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dashboard-nav-child dd a::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%);
}

.dashboard-nav-child dd a:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
}

.dashboard-nav-child .layui-this > a {
    transform: none;
    background: linear-gradient(135deg, rgba(47, 109, 255, 0.92) 0%, rgba(58, 199, 215, 0.82) 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(30, 77, 189, 0.2);
}

.dashboard-nav-child .layui-this > a::before {
    background: rgba(255, 255, 255, 0.42);
}

.dashboard-side-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 16px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-user-card {
    padding: 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dashboard-user-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}

.dashboard-user-phone {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-all;
}

.dashboard-logout-form {
    margin: 0;
}

.dashboard-logout-button.layui-btn {
    width: 100%;
    height: 40px;
    line-height: 38px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-deep);
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(12, 24, 49, 0.18);
}

.dashboard-logout-button.layui-btn:hover {
    background: #fff;
    color: var(--primary-deep);
}

.dashboard-layout .layui-body.dashboard-main {
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--dashboard-side-width);
    overflow-y: auto;
    background: transparent;
}

.dashboard-frame {
    width: min(100%, 1840px);
    margin: 8px auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(246, 249, 252, 0.35) 100%);
    color: var(--text);
    box-shadow:
        0 40px 80px rgba(18, 38, 82, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 10px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

.dashboard-nav {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(239, 246, 255, 0.74) 100%);
    box-shadow: var(--shadow-md);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 60px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 24px rgba(47, 109, 255, 0.24);
}

.site-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-brand-text {
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    transform: translateX(-200px);
}

.nav-menu-link,
.nav-user-phone,
.nav-logout {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-menu-link {
    color: var(--muted);
}

.nav-menu-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, #5d8fff 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(47, 109, 255, 0.22);
}

.nav-menu-link:hover,
.nav-logout:hover,
.table-link:hover,
.pagination-link:hover,
.search-button:hover,
.filter-pill:hover,
.auth-nav-link:hover,
.back-to-top:hover {
    transform: translateY(-1px);
}

.nav-user-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-user-phone {
    background: rgba(225, 237, 255, 0.9);
    border-color: rgba(56, 116, 255, 0.14);
    color: var(--primary-deep);
    font-weight: 700;
}

.nav-logout {
    border-color: rgba(255, 111, 145, 0.22);
    background: #fff5f8;
    color: #b23d61;
    cursor: pointer;
}

.dashboard-content {
    min-height: 100%;
    box-sizing: border-box;
    padding: 18px 20px 28px;
}

.flash-stack {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.flash {
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: opacity 0.32s ease, transform 0.32s ease, margin 0.32s ease, padding 0.32s ease, max-height 0.32s ease;
    opacity: 1;
    transform: translateY(0);
    max-height: 120px;
    overflow: hidden;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: rgba(31, 112, 68, 0.14);
}

.flash-error {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: rgba(171, 67, 56, 0.14);
}

.flash-hide {
    opacity: 0;
    transform: translateY(-8px);
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
}

.screen-section {
    display: grid;
    gap: 14px;
}

.authors-screen {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 84px);
}

.section-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.35rem);
    letter-spacing: 0.01em;
}

.section-note {
    margin: 8px 0 0;
    color: var(--muted);
}

.summary-box {
    min-width: 136px;
    padding: 12px 14px;
    border: 1px solid rgba(47, 109, 255, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(47, 109, 255, 0.98) 0%, rgba(58, 199, 215, 0.92) 100%);
    box-shadow: 0 18px 32px rgba(47, 109, 255, 0.22);
    text-align: center;
    color: #fff;
}

.summary-box span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.86;
}

.summary-box strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.author-detail-screen {
    gap: 16px;
}

.author-profile-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 249, 255, 0.72) 100%);
    box-shadow:
        0 22px 48px rgba(18, 40, 82, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

.author-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.author-profile-main {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    flex: 1;
}

.author-avatar-shell {
    width: 108px;
    height: 108px;
    flex: 0 0 108px;
    overflow: hidden;
    border: 1px solid rgba(56, 116, 255, 0.14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(47, 109, 255, 0.12) 0%, rgba(58, 199, 215, 0.12) 100%);
    box-shadow: 0 18px 30px rgba(31, 76, 177, 0.12);
}

.author-avatar-image,
.author-avatar-fallback {
    width: 100%;
    height: 100%;
}

.author-avatar-image {
    display: block;
    object-fit: cover;
}

.author-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-deep);
    font-size: 2.6rem;
    font-weight: 800;
}

.author-profile-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.author-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-profile-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(47, 109, 255, 0.14);
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.1);
    color: var(--primary-deep);
    font-size: 0.86rem;
    font-weight: 700;
}

.author-profile-tag-light {
    background: rgba(255, 255, 255, 0.88);
    color: var(--muted);
}

.author-profile-title {
    margin: 0;
    font-size: clamp(2rem, 2.5vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.author-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.author-profile-description {
    margin: 0;
    max-width: 980px;
    color: var(--text);
    line-height: 1.85;
}

.author-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 240px;
}

.author-monitor-button.layui-btn {
    min-width: 112px;
    font-weight: 700;
}

.author-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.author-stat-card {
    padding: 14px 16px;
    border: 1px solid rgba(56, 116, 255, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.78) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.author-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
}

.author-stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--primary-deep);
    font-size: 1.56rem;
    line-height: 1.05;
}

.filter-board,
.table-shell,
.panel,
.hero-card {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 40px rgba(18, 40, 82, 0.04);
    backdrop-filter: blur(16px);
}

.filter-board {
    padding: 16px 14px;
    display: grid;
    gap: 14px;
}

.filter-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 10px;
    align-items: start;
}

.filter-label {
    padding-top: 9px;
    font-weight: 800;
    color: var(--primary-deep);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.video-category-row {
    align-items: center;
}

.video-category-options {
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 8px;
}

.video-category-options .filter-pill {
    flex: 0 0 auto;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 72px;
    border-radius: 12px;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.filter-pill.active {
    background: #1e9fff;
    border-color: #1e9fff;
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}

.filter-pill.layui-btn {
    height: 34px;
    line-height: 32px;
    padding: 0 12px;
    font-size: 0.88rem;
}

.filter-pill.layui-btn.active:hover,
.filter-pill.layui-btn.active:focus {
    color: #fff !important;
}

.filter-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.08);
    color: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.filter-pill.active .filter-pill-count {
    background: rgba(255, 255, 255, 0.22);
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.monitor-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.monitor-action-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.video-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.video-search-row .search-form {
    flex-wrap: nowrap;
    min-width: 0;
}

.video-search-row .search-input {
    flex: 1 1 auto;
    min-width: 0;
}

.video-search-row .search-button {
    flex: 0 0 auto;
}

.video-total-panel {
    align-self: start;
    min-width: 154px;
    padding: 10px 16px;
    margin-top: -120px;
    border: 1px solid rgba(79, 156, 255, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, #2f6dff 0%, #3ac7d7 100%);
    box-shadow: 0 16px 28px rgba(47, 109, 255, 0.22);
    text-align: center;
}

.video-total-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.video-total-panel strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}

.video-view-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.video-view-toggle .filter-pill {
    min-width: 110px;
}

.video-view-toggle .layui-icon {
    font-size: 14px;
}

.video-card-shell[hidden],
.table-shell[hidden] {
    display: none !important;
}

.video-card-shell {
    position: relative;
    padding: 20px;
    min-height: 360px;
}

.video-card-loading {
    position: absolute;
    inset: 20px;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary-deep);
    backdrop-filter: blur(10px);
}

.video-card-shell.is-loading .video-card-loading {
    display: flex;
}

.video-card-loading .layui-icon {
    font-size: 32px;
    color: var(--primary);
}

.video-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.video-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(56, 116, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.92) 100%);
    box-shadow: 0 18px 36px rgba(18, 40, 82, 0.08);
}

.video-card-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(84, 130, 255, 0.92) 0%, rgba(58, 199, 215, 0.86) 48%, rgba(255, 111, 145, 0.88) 100%);
}

.video-card-cover-image,
.video-card-cover-fallback {
    width: 100%;
    height: 100%;
}

.video-card-cover-image {
    display: block;
    object-fit: cover;
}

.video-card-cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.94);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.video-card-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 28, 52, 0.08) 0%, rgba(15, 28, 52, 0.12) 38%, rgba(15, 28, 52, 0.42) 100%);
}

.video-card-topbar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
}

.video-card-badge {
    display: inline-flex;
    align-items: center;
    max-width: 68%;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 28, 52, 0.48);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 28, 52, 0.68);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.video-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    min-height: 250px;
}

.video-card-title {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    min-height: 3.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-author {
    margin-top: -6px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.video-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.video-card-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.2;
}

.video-card-metric-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.1);
    color: var(--primary-deep);
    font-size: 0.78rem;
    font-weight: 800;
}

.video-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.88rem;
}

.video-card-time,
.video-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.video-card-actions.is-single {
    grid-template-columns: 1fr;
}

.video-card-actions .table-link.layui-btn {
    width: 100%;
    height: 34px;
    line-height: 32px;
    font-size: 0.88rem;
}

.video-card-empty[hidden] {
    display: none !important;
}

.video-card-empty {
    padding: 70px 20px;
}

.video-card-page {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(56, 116, 255, 0.08);
}

.video-card-page > div {
    display: flex;
    justify-content: center;
}

.video-card-page .layui-laypage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    text-align: center;
}

.video-card-page .layui-laypage a,
.video-card-page .layui-laypage span {
    border-radius: 16px;
}

.video-card-page .layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 16px;
    background: linear-gradient(135deg, #2f6dff 0%, #5aa9ff 100%);
}

.video-card-page .layui-laypage input,
.video-card-page .layui-laypage button {
    border-radius: 14px;
}

.monitor-count-card {
    min-width: 168px;
    padding: 12px 16px;
    border: 1px solid rgba(56, 116, 255, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 243, 255, 0.88) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    text-align: center;
}

.monitor-count-card span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.monitor-count-card strong {
    display: block;
    margin-top: 4px;
    color: var(--primary-deep);
    font-size: 1.65rem;
    line-height: 1.1;
}

.monitor-add-button {
    min-width: 136px;
}

.category-modal-card {
    width: min(900px, calc(100vw - 24px));
}

.category-create-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-create-row .modal-input {
    flex: 1 1 260px;
}

.category-manage-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.category-manage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(56, 116, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.category-manage-meta {
    display: grid;
    gap: 4px;
}

.category-manage-meta strong {
    color: var(--primary-deep);
}

.category-manage-meta span {
    color: var(--muted);
    font-size: 0.92rem;
}

.category-manage-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.category-rename-input {
    min-width: 220px;
}

.category-empty-state {
    padding: 24px 12px;
}

.monitor-screen {
    gap: 16px;
}

.monitor-screen .section-note {
    font-size: 16px;
}

.monitor-screen .summary-box span {
    font-size: 16px;
}

.monitor-screen .summary-box strong {
    font-size: calc(2rem + 2px);
}

.monitor-screen .filter-label {
    font-size: 16px;
}

.monitor-screen .filter-pill.layui-btn {
    font-size: 15px;
}

.monitor-screen .filter-pill-count {
    font-size: 14px;
}

.monitor-screen .search-input {
    font-size: 15px;
}

.monitor-screen .search-button.layui-btn {
    font-size: 15px;
}

.monitor-table-shell {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 250, 255, 0.74) 100%);
    box-shadow: 0 20px 44px rgba(18, 40, 82, 0.05);
}

.monitor-table-wrap {
    overflow-x: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
}

.monitor-table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.monitor-table-wrap .layui-table-view,
.monitor-table-wrap table {
    min-width: 0;
    width: 100% !important;
}

.monitor-table-wrap .layui-table-box,
.monitor-table-wrap .layui-table-main,
.monitor-table-wrap .layui-table-body {
    overflow-x: hidden;
    scrollbar-width: none;
}

.monitor-table-wrap .layui-table-main,
.monitor-table-wrap .layui-table-body {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
}

.monitor-table-wrap .layui-table-main::-webkit-scrollbar,
.monitor-table-wrap .layui-table-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.monitor-table-wrap .layui-table th,
.monitor-table-wrap .layui-table td,
.monitor-table-wrap .layui-table-cell {
    font-size: 15px;
}

.monitor-table-wrap .layui-table th {
    font-size: 16px;
}

.monitor-table-wrap .name-cell,
.monitor-table-wrap .intro-preview {
    font-size: 15px;
}

.monitor-table-wrap .table-link.layui-btn {
    font-size: 15px;
}

.monitor-table-wrap .layui-table-page .layui-laypage a,
.monitor-table-wrap .layui-table-page .layui-laypage span,
.monitor-table-wrap .layui-table-page .layui-laypage input,
.monitor-table-wrap .layui-table-page .layui-laypage button,
.monitor-table-wrap .layui-table-page .layui-table-count {
    font-size: 16px;
}

.monitor-table {
    min-width: 1420px;
}

.monitor-table th,
.monitor-table td {
    padding: 16px 14px;
}

.monitor-table tbody tr {
    background: rgba(255, 255, 255, 0.34);
}

.monitor-table tbody tr:nth-child(even) {
    background: rgba(242, 247, 255, 0.6);
}

.monitor-col-name {
    min-width: 260px;
}

.monitor-col-signature {
    min-width: 300px;
    max-width: 320px;
}

.monitor-col-number {
    min-width: 92px;
    text-align: center;
    white-space: nowrap;
}

.monitor-col-category {
    min-width: 110px;
    white-space: nowrap;
}

.monitor-col-time {
    min-width: 168px;
}

.monitor-col-actions {
    min-width: 244px;
}

.monitor-intro-preview {
    max-width: 280px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(19, 32, 51, 0.42);
    backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-card {
    width: min(680px, calc(100vw - 24px));
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 248, 255, 0.92) 100%);
    box-shadow: 0 34px 80px rgba(18, 40, 82, 0.22);
}

.monitor-modal-card {
    padding: 22px;
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-title {
    margin: 0;
    font-size: 1.6rem;
    color: var(--primary-deep);
}

.modal-note {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.modal-close {
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(56, 116, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
    color: var(--primary-deep);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.modal-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.modal-field {
    display: grid;
    gap: 8px;
}

.modal-field span {
    font-weight: 700;
    color: var(--primary-deep);
}

.modal-textarea {
    width: 100%;
    min-height: 128px;
    padding: 14px 16px;
    border: 1px solid rgba(56, 116, 255, 0.2);
    border-radius: 18px;
    background: var(--card-strong);
    color: var(--text);
    resize: vertical;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.modal-textarea:focus {
    border-color: rgba(47, 109, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(47, 109, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.modal-input,
.modal-select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(56, 116, 255, 0.2);
    border-radius: 16px;
    background: var(--card-strong);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.modal-static {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(56, 116, 255, 0.12);
    border-radius: 16px;
    background: rgba(242, 247, 255, 0.72);
    color: var(--primary-deep);
    display: flex;
    align-items: center;
    font-weight: 600;
}

.modal-input:focus,
.modal-select:focus {
    border-color: rgba(47, 109, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(47, 109, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-cancel {
    min-width: 96px;
}

.monitor-submit-button {
    min-width: 128px;
}

.admin-screen {
    gap: 16px;
}

.admin-summary-grid {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-summary-box {
    min-width: 140px;
}

.subaccount-summary-action {
    min-width: 188px;
    border: none;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff5b7f 100%);
    box-shadow: 0 18px 32px rgba(255, 110, 92, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.subaccount-summary-action:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 22px 36px rgba(255, 110, 92, 0.34);
}

.subaccount-summary-action:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 2px;
}

.subaccount-summary-action span,
.subaccount-summary-action strong {
    color: #fff;
}

.subaccount-summary-action strong {
    font-size: 1.76rem;
}

.admin-table-actions {
    min-width: 360px;
    gap: 6px;
}

.admin-modal-card {
    width: min(1240px, calc(100vw - 32px));
    padding: 22px;
}

.admin-monitor-table-shell {
    margin-top: 18px;
}

.search-input,
.jump-input,
.auth-shell input {
    padding: 10px 12px;
    border: 1px solid rgba(56, 116, 255, 0.2);
    border-radius: 14px;
    background: var(--card-strong);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.search-input {
    min-width: 280px;
}

.search-input:focus,
.jump-input:focus,
.auth-shell input:focus {
    border-color: rgba(47, 109, 255, 0.55);
    box-shadow:
        0 0 0 4px rgba(47, 109, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.search-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: none;
}

.button-light {
    background: #fff;
    color: var(--primary-deep);
    box-shadow: none;
}

.button-export {
    color: #fff;
    box-shadow: none;
}

.button-export:hover {
    box-shadow: none;
}

.search-button.layui-btn,
.button.layui-btn {
    height: 34px;
    line-height: 32px;
    padding: 0 14px;
    font-size: 0.88rem;
}

.nav-logout.layui-btn {
    height: 34px;
    line-height: 32px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    box-shadow: none;
}

.button-block {
    width: 100%;
}

.table-shell {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(246, 250, 255, 0.72) 100%);
    box-shadow: 0 20px 44px rgba(18, 40, 82, 0.05);
}

.table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(95, 111, 137, 0.45) rgba(225, 234, 247, 0.7);
}

.table-wrap::-webkit-scrollbar {
    height: 12px;
}

.table-wrap::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(225, 234, 247, 0.86);
}

.table-wrap::-webkit-scrollbar-thumb {
    border: 3px solid rgba(225, 234, 247, 0.86);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(95, 111, 137, 0.68) 0%, rgba(47, 109, 255, 0.62) 100%);
}

.table-wrap .layui-table {
    margin: 0;
    background: transparent;
    color: var(--text);
}

.table-wrap .layui-table thead tr,
.table-wrap .layui-table-header,
.table-wrap .layui-table thead th {
    background:
        linear-gradient(180deg, rgba(224, 236, 255, 0.9) 0%, rgba(244, 248, 255, 0.94) 100%);
}

.table-wrap .layui-table th,
.table-wrap .layui-table td {
    border-color: rgba(56, 116, 255, 0.1);
}

.table-wrap .layui-table tbody tr:hover,
.table-wrap .layui-table-hover {
    background-color: rgba(219, 232, 255, 0.44) !important;
}

.ajax-table-wrap {
    overflow: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
}

.ajax-table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.ajax-table-wrap .layui-table-view {
    position: relative;
    margin: 0;
    min-width: 0;
    width: 100% !important;
    max-width: 100%;
    border: none;
    background: transparent;
    box-sizing: border-box;
}

.ajax-table-wrap table,
.ajax-table-wrap .layui-table-header table,
.ajax-table-wrap .layui-table-body table {
    min-width: 0;
    width: 100% !important;
}

.ajax-table-wrap .layui-table-box,
.ajax-table-wrap .layui-table-main,
.ajax-table-wrap .layui-table-header,
.ajax-table-wrap .layui-table-body {
    border: none;
    background: transparent;
    overflow-x: hidden;
    scrollbar-width: none;
}

.ajax-table-wrap .layui-table-box {
    position: relative;
}

.ajax-table-wrap .layui-table-main,
.ajax-table-wrap .layui-table-body {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
}

.ajax-table-wrap .layui-table-main::-webkit-scrollbar,
.ajax-table-wrap .layui-table-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.ajax-table-wrap .layui-table-init {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 18;
    width: 168px;
    height: 108px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(56, 116, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(47, 109, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    line-height: normal;
    text-align: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.ajax-table-wrap .layui-table-init::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(47, 109, 255, 0.12) 0%, rgba(90, 169, 255, 0.18) 100%);
    opacity: 0.9;
    animation: table-loading-glow 1.4s ease-in-out infinite;
}

.ajax-table-wrap .layui-table-init::after {
    content: "加载数据中";
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-deep);
    animation: table-loading-breathe 1.1s ease-in-out infinite;
}

.ajax-table-wrap .layui-table-init .layui-icon {
    position: relative;
    z-index: 1;
    font-size: 30px;
    color: var(--primary);
    animation-duration: 0.85s !important;
}

@keyframes table-loading-glow {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes table-loading-breathe {
    0%,
    100% {
        opacity: 0.62;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-1px);
    }
}

.authors-table-wrap {
    overflow-x: hidden;
    padding-bottom: 0;
    flex: 1;
}

.authors-table-wrap::-webkit-scrollbar {
    display: none;
    height: 0;
}

.authors-table-wrap .layui-table-view,
.authors-table-wrap table {
    min-width: 0;
    width: 100% !important;
}

.authors-table-shell {
    flex: none;
}

.authors-table-wrap .layui-table-view {
    min-height: 420px;
}

.authors-table-wrap .layui-table-box,
.authors-table-wrap .layui-table-main {
    min-height: 320px;
}

.authors-table-wrap .layui-table-init {
    top: 52%;
}

.authors-table-wrap .layui-table-box,
.authors-table-wrap .layui-table-body {
    overflow-x: hidden;
}

.authors-table-wrap .layui-table-main,
.authors-table-wrap .layui-table-body {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
}

.authors-table-wrap .layui-table-main::-webkit-scrollbar,
.authors-table-wrap .layui-table-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.authors-table-wrap .layui-table th,
.authors-table-wrap .layui-table td,
.authors-table-wrap .layui-table-cell {
    font-size: 15px;
}

.authors-table-wrap .layui-table th {
    font-size: 16px;
}

.authors-table-wrap .layui-table-page .layui-laypage a,
.authors-table-wrap .layui-table-page .layui-laypage span,
.authors-table-wrap .layui-table-page .layui-laypage input,
.authors-table-wrap .layui-table-page .layui-laypage button,
.authors-table-wrap .layui-table-page .layui-table-count {
    font-size: 16px;
}

.authors-table-wrap .layui-table-page {
    padding-top: 16px;
    padding-bottom: 14px;
}

.authors-table-wrap .table-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    min-width: 0;
}

.authors-table-wrap .table-link.layui-btn {
    height: 34px;
    line-height: 32px;
    padding: 0 10px;
    font-size: 15px;
}

.authors-table-wrap .name-cell,
.authors-table-wrap .intro-preview {
    font-size: 15px;
}

.author-detail-table-wrap {
    overflow-x: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
}

.author-detail-table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.author-detail-table-wrap .layui-table-view,
.author-detail-table-wrap table {
    min-width: 0;
    width: 100% !important;
}

.author-detail-table-wrap .layui-table-box,
.author-detail-table-wrap .layui-table-main,
.author-detail-table-wrap .layui-table-body {
    overflow-x: hidden;
    scrollbar-width: none;
}

.author-detail-table-wrap .layui-table-main,
.author-detail-table-wrap .layui-table-body {
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
}

.author-detail-table-wrap .layui-table-main::-webkit-scrollbar,
.author-detail-table-wrap .layui-table-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.author-detail-table-wrap .table-actions,
.author-detail-table-wrap .video-table-actions {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 6px;
    min-width: 0;
}

.author-detail-table-wrap .table-link.layui-btn {
    height: 34px;
    line-height: 32px;
    padding: 0 10px;
}

.video-table-wrap .layui-table-view {
    min-height: 420px;
}

.video-table-wrap .layui-table-box,
.video-table-wrap .layui-table-main {
    min-height: 320px;
}

.video-table-wrap .layui-table-init {
    top: 52%;
}

.ajax-table-wrap .layui-table-cell {
    height: auto;
    min-height: 22px;
    line-height: 1.55;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.ajax-table-wrap .layui-table-page {
    border-top: 1px solid rgba(56, 116, 255, 0.08);
    background: transparent;
    padding: 18px 20px 10px;
}

.ajax-table-wrap .layui-table-page > div {
    display: flex;
    justify-content: center;
}

.ajax-table-wrap .layui-table-page .layui-laypage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto;
    text-align: center;
}

.ajax-table-wrap .layui-laypage a,
.ajax-table-wrap .layui-laypage span {
    border-radius: 16px;
}

.ajax-table-wrap .layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 16px;
    background: linear-gradient(135deg, #2f6dff 0%, #5aa9ff 100%);
}

.ajax-table-wrap .layui-table-page .layui-laypage input {
    border-radius: 14px;
}

.ajax-table-wrap .layui-table-page .layui-laypage button {
    border-radius: 14px;
}

table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    table-layout: auto;
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(56, 116, 255, 0.1);
    text-align: left;
    vertical-align: middle;
}

th {
    background:
        linear-gradient(180deg, rgba(224, 236, 255, 0.86) 0%, rgba(244, 248, 255, 0.9) 100%);
    color: var(--primary-deep);
    font-weight: 800;
    white-space: nowrap;
    font-size: 0.98rem;
}

tbody tr {
    transition: background 0.16s ease;
}

tbody tr:nth-child(even) {
    background: rgba(242, 247, 255, 0.48);
}

tbody tr:hover {
    background: rgba(219, 232, 255, 0.44);
}

tbody tr:last-child td {
    border-bottom: none;
}

.name-cell {
    font-weight: 700;
    min-width: 160px;
}

.nowrap-cell {
    white-space: nowrap;
}

.intro-preview {
    display: inline-block;
    max-width: 320px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-name-cell {
    min-width: 88px;
}

.video-desc-preview {
    max-width: 100%;
}

.video-table-actions {
    min-width: 110px;
    gap: 6px;
}

.author-name-cell {
    display: inline-block;
    min-width: 96px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-signature-wrap {
    width: 100%;
}

.author-signature-preview {
    display: block;
    width: 100%;
    max-width: none;
}

.tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.hover-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    max-width: 380px;
    padding: 10px 12px;
    border: 1px solid rgba(47, 109, 255, 0.2);
    border-radius: 14px;
    background: rgba(19, 32, 51, 0.96);
    color: #fff;
    line-height: 1.58;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 30;
    box-shadow: var(--shadow-md);
}

.tooltip-wrap:hover .hover-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.table-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    color: inherit;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.table-link-button {
    appearance: none;
    cursor: pointer;
}

.table-link.layui-btn {
    height: 30px;
    line-height: 28px;
    padding: 0 10px;
    margin: 0;
    text-decoration: none;
    font-size: 0.82rem;
    box-shadow: none;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    white-space: normal;
    min-width: 220px;
}

.table-action-form {
    margin: 0;
}

.table-link-secondary {
    border-color: rgba(58, 199, 215, 0.24);
    color: #0f6e8b;
}

.table-link-monitor {
    background: #ffb800;
    border-color: #ffb800;
    color: #a15b00;
}

.table-link-danger {
    background: #ff5722;
    border-color: #ff5722;
    color: #fff;
}

.table-link-disabled {
    color: var(--muted);
    background: #f2f4f7;
    border-color: rgba(95, 111, 137, 0.12);
    cursor: default;
    pointer-events: none;
}

.table-link:hover {
    box-shadow: 0 12px 22px rgba(47, 109, 255, 0.16);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.status-badge.featured {
    background: linear-gradient(135deg, var(--gold-soft) 0%, #fff7e8 100%);
    color: #b97708;
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.status-badge.plain {
    background: linear-gradient(135deg, #eef4ff 0%, #f9fbff 100%);
    color: var(--muted);
    border: 1px solid rgba(95, 111, 137, 0.14);
}

.role-badge.role-user {
    background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
    color: #50627f;
    border: 1px solid rgba(95, 111, 137, 0.14);
}

.role-badge.role-admin {
    background: linear-gradient(135deg, #e8f4ff 0%, #f4fbff 100%);
    color: #0f6e8b;
    border: 1px solid rgba(58, 199, 215, 0.24);
}

.role-badge.role-super {
    background: linear-gradient(135deg, #fff2dc 0%, #fff8eb 100%);
    color: #b97708;
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.account-badge.active {
    background: linear-gradient(135deg, #ecfff1 0%, #f7fff9 100%);
    color: #1f7044;
    border: 1px solid rgba(38, 173, 93, 0.2);
}

.account-badge.inactive {
    background: linear-gradient(135deg, #fff1ef 0%, #fff8f7 100%);
    color: #ab4338;
    border: 1px solid rgba(214, 84, 69, 0.18);
}

.empty-state {
    padding: 28px 12px;
    text-align: center;
    color: var(--muted);
}

.monitor-empty-state {
    padding: 42px 20px;
    font-size: 1rem;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-meta {
    color: var(--muted);
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(56, 116, 255, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
    color: var(--muted);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pagination-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, #5d8fff 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

.pagination-link.disabled {
    opacity: 0.42;
}

.pagination-ellipsis {
    color: var(--muted);
}

.jump-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jump-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.jump-input {
    width: 76px;
    min-width: 76px;
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 10px 14px;
    border: 1px solid rgba(56, 116, 255, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #5d8fff 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(47, 109, 255, 0.24);
}

.auth-shell {
    width: min(1260px, calc(100vw - 24px));
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-content {
    width: 100%;
}

.guest-body .flash-stack {
    max-width: 460px;
    margin: 0 12px 18px auto;
    position: relative;
    z-index: 3;
}

.auth-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    gap: 30px;
    align-items: center;
    perspective: 2000px;
}

.auth-showcase {
    position: relative;
    min-height: 620px;
}

.auth-showcase::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 2%;
    top: 10%;
    height: 220px;
    border-radius: 999px;
    background: rgba(77, 168, 255, 0.32);
    filter: blur(52px);
    opacity: 0.9;
}

.auth-showcase-surface {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 620px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.42) 0%, transparent 30%),
        linear-gradient(145deg, rgba(47, 109, 255, 0.98) 0%, rgba(88, 149, 255, 0.94) 38%, rgba(74, 211, 230, 0.9) 100%);
    color: #fff;
    box-shadow:
        0 38px 80px rgba(29, 64, 169, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -18px 40px rgba(18, 40, 106, 0.12);
    overflow: hidden;
    transform: rotateY(-12deg) rotateX(7deg);
}

.auth-showcase-surface::before,
.auth-showcase-surface::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-showcase-surface::before {
    width: 260px;
    height: 260px;
    top: -68px;
    right: -54px;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(6px);
}

.auth-showcase-surface::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -130px;
    background: rgba(255, 255, 255, 0.12);
}

.auth-brand-lockup,
.auth-glass-grid {
    position: relative;
    z-index: 2;
}

.auth-brand-lockup {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.auth-logo-cube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 106px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #fff;
    font-weight: 800;
    box-shadow:
        0 22px 40px rgba(21, 44, 114, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(18px);
}

.auth-kicker,
.auth-form-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.auth-brand-lockup h1,
.auth-form-card h2 {
    margin: 0;
}

.auth-brand-lockup h1 {
    max-width: 560px;
    font-size: clamp(2.4rem, 4.2vw, 3.9rem);
    line-height: 1.06;
}

.auth-showcase-text {
    max-width: 540px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.auth-glass-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-glass-card {
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow:
        0 22px 40px rgba(18, 39, 103, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(22px);
}

.auth-glass-card-wide {
    grid-column: 1 / -1;
}

.auth-card-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-glass-card strong {
    display: block;
    font-size: 1.05rem;
}

.auth-glass-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.auth-form-card {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(249, 252, 255, 0.72) 100%);
    box-shadow:
        0 34px 80px rgba(25, 57, 142, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -16px 30px rgba(209, 223, 255, 0.18);
    backdrop-filter: blur(26px);
}

.auth-form-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(99, 146, 255, 0.12);
    border-radius: 28px;
    pointer-events: none;
}

.auth-tabs,
.auth-form-head,
.auth-form-grid,
.auth-inline-link {
    position: relative;
    z-index: 1;
}

.auth-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 20px;
    background: rgba(233, 240, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.auth-tab {
    min-width: 92px;
    padding: 12px 18px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, #74a5ff 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(47, 109, 255, 0.24);
}

.auth-tab:hover {
    transform: translateY(-1px);
}

.auth-form-head {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.auth-form-kicker {
    color: #6b7c97;
}

.auth-form-card h2 {
    font-size: 2.15rem;
    line-height: 1.1;
}

.auth-form-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.auth-form-grid {
    margin-top: 24px;
    gap: 16px;
}

.field {
    display: grid;
    gap: 6px;
}

.auth-field {
    gap: 8px;
}

.auth-field span {
    color: #304765;
    font-weight: 700;
}

.auth-form-card input {
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(118, 155, 255, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.96) 0%, rgba(233, 239, 250, 0.86) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(67, 96, 163, 0.08);
}

.auth-form-card input:focus {
    border-color: rgba(47, 109, 255, 0.55);
    box-shadow:
        0 0 0 6px rgba(47, 109, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 14px 30px rgba(67, 96, 163, 0.12);
}

.auth-submit {
    min-height: 58px;
    margin-top: 4px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f6dff 0%, #6a99ff 100%);
    box-shadow: 0 26px 36px rgba(47, 109, 255, 0.28);
}

.auth-inline-link {
    margin: 18px 0 0;
    color: var(--muted);
}

.auth-inline-link a {
    color: var(--primary-deep);
    font-weight: 700;
}

body.guest-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.auth-shell {
    width: min(1220px, calc(100vw - 28px));
    margin: 0;
}

.auth-content {
    width: 100%;
}

.guest-body .flash-stack {
    max-width: 430px;
    margin: 0 0 16px auto;
}

.auth-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 440px;
    gap: 34px;
    align-items: stretch;
}

.auth-intro-panel,
.auth-side-panel {
    position: relative;
    min-height: 660px;
    border-radius: 34px;
    overflow: hidden;
}

.auth-intro-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.26) 0%, transparent 30%),
        linear-gradient(145deg, #2f6dff 0%, #5e89ff 38%, #67d1e2 100%);
    box-shadow:
        0 32px 80px rgba(25, 62, 169, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -18px 36px rgba(21, 42, 107, 0.14);
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}

.auth-intro-panel::before,
.auth-intro-panel::after,
.auth-side-panel::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-intro-panel::before {
    width: 280px;
    height: 280px;
    top: -78px;
    right: -52px;
    background: rgba(255, 255, 255, 0.16);
}

.auth-intro-panel::after {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -160px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-side-panel::before {
    width: 220px;
    height: 220px;
    top: -100px;
    right: -90px;
    background: rgba(70, 149, 255, 0.14);
    filter: blur(10px);
}

.auth-intro-top,
.auth-point-grid,
.auth-side-tabs,
.auth-side-head,
.auth-side-form,
.auth-side-hint {
    position: relative;
    z-index: 1;
}

.auth-intro-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.auth-intro-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 18px 36px rgba(19, 46, 125, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(18px);
}

.auth-intro-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.auth-intro-copy {
    margin-top: 34px;
    max-width: 560px;
}

.auth-intro-tag,
.auth-side-tag {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-intro-tag {
    color: rgba(255, 255, 255, 0.78);
}

.auth-intro-copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    line-height: 1.02;
}

.auth-intro-text {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    line-height: 1.9;
}

.auth-point-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-point-card {
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow:
        0 22px 36px rgba(18, 38, 102, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
}

.auth-point-card-wide {
    grid-column: 1 / -1;
}

.auth-point-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-point-card strong {
    display: block;
    font-size: 1.06rem;
}

.auth-point-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.auth-side-panel {
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 250, 255, 0.76) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 28px 70px rgba(41, 72, 160, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -16px 28px rgba(209, 223, 255, 0.18);
    backdrop-filter: blur(24px);
}

.auth-side-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(232, 239, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.auth-side-tab {
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
    color: var(--muted);
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.auth-side-tab.active {
    background: linear-gradient(135deg, #2f6dff 0%, #77a4ff 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(47, 109, 255, 0.24);
}

.auth-side-tab:hover {
    transform: translateY(-1px);
}

.auth-side-head {
    margin-top: 30px;
}

.auth-side-tag {
    color: #6e7f99;
}

.auth-side-head h2 {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.08;
}

.auth-side-text {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.auth-side-form {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.auth-form-field {
    display: grid;
    gap: 8px;
}

.auth-form-field span {
    color: #2c4260;
    font-weight: 700;
}

.auth-side-panel input {
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(115, 152, 255, 0.26);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.98) 0%, rgba(235, 241, 252, 0.88) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 22px rgba(62, 93, 161, 0.08);
}

.auth-side-panel input:focus {
    border-color: rgba(47, 109, 255, 0.58);
    box-shadow:
        0 0 0 5px rgba(47, 109, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(62, 93, 161, 0.12);
}

.auth-side-submit {
    min-height: 58px;
    margin-top: 4px;
    border-radius: 18px;
    font: inherit;
    font-weight: 700;
    box-shadow: none;
}

.auth-side-submit.layui-btn {
    min-height: 58px;
    line-height: 56px;
    border-radius: 18px;
}

.auth-side-hint {
    margin: 18px 0 0;
    color: var(--muted);
}

.auth-side-hint a {
    color: var(--primary-deep);
    font-weight: 700;
}

@media (max-width: 1080px) {
    .author-profile-header {
        flex-direction: column;
    }

    .author-profile-actions {
        justify-content: flex-start;
        min-width: 0;
    }

    .dashboard-nav {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .nav-menu,
    .nav-user-panel {
        justify-content: flex-start;
    }

    .nav-menu {
        transform: none;
    }

    .section-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-stage {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth-showcase {
        min-height: 520px;
    }

    .auth-showcase-surface {
        min-height: 520px;
        transform: none;
    }

    table {
        min-width: 1040px;
    }

    .ajax-table-wrap .layui-table-view {
        min-width: 0;
    }

    th,
    td {
        padding: 13px 14px;
        font-size: 0.96rem;
    }

    .intro-preview {
        max-width: 250px;
    }
}

@media (max-width: 860px) {
    .dashboard-layout .layui-side.dashboard-side {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .dashboard-side-scroll {
        height: auto;
        min-height: 0;
    }

    .dashboard-layout .layui-body.dashboard-main {
        position: relative;
        top: 0;
        left: 0;
        bottom: auto;
        min-height: 0;
    }

    .dashboard-content {
        min-height: 0;
        padding-top: 14px;
    }

    .dashboard-side-footer {
        margin-top: 0;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .filter-label {
        padding-top: 0;
    }

    .monitor-search-row,
    .monitor-action-panel,
    .video-search-row {
        align-items: stretch;
    }

    .video-search-row {
        grid-template-columns: 1fr;
    }

    .video-search-row .search-form {
        flex-wrap: wrap;
    }

    .monitor-action-panel,
    .video-total-panel,
    .video-view-toggle {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .video-card-shell {
        padding: 16px;
    }

    .video-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
    }

    .monitor-count-card,
    .monitor-add-button,
    .admin-summary-box {
        width: 100%;
    }

    .category-manage-item {
        flex-direction: column;
        align-items: stretch;
    }

    .category-manage-actions {
        margin-left: 0;
    }

    .category-rename-input {
        min-width: 0;
        width: 100%;
    }

    .modal-card {
        width: min(100vw - 16px, 680px);
    }

    .admin-modal-card {
        width: min(100vw - 16px, 1240px);
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-cancel,
    .monitor-submit-button {
        width: 100%;
    }

    table {
        min-width: 920px;
    }

    .ajax-table-wrap .layui-table-view {
        min-width: 0;
    }

    th,
    td {
        padding: 12px 12px;
        font-size: 0.93rem;
    }

    .name-cell {
        min-width: 140px;
    }

    .intro-preview {
        max-width: 190px;
    }

    .table-actions {
        min-width: 180px;
    }

    .admin-table-actions {
        min-width: 260px;
    }

    .monitor-table {
        min-width: 1180px;
    }

    .monitor-table th,
    .monitor-table td {
        padding: 14px 12px;
        font-size: 0.95rem;
    }

    .monitor-col-name {
        min-width: 220px;
    }

    .monitor-col-signature {
        min-width: 240px;
        max-width: 240px;
    }

    body.guest-body {
        align-items: flex-start;
    }

    .guest-body .flash-stack {
        max-width: none;
        margin: 0 0 16px;
    }

    .auth-showcase {
        min-height: 460px;
    }

    .auth-showcase-surface {
        min-height: 460px;
        padding: 24px;
    }

    .auth-brand-lockup {
        flex-direction: column;
    }
}

@media (max-width: 640px) {

    .dashboard-frame,
    .auth-shell {
        width: min(100vw - 12px, 1410px);
        margin: 6px auto;
    }

    .dashboard-frame {
        padding: 10px;
        border-radius: 18px;
    }

    .dashboard-nav,
    .auth-showcase-surface,
    .auth-form-card {
        padding: 12px;
        border-radius: 16px;
    }

    .search-form,
    .jump-form,
    .nav-user-panel {
        width: 100%;
    }

    .search-input {
        min-width: 0;
        width: 100%;
    }

    .search-form {
        align-items: stretch;
    }

    .search-button,
    .button {
        width: 100%;
    }

    table {
        min-width: 820px;
    }

    .ajax-table-wrap .layui-table-view {
        min-width: 0;
    }

    th,
    td {
        padding: 11px 10px;
        font-size: 0.9rem;
    }

    th {
        font-size: 0.9rem;
    }

    .name-cell {
        min-width: 120px;
    }

    .intro-preview {
        max-width: 150px;
    }

    .table-actions {
        min-width: 0;
    }

    .admin-table-actions {
        min-width: 0;
    }

    .video-card-grid {
        grid-template-columns: 1fr;
    }

    .video-card-actions {
        grid-template-columns: 1fr;
    }

    body.guest-body {
        padding: 12px;
    }

    .auth-stage {
        gap: 16px;
    }

    .auth-showcase {
        min-height: 0;
    }

    .auth-showcase-surface {
        min-height: 0;
        padding: 22px 18px;
    }

    .auth-brand-lockup h1 {
        font-size: 2rem;
    }

    .auth-glass-grid {
        grid-template-columns: 1fr;
    }

    .auth-glass-card-wide {
        grid-column: auto;
    }

    .auth-tabs {
        display: flex;
        width: 100%;
    }

    .auth-tab {
        flex: 1;
        min-width: 0;
    }

    .auth-form-head h2 {
        font-size: 1.8rem;
    }

    .monitor-table {
        min-width: 980px;
    }

    .monitor-table th,
    .monitor-table td {
        padding: 12px 10px;
        font-size: 0.92rem;
    }

    .monitor-col-name {
        min-width: 180px;
    }

    .monitor-col-signature {
        min-width: 200px;
        max-width: 200px;
    }

    .monitor-col-number {
        min-width: 76px;
    }

    .monitor-col-category {
        min-width: 88px;
    }

    .monitor-col-time {
        min-width: 150px;
    }

    .monitor-col-actions {
        min-width: 220px;
    }

    .monitor-intro-preview {
        max-width: 180px;
    }
}

@media (max-width: 1100px) {
    .dashboard-layout .layui-side.dashboard-side {
        width: 220px;
    }

    .dashboard-layout .layui-body.dashboard-main {
        left: 220px;
    }

    .auth-two-column {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth-intro-panel,
    .auth-side-panel {
        min-height: 0;
    }

    .auth-intro-panel {
        transform: none;
    }

    .guest-body .flash-stack {
        max-width: none;
        margin: 0 0 16px;
    }
}

@media (max-width: 720px) {
    .author-profile-card {
        padding: 18px;
        border-radius: 20px;
    }

    .author-profile-main {
        flex-direction: column;
    }

    .author-avatar-shell {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
        border-radius: 20px;
    }

    .author-profile-title {
        font-size: 1.72rem;
    }

    body.guest-body {
        align-items: flex-start;
        padding: 12px;
    }

    .auth-shell {
        width: min(100vw - 12px, 1220px);
    }

    .auth-two-column {
        gap: 16px;
    }

    .auth-intro-panel,
    .auth-side-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .auth-intro-brand {
        gap: 10px;
        flex-wrap: wrap;
    }

    .auth-intro-name {
        font-size: 1.6rem;
    }

    .auth-intro-copy {
        margin-top: 24px;
    }

    .auth-intro-copy h1 {
        font-size: 2rem;
    }

    .auth-point-grid {
        grid-template-columns: 1fr;
    }

    .auth-point-card-wide {
        grid-column: auto;
    }

    .auth-side-head {
        margin-top: 22px;
    }

.auth-side-head h2 {
        font-size: 1.8rem;
    }
}

.dashboard-user-meta {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.auth-form-static {
    border: 1px solid rgba(47, 109, 255, 0.14);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(47, 109, 255, 0.05);
}

.auth-form-static strong {
    display: block;
    font-size: 18px;
    color: #17326c;
}

.auth-form-static small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #6f7f9d;
}

.invite-link-row {
    display: flex;
    flex: 1;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.invite-link-input {
    min-width: 320px;
    flex: 1 1 420px;
}

.subaccount-modal-card {
    width: min(100%, 520px);
}
