/* =========================================================
   彩虹外链网盘 - 前台页面样式
   依赖 theme.css
   ========================================================= */

/* ---------------- 首页 ---------------- */

.index-page .page-card {
    padding: 26px 28px;
}

.index-page .page-head {
    margin-bottom: 18px;
}

.index-page .page-head h2 {
    font-size: 27px;
}

.index-page .page-head h2 .text-muted {
    display: block;
    margin-top: 7px;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.6;
}

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

.search-input-wrap {
    position: relative;
}

.search-input-wrap > .fa {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    color: var(--text-3);
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

body.site-body .search-input-wrap .form-control {
    width: 260px;
    padding-left: 36px !important;
    background: var(--surface-2) !important;
}

.search-form .btn {
    height: 44px;
    padding: 0 18px;
}

.index-page .filelist > thead > tr > th {
    white-space: nowrap;
}

.index-page .filelist > tbody > tr > td {
    color: var(--text-2);
}

.index-page .filelist > tbody > tr > td:first-child {
    color: var(--text-3);
}

.file-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.file-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 15px;
}

.file-icon i.fa-file-image-o {
    color: #ec4899;
}

.file-icon i.fa-file-audio-o {
    color: #8b5cf6;
}

.file-icon i.fa-file-video-o {
    color: #f97316;
}

.file-icon i.fa-file-archive-o {
    color: #0ea5e9;
}

.file-icon i.fa-file-excel-o {
    color: #16a34a;
}

.file-icon i.fa-file-word-o {
    color: #2563eb;
}

.file-icon i.fa-file-pdf-o {
    color: #dc2626;
}

.file-icon i.fa-file-code-o {
    color: #0891b2;
}

.file-name {
    overflow: hidden;
    color: var(--text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.type-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.type-badge.on-dark {
    background: rgba(79, 70, 229, .10);
    color: var(--brand-600);
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.file-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.file-actions > a:hover {
    border-color: var(--brand-100);
    background: var(--brand-50);
    color: var(--brand-600);
}

.index-page .filelist td .empty-state {
    border: 0;
}

.index-page .list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.index-page .file-count {
    color: var(--text-3);
    font-size: 13px;
}

.index-page .pagination-wrap {
    margin-left: auto;
}

.index-page .pagination {
    margin: 0;
}

@media (max-width: 767px) {
    .index-page .page-card {
        padding: 18px;
    }

    .index-page .page-head h2 {
        font-size: 22px;
    }

    .search-form,
    .search-input-wrap,
    .search-input-wrap .form-control {
        width: 100%;
    }

    .search-form .btn {
        width: 100%;
    }

    .index-page .list-footer {
        display: block;
    }

    .index-page .pagination-wrap {
        margin-top: 12px;
        text-align: center;
    }

    .index-page .pagination {
        display: inline-flex;
    }

    .file-name {
        max-width: 180px;
    }
}

/* ---------------- 上传页 ---------------- */

.upload-page .upload-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    padding: 36px 28px;
    border: 2px dashed rgba(203, 213, 225, .85) !important;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.upload-page .upload-dropzone:hover {
    border-color: var(--brand-400) !important;
    box-shadow: 0 16px 40px -20px rgba(79, 70, 229, .35);
}

.upload-page .upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #eef2ff;
    color: var(--brand-600);
    font-size: 32px;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .10);
}

.upload-page #uploadTitle {
    margin: 0 0 22px;
    color: var(--text) !important;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.upload-page #upload_frame {
    width: 100%;
}

.upload-page .btn-upload {
    height: 52px;
    padding: 0 30px;
    border-radius: 12px;
    font-size: 16px;
}

/* 蓝色玻璃态按钮：后续按钮统一使用 .btn-glass，不使用紫色。 */
body.site-body .btn-glass {
    color: #075985 !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    background-color: rgba(2, 132, 199, .26) !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08)) !important;
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
    box-shadow: 0 12px 30px -16px rgba(2, 132, 199, .62), inset 0 1px 0 rgba(255, 255, 255, .68), inset 0 -1px 0 rgba(255, 255, 255, .18);
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .42);
}

body.site-body .btn-glass:hover,
body.site-body .btn-glass:focus {
    color: #0c4a6e !important;
    border-color: rgba(255, 255, 255, .86) !important;
    background-color: rgba(2, 132, 199, .38) !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .10)) !important;
    box-shadow: 0 16px 34px -16px rgba(3, 105, 161, .68), inset 0 1px 0 rgba(255, 255, 255, .74), inset 0 -1px 0 rgba(255, 255, 255, .22);
}

body.site-body .btn-glass:focus-visible {
    outline: 2px solid #0369a1;
    outline-offset: 3px;
}

body.site-body .btn-glass:disabled,
body.site-body .btn-glass.disabled {
    opacity: .68;
    cursor: not-allowed;
}

.upload-page .upload-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 24px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-2);
}

.upload-page .upload-options .form-group {
    margin: 0;
}

.upload-page .upload-options .checkbox {
    margin: 0;
}

.upload-page .upload-options label {
    color: var(--text-2);
    font-weight: 500;
}

.upload-page #pwd_frame {
    flex: 1 1 220px;
    max-width: 260px;
    margin: 0 !important;
}

.upload-page #pwd_frame .help-block {
    margin-top: 5px;
}

.upload-page .upload-sidebar .panel-heading {
    border-bottom: 1px solid rgba(224, 231, 255, .85);
    background: rgba(238, 242, 255, .72) !important;
    color: var(--brand-700) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}

.upload-page .upload-sidebar .panel-title {
    color: var(--brand-700) !important;
}

.upload-page .upload-sidebar .list-group {
    margin-bottom: 0;
}

.upload-page .upload-sidebar .list-group-item {
    padding: 13px 18px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

.upload-page .upload-sidebar .list-group-item:last-child {
    border-bottom: 0;
}

.upload-page .progress {
    height: 14px !important;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--brand-50);
    box-shadow: none;
    overflow: hidden;
}

.upload-page .progress-bar {
    background-color: var(--brand-600) !important;
    background-image: none !important;
    box-shadow: none;
    font-size: 10px;
    line-height: 14px;
}

.upload-page .progress-striped .progress-bar {
    background-image: none !important;
}

.upload-page .filename {
    color: var(--text-2);
    font-size: 12px;
}

.upload-page .colorful_loading_frame {
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(3px);
}

.upload-page .colorful_loading > i {
    background-color: #c7d2fe;
    border-radius: 3px;
}

.upload-page .alert {
    border-radius: 12px;
}

@media (max-width: 767px) {
    .upload-page .upload-dropzone {
        min-height: 360px;
        padding: 28px 18px;
    }

    .upload-page #uploadTitle {
        font-size: 21px;
    }

    .upload-page .upload-options {
        justify-content: flex-start;
        gap: 12px;
    }

    .upload-page #pwd_frame {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* ---------------- 文件详情 ---------------- */

.file-page .file-detail-card > .panel-heading {
    border-bottom: 1px solid rgba(224, 231, 255, .85);
    background: rgba(238, 242, 255, .72) !important;
    color: var(--brand-700) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}

.file-page .file-detail-card > .panel-heading .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--brand-700) !important;
}

.file-page .file-preview {
    padding: 18px;
    background: rgba(248, 250, 252, .62);
    border-radius: 0;
}

.file-page .image_view,
.file-page .image {
    border-radius: 12px;
    box-shadow: 0 10px 28px -18px rgba(15, 23, 42, .40);
}

.file-page .view {
    padding-top: 40px;
    padding-bottom: 40px;
}

.file-page .elseview {
    height: 120px;
}

.file-page .tubiao {
    width: 88px;
    height: 88px;
    color: #c7d2fe;
    font-size: 76px;
}

.file-page .elsetext {
    color: var(--text-2);
    font-size: 16px;
}

.file-page .file-tabs-body {
    padding: 0;
}

.file-page .file-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 18px !important;
    padding: 5px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
}

.file-page .file-tabs > li {
    float: none;
    margin: 0;
}

.file-page .file-tabs > li > a {
    margin: 0;
    padding: 8px 14px;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--text-2) !important;
    font-weight: 600;
}

.file-page .file-tabs > li > a:hover,
.file-page .file-tabs > li > a:focus {
    background: rgba(255, 255, 255, .65) !important;
    color: var(--brand-600) !important;
}

.file-page .file-tabs > li.active {
    background: transparent;
    border: 0;
}

.file-page .file-tabs > li.active > a,
.file-page .file-tabs > li.active > a:hover,
.file-page .file-tabs > li.active > a:focus {
    border: 0 !important;
    background: #fff !important;
    color: var(--brand-600) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.file-page .file-tab-content {
    padding: 8px 4px 4px !important;
}

.file-page .file-tab-content #link .form-group.row,
.file-page .file-tab-content #code .form-group.row {
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f7;
}

.file-page .file-tab-content #link .form-group.row:first-child,
.file-page .file-tab-content #code .form-group.row:first-child {
    padding-top: 8px;
}

.file-page .file-tab-content #link .form-group.row:last-child,
.file-page .file-tab-content #code .form-group.row:last-child {
    padding-bottom: 4px;
    border-bottom: 0;
}

.file-page .file-tab-content #link .form-group.row > .control-label,
.file-page .file-tab-content #code .form-group.row > .control-label {
    float: none;
    width: 100%;
    margin-bottom: 9px;
    padding: 0;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.file-page .file-tab-content #link .form-group.row > .col-md-10,
.file-page .file-tab-content #code .form-group.row > .col-md-10 {
    float: none;
    width: 100%;
    padding: 0;
}

.file-page .input-group .form-control {
    font-family: var(--mono);
    font-size: 12px;
    background: var(--surface-2) !important;
}

.file-page .copy-btn {
    min-width: 76px;
    border-radius: 0 10px 10px 0 !important;
}

.file-page .shortlink-result-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.file-page .shortlink-result-actions .btn {
    flex: 0 0 auto;
    margin: 0;
}

.file-page .shortlink-result-actions > span {
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.6;
}

.file-page .shortlink-generator {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 112px auto;
    gap: 10px;
    align-items: stretch;
}

.file-page .shortlink-generator .form-control {
    min-width: 0;
    margin: 0;
}

.file-page .shortlink-generator .btn {
    min-height: 44px;
    margin: 0;
    white-space: nowrap;
}

.file-page #shortLinkTip {
    margin-top: 8px;
    margin-bottom: 0;
}

.file-page .fileinfo-table {
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.file-page .fileinfo-table th {
    width: 110px;
    background: var(--surface-2);
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.file-page .fileinfo-table td {
    color: var(--text-2);
    text-align: left;
}

.file-page .qr-card img {
    display: block;
    max-width: 100%;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
}

.file-page .tip-card .panel-body {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.8;
}

.file-page .download-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .file-page .file-tabs {
        overflow-x: auto;
    }

    .file-page .file-tabs > li > a {
        white-space: nowrap;
    }

    .file-page .file-tab-content .control-label {
        padding-bottom: 4px;
        text-align: left;
    }

    .file-page .shortlink-generator {
        grid-template-columns: 1fr;
    }

    .file-page .fileinfo-table th {
        width: 88px;
    }
}

/* ---------------- 创建分享 / 分享页 ---------------- */

.file-page .share-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.file-page .share-entry-tip {
    flex: 1 1 auto;
    margin: 0;
    line-height: 1.7;
}

.file-page .share-entry .btn {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .file-page .share-entry {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .file-page .share-entry .btn {
        width: 100%;
    }
}

.file-page .share-create-result {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.file-page .share-create-result .alert {
    margin-bottom: 12px;
}

.file-page #copyShareLink {
    border-radius: 0 10px 10px 0 !important;
    white-space: nowrap;
}

.file-page .share-records {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.file-page .share-records-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.file-page .share-records-head h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.file-page .share-records-head span,
.file-page .share-item-meta {
    color: var(--text-3);
    font-size: 12px;
}

.file-page .share-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
}

.file-page .share-item + .share-item {
    margin-top: 10px;
}

.file-page .share-item-main {
    min-width: 0;
}

.file-page .share-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.file-page .share-item-title a {
    color: #075985;
    font-weight: 700;
}

.file-page .share-item-url {
    overflow: hidden;
    margin-bottom: 5px;
    color: var(--text-2);
    font-family: var(--mono);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-page .share-item-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

.file-page .share-list-empty {
    padding: 26px 16px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--text-3);
}

.file-page .share-list-empty i {
    margin-bottom: 8px;
    color: #7dd3fc;
    font-size: 26px;
}

.file-page .share-list-empty p {
    margin: 0;
}

.share-page .share-card {
    margin-top: 54px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.share-page .share-card > .panel-heading {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(186, 230, 253, .72);
    background: rgba(224, 242, 254, .72);
    color: #075985;
}

.share-page .share-card > .panel-heading .panel-title {
    color: #075985;
    font-size: 17px;
}

.share-page .share-card > .panel-body {
    padding: 30px;
}

.share-page .share-state-icon {
    display: block;
    margin-bottom: 14px;
    color: #0284c7;
    font-size: 42px;
}

.share-page .share-unlock h2,
.share-page .share-file-heading h2,
.share-page .share-invalid h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    word-break: break-all;
}

.share-page .share-unlock p,
.share-page .share-file-heading p,
.share-page .share-invalid p {
    color: var(--text-3);
}

.share-page .share-unlock-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 24px;
}

.share-page .share-unlock-form .form-control {
    height: 44px;
    text-align: center;
    letter-spacing: .2em;
}

.share-page .share-file-meta {
    margin: 24px 0 16px;
    border-top: 1px solid var(--border);
}

.share-page .share-file-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.share-page .share-file-meta dt {
    color: var(--text-3);
    font-weight: 500;
}

.share-page .share-file-meta dd {
    color: var(--text-2);
    text-align: right;
}

.share-page .share-stats {
    margin-bottom: 22px;
    color: var(--text-3);
    font-size: 12px;
}

.share-page .share-download {
    min-width: 180px;
}

@media (max-width: 767px) {
    .file-page .share-item,
    .file-page .share-records-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .file-page .share-item-actions {
        width: 100%;
        white-space: normal;
    }

    .file-page #copyShareLink {
        font-size: 12px;
    }

    .share-page .share-card {
        margin-top: 24px;
    }

    .share-page .share-card > .panel-body {
        padding: 22px 18px;
    }

    .share-page .share-unlock-form {
        grid-template-columns: 1fr;
    }
}

/* 独立分享页：不加载主站导航和页脚。 */
body.share-standalone {
    min-height: 100vh;
    background: radial-gradient(circle at 15% 12%, rgba(125, 211, 252, .32), transparent 32%), radial-gradient(circle at 88% 88%, rgba(186, 230, 253, .42), transparent 34%), #f0f9ff;
}

body.share-standalone::before,
body.share-standalone::after {
    display: none;
}

.share-standalone .share-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 42px 20px 28px;
}

.share-standalone .share-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #0c4a6e;
}

.share-standalone .share-brand-logo {
    width: 62px;
    height: 72px;
    object-fit: contain;
}

.share-standalone .share-brand strong,
.share-standalone .share-brand span {
    display: block;
}

.share-standalone .share-brand strong {
    font-size: 18px;
    letter-spacing: .02em;
}

.share-standalone .share-brand div > span {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

.share-standalone .share-card {
    width: 100%;
    margin: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
}

.share-standalone .share-card > .panel-heading {
    padding: 17px 24px;
    background: rgba(224, 242, 254, .58);
}

.share-standalone .share-card > .panel-body {
    padding: 32px;
}

.share-standalone .share-invalid .panel-body {
    padding: 42px 32px;
}

.share-standalone .share-invalid-note {
    display: block;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

.share-standalone .share-privacy {
    margin-top: 18px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.share-standalone .share-privacy i {
    margin-right: 5px;
    color: #7dd3fc;
}

@media (max-width: 767px) {
    .share-standalone .share-shell {
        justify-content: flex-start;
        padding: 32px 14px 22px;
    }

    .share-standalone .share-card > .panel-body,
    .share-standalone .share-invalid .panel-body {
        padding: 26px 20px;
    }

    .share-standalone .share-brand {
        margin-bottom: 18px;
    }
}

/* ---------------- 用户登录 ---------------- */

.login-page .login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 190px);
    padding: 48px 15px;
}

.login-page .login-card {
    width: 100%;
    max-width: 440px;
    margin: 0 !important;
    padding: 36px 32px 30px;
    border-radius: 24px;
}

.login-page .login-brand {
    margin-bottom: 22px;
    text-align: center;
}

.login-page .login-brand .brand-mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: #fff;
    font-size: 26px;
    box-shadow: none;
}

.login-page .login-brand h2 {
    margin: 0 0 6px;
    font-size: 23px;
    font-weight: 700;
}

.login-page .login-sub {
    margin: 0;
    color: var(--text-3);
    font-size: 13px;
}

.login-page .login-card h5 {
    margin: 0 0 14px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.oauth-list {
    display: grid;
    gap: 12px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .48);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.oauth-btn:hover,
.oauth-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -18px rgba(15, 23, 42, .50), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.oauth-btn .fa {
    font-size: 19px;
}

.oauth-qq {
    border-color: rgba(18, 183, 245, .24);
    background-color: rgba(18, 183, 245, .12);
    color: #0284c7 !important;
}

.oauth-qq:hover,
.oauth-qq:focus {
    background-color: rgba(18, 183, 245, .20);
    color: #0369a1 !important;
}

.oauth-wx {
    border-color: rgba(7, 193, 96, .24);
    background-color: rgba(7, 193, 96, .12);
    color: #059669 !important;
}

.oauth-wx:hover,
.oauth-wx:focus {
    background-color: rgba(7, 193, 96, .20);
    color: #047857 !important;
}

.login-page .login-note {
    margin: 20px 0 0;
    color: var(--text-3);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 767px) {
    .login-page .login-shell {
        min-height: calc(100vh - 150px);
        padding: 28px 15px;
    }

    .login-page .login-card {
        padding: 28px 22px 24px;
    }
}

/* ---------------- 独立播放器 ---------------- */

.player-page {
    margin: 0;
    min-height: 100vh;
    background-color: #0b1220;
    color: #e2e8f0;
}

.player-page #preview {
    padding: 16px;
}

.player-page .aplayer {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
    overflow: hidden;
}

.player-page .aplayer .aplayer-pic {
    height: 100px;
    width: 100px;
}

.player-page .videoplayer {
    width: 100%;
    height: 100vh;
}

/* ---------------- 下载密码提示页（down.php） ---------------- */

.pwd-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    background-color: #eef2f7;
    font-family: var(--font);
}

.pwd-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 24px 60px -28px rgba(15, 23, 42, .40);
    text-align: center;
}

.pwd-card .brand-mark {
    margin-bottom: 16px;
    background: var(--brand-600);
    border: 0;
}

.pwd-card h1 {
    margin: 0 0 8px;
    font-size: 21px;
}

.pwd-card p {
    margin: 0 0 18px;
    color: var(--text-3);
    font-size: 13px;
}

.pwd-card a {
    font-weight: 600;
}
