/**
 * 光域视界 · 全站唯一样式表 lfv.css
 * base（主题 / 滚动条 / 基础组件）+ 四个页面作用域（home / doc / admin / roadmap）。
 * 用法：<link rel="stylesheet" href="/css/lfv.css?v=2">
 *       <body class="page-home|page-doc|page-admin|page-roadmap">
 */






:root {
    --lfv-bg: #0a0e14;
    --lfv-bg-deep: #070b11;
    --lfv-panel: #111823;
    --lfv-panel-2: #0d141e;
    --lfv-line: rgba(132, 164, 204, 0.14);
    --lfv-line-soft: rgba(132, 164, 204, 0.08);
    --lfv-primary: #00d2ff;
    --lfv-primary-2: #3a7bd5;
    --lfv-text: #e8eef7;
    --lfv-sub: #93a4ba;
    --lfv-muted: #617086;
}


html,
body {
    background: var(--lfv-bg);
}


html.lfv-embedded,
html.lfv-embedded body,
html.lfv-embedded body.roadmap-page {
    background: transparent;
}


.lfv-embedded .navbar,
.lfv-embedded .lfv-footer {
    display: none;
}




html {
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 168, 200, .28) transparent;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(140, 168, 200, .26);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, .5);
    background-clip: content-box;
}
::-webkit-scrollbar-corner {
    background: transparent;
}






:root {
    --primary: #00d2ff;
    --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-sub: #a0a5b0;
    --text-muted: #6c7280;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 50px;
    --shadow-glow: 0 8px 32px rgba(0, 210, 255, 0.1);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: 26px; letter-spacing: 1px; }
h2 { font-size: 22px; }
.text-center { text-align: center; }
.text-sub { color: var(--text-sub); font-size: 14px; }


.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 30px;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 200;
}
.nav-brand { margin-right: 30px; }
.nav-brand a {
    font-size: 20px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links > a { color: var(--text-sub); font-size: 15px; font-weight: 500; }
.nav-links > a:hover, .nav-links > a.active { color: var(--primary); }
.user-profile { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-gradient); color: #fff;
    display: flex; justify-content: center; align-items: center;
    font-weight: bold; font-size: 15px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}
.username-display { color: var(--text-sub); font-weight: 500; font-size: 14px; }
.user-profile a { color: var(--text-muted); font-size: 13px; }
.user-profile a:hover { color: var(--primary); }

.form-group { margin-bottom: 18px; }
.form-input {
    width: 100%; padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-main); border-radius: var(--radius-sm);
    outline: none; transition: all 0.3s; font-size: 15px;
}
.form-input:focus { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); box-shadow: 0 0 15px rgba(0, 210, 255, 0.1); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 80px; }

.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 12px 24px; border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm); cursor: pointer; font-size: 14px;
    font-weight: 500; transition: all 0.3s; color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--primary); }
.btn-primary { width: 100%; background: var(--primary-gradient); border: none; font-size: 16px; padding: 14px; box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4); transform: translateY(-2px); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 30px; }
.card { background: var(--bg-card); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; cursor: pointer; }
.card:hover { transform: translateY(-8px); border-color: rgba(0, 210, 255, 0.3); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.1); }
.card-img { width: 100%; height: 180px; object-fit: cover; background: #15151a; display: block; }
.card-body { padding: 20px; }
.card-title { margin-bottom: 8px; font-size: 18px; }
.card-desc { font-size: 13px; color: var(--text-sub); }
.lock-overlay { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.7); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: center; font-size: 15px; color: var(--primary); font-weight: bold; opacity: 0; transition: opacity 0.3s; }
.card.locked .lock-overlay { opacity: 1; }


.hero-carousel { width: 100%; height: 450px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 18px; border-bottom: 1px solid var(--border-glass); background: #15151a; }
.company-intro { max-width: 900px; margin: 60px auto; padding: 0 20px; text-align: center; }
.company-intro h2 { font-size: 32px; margin-bottom: 20px; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.company-intro p { font-size: 16px; color: var(--text-sub); line-height: 1.8; margin-bottom: 20px; }

.center-container { display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 20px; }
.form-box { background: var(--bg-card); backdrop-filter: blur(20px); padding: 45px 35px; border-radius: var(--radius-md); width: 100%; max-width: 400px; border: 1px solid var(--border-glass); box-shadow: var(--shadow-glow); }


#detail-view { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 20px 0; text-align: left; }
.detail-header, .player-container, .detail-intro { width: 90%; max-width: 1000px; margin-left: auto; margin-right: auto; }
.detail-header { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 15px; position: relative; z-index: 10; }
.detail-back-btn { background: var(--bg-card); border: 1px solid var(--border-glass); color: var(--text-main); padding: 10px 20px; border-radius: var(--radius-full); cursor: pointer; transition: all 0.3s; }
.detail-back-btn:hover { background: rgba(0, 210, 255, 0.2); border-color: var(--primary); }

.player-container { position: relative; aspect-ratio: 16 / 9; background: #15151a; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-glass); }
.player-container canvas { width: 100%; height: 100%; display: block; }
.player-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 5; }
.player-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 10; backdrop-filter: blur(4px); }
.btn-play-large { width: auto; font-size: 20px; padding: 18px 50px; box-shadow: 0 0 30px rgba(0, 210, 255, 0.4); }
.player-progress-overlay { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); width: 90%; z-index: 20; background: rgba(10, 10, 12, 0.7); padding: 20px; border-radius: var(--radius-md); backdrop-filter: blur(10px); border: 1px solid var(--border-glass); box-sizing: border-box; }
.player-progress-overlay.hidden { display: none; }
.progress-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin: 20px 0; }
.progress-bar-fill { width: 0%; height: 100%; background: var(--primary-gradient); transition: width 0.3s; box-shadow: 0 0 10px var(--primary); }
.progress-info { display: flex; width: 100%; align-items: center; color: var(--text-sub); font-size: 14px; }
.progress-countdown { color: var(--primary); font-size: 18px; font-weight: bold; margin-top: 15px; }
#controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 50; background: rgba(10, 10, 12, 0.6); padding: 12px 24px; border-radius: var(--radius-full); backdrop-filter: blur(15px); border: 1px solid var(--border-glass); }
#controls .btn { border-radius: var(--radius-full); padding: 10px 20px; }
.detail-intro { margin-top: 40px; margin-bottom: 60px; background: transparent; border: none; padding: 0; }
.detail-intro h3 { font-size: 20px; margin-bottom: 15px; color: var(--primary); }
.detail-intro p { color: var(--text-sub); line-height: 1.8; margin-bottom: 10px; }
.detail-intro .meta { font-size: 14px; color: var(--text-muted); }


.admin-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.admin-form { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 30px; }


.mobile-blocker {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.95);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.mobile-blocker h2 { color: var(--primary); margin-bottom: 15px; }
@media (max-width: 1024px) {
    .mobile-blocker { display: flex; }
    .admin-container { display: none; }
}


.precision-block {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.01);
}
.precision-block h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-sub);
}
.precision-block h4 span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
}
.file-upload-box {
    border: 1px dashed var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
}
.file-upload-box:hover { border-color: var(--primary); background: rgba(0, 210, 255, 0.05); }
.file-upload-box.active { border-color: var(--primary); background: rgba(0, 210, 255, 0.1); border-style: solid; }
.file-upload-box input[type="file"] { display: none; }
.file-upload-box label { cursor: pointer; color: var(--primary); font-weight: 500; }
.file-upload-box .file-name { display: block; margin-top: 8px; font-size: 13px; color: var(--text-sub); word-break: break-all; }
.file-upload-box .file-size { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }


.thumbnail-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.thumbnail-row > div {
    flex: 1;
}
.thumbnail-row .thumb-title {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 8px;
}


@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; padding: 15px; }
    .nav-links { width: 100%; justify-content: space-around; }
    .hero h1 { font-size: 32px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); padding: 15px; gap: 15px; }
    .card-img { height: 120px; }
    .card-title { font-size: 15px; }
    .card-body { padding: 15px; }
    .player-container { aspect-ratio: 16 / 9; }
    .player-progress-overlay { width: 90%; bottom: 60px; padding: 15px; }
    .btn-play-large { font-size: 16px; padding: 14px 30px; }
    .progress-info { font-size: 12px; }
    .thumbnail-row { flex-direction: column; }
}


.admin-container { max-width: 1200px !important; } 

.admin-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.admin-left {
    flex: 1;
    min-width: 0; 
}
.admin-right {
    flex: 1.2;
    min-width: 0;
}


.file-upload-box {
    position: relative;
}


.remove-file-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #ff4d4f;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: none; 
    z-index: 10;
    transition: color 0.2s;
}
.remove-file-btn:hover { color: #ff7875; }
.file-upload-box.active .remove-file-btn { display: block; }


@media (max-width: 1024px) {
    .admin-layout { flex-direction: column; }
    .admin-left, .admin-right { width: 100%; flex: none; }
}


.admin-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


.page-content {
    margin-top: 30px; 
}


.admin-layout {
    display: flex;
    gap: 30px;
    align-items: stretch; 
}
.admin-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; 
}
.admin-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-glass); 
    border-radius: var(--radius-sm);
    padding: 20px;
}
.admin-right .form-group {
    flex: 1; 
    display: flex;
    flex-direction: column;
}
.admin-right textarea.form-input {
    flex: 1; 
    min-height: 120px;
}


@media (max-width: 1024px) {
    .admin-layout { flex-direction: column; align-items: stretch; }
}


.player-container {
    position: relative !important;
    overflow: hidden !important;
}
#canvas-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}
#canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

        
        select.form-input {
            background-color: rgba(20, 20, 25, 0.95) !important;
            color: #fff !important;
            border: 1px solid rgba(0, 210, 255, 0.4) !important;
        }
        select.form-input option {
            background-color: #1a1a1a;
            color: #fff;
        }
        
        .save-camera-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 50;
            background: rgba(0, 210, 255, 0.15);
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 8px 16px;
            border-radius: var(--radius-full);
            cursor: pointer;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }
        .save-camera-btn:hover { background: rgba(0, 210, 255, 0.3); }
        .save-camera-btn svg { width: 16px; height: 16px; fill: currentColor; }

        
        #info-overlay {
            position: absolute;
            top: 60px;
            left: 20px;
            z-index: 30;
            background: rgba(10, 10, 12, 0.85);
            border: 1px solid var(--border-glass);
            border-radius: var(--radius-md);
            padding: 18px 22px;
            backdrop-filter: blur(15px);
            color: var(--text-main);
            font-size: 13px;
            line-height: 1.9;
            display: none;
            min-width: 260px;
            max-width: 360px;
        }
        #info-overlay.active { display: block; }
        #info-overlay h4 { margin: 0 0 10px 0; font-size: 14px; color: var(--primary); border-bottom: 1px solid var(--border-glass); padding-bottom: 8px; }
        #info-overlay .info-row { display: flex; justify-content: space-between; gap: 12px; }
        #info-overlay .info-row span:first-child { color: var(--text-sub); flex-shrink: 0; }
        #info-overlay .info-row span:last-child { color: var(--text-main); text-align: right; word-break: break-all; }
        
        
        .player-progress-overlay.badge-mode {
            top: 20px !important;
            right: 20px !important;
            left: auto !important;
            bottom: auto !important;
            transform: none !important;
            width: auto !important;
            max-width: 320px !important;
            padding: 10px 16px !important;
            border-radius: 20px !important;
            background: rgba(10, 10, 12, 0.75) !important;
            font-size: 12px !important;
        }
        .player-progress-overlay.badge-mode .progress-bar-bg,
        .player-progress-overlay.badge-mode .progress-info {
            display: none !important;
        }
        .player-progress-overlay.badge-mode .progress-countdown {
            margin: 0 !important;
            font-size: 13px !important;
            color: var(--primary) !important;
        }
        
        .lod-slider-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        .lod-slider-row input[type="range"] {
            flex: 1;
            -webkit-appearance: none;
            height: 4px;
            background: rgba(255,255,255,0.15);
            border-radius: 2px;
            outline: none;
        }
        .lod-slider-row input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 14px;
            height: 14px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
        }
        .lod-slider-row input[type="range"]::-moz-range-thumb {
            width: 14px;
            height: 14px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }
        .lod-slider-row span {
            font-size: 12px;
            color: var(--primary);
            min-width: 30px;
            text-align: right;
        }
        .lod-slider-row button {
            font-size: 11px;
            padding: 2px 8px;
            background: transparent;
            border: 1px solid var(--border-glass);
            color: var(--text-sub);
            border-radius: 4px;
            cursor: pointer;
        }
        .lod-slider-row button:hover {
            color: var(--primary);
            border-color: var(--primary);
        }
        .lod-slider-row button.active {
            color: var(--primary);
            border-color: var(--primary);
            background: rgba(0, 210, 255, 0.15);
        }

html{background:#0a0e14}



/* ========== home.css（按 body.page-home 隔离） ========== */
html.page-home{ scroll-behavior: smooth; }
body.page-home .home-sec{ padding: 96px 24px; position: relative; }
body.page-home .home-sec-wrap{ max-width: 1200px; margin: 0 auto; }
body.page-home .home-sec-head{ text-align: center; margin-bottom: 56px; }
body.page-home .home-sec-head .home-tag{ margin-bottom: 18px; }
body.page-home .home-sec-head h2{
    font-size: 34px; font-weight: 700; letter-spacing: 2px; line-height: 1.4;
    background: var(--primary-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
body.page-home .home-sec-head p{ margin-top: 14px; font-size: 16px; color: var(--text-sub); }
body.page-home .home-tag{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px; border-radius: var(--radius-full);
    font-size: 13px; letter-spacing: 2px; color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
}
body.page-home .home-tag::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
body.page-home .home-hero{
    position: relative; overflow: hidden;
    min-height: clamp(600px, 92vh, 920px);
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--border-glass);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 210, 255, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 90%, rgba(58, 123, 213, 0.12) 0%, transparent 60%),
        var(--bg-dark);
}
body.page-home .home-hero-canvas{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
body.page-home .home-hero-inner{
    position: relative; z-index: 2; text-align: center;
    max-width: 960px; padding: 120px 24px 100px;
}
body.page-home .home-eyebrow{
    display: inline-block; letter-spacing: 5px; font-size: 13px;
    color: var(--primary); margin-bottom: 26px;
}
body.page-home .home-title{
    font-size: clamp(38px, 6.4vw, 72px); font-weight: 700; line-height: 1.25;
    letter-spacing: 4px; margin: 0 0 22px;
    background: linear-gradient(135deg, #ffffff 0%, #9fe8ff 45%, #3a7bd5 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: 0 0 60px rgba(0, 210, 255, 0.25);
}
body.page-home .home-sub{
    font-size: 17px; line-height: 2; color: var(--text-sub);
    max-width: 720px; margin: 0 auto 40px;
}
body.page-home .home-cta{ display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
body.page-home .home-cta .btn{ border-radius: var(--radius-full); padding: 15px 38px; font-size: 16px; width: auto; }
body.page-home .home-cta .btn-primary{ background: var(--primary-gradient); box-shadow: 0 6px 24px rgba(0, 210, 255, 0.35); }
body.page-home .home-cta .btn-ghost, body.page-home .home-cta-row .btn-ghost{ background: rgba(0, 210, 255, 0.06); border: 1px solid rgba(0, 210, 255, 0.45); color: var(--primary); }
body.page-home .home-cta .btn-ghost:hover, body.page-home .home-cta-row .btn-ghost:hover{ background: rgba(0, 210, 255, 0.16); box-shadow: 0 0 24px rgba(0, 210, 255, 0.25); }
body.page-home .home-pills{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
body.page-home .home-pill{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; font-size: 13px; color: var(--text-sub);
    border: 1px solid var(--border-glass); border-radius: var(--radius-full);
    background: var(--bg-card); backdrop-filter: blur(8px);
}
body.page-home .home-pill .ic{ color: var(--primary); }
body.page-home .home-scroll{
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12px; letter-spacing: 2px; z-index: 2;
}
body.page-home .home-scroll .ic{ animation: home-bob 1.8s ease-in-out infinite; }
@keyframes home-bob{ 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }
body.page-home .ic{ width: 20px; height: 20px; flex: none; vertical-align: -4px; }
body.page-home .home-stats{ border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); background: rgba(255, 255, 255, 0.015); }
body.page-home .home-stats-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
body.page-home .home-stat{ text-align: center; padding: 40px 18px; border-right: 1px solid var(--border-glass); }
body.page-home .home-stat:last-child{ border-right: none; }
body.page-home .home-stat-num{
    font-size: 40px; font-weight: 700; line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
body.page-home .home-stat-num small{ font-size: 18px; letter-spacing: 1px; }
body.page-home .home-stat-label{ margin-top: 8px; font-size: 15px; color: var(--text-main); font-weight: 600; }
body.page-home .home-stat-desc{ margin-top: 6px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
body.page-home .home-about-grid{ display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
body.page-home .home-about-main h2{
    font-size: 30px; font-weight: 700; line-height: 1.5; margin-bottom: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
body.page-home .home-about-main p{ color: var(--text-sub); font-size: 15.5px; line-height: 2; margin-bottom: 16px; }
body.page-home .home-about-side{ display: flex; flex-direction: column; gap: 18px; }
body.page-home .home-value{
    display: flex; gap: 16px; padding: 22px 24px;
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(10px);
    transition: border-color .3s, transform .3s;
}
body.page-home .home-value:hover{ border-color: rgba(0, 210, 255, 0.35); transform: translateX(6px); }
body.page-home .home-value .ic{ color: var(--primary); margin-top: 3px; }
body.page-home .home-value h3{ font-size: 16px; font-weight: 600; margin-bottom: 6px; }
body.page-home .home-value p{ font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }
body.page-home .home-mission{
    margin: 22px 0; padding: 18px 22px;
    background: rgba(0, 210, 255, 0.05);
    border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
body.page-home .home-mission-t{ font-size: 12.5px; letter-spacing: 2px; color: var(--primary); margin-bottom: 8px; }
body.page-home .home-mission p{ margin-bottom: 0 !important; font-size: 16px !important; color: var(--text-main) !important; line-height: 1.9 !important; }
body.page-home .home-about-main p b{ color: var(--text-main); }
body.page-home .home-values-card{ padding: 26px 26px 20px; }
body.page-home .home-values-card h3{ font-size: 17px; }
body.page-home .home-value-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
body.page-home .home-value-chip{
    padding: 16px 12px; text-align: center;
    background: rgba(0, 210, 255, 0.04); border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm); transition: border-color .3s, transform .3s;
}
body.page-home .home-value-chip:hover{ border-color: rgba(0, 210, 255, 0.4); transform: translateY(-3px); }
body.page-home .home-value-chip b{
    display: block; font-size: 26px; font-weight: 700; line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
body.page-home .home-value-chip span{ display: block; margin-top: 6px; font-size: 13px; color: var(--text-main); font-weight: 600; }
body.page-home .home-value-chip em{ display: block; margin-top: 8px; font-style: normal; font-size: 11.5px; color: var(--text-muted); line-height: 1.7; }
body.page-home .home-tech-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.page-home .home-tech-card{
    position: relative; overflow: hidden; padding: 34px 30px 30px;
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(12px);
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
body.page-home .home-tech-card::before{
    content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: var(--primary-gradient); opacity: 0; transition: opacity .35s;
}
body.page-home .home-tech-card:hover{ transform: translateY(-8px); border-color: rgba(0, 210, 255, 0.35); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 26px rgba(0, 210, 255, 0.12); }
body.page-home .home-tech-card:hover::before{ opacity: 1; }
body.page-home .home-tech-icon{
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; margin-bottom: 22px;
    background: rgba(0, 210, 255, 0.1); border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 24px rgba(0, 210, 255, 0.18);
}
body.page-home .home-tech-icon .ic{ width: 26px; height: 26px; color: var(--primary); }
body.page-home .home-tech-card h3{ font-size: 19px; font-weight: 600; margin-bottom: 12px; }
body.page-home .home-tech-card h3 small{ display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-muted); font-weight: 400; letter-spacing: 1px; }
body.page-home .home-tech-card p{ font-size: 14px; color: var(--text-sub); line-height: 1.9; }
body.page-home .home-tech-card .home-formula{
    margin-top: 16px; padding: 10px 14px; font-size: 12.5px; line-height: 1.7;
    color: var(--text-sub); background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(0, 210, 255, 0.25); border-radius: var(--radius-sm);
    font-family: Consolas, "Courier New", monospace; word-break: break-all;
}
body.page-home .home-cap-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.page-home .home-cap-card{
    padding: 30px 28px; background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(10px);
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
body.page-home .home-cap-card:hover{ transform: translateY(-6px); border-color: rgba(0, 210, 255, 0.35); box-shadow: var(--shadow-glow), 0 12px 30px rgba(0, 0, 0, 0.45); }
body.page-home .home-cap-icon{
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; margin-bottom: 18px;
    background: rgba(0, 210, 255, 0.08); border: 1px solid rgba(0, 210, 255, 0.22);
}
body.page-home .home-cap-icon .ic{ width: 22px; height: 22px; color: var(--primary); }
body.page-home .home-cap-card h3{ font-size: 17px; font-weight: 600; margin-bottom: 10px; }
body.page-home .home-cap-card p{ font-size: 13.5px; color: var(--text-sub); line-height: 1.85; }
body.page-home .home-scene-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.page-home .home-scene-card{
    display: flex; gap: 18px; padding: 26px 24px;
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(10px);
    transition: transform .35s, border-color .35s;
}
body.page-home .home-scene-card:hover{ transform: translateY(-6px); border-color: rgba(0, 210, 255, 0.35); }
body.page-home .home-scene-icon{
    width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(58, 123, 213, 0.12); border: 1px solid rgba(58, 123, 213, 0.3);
}
body.page-home .home-scene-icon .ic{ width: 22px; height: 22px; color: #7ab8ff; }
body.page-home .home-scene-card h3{ font-size: 16px; font-weight: 600; margin-bottom: 8px; }
body.page-home .home-scene-card p{ font-size: 13px; color: var(--text-sub); line-height: 1.8; }
body.page-home .home-soc-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
body.page-home .home-soc-card{
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 28px 16px 24px; text-align: center;
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(10px);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
body.page-home .home-soc-card:hover{ transform: translateY(-6px); border-color: rgba(0, 210, 255, 0.4); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 210, 255, 0.1); }
body.page-home .soc-icon{
    width: 30px; height: 30px; display: block;
    background-color: #b9c6d4;
    -webkit-mask: var(--soc-mask) center / contain no-repeat;
    mask: var(--soc-mask) center / contain no-repeat;
    transition: background-color .3s, transform .3s;
}
body.page-home .home-soc-card:hover .soc-icon{ transform: scale(1.12); background-color: var(--soc-color, var(--primary)); }
body.page-home .home-soc-name{ font-size: 15px; font-weight: 600; color: var(--text-main); }
body.page-home .home-soc-desc{ font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }
body.page-home .soc-douyin{ --soc-mask: url(../icons/douyin.svg);     --soc-color: #25f4ee; }
body.page-home .soc-xiaohongshu{ --soc-mask: url(../icons/xiaohongshu.svg);--soc-color: #ff2442; }
body.page-home .soc-bilibili{ --soc-mask: url(../icons/bilibili.svg);   --soc-color: #fb7299; }
body.page-home .soc-wechat{ --soc-mask: url(../icons/wechat.svg);     --soc-color: #07c160; }
body.page-home .home-contact-grid{ display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
body.page-home .home-card{
    padding: 36px 34px; background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); backdrop-filter: blur(12px);
}
body.page-home .home-card h3{ font-size: 20px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
body.page-home .home-card h3 .ic{ color: var(--primary); }
body.page-home .home-coop-list{ list-style: none; }
body.page-home .home-coop-list li{
    display: flex; align-items: flex-start; gap: 12px;
    padding: 13px 0; border-bottom: 1px solid var(--border-glass);
    font-size: 14.5px; color: var(--text-sub);
}
body.page-home .home-coop-list li:last-child{ border-bottom: none; }
body.page-home .home-coop-list .ic{ color: var(--primary); margin-top: 2px; width: 17px; height: 17px; }
body.page-home .home-coop-list b{ color: var(--text-main); font-weight: 600; }
body.page-home .home-contact-list{ display: flex; flex-direction: column; gap: 16px; }
body.page-home .home-contact-item{
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px; background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
}
body.page-home .home-contact-item .ic{ color: var(--primary); margin-top: 2px; }
body.page-home .home-contact-list .t{ font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }
body.page-home .home-contact-list .v{ font-size: 15px; color: var(--text-main); word-break: break-all; }
body.page-home .home-qr{
    display: flex; gap: 18px; align-items: center; padding: 18px;
    background: rgba(255, 255, 255, 0.02); border: 1px dashed rgba(0, 210, 255, 0.28);
    border-radius: var(--radius-sm); margin-top: 4px;
}
body.page-home .home-qr-box{
    width: 110px; height: 110px; flex: none; display: flex; flex-direction: column; gap: 6px;
    align-items: center; justify-content: center; text-align: center;
    background: rgba(255, 255, 255, 0.04); border-radius: var(--radius-sm);
    color: var(--text-muted); font-size: 11.5px; line-height: 1.6;
}
body.page-home .home-qr-box .ic{ width: 26px; height: 26px; color: rgba(0, 210, 255, 0.5); }
body.page-home .home-flow{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; }
body.page-home .home-flow-step{ position: relative; text-align: center; padding: 0 14px; }
body.page-home .home-flow-step::after{
    content: ""; position: absolute; top: 22px; left: calc(50% + 34px); width: calc(100% - 68px); height: 1px;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.4), rgba(0, 210, 255, 0.08));
}
body.page-home .home-flow-step:last-child::after{ display: none; }
body.page-home .home-flow-dot{
    width: 44px; height: 44px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(0, 210, 255, 0.1); border: 1px solid rgba(0, 210, 255, 0.35);
}
body.page-home .home-flow-dot .ic{ color: var(--primary); }
body.page-home .home-flow-step h4{ font-size: 15px; font-weight: 600; margin-bottom: 6px; }
body.page-home .home-flow-step p{ font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }
body.page-home .home-cta-row{ text-align: center; margin-top: 44px; }
body.page-home .home-cta-row .btn{ width: auto; min-width: 220px; border-radius: var(--radius-full); font-size: 16px; padding: 15px 44px; }
body.page-home .home-footer{
    margin-top: 40px; padding: 60px 24px 36px;
    border-top: 1px solid var(--border-glass);
    background: linear-gradient(180deg, rgba(0, 210, 255, 0.03) 0%, transparent 100%);
    text-align: center;
}
body.page-home .home-footer-brand{ font-size: 22px; font-weight: 700; letter-spacing: 3px; background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
body.page-home .home-footer-slogan{ margin-top: 10px; font-size: 14px; letter-spacing: 2px; color: var(--text-sub); }
body.page-home .home-footer-links{ margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; }
body.page-home .home-footer-links a{ color: var(--text-muted); font-size: 14px; }
body.page-home .home-footer-links a:hover{ color: var(--primary); }
body.page-home .home-footer-meta{ margin-top: 30px; font-size: 12.5px; color: var(--text-muted); line-height: 2; }
@media (max-width: 1024px){
body.page-home .home-sec{ padding: 72px 20px; }
body.page-home .home-stats-grid{ grid-template-columns: repeat(2, 1fr); }
body.page-home .home-stat:nth-child(2){ border-right: none; }
body.page-home .home-stat:nth-child(-n+2){ border-bottom: 1px solid var(--border-glass); }
body.page-home .home-about-grid{ grid-template-columns: 1fr; gap: 36px; }
body.page-home .home-tech-grid, body.page-home .home-cap-grid, body.page-home .home-scene-grid{ grid-template-columns: repeat(2, 1fr); }
body.page-home .home-soc-grid{ grid-template-columns: repeat(2, 1fr); }
body.page-home .home-contact-grid{ grid-template-columns: 1fr; }
body.page-home .home-flow{ grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
body.page-home .home-flow-step:nth-child(2)::after{ display: none; }
}
@media (max-width: 640px){
body.page-home .home-sec{ padding: 56px 16px; }
body.page-home .home-sec-head h2{ font-size: 26px; }
body.page-home .home-value-grid{ grid-template-columns: repeat(2, 1fr); }
body.page-home .home-hero-inner{ padding: 90px 16px 80px; }
body.page-home .home-eyebrow{ letter-spacing: 3px; font-size: 12px; }
body.page-home .home-sub{ font-size: 15px; }
body.page-home .home-cta{ flex-direction: column; align-items: center; }
body.page-home .home-cta .btn{ width: min(320px, 86vw); }
body.page-home .home-pills{ gap: 8px; }
body.page-home .home-pill{ padding: 6px 14px; font-size: 12px; }
body.page-home .home-stats-grid{ grid-template-columns: 1fr 1fr; gap: 0; }
body.page-home .home-stat{ padding: 26px 12px; }
body.page-home .home-stat-num{ font-size: 30px; }
body.page-home .home-stat-num small{ font-size: 14px; }
body.page-home .home-tech-grid, body.page-home .home-cap-grid, body.page-home .home-scene-grid{ grid-template-columns: 1fr; }
body.page-home .home-soc-grid{ grid-template-columns: repeat(2, 1fr); }
body.page-home .home-flow{ grid-template-columns: 1fr; }
body.page-home .home-flow-step::after{ display: none; }
body.page-home .home-card{ padding: 26px 20px; }
body.page-home .home-scroll{ display: none; }
}
body.page-home .home-title .ht-seg{ display: inline-block; white-space: nowrap; }
body.page-home .home-title .ht-seg + .ht-seg{ margin-left: 0.4em; }
@media (max-width: 480px){
body.page-home .home-title{ font-size: clamp(22px, 8.4vw, 32px); line-height: 1.3; }
}

/* ===== 2026-11-18：官方平台矩阵 / 商务合作 统一按钮（透明底 + 青色描边） ===== */
body.page-home .home-link-btn{
    display: inline-flex; align-items: center; justify-content: center;
    padding: 7px 18px; border-radius: 999px;
    background: transparent; border: 1px solid rgba(0, 210, 255, 0.55);
    color: #00d2ff; font-size: 12px; line-height: 1.4; letter-spacing: 0.06em;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease,
                transform .18s ease, box-shadow .2s ease;
}
body.page-home .home-soc-card .home-link-btn{ margin-top: 4px; }
body.page-home .home-link-btn:hover,
body.page-home .home-soc-card:hover .home-link-btn,
body.page-home .home-soc-card:focus-visible .home-link-btn{
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.92);
    color: #8eeaff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.16);
}
body.page-home .home-link-btn:active,
body.page-home .home-soc-card:active .home-link-btn{
    background: rgba(0, 210, 255, 0.07);
    border-color: rgba(0, 210, 255, 0.72);
    color: #00d2ff;
    transform: translateY(0);
    box-shadow: none;
}
body.page-home .home-cta-row .home-link-btn{
    min-width: 220px; padding: 14px 40px; font-size: 15px;
}

/* ===== 2026-11-18：首页页脚社交图标（官方图形 / hover 品牌色 / 下方小字） ===== */
body.page-home .lfv-footer-social{
    gap: 6px; padding-bottom: 13px; align-items: flex-start; overflow: visible;
}
body.page-home .lfv-home-soc{
    position: relative; width: 34px; height: 34px; flex: 0 0 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: #8b93a3; border-radius: 8px;
    transition: color .2s ease, background-color .2s ease;
}
body.page-home .lfv-home-soc:hover,
body.page-home .lfv-home-soc:focus-visible{
    background: transparent; color: var(--brand, #00d2ff); outline: none;
}
body.page-home .lfv-home-soc .lfv-footer-ico{
    display: block; width: 22px; height: 22px;
    transform-origin: 50% 50%;
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), color .2s ease;
}
body.page-home .lfv-home-soc[data-platform="xiaohongshu"] .lfv-footer-ico{ width: 30px; height: 30px; }
body.page-home .lfv-home-soc[data-platform="channels"] .lfv-footer-ico{ width: 23px; height: 23px; }
body.page-home .lfv-home-soc:hover .lfv-footer-ico,
body.page-home .lfv-home-soc:focus-visible .lfv-footer-ico{
    transform: translateY(-2px) scale(0.85);
}
body.page-home .lfv-home-soc::after{
    content: attr(data-label);
    position: absolute; left: 50%; top: calc(100% + 1px);
    transform: translateX(-50%);
    font-size: 10px; line-height: 1.2; letter-spacing: 0.02em;
    color: #7c899b; white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .18s ease, color .18s ease;
}
body.page-home .lfv-home-soc:hover::after,
body.page-home .lfv-home-soc:focus-visible::after{
    opacity: 1; color: var(--brand, #00d2ff);
}
body.page-home .lfv-home-soc[data-platform="douyin"]{ --brand: #25f4ee; }
body.page-home .lfv-home-soc[data-platform="xiaohongshu"]{ --brand: #ff2442; }
body.page-home .lfv-home-soc[data-platform="bilibili"]{ --brand: #fb7299; }
body.page-home .lfv-home-soc[data-platform="channels"]{ --brand: #fa9d3b; }
body.page-home .lfv-home-soc[data-platform="wechat"]{ --brand: #07c160; }
body.page-home .lfv-home-soc[data-platform="mail"]{ --brand: #6ecbff; }
@media (max-width: 640px){
    body.page-home .lfv-footer-social{ flex-wrap: wrap; overflow: visible; row-gap: 4px; }
}


/* ===== 2026-11-18：关于光域右栏「核心价值观 4 列（与旧版一致）+ 三张价值卡横排」，
   让三张卡的图标在同一行对齐，右栏高度与左栏基本齐平 ===== */
body.page-home .home-about-side{
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px; align-content: start;
}
body.page-home .home-values-card{ grid-column: 1 / -1; }
body.page-home .home-value{
    flex-direction: column; gap: 10px; padding: 18px 16px; align-items: flex-start;
}
body.page-home .home-value .ic{ margin-top: 0; }
body.page-home .home-value:hover{ transform: translateY(-3px); }
@media (max-width: 640px){
    body.page-home .home-about-side{ grid-template-columns: 1fr; }
    body.page-home .home-value{
        flex-direction: row; gap: 16px; padding: 22px 24px; align-items: flex-start;
    }
    body.page-home .home-value .ic{ margin-top: 3px; }
    body.page-home .home-value:hover{ transform: translateX(6px); }
}

html.page-home{background:#0a0e14}


/* ========== doc.css（按 body.page-doc 隔离） ========== */
:root{
  --doc-bg:#0a0e14;
  --doc-bg-card:#111823;
  --doc-border:rgba(255,255,255,.08);
  --doc-text:#c7d6e8;
  --doc-text-dim:#8b93a3;
  --doc-accent:#00d2ff;
  --doc-radius:12px;
  --doc-maxw:860px;
  --doc-bar-h:52px;
  --doc-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono","Courier New",monospace;
}
body.page-doc *{box-sizing:border-box}
html.page-doc{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--doc-bar-h) + 16px);
  -webkit-text-size-adjust:100%;
}
@media (prefers-reduced-motion:reduce){
html.page-doc{scroll-behavior:auto}
}
body.page-doc{
  margin:0;min-height:100vh;
  display:flex;flex-direction:column;
  background-color:var(--doc-bg);
  background-image:radial-gradient(circle at 50% -8%,rgba(0,210,255,.07) 0%,rgba(0,210,255,0) 55%);
  background-repeat:no-repeat;
  color:var(--doc-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;
  font-size:14px;line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
body.page-doc a{color:var(--doc-accent);text-decoration:none}
body.page-doc a:hover{color:#7fe9ff}
body.page-doc :focus-visible{outline:2px solid var(--doc-accent);outline-offset:2px;border-radius:4px}
body.page-doc .doc-topbar{
  position:sticky;top:0;z-index:100;
  flex:0 0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  height:var(--doc-bar-h);
  
  padding-left:max(20px, calc((100% - var(--doc-maxw)) / 2 + 20px));
  padding-right:max(20px, calc((100% - var(--doc-maxw)) / 2 + 20px));
  background:rgba(10,14,20,.86);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  backdrop-filter:blur(12px) saturate(140%);
  border-bottom:1px solid var(--doc-border);
  font-size:13px;
}
body.page-doc .doc-topbar .back{
  display:inline-flex;align-items:center;gap:6px;
  min-width:0;max-width:56%;
  padding:6px 13px;border-radius:999px;
  border:1px solid var(--doc-border);
  background:rgba(255,255,255,.03);
  color:var(--doc-text-dim);
  line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:color .2s,border-color .2s,background .2s;
}
body.page-doc .doc-topbar .back:hover, body.page-doc .doc-topbar .back:focus-visible{
  color:#fff;border-color:rgba(0,210,255,.38);background:rgba(0,210,255,.07);
}
body.page-doc .doc-topbar .links{
  display:flex;align-items:center;gap:16px;
  color:var(--doc-text-dim);white-space:nowrap;
}
body.page-doc .doc-topbar .links a{color:var(--doc-text-dim);transition:color .2s}
body.page-doc .doc-topbar .links a:hover{color:var(--doc-accent)}
body.page-doc .doc-wrap{
  width:100%;max-width:var(--doc-maxw);
  margin:0 auto;padding:30px 20px 10px;
  flex:1 0 auto;min-width:0;
}
body.page-doc .doc-title{
  margin:0 0 10px;font-size:28px;line-height:1.32;font-weight:600;
  color:#fff;letter-spacing:.02em;
}
body.page-doc .doc-lead{
  margin:0 0 10px;font-size:15px;line-height:1.7;color:var(--doc-text-dim);
}
body.page-doc .doc-meta{
  display:flex;flex-wrap:wrap;gap:4px 18px;
  margin:0 0 22px;font-size:12px;line-height:1.7;color:var(--doc-text-dim);
}
body.page-doc .doc-meta b{color:#aab6c8;font-weight:500}
body.page-doc .doc-meta .doc-badge{margin-left:2px}
body.page-doc .doc-title .doc-badge{margin-left:10px;transform:translateY(-1px)}
body.page-doc .doc-badge[hidden]{display:none}
body.page-doc .doc-step-t h2{margin-bottom:2px}
body.page-doc .doc-body{min-width:0}
body.page-doc .doc-section{
  background:var(--doc-bg-card);
  border:1px solid var(--doc-border);
  border-radius:var(--doc-radius);
  padding:20px;
  margin:0 0 16px;
  min-width:0;
  overflow-wrap:break-word;
}
body.page-doc .doc-section:last-child{margin-bottom:0}
body.page-doc .doc-section--accent{
  border-color:rgba(0,210,255,.26);
  box-shadow:inset 2px 0 0 rgba(0,210,255,.55);
}
body.page-doc .doc-section--warn{
  border-color:rgba(255,170,90,.32);
  box-shadow:inset 2px 0 0 rgba(255,170,90,.55);
}
body.page-doc .doc-section h2{
  margin:0 0 10px;font-size:18px;line-height:1.45;
  color:var(--doc-accent);font-weight:600;letter-spacing:.01em;
  scroll-margin-top:calc(var(--doc-bar-h) + 16px);
}
body.page-doc .doc-section.doc-section--warn h2{color:#ffc48a}
body.page-doc .doc-section h3{
  margin:18px 0 6px;font-size:15px;line-height:1.5;
  color:#e7f1fb;font-weight:600;
}
body.page-doc .doc-section h2:first-child, body.page-doc .doc-section h3:first-child{margin-top:0}
body.page-doc .doc-section h4{
  margin:14px 0 5px;font-size:13.5px;color:#dbe7f4;font-weight:600;
}
body.page-doc .doc-section p{
  margin:8px 0;font-size:14px;line-height:1.75;color:var(--doc-text);
}
body.page-doc .doc-section p:first-child{margin-top:0}
body.page-doc .doc-section p:last-child{margin-bottom:0}
body.page-doc .doc-section ul, body.page-doc .doc-section ol{
  margin:8px 0;padding-left:20px;
  font-size:14px;line-height:1.8;color:var(--doc-text);
}
body.page-doc .doc-section ul{list-style:none}
body.page-doc .doc-section ul > li{position:relative;margin:4px 0}
body.page-doc .doc-section ul > li::before{
  content:"";position:absolute;left:-13px;top:.78em;
  width:5px;height:5px;border-radius:50%;
  background:var(--doc-accent);opacity:.65;
}
body.page-doc .doc-section ol{list-style:decimal}
body.page-doc .doc-section ol > li{margin:4px 0}
body.page-doc .doc-section ol > li::marker{color:var(--doc-accent);font-variant-numeric:tabular-nums}
body.page-doc .doc-section li > ul, body.page-doc .doc-section li > ol{margin:3px 0 3px 0}
body.page-doc .doc-section li b, body.page-doc .doc-section p b, body.page-doc .doc-section li strong{color:#eaf3ff;font-weight:600}
body.page-doc .doc-section code{
  font-family:var(--doc-mono);font-size:.92em;line-height:1.5;
  color:#bfe9ff;background:rgba(255,255,255,.06);
  border:1px solid var(--doc-border);border-radius:4px;
  padding:1px 5px;
  word-break:normal;overflow-wrap:anywhere;
}
body.page-doc .doc-section pre{
  margin:12px 0;padding:14px 16px;
  background:#0b1015;border:1px solid var(--doc-border);border-radius:10px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  font-family:var(--doc-mono);font-size:12.5px;line-height:1.65;color:#cfe6f5;
}
body.page-doc .doc-section pre code{
  background:none;border:0;padding:0;color:inherit;
  font-size:inherit;white-space:pre;
}
body.page-doc .doc-section table{
  width:100%;border-collapse:collapse;
  margin:12px 0;font-size:13.5px;line-height:1.6;
}
body.page-doc .doc-section th, body.page-doc .doc-section td{
  border:1px solid var(--doc-border);
  padding:8px 10px;text-align:left;vertical-align:top;
  overflow-wrap:break-word;
}
body.page-doc .doc-section th{
  background:rgba(255,255,255,.05);color:#eaf3ff;font-weight:600;white-space:nowrap;
}
body.page-doc .doc-section tbody tr:nth-child(even){background:rgba(255,255,255,.022)}
body.page-doc .doc-table{overflow-x:auto;margin:12px 0;-webkit-overflow-scrolling:touch}
body.page-doc .doc-table table{margin:0;min-width:100%}
body.page-doc .doc-section blockquote{
  margin:12px 0;padding:10px 16px;
  border-left:3px solid rgba(0,210,255,.5);
  background:rgba(0,210,255,.05);
  border-radius:0 8px 8px 0;
  color:var(--doc-text-dim);font-size:13.5px;
}
body.page-doc .doc-section blockquote p:first-child{margin-top:0}
body.page-doc .doc-section blockquote p:last-child{margin-bottom:0}
body.page-doc .doc-note{
  margin:12px 0;padding:10px 14px;
  border-left:3px solid var(--doc-border);
  border-radius:0 8px 8px 0;
  background:rgba(255,255,255,.035);
  font-size:13px;line-height:1.75;color:var(--doc-text);
}
body.page-doc .doc-note p{margin:4px 0}
body.page-doc .doc-note p:first-child{margin-top:0}
body.page-doc .doc-note p:last-child{margin-bottom:0}
body.page-doc .doc-note.info{border-left-color:var(--doc-accent);background:rgba(0,210,255,.06);color:#cfe6f5}
body.page-doc .doc-note.warn{border-left-color:#ffaa5a;background:rgba(255,170,90,.07);color:#ffd9b0}
body.page-doc .doc-note.danger{border-left-color:#ff6b6b;background:rgba(255,90,90,.07);color:#ffc9c9}
body.page-doc .doc-note b{color:#fff;font-weight:600}
body.page-doc .doc-toc{display:none}
@media (min-width:1340px){
body.page-doc .doc-toc{
    display:block;
    position:fixed;top:calc(var(--doc-bar-h) + 26px);
    right:max(20px,calc(50% - 662px));
    width:200px;max-height:calc(100vh - var(--doc-bar-h) - 60px);
    overflow:auto;padding:2px 0 2px 14px;
    border-left:1px solid var(--doc-border);
    font-size:12.5px;line-height:1.5;color:var(--doc-text-dim);
    scrollbar-width:thin;
  }
body.page-doc .doc-toc:empty{display:none}
body.page-doc .doc-toc .doc-toc-t{
    display:block;margin:0 0 6px -14px;padding-left:14px;
    font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#5f6a7a;
  }
body.page-doc .doc-toc a{
    display:block;padding:5px 8px;
    border-left:2px solid transparent;margin-left:-1px;
    color:var(--doc-text-dim);
    line-height:1.45;
    white-space:normal;overflow-wrap:anywhere;
    transition:color .15s,border-color .15s,background .15s;
  }
body.page-doc .doc-toc a:hover{color:#fff;border-left-color:rgba(0,210,255,.5)}
body.page-doc .doc-toc a.is-active{
    color:var(--doc-accent);border-left-color:var(--doc-accent);
    background:rgba(0,210,255,.06);
  }
}
body.page-doc .doc-foot{
  flex:0 0 auto;
  width:100%;max-width:var(--doc-maxw);
  margin:26px auto 0;padding:16px 20px 30px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:8px 18px;
  border-top:1px solid var(--doc-border);
  font-size:12px;line-height:1.7;color:#6a7382;
}
body.page-doc .doc-foot a{color:var(--doc-text-dim)}
body.page-doc .doc-foot a:hover{color:var(--doc-accent)}
body.page-doc .doc-foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
body.page-doc .doc-foot-copy{color:#5f6877}
body.page-doc .doc-soon{
  display:inline-flex;align-items:center;
  padding:1px 9px;border-radius:999px;
  border:1px dashed rgba(255,255,255,.14);color:#5f6877;
  font-size:11.5px;cursor:not-allowed;
}
body.page-doc .doc-anchor{
  margin-left:8px;
  font-weight:400;font-size:.82em;
  color:rgba(0,210,255,.55);
  opacity:0;transition:opacity .15s,color .15s;
  vertical-align:middle;
}
body.page-doc .doc-section h2:hover .doc-anchor, body.page-doc .doc-section h3:hover .doc-anchor, body.page-doc .doc-anchor:focus-visible{opacity:1}
body.page-doc .doc-anchor:hover{color:var(--doc-accent)}
body.page-doc .doc-badge{
  display:inline-block;vertical-align:middle;
  font-size:11px;font-weight:700;letter-spacing:.04em;
  color:#04121a;background:var(--doc-accent);
  border-radius:999px;padding:1px 9px;
}
body.page-doc .doc-dim{color:var(--doc-text-dim)}
body.page-doc .doc-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;
}
body.page-doc .doc-box{
  border:1px solid var(--doc-border);border-radius:10px;
  padding:12px 14px;background:rgba(0,0,0,.22);min-width:0;
}
body.page-doc .doc-box h4{margin:0 0 6px;font-size:13px;color:var(--doc-text-dim);font-weight:600}
body.page-doc .doc-box ul{margin:0;padding-left:18px;font-size:12.5px}
body.page-doc .doc-box.no h4{color:#ff9f9f}
body.page-doc .doc-box.yes h4{color:#8ff0c8}
body.page-doc .doc-tag{
  display:inline-block;vertical-align:middle;
  font-size:11.5px;border-radius:6px;padding:1px 7px;margin-right:6px;
  border:1px solid var(--doc-border);color:var(--doc-text-dim);
  background:rgba(0,0,0,.25);
}
body.page-doc .doc-tag.no{color:#ff9f9f;border-color:rgba(255,120,120,.35)}
body.page-doc .doc-tag.yes{color:#8ff0c8;border-color:rgba(80,220,160,.35)}
body.page-doc .doc-step-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:4px}
body.page-doc .doc-step-no{
  flex:0 0 auto;font-size:23px;line-height:1.2;font-weight:600;
  color:var(--doc-accent);text-shadow:0 0 18px rgba(0,210,255,.35);
  font-variant-numeric:tabular-nums;
}
body.page-doc .doc-step-t{min-width:0}
body.page-doc .doc-step-sub{margin:3px 0 0;font-size:12.5px;color:var(--doc-text-dim);line-height:1.6}
body.page-doc .doc-sub{
  border:1px solid var(--doc-border);border-radius:10px;
  background:rgba(0,0,0,.24);
  padding:14px 16px 13px;margin:12px 0 0;min-width:0;
}
body.page-doc .doc-sub:last-child{margin-bottom:0}
body.page-doc .doc-sub-h{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:9px}
body.page-doc .doc-sub-n{font-size:14px;font-weight:600;color:#fff;letter-spacing:.02em}
body.page-doc .doc-chip{
  font-size:10.5px;line-height:1.75;letter-spacing:.04em;font-weight:700;
  color:#04121a;background:var(--doc-accent);border-radius:999px;padding:0 9px;
}
body.page-doc .doc-chip.ghost{
  color:#8ff0c8;background:transparent;
  border:1px solid rgba(80,220,160,.35);font-weight:600;
}
body.page-doc .doc-urls{display:flex;flex-direction:column;gap:8px}
body.page-doc .doc-url{
  font-family:var(--doc-mono);font-size:12.5px;line-height:1.7;color:#bfe9ff;
  background:#0b1015;border:1px solid var(--doc-border);
  border-left:2px solid rgba(0,210,255,.55);
  border-radius:8px;padding:9px 12px;
  word-break:break-all;overflow-wrap:anywhere;
}
body.page-doc .doc-url a{color:#bfe9ff;border-bottom:1px dotted rgba(0,210,255,.35)}
body.page-doc .doc-url a:hover{color:#fff;border-bottom-color:var(--doc-accent)}
body.page-doc .doc-url-tag{
  font-size:10.5px;color:var(--doc-text-dim);
  border:1px solid var(--doc-border);border-radius:5px;
  padding:0 6px;margin-left:6px;letter-spacing:.04em;white-space:nowrap;
}
body.page-doc .doc-examples{margin:11px 0 0}
body.page-doc .doc-ex-h{font-size:12px;color:var(--doc-text-dim);margin:0 0 3px}
body.page-doc .doc-ex{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;
  font-size:12.5px;padding:3px 0;
  border-bottom:1px dashed rgba(255,255,255,.055);
}
body.page-doc .doc-ex:last-child{border-bottom:0}
body.page-doc .doc-ex-k{font-family:var(--doc-mono);color:var(--doc-text-dim);white-space:nowrap}
body.page-doc .doc-ex-a{color:#5f6877}
body.page-doc .doc-ex-v{font-family:var(--doc-mono);color:#bfe9ff;word-break:break-all;overflow-wrap:anywhere}
body.page-doc .doc-ex-v a{color:inherit;border-bottom:1px dotted rgba(0,210,255,.3)}
body.page-doc .doc-ex-v a:hover{color:#fff}
body.page-doc .doc-kv{display:flex;gap:9px;margin:7px 0 0;font-size:13px;color:var(--doc-text)}
body.page-doc .doc-kv > b{flex:0 0 auto;font-weight:600;color:var(--doc-text-dim)}
body.page-doc .doc-kv.good > b{color:#8ff0c8}
body.page-doc .doc-kv.bad > b{color:#ff9f9f}
body.page-doc .doc-hint{margin:12px 0;font-size:13px;color:var(--doc-text)}
body.page-doc .doc-note-sm{margin:10px 0 0;font-size:12.5px;line-height:1.75;color:var(--doc-text-dim)}
body.page-doc .doc-note-sm b{color:#aab6c8;font-weight:600}
body.page-doc .doc-order{margin:0 0 16px;font-size:13px}
@media (max-width:768px){
:root{--doc-bar-h:44px}
body.page-doc{font-size:13.5px}
body.page-doc .doc-topbar{height:44px;gap:8px;font-size:12.5px;
    padding-left:max(12px, calc((100% - var(--doc-maxw)) / 2 + 12px));
    padding-right:max(12px, calc((100% - var(--doc-maxw)) / 2 + 12px))}
body.page-doc .doc-topbar .back{max-width:58%;padding:5px 11px;font-size:12.5px}
body.page-doc .doc-topbar .links{gap:11px;font-size:12px}
body.page-doc .doc-wrap{padding:20px 13px 6px}
body.page-doc .doc-title{font-size:22px;margin-bottom:8px}
body.page-doc .doc-lead{font-size:13.5px;margin-bottom:8px}
body.page-doc .doc-meta{font-size:11.5px;gap:3px 12px;margin-bottom:16px}
body.page-doc .doc-section{padding:14px;border-radius:var(--doc-radius);margin-bottom:12px}
body.page-doc .doc-section h2{font-size:16px;margin-bottom:8px}
body.page-doc .doc-section h3{font-size:14px;margin-top:14px}
body.page-doc .doc-section p, body.page-doc .doc-section ul, body.page-doc .doc-section ol{font-size:13.5px}
body.page-doc .doc-section ul{padding-left:18px}
body.page-doc .doc-section pre{font-size:11.5px;padding:11px 12px}
body.page-doc .doc-section table{font-size:12.5px}
body.page-doc .doc-section th, body.page-doc .doc-section td{padding:6px 8px}
body.page-doc .doc-note{font-size:12.5px;padding:9px 12px}
body.page-doc .doc-grid{grid-template-columns:1fr}
body.page-doc .doc-toc{display:none}
body.page-doc .doc-step-no{font-size:19px}
body.page-doc .doc-step-head{gap:9px}
body.page-doc .doc-sub{padding:12px}
body.page-doc .doc-url{font-size:11.5px;padding:8px 10px}
body.page-doc .doc-ex{font-size:12px;gap:6px}
body.page-doc .doc-kv{font-size:12.5px;flex-wrap:wrap}
body.page-doc .doc-foot{
    flex-direction:column;align-items:flex-start;
    padding:14px 13px 26px;gap:6px;font-size:11.5px;
  }
}
@media print{
body.page-doc .doc-topbar, body.page-doc .doc-toc, body.page-doc .doc-anchor{display:none !important}
body.page-doc{background:#fff;color:#111}
body.page-doc .doc-section{border-color:#ddd;background:#fff;break-inside:avoid}
}
html.page-doc{background:#0a0e14}


/* >>> coop-page-20261118 begin（商务合作页样式） */
/* ========== 商务合作页重排（body.page-cooperate，2026-11-18） ========== */
body.page-doc.page-cooperate .doc-wrap{max-width:1040px;padding-top:24px}
body.page-doc.page-cooperate .doc-crumb{margin:0 0 16px;font-size:13px;line-height:1.6}
body.page-doc.page-cooperate .doc-crumb a{color:var(--doc-text-dim)}
body.page-doc.page-cooperate .doc-crumb a:hover{color:#fff}
body.page-doc .coop-hero{margin:0 0 24px}
body.page-doc .coop-hero h1{margin:0 0 10px;font-size:30px;line-height:1.3;font-weight:600;letter-spacing:.02em;color:#fff}
body.page-doc .coop-hero .doc-lead{margin:0;max-width:820px;font-size:15px;line-height:1.8;color:var(--doc-text-dim)}
body.page-doc .coop-sec{
  margin:0 0 18px;padding:22px 22px 20px;min-width:0;
  background:var(--doc-bg-card);border:1px solid var(--doc-border);border-radius:16px;
}
body.page-doc .coop-sec:last-child{margin-bottom:0}
body.page-doc .coop-head{margin:0 0 16px}
body.page-doc .coop-head h2{margin:0;font-size:19px;line-height:1.4;font-weight:600;color:var(--doc-accent);letter-spacing:.01em}
body.page-doc .coop-grid{display:grid;gap:12px;min-width:0}
body.page-doc .coop-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
body.page-doc .coop-card,
body.page-doc .coop-step{
  position:relative;min-width:0;padding:16px 15px 15px;
  background:rgba(0,0,0,.22);border:1px solid var(--doc-border);border-radius:12px;
  transition:border-color .2s ease,transform .2s ease,background .2s ease;
}
body.page-doc .coop-card:hover,
body.page-doc .coop-step:hover{border-color:rgba(0,210,255,.34);background:rgba(0,210,255,.035);transform:translateY(-2px)}
body.page-doc .coop-card h3,
body.page-doc .coop-step h3{margin:0 0 7px;font-size:15px;line-height:1.5;font-weight:600;color:#eaf3ff}
body.page-doc .coop-card p,
body.page-doc .coop-step p{margin:0;font-size:13px;line-height:1.75;color:var(--doc-text-dim);overflow-wrap:break-word}
body.page-doc .coop-step-no{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:30px;height:22px;margin:0 0 10px;padding:0 8px;border-radius:999px;
  background:rgba(0,210,255,.13);border:1px solid rgba(0,210,255,.35);
  color:var(--doc-accent);font-size:12px;font-weight:700;letter-spacing:.06em;
  font-variant-numeric:tabular-nums;
}
body.page-doc .coop-notes{display:grid;gap:8px;margin-top:12px}
body.page-doc .coop-note{
  display:flex;align-items:flex-start;gap:9px;
  margin:12px 0 0;padding:10px 13px;
  border:1px dashed rgba(255,255,255,.13);border-radius:10px;
  background:rgba(255,255,255,.028);
  font-size:13px;line-height:1.7;color:var(--doc-text);
}
body.page-doc .coop-note:first-child{margin-top:0}
body.page-doc .coop-note b{flex:0 0 auto;font-weight:600;color:#eaf3ff;white-space:nowrap}
body.page-doc .coop-note b::after{content:"："}
body.page-doc .coop-note span{min-width:0;overflow-wrap:break-word}
/* 本次新增、待确认的内容：统一橙色 #ff8a3d，确认后再改回正常色 */
body.page-doc .coop-note.is-new{
  color:#ff8a3d;border-color:rgba(255,138,61,.38);background:rgba(255,138,61,.055);
}
body.page-doc .coop-note.is-new b{color:#ff8a3d}
body.page-doc .coop-deliver{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:0;padding:0;list-style:none}
body.page-doc .coop-deliver > li{
  display:flex;align-items:flex-start;gap:10px;min-width:0;
  padding:12px 14px;background:rgba(0,0,0,.22);border:1px solid var(--doc-border);border-radius:10px;
}
body.page-doc .coop-deliver-ic{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;margin-top:1px;border-radius:50%;
  background:rgba(0,210,255,.13);border:1px solid rgba(0,210,255,.35);
  color:var(--doc-accent);font-size:11px;line-height:1;
}
body.page-doc .coop-deliver b{display:block;margin:0 0 2px;font-size:13.5px;line-height:1.55;font-weight:600;color:#eaf3ff}
body.page-doc .coop-deliver p{margin:0;font-size:12.5px;line-height:1.65;color:var(--doc-text-dim)}
body.page-doc .coop-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.page-doc .coop-contact-card{
  display:flex;flex-direction:column;gap:6px;min-height:104px;padding:15px;border-radius:12px;
  border:1px dashed rgba(255,138,61,.4);background:rgba(255,138,61,.05);
}
body.page-doc .coop-contact-card h3{margin:0;font-size:14px;font-weight:600;color:#ffb37a}
body.page-doc .coop-contact-card .coop-todo{margin:auto 0 0;font-size:12.5px;color:#ff8a3d}
body.page-doc .coop-qr{
  width:72px;height:72px;margin:2px 0 0;border-radius:8px;
  border:1px dashed rgba(255,138,61,.55);
  background-color:rgba(255,138,61,.045);
  background-image:
    repeating-linear-gradient(90deg,rgba(255,138,61,.22) 0 6px,transparent 6px 12px),
    repeating-linear-gradient(0deg,rgba(255,138,61,.22) 0 6px,transparent 6px 12px);
}
body.page-doc .coop-feedback{margin:14px 0 0;font-size:13.5px;line-height:1.8;color:var(--doc-text)}
body.page-doc .coop-feedback a{color:var(--doc-accent);border-bottom:1px solid rgba(0,210,255,.4);padding-bottom:1px;white-space:nowrap}
body.page-doc .coop-feedback a:hover{color:#fff;border-bottom-color:#fff}
/* 导航：body.page-doc a 的青色会压到导航文字，这里恢复「非当前页灰字、当前页白字 + 底线」 */
body.page-doc .navbar .nav-links > a{color:var(--text-sub);text-shadow:none}
body.page-doc .navbar .nav-links > a:hover{color:var(--primary);text-shadow:none}
body.page-doc .navbar .nav-links > a.active,
body.page-doc .navbar .nav-links > a.active:hover{color:#eaf3ff;font-weight:600}
body.page-doc .navbar #auth-link{color:var(--text-muted)}
body.page-doc .navbar #auth-link:hover{color:var(--primary)}
/* 页脚在 doc 页的配色对齐（基础结构由 navbar.js 注入，这里只压掉 page-doc 的全局蓝色链接） */
body.page-doc .lfv-footer a{color:#9aa8ba;text-shadow:none}
body.page-doc .lfv-footer a:hover, body.page-doc .lfv-footer a:focus-visible{color:#00d2ff;text-shadow:none}
body.page-doc .lfv-footer .lfv-footer-social-link{color:#778495}
body.page-doc .lfv-footer .lfv-footer-social-link:hover,
body.page-doc .lfv-footer .lfv-footer-social-link:focus-visible{color:#00d2ff}
body.page-doc .lfv-footer .lfv-footer-copy{color:#5f6b7a}
body.page-doc .lfv-footer .lfv-footer-icp{color:#7c899b}
body.page-doc .lfv-footer a.lfv-new{color:#ff8a3d}
body.page-doc .lfv-footer a.lfv-new:hover,
body.page-doc .lfv-footer a.lfv-new:focus-visible{color:#ffb37a}
body.page-doc .lfv-footer .lfv-todo{color:#ff8a3d}
/* 隐私政策 / 备案信息等页自带的 [data-todo] 黄色虚线会误伤页脚图标，这里收回 */
body.page-doc .lfv-footer [data-todo]{border-bottom:0;padding:0;color:inherit;text-decoration:none}
body.page-doc .lfv-footer .lfv-footer-social-link[data-todo]{color:#778495}
body.page-doc .lfv-footer .lfv-footer-social-link[data-todo]:hover,
body.page-doc .lfv-footer .lfv-footer-social-link[data-todo]:focus-visible{color:#00d2ff}
body.page-doc .lfv-footer a.lfv-new[data-todo]{color:#ff8a3d}
@media (max-width:900px){
  body.page-doc .coop-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page-doc .coop-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  body.page-doc.page-cooperate .doc-wrap{max-width:none;padding:18px 13px 6px}
  body.page-doc .coop-hero{margin-bottom:18px}
  body.page-doc .coop-hero h1{font-size:23px}
  body.page-doc .coop-hero .doc-lead{font-size:13.5px;line-height:1.75}
  body.page-doc .coop-sec{padding:16px 14px 15px;border-radius:14px;margin-bottom:14px}
  body.page-doc .coop-head{margin-bottom:12px}
  body.page-doc .coop-head h2{font-size:16.5px}
  body.page-doc .coop-grid-4{grid-template-columns:1fr}
  body.page-doc .coop-deliver{grid-template-columns:1fr}
  body.page-doc .coop-contact-grid{grid-template-columns:1fr}
  body.page-doc .coop-contact-card{min-height:86px}
  body.page-doc .coop-note{flex-direction:column;gap:2px;font-size:12.5px;padding:9px 11px}
  body.page-doc .coop-note b{white-space:normal}
  body.page-doc .coop-feedback{font-size:13px}
}
/* <<< coop-page-20261118 end */

/* ========== admin.css（按 body.page-admin 隔离） ========== */
:root{
    color-scheme: dark;
    --admin-bg: #0a0e14;
    --admin-bg-deep: #070b11;
    --admin-panel: #111823;
    --admin-panel-2: #0d141e;
    --admin-line: rgba(132, 164, 204, 0.14);
    --admin-line-soft: rgba(132, 164, 204, 0.08);
    --admin-primary: #00d2ff;
    --admin-primary-2: #3a7bd5;
    --admin-primary-soft: rgba(0, 210, 255, 0.12);
    --admin-text: #e8eef7;
    --admin-sub: #93a4ba;
    --admin-muted: #617086;
    --admin-danger: #ff5f70;
    --admin-danger-soft: rgba(255, 95, 112, 0.12);
    --admin-ok: #38d39f;
    --admin-ok-soft: rgba(56, 211, 159, 0.12);
    --admin-warn: #ffb020;
    --admin-warn-soft: rgba(255, 176, 32, 0.12);
    --admin-radius: 14px;
    --admin-radius-sm: 9px;
    --admin-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --admin-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --admin-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
body.page-admin *, body.page-admin *::before, body.page-admin *::after{
    box-sizing: border-box;
}
body.page-admin [hidden]{
    display: none !important;
}
html.page-admin{
    min-height: 100%;
    background: var(--admin-bg);
}
body.page-admin{
    margin: 0;
    font-family: var(--admin-font);
    font-size: 14px;
    line-height: 1.65;
    color: var(--admin-text);
    background-color: var(--admin-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.page-admin button, body.page-admin input, body.page-admin select, body.page-admin textarea{
    font: inherit;
    color: inherit;
}
body.page-admin button{
    cursor: pointer;
}
body.page-admin a{
    color: var(--admin-primary);
    text-decoration: none;
}
body.page-admin a:hover{
    text-decoration: none;
}
body.page-admin h1, body.page-admin h2, body.page-admin h3, body.page-admin p{
    margin: 0;
}
body.page-admin ::selection{
    background: rgba(0, 210, 255, 0.28);
    color: #fff;
}
body.page-admin :focus-visible{
    outline: 2px solid var(--admin-primary);
    outline-offset: 2px;
}
body.page-admin *{
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 210, 255, 0.35) transparent;
}
body.page-admin *::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}
body.page-admin *::-webkit-scrollbar-thumb{
    background: rgba(0, 210, 255, 0.28);
    border-radius: 8px;
}
body.page-admin *::-webkit-scrollbar-track{
    background: transparent;
}
body.page-admin .spinner{
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 2px solid rgba(0, 210, 255, 0.22);
    border-top-color: var(--admin-primary);
    border-radius: 50%;
    animation: admin-spin 0.8s linear infinite;
}
@keyframes admin-spin{
    to { transform: rotate(360deg); }
}
body.page-admin .admin-boot, body.page-admin .fb-boot{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--admin-sub);
    background:
        radial-gradient(circle at 50% 32%, rgba(0, 210, 255, 0.08), transparent 38%),
        var(--admin-bg);
    font-size: 14px;
    letter-spacing: 0.3px;
}
body.page-admin .admin-gate, body.page-admin .fb-gate{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 210, 255, 0.09), transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(58, 123, 213, 0.08), transparent 30%),
        var(--admin-bg);
}
body.page-admin .gate-card{
    width: min(460px, 100%);
    padding: 38px 30px 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(17, 24, 35, 0.98), rgba(12, 18, 27, 0.98));
    border: 1px solid var(--admin-line);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 210, 255, 0.03) inset;
    animation: gate-in 0.3s ease-out both;
}
@keyframes gate-in{
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: none; }
}
body.page-admin .gate-icon{
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 50%;
    color: var(--admin-primary);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.22);
    box-shadow: 0 0 32px rgba(0, 210, 255, 0.13);
}
body.page-admin .gate-title{
    font-size: 24px;
    font-weight: 650;
    letter-spacing: 0.5px;
    color: #fff;
}
body.page-admin .gate-desc{
    margin: 10px auto 0;
    max-width: 350px;
    color: var(--admin-sub);
    font-size: 13.5px;
    line-height: 1.8;
}
body.page-admin .gate-actions{
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
body.page-admin .gate-home{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #04121a;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-2));
    box-shadow: 0 7px 22px rgba(0, 210, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
body.page-admin .gate-home:hover{
    color: #04121a;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 210, 255, 0.3);
}
body.page-admin .gate-home-ghost{
    color: var(--admin-sub);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--admin-line);
    box-shadow: none;
}
body.page-admin .gate-home-ghost:hover{
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}
body.page-admin .gate-retry{
    color: #04121a;
}
body.page-admin .admin-body{
    height: 100vh;
    overflow: hidden;
    
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 210, 255, 0.055), transparent 34%),
        var(--admin-bg);
}
body.page-admin .admin-app{
    min-height: 100vh;
}
body.page-admin .admin-sidebar{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    width: 200px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0d141e 0%, #0b1119 100%);
    border-right: 1px solid var(--admin-line);
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.12);
}
body.page-admin .admin-brand{
    display: flex;
    align-items: center;
    gap: 10px;
    height: 76px;
    padding: 0 16px;
    flex: 0 0 auto;
    color: var(--admin-text);
    border-bottom: 1px solid var(--admin-line-soft);
}
body.page-admin .admin-brand:hover{
    color: #fff;
}
body.page-admin .brand-mark{
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #04121a;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.24);
}
body.page-admin .brand-text{
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
body.page-admin .brand-text b{
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
body.page-admin .brand-text small{
    margin-top: 4px;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 2.2px;
    color: var(--admin-muted);
}
body.page-admin .admin-nav{
    flex: 1 1 auto;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}
body.page-admin .nav-item{
    position: relative;
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--admin-sub);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
body.page-admin .nav-item:hover{
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--admin-line-soft);
}
body.page-admin .nav-item.is-active{
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.16), rgba(0, 210, 255, 0.035));
    border-color: rgba(0, 210, 255, 0.22);
    box-shadow: 0 0 22px rgba(0, 210, 255, 0.06) inset;
}
body.page-admin .nav-item.is-active::before{
    content: "";
    position: absolute;
    left: -10px;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 0 2px 2px 0;
    background: var(--admin-primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
}
body.page-admin .nav-ico{
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
    font-size: 14px;
    color: var(--admin-muted);
    transition: color 0.2s;
}
body.page-admin .nav-item.is-active .nav-ico, body.page-admin .nav-item:hover .nav-ico{
    color: var(--admin-primary);
}
body.page-admin .nav-label{
    flex: 1 1 auto;
    white-space: nowrap;
}
body.page-admin .nav-badge{
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5f70, #e33d52);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 12px rgba(255, 95, 112, 0.38);
}
body.page-admin .sidebar-foot{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 15px 16px 17px;
    border-top: 1px solid var(--admin-line-soft);
    color: var(--admin-muted);
    font-size: 10px;
    letter-spacing: 0.6px;
}
body.page-admin .foot-dot{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--admin-ok);
    box-shadow: 0 0 8px rgba(56, 211, 159, 0.7);
}
body.page-admin .admin-mobilebar{
    display: none;
}
body.page-admin .admin-main{
    margin-left: 200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
body.page-admin .admin-overview{
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 34px clamp(22px, 4vw, 52px) 56px;
}
body.page-admin .admin-overview > *{
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
body.page-admin .overview-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 8px;
}
body.page-admin .eyebrow{
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.6px;
    color: rgba(0, 210, 255, 0.62);
}
body.page-admin .overview-head h1{
    font-size: 27px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: 0.6px;
    color: #f4f8fc;
}
body.page-admin .overview-sub{
    margin-top: 7px;
    color: var(--admin-muted);
    font-size: 13px;
}
body.page-admin .overview-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-bottom: 2px;
}
body.page-admin .updated-at{
    color: var(--admin-muted);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.page-admin .refresh-btn, body.page-admin .fb-refresh{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--admin-sub);
    font-size: 12.5px;
    font-weight: 550;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
body.page-admin .refresh-btn:hover, body.page-admin .fb-refresh:hover{
    color: var(--admin-primary);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.055);
}
body.page-admin .refresh-btn:disabled, body.page-admin .fb-refresh:disabled{
    opacity: 0.55;
    cursor: wait;
}
body.page-admin .refresh-ico{
    display: inline-block;
    font-size: 15px;
    line-height: 1;
}
body.page-admin .refresh-btn.is-busy .refresh-ico{
    animation: admin-spin 0.8s linear infinite;
}
body.page-admin .stats-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 24px;
    margin-bottom: 18px;
}
body.page-admin .stat-card{
    position: relative;
    min-width: 0;
    padding: 17px 18px 15px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(0, 210, 255, 0.045), transparent 42%),
        linear-gradient(180deg, #111823, #0e151f);
    border: 1px solid var(--admin-line);
    border-radius: var(--admin-radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    text-align: left;
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
body.page-admin .stat-card::after{
    content: "";
    position: absolute;
    top: -45px;
    right: -40px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.06);
    filter: blur(6px);
    pointer-events: none;
}
body.page-admin .stat-card:hover{
    transform: translateY(-2px);
    border-color: rgba(0, 210, 255, 0.28);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}
body.page-admin .stat-button{
    display: block;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
body.page-admin .stat-button:focus-visible{
    outline-offset: 3px;
}
body.page-admin .stat-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
body.page-admin .stat-label{
    color: var(--admin-sub);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
}
body.page-admin .stat-ico{
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: rgba(0, 210, 255, 0.72);
    background: rgba(0, 210, 255, 0.075);
    font-size: 12px;
}
body.page-admin .stat-value{
    display: block;
    color: #fff;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
}
body.page-admin .stat-sub{
    display: block;
    margin-top: 4px;
    color: var(--admin-muted);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-admin .disk-track{
    height: 4px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
}
body.page-admin .disk-track i{
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.55);
    transition: width 0.5s ease;
}
body.page-admin .disk-track i.is-warn{
    background: linear-gradient(90deg, #ffb020, #ff5f70);
    box-shadow: 0 0 10px rgba(255, 95, 112, 0.55);
}
body.page-admin .panel{
    padding: 21px 22px;
    background: linear-gradient(180deg, rgba(17, 24, 35, 0.94), rgba(13, 20, 30, 0.92));
    border: 1px solid var(--admin-line);
    border-radius: var(--admin-radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
body.page-admin .status-panel{
    margin-top: 2px;
}
body.page-admin .panel-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
body.page-admin .panel-head h2{
    font-size: 15.5px;
    font-weight: 620;
    color: #f2f7fc;
    letter-spacing: 0.25px;
}
body.page-admin .panel-sub{
    margin-top: 3px;
    color: var(--admin-muted);
    font-size: 11.5px;
}
body.page-admin .live-pill{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 99px;
    border: 1px solid rgba(56, 211, 159, 0.22);
    background: rgba(56, 211, 159, 0.07);
    color: var(--admin-ok);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
}
body.page-admin .live-pill i{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--admin-ok);
    box-shadow: 0 0 7px rgba(56, 211, 159, 0.8);
    animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse{
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
body.page-admin .status-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
body.page-admin .status-item{
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--admin-line-soft);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.022);
}
body.page-admin .status-k{
    display: block;
    margin-bottom: 5px;
    color: var(--admin-muted);
    font-size: 10.5px;
    letter-spacing: 0.35px;
}
body.page-admin .status-v{
    display: block;
    color: #dfe9f5;
    font-size: 12.5px;
    font-weight: 550;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-admin .error-box{
    margin-top: 13px;
    border-top: 1px solid var(--admin-line-soft);
}
body.page-admin .error-box summary{
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 2px 2px;
    color: var(--admin-sub);
    font-size: 12px;
    font-weight: 550;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
body.page-admin .error-box summary::-webkit-details-marker{
    display: none;
}
body.page-admin .error-box summary::before{
    content: "▸";
    width: 12px;
    color: var(--admin-muted);
    font-size: 10px;
    transition: transform 0.18s;
}
body.page-admin .error-box[open] summary::before{
    transform: rotate(90deg);
}
body.page-admin .err-title{
    flex: 0 0 auto;
}
body.page-admin .err-count{
    padding: 1px 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--admin-muted);
    font-size: 9.5px;
    font-weight: 500;
}
body.page-admin .err-body{
    padding: 10px 0 2px 21px;
    color: var(--admin-sub);
    font-size: 11.5px;
}
body.page-admin .err-body .muted{
    color: var(--admin-muted);
}
body.page-admin .err-lines{
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 230px;
    overflow-y: auto;
    font-family: var(--admin-mono);
    font-size: 10.5px;
    line-height: 1.75;
}
body.page-admin .err-lines li{
    position: relative;
    padding: 5px 0 5px 13px;
    color: #c4d1e1;
    border-bottom: 1px dashed rgba(132, 164, 204, 0.09);
    overflow-wrap: anywhere;
}
body.page-admin .err-lines li:last-child{
    border-bottom: 0;
}
body.page-admin .err-lines li::before{
    content: "›";
    position: absolute;
    left: 0;
    color: var(--admin-danger);
}
body.page-admin .quick-panel{
    margin-top: 16px;
}
body.page-admin .quick-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
body.page-admin .quick-card{
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 13px 13px;
    text-align: left;
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.024);
    border: 1px solid var(--admin-line-soft);
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
body.page-admin .quick-card:hover{
    transform: translateY(-1px);
    background: rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.28);
}
body.page-admin .quick-ico{
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--admin-primary);
    background: rgba(0, 210, 255, 0.08);
    font-size: 13px;
}
body.page-admin .quick-copy{
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.4;
}
body.page-admin .quick-copy b{
    font-size: 12.5px;
    font-weight: 600;
    color: #e8f0f8;
}
body.page-admin .quick-copy small{
    margin-top: 2px;
    color: var(--admin-muted);
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-admin .quick-arrow{
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--admin-muted);
    font-size: 12px;
    transition: transform 0.2s, color 0.2s;
}
body.page-admin .quick-card:hover .quick-arrow{
    color: var(--admin-primary);
    transform: translateX(2px);
}
body.page-admin .frame-wrap{
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: var(--admin-bg);
}
body.page-admin .admin-frame{
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--admin-bg);
}
body.page-admin .frame-loading{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: rgba(10, 14, 20, 0.92);
    color: var(--admin-sub);
    font-size: 13px;
    z-index: 2;
}
body.page-admin .feedback-body{
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 0%, rgba(0, 210, 255, 0.055), transparent 32%),
        radial-gradient(circle at 8% 18%, rgba(58, 123, 213, 0.04), transparent 28%),
        var(--admin-bg);
}
body.page-admin .fb-shell{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.page-admin .fb-topbar{
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 14, 20, 0.86);
    border-bottom: 1px solid var(--admin-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.page-admin .fb-topbar-inner{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px 18px;
    display: flex;
    align-items: center;
    gap: 22px;
}
body.page-admin .fb-back{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    color: var(--admin-sub);
    font-size: 12px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
body.page-admin .fb-back:hover{
    color: var(--admin-primary);
    border-color: rgba(0, 210, 255, 0.35);
    background: rgba(0, 210, 255, 0.05);
}
body.page-admin .fb-heading h1{
    font-size: 23px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: 0.5px;
    color: #f4f8fc;
}
body.page-admin .fb-heading p{
    margin-top: 3px;
    color: var(--admin-muted);
    font-size: 12px;
}
body.page-admin .fb-head-count{
    margin-left: 8px;
    padding-left: 9px;
    border-left: 1px solid var(--admin-line);
    color: var(--admin-sub);
    font-variant-numeric: tabular-nums;
}
body.page-admin .fb-main{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 24px 60px;
    flex: 1 1 auto;
}
body.page-admin .fb-toolbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 18px;
}
body.page-admin .fb-filters{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
body.page-admin .fb-filter{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid var(--admin-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--admin-sub);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
body.page-admin .fb-filter:hover{
    color: var(--admin-text);
    border-color: rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.045);
}
body.page-admin .fb-filter.is-active{
    color: #04121a;
    border-color: transparent;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    box-shadow: 0 5px 18px rgba(0, 210, 255, 0.2);
    font-weight: 650;
}
body.page-admin .fb-count{
    min-width: 19px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--admin-sub);
    background: rgba(255, 255, 255, 0.065);
    font-size: 10px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
body.page-admin .fb-filter.is-active .fb-count{
    color: #04121a;
    background: rgba(4, 18, 26, 0.16);
}
body.page-admin .fb-count.is-new{
    color: #ff8c99;
    background: rgba(255, 95, 112, 0.1);
}
body.page-admin .fb-count.is-handled{
    color: var(--admin-ok);
    background: var(--admin-ok-soft);
}
body.page-admin .fb-count.is-ignored{
    color: var(--admin-muted);
    background: rgba(255, 255, 255, 0.05);
}
body.page-admin .fb-filter.is-active .fb-count.is-new, body.page-admin .fb-filter.is-active .fb-count.is-handled, body.page-admin .fb-filter.is-active .fb-count.is-ignored{
    color: #04121a;
    background: rgba(4, 18, 26, 0.16);
}
body.page-admin .fb-tools{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
body.page-admin .fb-summary{
    color: var(--admin-muted);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.page-admin .fb-inline-error{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 95, 112, 0.24);
    border-radius: 9px;
    background: var(--admin-danger-soft);
    color: #ffb3bc;
    font-size: 12px;
}
body.page-admin .fb-inline-error span{
    flex: 1 1 auto;
}
body.page-admin .fb-inline-retry{
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(255, 95, 112, 0.35);
    border-radius: 6px;
    background: rgba(255, 95, 112, 0.08);
    color: #ffc4ca;
    font-size: 11.5px;
}
body.page-admin .fb-inline-retry:hover{
    border-color: rgba(255, 95, 112, 0.6);
    background: rgba(255, 95, 112, 0.16);
}
body.page-admin .fb-loading{
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--admin-sub);
    font-size: 12.5px;
}
body.page-admin .fb-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.page-admin .fb-card{
    position: relative;
    padding: 16px 18px 13px;
    background:
        linear-gradient(155deg, rgba(0, 210, 255, 0.026), transparent 38%),
        linear-gradient(180deg, #111823, #0e151f);
    border: 1px solid var(--admin-line);
    border-radius: var(--admin-radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    transition: border-color 0.2s, opacity 0.2s;
}
body.page-admin .fb-card:hover{
    border-color: rgba(0, 210, 255, 0.22);
}
body.page-admin .fb-card.is-busy{
    opacity: 0.62;
}
body.page-admin .fb-card-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
body.page-admin .fb-card-lead{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}
body.page-admin .fb-id{
    color: #dce8f5;
    font-family: var(--admin-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
body.page-admin .fb-chip{
    display: inline-flex;
    align-items: center;
    max-width: 180px;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--admin-sub);
}
body.page-admin .fb-kind{
    color: #b8c8da;
    background: rgba(255, 255, 255, 0.035);
}
body.page-admin .fb-severity.is-error{
    color: #ff9aa5;
    border-color: rgba(255, 95, 112, 0.22);
    background: var(--admin-danger-soft);
}
body.page-admin .fb-severity.is-warn{
    color: #ffc563;
    border-color: rgba(255, 176, 32, 0.22);
    background: var(--admin-warn-soft);
}
body.page-admin .fb-severity.is-info{
    color: #7fdcf7;
    border-color: rgba(0, 210, 255, 0.22);
    background: var(--admin-primary-soft);
}
body.page-admin .fb-status{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
}
body.page-admin .fb-status::before{
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 7px currentColor;
}
body.page-admin .fb-status.is-new{
    color: #ff8d99;
    background: var(--admin-danger-soft);
    border: 1px solid rgba(255, 95, 112, 0.18);
}
body.page-admin .fb-status.is-handled{
    color: var(--admin-ok);
    background: var(--admin-ok-soft);
    border: 1px solid rgba(56, 211, 159, 0.18);
}
body.page-admin .fb-status.is-ignored{
    color: var(--admin-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--admin-line-soft);
}
body.page-admin .fb-time{
    flex: 0 0 auto;
    padding-top: 1px;
    color: var(--admin-muted);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.page-admin .fb-msg{
    margin-top: 11px;
}
body.page-admin .fb-msg-body.is-compact{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    max-height:3.4em;
}
body.page-admin .fb-card-foot{
    margin:8px 0 2px;
    color:var(--admin-muted);
    font-size:10.5px;
    line-height:1.5;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
body.page-admin .fb-card{
    padding:13px 15px 11px;
}
body.page-admin .fb-msg{
    margin:7px 0 5px;
}
body.page-admin .fb-msg-body{
    color: #d4e0ed;
    font-size: 13px;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
body.page-admin .fb-msg-body.is-clamped{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.page-admin .fb-msg-body.is-clamped.is-open{
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
body.page-admin .fb-msg-toggle{
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--admin-primary);
    font-size: 11.5px;
}
body.page-admin .fb-msg-toggle:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.page-admin .fb-meta{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 18px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--admin-line-soft);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.13);
}
body.page-admin .fb-field{
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    padding: 2px 0;
    font-size: 10.5px;
    line-height: 1.6;
}
body.page-admin .fb-field.is-wide{
    grid-column: 1 / -1;
}
body.page-admin .fb-field-k{
    flex: 0 0 53px;
    color: var(--admin-muted);
    white-space: nowrap;
}
body.page-admin .fb-field-v{
    flex: 1 1 auto;
    min-width: 0;
    color: #b6c7d9;
    overflow-wrap: anywhere;
    font-family: var(--admin-mono);
    font-size: 10px;
}
body.page-admin .fb-field-v.is-empty{
    color: #445163;
}
body.page-admin .fb-field-v a{
    color: #6fdcf8;
    border-bottom: 1px dotted rgba(111, 220, 248, 0.35);
}
body.page-admin .fb-field-v a:hover{
    color: #a7ecff;
}
body.page-admin .fb-error{
    margin-top: 9px;
    border: 1px solid rgba(255, 95, 112, 0.13);
    border-radius: 8px;
    background: rgba(255, 95, 112, 0.035);
}
body.page-admin .fb-error summary{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: #d798a1;
    font-size: 10.5px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
body.page-admin .fb-error summary::-webkit-details-marker{
    display: none;
}
body.page-admin .fb-error summary::before{
    content: "▸";
    color: #a9646f;
    font-size: 9px;
    transition: transform 0.18s;
}
body.page-admin .fb-error[open] summary::before{
    transform: rotate(90deg);
}
body.page-admin .fb-error-count{
    margin-left: auto;
    color: #84545c;
    font-size: 9px;
}
body.page-admin .fb-pre{
    margin: 0;
    padding: 0 12px 11px 27px;
    max-height: 250px;
    overflow: auto;
    color: #e2b6bc;
    font-family: var(--admin-mono);
    font-size: 10.5px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
body.page-admin .fb-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid var(--admin-line-soft);
}
body.page-admin .fb-action-group{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}
body.page-admin .fb-act{
    min-height: 29px;
    padding: 4px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--admin-sub);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
}
body.page-admin .fb-act:hover{
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(132, 164, 204, 0.28);
}
body.page-admin .fb-act:disabled{
    opacity: 0.5;
    cursor: wait;
}
body.page-admin .fb-act.is-ok{
    color: var(--admin-ok);
    border-color: rgba(56, 211, 159, 0.23);
    background: var(--admin-ok-soft);
}
body.page-admin .fb-act.is-ok:hover{
    color: #7ff0c7;
    border-color: rgba(56, 211, 159, 0.43);
    background: rgba(56, 211, 159, 0.18);
}
body.page-admin .fb-act.is-blue{
    color: #74dcf8;
    border-color: rgba(0, 210, 255, 0.23);
    background: var(--admin-primary-soft);
}
body.page-admin .fb-act.is-blue:hover{
    color: #b2efff;
    border-color: rgba(0, 210, 255, 0.43);
    background: rgba(0, 210, 255, 0.18);
}
body.page-admin .fb-act.is-ghost{
    color: var(--admin-muted);
}
body.page-admin .fb-act.is-danger{
    color: #ff8b96;
    border-color: rgba(255, 95, 112, 0.18);
    background: transparent;
}
body.page-admin .fb-act.is-danger:hover{
    color: #ffc0c6;
    border-color: rgba(255, 95, 112, 0.43);
    background: var(--admin-danger-soft);
}
body.page-admin .fb-empty{
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed var(--admin-line);
    border-radius: var(--admin-radius);
    background: rgba(255, 255, 255, 0.012);
}
body.page-admin .empty-icon{
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--admin-line);
    background: rgba(0, 210, 255, 0.045);
    color: rgba(0, 210, 255, 0.55);
    font-size: 23px;
}
body.page-admin .fb-empty h2{
    font-size: 16px;
    font-weight: 600;
    color: var(--admin-sub);
}
body.page-admin .fb-empty p{
    margin-top: 5px;
    color: var(--admin-muted);
    font-size: 12px;
}
body.page-admin .fb-toast{
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 1000;
    max-width: calc(100vw - 32px);
    padding: 9px 16px;
    border: 1px solid rgba(0, 210, 255, 0.28);
    border-radius: 8px;
    background: rgba(14, 23, 34, 0.97);
    color: #cfeefa;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 0.22s, transform 0.22s;
}
body.page-admin .fb-toast.is-show{
    opacity: 1;
    transform: translate(-50%, 0);
}
body.page-admin .fb-toast.is-error{
    border-color: rgba(255, 95, 112, 0.4);
    color: #ffc0c6;
}
html.page-admin.is-embed .fb-topbar, body.page-admin.is-embed .fb-topbar{
    display: none;
}
html.page-admin.is-embed .fb-main, body.page-admin.is-embed .fb-main{
    /* 后台 iframe 已经给了左右留白：内容铺满，和卡片管理 / 路线图对齐 */
    max-width: 1180px;
    padding: 0 0 24px;
}
html.page-admin.is-embed .fb-home-only, body.page-admin.is-embed .fb-home-only{
    display: none !important;
}
html.page-admin.is-embed .fb-gate, body.page-admin.is-embed .fb-gate{
    min-height: 100vh;
}

/* 工单详情 / 对话 */
body.page-admin .fb-detail{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:18px}
body.page-admin .fb-detail[hidden]{display:none}
body.page-admin .fb-detail-mask{position:absolute;inset:0;background:rgba(3,7,12,.78);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
body.page-admin .fb-detail-box{position:relative;width:min(960px,100%);height:80vh;max-height:80vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(125,211,252,.2);border-radius:15px;background:linear-gradient(180deg,#111d2a,#0a121b);box-shadow:0 28px 90px rgba(0,0,0,.65)}
body.page-admin .fb-detail-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 20px 13px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.012)}
body.page-admin .fb-detail-eyebrow{margin:0 0 3px;color:#7dd3fc;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;letter-spacing:.16em}
body.page-admin .fb-detail-head h2{margin:0;color:#f2fbff;font-size:18px}
body.page-admin .fb-detail-sub{margin:4px 0 0;color:#8296a8;font-size:11px;line-height:1.5}
body.page-admin .fb-detail-x{width:29px;height:29px;border:1px solid transparent;border-radius:7px;background:transparent;color:#8ba0b2;font-size:14px;cursor:pointer}
body.page-admin .fb-detail-x:hover{color:#fff;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
body.page-admin .fb-detail-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:15px 20px 20px}
body.page-admin .fb-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.02);font-size:11px;color:#8fa4b6}
body.page-admin .fb-detail-meta b{color:#d9edf7;font-weight:600}
body.page-admin .fb-thread{display:flex;flex-direction:column;gap:9px;margin:0 0 14px}
body.page-admin .fb-bubble{max-width:82%;padding:9px 12px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.035);font-size:12.5px;line-height:1.7;color:#cfdeea;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-admin .fb-bubble.is-admin{align-self:flex-end;border-color:rgba(125,211,252,.25);background:rgba(125,211,252,.09);color:#e2f8ff}
body.page-admin .fb-bubble-meta{display:flex;gap:7px;align-items:center;margin-bottom:3px;color:#718697;font-size:10px}
body.page-admin .fb-bubble.is-admin .fb-bubble-meta{color:#78b9d0}
.fb-image-view{
    position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;
    padding:24px;background:rgba(2,5,9,.9);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
}
.fb-image-view img{max-width:94vw;max-height:86vh;border-radius:10px;box-shadow:0 30px 90px rgba(0,0,0,.7);background:#fff;cursor:grab;touch-action:none;transform-origin:center center;will-change:transform}
.fb-image-view img.is-dragging{cursor:grabbing}
.fb-image-hint{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);padding:5px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(0,0,0,.5);color:#b7cbd8;font-size:10.5px;pointer-events:none}
.fb-image-view-x{
    position:absolute;right:20px;top:20px;width:38px;height:38px;border:1px solid rgba(255,255,255,.3);
    border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:18px;cursor:pointer;
}
button.fb-attachment{padding:0;border:1px solid rgba(255,255,255,.12);background:#08111a;cursor:zoom-in;border-radius:8px;overflow:hidden}
body.page-admin .fb-attachments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 14px}
body.page-admin .fb-attachments[hidden]{display:none}
body.page-admin .fb-attachment{display:block;border:1px solid rgba(255,255,255,.1);border-radius:8px;overflow:hidden;background:#050a10}
body.page-admin .fb-attachment img{display:block;width:100%;aspect-ratio:1;object-fit:cover;cursor:zoom-in}
body.page-admin .fb-snapshot{margin:0 0 14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.018)}
body.page-admin .fb-snapshot[hidden]{display:none}
body.page-admin .fb-snapshot summary{padding:9px 11px;color:#8fa4b6;font-size:11px;cursor:pointer}
body.page-admin .fb-snapshot pre{max-height:180px;overflow:auto;margin:0;padding:0 11px 11px;color:#9fb3c4;font-size:10.5px;line-height:1.6;white-space:pre-wrap}
body.page-admin .fb-detail-foot{
    flex:0 0 auto;
    padding:10px 20px 13px;
    border-top:1px solid rgba(255,255,255,.09);
    background:rgba(4,8,13,.55);
}
body.page-admin .fb-detail-foot .fb-reply{border-top:0;padding-top:0}
body.page-admin .fb-reply{border-top:1px solid rgba(255,255,255,.08);padding-top:12px}
body.page-admin .fb-reply-label{display:block;margin-bottom:6px;color:#9fb3c4;font-size:11px}
body.page-admin .fb-reply textarea{width:100%;min-height:80px;padding:9px 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;outline:none;background:#08111a;color:#e1eff7;font:inherit;font-size:12px;line-height:1.6;resize:vertical}
body.page-admin .fb-reply textarea:focus{border-color:rgba(125,211,252,.55);box-shadow:0 0 0 3px rgba(125,211,252,.08)}
body.page-admin .fb-reply-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
body.page-admin .fb-reply-foot span{color:#718697;font-size:10px}
body.page-admin .fb-empty-thread{padding:24px;text-align:center;color:#718697;font-size:12px}
@media (max-width:700px){
 body.page-admin .fb-detail{padding:0}
 body.page-admin .fb-detail-box{width:100%;height:100%;max-height:100vh;border-radius:0;border-left:0;border-right:0}
 body.page-admin .fb-detail-head{padding:14px 15px 11px}
 body.page-admin .fb-detail-body{padding:13px 15px 18px}
 body.page-admin .fb-detail-meta{grid-template-columns:1fr}
 body.page-admin .fb-attachments{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width: 1100px){
body.page-admin .stats-grid, body.page-admin .quick-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
body.page-admin .status-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 820px){
body.page-admin .admin-body{
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }
body.page-admin .admin-mobilebar{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 70;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 14px;
        background: rgba(10, 14, 20, 0.94);
        border-bottom: 1px solid var(--admin-line);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
body.page-admin .mobile-brand{
        color: #eef6fd;
        font-size: 14px;
        font-weight: 650;
        letter-spacing: 0.4px;
    }
body.page-admin .mobile-brand span{
        margin-left: 5px;
        color: var(--admin-muted);
        font-size: 8px;
        letter-spacing: 1.6px;
    }
body.page-admin .mobile-menu-btn{
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 32px;
        padding: 5px 11px;
        border: 1px solid var(--admin-line);
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.035);
        color: var(--admin-sub);
        font-size: 12px;
    }
body.page-admin .mobile-menu-btn:hover{
        color: var(--admin-primary);
        border-color: rgba(0, 210, 255, 0.32);
    }
body.page-admin .mobile-menu-lines, body.page-admin .mobile-menu-lines::before, body.page-admin .mobile-menu-lines::after{
        display: block;
        width: 12px;
        height: 1px;
        background: currentColor;
        content: "";
        transition: transform 0.2s;
    }
body.page-admin .mobile-menu-lines{
        position: relative;
    }
body.page-admin .mobile-menu-lines::before{
        position: absolute;
        top: -4px;
    }
body.page-admin .mobile-menu-lines::after{
        position: absolute;
        top: 4px;
    }
body.page-admin .admin-sidebar{
        top: 52px;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        max-height: 0;
        overflow: hidden;
        border-right: 0;
        border-bottom: 1px solid var(--admin-line);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        transition: max-height 0.24s ease;
        z-index: 60;
    }
body.page-admin .admin-app.nav-open .admin-sidebar{
        max-height: calc(100vh - 52px);
        overflow-y: auto;
    }
body.page-admin .admin-sidebar .admin-brand, body.page-admin .sidebar-foot{
        display: none;
    }
body.page-admin .admin-nav{
        padding: 8px;
        gap: 2px;
        flex: 0 0 auto;
    }
body.page-admin .nav-item{
        min-height: 40px;
    }
body.page-admin .nav-item.is-active::before{
        left: -8px;
        top: 8px;
        bottom: 8px;
    }
body.page-admin .admin-main{
        margin-left: 0;
        padding-top: 52px;
        height: 100vh;
    }
body.page-admin .admin-overview{
        padding: 22px 15px 40px;
    }
body.page-admin .overview-head{
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
body.page-admin .overview-actions{
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 8px;
    }
body.page-admin .stats-grid{
        gap: 10px;
        margin-top: 18px;
    }
body.page-admin .stat-card{
        padding: 14px 14px 13px;
    }
body.page-admin .stat-value{
        font-size: 25px;
    }
body.page-admin .panel{
        padding: 16px 15px;
    }
body.page-admin .status-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
body.page-admin .quick-grid{
        grid-template-columns: 1fr;
    }
body.page-admin .fb-topbar-inner{
        padding: 15px 16px 13px;
        gap: 12px;
    }
body.page-admin .fb-heading h1{
        font-size: 20px;
    }
body.page-admin .fb-main{
        padding: 18px 15px 44px;
    }
body.page-admin .fb-toolbar{
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
body.page-admin .fb-tools{
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
body.page-admin .fb-card{
        padding: 14px 13px 12px;
    }
body.page-admin .fb-card-head{
        gap: 8px;
    }
body.page-admin .fb-time{
        padding-top: 2px;
    }
body.page-admin .fb-meta{
        grid-template-columns: 1fr;
        gap: 4px;
    }
body.page-admin .fb-field.is-wide{
        grid-column: auto;
    }
body.page-admin .fb-actions{
        justify-content: flex-start;
    }
body.page-admin .fb-action-group{
        justify-content: flex-start;
    }
}
@media (max-width: 520px){
body.page-admin .overview-head h1{
        font-size: 23px;
    }
body.page-admin .stats-grid{
        grid-template-columns: 1fr;
    }
body.page-admin .status-grid{
        grid-template-columns: 1fr;
    }
body.page-admin .panel-head{
        gap: 10px;
    }
body.page-admin .updated-at{
        display: none;
    }
body.page-admin .fb-topbar-inner{
        flex-wrap: wrap;
        gap: 7px;
    }
body.page-admin .fb-back{
        order: 2;
    }
body.page-admin .fb-heading{
        width: 100%;
        order: 1;
    }
body.page-admin .fb-heading h1{
        font-size: 19px;
    }
body.page-admin .fb-heading p{
        font-size: 11px;
    }
body.page-admin .fb-filter{
        padding: 5px 9px;
        font-size: 11.5px;
    }
body.page-admin .fb-summary{
        font-size: 10.5px;
    }
body.page-admin .fb-card-lead{
        gap: 5px;
    }
body.page-admin .fb-time{
        font-size: 9.5px;
    }
body.page-admin .fb-msg-body{
        font-size: 12.5px;
    }
body.page-admin .fb-field{
        gap: 6px;
    }
body.page-admin .fb-field-k{
        flex-basis: 48px;
        font-size: 10px;
    }
body.page-admin .fb-field-v{
        font-size: 9.5px;
    }
body.page-admin .fb-act{
        font-size: 10.5px;
        padding: 4px 8px;
    }
body.page-admin .gate-card{
        padding: 30px 20px 26px;
    }
body.page-admin .gate-title{
        font-size: 21px;
    }
}
@media (prefers-reduced-motion: reduce){
body.page-admin *, body.page-admin *::before, body.page-admin *::after{
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
body.page-admin .admin-view{
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 34px clamp(22px, 4vw, 52px) 56px;
}
body.page-admin .admin-view > *{
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
body.page-admin .nav-bottom{
    margin-top: auto;
    padding-top: 8px;
}
body.page-admin .nav-divider{
    height: 1px;
    margin: 0 6px 8px;
    background: linear-gradient(90deg, transparent, var(--admin-line), transparent);
}
body.page-admin .stats-grid--6{
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
body.page-admin .stats-grid--6 .stat-value{
    font-size: 25px;
}
body.page-admin .stats-grid--srv{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.page-admin .stats-grid--srv .stat-value{
    font-size: 26px;
}
body.page-admin .range-switch{
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
}
body.page-admin .range-btn{
    padding: 6px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--admin-sub);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
body.page-admin .range-btn:hover{
    color: var(--admin-text);
    background: rgba(255, 255, 255, 0.05);
}
body.page-admin .range-btn.is-active{
    color: #02121a;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    font-weight: 650;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.28);
}
body.page-admin .countdown{
    color: rgba(0, 210, 255, 0.68);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.page-admin .chart-panel{
    margin-top: 18px;
}
body.page-admin .chart-legend{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 3px;
}
body.page-admin .chart-legend span{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--admin-sub);
    font-size: 11.5px;
    white-space: nowrap;
}
body.page-admin .dot{
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    flex: 0 0 9px;
}
body.page-admin .dot-pv, body.page-admin .dot-cpu{
    background: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.55);
}
body.page-admin .dot-uv{
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}
body.page-admin .dot-mem{
    background: #38d39f;
    box-shadow: 0 0 8px rgba(56, 211, 159, 0.5);
}
body.page-admin .dot-disk{
    background: #ffb020;
    box-shadow: 0 0 8px rgba(255, 176, 32, 0.5);
}
body.page-admin .chart-box{
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--admin-line-soft);
    border-radius: 10px;
    background: #080d14;
}
body.page-admin .chart-box canvas{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
}
body.page-admin .chart-empty{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--admin-muted);
    font-size: 12.5px;
    letter-spacing: 1px;
    pointer-events: none;
}
body.page-admin .chart-empty[hidden]{
    display: none !important;
}
body.page-admin .chart-tip{
    position: absolute;
    z-index: 5;
    min-width: 126px;
    padding: 8px 10px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.96);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    font-size: 11.5px;
    backdrop-filter: blur(4px);
}
body.page-admin .chart-tip[hidden]{
    display: none !important;
}
body.page-admin .chart-tip-t{
    margin-bottom: 5px;
    color: var(--admin-muted);
    font-size: 10.5px;
    white-space: nowrap;
}
body.page-admin .chart-tip-r{
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.75;
}
body.page-admin .chart-tip-r i{
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
}
body.page-admin .chart-tip-r span{
    flex: 1 1 auto;
    color: var(--admin-sub);
    white-space: nowrap;
}
body.page-admin .chart-tip-r b{
    color: #fff;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
body.page-admin .chart-note{
    margin-top: 12px;
    color: var(--admin-muted);
    font-size: 11.5px;
    line-height: 1.75;
}
body.page-admin .chart-note--wide{
    margin-top: 16px;
}
body.page-admin .chart-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 18px;
}
body.page-admin .chart-grid .chart-panel{
    margin-top: 0;
    min-width: 0;
}
body.page-admin .chart-box--sm{
    height: 200px;
}
body.page-admin .dot-down{
    background: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.55);
}
body.page-admin .dot-up{
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}
body.page-admin .chart-legend .chart-src{
    padding: 1px 7px;
    border: 1px solid rgba(56, 211, 159, 0.24);
    border-radius: 99px;
    background: rgba(56, 211, 159, 0.07);
    color: var(--admin-ok);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
body.page-admin .chart-legend .chart-src.is-local{
    border-color: rgba(255, 176, 32, 0.28);
    background: rgba(255, 176, 32, 0.08);
    color: var(--admin-warn);
}
body.page-admin .stat-value.is-bump, body.page-admin .status-v.is-bump{
    animation: value-bump 0.9s ease-out;
}
@keyframes value-bump{
    0% {
        color: #7ef0ff;
        text-shadow: 0 0 16px rgba(0, 210, 255, 0.5);
    }
    55% {
        color: #d8f8ff;
        text-shadow: 0 0 7px rgba(0, 210, 255, 0.2);
    }
    100% {
        color: #fff;
        text-shadow: none;
    }
}
body.page-admin .status-v.is-bump{
    animation-name: value-bump-sub;
}
@keyframes value-bump-sub{
    0% {
        color: #7ef0ff;
        text-shadow: 0 0 14px rgba(0, 210, 255, 0.42);
    }
    100% {
        color: #dfe9f5;
        text-shadow: none;
    }
}
@media (prefers-reduced-motion: reduce){
body.page-admin .stat-value.is-bump, body.page-admin .status-v.is-bump{
        animation: none;
    }
}
body.page-admin .settings-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
body.page-admin .field{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
body.page-admin .field-label{
    color: var(--admin-sub);
    font-size: 12.5px;
    font-weight: 500;
}
body.page-admin .field-input{
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: rgba(7, 11, 17, 0.72);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
body.page-admin .field-input:hover{
    border-color: rgba(132, 164, 204, 0.28);
}
body.page-admin .field-input:focus{
    outline: none;
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(7, 11, 17, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12);
}
body.page-admin .field-hint{
    color: var(--admin-muted);
    font-size: 11px;
}
body.page-admin .settings-note{
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px dashed rgba(132, 164, 204, 0.24);
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.035);
    color: var(--admin-sub);
    font-size: 12px;
    line-height: 1.75;
}
body.page-admin .settings-actions .btn-primary{width:auto}
body.page-admin .settings-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 20px;
}
body.page-admin .settings-status{
    margin-right: auto;
    color: var(--admin-muted);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}
body.page-admin .btn-primary{
    min-width: 96px;
    min-height: 38px;
    padding: 8px 20px;
    border: 1px solid rgba(0, 210, 255, 0.42);
    border-radius: 9px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #02121a;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.3px;
    transition: filter 0.2s, transform 0.2s, opacity 0.2s;
}
body.page-admin .btn-primary:hover{
    filter: brightness(1.08);
}
body.page-admin .btn-primary:active{
    transform: translateY(1px);
}
body.page-admin .btn-primary:disabled{
    opacity: 0.6;
    cursor: wait;
    filter: none;
}
body.page-admin .admin-toast{
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 90;
    max-width: min(92vw, 440px);
    padding: 11px 18px;
    border: 1px solid rgba(56, 211, 159, 0.45);
    border-radius: 10px;
    background: rgba(9, 26, 22, 0.96);
    color: #d8fff2;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}
body.page-admin .admin-toast.is-show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
body.page-admin .admin-toast.is-err{
    border-color: rgba(255, 95, 112, 0.5);
    background: rgba(32, 12, 16, 0.97);
    color: #ffe1e5;
}
@media (max-width: 1280px){
body.page-admin .stats-grid--6{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 1100px){
body.page-admin .stats-grid--6{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
body.page-admin .stats-grid--srv{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 820px){
body.page-admin .admin-view{
        padding: 22px 15px 40px;
    }
body.page-admin .chart-box{
        height: 230px;
    }
body.page-admin .chart-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }
body.page-admin .chart-panel{
        margin-top: 14px;
    }
body.page-admin .settings-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
@media (max-width: 520px){
body.page-admin .stats-grid--6{
        grid-template-columns: 1fr;
    }
body.page-admin .stats-grid--srv{
        grid-template-columns: 1fr;
    }
body.page-admin .countdown{
        display: none;
    }
body.page-admin .chart-box{
        height: 210px;
    }
body.page-admin .chart-legend{
        gap: 10px;
    }
body.page-admin .settings-actions{
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }
body.page-admin .settings-status{
        margin-right: 0;
        text-align: center;
    }
body.page-admin .btn-primary{
        width: 100%;
    }
}
body.page-admin .frame-wrap{
    padding: 34px clamp(22px, 4vw, 52px) 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    background: transparent;      
}
body.page-admin .frame-wrap .view-head{
    flex: 0 0 auto;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
body.page-admin .frame-wrap .admin-frame{
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    
    background: #0a0e14;
    color-scheme: dark;
    overflow: hidden;
}
body.page-admin .frame-wrap.is-wide .view-head, body.page-admin .frame-wrap.is-wide .admin-frame{
    max-width: none;
}
body.page-admin .frame-wrap.is-wide .admin-frame{
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}
@media (max-width: 900px){
body.page-admin .frame-wrap{ padding: 20px 14px 0; }
}


/* ========== roadmap.css（按 body.page-roadmap 隔离） ========== */
:root{
    --rm-bg: #0a0e14;
    --rm-card: #111823;
    --rm-card-2: #0d141d;
    --rm-border: rgba(255, 255, 255, .08);
    --rm-border-2: rgba(255, 255, 255, .14);
    --rm-text: #c7d6e8;
    --rm-bright: #e8eef7;
    --rm-dim: #8b93a3;
    --rm-muted: #6c7280;
    --rm-accent: #00d2ff;
    --rm-radius: 12px;
    --rm-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}
html.page-roadmap{ color-scheme: dark; }
body.page-roadmap [hidden]{ display: none !important; }
body.page-roadmap.roadmap-page{
    background-color: var(--rm-bg);
    background-image: radial-gradient(circle at 50% -8%, rgba(0, 210, 255, .07) 0%, rgba(0, 210, 255, 0) 55%);
    background-repeat: no-repeat;
    color: var(--rm-text);
    font-size: 14px;
    line-height: 1.7;
}
body.page-roadmap.modal-open{ overflow: hidden; }
body.page-roadmap .roadmap-page a{ color: var(--rm-accent); }
body.page-roadmap .rw{
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 20px 44px;
    flex: 1 0 auto;
    min-width: 0;
}
body.page-roadmap .rhead{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}
body.page-roadmap .rhead-l{ min-width: 0; }
body.page-roadmap .rhead h1{
    display: inline-block;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: .5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--rm-accent);
}
body.page-roadmap .rsub{
    margin-top: 5px;
    font-size: 13px;
    color: var(--rm-dim);
}
body.page-roadmap .rhead-actions{
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}
body.page-roadmap .rlegend{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin: 2px 0 14px;
    font-size: 12px;
    color: var(--rm-muted);
}
body.page-roadmap .rlegend span{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
body.page-roadmap .rbar{
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 210, 255, .18);
    border-radius: 10px;
    background: rgba(0, 210, 255, .04);
}
body.page-roadmap .rhint{
    font-size: 12px;
    color: var(--rm-dim);
}
body.page-roadmap .rboard{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
body.page-roadmap .rboard::-webkit-scrollbar{ height: 8px; }
body.page-roadmap .rboard::-webkit-scrollbar-track{ background: transparent; }
body.page-roadmap .rboard::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, .14);
    border-radius: 4px;
}
body.page-roadmap .rboard::-webkit-scrollbar-thumb:hover{ background: rgba(255, 255, 255, .24); }
body.page-roadmap .rm-col{
    position: relative;
    flex: 0 0 322px;
    width: 322px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    max-height: calc(100vh - 248px);
    background: var(--rm-card);
    border: 1px solid var(--rm-border);
    border-radius: 14px;
    scroll-snap-align: start;
    transition: border-color .2s, box-shadow .2s, opacity .2s;
}
body.page-roadmap .rm-col.is-over{
    border-color: rgba(0, 210, 255, .5);
    box-shadow: 0 0 0 1px rgba(0, 210, 255, .18), 0 8px 30px rgba(0, 0, 0, .35);
}
body.page-roadmap .rm-col.is-col-dragging{ opacity: .42; }
body.page-roadmap .rm-col.is-col-before{
    border-left-color: var(--rm-accent);
    box-shadow: inset 3px 0 0 var(--rm-accent);
}
body.page-roadmap .rm-col.is-col-after{
    border-right-color: var(--rm-accent);
    box-shadow: inset -3px 0 0 var(--rm-accent);
}
body.page-roadmap .rm-col.is-merge{
    border-color: rgba(255, 204, 77, .9);
    box-shadow: 0 0 0 2px rgba(255, 204, 77, .28), 0 8px 30px rgba(0, 0, 0, .35);
}
body.page-roadmap .rm-col.is-merge::after{
    content: "松手合并到此列";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    padding: 8px 15px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #241a00;
    background: #ffcc4d;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    white-space: nowrap;
    pointer-events: none;
}
body.page-roadmap .rm-col-head.is-draggable{ cursor: grab; }
body.page-roadmap .rm-col.is-col-dragging .rm-col-head.is-draggable{ cursor: grabbing; }
body.page-roadmap .rm-col-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 9px;
}
body.page-roadmap .rm-col-info{
    flex: 1 1 auto;
    min-width: 0;
}
body.page-roadmap .rm-col-title{
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rm-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-roadmap .rm-col-ver{
    margin-top: 1px;
    font-family: var(--rm-mono);
    font-size: 11.5px;
    letter-spacing: .02em;
    color: var(--rm-accent);
}
body.page-roadmap .rm-col-side{
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-top: 1px;
}
body.page-roadmap .rm-prog-text{
    font-size: 11.5px;
    color: var(--rm-dim);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
body.page-roadmap .rm-col-acts{
    display: flex;
    gap: 5px;
}
body.page-roadmap .rm-prog{
    height: 3px;
    margin: 0 16px 11px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .055);
    overflow: hidden;
}
body.page-roadmap .rm-prog i{
    display: block;
    height: 100%;
    font-style: normal;
    border-radius: 2px;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    box-shadow: 0 0 8px rgba(0, 210, 255, .45);
    transition: width .3s ease;
}
body.page-roadmap .rm-col-body{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 88px;
    padding: 0 12px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .14) transparent;
}
body.page-roadmap .rm-col-body::-webkit-scrollbar{ width: 6px; }
body.page-roadmap .rm-col-body::-webkit-scrollbar-thumb{
    background: rgba(255, 255, 255, .13);
    border-radius: 3px;
}
body.page-roadmap .rm-col-body:empty::after{
    content: "暂无块或卡片";
    display: block;
    padding: 22px 0;
    text-align: center;
    font-size: 12px;
    color: var(--rm-muted);
    border: 1px dashed rgba(255, 255, 255, .08);
    border-radius: 9px;
}
body.page-roadmap .rm-group{
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 8px 8px;
    background: rgba(255, 255, 255, .016);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
}
body.page-roadmap .rm-group.is-virtual{
    background: transparent;
    border-style: dashed;
}
body.page-roadmap .rm-group-head{
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 2px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}
body.page-roadmap .rm-group-title{
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--rm-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.page-roadmap .rm-group-ver{
    flex: 0 0 auto;
    padding: 0 6px;
    font-family: var(--rm-mono);
    font-size: 10.5px;
    line-height: 1.7;
    color: #8fe9ff;
    background: rgba(0, 210, 255, .1);
    border: 1px solid rgba(0, 210, 255, .26);
    border-radius: 999px;
    white-space: nowrap;
}
body.page-roadmap .rm-group-ver.is-none{
    color: var(--rm-muted);
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
}
body.page-roadmap .rm-group-count{
    flex: 0 0 auto;
    min-width: 18px;
    padding: 0 5px;
    font-size: 10.5px;
    line-height: 1.7;
    text-align: center;
    color: var(--rm-muted);
    background: rgba(255, 255, 255, .05);
    border-radius: 999px;
}
body.page-roadmap .rm-group-acts{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
body.page-roadmap .rm-group-hint{
    font-size: 10px;
    color: var(--rm-muted);
}
body.page-roadmap .rm-group-list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 20px;
}
body.page-roadmap .rm-editing .rm-group-list:empty::after{
    content: "拖卡片到此块";
    display: block;
    padding: 10px 0;
    text-align: center;
    font-size: 11px;
    color: var(--rm-muted);
    border: 1px dashed rgba(255, 255, 255, .08);
    border-radius: 7px;
}
body.page-roadmap .rm-ph{
    flex: 0 0 auto;
    height: 46px;
    border: 1px dashed rgba(0, 210, 255, .6);
    border-radius: 9px;
    background: rgba(0, 210, 255, .06);
    box-shadow: inset 0 0 18px rgba(0, 210, 255, .08);
}
body.page-roadmap .rm-col-foot{
    padding: 0 12px 12px;
    margin-top: auto;
}
body.page-roadmap .rm-col-foot-btns{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
body.page-roadmap .rm-add.is-slim{
    padding: 5px 8px;
    font-size: 11.5px;
}
body.page-roadmap .rm-add.is-group{
    color: rgba(0, 210, 255, .85);
    border-color: rgba(0, 210, 255, .28);
}
body.page-roadmap .rm-add.is-group:hover{
    color: var(--rm-accent);
    border-color: rgba(0, 210, 255, .5);
    background: rgba(0, 210, 255, .07);
}
body.page-roadmap .rm-add{
    width: 100%;
    padding: 8px 10px;
    font: inherit;
    font-size: 12.5px;
    color: var(--rm-dim);
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 8px;
    cursor: pointer;
    transition: color .18s, border-color .18s, background .18s;
}
body.page-roadmap .rm-add:hover{
    color: var(--rm-accent);
    border-color: rgba(0, 210, 255, .45);
    background: rgba(0, 210, 255, .05);
}
body.page-roadmap .rm-add:focus-visible{
    outline: 2px solid var(--rm-accent);
    outline-offset: 2px;
}
body.page-roadmap .rm-col-count{
    display: block;
    padding-bottom: 2px;
    text-align: center;
    font-size: 11px;
    color: var(--rm-muted);
}
body.page-roadmap .rm-card{
    position: relative;
    flex: 0 0 auto;
    padding: 10px 11px 9px;
    background: var(--rm-card-2);
    border: 1px solid rgba(255, 255, 255, .06);
    border-left: 3px solid var(--st, #8b93a3);
    border-radius: 9px;
    cursor: pointer;
    outline: none;
    transition: background .16s, border-color .16s, transform .16s;
}
body.page-roadmap .rm-card:hover{
    background: #0f1824;
    border-color: rgba(255, 255, 255, .13);
    border-left-color: var(--st, #8b93a3);
}
body.page-roadmap .rm-card:focus-visible{
    outline: 2px solid var(--rm-accent);
    outline-offset: 2px;
}
body.page-roadmap .rm-card[draggable="true"]{ cursor: grab; }
body.page-roadmap .rm-card.is-dragging{
    opacity: .35;
    cursor: grabbing;
}
body.page-roadmap .rm-card[data-status="todo"], body.page-roadmap .rm-dot[data-status="todo"]{ --st: #8b93a3; }
body.page-roadmap .rm-card[data-status="doing"], body.page-roadmap .rm-dot[data-status="doing"]{ --st: #00d2ff; }
body.page-roadmap .rm-card[data-status="done"], body.page-roadmap .rm-dot[data-status="done"]{ --st: #3ddc84; }
body.page-roadmap .rm-card[data-status="deferred"], body.page-roadmap .rm-dot[data-status="deferred"]{ --st: #ffcc4d; }
body.page-roadmap .rm-card[data-status="dropped"], body.page-roadmap .rm-dot[data-status="dropped"]{ --st: #ff5c5c; }
body.page-roadmap .rm-card.is-dropped{ opacity: .72; }
body.page-roadmap .rm-card.is-dropped .rm-card-title{
    color: var(--rm-dim);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 92, 92, .8);
}
body.page-roadmap .rm-card-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}
body.page-roadmap .rm-ver{
    font-family: var(--rm-mono);
    font-size: 10.5px;
    line-height: 1.6;
    padding: 0 6px;
    border-radius: 4px;
    color: #8fe9ff;
    background: rgba(0, 210, 255, .1);
    border: 1px solid rgba(0, 210, 255, .22);
}
body.page-roadmap .rm-ver.is-none{
    color: var(--rm-muted);
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .07);
}
body.page-roadmap .rm-tag{
    flex: 0 0 auto;
    font-size: 10.5px;
    line-height: 1.6;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
body.page-roadmap .rm-tag[data-tag="feature"]{ color: #6fe6ff; background: rgba(0, 210, 255, .08); border-color: rgba(0, 210, 255, .2); }
body.page-roadmap .rm-tag[data-tag="fix"]{ color: #ffb26b; background: rgba(255, 150, 60, .09); border-color: rgba(255, 150, 60, .22); }
body.page-roadmap .rm-tag[data-tag="hardware"]{ color: #c9a6ff; background: rgba(170, 120, 255, .1); border-color: rgba(170, 120, 255, .24); }
body.page-roadmap .rm-tag[data-tag="doc"]{ color: #8fb4ff; background: rgba(90, 140, 255, .1); border-color: rgba(90, 140, 255, .22); }
body.page-roadmap .rm-tag[data-tag="ops"]{ color: #6ee7a8; background: rgba(60, 210, 140, .1); border-color: rgba(60, 210, 140, .22); }
body.page-roadmap .rm-card-title{
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    color: #dfe9f6;
    word-break: break-word;
}
body.page-roadmap .rm-card-note{
    margin-top: 4px;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--rm-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
body.page-roadmap .rm-card-foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    font-size: 10.5px;
    color: var(--rm-muted);
}
body.page-roadmap .rm-status{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--st, #8b93a3);
    white-space: nowrap;
}
body.page-roadmap .rm-dot{
    display: inline-block;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--st, #8b93a3);
    box-shadow: 0 0 6px var(--st, #8b93a3);
}
body.page-roadmap .rm-dates{
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
body.page-roadmap .rempty{
    margin-top: 6px;
    padding: 52px 20px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
}
body.page-roadmap .rempty-t{
    font-size: 15px;
    color: var(--rm-text);
    margin-bottom: 6px;
}
body.page-roadmap .rempty-d{
    font-size: 12.5px;
    color: var(--rm-muted);
}
body.page-roadmap .rfoot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
    color: var(--rm-muted);
}
body.page-roadmap .rfoot a{ color: var(--rm-dim); }
body.page-roadmap .rfoot a:hover{ color: var(--rm-accent); }
body.page-roadmap .rbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 15px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--rm-text);
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s, filter .18s;
}
body.page-roadmap .rbtn:hover{
    color: #fff;
    border-color: rgba(0, 210, 255, .4);
    background: rgba(0, 210, 255, .07);
}
body.page-roadmap .rbtn:focus-visible{
    outline: 2px solid var(--rm-accent);
    outline-offset: 2px;
}
body.page-roadmap .rbtn.primary{
    color: #04121a;
    font-weight: 600;
    border-color: transparent;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    box-shadow: 0 4px 14px rgba(0, 210, 255, .2);
}
body.page-roadmap .rbtn.primary:hover{
    color: #04121a;
    filter: brightness(1.07);
}
body.page-roadmap .rbtn.danger{
    color: #ff8a8a;
    border-color: rgba(255, 92, 92, .3);
    background: rgba(255, 92, 92, .06);
}
body.page-roadmap .rbtn.danger:hover{
    color: #ffb3b3;
    border-color: rgba(255, 92, 92, .5);
    background: rgba(255, 92, 92, .12);
}
body.page-roadmap .rbtn.is-on{
    color: #8fe9ff;
    border-color: rgba(0, 210, 255, .45);
    background: rgba(0, 210, 255, .12);
}
body.page-roadmap .rbtn:disabled{
    opacity: .55;
    cursor: not-allowed;
    filter: none;
}
body.page-roadmap .rspacer{ flex: 1 1 auto; }
body.page-roadmap .rm-ico{
    padding: 2px 6px;
    font: inherit;
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--rm-muted);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    cursor: pointer;
    transition: color .16s, border-color .16s, background .16s;
}
body.page-roadmap .rm-ico:hover{
    color: #dfe9f6;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .05);
}
body.page-roadmap .rm-ico.is-danger:hover{
    color: #ff9a9a;
    border-color: rgba(255, 92, 92, .45);
    background: rgba(255, 92, 92, .08);
}
body.page-roadmap .rm-ico:focus-visible{
    outline: 2px solid var(--rm-accent);
    outline-offset: 2px;
}
body.page-roadmap .rgate{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 64px 20px 72px;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.page-roadmap .rgate-card{
    width: 100%;
    padding: 42px 34px 38px;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #111823 0%, #0d141d 100%);
    border: 1px solid var(--rm-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
body.page-roadmap .rgate-ico{
    font-size: 30px;
    line-height: 1;
    margin-bottom: 14px;
}
body.page-roadmap .rgate-title{
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--rm-bright);
}
body.page-roadmap .rgate-desc{
    margin: 0 0 22px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--rm-dim);
}
body.page-roadmap .rgate-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
body.page-roadmap .rmodal{
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
body.page-roadmap .rmodal-mask{
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 11, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
body.page-roadmap .rmodal-box{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    background: var(--rm-card);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
body.page-roadmap .rmodal-box.is-sm{ max-width: 460px; }
body.page-roadmap .rmodal-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
body.page-roadmap .rmodal-head h2{
    font-size: 16px;
    font-weight: 600;
    color: var(--rm-bright);
}
body.page-roadmap .rmodal-x{
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--rm-dim);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
}
body.page-roadmap .rmodal-x:hover{
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
}
body.page-roadmap .rmodal-x:focus-visible{
    outline: 2px solid var(--rm-accent);
    outline-offset: 2px;
}
body.page-roadmap .rmodal-body{
    padding: 18px 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
body.page-roadmap .rmodal-foot{
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .16);
}
body.page-roadmap .rfield{
    margin-bottom: 14px;
    min-width: 0;
}
body.page-roadmap .rfield label{
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--rm-dim);
}
body.page-roadmap .rreq{
    font-style: normal;
    color: #ff6b6b;
}
body.page-roadmap .rfield input, body.page-roadmap .rfield textarea, body.page-roadmap .rfield select, body.page-roadmap .rmem-add input{
    width: 100%;
    padding: 9px 11px;
    font: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--rm-text);
    background-color: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
}
body.page-roadmap .rfield select{
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238fa3bb'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    cursor: pointer;
}
body.page-roadmap .rfield input:focus, body.page-roadmap .rfield textarea:focus, body.page-roadmap .rfield select:focus, body.page-roadmap .rmem-add input:focus{
    border-color: var(--rm-accent);
    background-color: rgba(0, 210, 255, .04);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, .1);
}
body.page-roadmap .rfield input::placeholder, body.page-roadmap .rfield textarea::placeholder, body.page-roadmap .rmem-add input::placeholder{
    color: var(--rm-muted);
}
body.page-roadmap .rfield textarea{
    min-height: 76px;
    resize: vertical;
    line-height: 1.6;
}
body.page-roadmap .rfield-hint{
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--rm-muted);
}
body.page-roadmap .rver3{
    display: flex;
    gap: 6px;
    width: 100%;
}
body.page-roadmap .rver3 input{
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    text-align: center;
    font-family: var(--rm-mono);
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}
body.page-roadmap .rver3 input::-webkit-outer-spin-button, body.page-roadmap .rver3 input::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}
body.page-roadmap .rver-ro{
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    font-family: var(--rm-mono);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--rm-dim);
    background: rgba(255, 255, 255, .02);
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: 8px;
    word-break: break-word;
}
body.page-roadmap .rver-ro.is-follow{
    color: #8fe9ff;
    background: rgba(0, 210, 255, .06);
    border-color: rgba(0, 210, 255, .35);
    border-style: solid;
}
body.page-roadmap .rtext-dim{
    color: var(--rm-dim);
    font-size: 12.5px;
}
body.page-roadmap .rgrid2, body.page-roadmap .rgrid3{
    display: grid;
    gap: 0 12px;
}
body.page-roadmap .rgrid2{ grid-template-columns: 1fr 1fr; }
body.page-roadmap .rgrid3{ grid-template-columns: 1fr 1fr 1fr; }
body.page-roadmap .rerr{
    margin-top: 4px;
    padding: 8px 11px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #ff9a9a;
    background: rgba(255, 80, 80, .08);
    border: 1px solid rgba(255, 80, 80, .25);
    border-radius: 8px;
}
body.page-roadmap .rtext{
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--rm-text);
}
body.page-roadmap .rmem-add{
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
body.page-roadmap .rmem-add input{
    flex: 1 1 auto;
    min-width: 0;
}
body.page-roadmap .rmem-add .rbtn{ flex: 0 0 auto; }
body.page-roadmap .rmem-list{
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 8px;
}
body.page-roadmap .rmem-row{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
}
body.page-roadmap .rmem-name{
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    color: var(--rm-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.page-roadmap .rmem-role{
    flex: 0 0 auto;
    font-size: 10.5px;
    line-height: 1.7;
    padding: 0 7px;
    color: var(--rm-dim);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
}
body.page-roadmap .rmem-role[data-role="admin"]{
    color: #ffd77a;
    background: rgba(255, 200, 80, .08);
    border-color: rgba(255, 200, 80, .3);
}
body.page-roadmap .rmem-empty{
    margin: 0;
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--rm-muted);
}
body.page-roadmap .rmem-empty.is-err{ color: #ff9a9a; }
body.page-roadmap .rtoast{
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 600;
    max-width: min(90vw, 520px);
    padding: 10px 18px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    color: #dff6ff;
    background: rgba(17, 24, 35, .96);
    border: 1px solid rgba(0, 210, 255, .35);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    transform: translateX(-50%);
}
body.page-roadmap .rtoast.is-err{
    color: #ffc9c9;
    border-color: rgba(255, 92, 92, .45);
}
@media (max-width: 900px){
body.page-roadmap .rw{ padding: 20px 14px 36px; }
body.page-roadmap .rhead h1{ font-size: 24px; }
body.page-roadmap .rm-col{ max-height: calc(100vh - 300px); }
}
@media (max-width: 700px){
body.page-roadmap .rboard{
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-bottom: 14px;
    }
body.page-roadmap .rm-col{
        flex: 0 0 min(86vw, 322px);
        width: min(86vw, 322px);
        max-height: none;
        min-height: 0;
    }
body.page-roadmap .rm-col-body{
        max-height: none;
        overflow-y: visible;
    }
body.page-roadmap .rgrid3{ grid-template-columns: 1fr 1fr; }
body.page-roadmap .rhead{
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
body.page-roadmap .rhead-actions{ justify-content: flex-end; }
}
@media (max-width: 520px){
body.page-roadmap .rhead h1{ font-size: 22px; }
body.page-roadmap .rsub{ font-size: 12px; }
body.page-roadmap .rm-col{
        flex-basis: min(90vw, 340px);
        width: min(90vw, 340px);
    }
body.page-roadmap .rgrid2, body.page-roadmap .rgrid3{ grid-template-columns: 1fr; }
body.page-roadmap .rgate{ padding: 32px 12px 48px; }
body.page-roadmap .rgate-card{ padding: 30px 20px 26px; }
body.page-roadmap .rgate-title{ font-size: 18px; }
body.page-roadmap .rgate-actions{ flex-direction: column; }
body.page-roadmap .rgate-actions .rbtn{ width: 100%; }
body.page-roadmap .rmodal{ padding: 10px; }
body.page-roadmap .rmodal-box{ max-height: 94vh; }
body.page-roadmap .rmodal-body{ padding: 15px 16px; }
body.page-roadmap .rmem-add{ flex-wrap: wrap; }
body.page-roadmap .rmem-add input{ flex: 1 1 100%; }
body.page-roadmap .rmem-add .rbtn{ width: 100%; }
}
@media (prefers-reduced-motion: reduce){
body.page-roadmap .rm-card, body.page-roadmap .rbtn, body.page-roadmap .rm-add, body.page-roadmap .rm-col, body.page-roadmap .rm-prog i{ transition: none; }
body.page-roadmap .rboard{ scroll-behavior: auto; }
}
body.page-roadmap .rfield select, body.page-roadmap .rfield select option, body.page-roadmap .rmodal select, body.page-roadmap .rmodal select option{
    background-color: #0f1620 !important;
    color: #e9f2ff !important;
}
body.page-roadmap .rfield select option:checked, body.page-roadmap .rmodal select option:checked{
    background-color: #1b3a52 !important;
    color: #ffffff !important;
}
body.page-roadmap .rfield select, body.page-roadmap .rmodal select{ color-scheme: dark; }
html.page-roadmap{background:#0a0e14}
@media (min-width: 901px){
html.page-roadmap, body.page-roadmap{
        height: 100%;
        overflow: hidden;          
    }
body.page-roadmap{ display: flex; flex-direction: column; }
body.page-roadmap .rw{
        flex: 1 1 auto;
        min-height: 0;             
        height: 100vh;
        height: 100dvh;            
        max-width: none;
        margin: 0;
        padding: 12px 16px 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow: hidden;          
    }
body.page-roadmap .rhead{ margin-bottom: 0; flex: 0 0 auto; align-items: center; }
body.page-roadmap .rhead h1{ font-size: 20px; margin: 0; }
body.page-roadmap .rboard{
        flex: 1 1 auto;
        min-height: 0;
        align-items: stretch;      
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 6px;
    }
body.page-roadmap .rm-col{
        max-height: none;
        height: auto;
        min-height: 0;
        align-self: stretch;
        flex: 0 0 322px;
    }
body.page-roadmap .rm-col-body{
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
body.page-roadmap .rm-col-head, body.page-roadmap .rm-prog, body.page-roadmap .rm-col-foot{ flex: 0 0 auto; }
}
body.page-roadmap .rlegend{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
body.page-roadmap .rlegend-updated{
    margin-left: auto;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--rm-dim, #7b8a9c);
}
body.page-roadmap .rlegend #rm-edit{
    flex: 0 0 auto;
    height: 28px;
    padding: 0 12px;
    font-size: 12px;
}

/* ========== 兜底（放在最后，优先级最低的普通 body 规则） ========== */
html, body { background-color: var(--lfv-bg, #0a0e14); }

/* ============================================================================
 * 2026-11-04：内嵌 iframe 去边框（改在样式表里，而不是在 admin.html 里压内联）
 * 原因：admin.css 作用域化后变成 body.page-admin .frame-wrap .admin-frame（0,3,0），
 *      优先级高于 admin.html 内联的 .frame-wrap > .admin-frame（0,2,0），
 *      于是边框和圆角又回来了、还挡住了背景透出。
 * ==========================================================================*/
body.page-admin .frame-wrap .admin-frame,
body.page-admin .frame-wrap.is-wide .admin-frame{
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* ============================================================================
 * 2026-11-04：后台滚动条贴窗口最右
 * 由 .admin-main 承担纵向滚动（它右边就是窗口边缘），.frame-wrap 不再自己滚。
 * ==========================================================================*/
body.page-admin .admin-main{
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
body.page-admin .frame-wrap{
    overflow: visible;
}

/* ============================================================================
 * 2026-11-05：内嵌页滚动条的「笨办法」
 * iframe 给一个远大于内容的固定高度（永不产生内部滚动条），
 * 外层 .frame-wrap 负责裁切与滚动 —— 滚动条必然出现在窗口最右侧。
 * ==========================================================================*/
body.page-admin .frame-wrap{
    overflow-y: auto;
    overflow-x: hidden;
}
body.page-admin .frame-wrap > .admin-frame{
    flex: 0 0 auto;
    height: auto;         /* 由内嵌页 postMessage 上报真实高度 */
}
body.page-admin .frame-wrap.is-wide > .admin-frame{
    height: calc(100vh - 40px);   /* 路线图例外：看板内部滚动 */
    min-height: 0;
}

/* ============================================================================
 * 2026-11-05：功能路线图（.is-wide）不要出现页面级纵向滚动条
 * iframe 高度 = 视口 − 顶部留白，外层不滚，看板自己内部滚。
 * ==========================================================================*/
body.page-admin .frame-wrap.is-wide{
    overflow: hidden !important;
    padding-bottom: 0 !important;
}
/* ★ 2026-11-05：关键 —— iframe 不能用 100vh 计算，因为上面还有 .view-head（约 80px）。
   改成 flex:1 撑满剩余高度，页面内部 height:100% → 三层严丝合缝。 */
body.page-admin .frame-wrap.is-wide > .admin-frame{
    height: auto !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    display: block;
}

/* ============================================================================
 * 2026-11-05：/enctest 加密链路自检页
 * 复用文档页（body.page-doc）的卡片式分区，但阅读宽度放宽到 1100px：
 * 原先漏了 body.page-doc，导致 doc-wrap 没有 max-width 被拉成全宽。
 * 顶部来源链接已移除；右侧固定目录在本页隐藏，否则 1340–1600px 屏宽下
 * 目录会压到 1100px 内容区上。
 * ==========================================================================*/
body.page-doc.page-enctest{
    --doc-maxw: 1100px;
}
body.page-doc.page-enctest .doc-toc{
    display: none !important;
}


/* ============================================================================
 * 实体卡落地页 /c/<uid>（frontend/c.html）
 * ----------------------------------------------------------------------------
 * 2026-11-05 阶段一：卡绑定 / 激活 / 挂失 / 风控提示
 * · 只作用于 body.page-card，不污染其它页面；
 * · 复用 page-doc 的深色底与字体，卡片页自己的变量以 --pc- 开头；
 * · 单文件规则：全站样式只写在 lfv.css，不新增 css 文件。
 * ==========================================================================*/
body.page-doc.page-card{
    --pc-bg:#070b11;
    --pc-panel:#0f1622;
    --pc-panel-2:#0c121c;
    --pc-line:rgba(132,164,204,.16);
    --pc-line-2:rgba(132,164,204,.09);
    --pc-text:#e8eef7;
    --pc-sub:#93a4ba;
    --pc-dim:#617086;
    --pc-cyan:#00d2ff;
    --pc-blue:#3a7bd5;
    --pc-green:#35e0a1;
    --pc-amber:#ffc857;
    --pc-red:#ff6b81;
    --pc-violet:#a78bfa;
    --pc-radius:18px;
    --pc-maxw:760px;
    background-color:var(--pc-bg);
    background-image:none;
    color:var(--pc-text);
    overflow-x:hidden;
}
body.page-doc.page-card a{color:var(--pc-cyan)}
body.page-doc.page-card a:hover{color:#8ceaff}

/* —— 背景光晕 —— */
.pc-aurora{
    position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;
    background:
        radial-gradient(60% 40% at 50% -10%,rgba(0,210,255,.12),transparent 70%),
        radial-gradient(40% 30% at 100% 10%,rgba(58,123,213,.10),transparent 70%),
        linear-gradient(180deg,#070b11 0%,#070b11 55%,#060910 100%);
}
.pc-aurora i{
    position:absolute;border-radius:50%;filter:blur(70px);opacity:.5;
    animation:pc-float 18s ease-in-out infinite alternate;
}
.pc-aurora i:nth-child(1){width:380px;height:380px;left:-110px;top:8%;background:rgba(0,210,255,.14)}
.pc-aurora i:nth-child(2){width:300px;height:300px;right:-90px;top:26%;background:rgba(167,139,250,.10);animation-delay:-6s}
.pc-aurora i:nth-child(3){width:260px;height:260px;left:38%;bottom:-120px;background:rgba(53,224,161,.07);animation-delay:-11s}
@keyframes pc-float{
    from{transform:translate3d(0,0,0) scale(1)}
    to{transform:translate3d(18px,-26px,0) scale(1.08)}
}

/* —— 跳转链接 —— */
.pc-skip{
    position:absolute;left:-9999px;top:0;z-index:300;
    padding:10px 16px;border-radius:0 0 12px 0;
    background:var(--pc-cyan);color:#04121a !important;font-weight:700;
}
.pc-skip:focus{left:0}

/* —— 顶部 —— */
.pc-top{
    position:relative;z-index:2;
    display:flex;align-items:center;justify-content:space-between;gap:16px;
    width:100%;max-width:1180px;margin:0 auto;
    padding:20px 22px 8px;
}
.pc-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none !important}
.pc-logo{
    width:30px;height:30px;border-radius:10px;
    background:linear-gradient(135deg,var(--pc-cyan),var(--pc-blue));
    box-shadow:0 0 22px rgba(0,210,255,.45),inset 0 0 0 1px rgba(255,255,255,.25);
    position:relative;flex:none;
}
.pc-logo::after{
    content:"";position:absolute;inset:8px;border-radius:5px;
    border:1.5px solid rgba(4,18,26,.75);
}
.pc-brand-t{
    display:flex;align-items:baseline;gap:8px;
    color:#fff;font-size:16px;font-weight:700;letter-spacing:.04em;
}
.pc-brand-t em{
    font-style:normal;font-size:11px;font-weight:500;letter-spacing:.18em;
    color:var(--pc-cyan);padding:2px 7px;border-radius:999px;
    border:1px solid rgba(0,210,255,.35);background:rgba(0,210,255,.07);
    transform:translateY(-1px);
}
.pc-topnav{display:flex;align-items:center;gap:8px}
.pc-topnav a,.pc-topnav .pc-topnav-btn{
    color:var(--pc-sub) !important;font-size:13px;text-decoration:none;
    padding:7px 13px;border-radius:999px;border:1px solid transparent;
    background:transparent;font-family:inherit;line-height:1.2;cursor:pointer;
    transition:color .2s,border-color .2s,background .2s;
}
.pc-topnav a:hover,.pc-topnav .pc-topnav-btn:hover{color:#fff !important;border-color:var(--pc-line);background:rgba(255,255,255,.03)}
.pc-top-right{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}
.pc-user{display:flex;align-items:center;gap:7px;padding:4px 5px 4px 4px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:rgba(255,255,255,.035)}
.pc-user[hidden]{display:none}
.pc-user-avatar{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#28d8ff,#2476df);color:#03121a;font-size:12px;font-weight:800;flex:none}
.pc-user-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dff7ff;font-size:12px}
.pc-user-logout{padding:0 7px;border:0;background:transparent;color:#7dd3fc;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}
.pc-user-logout:hover{color:#fff;text-decoration:underline}

/* —— 主容器 —— */
.pc-main{
    position:relative;z-index:1;
    width:100%;max-width:var(--pc-maxw);margin:0 auto;
    padding:24px 20px 40px;flex:1 0 auto;
}

/* —— Hero —— */
.pc-hero{padding:18px 2px 22px}
.pc-eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    margin:0 0 12px;font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;
    color:var(--pc-cyan);
}
.pc-pulse{
    width:7px;height:7px;border-radius:50%;background:var(--pc-cyan);
    box-shadow:0 0 0 0 rgba(0,210,255,.55);
    animation:pc-pulse 2.2s ease-out infinite;flex:none;
}
@keyframes pc-pulse{
    0%{box-shadow:0 0 0 0 rgba(0,210,255,.5)}
    70%{box-shadow:0 0 0 9px rgba(0,210,255,0)}
    100%{box-shadow:0 0 0 0 rgba(0,210,255,0)}
}
.pc-title{
    margin:0 0 10px;font-size:clamp(27px,6vw,38px);line-height:1.24;
    letter-spacing:-.01em;font-weight:700;color:#fff;
}
.pc-title::after{
    content:"";display:block;width:54px;height:3px;border-radius:3px;
    margin-top:14px;background:linear-gradient(90deg,var(--pc-cyan),transparent);
}
.pc-lead{
    margin:0 0 16px;max-width:60ch;
    font-size:14.5px;line-height:1.8;color:var(--pc-sub);
}
.pc-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;font-size:12px;color:var(--pc-dim)}
.pc-meta-item{display:inline-flex;align-items:center;gap:6px}
.pc-meta-item b{
    color:#c7d6e8;font-weight:600;letter-spacing:.08em;
    font-family:var(--doc-mono,ui-monospace,Consolas,monospace);
}
.pc-meta-item--uid{
    display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:6px 9px 6px 12px;
    border:1px solid rgba(125,211,252,.20);border-radius:10px;background:rgba(125,211,252,.055);
}
.pc-meta-item--uid > span{font-size:10px;letter-spacing:.08em;color:var(--pc-muted);text-transform:uppercase}
.pc-meta-item--uid b{
    color:#e8fcff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    font-size:22px;letter-spacing:.08em;line-height:1.1;
}
.pc-meta-date{
    margin-left:auto;padding-left:14px;color:rgba(170,205,228,.55);
    font-size:11px;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}
.pc-cardno{
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;
    margin:8px 0 0;color:rgba(170,205,228,.55);font-size:10px;
    letter-spacing:.08em;text-transform:uppercase;
}
.pc-cardno b{
    color:#c8ecff;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    font-size:14px;letter-spacing:.12em;font-weight:600;
}
.pc-copy-uid{
    align-self:stretch;padding:0 9px;border:1px solid rgba(125,211,252,.22);border-radius:7px;
    background:rgba(125,211,252,.07);color:#9fe8ff;font:inherit;font-size:10.5px;cursor:pointer;
}
.pc-copy-uid:hover{color:#03121a;background:#7dd3fc;border-color:#7dd3fc}
.pc-chip{
    display:inline-flex;align-items:center;gap:6px;
    padding:4px 11px;border-radius:999px;
    font-size:11.5px;font-weight:600;letter-spacing:.06em;white-space:nowrap;
    border:1px solid var(--pc-line);color:var(--pc-sub);background:rgba(255,255,255,.03);
}
.pc-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.9}
.pc-chip.is-stock,.pc-chip.is-issued{color:#7fe3ff;border-color:rgba(0,210,255,.35);background:rgba(0,210,255,.07)}
.pc-chip.is-active{color:#7ff0c4;border-color:rgba(53,224,161,.35);background:rgba(53,224,161,.08)}
.pc-chip.is-promo{color:#cdb9ff;border-color:rgba(167,139,250,.35);background:rgba(167,139,250,.08)}
.pc-chip.is-lost{color:#ffd68a;border-color:rgba(255,200,87,.38);background:rgba(255,200,87,.08)}
.pc-chip.is-danger{color:#ff9daa;border-color:rgba(255,107,129,.4);background:rgba(255,107,129,.09)}
.pc-chip.is-muted,.pc-chip.is-loading{color:#8b9ab0;border-color:var(--pc-line);background:rgba(255,255,255,.03)}

/* —— 面板 —— */
.pc-view{display:block}
.pc-panel{
    position:relative;
    padding:22px;
    border:1px solid var(--pc-line);
    border-radius:var(--pc-radius);
    background:
        linear-gradient(180deg,rgba(255,255,255,.042),rgba(255,255,255,.012)),
        var(--pc-panel);
    box-shadow:0 18px 48px rgba(0,0,0,.35);
    margin:0 0 16px;
}
.pc-panel:last-child{margin-bottom:0}
.pc-panel > h2{
    margin:0 0 8px;font-size:18px;line-height:1.5;color:#fff;font-weight:650;
}
.pc-panel > p{margin:0 0 12px;font-size:13.5px;line-height:1.8;color:var(--pc-sub)}
.pc-panel--loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:120px;color:var(--pc-sub);font-size:13.5px}
.pc-panel--loading p{margin:0}
.pc-panel--warn{border-color:rgba(255,200,87,.26);background:linear-gradient(180deg,rgba(255,200,87,.05),rgba(255,255,255,.012)),var(--pc-panel)}
.pc-panel--danger{border-color:rgba(255,107,129,.3);background:linear-gradient(180deg,rgba(255,107,129,.06),rgba(255,255,255,.012)),var(--pc-panel)}
.pc-panel--ok{border-color:rgba(53,224,161,.28);background:linear-gradient(180deg,rgba(53,224,161,.055),rgba(255,255,255,.012)),var(--pc-panel)}
.pc-panel--info{border-color:rgba(167,139,250,.26);background:linear-gradient(180deg,rgba(167,139,250,.05),rgba(255,255,255,.012)),var(--pc-panel)}
.pc-panel--muted{border-color:var(--pc-line)}
.pc-panel-head{margin:0 0 16px}
.pc-panel-head h2{margin:0 0 4px;font-size:17px;color:#fff;font-weight:650}
.pc-panel-head p{margin:0;font-size:12.5px;line-height:1.75;color:var(--pc-dim)}

/* —— 状态图标 —— */
.pc-state-icon{
    display:flex;align-items:center;justify-content:center;
    width:46px;height:46px;margin:0 0 14px;border-radius:14px;
    font-size:20px;font-weight:700;line-height:1;
    border:1px solid var(--pc-line);background:rgba(255,255,255,.04);color:var(--pc-sub);
}
.pc-state-icon.is-ok{color:var(--pc-green);border-color:rgba(53,224,161,.35);background:rgba(53,224,161,.1);box-shadow:0 0 30px rgba(53,224,161,.18)}
.pc-state-icon.is-warn{color:var(--pc-amber);border-color:rgba(255,200,87,.35);background:rgba(255,200,87,.09)}
.pc-state-icon.is-danger{color:var(--pc-red);border-color:rgba(255,107,129,.38);background:rgba(255,107,129,.1)}
.pc-state-icon.is-info{color:var(--pc-cyan);border-color:rgba(0,210,255,.32);background:rgba(0,210,255,.08)}

/* —— 按钮 —— */
.pc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.pc-btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    min-height:44px;padding:0 20px;border-radius:12px;
    border:1px solid var(--pc-line);
    background:rgba(255,255,255,.045);color:var(--pc-text) !important;
    font:inherit;font-size:14px;font-weight:600;letter-spacing:.01em;
    text-decoration:none;cursor:pointer;
    transition:transform .18s,border-color .18s,background .18s,box-shadow .18s,opacity .18s;
    -webkit-tap-highlight-color:transparent;
}
.pc-btn:hover{transform:translateY(-1px);border-color:rgba(0,210,255,.4);background:rgba(0,210,255,.08)}
.pc-btn:active{transform:translateY(0)}
.pc-btn:disabled,.pc-btn[disabled]{
    cursor:not-allowed;opacity:.45;transform:none;
    border-color:var(--pc-line);background:rgba(255,255,255,.03);
}
.pc-btn--primary{
    border-color:transparent;color:#04121a !important;
    background:linear-gradient(135deg,var(--pc-cyan),var(--pc-blue));
    box-shadow:0 10px 28px rgba(0,210,255,.22);
}
.pc-btn--primary:hover{box-shadow:0 14px 34px rgba(0,210,255,.3);background:linear-gradient(135deg,#37ddff,#4a8be4)}
.pc-btn--ghost{background:transparent}
.pc-btn--lg{min-height:50px;padding:0 28px;font-size:15px;border-radius:14px}
.pc-actions .pc-btn{flex:0 1 auto}

/* —— 表单 —— */
.pc-form{display:flex;flex-direction:column;gap:16px}
.pc-form .pc-panel{margin:0}
.pc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pc-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.pc-field--wide{grid-column:1 / -1}
.pc-field > span{
    font-size:12px;font-weight:600;letter-spacing:.02em;color:#aab6c8;
}
.pc-field input{
    width:100%;min-height:46px;padding:11px 14px;
    border-radius:12px;border:1px solid var(--pc-line);
    background:rgba(4,9,15,.62);color:var(--pc-text);
    font:inherit;font-size:16px;line-height:1.4;
    outline:none;transition:border-color .18s,box-shadow .18s,background .18s;
    -webkit-appearance:none;
}
.pc-field input::placeholder{color:#4f5d72}
.pc-field input:hover{border-color:rgba(132,164,204,.28)}
.pc-field input:focus{
    border-color:rgba(0,210,255,.65);
    box-shadow:0 0 0 3px rgba(0,210,255,.13);
    background:rgba(4,9,15,.85);
}
.pc-field input[aria-invalid="true"]{border-color:rgba(255,107,129,.6);box-shadow:0 0 0 3px rgba(255,107,129,.1)}

/* 凭证类型：只显示当前卡支持的一种，另一种置灰说明原因 */
.pc-seg{
    display:inline-flex;align-items:center;gap:4px;
    padding:4px;margin:0 0 16px;border-radius:12px;
    background:rgba(4,9,15,.55);border:1px solid var(--pc-line-2);
}
.pc-seg-btn{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:34px;padding:0 15px;border-radius:9px;
    font-size:12.5px;font-weight:600;color:var(--pc-sub);
}
.pc-seg-btn.is-on{
    color:#04121a;background:linear-gradient(135deg,var(--pc-cyan),var(--pc-blue));
    box-shadow:0 4px 14px rgba(0,210,255,.22);
}
.pc-seg-btn.is-off{color:#4f5d72;text-decoration:line-through;cursor:not-allowed;opacity:.75}

.pc-consent{
    display:flex;align-items:flex-start;gap:10px;
    margin:14px 0 0;font-size:12.5px;line-height:1.75;color:var(--pc-sub);
    cursor:pointer;
}
.pc-consent input{
    flex:none;width:17px;height:17px;margin:2px 0 0;
    accent-color:var(--pc-cyan);cursor:pointer;
}
.pc-consent a{text-decoration:underline;text-underline-offset:2px}
.pc-hint{margin:12px 0 0;font-size:12px;line-height:1.75;color:var(--pc-dim)}
.pc-verified{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
    padding:14px;border-radius:12px;
    border:1px solid rgba(53,224,161,.22);background:rgba(53,224,161,.05);
}
.pc-verified > div{display:flex;flex-direction:column;gap:4px;min-width:0}
.pc-verified span{font-size:11px;color:var(--pc-dim)}
.pc-verified b{
    font-size:13.5px;font-weight:600;color:#d8f7ea;
    font-family:var(--doc-mono,ui-monospace,Consolas,monospace);
    overflow-wrap:anywhere;
}
.pc-error{
    margin:0;padding:12px 14px;border-radius:12px;
    border:1px solid rgba(255,107,129,.34);background:rgba(255,107,129,.08);
    color:#ffb3bd;font-size:13px;line-height:1.7;
}
.pc-cred-split{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;align-items:stretch;margin-bottom:16px;
}
.pc-cred-split.is-portrait{grid-template-columns:minmax(0,.62fr) minmax(0,1fr)}
.pc-cred-split.is-portrait .pc-cred-3d{aspect-ratio:2 / 3;align-self:start;height:auto}
.pc-cred-3d{
    position:relative;width:100%;max-width:100%;min-width:0;min-height:0;
    border:1px solid rgba(125,211,252,.16);
    border-radius:14px;overflow:hidden;background:#080d14;
}
.pc-cred-3d iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:transparent}
.pc-cred-3d > span{
    position:absolute;left:12px;right:12px;bottom:9px;z-index:2;text-align:center;
    color:rgba(180,215,240,.55);font-size:10px;letter-spacing:.06em;pointer-events:none;
}
.pc-cred-main{min-width:0}
.pc-cred-main > .pc-panel{height:100%;display:flex;flex-direction:column}
.pc-hint--warn{margin-top:6px;padding:7px 9px;border-left:2px solid rgba(255,184,77,.65);border-radius:0 6px 6px 0;background:rgba(255,184,77,.07);color:#ffd49a!important}
.pc-submit-row{
    display:flex;align-items:center;gap:14px;flex-wrap:wrap;
    padding:4px 2px 2px;
}
.pc-submit-hint{font-size:12px;color:var(--pc-dim)}

/* —— 加载圈 —— */
.pc-spinner{
    width:20px;height:20px;border-radius:50%;flex:none;
    border:2px solid rgba(0,210,255,.22);border-top-color:var(--pc-cyan);
    animation:pc-spin .8s linear infinite;
}
@keyframes pc-spin{to{transform:rotate(360deg)}}

/* —— 页脚 —— */
.pc-foot{
    margin-top:26px;padding:18px 2px 0;
    border-top:1px solid var(--pc-line-2);
    font-size:12px;line-height:1.8;color:var(--pc-dim);
}
.pc-foot p{margin:0 0 4px}
.pc-foot-fine{color:#46536a}
.pc-foot a{color:var(--pc-sub);text-decoration:underline;text-underline-offset:2px}
.pc-foot a:hover{color:var(--pc-cyan)}

/* —— 响应式 —— */
@media (max-width:640px){
    body.page-doc.page-card{--pc-radius:16px}
    .pc-top{padding:16px 16px 6px;gap:6px}
    .pc-brand-t{display:flex;font-size:12px;white-space:nowrap}
    .pc-brand-t em{display:none}
    .pc-top-right{gap:5px}
    .pc-topnav{gap:0}
    .pc-topnav a,.pc-topnav .pc-topnav-btn{padding:5px 6px;font-size:10.5px;white-space:nowrap}
    .pc-user{padding:2px;gap:4px}
    .pc-user-avatar{width:23px;height:23px;font-size:10px}
    .pc-user-name{max-width:42px;font-size:10.5px}
    .pc-user-logout{display:inline-block;padding:0 2px;font-size:9px}
    .pc-cred-split{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
    .pc-cred-3d{width:100%;max-width:100%;height:300px}
    .pc-cred-split.is-portrait{grid-template-columns:minmax(0,1fr)}
    .pc-cred-split.is-portrait .pc-cred-3d{aspect-ratio:2 / 3;height:auto}
    .pc-cred-3d{min-height:300px}
    .pc-cred-3d iframe{min-height:300px}
    .pc-meta-item--uid b{font-size:20px}
    .pc-copy-uid{padding:0 7px;font-size:10px}
    .pc-main{padding:18px 16px 32px}
    .pc-hero{padding:10px 0 18px}
    .pc-lead{font-size:13.5px}
    .pc-panel{padding:18px 16px}
    .pc-grid{grid-template-columns:1fr}
    .pc-verified{grid-template-columns:1fr;gap:8px}
    .pc-actions .pc-btn{flex:1 1 auto}
    .pc-submit-row{flex-direction:column;align-items:stretch;gap:8px}
    .pc-submit-row .pc-btn{width:100%}
    .pc-submit-hint{text-align:center}
}
@media (prefers-reduced-motion:reduce){
    .pc-aurora i,.pc-pulse,.pc-spinner{animation:none !important}
    .pc-btn{transition:none}
}

/* ==========================================================================
   cards.css —— 实体卡管理 /admin/cards（仅 body.page-cards 生效）
   设计：沿用 page-admin 的深色控制台变量；表格 / 弹窗 / 详情抽屉 / 导出条
   ========================================================================== */
body.page-cards{
    min-height:100vh;
    background:
        radial-gradient(980px 520px at 8% -12%, rgba(0, 210, 255, .085), transparent 62%),
        radial-gradient(860px 480px at 100% 0, rgba(58, 123, 213, .10), transparent 58%),
        var(--admin-bg);
}
body.page-cards.cards-lock{
    overflow:hidden;
}
body.page-cards .cards-skip{
    position:fixed;
    top:8px;
    left:8px;
    z-index:2000;
    padding:8px 12px;
    border-radius:8px;
    background:#0d1824;
    color:var(--admin-text);
    transform:translateY(-160%);
    transition:transform .15s;
}
body.page-cards .cards-skip:focus{
    transform:translateY(0);
}
body.page-cards .cards-shell{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
body.page-cards.is-embed{
    min-height:0;
    background:transparent;
}
body.page-cards.is-embed .cards-shell{
    min-height:0;
}
body.page-cards .cards-topbar{
    border-bottom:1px solid var(--admin-line-soft);
    background:linear-gradient(180deg, rgba(13, 21, 31, .72), rgba(10, 14, 20, 0));
}
body.page-cards .cards-topbar-inner{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:34px clamp(22px, 4vw, 52px) 20px;
    display:flex;
    align-items:flex-end;
    gap:20px;
}
body.page-cards .cards-back{
    align-self:flex-start;
    margin-top:4px;
    color:var(--admin-sub);
    font-size:12px;
    white-space:nowrap;
}
body.page-cards .cards-back:hover{
    color:var(--admin-primary);
}
body.page-cards .cards-heading{
    min-width:0;
    flex:1 1 auto;
}
body.page-cards .cards-eyebrow{
    color:var(--admin-primary);
    font-family:var(--admin-mono);
    font-size:10px;
    letter-spacing:.18em;
}
body.page-cards .cards-heading h1{
    margin:2px 0 3px;
    font-size:clamp(22px, 2.3vw, 30px);
    line-height:1.25;
    letter-spacing:-.01em;
}
body.page-cards .cards-sub{
    color:var(--admin-muted);
    font-size:12px;
}
body.page-cards .cards-head-stat{
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
    padding:8px 14px;
    border:1px solid var(--admin-line-soft);
    border-radius:11px;
    background:rgba(13, 22, 32, .6);
}
body.page-cards .cards-head-stat span{
    color:var(--admin-sub);
    font-size:11px;
}
body.page-cards .cards-head-stat b{
    color:#dff8ff;
    font-family:var(--admin-mono);
    font-size:18px;
    line-height:1.2;
}
body.page-cards .cards-head-stat small{
    color:var(--admin-muted);
    font-size:10px;
    max-width:190px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.page-cards.is-embed .cards-topbar{
    display:none;
}
body.page-cards .cards-main{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:22px clamp(22px, 4vw, 52px) 44px;
    display:flex;
    flex-direction:column;
    gap:14px;
    flex:1 1 auto;
}
body.page-cards.is-embed .cards-main{
    /* 后台外壳已经提供左右留白；这里只保留上下间距，内容铺满 iframe */
    padding:0 0 24px;
    max-width:1180px;
}
/* —— 工具栏 —— */
body.page-cards .cards-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    padding:14px 16px;
    border:1px solid var(--admin-line);
    border-radius:var(--admin-radius);
    background:linear-gradient(180deg, rgba(19, 29, 41, .78), rgba(13, 20, 29, .64));
    box-shadow:0 10px 30px rgba(0, 0, 0, .18);
}
body.page-cards .cards-status-filter{
    flex:1 1 100%;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    padding:0 0 11px;
    border-bottom:1px solid var(--admin-line-soft);
}
body.page-cards .cards-status-tab{
    min-height:27px;
    padding:0 11px;
    border:1px solid transparent;
    border-radius:999px;
    background:rgba(255,255,255,.025);
    color:var(--admin-muted);
    font:inherit;
    font-size:11.5px;
    line-height:1;
    white-space:nowrap;
    cursor:pointer;
    transition:color .15s,border-color .15s,background .15s,transform .1s;
}
body.page-cards .cards-status-tab:hover{
    color:var(--admin-text);
    border-color:var(--admin-line);
    background:rgba(255,255,255,.055);
}
body.page-cards .cards-status-tab.is-active{
    color:#e5fcff;
    border-color:rgba(0,210,255,.48);
    background:rgba(0,210,255,.13);
    box-shadow:0 0 0 1px rgba(0,210,255,.05) inset;
}
body.page-cards .cards-status-tab:active{
    transform:scale(.96);
}
body.page-cards .cards-filters{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr)) minmax(220px, 1.35fr);
    align-items:end;
    gap:10px;
    min-width:0;
}
body.page-cards .cards-control{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:0;
    width:100%;
}
body.page-cards .cards-control select,
body.page-cards .cards-control input{
    width:100%;
}
body.page-cards .cards-search{
    width:100%;
    min-width:0;
}
body.page-cards .cards-search .cards-control{
    width:100%;
}
/* 原生下拉在 Windows 默认是白底；强制暗底 + 高亮选中项 */
body.page-cards select option,
body.page-cards .cards-field select option{
    background:#0b131d !important;
    color:#e6f3fb !important;
}
body.page-admin select option{
    background:#0b131d !important;
    color:#e6f3fb !important;
}
body.page-admin select option:checked{
    background:#17445c !important;
    color:#ffffff !important;
}
body.page-cards select option:checked,
body.page-cards .cards-field select option:checked{
    background:#17445c !important;
    color:#ffffff !important;
}
body.page-cards select:focus option:checked{
    background:#17445c !important;
    color:#ffffff !important;
}
/* 2026-11-05 选中的下拉框蓝色边框 + 单项重置 */
body.page-cards .cards-control select.is-filter-active{
    border-color:rgba(0,210,255,.72);
    box-shadow:0 0 0 2px rgba(0,210,255,.13);
    background:rgba(0,210,255,.045);
    padding-right:10px;
}
body.page-cards .cards-filter-reset{
    position:absolute;
    right:0;
    top:0;
    bottom:auto;
    z-index:2;
    width:18px;
    height:18px;
    padding:0;
    border:1px solid rgba(0,210,255,.38);
    border-radius:5px;
    background:rgba(0,210,255,.10);
    color:#9feaff;
    font:12px/1 -apple-system,"Microsoft YaHei",sans-serif;
    cursor:pointer;
}
body.page-cards .cards-control.has-filter > span{
    padding-right:24px;
}
body.page-cards .cards-filter-reset:hover{
    border-color:rgba(0,210,255,.72);
    background:rgba(0,210,255,.20);
    color:#fff;
}
body.page-cards .cards-control > span{
    color:var(--admin-muted);
    font-size:10.5px;
    letter-spacing:.02em;
}
body.page-cards .cards-control select,
body.page-cards .cards-control input,
body.page-cards .cards-field input,
body.page-cards .cards-field select{
    height:36px;
    min-width:0;
    padding:0 10px;
    border:1px solid var(--admin-line);
    border-radius:8px;
    outline:none;
    background:#0b131d;
    color:var(--admin-text);
    font-size:12.5px;
    color-scheme:dark;
    transition:border-color .15s, box-shadow .15s;
}
body.page-cards .cards-control select:focus,
body.page-cards .cards-control input:focus,
body.page-cards .cards-field input:focus,
body.page-cards .cards-field select:focus{
    border-color:rgba(0, 210, 255, .6);
    box-shadow:0 0 0 3px rgba(0, 210, 255, .10);
}
body.page-cards .cards-control--search{
    min-width:210px;
}
body.page-cards .cards-search{
    display:flex;
    align-items:flex-end;
    gap:8px;
}
body.page-cards .cards-search .cards-control{
    flex:1 1 auto;
}
body.page-cards .cards-search input{
    width:100%;
    min-width:170px;
}
body.page-cards .cards-search-field{
    position:relative;
    display:block;
    width:100%;
}
body.page-cards .cards-search-field .cards-search-ico{
    position:absolute;
    left:10px;
    top:50%;
    width:15px;
    height:15px;
    transform:translateY(-50%);
    color:var(--admin-muted);
    pointer-events:none;
    transition:color .15s;
}
body.page-cards .cards-search-field:focus-within .cards-search-ico{
    color:var(--admin-primary);
}
body.page-cards .cards-search-field input{
    padding-left:33px;
}
body.page-cards .cards-search-field input.is-invalid{
    border-color:rgba(255,95,112,.75);
    box-shadow:0 0 0 3px rgba(255,95,112,.10);
}
body.page-cards .cards-search-field input::-webkit-search-cancel-button{
    cursor:pointer;
}
/* —— 日期区间 —— */
body.page-cards .cards-control--date{
    position:relative;
    min-width:190px;
}
body.page-cards .cards-date-btn{
    height:36px;
    display:flex;
    align-items:center;
    gap:7px;
    width:100%;
    padding:0 30px 0 10px;
    border:1px solid var(--admin-line);
    border-radius:8px;
    outline:none;
    background:#0b131d;
    color:var(--admin-text);
    font:inherit;
    font-size:12.5px;
    text-align:left;
    cursor:pointer;
    transition:border-color .15s, box-shadow .15s, background .15s, color .15s;
}
body.page-cards .cards-date-btn svg{
    flex:0 0 auto;
    color:var(--admin-muted);
}
body.page-cards .cards-date-btn b{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-weight:500;
}
body.page-cards .cards-date-btn:hover,
body.page-cards .cards-date-btn:focus-visible{
    border-color:rgba(0,210,255,.55);
    box-shadow:0 0 0 3px rgba(0,210,255,.09);
}
body.page-cards .cards-date-btn.is-active{
    border-color:rgba(0,210,255,.55);
    color:#d8faff;
    background:rgba(0,210,255,.07);
}
body.page-cards .cards-date-btn.is-active svg{
    color:var(--admin-primary);
}
body.page-cards .cards-date-clear{
    position:absolute;
    top:22px;
    right:5px;
    width:26px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:var(--admin-muted);
    font-size:15px;
    line-height:1;
    cursor:pointer;
}
body.page-cards .cards-date-clear:hover{
    color:#fff;
}
body.page-cards .cards-cal{
    position:absolute;
    z-index:35;
    top:calc(100% + 8px);
    left:0;
    width:292px;
    padding:12px;
    border:1px solid rgba(0,210,255,.24);
    border-radius:12px;
    background:#0c1520;
    box-shadow:0 20px 55px rgba(0,0,0,.55);
}
body.page-cards .cards-cal[hidden]{
    display:none;
}
body.page-cards .cards-cal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:8px;
}
body.page-cards .cards-cal-head b{
    color:var(--admin-text);
    font-size:12.5px;
    font-weight:600;
}
body.page-cards .cards-cal-nav{
    width:28px;
    height:28px;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:var(--admin-muted);
    font-size:17px;
    line-height:1;
    cursor:pointer;
}
body.page-cards .cards-cal-nav:hover{
    color:#fff;
    border-color:var(--admin-line);
    background:rgba(255,255,255,.04);
}
body.page-cards .cards-cal-week,
body.page-cards .cards-cal-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:3px;
}
body.page-cards .cards-cal-week{
    margin-bottom:4px;
    color:var(--admin-muted);
    font-size:10px;
    text-align:center;
}
body.page-cards .cards-cal-day{
    height:30px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:var(--admin-sub);
    font:inherit;
    font-size:11.5px;
    cursor:pointer;
}
body.page-cards .cards-cal-day:hover{
    background:rgba(0,210,255,.10);
    color:#e9fcff;
}
body.page-cards .cards-cal-day.is-outside{
    opacity:.3;
}
body.page-cards .cards-cal-day{
    position:relative;
}
body.page-cards .cards-cal-day.is-today{
    box-shadow:inset 0 0 0 1px rgba(0,210,255,.5);
}
/* 2026-11-05 日期联动：过去/今天中亮；有卡日期加边框；未来深色且禁选 */
body.page-cards .cards-cal-day.is-past{
    background:rgba(255,255,255,.028);
    color:#91a6b6;
}
body.page-cards .cards-cal-day.has-cards{
    background:rgba(125,211,252,.20);
    box-shadow:inset 0 0 0 1px rgba(125,211,252,.62);
    color:#e4f8ff;
    font-weight:600;
}
body.page-cards .cards-cal-day.is-today:not(.has-cards){
    background:rgba(125,211,252,.10);
    box-shadow:none;
    color:#e6f8ff;
}
body.page-cards .cards-cal-day.is-future,
body.page-cards .cards-cal-day.is-future:hover{
    background:rgba(255,255,255,.012);
    box-shadow:none;
    color:#40515f;
    opacity:.36;
    cursor:not-allowed;
}
body.page-cards .cards-cal-day .cards-cal-count{
    position:absolute;
    right:3px;
    top:1px;
    color:#7dd3fc;
    font:600 8.5px/1.2 ui-monospace,Consolas,monospace;
    font-style:normal;
    pointer-events:none;
}
body.page-cards .cards-cal-day.is-start .cards-cal-count,
body.page-cards .cards-cal-day.is-end .cards-cal-count{
    color:#031018;
}
body.page-cards .cards-cal-day.is-in-range{
    border-radius:0;
    background:rgba(0,210,255,.13);
    color:#c7f8ff;
}
body.page-cards .cards-cal-day.is-start,
body.page-cards .cards-cal-day.is-end{
    border-radius:6px;
    background:linear-gradient(135deg, #21d9ff, #4f8fe4);
    color:#031018;
    font-weight:700;
}
body.page-cards .cards-cal-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:9px;
    padding-top:8px;
    border-top:1px solid var(--admin-line-soft);
}
body.page-cards .cards-cal-foot span{
    color:var(--admin-muted);
    font-size:10px;
    line-height:1.5;
}
body.page-cards .cards-cal-foot button{
    flex:0 0 auto;
    border:0;
    background:transparent;
    color:var(--admin-primary);
    font:inherit;
    font-size:11px;
    cursor:pointer;
}
body.page-cards .cards-cal-foot button:hover{
    text-decoration:underline;
}
/* —— 详情抽屉：二维码预览 —— */
body.page-cards .cards-qr-preview{
    width:236px;
    max-width:100%;
    margin:14px auto 6px;
    padding:12px 12px 9px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    border:1px solid rgba(125,211,252,.18);
    border-radius:12px;
    background:rgba(8,15,23,.72);
    color:var(--admin-sub);
}
body.page-cards .cards-qr-preview img{
    width:190px;
    height:190px;
    display:block;
    object-fit:contain;
}
body.page-cards .cards-qr-preview > span{
    color:var(--admin-muted);
    font-size:10px;
    line-height:1.45;
    text-align:center;
}
body.page-cards .cards-qr-loading{
    width:236px;
    max-width:100%;
    min-height:190px;
    margin:14px auto 6px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid rgba(125,211,252,.12);
    border-radius:12px;
    background:rgba(8,15,23,.5);
    color:var(--admin-muted);
    font-size:11px;
}
body.page-cards .cards-qr-loading .spinner{
    border-color:rgba(125,211,252,.18);
    border-top-color:#7dd3fc;
}
body.page-cards .cards-qr-error{
    width:236px;
    max-width:100%;
    margin:14px auto 6px;
    padding:14px 10px;
    border:1px solid rgba(255,95,112,.24);
    border-radius:12px;
    background:rgba(255,95,112,.06);
    color:#ffb8c1 !important;
    font-size:11.5px !important;
    text-align:center;
}
body.page-cards .cards-toolbar-actions{
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
}
/* —— 按钮 —— */
body.page-cards .cards-btn{
    min-height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 13px;
    border:1px solid var(--admin-line);
    border-radius:8px;
    background:rgba(18, 29, 41, .82);
    color:var(--admin-sub);
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    transition:border-color .15s, color .15s, background .15s, transform .12s, opacity .15s;
}
body.page-cards .cards-btn:hover:not(:disabled){
    border-color:rgba(0, 210, 255, .42);
    color:var(--admin-text);
    background:rgba(21, 37, 53, .95);
}
body.page-cards .cards-btn:active:not(:disabled){
    transform:translateY(1px);
}
body.page-cards .cards-btn:disabled{
    opacity:.42;
    cursor:not-allowed;
}
body.page-cards .cards-btn--primary{
    border-color:rgba(0, 210, 255, .45);
    background:linear-gradient(135deg, rgba(0, 210, 255, .92), rgba(58, 123, 213, .92));
    color:#041019;
    text-shadow:0 1px 0 rgba(255, 255, 255, .22);
    box-shadow:0 8px 20px rgba(0, 170, 220, .17);
}
body.page-cards .cards-btn--primary:hover:not(:disabled){
    border-color:#61e7ff;
    background:linear-gradient(135deg, #20dcff, #4f8fe4);
    color:#020b12;
}
body.page-cards .cards-btn--ghost{
    background:transparent;
}
body.page-cards .cards-btn--danger{
    border-color:rgba(255, 95, 112, .38);
    background:rgba(255, 95, 112, .09);
    color:#ffb5bd;
}
body.page-cards .cards-btn--danger:hover:not(:disabled){
    border-color:rgba(255, 95, 112, .7);
    background:rgba(255, 95, 112, .16);
    color:#ffd8dc;
}
body.page-cards .cards-btn--small{
    min-height:28px;
    padding:0 10px;
    font-size:11.5px;
}
body.page-cards .cards-refresh-ico{
    font-size:14px;
    line-height:1;
}
/* —— 列表面板 —— */
body.page-cards .cards-panel{
    border:1px solid var(--admin-line);
    border-radius:var(--admin-radius);
    background:linear-gradient(180deg, rgba(17, 27, 39, .82), rgba(11, 18, 27, .76));
    box-shadow:0 18px 44px rgba(0, 0, 0, .20);
    overflow:hidden;
}
body.page-cards .cards-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    padding:14px 16px;
    border-bottom:1px solid var(--admin-line-soft);
}
body.page-cards .cards-panel-title{
    display:flex;
    align-items:baseline;
    gap:10px;
    min-width:0;
}
body.page-cards .cards-panel-title h2{
    font-size:14px;
    letter-spacing:.01em;
}
body.page-cards .cards-summary{
    color:var(--admin-muted);
    font-family:var(--admin-mono);
    font-size:10.5px;
}
body.page-cards .cards-export{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
body.page-cards .cards-selected{
    color:var(--admin-muted);
    font-size:11px;
    margin-right:2px;
}
body.page-cards .cards-inline-error{
    margin:12px 16px 0;
    padding:10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border:1px solid rgba(255, 95, 112, .32);
    border-radius:9px;
    background:rgba(255, 95, 112, .07);
    color:#ffc4ca;
    font-size:12px;
}
body.page-cards .cards-table-wrap{
    width:100%;
    overflow:auto;
}
body.page-cards .cards-table{
    width:100%;
    min-width:840px;
    border-collapse:collapse;
    table-layout:fixed;
}
body.page-cards .cards-table th{
    padding:10px 12px;
    border-bottom:1px solid var(--admin-line);
    background:#0b131d;
    color:var(--admin-muted);
    font-size:10.5px;
    font-weight:600;
    letter-spacing:.03em;
    text-align:left;
    white-space:nowrap;
}
body.page-cards .cards-table td{
    padding:11px 12px;
    border-bottom:1px solid var(--admin-line-soft);
    color:var(--admin-sub);
    font-size:12px;
    vertical-align:middle;
}
body.page-cards .cards-table tbody tr{
    transition:background .12s;
}
body.page-cards .cards-table tbody tr:hover{
    background:rgba(0, 210, 255, .035);
}
body.page-cards .cards-table tbody tr:last-child td{
    border-bottom:0;
}
body.page-cards .cards-col-check{
    width:42px;
    padding-left:16px !important;
    padding-right:4px !important;
}
.cards-source{display:inline-flex;align-items:center;padding:2px 7px;border-radius:5px;font-size:10px;white-space:nowrap}
.cards-source.is-gift{color:#ffd18a;background:rgba(255,184,77,.1);border:1px solid rgba(255,184,77,.25)}
.cards-source.is-sale{color:#9fdcff;background:rgba(125,211,252,.08);border:1px solid rgba(125,211,252,.2)}
body.page-cards .cards-col-ops{
    width:138px;
    text-align:right !important;
    padding-right:16px !important;
}
body.page-cards .cards-check{
    width:15px;
    height:15px;
    margin:0;
    accent-color:var(--admin-primary);
    cursor:pointer;
    vertical-align:middle;
}
body.page-cards .cards-uid{
    padding:0;
    border:0;
    background:transparent;
    color:#d7f5ff;
    font-family:var(--admin-mono);
    font-size:12px;
    letter-spacing:.04em;
}
body.page-cards .cards-uid:hover{
    color:var(--admin-primary);
    text-decoration:underline;
    text-underline-offset:3px;
}
body.page-cards .cards-mono{
    font-family:var(--admin-mono);
    font-size:11.5px;
    letter-spacing:.01em;
}
body.page-cards .cards-time{
    color:var(--admin-muted);
    font-family:var(--admin-mono);
    font-size:11px;
    white-space:nowrap;
}
body.page-cards .cards-bind-cell small{
    color:var(--admin-muted);
    font-family:var(--admin-mono);
    font-size:10px;
}
body.page-cards .cards-muted{
    color:var(--admin-muted);
    font-size:11.5px;
}
body.page-cards .cards-linkbtn{
    padding:2px 4px;
    border:0;
    background:transparent;
    color:var(--admin-primary);
    font-size:11.5px;
}
body.page-cards .cards-linkbtn + .cards-linkbtn{
    margin-left:9px;
}
body.page-cards .cards-linkbtn:hover{
    color:#93efff;
    text-decoration:underline;
    text-underline-offset:3px;
}
body.page-cards .cards-state{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:2px 8px;
    border:1px solid var(--admin-line);
    border-radius:999px;
    font-size:10.5px;
    line-height:1.55;
    white-space:nowrap;
}
body.page-cards .cards-state::before{
    content:"";
    width:5px;
    height:5px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 7px currentColor;
}
body.page-cards .cards-state.is-stock{color:#9fb1c5;border-color:rgba(159,177,197,.24);background:rgba(159,177,197,.07)}
body.page-cards .cards-state.is-issued{color:#6cd8ff;border-color:rgba(108,216,255,.3);background:rgba(108,216,255,.07)}
body.page-cards .cards-state.is-active{color:#5ce3b4;border-color:rgba(92,227,180,.32);background:rgba(92,227,180,.07)}
body.page-cards .cards-state.is-promo{color:#b7a2ff;border-color:rgba(183,162,255,.3);background:rgba(183,162,255,.07)}
body.page-cards .cards-state.is-vip{color:#ffe0a3;border-color:rgba(245,190,80,.55);background:rgba(245,190,80,.12)}
body.page-cards .cards-state.is-lost{color:#ffc45c;border-color:rgba(255,196,92,.32);background:rgba(255,196,92,.07)}
body.page-cards .cards-state.is-replaced{color:#8c9aac;border-color:rgba(140,154,172,.25);background:rgba(140,154,172,.06)}
body.page-cards .cards-state.is-flagged{color:#ff8492;border-color:rgba(255,132,146,.4);background:rgba(255,132,146,.09)}
body.page-cards .cards-state.is-revoked{color:#ff6b7d;border-color:rgba(255,107,125,.36);background:rgba(255,107,125,.07)}
body.page-cards .cards-loading{
    min-height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:var(--admin-muted);
    font-size:12px;
}
body.page-cards .cards-empty{
    padding:56px 20px 48px;
    text-align:center;
}
body.page-cards .cards-empty-icon{
    width:54px;
    height:54px;
    margin:0 auto 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px dashed var(--admin-line);
    border-radius:50%;
    color:var(--admin-muted);
    font-size:23px;
}
body.page-cards .cards-empty h2{
    font-size:14px;
}
body.page-cards .cards-empty p{
    margin:6px 0 16px;
    color:var(--admin-muted);
    font-size:12px;
}
body.page-cards .cards-pager{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 16px;
    border-top:1px solid var(--admin-line-soft);
    background:rgba(9, 15, 22, .35);
}
body.page-cards .cards-page-info{
    color:var(--admin-muted);
    font-family:var(--admin-mono);
    font-size:10.5px;
}
body.page-cards .cards-page-btns{
    display:flex;
    gap:7px;
}
/* —— 弹窗 —— */
body.page-cards .cards-modal,
body.page-cards .cards-drawer{
    position:fixed;
    inset:0;
    z-index:1200;
    display:flex;
}
body.page-cards .cards-modal[hidden],
body.page-cards .cards-drawer[hidden]{
    display:none;
}
body.page-cards .cards-modal-mask,
body.page-cards .cards-drawer-mask{
    position:absolute;
    inset:0;
    background:rgba(3, 7, 12, .68);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    animation:cards-fade .16s ease-out;
}
body.page-cards .cards-modal-box{
    position:relative;
    z-index:1;
    width:min(680px, calc(100vw - 32px));
    max-width:calc(100vw - 32px);
    /* ★ 2026-11-05：最大高度按真实浏览器视口（88dvh），头尾固定、中间滚动；
       嵌入 /admin 时子页面会把 iframe 临时 fixed 到视口，100dvh 才是真视口 */
    max-height:min(88vh, calc(100dvh - 24px));
    margin:auto;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid var(--admin-line);
    border-radius:16px;
    background:
        linear-gradient(180deg, rgba(22, 34, 48, .98), rgba(12, 20, 30, .99));
    box-shadow:0 30px 80px rgba(0, 0, 0, .58);
    animation:cards-pop .18s ease-out;
}
/* 批量制卡：form 是 box 的中间层，必须一起参与 flex 高度分配 */
body.page-cards .cards-modal-box > form{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
}
body.page-cards .cards-modal-head{
    flex:0 0 auto;
}
body.page-cards .cards-modal-head,
body.page-cards .cards-drawer-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:18px 20px 14px;
    border-bottom:1px solid var(--admin-line-soft);
}
body.page-cards .cards-modal-head h2,
body.page-cards .cards-drawer-head h2{
    font-size:17px;
}
body.page-cards .cards-modal-head .cards-eyebrow,
body.page-cards .cards-drawer-head .cards-eyebrow{
    margin-bottom:2px;
    font-size:9px;
}
body.page-cards .cards-x{
    width:30px;
    height:30px;
    flex:0 0 auto;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:var(--admin-muted);
    font-size:19px;
    line-height:1;
    transition:background .15s, color .15s, border-color .15s;
}
body.page-cards .cards-x:hover{
    border-color:var(--admin-line);
    background:rgba(255, 255, 255, .04);
    color:var(--admin-text);
}
body.page-cards .cards-modal-body{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:18px 20px;
}
body.page-cards .cards-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
body.page-cards .cards-field[hidden]{
    display:none !important;
}
body.page-cards .cards-field{
    display:flex;
    flex-direction:column;
    gap:6px;
}
body.page-cards .cards-type-pick{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
body.page-cards .cards-type-pick label{
    position:relative;
    display:flex;
    align-items:center;
    gap:9px;
    min-height:46px;
    padding:8px 10px;
    border:1px solid var(--admin-line);
    border-radius:8px;
    background:#0b131d;
    cursor:pointer;
}
body.page-cards .cards-type-pick input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
body.page-cards .cards-type-pick b{
    display:block;
    font-size:12.5px;
    color:var(--admin-text);
}
body.page-cards .cards-type-pick small{
    display:block;
    margin-top:3px;
    font-size:10.5px;
    color:var(--admin-muted);
}
body.page-cards .cards-type-pick label:has(input:checked){
    border-color:rgba(0,210,255,.65);
    background:rgba(0,210,255,.07);
    box-shadow:0 0 0 2px rgba(0,210,255,.10);
}
body.page-cards .cards-type-pick label:has(input:checked) b{color:#d8faff}
body.page-cards .cards-promo-tier{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:9px;
    padding:9px;
    border:1px dashed rgba(125,211,252,.22);
    border-radius:8px;
    background:rgba(0,210,255,.025);
}
body.page-cards .cards-promo-tier[hidden]{display:none !important}
body.page-cards .cards-promo-label{
    grid-column:1 / -1;
    color:var(--admin-muted);
    font-size:10.5px;
}
body.page-cards .cards-promo-tier label{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:40px;
    padding:7px 9px;
    border:1px solid var(--admin-line);
    border-radius:7px;
    background:#0b131d;
    cursor:pointer;
}
body.page-cards .cards-promo-tier input{position:absolute;opacity:0;pointer-events:none}
body.page-cards .cards-promo-tier b{display:block;font-size:12px;color:var(--admin-text)}
body.page-cards .cards-promo-tier small{display:block;margin-top:2px;font-size:10px;color:var(--admin-muted)}
body.page-cards .cards-promo-tier label:has(input[value="free"]:checked){
    border-color:rgba(203,213,225,.55);
    background:rgba(203,213,225,.08);
}
body.page-cards .cards-promo-tier label:has(input[value="vip"]:checked){
    border-color:rgba(245,190,80,.78);
    background:rgba(245,190,80,.09);
    box-shadow:0 0 0 2px rgba(245,190,80,.10);
}
body.page-cards .cards-promo-tier label:has(input[value="vip"]:checked) b{color:#ffe0a3}
body.page-cards .cards-field > span{
    color:var(--admin-sub);
    font-size:11.5px;
}
body.page-cards .cards-field > span em{
    margin-left:5px;
    color:var(--admin-muted);
    font-size:10px;
    font-style:normal;
}
body.page-cards .cards-field input,
body.page-cards .cards-field select{
    height:38px;
    width:100%;
}
body.page-cards .cards-field select option{
    background:#0b131d;
}
body.page-cards .cards-form-note{
    margin-top:14px;
    padding:10px 12px;
    border:1px solid var(--admin-line-soft);
    border-radius:8px;
    background:rgba(0, 210, 255, .025);
    color:var(--admin-muted);
    font-size:11px;
    line-height:1.75;
}
body.page-cards .cards-form-note code{
    color:#9feaff;
    font-family:var(--admin-mono);
}
body.page-cards .cards-form-error{
    margin-top:10px;
    padding:8px 10px;
    border:1px solid rgba(255, 95, 112, .32);
    border-radius:7px;
    background:rgba(255, 95, 112, .07);
    color:#ffb4bc;
    font-size:11.5px;
}
body.page-cards .cards-modal-foot{
    flex:0 0 auto;
    display:flex;
    justify-content:flex-end;
    gap:9px;
    padding:14px 20px 18px;
    border-top:1px solid var(--admin-line-soft);
}
/* —— 详情抽屉 —— */
body.page-cards .cards-drawer{
    z-index:1300;
    justify-content:flex-end;
}
body.page-cards .cards-drawer-panel{
    position:relative;
    z-index:1;
    width:min(560px, 100vw);
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-left:1px solid var(--admin-line);
    background:
        linear-gradient(180deg, rgba(16, 26, 38, .995), rgba(9, 15, 23, .995));
    box-shadow:-30px 0 80px rgba(0, 0, 0, .55);
    animation:cards-slide .2s ease-out;
}
body.page-cards .cards-drawer-head{
    flex:0 0 auto;
    padding:18px 20px 15px;
}
body.page-cards .cards-drawer-body{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    padding:0 20px 34px;
}
body.page-cards .cards-detail-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    padding:16px 0 14px;
    border-bottom:1px solid var(--admin-line-soft);
}
body.page-cards .cards-detail-uid{
    display:flex;
    align-items:baseline;
    gap:8px;
}
body.page-cards .cards-detail-uid span{
    color:var(--admin-muted);
    font-size:10px;
    letter-spacing:.08em;
}
body.page-cards .cards-detail-uid b{
    color:#e5f9ff;
    font-family:var(--admin-mono);
    font-size:16px;
    letter-spacing:.05em;
}
body.page-cards .cards-detail-badges{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
}
body.page-cards .cards-batch{
    padding:2px 8px;
    border:1px solid var(--admin-line);
    border-radius:6px;
    color:var(--admin-muted);
    font-family:var(--admin-mono);
    font-size:10px;
}
body.page-cards .cards-detail-section{
    padding:16px 0;
    border-bottom:1px solid var(--admin-line-soft);
}
body.page-cards .cards-detail-section:last-child{
    border-bottom:0;
}
body.page-cards .cards-detail-section h3{
    margin-bottom:5px;
    color:var(--admin-text);
    font-size:12.5px;
    font-weight:650;
}
body.page-cards .cards-detail-section h3 em{
    margin-left:6px;
    color:var(--admin-muted);
    font-size:10px;
    font-style:normal;
    font-weight:400;
}
body.page-cards .cards-detail-hint{
    margin-bottom:10px;
    color:var(--admin-muted);
    font-size:11px;
}
body.page-cards .cards-state-actions{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}
body.page-cards .cards-kv-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1px;
    margin-top:9px;
    border:1px solid var(--admin-line-soft);
    border-radius:9px;
    overflow:hidden;
    background:var(--admin-line-soft);
}
body.page-cards .cards-kv{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:9px 11px;
    background:#0b131d;
}
body.page-cards .cards-kv > span{
    color:var(--admin-muted);
    font-size:10px;
}
body.page-cards .cards-kv > b{
    min-width:0;
    color:var(--admin-sub);
    font-size:11.5px;
    font-weight:500;
    overflow-wrap:anywhere;
}
body.page-cards .cards-kv > b.cards-mono{
    font-size:11px;
    color:#c9e8f3;
}
body.page-cards .cards-url-box{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    margin-top:11px;
    padding:9px 10px;
    border:1px solid var(--admin-line-soft);
    border-radius:8px;
    background:rgba(0, 210, 255, .022);
}
body.page-cards .cards-url-box > span{
    flex:0 0 auto;
    color:var(--admin-muted);
    font-size:10px;
}
body.page-cards .cards-url-box code{
    flex:1 1 220px;
    min-width:0;
    color:#9feaff;
    font-family:var(--admin-mono);
    font-size:10px;
    line-height:1.55;
    overflow-wrap:anywhere;
}
body.page-cards .cards-detail-tools{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
}
body.page-cards .cards-mini-table-wrap{
    margin-top:9px;
    max-height:260px;
    overflow:auto;
    border:1px solid var(--admin-line-soft);
    border-radius:9px;
}
body.page-cards .cards-mini-table{
    width:100%;
    border-collapse:collapse;
    font-size:10.5px;
}
body.page-cards .cards-mini-table th{
    position:sticky;
    top:0;
    z-index:1;
    padding:7px 8px;
    border-bottom:1px solid var(--admin-line);
    background:#0b131d;
    color:var(--admin-muted);
    font-weight:600;
    text-align:left;
    white-space:nowrap;
}
body.page-cards .cards-mini-table td{
    padding:7px 8px;
    border-bottom:1px solid var(--admin-line-soft);
    color:var(--admin-sub);
    vertical-align:top;
    overflow-wrap:anywhere;
}
body.page-cards .cards-mini-table tr:last-child td{
    border-bottom:0;
}
/* —— 导出进度 —— */
body.page-cards .cards-progress{
    position:fixed;
    left:50%;
    bottom:76px;
    z-index:1500;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 15px;
    border:1px solid rgba(0, 210, 255, .3);
    border-radius:9px;
    background:rgba(7, 13, 20, .96);
    color:#bfeaf7;
    box-shadow:0 14px 40px rgba(0, 0, 0, .5);
    font-size:12px;
    transform:translateX(-50%);
}
body.page-cards .cards-progress .spinner{
    width:16px;
    height:16px;
}
@keyframes cards-fade{
    from{opacity:0}
    to{opacity:1}
}
@keyframes cards-pop{
    from{opacity:0;transform:translateY(8px) scale(.985)}
    to{opacity:1;transform:none}
}
@keyframes cards-slide{
    from{transform:translateX(24px);opacity:.55}
    to{transform:none;opacity:1}
}
@media (max-width:1200px) and (min-width:901px){
    body.page-cards .cards-filters{
        grid-template-columns:repeat(5, minmax(0, 1fr));
    }
    body.page-cards .cards-search{
        grid-column:1 / -1;
    }
}
@media (max-width:900px){
    body.page-cards .cards-toolbar{
        align-items:stretch;
    }
    body.page-cards .cards-filters{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
    body.page-cards .cards-search{
        grid-column:1 / -1;
    }
    body.page-cards .cards-control{
        flex:none;
    }
    body.page-cards .cards-search{
        flex:2 1 300px;
    }
    body.page-cards .cards-search .cards-control{
        flex:1 1 auto;
    }
    body.page-cards .cards-toolbar-actions{
        justify-content:flex-end;
    }
    body.page-cards .cards-form-grid{
        grid-template-columns:1fr;
    }
}
@media (max-width:640px){
    body.page-cards .cards-control--date{
        flex:1 1 100%;
        min-width:0;
    }
    body.page-cards .cards-cal{
        width:min(292px, calc(100vw - 32px));
    }
    body.page-cards .cards-topbar-inner{
        padding:18px 16px 14px;
        align-items:flex-start;
    }
    body.page-cards .cards-back{
        margin-top:2px;
    }
    body.page-cards .cards-main{
        padding:14px 16px 32px;
    }
    body.page-cards.is-embed .cards-main{
        padding-left:0;
        padding-right:0;
    }
    body.page-cards .cards-panel-head{
        align-items:flex-start;
        flex-direction:column;
    }
    body.page-cards .cards-export{
        width:100%;
    }
    body.page-cards .cards-export .cards-btn{
        flex:1 1 auto;
    }
    body.page-cards .cards-control{
        min-width:0;
    }
    body.page-cards .cards-search{
        width:100%;
        flex-wrap:wrap;
    }
    body.page-cards .cards-search .cards-btn{
        width:100%;
    }
    body.page-cards .cards-pager{
        align-items:flex-start;
        flex-direction:column;
    }
    body.page-cards .cards-drawer-panel{
        width:100%;
    }
    body.page-cards .cards-kv-grid{
        grid-template-columns:1fr;
    }
    body.page-cards .cards-modal-box{
        width:calc(100vw - 20px);
        max-width:calc(100vw - 20px);
        max-height:calc(100dvh - 20px);
    }
}
@media (prefers-reduced-motion:reduce){
    body.page-cards .cards-modal-mask,
    body.page-cards .cards-drawer-mask,
    body.page-cards .cards-modal-box,
    body.page-cards .cards-drawer-panel{
        animation:none;
    }
}

body.page-admin.fb-detail-open{overflow:hidden}

/* ==========================================================================
   功能路线图 · 开工文档 / 测试报告入口（2026-11-04）
   —— 列头右上角两个小链接；文档页复用 body.page-doc 的阅读样式。
   本文件是站点唯一 CSS 入口，新增样式全部按 body class 隔离。
   ========================================================================== */
body.page-roadmap .rm-col-ver.is-none{
    color:var(--rm-dim);
    opacity:.72;
}
body.page-roadmap .rm-col-docs{
    display:flex;
    align-items:center;
    gap:9px;
    margin:-1px 0 1px;
    font-size:11px;
    line-height:1.5;
    white-space:nowrap;
}
body.page-roadmap .rm-doc-link{
    color:var(--rm-dim);
    text-decoration:none;
    border-bottom:1px dashed rgba(255,255,255,.18);
    transition:color .15s ease,border-color .15s ease;
}
body.page-roadmap .rm-doc-link:hover,
body.page-roadmap .rm-doc-link:focus-visible{
    color:var(--rm-accent);
    border-bottom-color:rgba(0,210,255,.55);
}
body.page-roadmap .rm-doc-link + .rm-doc-link::before{
    content:"·";
    margin-right:9px;
    color:rgba(255,255,255,.22);
    border:0;
}

/* —— 列头按钮（替换原文字链接）：有边框、hover 变色、按下缩放 —— */
body.page-roadmap .rm-doc-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:23px;
    padding:0 8px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:6px;
    background:rgba(255,255,255,.035);
    color:var(--rm-dim);
    font:inherit;
    font-size:10.5px;
    line-height:1;
    white-space:nowrap;
    cursor:pointer;
    transition:color .15s ease,border-color .15s ease,background .15s ease,transform .1s ease;
}
body.page-roadmap .rm-doc-btn:hover,
body.page-roadmap .rm-doc-btn:focus-visible{
    color:#9fe8ff;
    border-color:rgba(0,210,255,.55);
    background:rgba(0,210,255,.10);
    outline:none;
}
body.page-roadmap .rm-doc-btn:active{
    transform:scale(.94);
    color:#04121a;
    border-color:var(--rm-accent);
    background:var(--rm-accent);
}

/* —— 文档弹窗：头尾固定、正文独立滚动 —— */
body.page-roadmap .docmodal{
    z-index:520;
    padding:18px;
}
body.page-roadmap .docmodal .rmodal-mask{
    background:rgba(3,6,10,.78);
}
body.page-roadmap .docmodal-box{
    width:min(980px,100%);
    height:min(88vh,860px);
    max-width:980px;
    max-height:92vh;
    overflow:hidden;
}
body.page-roadmap .docmodal-head{
    flex:0 0 auto;
    align-items:flex-start;
    padding:16px 22px 14px;
    background:linear-gradient(180deg,rgba(20,31,43,.98),rgba(13,20,29,.98));
}
body.page-roadmap .docmodal-heading{
    min-width:0;
    flex:1 1 auto;
}
body.page-roadmap .docmodal-eyebrow{
    margin:0 0 4px;
    color:var(--rm-accent);
    font-family:var(--rm-mono,monospace);
    font-size:9.5px;
    letter-spacing:.16em;
    opacity:.78;
}
body.page-roadmap .docmodal-head h2{
    margin:0;
    color:var(--rm-bright);
    font-size:18px;
    line-height:1.35;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.page-roadmap .docmodal-meta{
    display:flex;
    flex-wrap:wrap;
    gap:4px 14px;
    margin:5px 0 0;
    color:var(--rm-dim);
    font-size:10.5px;
    line-height:1.5;
}
body.page-roadmap .docmodal-meta span::before{
    content:"·";
    margin-right:6px;
    color:rgba(255,255,255,.22);
}
body.page-roadmap .docmodal-meta span:first-child::before{
    content:none;
    margin:0;
}
body.page-roadmap .docmodal .rmodal-x{
    flex:0 0 auto;
    margin-top:1px;
}
body.page-roadmap .docmodal-body{
    flex:1 1 auto;
    min-height:0;
    padding:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.18) transparent;
    background:var(--rm-card);
}
body.page-roadmap .docmodal-body::-webkit-scrollbar{
    width:10px;
}
body.page-roadmap .docmodal-body::-webkit-scrollbar-thumb{
    border:3px solid var(--rm-card);
    border-radius:10px;
    background:rgba(255,255,255,.18);
}
body.page-roadmap .docmodal-loading{
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:var(--rm-dim);
    font-size:12px;
}
body.page-roadmap .docmodal-content{
    padding:24px 28px 34px;
    color:var(--rm-text);
    font-size:13.5px;
    line-height:1.85;
    overflow-wrap:anywhere;
}
body.page-roadmap .docmodal-content .doc-section + .doc-section{
    margin-top:7px;
}
body.page-roadmap .docmodal-content h2{
    margin:25px 0 9px;
    padding-bottom:7px;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:var(--rm-bright);
    font-size:18px;
    line-height:1.4;
    letter-spacing:-.01em;
}
body.page-roadmap .docmodal-content .doc-section:first-child h2{
    margin-top:0;
}
body.page-roadmap .docmodal-content h3{
    margin:20px 0 7px;
    color:#dff8ff;
    font-size:15px;
    line-height:1.5;
}
body.page-roadmap .docmodal-content h4{
    margin:16px 0 6px;
    color:var(--rm-bright);
    font-size:13.5px;
}
body.page-roadmap .docmodal-content p{
    margin:9px 0;
}
body.page-roadmap .docmodal-content strong{
    color:#f2fbff;
}
body.page-roadmap .docmodal-content a{
    color:var(--rm-accent);
    text-decoration:underline;
    text-underline-offset:2px;
}
body.page-roadmap .docmodal-content ul,
body.page-roadmap .docmodal-content ol{
    margin:8px 0 12px;
    padding-left:22px;
}
body.page-roadmap .docmodal-content li{
    margin:3px 0;
}
body.page-roadmap .docmodal-content li::marker{
    color:var(--rm-accent);
}
body.page-roadmap .docmodal-content blockquote{
    margin:12px 0;
    padding:9px 14px;
    border-left:3px solid rgba(0,210,255,.55);
    border-radius:0 8px 8px 0;
    background:rgba(0,210,255,.055);
    color:var(--rm-sub);
}
body.page-roadmap .docmodal-content blockquote p{
    margin:0;
}
body.page-roadmap .docmodal-content hr{
    margin:22px 0;
    border:0;
    border-top:1px solid rgba(255,255,255,.09);
}
body.page-roadmap .docmodal-content code{
    padding:1.5px 5px;
    border:1px solid rgba(0,210,255,.16);
    border-radius:5px;
    background:rgba(0,210,255,.07);
    color:#a9edff;
    font-family:var(--rm-mono,monospace);
    font-size:.9em;
}
body.page-roadmap .docmodal-content pre{
    margin:12px 0 16px;
    padding:13px 15px;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.09);
    border-radius:9px;
    background:#080d14;
    line-height:1.65;
}
body.page-roadmap .docmodal-content pre code{
    padding:0;
    border:0;
    background:transparent;
    color:#c8e6f0;
    font-size:12px;
    white-space:pre;
}
body.page-roadmap .docmodal-content .doc-table{
    margin:12px 0 16px;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.09);
    border-radius:9px;
}
body.page-roadmap .docmodal-content table{
    width:100%;
    border-collapse:collapse;
    font-size:12.5px;
}
body.page-roadmap .docmodal-content th,
body.page-roadmap .docmodal-content td{
    padding:7px 10px;
    border-bottom:1px solid rgba(255,255,255,.07);
    text-align:left;
    vertical-align:top;
}
body.page-roadmap .docmodal-content th{
    background:rgba(255,255,255,.04);
    color:#dff8ff;
    font-weight:600;
    white-space:nowrap;
}
body.page-roadmap .docmodal-content tr:last-child td{
    border-bottom:0;
}
body.page-roadmap .docmodal-content td code{
    white-space:nowrap;
}
body.page-roadmap .docmodal-empty{
    min-height:300px;
    padding:60px 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-align:center;
}
body.page-roadmap .docmodal-empty b{
    color:var(--rm-bright);
    font-size:15px;
}
body.page-roadmap .docmodal-empty p{
    margin:0;
    color:var(--rm-dim);
    font-size:12px;
    line-height:1.7;
}
body.page-roadmap .docmodal-editor{
    padding:20px 24px 28px;
}
body.page-roadmap .docmodal-editor-head{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:6px 12px;
    margin-bottom:15px;
}
body.page-roadmap .docmodal-editor-head b{
    color:var(--rm-bright);
    font-size:13.5px;
}
body.page-roadmap .docmodal-editor-head span{
    color:var(--rm-dim);
    font-size:10.5px;
}
body.page-roadmap .docmodal-field{
    display:block;
    margin-bottom:14px;
}
body.page-roadmap .docmodal-field > span{
    display:block;
    margin-bottom:6px;
    color:var(--rm-sub);
    font-size:11.5px;
}
body.page-roadmap .docmodal-field input,
body.page-roadmap .docmodal-field textarea{
    width:100%;
    border:1px solid var(--rm-border);
    border-radius:8px;
    outline:none;
    background:#0a121b;
    color:var(--rm-text);
    font:inherit;
    font-size:12.5px;
    transition:border-color .15s,box-shadow .15s;
}
body.page-roadmap .docmodal-field input{
    height:38px;
    padding:0 11px;
}
body.page-roadmap .docmodal-field textarea{
    min-height:330px;
    padding:11px 12px;
    resize:vertical;
    line-height:1.7;
    font-family:var(--rm-mono,monospace);
    font-size:12px;
    tab-size:4;
}
body.page-roadmap .docmodal-field input:focus,
body.page-roadmap .docmodal-field textarea:focus{
    border-color:rgba(0,210,255,.55);
    box-shadow:0 0 0 3px rgba(0,210,255,.09);
}
body.page-roadmap .docmodal-err{
    margin:10px 0 0;
    padding:8px 10px;
    border:1px solid rgba(255,95,112,.35);
    border-radius:7px;
    background:rgba(255,95,112,.08);
    color:#ffb8c1;
    font-size:11.5px;
}
body.page-roadmap .docmodal-foot{
    flex:0 0 auto;
    padding:12px 20px;
    background:rgba(0,0,0,.22);
}
body.page-roadmap .docmodal-status{
    color:var(--rm-dim);
    font-size:10.5px;
    letter-spacing:.02em;
}
body.page-roadmap .docmodal-status[hidden]{
    display:none;
}
@media (max-width:700px){
    body.page-roadmap .docmodal{
        padding:0;
    }
    body.page-roadmap .docmodal-box{
        height:100%;
        max-height:100vh;
        border-radius:0;
        border-left:0;
        border-right:0;
    }
    body.page-roadmap .docmodal-content{
        padding:18px 16px 28px;
    }
    body.page-roadmap .docmodal-head{
        padding:13px 15px 12px;
    }
    body.page-roadmap .docmodal-head h2{
        font-size:16px;
    }
    body.page-roadmap .docmodal-editor{
        padding:16px 15px 24px;
    }
    body.page-roadmap .docmodal-foot{
        padding:11px 14px;
    }
}

/* ── 文档页头部 / 操作栏 ───────────────────────────────────────────────── */
body.page-doc .doc-eyebrow{
    margin:0 0 8px;
    font-family:var(--doc-mono);
    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--doc-accent);
    opacity:.82;
}
body.page-doc .doc-tools{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
    margin:0 0 18px;
}
body.page-doc .doc-tools[hidden]{display:none}
body.page-doc .doc-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:32px;
    padding:5px 14px;
    border:1px solid var(--doc-border);
    border-radius:8px;
    background:rgba(255,255,255,.035);
    color:var(--doc-text);
    font:inherit;
    font-size:12.5px;
    line-height:1.4;
    cursor:pointer;
    text-decoration:none;
    transition:color .15s,border-color .15s,background .15s;
}
body.page-doc .doc-btn:hover,
body.page-doc .doc-btn:focus-visible{
    color:#fff;
    border-color:rgba(0,210,255,.4);
    background:rgba(0,210,255,.08);
}
body.page-doc .doc-btn.primary{
    color:#04121a;
    background:var(--doc-accent);
    border-color:var(--doc-accent);
    font-weight:600;
}
body.page-doc .doc-btn.primary:hover,
body.page-doc .doc-btn.primary:focus-visible{
    background:#7fe9ff;
    border-color:#7fe9ff;
    color:#04121a;
}
body.page-doc .doc-btn[disabled]{
    opacity:.55;
    cursor:not-allowed;
}
body.page-doc .doc-btn.danger{
    color:#ffb3b3;
    border-color:rgba(255,107,107,.34);
}
body.page-doc .doc-btn.danger:hover{
    color:#fff;
    background:rgba(255,90,90,.16);
    border-color:rgba(255,107,107,.6);
}
body.page-doc .doc-tools .doc-spacer{flex:1 1 auto}
body.page-doc .doc-stale{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:1px 7px;
    border-radius:999px;
    border:1px solid rgba(255,170,90,.36);
    background:rgba(255,170,90,.09);
    color:#ffc48a;
    font-size:11.5px;
}
body.page-doc .doc-stale[hidden]{display:none}

/* ── 空状态 / 编辑面板 ─────────────────────────────────────────────────── */
body.page-doc .doc-empty{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:26px 22px;
    border:1px dashed rgba(0,210,255,.26);
    border-radius:var(--doc-radius);
    background:rgba(0,210,255,.035);
    color:var(--doc-text-dim);
    font-size:13.5px;
}
body.page-doc .doc-empty[hidden]{display:none}
body.page-doc .doc-empty b{color:#eaf3ff;font-weight:600}
body.page-doc .doc-empty .doc-btn{margin-top:2px}
body.page-doc .doc-editor{
    display:block;
    margin:0 0 16px;
    padding:18px;
    border:1px solid rgba(0,210,255,.28);
    border-radius:var(--doc-radius);
    background:var(--doc-bg-card);
    box-shadow:inset 2px 0 0 rgba(0,210,255,.55);
}
body.page-doc .doc-editor[hidden]{display:none}
body.page-doc .doc-editor-head{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    justify-content:space-between;
    gap:6px 16px;
    margin:0 0 12px;
}
body.page-doc .doc-editor-head h2{
    margin:0;
    font-size:15px;
    font-weight:600;
    color:#eaf3ff;
}
body.page-doc .doc-editor-head span{
    font-size:11.5px;
    color:var(--doc-text-dim);
}
body.page-doc .doc-field{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin:0 0 12px;
}
body.page-doc .doc-field label{
    font-size:12px;
    color:var(--doc-text-dim);
}
body.page-doc .doc-field input,
body.page-doc .doc-field textarea{
    width:100%;
    border:1px solid var(--doc-border);
    border-radius:8px;
    background:#0b1119;
    color:var(--doc-text);
    font:inherit;
    font-size:13px;
    line-height:1.65;
    padding:9px 11px;
    outline:none;
    transition:border-color .15s,box-shadow .15s;
}
body.page-doc .doc-field input:focus,
body.page-doc .doc-field textarea:focus{
    border-color:rgba(0,210,255,.5);
    box-shadow:0 0 0 3px rgba(0,210,255,.1);
}
body.page-doc .doc-field textarea{
    min-height:360px;
    resize:vertical;
    font-family:var(--doc-mono);
    font-size:12.5px;
    line-height:1.7;
    tab-size:2;
}
body.page-doc .doc-editor-foot{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
}
body.page-doc .doc-editor-foot .doc-spacer{flex:1 1 auto}
body.page-doc .doc-editor-err{
    margin:0 0 12px;
    padding:8px 11px;
    border-radius:8px;
    border:1px solid rgba(255,107,107,.38);
    background:rgba(255,90,90,.09);
    color:#ffc9c9;
    font-size:12.5px;
}
body.page-doc .doc-editor-err[hidden]{display:none}

/* ── 权限门禁 / 提示条 ─────────────────────────────────────────────────── */
body.page-doc .doc-gate{
    max-width:520px;
    margin:14vh auto 0;
    padding:26px 24px;
    border:1px solid var(--doc-border);
    border-radius:var(--doc-radius);
    background:var(--doc-bg-card);
    text-align:center;
}
body.page-doc .doc-gate[hidden]{display:none}
body.page-doc .doc-gate-ico{font-size:30px;line-height:1;margin-bottom:10px}
body.page-doc .doc-gate h1{margin:0 0 8px;font-size:20px;color:#fff}
body.page-doc .doc-gate p{margin:0 0 16px;color:var(--doc-text-dim);font-size:13.5px}
body.page-doc .doc-gate-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
body.page-doc .doc-loading{
    padding:20px 0;
    color:var(--doc-text-dim);
    font-size:13px;
}
body.page-doc .doc-loading[hidden]{display:none}
body.page-doc .doc-toast{
    position:fixed;
    left:50%;
    bottom:28px;
    z-index:200;
    transform:translateX(-50%);
    max-width:calc(100vw - 32px);
    padding:9px 16px;
    border-radius:999px;
    border:1px solid rgba(0,210,255,.32);
    background:rgba(10,18,26,.95);
    color:#dff6ff;
    font-size:12.5px;
    line-height:1.5;
    box-shadow:0 10px 34px rgba(0,0,0,.5);
}
body.page-doc .doc-toast[hidden]{display:none}
body.page-doc .doc-toast.is-err{
    border-color:rgba(255,107,107,.42);
    color:#ffc9c9;
}
body.page-doc .doc-foot a[href="/roadmap"]{color:var(--doc-accent)}

@media (max-width:640px){
    body.page-doc .doc-wrap{padding-top:20px}
    body.page-doc .doc-title{font-size:23px}
    body.page-doc .doc-field textarea{min-height:300px}
    body.page-doc .doc-editor{padding:14px}
    body.page-doc .doc-empty{padding:20px 16px}
    body.page-roadmap .rm-col-docs{font-size:10.5px;gap:7px}
    body.page-roadmap .rm-doc-link + .rm-doc-link::before{margin-right:7px}
}


/* —— 个人中心 · 工单反馈（2026-11-05） —— */
body.page-me .me-ticket-list{display:flex;flex-direction:column;gap:8px}
body.page-me .me-ticket-back{
    display:inline-flex;align-items:center;gap:6px;min-height:34px;
    margin:0 0 12px;padding:0 13px;font-size:12px;
}
body.page-me .me-ticket-row{
    width:100%;display:flex;align-items:center;gap:11px;padding:11px 12px;
    border:1px solid var(--admin-line-soft);border-radius:10px;background:rgba(255,255,255,.022);
    color:var(--admin-text);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s;
}
body.page-me .me-ticket-row:hover{border-color:rgba(125,211,252,.4);background:rgba(125,211,252,.06)}
body.page-me .me-ticket-row-main{min-width:0;flex:1 1 auto}
body.page-me .me-ticket-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e8f7ff;font-size:12.5px}
body.page-me .me-ticket-row small{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--admin-muted);font-size:10.5px}
body.page-me .me-ticket-row-meta{flex:0 0 auto;text-align:right;color:var(--admin-muted);font-size:10px;line-height:1.5}
body.page-me .me-ticket-detail{border-top:1px solid var(--admin-line-soft);margin-top:12px;padding-top:12px}
body.page-me .me-ticket-detail[hidden]{display:none}
body.page-me .me-linkbtn{border:0;background:transparent;color:var(--admin-primary);font:inherit;font-size:11.5px;cursor:pointer;padding:0 0 10px}
body.page-me .me-ticket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
body.page-me .me-ticket-head h3{margin:0;color:#f2fbff;font-size:15px}
body.page-me .me-ticket-thread{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
body.page-me .me-ticket-bubble{max-width:86%;align-self:flex-end;padding:9px 11px;border:1px solid rgba(125,211,252,.22);border-radius:10px;background:rgba(125,211,252,.08);color:#e2f8ff;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
body.page-me .me-ticket-bubble.is-admin{align-self:flex-start;border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.035);color:#cfdeea}
body.page-me .me-ticket-bubble-meta{display:flex;gap:7px;align-items:center;margin-bottom:3px;color:var(--admin-muted);font-size:9.5px}
body.page-me .me-ticket-attach{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}
body.page-me .me-ticket-attach a{display:block;width:76px;height:76px;border:1px solid var(--admin-line-soft);border-radius:7px;overflow:hidden;background:#050a10}
body.page-me .me-ticket-attach img{width:100%;height:100%;object-fit:cover;display:block}
body.page-me .me-ticket-snap{margin:0 0 11px;border:1px solid var(--admin-line-soft);border-radius:8px;background:rgba(255,255,255,.018)}
body.page-me .me-ticket-snap summary{padding:8px 10px;color:var(--admin-muted);font-size:10.5px;cursor:pointer}
body.page-me .me-ticket-snap pre{max-height:170px;overflow:auto;margin:0;padding:0 10px 10px;color:var(--admin-sub);font-size:10px;line-height:1.55;white-space:pre-wrap}
body.page-me .me-ticket-reply{display:flex;gap:8px;align-items:flex-end}
body.page-me .me-ticket-reply textarea{flex:1 1 auto;min-height:74px;padding:9px 10px;border:1px solid var(--admin-line);border-radius:8px;outline:none;background:#08111a;color:var(--admin-text);font:inherit;font-size:12px;line-height:1.6;resize:vertical}
body.page-me .me-ticket-reply textarea:focus{border-color:rgba(0,210,255,.55);box-shadow:0 0 0 3px rgba(0,210,255,.09)}
body.page-me .me-ticket-reply .me-btn{flex:0 0 auto}
@media (max-width:640px){
 body.page-me .me-ticket-row-meta{display:none}
 body.page-me .me-ticket-reply{flex-direction:column;align-items:stretch}
 body.page-me .me-ticket-reply .me-btn{width:100%}
}


/* —— 后台设置：左侧分区 + 右侧内容（2026-11-05） —— */
body.page-admin .settings-layout{
    display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start;
    max-width:1180px;margin:0 auto;
}
body.page-admin .settings-nav{
    position:sticky;top:18px;display:flex;flex-direction:column;gap:6px;padding:8px;
    border:1px solid var(--admin-line);border-radius:12px;background:rgba(255,255,255,.018);
}
body.page-admin .settings-nav-btn{
    display:flex;align-items:center;gap:10px;width:100%;padding:10px;
    border:1px solid transparent;border-radius:8px;background:transparent;color:var(--admin-sub);
    text-align:left;cursor:pointer;font:inherit;
}
body.page-admin .settings-nav-btn:hover{border-color:var(--admin-line);background:rgba(255,255,255,.035)}
body.page-admin .settings-nav-btn.is-active{border-color:rgba(0,210,255,.38);background:rgba(0,210,255,.09);color:#e4fbff}
body.page-admin .settings-nav-ico{width:22px;color:var(--admin-primary);text-align:center;font-size:14px}
body.page-admin .settings-nav-btn span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
body.page-admin .settings-nav-btn b{color:inherit;font-size:12px;font-weight:600}
body.page-admin .settings-nav-btn small{color:var(--admin-muted);font-size:10px}
body.page-admin .settings-panes{min-width:0}
body.page-admin .settings-pane[hidden]{display:none}
body.page-admin .settings-grid--single{grid-template-columns:minmax(0,1fr)}
@media (max-width:900px){
    body.page-admin .settings-layout{grid-template-columns:1fr;gap:12px}
    body.page-admin .settings-nav{position:static;flex-direction:row;flex-wrap:wrap}
    body.page-admin .settings-nav-btn{width:auto;flex:1 1 180px}
}

.cards-qr-hover{
    position:fixed;z-index:1200;width:174px;padding:9px;border:1px solid rgba(125,211,252,.3);
    border-radius:10px;background:#07111b;box-shadow:0 18px 50px rgba(0,0,0,.6);
    pointer-events:none;
}
.cards-qr-hover[hidden]{display:none}
.cards-qr-hover img{display:block;width:156px;height:156px;border-radius:6px;background:#fff}
.cards-qr-hover span{display:block;margin-top:6px;color:#9fb3c4;font:10px ui-monospace,Consolas,monospace;text-align:center}

.cards-batch-action{display:inline-flex;align-items:center;gap:6px;padding:3px 4px;border:1px solid rgba(125,211,252,.18);border-radius:8px;background:rgba(125,211,252,.035)}
.cards-batch-action > span{color:var(--admin-muted);font-size:10px;letter-spacing:.08em;white-space:nowrap}
.cards-batch-action select{height:30px;min-width:150px;padding:0 8px;border:1px solid rgba(255,255,255,.13);border-radius:6px;outline:none;background:#08111a;color:#cfe7f5;font:inherit;font-size:11px}
.cards-batch-action select:focus{border-color:rgba(125,211,252,.55)}
.cards-batch-action .cards-btn{height:30px}

.cards-face-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.cards-face-row{display:flex;align-items:center;gap:12px;padding:9px;border:1px solid var(--admin-line);border-radius:9px;background:rgba(255,255,255,.02)}
.cards-face-row img{width:96px;height:60px;object-fit:cover;border-radius:6px;background:#07111b;border:1px solid rgba(255,255,255,.1)}
.cards-face-info{display:flex;flex-direction:column;gap:5px;min-width:0}
.cards-face-info b{color:#e6f6ff;font-size:12px}
.cards-face-info small{color:var(--admin-muted);font-size:10.5px}

.cards-field--wide{grid-column:1 / -1}

.pc-code-row{display:flex;align-items:stretch;gap:8px}
.pc-code-row input{flex:1 1 auto;min-width:0}
.pc-code-send{flex:0 0 auto;min-width:104px;padding:0 12px;border:1px solid rgba(125,211,252,.4);border-radius:9px;background:rgba(125,211,252,.1);color:#9fe8ff;font:inherit;font-size:12px;cursor:pointer}
.pc-code-send:hover{background:rgba(125,211,252,.18);color:#fff}
.pc-code-send:disabled{cursor:not-allowed;opacity:.6}
.cards-lucky{display:block;margin-top:2px;color:#ffd18a;font:10px ui-monospace,Consolas,monospace}

.cards-lucky-tags{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 7px}
.cards-lucky-tags:empty{display:none}
.cards-lucky-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 6px 3px 8px;border:1px solid rgba(125,211,252,.28);border-radius:6px;background:rgba(125,211,252,.07);color:#c9efff;font:11px ui-monospace,Consolas,monospace}
.cards-lucky-tag.is-bad{border-color:rgba(255,95,112,.55);background:rgba(255,95,112,.1);color:#ffb8c1}
.cards-lucky-tag button{border:0;background:transparent;color:inherit;font-size:12px;cursor:pointer;padding:0 1px}

.cards-model-drop{margin:6px 0 0;max-height:220px;overflow:auto;border:1px solid rgba(125,211,252,.28);border-radius:9px;background:#07111b;box-shadow:0 16px 40px rgba(0,0,0,.45);padding:5px}
.cards-model-option{display:block;width:100%;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#d7eaf5;font:12px inherit;text-align:left;cursor:pointer}
.cards-model-option:hover{background:rgba(125,211,252,.12);color:#fff}
.cards-model-empty{padding:10px;color:#7f96a8;font-size:11px;text-align:center}

body.page-cards .cards-security-box{width:min(780px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
.cards-security-body{max-height:70vh;overflow:auto}
.cards-security-body section{margin:0 0 16px}
.cards-security-body h3{margin:0 0 7px;color:#e8f8ff;font-size:13px}
.cards-security-body ul{margin:0;padding-left:18px;color:#a9bdcb;font-size:12px;line-height:1.8}
.cards-security-body p{margin:0;color:#ffd49a;font-size:12px;line-height:1.8}


/* ==========================================================================
   卡片管理 · 曾解绑角标 / 卡密区块（2026-11-05 新增，仅 page-cards 生效）
   ========================================================================== */
body.page-cards .cards-col-state{width:170px}
body.page-cards .cards-col-batch{width:150px}
body.page-cards .cards-ubadge{display:inline-flex;align-items:center;margin-left:5px;padding:1px 6px;border:1px solid rgba(255,176,102,.34);border-radius:999px;background:rgba(255,176,102,.09);color:#ffb066;font-size:10px;line-height:1.7;white-space:nowrap;vertical-align:middle}
body.page-cards .cards-secret-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px}
body.page-cards .cards-secret-once{margin:8px 0 12px;padding:12px 14px;border:1px solid rgba(108,216,255,.34);border-radius:12px;background:rgba(108,216,255,.07);display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body.page-cards .cards-secret-once strong{color:#6cd8ff;font-size:12px}
body.page-cards .cards-secret-once code{font:600 15px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;color:#eaf6ff;padding:3px 9px;border-radius:8px;background:rgba(0,0,0,.35);-webkit-user-select:all;user-select:all}
body.page-cards .cards-secret-once span{font-size:11px;color:#8fa6b8}
@media (max-width:640px){
  body.page-cards .cards-ubadge{display:block;margin:4px 0 0;width:-webkit-max-content;width:max-content}
}

/* ===== player-v4 styles (2026-11-09) ===== */

/* ============================================================
   播放器 v4 · 内容页（P2）
   布局与现有 /player 一致：全站导航 → 1180 内容区 → 16:9 视口 →
   影片介绍 → 分段信息 → 全站页脚。
   视口内的浮层（HUD/调试/加载/控制条）全部 absolute，不占页面宽度。
   ============================================================ */
:root{
  --v4-bg:#0a0e14;
  --v4-panel:rgba(13,20,30,.86);
  --v4-line:rgba(132,164,204,.22);
  --v4-line-soft:rgba(132,164,204,.12);
  --v4-text:#e8eef7;
  --v4-sub:#93a4ba;
  --v4-muted:#617086;
  --v4-accent:#00d2ff;
  --v4-ok:#5ee08a;
  --v4-warn:#ffc83d;
  --v4-danger:#ff6b6b;
  --v4-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono","Courier New",monospace;
  --v4-wrap:1180px;
}
html:has(body.v4-page){background:var(--v4-bg)}
body.v4-page{
  background:var(--v4-bg);
  color:var(--v4-text);
}
body.v4-page *{box-sizing:border-box}

/* ---------- 内容区：1180 居中 ---------- */
.v4-main{
  width:100%;
  max-width:var(--v4-wrap);
  margin:0 auto;
  padding:22px 20px 40px;
}
.v4-head{margin:0 0 14px}
body.v4-page a.v4-back{
  display:inline-flex;align-items:center;gap:6px;
  height:30px;padding:0 12px;border-radius:999px;
  border:1px solid var(--v4-line);
  background:rgba(255,255,255,.03);
  color:var(--v4-sub);font-size:12px;line-height:1;text-decoration:none;
  transition:color .18s,border-color .18s,background .18s;
}
body.v4-page a.v4-back:hover,
body.v4-page a.v4-back:focus-visible{
  color:#fff;border-color:rgba(0,210,255,.38);background:rgba(0,210,255,.08);
}
.v4-title{
  margin:12px 0 4px;
  font-size:26px;line-height:1.3;font-weight:650;color:#fff;
  overflow-wrap:anywhere;
}
.v4-sub{
  margin:0;font-size:12.5px;line-height:1.6;color:var(--v4-muted);
  overflow-wrap:anywhere;
}

/* ---------- 16:9 播放器视口 ---------- */
.v4-viewport{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:14px;
  overflow:hidden;
  background:#05080d;
  border:1px solid var(--v4-line-soft);
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  isolation:isolate;
}
.v4-viewport:fullscreen,
.v4-viewport:-webkit-full-screen{
  width:100vw;height:100vh;aspect-ratio:auto;
  border:0;border-radius:0;background:#000;
}
.v4-stage{
  position:absolute;inset:0;
  background:#05080d;
  touch-action:none;
  cursor:grab;
}
.v4-stage.is-dragging{cursor:grabbing}
.v4-stage canvas{display:block;width:100%;height:100%;outline:none}

/* ---------- 视口内：顶部信息条（后端 / 档位 / FPS / 点数） ---------- */
.v4-hud{
  position:absolute;left:10px;top:10px;z-index:12;
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  max-width:calc(100% - 20px);
  pointer-events:none;
  user-select:none;
}
.v4-hud > *{pointer-events:auto}
.v4-chip{
  display:inline-flex;align-items:center;gap:6px;
  height:28px;padding:0 10px;border-radius:999px;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.72);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:var(--v4-sub);font-size:11px;white-space:nowrap;
}
.v4-chip .v4-dot{width:7px;height:7px;border-radius:50%;background:var(--v4-muted);flex:0 0 auto}
.v4-chip[data-state="ok"]{color:#9ff0bd;border-color:rgba(94,224,138,.35);background:rgba(94,224,138,.10)}
.v4-chip[data-state="ok"] .v4-dot{background:var(--v4-ok);box-shadow:0 0 6px rgba(94,224,138,.8)}
.v4-chip[data-state="fallback"]{color:#ffe0a0;border-color:rgba(255,200,61,.35);background:rgba(255,200,61,.10)}
.v4-chip[data-state="fallback"] .v4-dot{background:var(--v4-warn);box-shadow:0 0 6px rgba(255,200,61,.8)}
.v4-chip[data-state="fail"]{color:#ffb3b3;border-color:rgba(255,107,107,.4);background:rgba(255,107,107,.12)}
.v4-chip[data-state="fail"] .v4-dot{background:var(--v4-danger)}
.v4-chip[data-state="pending"] .v4-dot{background:var(--v4-muted)}
.v4-field{
  display:inline-flex;align-items:center;gap:4px;
  height:28px;padding:0 4px 0 10px;border-radius:999px;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.72);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font-size:11px;color:var(--v4-muted);white-space:nowrap;
}
.v4-select{
  height:24px;padding:0 4px;border:0;border-radius:6px;outline:none;
  background:transparent;color:var(--v4-text);font:inherit;font-size:12px;cursor:pointer;
}
.v4-select option{background:#0d141e;color:#e8eef7}
.v4-select option:checked{background:#123a5a;color:#fff}
.v4-stat{
  display:inline-flex;align-items:center;gap:4px;
  height:28px;padding:0 10px;border-radius:999px;
  border:1px solid var(--v4-line-soft);
  background:rgba(10,14,20,.66);
  font-family:var(--v4-mono);font-size:11px;color:var(--v4-sub);
  white-space:nowrap;font-variant-numeric:tabular-nums;
}

/* ---------- 视口内：调试面板（可折叠浮层） ---------- */
.v4-debug{
  position:absolute;right:10px;top:10px;z-index:14;
  width:252px;max-width:calc(100% - 20px);
  border-radius:10px;border:1px solid var(--v4-line);
  background:var(--v4-panel);
  -webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  font-size:12px;user-select:none;
  overflow:hidden;
}
.v4-debug-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;height:30px;padding:0 10px;
  border:0;border-bottom:1px solid var(--v4-line-soft);
  background:rgba(255,255,255,.02);
  color:var(--v4-sub);font:inherit;font-size:11px;letter-spacing:.08em;cursor:pointer;
}
.v4-debug-head:hover{color:#fff}
.v4-debug-head:focus-visible{outline:2px solid var(--v4-accent);outline-offset:-2px}
.v4-chev{transition:transform .18s;flex:0 0 auto}
.v4-debug-head[aria-expanded="true"] .v4-chev{transform:rotate(180deg)}
.v4-debug.is-collapsed .v4-debug-body{display:none}
.v4-debug-body{
  padding:2px 10px 8px;
  max-height:min(46vh,340px);overflow:auto;
  scrollbar-width:thin;
}
.v4-row{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  padding:4px 0;border-bottom:1px dashed var(--v4-line-soft);
}
.v4-row:last-of-type{border-bottom:0}
.v4-row dt{flex:0 0 auto;color:var(--v4-muted);font-size:11px;margin:0}
.v4-row dd{
  margin:0;max-width:66%;color:var(--v4-text);
  font-family:var(--v4-mono);font-size:11px;text-align:right;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-variant-numeric:tabular-nums;
}

/* ---------- 视口内：左下加载进度 + 段状态 ---------- */
.v4-load{
  position:absolute;left:10px;bottom:66px;z-index:12;
  width:300px;max-width:calc(100% - 20px);
  padding:9px 11px;
  border-radius:10px;border:1px solid var(--v4-line);
  background:var(--v4-panel);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  font-size:12px;user-select:none;
}
.v4-load[hidden]{display:none!important}
.v4-load-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--v4-sub);font-size:11px;letter-spacing:.06em}
.v4-load-head b{font-family:var(--v4-mono);color:#fff;font-weight:600}
.v4-bar{height:4px;margin:7px 0 6px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}
.v4-bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#00d2ff,#3a7bd5);transition:width .18s ease}
.v4-load-text{font-size:11px;line-height:1.5;color:var(--v4-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v4-load-detail{font-size:10.5px;line-height:1.5;color:var(--v4-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- 视口内：右下控制按钮组 ---------- */
.v4-rail{
  position:absolute;right:10px;bottom:66px;z-index:13;
  display:flex;flex-direction:column;gap:8px;
  user-select:none;
}
.v4-rail-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:10px;
  border:1px solid var(--v4-line);
  background:var(--v4-panel);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--v4-sub);cursor:pointer;padding:0;
  transition:color .18s,border-color .18s,background .18s;
}
.v4-rail-btn:hover{color:#fff;border-color:rgba(0,210,255,.45);background:rgba(0,210,255,.12)}
.v4-rail-btn:focus-visible{outline:2px solid var(--v4-accent);outline-offset:2px}
.v4-rail-btn svg{display:block;width:18px;height:18px}
.v4-ar-label{font:800 12.5px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em}

/* ---------- 视口内：底部时间轴 + 播放 ---------- */
.v4-controls{
  position:absolute;left:0;right:0;bottom:0;z-index:15;
  display:flex;align-items:center;gap:10px;
  height:56px;padding:0 12px;
  background:linear-gradient(0deg,rgba(5,8,13,.96),rgba(5,8,13,.62) 72%,rgba(5,8,13,0));
  user-select:none;
}
.v4-play{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(0,210,255,.5);
  background:rgba(0,210,255,.12);color:#7fe9ff;cursor:pointer;
  transition:background .18s,color .18s;
}
.v4-play:hover{background:rgba(0,210,255,.24);color:#fff}
.v4-play:focus-visible{outline:2px solid var(--v4-accent);outline-offset:3px}
.v4-play .v4-ico[hidden]{display:none!important}
.v4-time{
  flex:0 0 auto;min-width:58px;text-align:center;
  font-family:var(--v4-mono);font-size:12px;color:var(--v4-text);
  font-variant-numeric:tabular-nums;
}
.v4-time-total{color:var(--v4-muted)}
.v4-timeline{
  flex:1 1 auto;min-width:60px;
  -webkit-appearance:none;appearance:none;
  height:6px;border-radius:999px;outline:none;cursor:pointer;
  background:linear-gradient(90deg,#00d2ff calc(var(--p,0) * 1%),rgba(255,255,255,.14) 0);
}
.v4-timeline::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:13px;height:13px;border-radius:50%;background:#fff;
  border:2px solid #00d2ff;box-shadow:0 0 0 3px rgba(0,210,255,.18);
}
.v4-timeline::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #00d2ff}
.v4-timeline:focus-visible{outline:2px solid var(--v4-accent);outline-offset:6px;border-radius:999px}
.v4-seg-now{
  flex:0 0 auto;padding:3px 9px;border-radius:999px;
  border:1px solid var(--v4-line);
  font-size:11px;color:var(--v4-sub);white-space:nowrap;
}

/* ---------- 视口内：回退提示 ---------- */
.v4-notice{
  position:absolute;left:50%;top:48px;transform:translateX(-50%);z-index:20;
  display:flex;align-items:center;gap:8px;
  width:max-content;max-width:calc(100% - 24px);
  padding:6px 8px 6px 12px;border-radius:9px;
  border:1px solid rgba(255,200,61,.32);
  background:rgba(30,24,10,.94);
  color:#ffe0a0;font-size:11.5px;line-height:1.5;
}
.v4-notice[hidden]{display:none!important}
.v4-notice-text{min-width:0;overflow:hidden;text-overflow:ellipsis}
body.v4-page .v4-notice a{color:#ffd76a;font-size:11.5px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.v4-notice button{
  flex:0 0 auto;height:22px;padding:0 8px;border:1px solid rgba(255,200,61,.3);
  border-radius:6px;background:transparent;color:#ffe0a0;font:inherit;font-size:11px;cursor:pointer;
}

/* ---------- 视口内：错误提示层 ---------- */
.v4-overlay{
  position:absolute;inset:0;z-index:30;
  display:flex;align-items:center;justify-content:center;padding:18px;
  background:rgba(4,7,11,.82);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.v4-overlay[hidden]{display:none!important}
.v4-overlay-card{
  width:min(440px,100%);max-height:88%;overflow:auto;
  padding:20px;border-radius:14px;border:1px solid var(--v4-line);
  background:#111823;box-shadow:0 24px 80px rgba(0,0,0,.6);
}
.v4-overlay-card h2{margin:0 0 8px;font-size:16px;line-height:1.4;color:#fff}
.v4-overlay-card p{margin:0 0 14px;font-size:12px;line-height:1.7;color:var(--v4-sub);word-break:break-word}
.v4-overlay-actions{display:flex;flex-wrap:wrap;gap:8px}
body.v4-page .v4-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:34px;padding:0 14px;border-radius:8px;
  border:1px solid var(--v4-line);
  background:rgba(255,255,255,.03);color:var(--v4-text);
  font:inherit;font-size:12px;text-decoration:none;cursor:pointer;
}
body.v4-page .v4-btn:hover{border-color:rgba(0,210,255,.45);color:#fff}
body.v4-page .v4-btn-primary{border-color:rgba(0,210,255,.55);background:rgba(0,210,255,.15);color:#bff4ff}

/* ---------- 影片介绍 / 分段信息 ---------- */
.v4-section{margin-top:26px}
.v4-section h2{
  margin:0 0 10px;font-size:17px;font-weight:600;color:#fff;
  display:flex;align-items:center;gap:8px;
}
.v4-section h2::before{
  content:"";display:inline-block;width:3px;height:14px;border-radius:2px;
  background:linear-gradient(180deg,#00d2ff,#3a7bd5);
}
.v4-desc{
  margin:0;font-size:13px;line-height:1.85;color:var(--v4-sub);
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.v4-desc-empty{color:var(--v4-muted)}
.v4-filemeta{margin:8px 0 0;font-size:11.5px;color:var(--v4-muted);font-variant-numeric:tabular-nums}
.v4-seg-table{width:100%;border-collapse:collapse;font-size:12px}
.v4-seg-table th,
.v4-seg-table td{
  padding:8px 10px;text-align:left;border-bottom:1px solid var(--v4-line-soft);
  white-space:nowrap;
}
.v4-seg-table th{color:var(--v4-muted);font-weight:500;font-size:11px;letter-spacing:.04em}
.v4-seg-table td{color:var(--v4-sub);font-variant-numeric:tabular-nums}
.v4-seg-table td.v4-seg-name{font-family:var(--v4-mono);font-size:11px;max-width:340px;overflow:hidden;text-overflow:ellipsis}
.v4-seg-table tr[data-status="ready"] td.v4-seg-st{color:#9ff0bd}
.v4-seg-table tr[data-status="loading"] td.v4-seg-st{color:#ffe0a0}
.v4-seg-table tr[data-status="error"] td.v4-seg-st{color:#ffb3b3}
.v4-seg-open{
  height:24px;padding:0 8px;border-radius:6px;
  border:1px solid var(--v4-line);background:transparent;
  color:var(--v4-sub);font:inherit;font-size:11px;cursor:pointer;
}
.v4-seg-open:hover:not(:disabled){color:#fff;border-color:rgba(0,210,255,.45)}
.v4-seg-open:disabled{opacity:.45;cursor:default}
.v4-hint{margin:10px 0 0;font-size:11.5px;color:var(--v4-muted);line-height:1.7}
.v4-hint code{font-family:var(--v4-mono);font-size:10.5px;color:#9fd9ea;background:rgba(0,210,255,.08);padding:1px 4px;border-radius:4px}

/* ---------- 视口内：画面参数（样式对齐 v3 的调试菜单胶囊控件） ---------- */
.v4-tune{
  margin:0 0 8px;padding-bottom:8px;
  border-bottom:1px solid var(--v4-line-soft);
}
.v4-tune-title{
  margin:0 0 6px;font-size:10.5px;letter-spacing:.08em;color:var(--v4-muted);
}
.v4-tune-row{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  min-height:30px;margin:0 0 5px;padding:0 8px;
  border-radius:999px;border:1px solid var(--v4-line);
  background:rgba(0,210,255,.08);
}
.v4-tune-k{flex:0 0 auto;font-size:11px;color:var(--v4-sub);white-space:nowrap}
.v4-tune-k.is-sub{font-size:10px;color:var(--v4-muted)}
.v4-tune input[type=range]{
  -webkit-appearance:none;appearance:none;
  flex:1 1 64px;min-width:56px;height:4px;margin:0;border-radius:2px;outline:none;cursor:pointer;
  background:rgba(0,210,255,.25);
}
.v4-tune input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:13px;height:13px;border-radius:50%;
  background:#00d2ff;border:2px solid #062a3a;cursor:pointer;box-shadow:0 0 8px rgba(0,210,255,.6);
}
.v4-tune input[type=range]::-moz-range-thumb{
  width:13px;height:13px;border-radius:50%;background:#00d2ff;border:2px solid #062a3a;cursor:pointer;
}
.v4-tune input[type=number]{
  flex:0 0 46px;width:46px;height:22px;padding:0 4px;box-sizing:border-box;text-align:center;
  background:rgba(10,12,16,.8);border:1px solid var(--v4-line);border-radius:6px;
  color:#bfe9ff;font:inherit;font-size:11px;font-variant-numeric:tabular-nums;-moz-appearance:textfield;
}
.v4-tune input[type=number]::-webkit-outer-spin-button,
.v4-tune input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.v4-tune-reset{
  flex:0 0 22px;width:22px;height:22px;padding:0;line-height:1;cursor:pointer;font-size:12px;
  background:transparent;border:1px solid var(--v4-line);border-radius:6px;color:var(--v4-sub);
}
.v4-tune-reset:hover{border-color:#00d2ff;color:#00d2ff}

/* ---------- 视口内：toast（AR 未实现 / 截图成功等即时反馈） ---------- */
.v4-toast{
  position:absolute;left:50%;top:11%;z-index:26;
  transform:translate(-50%,-6px);
  max-width:calc(100% - 28px);
  padding:8px 12px;border-radius:9px;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.94);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#dce9f8;font-size:12px;line-height:1.55;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;
}
.v4-toast.is-on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.v4-toast a{color:#7fe9ff;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}

/* ---------- 响应式 ---------- */
@media (max-width:900px){
  .v4-main{padding:18px 14px 32px}
  .v4-title{font-size:22px}
  .v4-debug{width:224px}
  .v4-load{width:260px}
}
@media (max-width:720px){
  .v4-main{padding:14px 10px 28px}
  .v4-title{font-size:20px}
  .v4-hud{gap:4px;max-width:calc(100% - 100px)}
  .v4-stat{display:none}
  .v4-chip{font-size:10.5px;padding:0 8px}
  .v4-debug{width:210px;top:44px}
  .v4-debug-body{max-height:180px}
  .v4-load{width:220px;bottom:60px;padding:7px 9px}
  .v4-load-detail{display:none}
  .v4-rail{bottom:60px}
  .v4-controls{height:50px;gap:7px;padding:0 9px}
  .v4-play{width:32px;height:32px}
  .v4-seg-now{display:none}
  .v4-notice{top:42px}
  .v4-seg-table th:nth-child(2),
  .v4-seg-table td:nth-child(2){display:none}
  .v4-seg-table td.v4-seg-name{max-width:150px}
}
@media (prefers-reduced-motion:reduce){
  .v4-back,.v4-play,.v4-rail-btn,.v4-chev,.v4-bar i{transition:none}
}
/* ============================================================
   v4 视口 6 层补齐（2026-11-08）
   ① 顶部调试条  ② 参数行  ③ 左上 FPS+比例尺
   ④ 右上朝向方块 ⑤ 右侧竖排  ⑥ 底部控制条
   旧的 .v4-hud / .v4-tune / .v4-rail / .v4-controls 保留未删，
   新结构统一用 v4-topbar / v4-topleft / v4-cube / v4-rightrail /
   v4-bottombar，避免与旧规则打架。
   ============================================================ */
.v4-topbar{
  position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:18;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  width:max-content;max-width:calc(100% - 24px);
  user-select:none;
}
.v4-topbar-row{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;
  padding:5px 8px;border-radius:999px;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.80);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.v4-dbbtn{
  height:26px;padding:0 10px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(0,210,255,.26);
  background:rgba(0,210,255,.08);color:#bfe9ff;
  font:inherit;font-size:11px;line-height:1;white-space:nowrap;
  transition:background .18s,border-color .18s,color .18s;
}
.v4-dbbtn:hover{background:rgba(0,210,255,.2);border-color:rgba(0,210,255,.5);color:#fff}
.v4-dbbtn:disabled{opacity:.45;cursor:default}
.v4-dbsep{width:1px;height:18px;background:var(--v4-line);flex:0 0 auto}
.v4-tierctl{display:flex;align-items:center;gap:2px;flex:0 0 auto}
.v4-tierbtn{
  width:22px;height:22px;padding:0;border-radius:6px;cursor:pointer;
  border:1px solid var(--v4-line);background:rgba(255,255,255,.04);
  color:var(--v4-sub);font:inherit;font-size:9px;line-height:1;
}
.v4-tierbtn:hover{border-color:rgba(0,210,255,.5);color:#fff}
.v4-tierbadge{
  min-width:34px;text-align:center;padding:0 4px;
  font-family:var(--v4-mono);font-size:12px;font-weight:600;color:#7fe9ff;
}
.v4-paramrow{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;
  padding:5px 10px;border-radius:999px;
  border:1px solid var(--v4-line-soft);
  background:rgba(10,14,20,.72);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.v4-param{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--v4-sub);white-space:nowrap}
.v4-param b{font-weight:500;color:var(--v4-muted);font-size:10px}
.v4-param input[type=range]{
  -webkit-appearance:none;appearance:none;width:72px;height:4px;margin:0;
  border-radius:2px;outline:none;cursor:pointer;background:rgba(0,210,255,.28);
}
.v4-param input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;
  background:#00d2ff;border:2px solid #062a3a;box-shadow:0 0 6px rgba(0,210,255,.55);
}
.v4-param input[type=range]::-moz-range-thumb{
  width:10px;height:10px;border-radius:50%;background:#00d2ff;border:2px solid #062a3a;
}
.v4-param input[type=number]{
  width:44px;height:21px;padding:0 3px;border-radius:5px;text-align:center;
  border:1px solid var(--v4-line);background:rgba(10,12,16,.82);
  color:#bfe9ff;font:inherit;font-size:10.5px;font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;
}
.v4-param input[type=number]::-webkit-outer-spin-button,
.v4-param input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.v4-param .v4-reset{
  width:21px;height:21px;padding:0;border-radius:5px;cursor:pointer;
  border:1px solid var(--v4-line);background:transparent;color:var(--v4-sub);
  font:inherit;font-size:12px;line-height:1;
}
.v4-param .v4-reset:hover{border-color:#00d2ff;color:#00d2ff}

.v4-topleft{
  position:absolute;left:12px;top:12px;z-index:12;
  display:flex;flex-direction:column;gap:7px;
  max-width:300px;pointer-events:none;user-select:none;
}
.v4-topleft > *{pointer-events:auto}
.v4-fpsnow{
  width:max-content;padding:5px 8px;border-radius:6px;
  border:1px solid var(--v4-line-soft);
  background:rgba(10,14,20,.62);
  font-family:var(--v4-mono);font-size:12.5px;font-weight:600;color:#bfe9ff;
  font-variant-numeric:tabular-nums;
}
.v4-scalebar{
  display:flex;align-items:center;gap:6px;width:max-content;
  padding:3px 7px;border-radius:5px;
  background:rgba(10,14,20,.55);border:1px solid var(--v4-line-soft);
  font-family:var(--v4-mono);font-size:10.5px;color:var(--v4-sub);
}
.v4-scalebar i{
  display:block;height:5px;width:80px;flex:0 0 auto;
  border-left:1px solid #9fd9ea;border-right:1px solid #9fd9ea;
  background:linear-gradient(180deg,transparent 2px,#9fd9ea 2px,#9fd9ea 3px,transparent 3px);
}
.v4-scalebar b{font-weight:500;color:#cfe6ff;font-variant-numeric:tabular-nums}
.v4-status{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.v4-status .v4-chip{height:24px;font-size:10.5px;padding:0 8px}
.v4-status .v4-stat{height:24px;font-size:10.5px;padding:0 8px}
.v4-memline{
  width:max-content;max-width:100%;padding:3px 7px;border-radius:5px;
  border:1px solid var(--v4-line-soft);background:rgba(10,14,20,.55);
  font-family:var(--v4-mono);font-size:10px;color:var(--v4-sub);
  white-space:normal;line-height:1.45;
  font-variant-numeric:tabular-nums;
}

.v4-cube{
  position:absolute;right:12px;top:12px;z-index:15;
  display:grid;grid-template-columns:1fr 1fr;grid-template-rows:24px 24px;
  gap:2px;padding:4px;border-radius:10px;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.76);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  user-select:none;
}
.v4-cube button{
  border:1px solid var(--v4-line-soft);border-radius:5px;cursor:pointer;
  background:rgba(0,210,255,.06);color:var(--v4-sub);
  font:inherit;font-size:10.5px;line-height:1;padding:0;min-width:30px;
  transition:background .15s,color .15s,border-color .15s;
}
.v4-cube button:hover{background:rgba(0,210,255,.22);color:#fff;border-color:rgba(0,210,255,.5)}
.v4-cube button[data-dir="top"]{grid-column:1 / 3}

.v4-rightrail{
  position:absolute;right:12px;top:96px;z-index:14;
  display:flex;flex-direction:column;gap:8px;user-select:none;
}
.v4-railbtn{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;padding:0;border-radius:50%;cursor:pointer;
  border:1px solid var(--v4-line);
  background:rgba(10,14,20,.72);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--v4-sub);
  font:inherit;font-size:10px;
  transition:color .18s,border-color .18s,background .18s;
}
.v4-railbtn:hover{color:#fff;border-color:rgba(0,210,255,.5);background:rgba(0,210,255,.14)}
.v4-railbtn svg{display:block;width:17px;height:17px}
.v4-railbtn.is-on{color:#7fe9ff;border-color:rgba(0,210,255,.55);background:rgba(0,210,255,.16)}
.v4-rightrail .v4-tierbadge{
  display:flex;align-items:center;justify-content:center;
  width:34px;height:20px;padding:0;font-size:11px;
  border-radius:5px;border:1px solid var(--v4-line-soft);
  background:rgba(0,210,255,.06);
}
.v4-debug.v4-debugpanel.is-collapsed{width:88px}

.v4-debug.v4-debugpanel{right:54px;top:96px;width:290px}
.v4-debugpanel .v4-debug-body{max-height:min(42vh,330px)}

.v4-bottombar{
  position:absolute;left:0;right:0;bottom:0;z-index:16;
  display:flex;align-items:center;gap:7px;
  height:56px;padding:0 10px;
  background:linear-gradient(0deg,rgba(5,8,13,.97),rgba(5,8,13,.66) 74%,rgba(5,8,13,0));
  user-select:none;
}
.v4-bottombar .v4-play{width:36px;height:36px}
.v4-bbtn{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;padding:0;border-radius:8px;cursor:pointer;
  border:1px solid transparent;background:transparent;color:var(--v4-sub);
  transition:color .16s,background .16s,border-color .16s;
}
.v4-bbtn:hover{color:#fff;background:rgba(255,255,255,.08);border-color:var(--v4-line)}
.v4-bbtn.is-on{color:#7fe9ff;background:rgba(0,210,255,.14);border-color:rgba(0,210,255,.30)}
.v4-bbtn:disabled{opacity:.38;cursor:default}
.v4-bbtn svg{display:block;width:17px;height:17px}
.v4-bbtn .v4-ar-label{font:800 11px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.v4-bottombar .v4-time{min-width:52px;text-align:left;font-size:11.5px;color:#fff}
.v4-tottime{
  flex:0 0 auto;min-width:58px;font-family:var(--v4-mono);font-size:11px;color:var(--v4-muted);
  font-variant-numeric:tabular-nums;
}
.v4-bottombar .v4-timeline{height:5px}
.v4-bottombar .v4-seg-now{padding:2px 7px;font-size:10px}
.v4-seg-table tr[data-status="cached"] td.v4-seg-st{color:#9fd9ea}
.v4-seg-table tr[data-status="queued"] td.v4-seg-st{color:#8fa6bd}
.v4-seg-table tr[data-status="downloading"] td.v4-seg-st{color:#ffe0a0}

.v4-infopanel{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:25;
  width:min(420px,calc(100% - 24px));max-height:min(72vh,520px);
  display:flex;flex-direction:column;
  border-radius:12px;border:1px solid var(--v4-line);
  background:rgba(13,20,30,.96);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  color:var(--v4-text);font-size:12px;
}
.v4-infopanel[hidden]{display:none!important}
.v4-infohead{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 12px;border-bottom:1px solid var(--v4-line-soft);
}
.v4-infohead h3{margin:0;font-size:13px;font-weight:600;color:#fff}
.v4-infohead button{
  width:24px;height:24px;padding:0;border-radius:6px;cursor:pointer;
  border:1px solid var(--v4-line);background:transparent;color:var(--v4-sub);font:inherit;
}
.v4-infohead button:hover{color:#fff;border-color:rgba(0,210,255,.5)}
.v4-infobody{padding:4px 12px 12px;overflow:auto;scrollbar-width:thin}
.v4-inforow{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:5px 0;border-bottom:1px dashed var(--v4-line-soft);
}
.v4-inforow:last-child{border-bottom:0}
.v4-inforow span{color:var(--v4-muted);font-size:11px;flex:0 0 auto}
.v4-inforow b{
  font-family:var(--v4-mono);font-size:11px;font-weight:500;color:var(--v4-text);
  text-align:right;word-break:break-all;font-variant-numeric:tabular-nums;
}

@media (max-width:900px){
  .v4-topbar{top:8px;max-width:calc(100% - 16px)}
  .v4-topbar-row{gap:4px;padding:4px 6px}
  .v4-dbbtn{padding:0 7px;font-size:10px}
  .v4-paramrow{gap:6px;padding:4px 7px}
  .v4-param{font-size:9.5px}
  .v4-param input[type=range]{width:56px}
  .v4-topleft{left:8px;top:8px;max-width:180px}
  .v4-cube{right:8px;top:8px}
  .v4-rightrail{right:8px;top:82px}
  .v4-debug.v4-debugpanel{right:48px;top:82px;width:250px}
  .v4-bottombar{height:50px;gap:4px;padding:0 7px}
  .v4-bottombar .v4-play{width:32px;height:32px}
  .v4-bbtn{width:27px;height:27px}
  .v4-tottime{display:none}
  .v4-bottombar .v4-seg-now{display:none}
}
@media (max-width:720px){
  .v4-topbar{left:8px;right:8px;transform:none;width:auto;align-items:stretch}
  .v4-topbar-row,.v4-paramrow{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .v4-topbar-row::-webkit-scrollbar,.v4-paramrow::-webkit-scrollbar{display:none}
  .v4-topleft{top:94px;max-width:150px}
  .v4-fpsnow{font-size:11px}
  .v4-scalebar i{width:52px}
  .v4-cube{top:94px}
  .v4-rightrail{top:172px}
  .v4-debug.v4-debugpanel{top:172px;right:46px;width:230px}
  .v4-status{display:none}
  .v4-bottombar{height:46px}
  .v4-bbtn{width:25px;height:25px}
  .v4-bbtn svg{width:15px;height:15px}
  .v4-bottombar .v4-time{min-width:44px;font-size:10.5px}
}
@media (prefers-reduced-motion:reduce){
  .v4-back,.v4-play,.v4-rail-btn,.v4-bbtn,.v4-dbbtn,.v4-chev,.v4-bar i{transition:none}
}

/* UI v3 parity additions */
/* 管理员调试条：在视口外部（v3 口径），不再 absolute 盖在画面上 */
.v4-topbar{
  position:relative;left:auto;top:auto;transform:none;z-index:auto;
  display:flex;flex-direction:column;align-items:stretch;gap:6px;
  width:100%;max-width:none;margin:0 0 10px;
  user-select:none;
}
.v4-topbar-row{
  justify-content:flex-start;border-radius:12px;padding:6px 10px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.v4-admin-title{
  flex:0 0 auto;margin-right:auto;display:flex;align-items:baseline;gap:6px;
  font-size:12px;color:var(--v4-sub);white-space:nowrap;
}
.v4-admin-title b{color:#dce9f8;font-weight:600;letter-spacing:.04em}
.v4-admin-title span{color:var(--v4-muted);font-size:10.5px}
.v4-paramrow{border-radius:12px;justify-content:flex-start;padding:6px 10px}

/* 点击播放封面 */
.v4-cover{
  position:absolute;inset:0;z-index:19;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  background:radial-gradient(circle at 50% 42%,rgba(17,28,42,.55),rgba(4,7,12,.86));
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
}
.v4-cover[hidden]{display:none!important}
.v4-start{
  min-width:168px;height:54px;padding:0 26px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(0,210,255,.62);
  background:linear-gradient(180deg,rgba(0,210,255,.30),rgba(0,150,220,.16));
  color:#eaf9ff;font:inherit;font-size:17px;font-weight:600;letter-spacing:.06em;
  box-shadow:0 10px 34px rgba(0,210,255,.18),inset 0 1px rgba(255,255,255,.18);
  transition:transform .16s,background .16s,border-color .16s;
}
.v4-start:hover{transform:translateY(-1px);background:linear-gradient(180deg,rgba(0,210,255,.42),rgba(0,150,220,.22))}
.v4-cover-info{font-size:12px;color:#9fb3c8;text-align:center;line-height:1.6;max-width:calc(100% - 30px)}

/* 罗盘：面 / 棱 / 中心点三种颜色 */
.v4-compass{
  position:absolute;right:10px;top:8px;z-index:15;
  width:104px;height:104px;user-select:none;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.v4-compass svg{display:block;width:100%;height:100%;overflow:visible}
.v4-cface{cursor:pointer}
.v4-cface polygon{
  fill:#dfe3e9;stroke:#77828f;stroke-width:1.1;
  transition:fill .16s,stroke .16s;
}
.v4-cface[data-dir="front"] polygon{fill:#b7bec8}
.v4-cface[data-dir="right"] polygon{fill:#929ba7}
.v4-cface:hover polygon{fill:#26a8e0;stroke:#dff6ff}
.v4-cface text{
  font:600 11px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;
  fill:#1b2733;pointer-events:none;dominant-baseline:middle;
}
.v4-cface:hover text{fill:#fff}
.v4-cdot{fill:#00d2ff;stroke:#063246;stroke-width:1}

/* 显示设置面板 */
.v4-settings-panel{
  position:absolute;right:56px;top:96px;z-index:24;
  width:270px;max-width:calc(100% - 24px);max-height:min(72vh,520px);
  display:flex;flex-direction:column;
  border-radius:12px;border:1px solid var(--v4-line);
  background:rgba(13,20,30,.96);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  color:var(--v4-text);font-size:12px;
}
.v4-settings-panel[hidden]{display:none!important}
.v4-settings-body{padding:6px 12px 12px;overflow:auto;scrollbar-width:thin}
.v4-settings-body > label{display:block;margin:9px 0 4px;font-size:11px;color:var(--v4-muted)}
.v4-select2{
  width:100%;height:28px;padding:0 6px;border-radius:6px;outline:none;
  border:1px solid var(--v4-line);background:#0e1622;color:#d6e6ff;font:inherit;font-size:11.5px;
}
.v4-setrow{display:flex;align-items:center;gap:8px}
.v4-setrow input[type=range]{flex:1 1 auto;height:5px;accent-color:#00d2ff}
.v4-setrow span{min-width:36px;text-align:right;font-family:var(--v4-mono);font-size:11px;color:#bfe9ff}
.v4-check{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--v4-sub)}
.v4-check input{width:15px;height:15px;accent-color:#00d2ff}
.v4-setnote{margin-top:12px;padding-top:10px;border-top:1px solid var(--v4-line-soft);font-size:10.5px;line-height:1.8;color:var(--v4-muted)}
.v4-setnote b{color:var(--v4-sub)}

/* 手机：v3 的两行控制条 + 竖屏 3:4 + 罗盘隐藏 */
@media (max-width:768px){
  .v4-viewport{} 
  .v4-bottombar{
    height:auto;min-height:82px;flex-wrap:wrap;align-content:center;
    padding:5px 8px calc(6px + env(safe-area-inset-bottom,0px));gap:3px 5px;
  }
  .v4-bottombar .v4-timeline{order:1;flex:1 1 100%;height:7px}
  .v4-bottombar .v4-play{order:2}
  .v4-bottombar .v4-bbtn{order:3;width:34px;height:34px}
  .v4-bottombar .v4-time{order:2;min-width:52px}
  .v4-tottime{order:2;display:block;min-width:52px}
  .v4-bottombar .v4-seg-now{order:4;display:none}
  .v4-compass{display:none}
  .v4-topleft{top:8px;left:8px;max-width:170px}
  .v4-rightrail{top:8px;right:8px}
  .v4-settings-panel{left:12px;right:12px;width:auto;top:auto;bottom:92px;max-height:60vh}
  .v4-infopanel{left:12px;right:12px;width:auto;max-width:none;top:50%}
  .v4-load{bottom:92px}
  .v4-topbar-row,.v4-paramrow{flex-wrap:wrap}
  .v4-admin-title{flex:1 1 100%;margin:0 0 2px}
}
@media (max-width:768px) and (orientation:portrait){
  .v4-viewport{aspect-ratio:3/4}
}
@media (max-width:480px){
  .v4-topbar-row{gap:5px}
  .v4-dbbtn{padding:0 8px;font-size:10px}
  .v4-param input[type=range]{width:62px}
  .v4-bottombar .v4-bbtn{width:32px;height:32px}
  .v4-fpsnow{font-size:11px}
}
.v4-seg-table tr[data-status="error"] td.v4-seg-st{color:#ff9a9a}

/* ---------- P3-step1：tile 光栅 HUD（?raster=tile） ---------- */
.v4-tilestats{
  margin-top:6px;
  max-width:min(360px,calc(100vw - 40px));
  padding:5px 9px;
  border-radius:8px;
  border:1px solid var(--v4-line-soft);
  background:rgba(10,14,20,.72);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font-family:var(--v4-mono);font-size:10.5px;line-height:1.5;
  color:var(--v4-sub);
  white-space:normal;overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}
.v4-tilestats[hidden]{display:none}
@media (max-width:768px){
  .v4-tilestats{font-size:10px;max-width:calc(100vw - 24px);padding:4px 7px}
}

/* ---------- 2026-11-09：播放器权限门 + 分段信息位置 ---------- */
body.v4-page [hidden]{display:none!important}
body.v4-page [data-perm-denied="1"]{display:none!important}
body.v4-page .v4-seg-section{margin-top:14px}
/* 旧 compass_v2 的透明 WebGL2 叠层：铺满 stage，右上角由插件自己 scissor */
body.v4-page .v4-viewcube-gl{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:151;pointer-events:none;background:transparent;
}


/* 2026-11-10: ÏÔʾÉèÖÃÃæ°岻ѹµײ¿²¥·ÅÌõ */
body.v4-page .v4-settings-panel{top:auto;bottom:64px;max-height:calc(100% - 128px)}
@media (max-width:768px){body.v4-page .v4-settings-panel{bottom:58px;max-height:calc(100% - 116px)}}

.v4-setrow input[type=number]{width:58px;height:26px;padding:0 5px;border-radius:6px;border:1px solid var(--v4-line);background:#0e1622;color:#d6e6ff;font:inherit;font-size:11.5px;text-align:right}

/* ˫»÷ÐýתÖÐÐģºÆÁĻÕ𲨷´À¡£¨Ïà»ú²»¶¯£© */
.v4-pivot-ripple{position:fixed;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid rgba(0,210,255,.95);border-radius:50%;pointer-events:none;z-index:60;animation:v4Pivot .55s ease-out forwards}
@keyframes v4Pivot{0%{transform:scale(.4);opacity:1}100%{transform:scale(9);opacity:0}}
/* ===== 2026-11-18 首页视频号二维码弹层（ce-*）===== */
body.page-home .ce-modal{position:fixed;inset:0;z-index:9990;display:none;align-items:center;justify-content:center;padding:20px}
body.page-home .ce-modal.is-open{display:flex}
body.page-home .ce-modal__mask{position:absolute;inset:0;background:rgba(4,8,14,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
body.page-home .ce-modal__panel{position:relative;width:min(360px,100%);background:#111823;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:22px 20px 18px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.55)}
body.page-home .ce-modal__close{position:absolute;top:8px;right:10px;width:32px;height:32px;border:0;background:transparent;color:#8aa0b4;font-size:22px;line-height:1;cursor:pointer;border-radius:8px}
body.page-home .ce-modal__close:hover{color:#e6f3fb;background:rgba(255,255,255,.06)}
body.page-home .ce-modal__brand{font-size:12px;letter-spacing:.12em;color:#00d2ff;margin-bottom:10px}
body.page-home .ce-modal__title{font-size:16px;font-weight:600;color:#e6f3fb;margin-bottom:4px}
body.page-home .ce-modal__sub{font-size:12px;color:#8aa0b4;margin-bottom:14px}
body.page-home .ce-qr{width:200px;height:200px;margin:0 auto 12px;border-radius:12px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
body.page-home .ce-qr img{width:100%;height:100%;object-fit:contain;display:block}
body.page-home .ce-tip{font-size:12px;color:#8aa0b4;line-height:1.7;margin-bottom:12px}
body.page-home .ce-copy{width:100%;height:38px;border-radius:10px;border:1px solid rgba(0,210,255,.45);background:rgba(0,210,255,.10);color:#00d2ff;font-size:13px;cursor:pointer}
body.page-home .ce-copy:hover{background:rgba(0,210,255,.18)}
body.page-home .ce-toast{position:fixed;left:50%;bottom:40px;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:rgba(17,24,35,.96);border:1px solid rgba(0,210,255,.35);color:#e6f3fb;font-size:13px;padding:9px 16px;border-radius:10px;transition:opacity .22s,transform .22s;z-index:9999}
body.page-home .ce-toast.is-show{opacity:1;transform:translate(-50%,0)}
@media (max-width:520px){
  body.page-home .ce-qr{width:170px;height:170px}
}

/* >>> site-consistency-20261119 begin（doc 页返回条 / CTA、商务合作联系入口、资源库标题） */
body.page-doc .doc-crumb{margin:0 0 16px;font-size:13px;line-height:1.6}
body.page-doc .doc-crumb a{color:var(--doc-text-dim)}
body.page-doc .doc-crumb a:hover,body.page-doc .doc-crumb a:focus-visible{color:#fff}
body.page-doc .doc-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:40px;padding:8px 18px;border-radius:999px;
  border:1px solid rgba(0,210,255,.42);background:rgba(0,210,255,.10);
  color:#bfefff;font-size:13.5px;font-weight:500;line-height:1.5;
  text-decoration:none;transition:background .2s,border-color .2s,color .2s;
}
body.page-doc .doc-cta:hover,body.page-doc .doc-cta:focus-visible{
  background:rgba(0,210,255,.2);border-color:rgba(0,210,255,.75);color:#fff;
}
body.page-doc .doc-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
body.page-doc .doc-box p{margin:0 0 8px;font-size:12.5px;line-height:1.75;color:var(--doc-text-dim)}
body.page-doc .doc-box p:last-child{margin-bottom:0}
body.page-doc .doc-box .doc-cta{margin-top:10px}

/* 商务合作页：联系方式改为指向 /contact 的入口块 */
body.page-doc .coop-contact-cta{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  padding:18px 20px;border-radius:14px;
  border:1px solid rgba(0,210,255,.30);
  background:linear-gradient(135deg,rgba(0,210,255,.10),rgba(0,210,255,.02));
}
body.page-doc .coop-contact-cta h3{margin:0 0 6px;font-size:16px;line-height:1.5;font-weight:600;color:#eaf3ff}
body.page-doc .coop-contact-cta p{margin:0;max-width:640px;font-size:13px;line-height:1.75;color:var(--doc-text-dim)}
body.page-doc .coop-contact-cta .doc-cta{flex:0 0 auto}
@media (max-width:640px){
  body.page-doc .coop-contact-cta{flex-direction:column;align-items:flex-start;gap:12px}
}

/* ===== LFV-PAGE-LIBRARY-BEGIN（资源库页样式段；BEGIN 之后到文件末尾都属于本段） ===== */
/* ==========================================================================
   ★ 2026-11-19 资源库改版（page-library 段）
   - 卡片只保留：封面 + 名称 + 时长 + 免费/VIP 标签
   - 工具行：卡片/列表/紧凑 三档 + 密度滑块 + 当前结果数
   - 左侧筛选侧栏（sticky）：分类 / 收费 / 时长 / 容量
   - 响应式：≥1280 5 列；1024~1279 4 列；768~1023 3 列；<768 2 列；<360 极窄屏 1 列
   - <768 隐藏侧栏 → 顶部「筛选」按钮 + 左侧抽屉
   ========================================================================== */
body.page-library .lib-shell{
  flex:1 0 auto;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 24px 34px;
}

/* —— 标题 —— */
body.page-library .lib-head{width:100%;max-width:none;margin:0;padding:26px 0 0}
body.page-library .lib-head h1{
  margin:0;font-size:28px;line-height:1.25;letter-spacing:.5px;font-weight:600;
  background:var(--primary-gradient);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:#00d2ff;
}
body.page-library .lib-head p{margin:6px 0 0;font-size:13px;line-height:1.7;color:var(--text-sub)}

/* —— 卡权益提示（?access=free / vip） —— */
body.page-library .lib-banner{
  margin:16px 0 0;padding:11px 14px;
  border:1px solid rgba(125,211,252,.22);border-radius:10px;
  background:rgba(0,210,255,.045);color:#a9cfe3;font-size:12.5px;line-height:1.7;
}

/* —— 工具行 —— */
body.page-library .lib-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px 18px;flex-wrap:wrap;margin:18px 0 14px;
}
body.page-library .lib-tool-left{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
body.page-library .lib-tool-right{display:flex;align-items:center;gap:12px;margin-left:auto}
body.page-library .lib-viewswitch{
  display:inline-flex;padding:2px;border:1px solid rgba(255,255,255,.1);
  border-radius:10px;background:rgba(255,255,255,.03);
}
body.page-library .lib-viewswitch button{
  border:0;border-radius:8px;background:transparent;color:#8da3b7;
  font:inherit;font-size:12.5px;line-height:1;padding:7px 12px;cursor:pointer;
  transition:background .18s,color .18s;
}
body.page-library .lib-viewswitch button:hover{color:#d8f3ff}
body.page-library .lib-viewswitch button.is-on{
  background:rgba(0,210,255,.14);color:#9fe8ff;
  box-shadow:inset 0 0 0 1px rgba(0,210,255,.32);
}
body.page-library .lib-density{display:inline-flex;align-items:center;gap:9px;color:#8aa0b4;font-size:11.5px;user-select:none}
body.page-library .lib-density input[type=range]{
  width:112px;height:16px;margin:0;accent-color:#00d2ff;cursor:pointer;background:transparent;
}
body.page-library .lib-count{color:#8aa0b4;font-size:12px;white-space:nowrap}
body.page-library .lib-count b{color:#dff7ff;font:600 13px ui-monospace,Consolas,monospace}
body.page-library .lib-filter-btn{
  display:none;align-items:center;gap:6px;height:34px;padding:0 13px;
  border:1px solid rgba(0,210,255,.34);border-radius:9px;
  background:rgba(0,210,255,.09);color:#9fe8ff;font:inherit;font-size:12.5px;cursor:pointer;
}

/* —— 主体：左筛选 + 右网格 —— */
body.page-library .lib-body{
  display:grid;grid-template-columns:220px minmax(0,1fr);
  gap:26px;align-items:start;
}

/* —— 筛选侧栏 —— */
body.page-library .lib-side{
  position:sticky;top:calc(var(--lib-nav-h,66px) + 14px);align-self:start;
  max-height:calc(100vh - var(--lib-nav-h,66px) - 28px);overflow:auto;
  padding:14px 14px 12px;
  border:1px solid rgba(255,255,255,.075);border-radius:14px;
  background:rgba(255,255,255,.025);
  scrollbar-width:thin;
}
body.page-library .lib-side-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 2px}
body.page-library .lib-side-head b{color:#e6f5ff;font-size:13px;letter-spacing:.06em}
body.page-library .lib-side-close{
  display:none;width:28px;height:28px;align-items:center;justify-content:center;
  border:0;border-radius:7px;background:transparent;color:#8ba0b2;font-size:14px;cursor:pointer;
}
body.page-library .lib-side-close:hover{background:rgba(255,255,255,.06);color:#fff}
body.page-library .lib-filter-group{padding:11px 0 0;border-top:1px solid rgba(255,255,255,.055);margin-top:9px}
body.page-library .lib-filter-group:first-of-type{border-top:0;margin-top:0;padding-top:4px}
body.page-library .lib-filter-group h2{
  margin:0 0 8px;color:#7f96aa;font-size:11px;font-weight:600;letter-spacing:.1em;
}
body.page-library .lib-chips{display:flex;flex-wrap:wrap;gap:6px}
body.page-library .lib-chips button{
  border:1px solid rgba(255,255,255,.075);border-radius:7px;background:rgba(255,255,255,.025);
  color:#9db2c4;font:inherit;font-size:11.5px;line-height:1;padding:6px 9px;cursor:pointer;
  transition:color .16s,border-color .16s,background .16s;
}
body.page-library .lib-chips button:hover{color:#d9f5ff;border-color:rgba(0,210,255,.28)}
body.page-library .lib-chips button.is-on{
  color:#9fe8ff;border-color:rgba(0,210,255,.5);background:rgba(0,210,255,.13);
  box-shadow:inset 0 0 0 1px rgba(0,210,255,.1);
}
body.page-library .lib-side-actions{
  display:flex;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);
}
body.page-library .lib-reset{
  flex:0 0 auto;height:36px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:9px;
  background:rgba(255,255,255,.03);color:#b9cad8;font:inherit;font-size:12.5px;cursor:pointer;
}
body.page-library .lib-apply{
  display:none;flex:1 1 auto;height:36px;border:1px solid rgba(0,210,255,.45);border-radius:9px;
  background:rgba(0,210,255,.16);color:#d9f8ff;font:inherit;font-size:12.5px;cursor:pointer;
}

/* —— 网格与卡片 —— */
body.page-library .lib-grid-wrap{min-width:0}
body.page-library .lib-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:calc(16px - (var(--lib-d,.45) * 7px));
  width:100%;min-width:0;padding:0;
}
body.page-library .lib-card{
  position:relative;min-width:0;overflow:hidden;cursor:pointer;
  border:1px solid rgba(255,255,255,.075);border-radius:12px;
  background:rgba(255,255,255,.03);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
body.page-library .lib-card:hover{
  transform:translateY(-3px);border-color:rgba(0,210,255,.32);
  box-shadow:0 12px 28px rgba(0,0,0,.42),0 0 18px rgba(0,210,255,.08);
}
body.page-library .lib-thumb{position:relative;overflow:hidden;background:linear-gradient(135deg,#0d1722,#162632)}
body.page-library .lib-img{
  display:block;width:100%;height:calc(150px - (var(--lib-d,.45) * 54px));object-fit:cover;
}
body.page-library .lib-img.is-broken{opacity:0}
body.page-library .lib-card-body{padding:10px 12px 12px}
body.page-library .lib-title{
  margin:0;color:#eaf6ff;font-size:13.5px;font-weight:600;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;overflow-wrap:anywhere;
}
body.page-library .lib-meta{display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap}
body.page-library .lib-dur{color:#9fb6c9;font:11.5px ui-monospace,Consolas,monospace;letter-spacing:.02em}
body.page-library .lib-tag{
  display:inline-block;padding:1px 7px;border-radius:999px;white-space:nowrap;
  font-size:10.5px;line-height:1.6;border:1px solid transparent;
}
body.page-library .lib-tag--free{color:#5ee08a;border-color:rgba(94,224,138,.4);background:rgba(94,224,138,.1)}
body.page-library .lib-tag--vip{color:#ffc83d;border-color:rgba(255,200,61,.42);background:rgba(255,200,61,.1)}
body.page-library .lib-card.locked .lock-overlay{opacity:1}
body.page-library .lib-card .lock-overlay{font-size:12.5px;text-align:center;padding:8px;line-height:1.6}

/* —— 列表视图 —— */
body.page-library .lib-grid.lib-grid--list{grid-template-columns:minmax(0,1fr)}
body.page-library .lib-grid--list .lib-card{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:stretch}
body.page-library .lib-grid--list .lib-thumb{height:100%}
body.page-library .lib-grid--list .lib-img{height:100%;min-height:112px}
body.page-library .lib-grid--list .lib-card-body{display:flex;flex-direction:column;justify-content:center;padding:10px 16px}
body.page-library .lib-grid--list .lib-title{font-size:14px}

/* —— 紧凑视图 —— */
body.page-library .lib-grid.lib-grid--compact{
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;
}
body.page-library .lib-grid--compact .lib-img{height:84px}
body.page-library .lib-grid--compact .lib-card-body{padding:7px 9px 9px}
body.page-library .lib-grid--compact .lib-title{font-size:12px;line-height:1.4}
body.page-library .lib-grid--compact .lib-meta{gap:6px;margin-top:4px}
body.page-library .lib-grid--compact .lib-dur{font-size:10.5px}
body.page-library .lib-grid--compact .lib-tag{font-size:9.5px;padding:0 5px}

/* —— 加载 / 空态 / 到底 —— */
body.page-library .lib-state{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  padding:54px 20px;border:1px dashed rgba(255,255,255,.09);border-radius:14px;
  color:#8ba4b8;font-size:13px;line-height:1.8;text-align:center;
}
body.page-library .lib-state[hidden]{display:none}
body.page-library .lib-state b{color:#d8eefb;font-size:14px}
body.page-library .lib-spinner{
  width:18px;height:18px;flex:0 0 auto;display:inline-block;border-radius:50%;
  border:2px solid rgba(0,210,255,.25);border-top-color:#00d2ff;
  animation:libspin .8s linear infinite;
}
@keyframes libspin{to{transform:rotate(360deg)}}
body.page-library .lib-more{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:16px 0 4px;color:#82a0b6;font-size:12px;
}
body.page-library .lib-more[hidden]{display:none}
body.page-library .lib-end{margin:18px 0 0;text-align:center;color:#66798b;font-size:11.5px}
body.page-library .lib-end[hidden]{display:none}
body.page-library .lib-sentinel{height:1px}

/* —— 移动端筛选抽屉 —— */
body.page-library .lib-drawer-mask{
  position:fixed;inset:0;z-index:940;display:none;
  background:rgba(2,6,10,.62);
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
}
body.page-library.lib-filters-open .lib-drawer-mask{display:block}
body.page-library.lib-filters-open{overflow:hidden}

/* —— 响应式列数 —— */
@media (max-width:1279px){
  body.page-library .lib-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:1023px){
  body.page-library .lib-body{grid-template-columns:200px minmax(0,1fr);gap:20px}
  body.page-library .lib-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.page-library .lib-shell{padding:0 18px 30px}
}
@media (max-width:767px){
  body.page-library .lib-shell{padding:0 14px 28px}
  body.page-library .lib-head{padding:18px 0 0}
  body.page-library .lib-head h1{font-size:23px}
  body.page-library .lib-head p{font-size:12.5px}
  body.page-library .lib-body{grid-template-columns:minmax(0,1fr);gap:0}
  body.page-library .lib-side{
    position:fixed;z-index:950;left:0;top:0;bottom:0;
    width:min(86vw,330px);height:100%;max-height:none;
    padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));
    border:0;border-right:1px solid rgba(255,255,255,.09);border-radius:0;
    background:#0c141e;box-shadow:0 0 40px rgba(0,0,0,.6);
    transform:translateX(-105%);transition:transform .26s ease;
  }
  body.page-library.lib-filters-open .lib-side{transform:none}
  body.page-library .lib-side-close{display:inline-flex}
  body.page-library .lib-apply{display:block}
  body.page-library .lib-filter-btn{display:inline-flex}
  body.page-library .lib-toolbar{gap:10px;margin:14px 0 12px}
  body.page-library .lib-viewswitch button{padding:7px 10px;font-size:12px}
  body.page-library .lib-density{gap:6px}
  body.page-library .lib-density span{display:none}
  body.page-library .lib-density input[type=range]{width:74px}
  body.page-library .lib-count{font-size:11.5px}
  body.page-library .lib-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.page-library .lib-img{height:116px}
  body.page-library .lib-title{font-size:12.8px}
  body.page-library .lib-grid--list .lib-card{grid-template-columns:132px minmax(0,1fr)}
  body.page-library .lib-grid--list .lib-img{min-height:96px}
  body.page-library .lib-grid--list .lib-card-body{padding:8px 12px}
  body.page-library .lib-grid--list .lib-title{font-size:13px}
}
@media (max-width:479px){
  body.page-library .lib-toolbar{margin:12px 0 10px}
  body.page-library .lib-img{height:108px}
  body.page-library .lib-card-body{padding:8px 10px 10px}
  body.page-library .lib-title{font-size:12.3px}
  body.page-library .lib-count{font-size:11px}
  body.page-library .lib-filter-btn{padding:0 11px;font-size:12px}
  body.page-library .lib-viewswitch button{padding:7px 9px;font-size:11.5px}
}
/* 极窄屏（<360px）才降到 1 列；390 宽按交付验证要求保持 2 列 */
@media (max-width:359px){
  body.page-library .lib-grid{grid-template-columns:minmax(0,1fr)}
  body.page-library .lib-img{height:140px}
}

/* ============================================================================
 * 2026-11-19 模型分类标签（models.tags）
 *   · 资源库左侧「分类」动态胶囊 + 模型数量角标（顺序由后端/前端按数量降序）
 *   · 上传第 1 步 / 后台铅笔弹窗的标签胶囊输入：回车添加、× 删除、拖动排序
 * ========================================================================== */
body.page-library .lib-chips button .lib-chip-n{
  display:inline-block;margin-left:5px;padding:0 4px;border-radius:5px;
  background:rgba(255,255,255,.06);color:#7f97ab;
  font:10px/1.5 ui-monospace,Consolas,monospace;
}
body.page-library .lib-chips button.is-on .lib-chip-n{
  background:rgba(0,210,255,.2);color:#c8f4ff;
}

/* —— 标签胶囊输入（前台资源库 / 后台 / 上传页共用，.lfv- 前缀避免撞车） —— */
.lfv-tag-editor{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  min-height:42px;padding:6px 8px;margin:2px 0 0;
  border:1px solid rgba(255,255,255,.12);border-radius:10px;
  background:rgba(8,16,24,.55);
  transition:border-color .16s,box-shadow .16s;
}
.lfv-tag-editor:focus-within{border-color:rgba(0,210,255,.5);box-shadow:0 0 0 3px rgba(0,210,255,.08)}
.lfv-tag-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lfv-tag-list:empty{display:none}
.lfv-tag-chip{
  display:inline-flex;align-items:center;gap:4px;max-width:100%;
  padding:3px 4px 3px 9px;border:1px solid rgba(0,210,255,.4);border-radius:4px;
  background:rgba(0,210,255,.12);color:#bfefff;font-size:12px;line-height:1.5;
  cursor:grab;user-select:none;
}
.lfv-tag-chip.is-dragging{opacity:.45;cursor:grabbing}
.lfv-tag-chip.is-over{border-color:#00d2ff;background:rgba(0,210,255,.24)}
.lfv-tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lfv-tag-x{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;padding:0;border:0;border-radius:4px;
  background:transparent;color:#8fc8dd;font:13px/1 sans-serif;cursor:pointer;
}
.lfv-tag-x:hover{background:rgba(0,210,255,.22);color:#fff}
/* 比上传页的 input[type=text]（0,1,1）更高一级，避免被 width:100% / 边框覆盖 */
.lfv-tag-editor .lfv-tag-input{
  flex:1 1 150px;width:auto;min-width:130px;height:28px;padding:0 2px;
  border:0;border-radius:0;background:transparent;color:#e6f6ff;
  font:inherit;font-size:13px;outline:none;
}
.lfv-tag-editor .lfv-tag-input:focus{border:0;box-shadow:none}
.lfv-tag-editor .lfv-tag-input::placeholder{color:#5f7689}
.tip.is-err{color:#ff8a8a !important}
