:root {
    /* 科技感深色主题配色方案 */
    --page-top: #f7f7f7;
    --page-bottom: #f7f7f7;
    --frame-top: rgba(255, 255, 255, 0.92);
    --frame-bottom: rgba(255, 255, 255, 0.82);
    --card: rgba(255, 255, 255, 0.92);
    --card-strong: rgba(255, 255, 255, 0.98);
    --line: rgba(0, 188, 212, 0.18);
    --line-strong: rgba(0, 188, 212, 0.4);
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #00bcd4;
    --primary-deep: #0891b2;
    --primary-soft: rgba(0, 188, 212, 0.12);
    --cyan: #00bcd4;
    --cyan-soft: rgba(0, 188, 212, 0.1);
    --rose: #FF6B6B;
    --rose-soft: rgba(255, 107, 107, 0.12);
    --gold: #FFD700;
    --gold-soft: rgba(255, 215, 0, 0.12);
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-text: #059669;
    --error-bg: rgba(239, 68, 68, 0.1);
    --error-text: #dc2626;
    --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.12);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
    /* 科技感光效 */
    --glow-cyan: 0 0 18px rgba(0, 188, 212, 0.12);
    --glow-cyan-strong: 0 0 24px rgba(0, 188, 212, 0.2);
}

* {
    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: #f7f7f7;
    overflow-x: hidden;
}

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

body.modal-open {
    overflow: hidden;
}

/* 科技感背景动画 - 网格效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    background-image: 
        linear-gradient(rgba(0, 188, 212, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

body::before {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    opacity: 0.4;
}

body::after {
    width: 60vw;
    height: 60vw;
    min-width: 500px;
    min-height: 500px;
    top: -20vh;
    right: -10vw;
    background: rgba(0, 188, 212, 0.12);
}

@keyframes fluid-mesh {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        transform: translate(-5vw, 5vh) scale(1.05) rotate(-3deg);
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #06b6d4;
    text-shadow: var(--glow-cyan);
}

button,
input,
select {
    font: inherit;
}

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

.dashboard-frame {
    width: min(99vw, 2200px);
    margin: 8px auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 251, 0.95) 100%);
    color: var(--text);
    box-shadow:
        var(--shadow-lg),
        0 0 24px rgba(0, 188, 212, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(148, 163, 184, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dashboard-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    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.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: var(--shadow-md);
}

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

.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.95);
    border: 1px solid var(--line);
    box-shadow: var(--glow-cyan);
}

.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;
    color: var(--text);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-self: center;
}

.nav-menu-link,
.nav-user-phone,
.nav-logout {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

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

.nav-menu-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: var(--glow-cyan-strong);
    border-color: var(--primary);
}

.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(-2px);
    color: var(--primary);
}

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

.nav-user-phone {
    background: rgba(0, 188, 212, 0.08);
    border-color: var(--line);
    color: var(--primary);
    font-weight: 700;
}

.nav-logout {
    border-color: rgba(239, 68, 68, 0.18);
    background: rgba(239, 68, 68, 0.06);
    color: #dc2626;
    cursor: pointer;
}

.nav-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #dc2626;
}

.dashboard-content {
    padding-top: 12px;
}

.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: all 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(0, 255, 136, 0.3);
}

.flash-error {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: rgba(255, 107, 107, 0.3);
}

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

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

.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;
    color: var(--text);
}

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

.summary-box {
    min-width: 136px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(0, 188, 212, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
    box-shadow: var(--glow-cyan);
    text-align: center;
    color: var(--primary);
}

.summary-box span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.86;
    color: var(--muted);
}

.summary-box strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--primary);
}

.filter-board,
.table-shell,
.panel,
.hero-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
    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);
}

.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: all 0.2s ease;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    color: var(--muted);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    box-shadow: var(--glow-cyan);
}

.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: #0A0A0A !important;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.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(0, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.filter-pill.active .filter-pill-count {
    background: rgba(0, 0, 0, 0.2);
    color: #0A0A0A;
}

.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 var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
    box-shadow: var(--glow-cyan);
    text-align: center;
}

.video-total-panel span {
    display: block;
    color: var(--text);
    opacity: 0.84;
    font-size: 0.9rem;
}

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

.monitor-count-card {
    min-width: 168px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.05);
    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);
    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 var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.3);
}

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

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

.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-table-shell {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(5, 5, 5, 0.7) 100%);
    box-shadow: var(--shadow-lg);
}

.monitor-table-wrap {
    padding-bottom: 6px;
}

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

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

.monitor-table tbody tr {
    background: rgba(0, 0, 0, 0.2);
}

.monitor-table tbody tr:nth-child(even) {
    background: rgba(0, 255, 255, 0.03);
}

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

.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(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

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

.modal-card {
    width: min(680px, calc(100vw - 24px));
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(5, 5, 5, 0.92) 100%);
    box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.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);
}

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

.modal-close {
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: #FF6B6B;
    color: #FF6B6B;
}

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

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

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

.modal-textarea {
    width: 100%;
    min-height: 128px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    resize: vertical;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.modal-textarea:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.05);
}

.modal-input,
.modal-select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.modal-input:focus,
.modal-select:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.05);
}

.modal-static {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(0, 255, 255, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    font-weight: 600;
}

.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;
}

.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 var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

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

.search-input:focus,
.jump-input:focus,
.auth-shell input:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(0, 188, 212, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: none;
    border: 1px solid var(--line);
    background: rgba(0, 188, 212, 0.08);
    color: var(--primary);
    transition: all 0.2s ease;
}

.button-light {
    background: rgba(255, 255, 255, 0.98);
    color: var(--primary);
    box-shadow: none;
    border: 1px solid var(--line);
}

.button-export {
    color: var(--primary);
    box-shadow: var(--glow-cyan);
    border: 1px solid var(--primary);
    background: rgba(0, 188, 212, 0.12);
}

.button-export:hover {
    background: rgba(0, 188, 212, 0.18);
    box-shadow: var(--glow-cyan-strong);
}

.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.96) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: var(--shadow-lg);
}

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

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

.table-wrap::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.45);
}

.table-wrap::-webkit-scrollbar-thumb {
    border: 3px solid rgba(203, 213, 225, 0.45);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(0, 188, 212, 0.6) 0%, rgba(8, 145, 178, 0.5) 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(0, 188, 212, 0.08) 0%, rgba(8, 145, 178, 0.04) 100%);
}

.table-wrap .layui-table th,
.table-wrap .layui-table td {
    border-color: var(--line);
}

.table-wrap .layui-table tbody tr:hover,
.table-wrap .layui-table-hover {
    background-color: rgba(0, 188, 212, 0.06) !important;
}

.table-wrap .layui-table tbody tr,
.ajax-table-wrap .layui-table-body tr,
.ajax-table-wrap .layui-table-body tr:nth-child(even) {
    background: transparent !important;
}

.authors-native-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.videos-native-table {
    width: 100%;
    min-width: 0;
    table-layout: auto;
}

.authors-native-table tbody tr,
.authors-native-table tbody tr:nth-child(even),
.videos-native-table tbody tr,
.videos-native-table tbody tr:nth-child(even) {
    background: transparent !important;
}

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

.ajax-table-wrap .layui-table-box,
.ajax-table-wrap .layui-table-header,
.ajax-table-wrap .layui-table-body {
    border: none;
    background: transparent;
    width: 100% !important;
}

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

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

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

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

.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 var(--line);
    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;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    color: var(--muted);
}

.ajax-table-wrap .layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    box-shadow: var(--glow-cyan);
}

.ajax-table-wrap .layui-table-page .layui-laypage input {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    color: var(--text);
}

.ajax-table-wrap .layui-table-page .layui-laypage button {
    border-radius: 14px;
    background: rgba(0, 188, 212, 0.08);
    border: 1px solid var(--line);
    color: var(--primary);
}

table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    background:
        linear-gradient(180deg, rgba(0, 188, 212, 0.08) 0%, rgba(8, 145, 178, 0.04) 100%);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
    font-size: 0.98rem;
}

tbody tr {
    transition: background 0.16s ease;
    background: transparent;
}

tbody tr:nth-child(even) {
    background: transparent;
}

tbody tr:hover {
    background: rgba(0, 255, 255, 0.06);
}

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

.name-cell {
    font-weight: 700;
    min-width: 160px;
    color: var(--text);
}

.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 {
    display: block;
    min-width: 0;
    max-width: 100%;
}

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

.video-desc-text {
    display: block;
    color: var(--text);
    line-height: 1.65;
    white-space: normal;
    word-break: break-word;
}

.videos-native-table th.video-col-author,
.videos-native-table td.video-col-author {
    width: 160px;
    min-width: 160px;
}

.videos-native-table th.video-col-desc,
.videos-native-table td.video-col-desc {
    min-width: 420px;
}

.videos-native-table th.video-col-num,
.videos-native-table td.video-col-num {
    width: 96px;
    min-width: 96px;
    text-align: center;
    white-space: nowrap;
}

.videos-native-table th.video-col-time,
.videos-native-table td.video-col-time {
    width: 170px;
    min-width: 170px;
    text-align: center;
    white-space: nowrap;
}

.videos-native-table th.video-col-actions,
.videos-native-table td.video-col-actions {
    width: 230px;
    min-width: 230px;
}

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

.video-table-actions .table-link {
    flex: 0 0 auto;
}

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

.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 var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: #111827;
    line-height: 1.58;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: all 0.16s ease;
    z-index: 30;
    box-shadow: var(--shadow-lg);
}

.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: var(--primary);
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid var(--line);
    background: rgba(0, 255, 255, 0.08);
}

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

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

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

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

.availability-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.table-link-secondary {
    border-color: rgba(0, 255, 255, 0.3);
    color: var(--cyan);
    background: rgba(0, 255, 255, 0.08);
}

.table-link-monitor {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: #FFD700;
}

.table-link-danger {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
    color: #FF6B6B;
}

.table-link-status {
    min-width: 56px;
    padding: 0 6px;
    font-size: 0.74rem;
}

.table-link-status.is-active {
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.16);
}

.table-link-status-success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
    color: #15803d;
}

.table-link-status-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
    color: #dc2626;
}

.table-link-disabled {
    color: var(--muted);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 102, 102, 0.3);
    cursor: default;
    pointer-events: none;
}

.table-link:hover {
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.availability-badge.is-pending {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.25);
    color: #64748b;
}

.availability-badge.is-available {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.26);
    color: #15803d;
}

.availability-badge.is-unavailable {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.24);
    color: #dc2626;
}

.inline-edit-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.inline-edit-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    outline: none;
    transition: all 0.2s ease;
}

.inline-edit-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.inline-edit-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 188, 212, 0.08);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.inline-edit-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--glow-cyan);
    background: rgba(0, 188, 212, 0.14);
}

.filter-options-inline {
    align-items: center;
}

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

.range-input {
    min-width: 132px;
    width: 132px;
}

.range-separator {
    color: var(--muted);
    font-weight: 700;
}

.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: var(--gold-soft);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.status-badge.plain {
    background: rgba(102, 102, 102, 0.1);
    color: var(--muted);
    border: 1px solid rgba(102, 102, 102, 0.2);
}

.role-badge.role-user {
    background: rgba(102, 102, 102, 0.1);
    color: var(--muted);
    border: 1px solid rgba(102, 102, 102, 0.2);
}

.role-badge.role-admin {
    background: rgba(0, 255, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.role-badge.role-super {
    background: var(--gold-soft);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.account-badge.active {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.account-badge.inactive {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.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: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-shell {
    margin-top: 14px;
}

.pagination-bar-standalone {
    flex-direction: column;
}

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

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

.pagination-links-inline {
    width: 100%;
}

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

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

.pagination-page-button.is-active {
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--glow-cyan);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    color: var(--muted);
}

.floating-toast {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 9999;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.floating-toast.is-success {
    border-color: rgba(34, 197, 94, 0.28);
    color: #166534;
}

.floating-toast.is-error {
    border-color: rgba(239, 68, 68, 0.28);
    color: #b91c1c;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--muted);
    transition: all 0.2s ease;
}

.pagination-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    border-color: var(--primary);
    color: #0A0A0A;
    font-weight: 700;
    box-shadow: var(--glow-cyan);
}

.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 var(--primary);
    border-radius: 999px;
    background: rgba(0, 255, 255, 0.15);
    color: var(--primary);
    box-shadow: var(--glow-cyan);
    transition: all 0.2s ease;
}

.back-to-top:hover {
    background: rgba(0, 255, 255, 0.25);
    box-shadow: var(--glow-cyan-strong);
}

/* 科技感登录页面样式 */
.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(0, 188, 212, 0.14);
    filter: blur(52px);
    opacity: 0.8;
}

.auth-showcase-surface {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 620px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(0, 188, 212, 0.12) 0%, transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 38%, rgba(241, 245, 249, 0.94) 100%);
    color: var(--text);
    box-shadow:
        var(--shadow-lg),
        var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -18px 40px rgba(148, 163, 184, 0.1);
    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(0, 188, 212, 0.12);
    filter: blur(6px);
}

.auth-showcase-surface::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -130px;
    background: rgba(0, 188, 212, 0.06);
}

.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(0, 188, 212, 0.24);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(0, 188, 212, 0.1) 0%, rgba(0, 188, 212, 0.03) 100%);
    color: var(--text);
    font-weight: 800;
    box-shadow:
        var(--glow-cyan),
        inset 0 1px 0 rgba(0, 255, 255, 0.3);
    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(0, 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.7);
    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(0, 255, 255, 0.2);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    box-shadow:
        var(--shadow-md),
        inset 0 1px 0 rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(22px);
}

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

.auth-card-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(0, 255, 255, 0.6);
    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.7);
    line-height: 1.7;
}

.auth-form-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.9) 0%, rgba(5, 5, 5, 0.85) 100%);
    box-shadow:
        var(--shadow-lg),
        var(--glow-cyan),
        inset 0 1px 0 rgba(0, 255, 255, 0.1),
        inset 0 -16px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(26px);
}

.auth-form-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    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(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.05);
}

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

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    color: #0A0A0A;
    box-shadow: var(--glow-cyan-strong);
}

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

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

.auth-form-kicker {
    color: var(--muted);
}

.auth-form-card h2 {
    font-size: 2.15rem;
    line-height: 1.1;
    color: var(--text);
}

.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: var(--primary);
    font-weight: 700;
}

.auth-form-card input {
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 rgba(0, 255, 255, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.auth-form-card input:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 6px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.05),
        0 14px 30px rgba(0, 0, 0, 0.3);
}

.auth-submit {
    min-height: 58px;
    margin-top: 4px;
    border: 1px solid var(--primary);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    color: #0A0A0A;
    font-weight: 700;
    box-shadow: var(--glow-cyan-strong);
    transition: all 0.2s ease;
}

.auth-submit:hover {
    background: linear-gradient(135deg, #66FFFF 0%, var(--primary) 100%);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}

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

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

.auth-inline-link a:hover {
    text-shadow: var(--glow-cyan);
}

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(0, 255, 255, 0.15) 0%, transparent 30%),
        linear-gradient(145deg, rgba(0, 30, 30, 0.95) 0%, rgba(0, 60, 60, 0.9) 38%, rgba(0, 50, 50, 0.85) 100%);
    box-shadow:
        var(--shadow-lg),
        var(--glow-cyan),
        inset 0 1px 0 rgba(0, 255, 255, 0.2),
        inset 0 -18px 36px rgba(0, 0, 0, 0.3);
    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(0, 255, 255, 0.12);
}

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

.auth-side-panel::before {
    width: 220px;
    height: 220px;
    top: -100px;
    right: -90px;
    background: rgba(0, 255, 255, 0.1);
    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(0, 188, 212, 0.24);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        var(--glow-cyan),
        inset 0 1px 0 rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(18px);
}

.auth-intro-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary);
}

.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;
    color: rgba(0, 255, 255, 0.7);
}

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

.auth-intro-text {
    max-width: 520px;
    margin: 18px 0 0;
    color: #64748b;
    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(0, 188, 212, 0.18);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(0, 188, 212, 0.06) 0%, rgba(255, 255, 255, 0.92) 100%);
    box-shadow:
        var(--shadow-md),
        inset 0 1px 0 rgba(0, 255, 255, 0.15);
    backdrop-filter: blur(18px);
}

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

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

.auth-point-card strong {
    display: block;
    font-size: 1.06rem;
    color: var(--text);
}

.auth-point-card p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.75;
}

.auth-side-panel {
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid var(--line);
    box-shadow:
        var(--shadow-lg),
        var(--glow-cyan),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -16px 28px rgba(148, 163, 184, 0.08);
    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(241, 245, 249, 0.9);
    box-shadow: inset 0 1px 0 rgba(0, 255, 255, 0.05);
}

.auth-side-tab {
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
    color: var(--muted);
    font-weight: 800;
    transition: all 0.2s ease;
}

.auth-side-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    color: #0A0A0A;
    box-shadow: var(--glow-cyan-strong);
}

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

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

.auth-side-tag {
    color: var(--muted);
}

.auth-side-head h2 {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.08;
    color: var(--text);
}

.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: var(--primary);
    font-weight: 700;
}

.auth-side-panel input {
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 rgba(0, 255, 255, 0.05),
        0 12px 22px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.auth-side-panel input:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 5px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.3);
}

.auth-side-submit {
    min-height: 58px;
    margin-top: 4px;
    border-radius: 18px;
    font: inherit;
    font-weight: 700;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #00CCCC 100%);
    color: #0A0A0A;
    box-shadow: var(--glow-cyan);
    transition: all 0.2s ease;
}

.auth-side-submit:hover {
    box-shadow: var(--glow-cyan-strong);
    background: linear-gradient(135deg, #66FFFF 0%, var(--primary) 100%);
}

.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);
    font-weight: 700;
}

.auth-side-hint a:hover {
    text-shadow: var(--glow-cyan);
}

/* 响应式布局 */
@media (max-width: 1080px) {
    .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: 0;
    }

    .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) {
    .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 {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .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: 0;
    }

    .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: 0;
    }

    .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;
    }

    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) {
    .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) {
    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;
    }
}
