body {
    background: radial-gradient(ellipse at top, #2a0008 0%, #0A0A0A 60%);
    background-color: #0A0A0A;
    color: #fff;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
[v-cloak] { display: none; }

.panel {
    background: rgba(20, 20, 20, .85);
    border: 1px solid rgba(217, 4, 41, .25);
    backdrop-filter: blur(12px);
}

.field {
    width: 100%;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .75rem;
    padding: .7rem 1rem;
    font-size: .875rem;
    color: #fff;
    outline: none;
    transition: border-color .2s;
}
.field:focus { border-color: #FFD700; }

.btn-primary {
    background: #D90429;
    border-radius: .75rem;
    padding: .7rem 1.25rem;
    font-weight: 600;
    font-size: .875rem;
    transition: background .2s;
}
.btn-primary:hover { background: #b10322; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.manager-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.manager-eyebrow { font-size: 10px; letter-spacing: .18em; color: #bcaa7d; }
.manager-heading h2 { font-size: 22px; font-weight: 600; margin-top: 8px; }
.manager-refresh { padding: 9px 14px; border: 1px solid #ffffff25; border-radius: 8px; font-size: 13px; color: #ddd; background: #ffffff05; }
.manager-refresh:hover { border-color: #cbb372; }
.content-tabs { display: flex; gap: 6px; border-bottom: 1px solid #ffffff15; margin-top: 24px; overflow-x: auto; }
.content-tabs button { padding: 12px 15px; font-size: 13px; color: #999; border-bottom: 2px solid transparent; white-space: nowrap; }
.content-tabs button.active { color: #ebd39a; border-color: #d8bb76; }.content-tabs span { margin-left: 4px; font-size: 11px; }
.content-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 20px 0; }
.content-toolbar p { color: #999; font-size: 12px; line-height: 1.8; }.content-toolbar button { flex-shrink: 0; }
.content-editor { padding: 20px; margin-bottom: 24px; border: 1px solid #b39b6b55; border-radius: 12px; background: #0003; }
.content-editor h3 { font-weight: 600; margin-bottom: 18px; }
.editor-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 22px; }
.admin-photo-picker { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 1px dashed #ffffff30; border-radius: 12px; font-size: 12px; text-align: center; }
.admin-photo-picker img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 6px; }.admin-photo-picker input { width: 100%; font-size: 11px; }.admin-photo-picker small { color: #888; font-size: 10px; }
.editor-fields { display: flex; flex-direction: column; gap: 16px; }.editor-fields label { display: grid; gap: 8px; font-size: 12px; color: #bbb; }.editor-fields textarea { resize: vertical; }
.editor-actions { display: flex; gap: 12px; margin-top: 20px; }
.managed-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.managed-card { border: 1px solid #ffffff16; border-radius: 12px; overflow: hidden; background: #111; display: flex; flex-direction: column; min-width: 0; }
.managed-card>img { width: 100%; height: 180px; object-fit: cover; }.managed-copy { padding: 16px; flex: 1; }.managed-copy h3 { font-weight: 600; margin-bottom: 8px; overflow-wrap: anywhere; }.managed-copy p { white-space: pre-wrap; overflow-wrap: anywhere; color: #aaa; font-size: 12px; line-height: 1.7; }.managed-copy .managed-contact { color: #d5c295; margin-top: 10px; }.managed-copy small { color: #777; font-size: 10px; display: block; margin-top: 8px; }
.managed-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 16px 16px; }.managed-actions button { font-size: 12px; padding: 8px 10px; }.manager-delete { color: #ff8989; font-size: 12px; }.managed-empty { padding: 45px 16px; text-align: center; font-size: 13px; color: #888; border: 1px dashed #ffffff20; border-radius: 12px; }
button:disabled { opacity: .45; cursor: not-allowed; }button:focus-visible { outline: 2px solid #d8bb76; outline-offset: 3px; }
@media(max-width:700px) { .managed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.editor-columns { grid-template-columns: 1fr; }.admin-photo-picker img { max-height: 180px; }.field { font-size: 16px; }.content-toolbar { align-items: start; }.content-tabs button { padding: 12px 9px; } }
@media(max-width:400px) { .managed-grid { grid-template-columns: 1fr; }.content-toolbar { flex-direction: column; }.manager-heading h2 { font-size: 20px; } }

/* 电影上传和栏目管理 */
.movie-manager h2 small { color: #a39579; font-size: 12px; margin-left: 8px; }
.movie-manager-note { color: #a4a0a0; font-size: 12px; line-height: 1.9; margin: 16px 0 20px; }
.movie-add-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid #ffffff12; margin-bottom: 24px; }
.movie-add-form label,.movie-admin-card label { display: block; font-size: 12px; color: #b5a98e; }
.movie-add-form .field,.movie-admin-card .field { display: block; margin-top: 7px; width: 100%; }
.movie-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.movie-admin-card { min-width: 0; border: 1px solid #c5ab6b29; border-radius: 12px; background: #090b10; padding: 18px; }
.movie-admin-top { display: flex; justify-content: space-between; gap: 12px; color: #9f9277; font-size: 11px; margin-bottom: 18px; }
.movie-admin-card label+label { margin-top: 13px; }
.movie-preview-link { display: inline-block; color: #dfc88e; font-size: 12px; margin: 16px 0; }
.movie-no-file { color: #78757a; font-size: 12px; margin: 16px 0; }
.movie-admin-card .movie-upload-button { position: relative; cursor: pointer; border: 1px dashed #d5b36b70; padding: 12px; color: #d6c08b; text-align: center; border-radius: 7px; overflow: hidden; }
.movie-upload-button input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.movie-upload-button.disabled { opacity: .5; cursor: default; }
.movie-upload-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #e0c997; background: #d5b36b12; border: 1px solid #d5b36b40; padding: 14px; margin-bottom: 20px; border-radius: 8px; font-size: 12px; }
.movie-upload-progress progress { flex: 1; min-width: 100px; accent-color: #d5b36b; }
.movie-upload-progress button { border: 1px solid #d5b36b55; border-radius: 6px; padding: 6px 10px; }
@media(max-width:640px) { .movie-admin-grid,.movie-add-form { grid-template-columns: 1fr; }.movie-add-form .btn-primary { width: 100%; } }

.product-price-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-price-editor select { width: 100%; }

.profile-batch-manager { border: 1px solid #d5b36b45; border-radius: 12px; padding: 20px; margin: 22px 0; background: #d5b36b08; }
.profile-batch-manager h3 { color: #e2cd9a; font-size: 17px; margin: 0 0 12px; }.profile-batch-manager>p { color: #a99e89; font-size: 12px; line-height: 1.9; margin-bottom: 20px; }.profile-batch-manager label { color: #b9ab8d; font-size: 12px; display: block; }.profile-batch-manager .field { width: 100%; margin-top: 8px; }
.profile-batch-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 15px 0; }
.profile-batch-manager .profile-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px dashed #d5b36b88; border-radius: 9px; padding: 35px 20px; margin: 20px 0 15px; cursor: pointer; color: #d7bf85; }.profile-dropzone small { font-size: 11px; color: #9c9079; }.profile-dropzone.dragging { background: #d5b36b22; border-color: #f0d9a3; }.profile-dropzone.disabled { opacity: .5; }.profile-dropzone input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.profile-batch-queue { max-height: 230px; overflow-y: auto; margin: 16px 0; }.profile-batch-queue>div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #ffffff10; color: #b8ad99; font-size: 12px; }.profile-batch-queue span { overflow-wrap: anywhere; }.profile-batch-queue small { flex-shrink: 0; }
.profile-media-manager { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 20px 0; }.profile-media-manager article { min-width: 0; }.profile-media-manager img,.profile-media-manager video { width: 100%; height: 150px; object-fit: contain; background: #090c12; }.profile-media-manager button { margin-top: 8px; }
.managed-card>video { width: 100%; height: 220px; object-fit: contain; background: #090c12; }.managed-no-cover { height: 220px; display: grid; place-items: center; color: #82755c; background: #0a0e14; }
@media(max-width:600px) { .profile-batch-fields { grid-template-columns: 1fr; }.profile-media-manager { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.layout-note { color: #a69b86; font-size: 12px; line-height: 1.9; margin: 20px 0; }.layout-list { display: flex; flex-direction: column; gap: 18px; }.layout-block { border: 1px solid #c7ad7138; border-radius: 10px; padding: 18px; background: #0b1016; }.layout-row-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }.layout-row-heading strong { color: #d8c18e; font-size: 13px; font-weight: 500; }.layout-row-heading>div { display: flex; gap: 10px; align-items: center; }.layout-row-heading button:not(.manager-delete) { color: #d5bd87; border: 1px solid #c7ad7140; border-radius: 4px; width: 28px; height: 28px; }.layout-row-heading button:disabled { opacity: .3; }.layout-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.layout-fields label { color: #9e927a; font-size: 11px; min-width: 0; }.layout-fields .field { display: block; width: 100%; margin-top: 7px; }.layout-row-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }.layout-channel-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 0 18px; padding-left: 18px; border-left: 1px solid #c7ad7140; }.layout-channel-row { padding: 16px; background: #171b22; border: 1px solid #ffffff0a; border-radius: 8px; }.layout-add-form { border-top: 1px solid #c7ad7130; margin-top: 26px; padding-top: 24px; }.layout-add-form h3 { color: #d6bf8b; margin-bottom: 20px; }.layout-add-form>.layout-fields { margin: 18px 0; }
@media(max-width:650px) { .layout-fields { grid-template-columns: 1fr; }.layout-channel-list { margin-left: 0; padding-left: 10px; } }
.live-notice-editor label { display: block; color: #b7a782; font-size: 12px; }.live-notice-editor textarea { display: block; width: 100%; margin-top: 10px; }.live-notice-editor>div { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; }.live-notice-editor small { color: #978970; }

.console-tabs { display: flex; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #ffffff15; }
.console-tabs button { padding: 12px 24px; border: 1px solid #d5b36b44; border-radius: 10px; background: #121822; color: #c9c3b4; font-weight: 600; }
.console-tabs button.active { color: #18140b; background: #d5b36b; border-color: #d5b36b; }
.unified-poker-panel { overflow: hidden; border: 1px solid #d5b36b44; border-radius: 16px; background: #07120e; }
.unified-poker-frame { display: block; width: 100%; height: max(800px,85vh); border: 0; }
@media(max-width:600px){ .console-tabs button { flex: 1; padding: 12px; }.unified-poker-frame { height: 90vh; min-height: 700px; } }

/* 后台频道分类：窄屏横向滚动，保留完整名称。 */
.console-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.console-tabs button { flex: 0 0 auto; white-space: nowrap; }
.console-tabs button:disabled { opacity: .55; cursor: wait; }
.category-settings h2 { color: #e2cd9a; font-size: 20px; font-weight: 600; }
@media(max-width:600px) { .console-tabs button { flex: 0 0 auto; padding: 12px 18px; } }

.photo-source-tabs { margin: 16px 0; }
.gallery-photo-library { border: 1px solid #d5b36b40; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.gallery-photo-library>label { display: block; color: #b9ab8d; font-size: 12px; }
.gallery-photo-library select { display: block; width: 100%; margin-top: 8px; }
.profile-photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; max-height: 480px; overflow-y: auto; margin-top: 16px; }
.profile-photo-grid button { min-width: 0; padding: 4px; border: 2px solid transparent; border-radius: 8px; background: #090b10; text-align: left; }
.profile-photo-grid button.selected { border-color: #d5b36b; background: #d5b36b14; }
.profile-photo-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.profile-photo-grid span { display: block; padding: 8px 4px; color: #d8c18e; font-size: 12px; overflow-wrap: anywhere; }
.profile-photo-grid b { display: block; margin-top: 4px; font-weight: 500; }
.selected-photo-preview { padding: 16px; border: 1px dashed #d5b36b60; border-radius: 10px; text-align: center; }
.selected-photo-preview img { display: block; width: 100%; max-height: 320px; object-fit: contain; }
.selected-photo-preview p { margin-top: 12px; font-size: 12px; line-height: 1.8; color: #b9ab8d; }
@media(max-width:600px) { .profile-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
