/* 司机电脑端学习 — 全站统一皮肤 */
.pcs-body {
    background: #eef3f8 !important;
}
.pcs-body .navbar-white {
    background: #fff;
    border-bottom: 1px solid #e8eef5;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.pcs-body .navbar-brand {
    color: var(--blue-800, #1a4f8a) !important;
    font-weight: 700;
}
.pcs-body .content {
    padding-bottom: 48px;
}
.pcs-body .footer {
    background: transparent;
    border: 0;
}

.pcs-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 0 24px;
}
.pcs-page.pcs-wide {
    max-width: 1240px;
}

.pcs-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 22px 24px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-800, #1a4f8a) 0%, var(--blue-600, #2b7fd6) 62%, #14b8a6 100%);
    box-shadow: 0 16px 32px color-mix(in srgb, var(--blue-600, #2b7fd6) 28%, transparent);
}
.pcs-hero h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.pcs-hero p {
    margin: 0;
    opacity: 0.92;
    font-size: 13px;
}
.pcs-hero__meta {
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
}

.pcs-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.pcs-subnav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
}
.pcs-subnav a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}
.pcs-subnav a.active {
    background: #1d4ed8;
    color: #fff;
}
.pcs-subnav a.pcs-out {
    margin-left: auto;
    color: #64748b;
}

.pcs-card {
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 16px;
    padding: 20px 22px 22px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.pcs-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.pcs-card h2 small {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    margin-left: 8px;
}

.pcs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.pcs-stat {
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.pcs-stat b {
    display: block;
    font-size: 26px;
    color: #1d4ed8;
    line-height: 1.2;
}
.pcs-stat b.warn { color: #ea580c; }
.pcs-stat span { color: #64748b; font-size: 12px; }

.pcs-alert {
    border-radius: 12px;
    border: 0;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.pcs-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.pcs-tabs a {
    padding: 7px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
}
.pcs-tabs a.active, .pcs-tabs a:hover {
    background: #1d4ed8;
    color: #fff;
}

.pcs-list .list-group-item {
    border: 1px solid #eef2f7;
    border-radius: 12px !important;
    margin-bottom: 10px;
    padding: 14px 16px;
}
.pcs-list .list-group-item:hover,
.pcs-list .list-group-item:focus {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #0f172a;
}
.pcs-list a.list-group-item,
.pcs-list a.list-group-item:hover,
.pcs-list a.list-group-item:focus {
    color: #0f172a;
    text-decoration: none;
}
.pcs-list .list-group-item-heading {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}
.pcs-list .progress {
    height: 8px;
    margin: 8px 0 0;
    border-radius: 99px;
    background: #e2e8f0;
    box-shadow: none;
}
.pcs-list .progress-bar {
    background: linear-gradient(90deg, #2563eb, #14b8a6);
    border-radius: 99px;
}

.pcs-empty {
    text-align: center;
    color: #64748b;
    padding: 28px 8px;
}

.pcs-login {
    max-width: 440px;
    margin: 24px auto 0;
}
.pcs-login .pcs-hero {
    margin-bottom: 0;
    border-radius: 16px 16px 0 0;
}
.pcs-login .pcs-card {
    border-radius: 0 0 16px 16px;
    margin-top: 0;
}
.pcs-login .nav-tabs {
    border: 0;
    margin-bottom: 16px;
}
.pcs-login .nav-tabs > li > a {
    border: 0;
    border-radius: 999px;
    color: #64748b;
    padding: 6px 14px;
}
.pcs-login .nav-tabs > li.active > a,
.pcs-login .nav-tabs > li.active > a:hover,
.pcs-login .nav-tabs > li.active > a:focus {
    background: var(--blue-600, #1d4ed8);
    color: #fff;
    border: 0;
}
.pcs-login .form-control {
    height: 42px;
    border-radius: 10px;
    border-color: #dbe4ee;
}
.pcs-login .btn-primary {
    border: 0;
    border-radius: 10px;
    background: var(--blue-600, #1d4ed8);
    padding: 10px 16px;
}
.pcs-login-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 12px;
    background: rgba(255,255,255,.18);
}
.pcs-login-kicker {
    margin: 0 0 12px;
    color: var(--blue-600, #1d4ed8);
    font-weight: 600;
}
.pcs-login-simple #pcs-login-tabs {
    display: none;
}
.pcs-more-login {
    display: none;
    text-align: center;
    margin: 0 0 12px;
}
.pcs-login-simple .pcs-more-login {
    display: block;
}
.pcs-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.pcs-toolbar .form-control {
    height: 36px;
    border-radius: 8px;
}
.pcs-arch-card h4 {
    margin: 0 0 6px;
}
.pcs-badge {
    display: inline-block;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 99px;
    background: #e2e8f0;
    color: #475569;
    margin-right: 6px;
}
.pcs-badge-ok {
    background: #dcfce7;
    color: #166534;
}
.pcs-badge-wait {
    background: #fef3c7;
    color: #92400e;
}
.pcs-play-cat {
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 8px;
    color: #334155;
}
@media (min-width: 992px) {
    #ds-play-root > .row > .col-md-3 {
        position: sticky;
        top: 66px;
        align-self: flex-start;
        z-index: 2;
    }
}
#ds-lessons {
    max-height: calc(100vh - 320px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 transparent;
}
#ds-lessons::-webkit-scrollbar {
    width: 4px;
}
#ds-lessons::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 99px;
}
#ds-lessons::-webkit-scrollbar-track {
    background: transparent;
}
#ds-lessons:hover::-webkit-scrollbar-thumb {
    background: #64748b;
}
#ds-lessons .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #0f172a;
    background: #fff;
}
#ds-lessons .list-group-item:hover,
#ds-lessons .list-group-item:focus {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #0f172a;
}
#ds-lessons .list-group-item.active,
#ds-lessons .list-group-item.active:hover,
#ds-lessons .list-group-item.active:focus {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
#ds-lessons .list-group-item.active .pcs-kind,
#ds-lessons .list-group-item.active:hover .pcs-kind,
#ds-lessons .list-group-item.active:focus .pcs-kind {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
#ds-lessons .list-group-item.active .pcs-prog-mini,
#ds-lessons .list-group-item.active:hover .pcs-prog-mini,
#ds-lessons .list-group-item.active:focus .pcs-prog-mini {
    color: #dbeafe;
}
.pcs-kind {
    flex-shrink: 0;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 6px;
    background: #e0e7ff;
    color: #3730a3;
}
.pcs-kind-doc,
.pcs-kind-pdf,
.pcs-kind-image {
    background: #ccfbf1;
    color: #115e59;
}
.pcs-prog-mini {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.pcs-presence-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef3c7;
    color: #92400e;
}
.pcs-media-miss {
    width: 100%;
    min-height: calc(100vh - 220px);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    background: #0f172a;
    color: #e2e8f0;
}
.pcs-player:has(.pcs-media-miss) {
    display: flex;
    align-items: stretch;
}
.pcs-media-miss h3 { margin: 0 0 8px; font-size: 18px; color: #f8fafc; }
.pcs-media-miss p { color: #94a3b8; margin-bottom: 16px; max-width: 28em; }
.pcs-player:fullscreen,
.pcs-player:-webkit-full-screen {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #000;
    border-radius: 0;
}
.pcs-player:fullscreen video,
.pcs-player:-webkit-full-screen video,
.pcs-player:fullscreen iframe,
.pcs-player:-webkit-full-screen iframe,
.pcs-player:fullscreen img,
.pcs-player:-webkit-full-screen img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}
.pcs-player {
    width: 100%;
    min-height: calc(100vh - 220px);
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}
.pcs-player video {
    display: block;
    width: 100%;
    height: calc(100vh - 250px);
    min-height: 560px;
    object-fit: contain;
    background: #000;
}
.pcs-player iframe {
    display: block;
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 640px;
    border: 0;
    background: #fff;
}
.pcs-player img {
    display: block;
    width: 100%;
    max-height: none;
    min-height: 560px;
    object-fit: contain;
    background: #0f172a;
}
.pcs-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
}
.pcs-ctrl-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pcs-controls input[type=range] { flex: 1; min-width: 80px; }
.pcs-vol { flex: 0 0 140px !important; max-width: 160px; }
.pcs-time {
    font-variant-numeric: tabular-nums;
    color: #475569;
    white-space: nowrap;
    min-width: 7.5em;
}
.pcs-lesson-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

#ds-sheet .btn { margin: 0 6px 6px 0; border-radius: 8px; }
#ds-exam-q .list-group-item { cursor: pointer; border-radius: 10px; margin-bottom: 8px; }
#ds-exam-q .list-group-item.active {
    background: #eff6ff;
    border-color: #1d4ed8;
    color: #0f172a;
}
#ds-cap-mask, #ds-face-mask { background: rgba(15, 23, 42, .5); }

.pcs-badge {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
}
.pcs-badge-ok { background: #d1fae5; color: #065f46; }
.pcs-badge-run { background: #dbeafe; color: #1e40af; }
.pcs-badge-pay { background: #fee2e2; color: #991b1b; }

@media (max-width: 767px) {
    .pcs-stats { grid-template-columns: 1fr; }
    .pcs-hero { flex-direction: column; align-items: flex-start; }
    .pcs-subnav a.pcs-out { margin-left: 0; }
}
