:root {
    --uvr-bg: #f4f7fb;
    --uvr-surface: #ffffff;
    --uvr-surface-soft: #eef4f8;
    --uvr-ink: #16212f;
    --uvr-muted: #6a7787;
    --uvr-line: rgba(22, 33, 47, 0.1);
    --uvr-brand: #0c8f8f;
    --uvr-brand-dark: #086d75;
    --uvr-brand-rgb: 12, 143, 143;
    --uvr-brand-contrast: #ffffff;
    --uvr-brand-soft: rgba(12, 143, 143, .10);
    --uvr-brand-border: rgba(12, 143, 143, .34);
    --uvr-accent: #f0a52b;
    --uvr-blue: #2267c5;
    --uvr-shadow: 0 14px 34px rgba(20, 35, 60, 0.12);
    --uvr-shadow-soft: 0 8px 22px rgba(20, 35, 60, 0.08);
    --uvr-radius: 8px;
    --uvr-page-bg: #f4f7fb;
    --uvr-play-bg: #101a24;
    --uvr-content-width: min(1760px, calc(100vw - 32px));
    --uvr-play-content-width: var(--uvr-content-width);
}

html.uvr-theme-dark {
    --uvr-bg: #101820;
    --uvr-surface: #17232f;
    --uvr-surface-soft: #1f2e3d;
    --uvr-ink: #edf4fa;
    --uvr-muted: #9eb0c0;
    --uvr-line: rgba(226, 236, 246, 0.14);
    --uvr-brand: #22b8a6;
    --uvr-brand-dark: #73e2d2;
    --uvr-brand-rgb: 34, 184, 166;
    --uvr-brand-contrast: #061315;
    --uvr-brand-soft: rgba(34, 184, 166, .18);
    --uvr-brand-border: rgba(34, 184, 166, .48);
    --uvr-blue: #4d8fe8;
    --uvr-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    --uvr-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.28);
    --uvr-page-bg: #101820;
    --uvr-play-bg: #080d13;
}

body {
    background:
        radial-gradient(circle at top left, rgba(var(--uvr-brand-rgb), 0.12), transparent 34rem),
        linear-gradient(180deg, #fbfdff 0%, var(--uvr-bg) 42%, #eef3f8 100%);
    color: var(--uvr-ink);
}

html.uvr-theme-dark body {
    background:
        radial-gradient(circle at top left, rgba(var(--uvr-brand-rgb), 0.12), transparent 34rem),
        linear-gradient(180deg, #101820 0%, #0d141c 100%);
}

html.uvr-theme-dark .form-control,
html.uvr-theme-dark textarea,
html.uvr-theme-dark input {
    color: var(--uvr-ink);
    background: #0f1821;
    border-color: rgba(226, 236, 246, 0.18);
}

html.uvr-theme-dark .form-control::placeholder,
html.uvr-theme-dark textarea::placeholder,
html.uvr-theme-dark input::placeholder {
    color: #8fa2b3;
}

.uvr-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 74px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    line-height: 1;
    vertical-align: middle;
    backdrop-filter: blur(8px);
    margin-left: 12px;
}

.uvr-theme-toggle:hover,
.uvr-theme-toggle:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

.nv .b .uvr-theme-toggle {
    margin-top: -2px;
}

.videlplay .nv .b {
    text-align: right;
    padding-right: 18px;
}

.uvr-mobile-theme {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    margin-left: 6px;
}

.uvr-mobile-theme .uvr-theme-toggle-text {
    display: none;
}

.head_d,
.div_heard {
    box-shadow: 0 10px 24px rgba(13, 29, 46, 0.18);
}

.nv_input,
.div_heard_center input,
.form-control {
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.btn,
button {
    border-radius: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
}

#nv_center {
    max-width: none;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.videlplay .div_content {
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
}

#nv_center.row {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

.div_center {
    background: var(--uvr-surface);
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    box-shadow: var(--uvr-shadow-soft) !important;
    overflow: hidden;
}

.uvr-feature-grid {
    clear: both;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: var(--uvr-content-width);
    margin: 40px auto 0;
}

.uvr-feature-grid .div_center {
    float: none;
    width: auto;
    margin: 0;
}

.uvr-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    color: var(--uvr-ink);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--uvr-line);
    background: linear-gradient(180deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-section-title small {
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 500;
}

.icon_i {
    color: var(--uvr-brand) !important;
}

.uvr-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}

.uvr-card-grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uvr-card-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uvr-video-card {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: calc(25% - 18px);
    min-width: 190px;
    margin: 12px 8px;
    vertical-align: top;
    cursor: pointer;
    overflow: hidden;
    background: var(--uvr-surface);
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    box-shadow: 0 6px 18px rgba(20, 35, 60, 0.08);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.uvr-card-grid .uvr-video-card {
    display: flex;
    width: auto;
    min-width: 0;
    margin: 0;
}

.uvr-card-grid .uvr-grid-item {
    min-width: 0;
}

.uvr-list-footer {
    padding: 0 18px 18px;
}

.uvr-platform-footer-content {
    padding: 0 0 20px;
    text-align: center;
}

.uvr-platform-footer {
    clear: both;
    width: 100%;
    margin-top: 48px;
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
    border-top: 1px solid var(--uvr-line);
}

.uvr-platform-footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.uvr-platform-footer-content a {
    display: inline-block;
    padding: 2px 0;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.uvr-platform-footer-grid {
    width: 100%;
    border-collapse: collapse;
}

.uvr-platform-footer-grid td {
    vertical-align: top;
}

html.uvr-theme-dark .uvr-platform-footer {
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
    border-top-color: var(--uvr-line);
}

/* Legacy mobile/player pages still use `.middle` as their bottom area. */
.middle {
    color: var(--uvr-ink) !important;
    background: var(--uvr-surface-soft) !important;
    border-top: 1px solid var(--uvr-line);
}

@media (max-width: 800px) {
    .uvr-platform-footer {
        margin-top: 32px;
    }

    .uvr-platform-footer-inner {
        width: calc(100% - 20px);
    }

    .uvr-platform-footer-grid,
    .uvr-platform-footer-grid tbody,
    .uvr-platform-footer-grid tr,
    .uvr-platform-footer-grid td {
        display: block;
        width: 100% !important;
    }

    .uvr-platform-footer-grid td {
        padding: 13px 0 !important;
    }
}

.uvr-video-card:hover {
    transform: translateY(-4px);
    border-color: var(--uvr-brand-border);
    box-shadow: var(--uvr-shadow);
}

.uvr-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #dbe5ee;
    overflow: hidden;
}

.uvr-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.uvr-video-card:hover .uvr-video-thumb img {
    transform: scale(1.04);
}

.uvr-video-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    background: rgba(10, 22, 35, 0.74);
    backdrop-filter: blur(6px);
}

.uvr-video-meta {
    min-height: 78px;
    padding: 12px 12px 13px;
}

.uvr-video-title {
    min-height: 42px;
    color: var(--uvr-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uvr-video-time {
    margin-top: 8px;
    color: var(--uvr-muted);
    font-size: 12px;
    line-height: 1.2;
}

.pagination > li > a,
.pagination > li > span {
    color: var(--uvr-brand-dark);
    border-color: var(--uvr-line);
    border-radius: 8px !important;
    margin: 0 4px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > li > a:hover {
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    border-color: var(--uvr-brand);
}

.filter-area,
.navigation,
.div_nav .navbar {
    border-radius: 0 0 var(--uvr-radius) var(--uvr-radius);
}

.filter-area {
    background: var(--uvr-surface);
    border: 1px solid var(--uvr-line);
}

.navigation .filter-area,
#nv_center > .div_center,
#nv_center > .uvr-feature-grid {
    width: var(--uvr-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.filter-radio-wrap .item.active,
.filter-radio-wrap .item:hover {
    color: var(--uvr-brand-contrast) !important;
    background: var(--uvr-brand);
    border-radius: 999px;
}

/* Shared selected/active states. The palette is injected from platform_frontend_skin. */
body .btn-primary,
body .label-primary,
body .progress-bar-primary,
body .dropdown-menu > .active > a,
body .dropdown-menu > .active > a:hover,
body .dropdown-menu > .active > a:focus,
body .nav-pills > li.active > a,
body .nav-pills > li.active > a:hover,
body .nav-pills > li.active > a:focus,
body .list-group-item.active,
body .list-group-item.active:hover,
body .list-group-item.active:focus,
body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: var(--uvr-brand-contrast) !important;
    background-color: var(--uvr-brand) !important;
    border-color: var(--uvr-brand) !important;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary.active,
body .open > .dropdown-toggle.btn-primary {
    color: var(--uvr-brand-contrast) !important;
    background-color: var(--uvr-brand-dark) !important;
    border-color: var(--uvr-brand-dark) !important;
}

body .pagination > .active > a,
body .pagination > .active > span,
body .pagination > .active > a:hover,
body .pagination > .active > span:hover,
body .pagination > .active > a:focus,
body .pagination > .active > span:focus {
    color: var(--uvr-brand-contrast) !important;
    background-color: var(--uvr-brand) !important;
    border-color: var(--uvr-brand) !important;
}

body .nav-tabs > li.active > a,
body .nav-tabs > li.active > a:hover,
body .nav-tabs > li.active > a:focus {
    color: var(--uvr-brand-dark) !important;
    border-top-color: var(--uvr-brand) !important;
}

body .form-control:focus,
body input:focus,
body textarea:focus,
body select:focus {
    border-color: var(--uvr-brand) !important;
    box-shadow: 0 0 0 2px var(--uvr-brand-soft);
}

body input[type="checkbox"],
body input[type="radio"],
body input[type="range"] {
    accent-color: var(--uvr-brand);
}

body ::selection {
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
}

.videlplay {
    min-height: 100vh;
    background: var(--uvr-play-bg);
}

html.uvr-theme-light .videlplay {
    --uvr-play-bg: #f4f7fb;
}

.videlplay .div_content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 21vw, 390px);
    gap: 28px;
    width: var(--uvr-play-content-width) !important;
    margin-top: 34px;
}

.videlplay .div_content > div:first-child {
    grid-column: 1 / -1;
    color: var(--uvr-ink);
}

.videlplay .a_tit {
    color: var(--uvr-ink);
}

.videlplay .con_video,
.videlplay .con_video_right,
.videlplay .div-comment .box,
.videlplay .timeline > li > .timeline-item {
    background: var(--uvr-surface);
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    box-shadow: var(--uvr-shadow-soft) !important;
    overflow: hidden;
}

.videlplay .con_video {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    float: none;
}

.videlplay .con_video video {
    display: block;
    width: 100%;
    min-height: 420px;
    background: #05080c;
}

.videlplay .con_video > #play_video {
    width: 100% !important;
    margin: 0 !important;
    background: #05080c;
}

.videlplay .base {
    height: auto;
    min-height: 92px;
    margin: 0;
    padding: 18px 22px;
}

.videlplay .con_video_right {
    grid-column: 2;
    grid-row: 2 / span 2;
    position: relative;
    width: auto;
    min-height: 0;
    margin-left: 0;
    align-self: start;
    max-height: none;
    overflow: visible;
}

.uvr-related-panel,
.uvr-teacher-reviews {
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: 8px;
    background: var(--uvr-surface);
}

.uvr-related-panel {
    position: relative;
}

.videlplay .uvr-related-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 54px;
    margin: 0;
    color: var(--uvr-brand-contrast);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--uvr-brand), var(--uvr-brand-dark)) !important;
}

.videlplay .uvr-related-header .fa-youtube-play {
    margin-right: 8px;
    font-size: 32px;
}

.uvr-related-actions {
    position: absolute;
    top: 9px;
    right: 12px;
    z-index: 3;
    display: block;
    padding: 0;
}

.uvr-related-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    overflow: hidden;
    color: #fff;
    font-size: 0;
    border-color: rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.uvr-related-actions .btn:hover,
.uvr-related-actions .btn:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.uvr-related-actions .btn .fa {
    font-size: 14px;
}

.uvr-related-actions .btn.is-loading .fa {
    animation: uvr-spin 0.8s linear infinite;
}

@keyframes uvr-spin {
    to {
        transform: rotate(360deg);
    }
}

.con_video_right_content {
    width: 90%;
    margin: 0 auto;
    padding: 6px 0 12px;
}

.uvr-related-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 86px;
    padding: 12px 0;
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-related-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: #dce6ee;
}

.uvr-related-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.uvr-related-title {
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uvr-related-title:hover {
    color: var(--uvr-brand);
}

.uvr-related-meta {
    margin-top: 8px;
    color: var(--uvr-muted);
    font-size: 12px;
}

.uvr-related-empty {
    padding: 22px 0;
    color: var(--uvr-muted);
    text-align: center;
}

.uvr-related-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2px 0 16px;
    color: var(--uvr-muted);
    font-size: 13px;
}

.uvr-page-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--uvr-line);
    border-radius: 8px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-surface);
}

.uvr-page-btn.disabled {
    opacity: 0.42;
    cursor: default;
    transform: none;
}

.videlplay .div-comment {
    grid-column: 1 / 2;
    grid-row: 3;
    width: auto;
    float: none;
    margin-top: 0;
}

.videlplay .box-header,
.videlplay .box-footer {
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
    border-color: var(--uvr-line);
}

.videlplay .box-body {
    color: var(--uvr-ink);
    background: var(--uvr-surface);
    border-color: var(--uvr-line);
}

.videlplay .box-title {
    color: var(--uvr-ink);
}

.videlplay .timeline {
    padding-left: 0;
}

.videlplay .timeline > li {
    margin: 16px 0;
}

.videlplay .div-comment .box {
    margin-bottom: 20px;
}

.videlplay .div-comment .box-header {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--uvr-line);
}

.videlplay .div-comment .box-header > .fa {
    margin-right: 9px;
    color: var(--uvr-brand);
    font-size: 17px;
}

.videlplay .div-comment .box-body {
    padding: 16px 18px;
}

.videlplay .div-comment #comment_text {
    min-height: 96px;
    resize: vertical;
    color: var(--uvr-ink);
    background: var(--uvr-surface);
    border-color: var(--uvr-line);
    line-height: 1.6;
}

.videlplay .div-comment .box-footer {
    min-height: 58px;
    padding: 11px 18px;
    border-top: 1px solid var(--uvr-line);
}

.videlplay .div-comment .box-footer .btn {
    min-width: 84px;
}

.videlplay .timeline > .uvr-comment-thread {
    position: relative;
    margin: 14px 0;
}

.videlplay .timeline > .uvr-comment-thread > .uvr-comment-card {
    margin: 0;
    overflow: visible;
}

.uvr-comment-card {
    border-left: 3px solid var(--uvr-brand) !important;
}

.uvr-comment-card-teacher { border-left-color: #e7aa2f !important; }
.uvr-comment-card-ai { border-left-color: #4fa6e8 !important; }

.uvr-comment-card-ai .uvr-comment-card-header,
.uvr-comment-card-ai .uvr-comment-card-footer {
    background: rgba(79, 166, 232, 0.09);
}

.uvr-comment-card-ai .uvr-comment-card-body {
    background: rgba(79, 166, 232, 0.035);
}

.uvr-comment-card-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    margin: 0 !important;
    padding: 10px 150px 10px 14px !important;
    color: var(--uvr-ink) !important;
    border-bottom: 1px solid var(--uvr-line);
    background: var(--uvr-surface-soft);
    line-height: 1.2;
}

.uvr-comment-card-header .div-comment-img {
    width: 32px;
    height: 32px;
    margin: 0;
    flex: 0 0 32px;
    border: 1px solid var(--uvr-line);
    border-radius: 50%;
    object-fit: cover;
}

.uvr-comment-author {
    min-width: 0;
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-comment-type {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    color: var(--uvr-brand-dark);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: color-mix(in srgb, var(--uvr-brand) 13%, transparent);
}

.uvr-comment-card-teacher .uvr-comment-type {
    color: #9a6500;
    background: rgba(231, 170, 47, 0.18);
}

.uvr-comment-card-ai .uvr-comment-type {
    color: #166da8;
    background: rgba(79, 166, 232, 0.18);
}

.uvr-comment-time {
    position: absolute;
    top: 50%;
    right: 14px;
    margin: 0;
    color: var(--uvr-muted);
    font-size: 12px;
    transform: translateY(-50%);
    white-space: nowrap;
}

.uvr-comment-card-body {
    min-height: 66px;
    padding: 14px 16px !important;
    color: var(--uvr-ink) !important;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}

.uvr-comment-card-footer {
    min-height: 44px;
    padding: 8px 14px !important;
    border-top: 1px solid var(--uvr-line);
    background: var(--uvr-surface-soft);
}

.uvr-comment-card-footer .btn {
    margin-right: 6px;
    border-radius: 6px;
}

.uvr-comment-replies {
    box-sizing: border-box;
    width: calc(100% - 18px);
    max-height: 180px;
    margin: 8px 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: 7px;
    background: var(--uvr-surface-soft);
    transition: max-height 180ms ease;
}

.uvr-comment-replies.is-expanded {
    max-height: 480px;
    overflow-y: auto;
}

.uvr-comment-replies-list {
    padding: 4px 14px;
    background: transparent;
}

.uvr-comment-reply {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-comment-reply:last-child { border-bottom: 0; }

.uvr-comment-reply-avatar {
    width: 32px;
    height: 32px;
    margin: 0;
    border: 1px solid var(--uvr-line);
    border-radius: 50%;
    object-fit: cover;
}

.uvr-comment-reply-main {
    min-width: 0;
}

.uvr-comment-reply-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.uvr-comment-reply-name {
    min-width: 0;
    overflow: hidden;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-comment-reply-target {
    color: var(--uvr-muted);
    font-size: 12px;
    font-weight: 400;
}

.uvr-comment-reply-time {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--uvr-muted);
    font-size: 12px;
    white-space: nowrap;
}

.uvr-comment-reply-content {
    display: block;
    min-width: 0;
    margin-top: 5px;
    color: var(--uvr-ink);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.uvr-comment-reply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 7px;
}

.uvr-comment-reply-action {
    padding: 0;
    color: var(--uvr-brand-dark);
    font-size: 12px;
    font-weight: 700;
    border: 0;
    background: transparent;
}

.uvr-comment-reply-action.is-danger { color: #c94545; }

.uvr-comment-reply-action:hover,
.uvr-comment-reply-action:focus {
    color: var(--uvr-brand);
    background: transparent;
    box-shadow: none;
    transform: none;
}

.div-comment-load-more {
    display: block;
    width: auto;
    margin: 8px 0 0 18px;
    padding: 5px 2px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
    border: 0;
    background: transparent;
}

html.uvr-theme-dark .uvr-comment-type {
    color: var(--uvr-brand);
    background: var(--uvr-brand-soft);
}

html.uvr-theme-dark .uvr-comment-card-teacher .uvr-comment-type {
    color: #ffd57a;
    background: rgba(231, 170, 47, 0.2);
}

html.uvr-theme-dark .uvr-comment-card-ai .uvr-comment-type {
    color: #8ed4ff;
    background: rgba(79, 166, 232, 0.2);
}

html.uvr-theme-dark .uvr-comment-card-ai .uvr-comment-card-header,
html.uvr-theme-dark .uvr-comment-card-ai .uvr-comment-card-footer {
    background: rgba(35, 113, 161, 0.24);
}

html.uvr-theme-dark .uvr-comment-card-ai .uvr-comment-card-body {
    background: rgba(35, 113, 161, 0.11);
}

html.uvr-theme-dark .uvr-comment-card-body,
html.uvr-theme-dark .uvr-comment-reply-content {
    color: #edf4fa !important;
}

html.uvr-theme-dark .uvr-comment-author { color: #f5f9fc; }
html.uvr-theme-dark .uvr-comment-time,
html.uvr-theme-dark .uvr-comment-reply-target,
html.uvr-theme-dark .uvr-comment-reply-time { color: #b7c6d3; }
html.uvr-theme-dark .uvr-comment-reply-name,
html.uvr-theme-dark .div-comment-load-more,
html.uvr-theme-dark .uvr-comment-reply-action { color: #7fe0d4; }
html.uvr-theme-dark .uvr-comment-reply-action.is-danger { color: #ff9d9d; }

html.uvr-theme-dark #modal-comment .modal-content {
    color: var(--uvr-ink);
    background: var(--uvr-surface);
}

html.uvr-theme-dark #modal-comment .modal-header,
html.uvr-theme-dark #modal-comment .modal-footer {
    border-color: var(--uvr-line);
    background: var(--uvr-surface-soft);
}

.uvr-mobile-section {
    min-height: 0 !important;
    padding: 12px 0 18px;
    background: var(--uvr-surface);
    border-top: 1px solid var(--uvr-line);
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-mobile-section .div_content_a {
    display: block;
    padding: 0 12px 8px;
    color: var(--uvr-ink);
}

.uvr-mobile-section .div_content_video {
    padding: 0 8px;
}

.uvr-mobile-section::after,
.uvr-mobile-section .div_content_video::after {
    content: "";
    display: block;
    clear: both;
}

.uvr-mobile-comments {
    margin: 20px 10px 0;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: 8px;
    background: var(--uvr-surface);
}

.uvr-mobile-comments-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    color: var(--uvr-brand-contrast);
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--uvr-brand), var(--uvr-brand-dark));
}

.uvr-mobile-comments-header .fa { font-size: 22px; }

.uvr-mobile-comment-compose {
    padding: 12px;
    border-bottom: 1px solid var(--uvr-line);
    background: var(--uvr-surface-soft);
}

.uvr-mobile-comment-compose textarea {
    display: block;
    width: 100%;
    min-height: 74px;
    padding: 10px;
    color: var(--uvr-ink);
    border: 1px solid var(--uvr-line);
    border-radius: 6px;
    background: var(--uvr-surface);
    line-height: 1.55;
    resize: vertical;
}

.uvr-mobile-comment-compose-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.uvr-mobile-comment-compose-actions span {
    min-width: 0;
    color: var(--uvr-muted);
    font-size: 12px;
}

.uvr-mobile-comment-compose-actions .btn { min-width: 72px; }

.uvr-mobile-comment-login {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--uvr-line);
    background: var(--uvr-surface-soft);
}

.uvr-mobile-comment-login a {
    color: var(--uvr-brand-dark);
    font-size: 14px;
    font-weight: 700;
}

.uvr-mobile-comment-list { padding: 10px; }

.uvr-mobile-comment-card {
    margin: 0 0 10px;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-left-width: 3px;
    border-radius: 6px;
    background: var(--uvr-surface);
}

.uvr-mobile-comment-card .uvr-comment-card-header {
    min-height: 48px;
    padding: 8px 104px 8px 10px !important;
}

.uvr-mobile-comment-card .uvr-comment-card-body {
    min-height: 0;
    padding: 11px 12px !important;
    font-size: 13px;
}

.uvr-mobile-comment-replies {
    margin: -2px 0 10px 12px;
    padding-left: 8px;
    border-left: 2px solid var(--uvr-line);
}

.uvr-mobile-comment-reply { margin-bottom: 8px; }

.uvr-mobile-comment-reply .uvr-comment-card-header { padding-right: 94px !important; }

.uvr-mobile-comments-empty {
    margin: 0;
    padding: 18px 10px;
    color: var(--uvr-muted);
    font-size: 13px;
    text-align: center;
}

.uvr-mobile-card-wrap {
    box-sizing: border-box;
}

.uvr-mobile-card {
    display: block;
    width: calc(100% - 14px);
    margin: 8px 7px 14px;
    padding: 0 0 10px;
    overflow: hidden;
    color: var(--uvr-ink);
    text-decoration: none;
    background: var(--uvr-surface);
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    box-shadow: 0 8px 18px rgba(20, 35, 60, 0.08);
}

.uvr-mobile-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    margin: 0 !important;
    object-fit: cover;
    display: block;
}

.uvr-mobile-card .la,
.uvr-mobile-card .las {
    width: auto;
    margin: 8px 10px 0;
    color: var(--uvr-ink);
    font-weight: 700;
    line-height: 1.35;
}

.uvr-mobile-card-meta {
    margin: 5px 10px 0;
    color: var(--uvr-muted);
    font-size: 12px;
}

.uvr-mobile-recommendations {
    box-sizing: border-box;
    width: calc(100% - 16px);
    margin: 22px 8px 0;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: 0 8px 18px rgba(20, 35, 60, 0.08);
}

.uvr-mobile-recommendations-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0 12px;
    color: var(--uvr-brand-contrast);
    background: linear-gradient(135deg, var(--uvr-brand), var(--uvr-brand-dark));
}

.uvr-mobile-recommendations-header h2 {
    min-width: 0;
    margin: 0;
    color: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.uvr-mobile-recommendations-header h2 .fa { margin-right: 6px; }

.uvr-mobile-recommendations-refresh {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 4px 8px;
    color: #fff;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.uvr-mobile-recommendations-refresh:focus,
.uvr-mobile-recommendations-refresh:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.uvr-mobile-recommendations-refresh:disabled { opacity: 0.68; }

.uvr-mobile-recommendations-refresh.is-loading .fa {
    animation: uvr-spin 0.8s linear infinite;
}

.uvr-mobile-recommendation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    padding: 12px;
}

.uvr-mobile-recommendation-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.uvr-mobile-recommendation-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 7px;
    background: #dce6ee;
}

.uvr-mobile-recommendation-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uvr-mobile-recommendation-title {
    display: -webkit-box;
    min-height: 2.8em;
    margin-top: 7px;
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.uvr-mobile-recommendation-title:hover { color: var(--uvr-brand); }

.uvr-mobile-recommendation-meta {
    margin-top: 4px;
    overflow: hidden;
    color: var(--uvr-muted);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-mobile-recommendation-empty {
    grid-column: 1 / -1;
    margin: 14px 0;
    color: var(--uvr-muted);
    text-align: center;
}

.uvr-mobile-recommendation-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px 14px;
    color: var(--uvr-muted);
    font-size: 13px;
}

.uvr-mobile-recommendation-page {
    width: 30px;
    height: 30px;
    color: var(--uvr-brand-dark);
    font-size: 20px;
    line-height: 1;
    border: 1px solid var(--uvr-line);
    border-radius: 8px;
    background: var(--uvr-surface);
}

.uvr-mobile-recommendation-page:disabled { opacity: 0.42; }

html.uvr-theme-dark .div_contents {
    background:
        radial-gradient(circle at top left, rgba(var(--uvr-brand-rgb), 0.1), transparent 24rem),
        linear-gradient(180deg, #0f171f 0%, #0b1219 100%);
    color: var(--uvr-ink);
}

html.uvr-theme-dark .div_nav .navbar-default,
html.uvr-theme-dark .div_nav .navbar-collapse,
html.uvr-theme-dark .div_nav .dropdown-menu {
    background: var(--uvr-surface);
    border-color: var(--uvr-line);
}

html.uvr-theme-dark .navbar-default .navbar-brand,
html.uvr-theme-dark .div_nav ul li a,
html.uvr-theme-dark .div_contents .div_content_a,
html.uvr-theme-dark .div_contents .la,
html.uvr-theme-dark .div_contents .las {
    color: var(--uvr-ink) !important;
}

html.uvr-theme-dark .navbar-default .navbar-toggle {
    background: var(--uvr-surface-soft);
    border-color: var(--uvr-line);
}

html.uvr-theme-dark .navbar-default .navbar-toggle .icon-bar {
    background-color: var(--uvr-muted);
}

html.uvr-theme-dark .div_heard_center input {
    color: var(--uvr-ink) !important;
    background: #0f1821 !important;
    border: 1px solid rgba(226, 236, 246, 0.18) !important;
}

html.uvr-theme-dark .search-logo {
    color: var(--uvr-ink) !important;
}

html.uvr-theme-dark .div_heard_center .uvr-mobile-theme {
    color: var(--uvr-ink);
    background: rgba(23, 35, 47, 0.92);
    border-color: rgba(226, 236, 246, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

html.uvr-theme-dark .uvr-mobile-section,
html.uvr-theme-dark .uvr-mobile-card {
    background: var(--uvr-surface);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

html.uvr-theme-dark .uvr-mobile-comments {
    border-color: rgba(226, 236, 246, 0.14);
    background: #0d161f;
}

html.uvr-theme-dark .uvr-mobile-comment-compose,
html.uvr-theme-dark .uvr-mobile-comment-login {
    border-color: rgba(226, 236, 246, 0.14);
    background: #101a23;
}

html.uvr-theme-dark .uvr-mobile-comment-compose textarea,
html.uvr-theme-dark .uvr-mobile-comment-card {
    color: #edf4fa;
    border-color: rgba(226, 236, 246, 0.14);
    background: #0f1a24;
}

html.uvr-theme-dark .div_contents > .div_content:not(.uvr-mobile-section) {
    color: var(--uvr-ink);
    background: transparent;
}

html.uvr-theme-dark .middle {
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft) !important;
    border-top: 1px solid var(--uvr-line);
}

@media (max-width: 1100px) {
    .uvr-feature-grid {
        grid-template-columns: 1fr;
    }

    .uvr-video-card {
        width: calc(33.333% - 18px);
    }

    .uvr-card-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .videlplay .div_content {
        grid-template-columns: 1fr;
    }

    .videlplay .con_video {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .videlplay .con_video_right {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .videlplay .div-comment {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .videlplay .uvr-live-comment-section {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .videlplay .uvr-live-comment-section ~ .con_video_right {
        grid-row: 4;
    }
}

@media (max-width: 800px) {
    :root {
        --uvr-content-width: calc(100vw - 20px);
    }

    body {
        background: #f5f7fb;
    }

    .div_heard {
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .div_heard_center {
        position: relative;
    }

    .div_heard_center .uvr-mobile-theme {
        position: absolute;
        top: 18px;
        right: -24px;
        color: #111;
        background: rgba(255, 255, 255, 0.92);
        border-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }

    .div_heard_right img {
        left: 40% !important;
    }

    .div_carousel {
        overflow: hidden;
        border-radius: 0 0 var(--uvr-radius) var(--uvr-radius);
    }

    .div_content {
        margin-top: 12px !important;
    }

    .div_video_con,
    .div_live_content,
    .div_letter {
        width: 50% !important;
        float: left;
    }

    .uvr-mobile-card-wrap {
        float: left !important;
        width: 50% !important;
        padding: 0 4px;
    }

    .uvr-mobile-card-wrap .uvr-mobile-card {
        float: none !important;
        width: calc(100% - 8px) !important;
        margin: 8px 4px 14px;
    }

    .sum-pager {
        float: none !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sum-pager::after {
        content: "";
        display: block;
        clear: both;
    }

    .sum-pager + div {
        clear: both;
        width: 100%;
        overflow: hidden;
    }

    .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin: 8px auto 0 !important;
        width: fit-content !important;
        max-width: calc(100vw - 24px);
        overflow: hidden;
        padding-left: 0;
        padding: 8px 0;
    }

    .pagination > li {
        float: none !important;
        display: inline-flex;
    }

    .pagination > li > a,
    .pagination > li > span {
        min-width: 32px;
        padding: 6px 8px;
        text-align: center;
    }

    .uvr-card-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --uvr-content-width: calc(100vw - 16px);
    }

    .uvr-feature-grid {
        width: var(--uvr-content-width);
        margin: 24px auto 0;
    }

    .uvr-card-grid,
    .uvr-card-grid-compact {
        grid-template-columns: 1fr;
    }

    .uvr-card-grid-wide {
        grid-template-columns: 1fr;
    }

    .uvr-video-card {
        width: calc(100% - 18px);
        min-width: 0;
    }

    .videlplay .con_video video {
        min-height: 240px;
    }
}

.uvr-video-player {
    --uvr-barrage-font-size: 18px;
    --uvr-barrage-speed: 9s;
    --uvr-barrage-height: 18%;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 320px;
    background: #02060a;
    color: #fff;
    isolation: isolate;
}

.uvr-video-player:fullscreen {
    width: 100%;
    height: 100%;
}

.uvr-video-player video {
    display: block;
    width: 100%;
    min-height: 320px;
    max-height: 68vh;
    background: #02060a;
    object-fit: contain !important;
}

.uvr-video-player:fullscreen video {
    width: 100%;
    height: 100%;
    max-height: none;
}

.uvr-barrage-layer {
    position: absolute;
    inset: 0 0 48px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.uvr-barrage {
    position: absolute;
    right: -5%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: min(78%, 780px);
    padding: 5px 9px;
    border-radius: 4px;
    color: #fff;
    font-size: var(--uvr-barrage-font-size);
    font-weight: 600;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    animation: uvr-barrage-scroll linear forwards;
    cursor: default;
    pointer-events: auto;
}

.uvr-barrage.is-hover-paused { animation-play-state: paused; }

.uvr-barrage-content {
    overflow: hidden;
    text-overflow: ellipsis;
}

.uvr-barrage-teacher {
    border: 1px solid rgba(255, 202, 84, 0.96);
    background: rgba(100, 66, 9, 0.76);
}

.uvr-barrage-ai {
    border: 1px solid rgba(71, 198, 255, 0.98);
    background: rgba(8, 74, 113, 0.78);
}

.uvr-barrage img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    object-fit: cover;
}

.uvr-barrage-name {
    font-size: 0.78em;
    opacity: 0.9;
}

.uvr-barrage-ai-icon {
    color: #70d9ff;
}

.uvr-ai-avatar {
    display: inline-grid;
    place-items: center;
    color: #67d8ff;
    border-color: rgba(79, 166, 232, 0.78) !important;
    background: rgba(25, 104, 151, 0.2);
    font-size: 18px;
}

@keyframes uvr-barrage-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 110%)); }
}

.uvr-video-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(4, 9, 15, 0.48), rgba(4, 9, 15, 0.97));
}

.uvr-control-button {
    display: inline-grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.uvr-control-button:hover,
.uvr-control-button:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    outline: 0;
    transform: translateY(-1px);
}

.uvr-video-time {
    min-width: 78px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.uvr-progress-shell {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 200px;
    height: 30px;
}

.uvr-progress-shell input[type=range] {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 30px;
    margin: 0;
    accent-color: var(--uvr-brand);
}

.uvr-comment-markers {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.uvr-comment-marker {
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--uvr-brand);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
    cursor: pointer;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.uvr-comment-marker.is-start { transform: translate(0, -50%); }
.uvr-comment-marker.is-end { transform: translate(-100%, -50%); }

.uvr-comment-marker:hover,
.uvr-comment-marker:focus {
    width: 12px;
    height: 12px;
    outline: 0;
}

.uvr-comment-marker-teacher { background: #f4bd42; }
.uvr-comment-marker-ai { background: #55c9ff; }

.uvr-video-controls > input.uvr-volume-range[type=range] {
    flex: 0 0 72px;
    width: 72px !important;
    min-width: 72px;
    max-width: 72px;
    margin: 0;
    accent-color: var(--uvr-brand);
}

.uvr-barrage-settings-panel {
    position: absolute;
    right: 12px;
    bottom: 54px;
    z-index: 6;
    width: 238px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(12, 20, 30, 0.97);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
    color: #f4f8fb;
}

.uvr-barrage-settings-panel[hidden] { display: none; }

.uvr-barrage-settings-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
}

.uvr-barrage-setting-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0;
    font-size: 12px;
}

.uvr-barrage-setting-range input {
    flex: 1 1 auto;
    min-width: 0;
    accent-color: var(--uvr-brand);
}

.uvr-teacher-reviews {
    width: 100%;
    margin: 20px 0 0;
    padding: 0 0 12px;
}

.uvr-teacher-reviews-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #dd9c33, #ca7330);
}

.uvr-teacher-reviews-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.uvr-teacher-reviews-title .fa {
    font-size: 27px;
}

.uvr-course-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--uvr-line, #dbe2e8);
    background: var(--uvr-surface-soft, #f7fafc);
}

.uvr-course-score-label {
    color: var(--uvr-ink, #172330);
    font-size: 14px;
    font-weight: 700;
}

.uvr-course-score .uvr-score-stars {
    margin-top: 0;
    font-size: 20px;
    letter-spacing: 1.5px;
}

.uvr-course-score-empty {
    color: var(--uvr-muted, #637282);
    font-size: 13px;
}

.uvr-teacher-review {
    margin: 12px 12px 0;
    padding: 10px;
    border: 1px solid var(--uvr-line, #dbe2e8);
    border-radius: 5px;
    background: var(--uvr-surface-soft, #f7fafc);
}

.uvr-teacher-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--uvr-ink, #172330);
    font-size: 13px;
}

.uvr-teacher-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.uvr-score-stars {
    display: inline-block;
    margin-top: 7px;
    color: #d99317;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: help;
}

.uvr-teacher-score-summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.uvr-teacher-review .uvr-teacher-score-summary {
    margin-top: 7px;
}

.uvr-teacher-score-label {
    color: var(--uvr-muted, #637282);
    font-size: 12px;
}

.uvr-teacher-score-summary .uvr-score-stars {
    margin-top: 0;
}

.uvr-teacher-content,
.uvr-teacher-empty {
    margin: 8px 0 0;
    color: var(--uvr-muted, #637282);
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.uvr-teacher-empty { margin: 12px; }

html.uvr-theme-dark .uvr-teacher-reviews {
    border-color: rgba(226, 236, 246, 0.14);
    background: #0d161f;
}

html.uvr-theme-dark .uvr-teacher-profile {
    color: #edf4fb;
}

html.uvr-theme-dark .uvr-course-score {
    border-color: rgba(226, 236, 246, 0.14);
    background: #101a23;
}

html.uvr-theme-dark .uvr-course-score-label {
    color: #edf4fb;
}

html.uvr-theme-dark .uvr-teacher-review {
    border-color: rgba(226, 236, 246, 0.13);
    background: #101a23;
}

html.uvr-theme-dark .uvr-teacher-content,
html.uvr-theme-dark .uvr-teacher-empty {
    color: #bdcbd8;
}

html.uvr-theme-dark .uvr-teacher-score-label {
    color: #bdcbd8;
}

@media (max-width: 800px) {
    .uvr-video-player,
    .uvr-video-player video {
        min-height: 230px;
    }

    .uvr-video-player video {
        max-height: 56vh;
    }

    .uvr-video-controls {
        gap: 5px;
        min-height: 44px;
        padding: 7px 8px;
    }

    .uvr-video-time { min-width: 66px; font-size: 11px; }
    .uvr-video-controls > input.uvr-volume-range[type=range],
    #uvrMuteToggle { display: none; }
    .uvr-barrage-settings-panel { right: 8px; bottom: 50px; width: min(264px, calc(100vw - 24px)); }
    .uvr-barrage { max-width: 88%; }
    .uvr-teacher-reviews { width: 100%; }
}

@media (max-width: 520px) {
    .uvr-comment-replies {
        width: calc(100% - 12px);
        margin-left: 12px;
    }

    .uvr-comment-replies-list {
        padding-right: 10px;
        padding-left: 10px;
    }

    .uvr-comment-reply {
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 8px;
    }

    .uvr-comment-reply-avatar {
        width: 28px;
        height: 28px;
    }

    .uvr-comment-reply-meta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 3px 8px;
    }

    .uvr-comment-reply-time {
        width: 100%;
        margin-left: 0;
    }
}

/* Live chat deliberately sits outside the player mount so player switching
   never tears down polling, barrage nodes, or the fullscreen interaction UI. */
.uvr-live-player-shell {
    --uvr-live-sticky-top: 70px;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #05080c;
}

.uvr-live-player-shell.is-live {
    position: sticky;
    top: var(--uvr-live-sticky-top);
    z-index: 1400;
    align-self: start;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

/* Sticky positioning stops at the video information container.  Live streams
   switch to this pinned state once the user reaches the comment section. */
.uvr-live-player-shell.is-scroll-pinned {
    position: fixed !important;
    top: var(--uvr-live-pinned-top, var(--uvr-live-sticky-top)) !important;
    z-index: 1400;
    overflow: visible;
    cursor: grab;
}

.uvr-live-player-shell.is-scroll-pinned .uvr-live-playback-mount,
.uvr-live-player-shell.is-scroll-pinned .uvr-live-playback-mount canvas,
.uvr-live-player-shell.is-scroll-pinned .uvr-live-playback-mount video {
    cursor: grab;
}

.uvr-live-player-spacer {
    display: block;
    max-width: 100%;
    pointer-events: none;
}

.uvr-live-player-resize {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 300;
    display: none;
    width: 16px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 4px 0 0 4px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(7, 16, 25, 0.74);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.18);
    cursor: ew-resize;
    pointer-events: auto !important;
    touch-action: none;
    transform: translateY(-50%);
}

.uvr-live-player-resize::before {
    display: block;
    content: '|||';
    font-size: 9px;
    letter-spacing: 1px;
    transform: rotate(90deg);
}

.uvr-live-player-resize-corner {
    top: auto;
    right: -24px;
    bottom: -24px;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: nwse-resize;
    transform: none;
}

.uvr-live-player-resize-corner::before {
    display: none;
}

.uvr-live-player-shell .uvr-live-player-resize-corner:hover,
.uvr-live-player-shell .uvr-live-player-resize-corner:focus,
.uvr-live-player-shell .uvr-live-player-resize-corner.is-resizing {
    background: transparent;
    box-shadow: none;
}

.uvr-live-player-shell.is-scroll-pinned .uvr-live-player-resize {
    display: block;
}

.uvr-live-player-resize:hover,
.uvr-live-player-resize:focus,
.uvr-live-player-resize.is-resizing {
    color: #fff;
    background: rgba(var(--uvr-brand-rgb), 0.88);
    outline: none;
}

.uvr-live-player-resizing,
.uvr-live-player-resizing * {
    user-select: none;
}

.uvr-live-player-dragging,
.uvr-live-player-dragging * {
    cursor: grabbing !important;
    user-select: none;
}

.videlplay .con_video > .uvr-live-player-shell {
    border-radius: var(--uvr-radius) var(--uvr-radius) 0 0;
}

/* The regular video card clips its children, which breaks sticky positioning
   and shifts a live player over its information block before any scrolling. */
.videlplay .con_video.uvr-live-video-container {
    overflow: visible;
}

.uvr-live-playback-mount {
    position: relative;
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    overflow: hidden;
    background: #05080c;
}

.uvr-live-playback-mount > .xgplayer,
.uvr-live-playback-mount > .jessibuca-container,
.uvr-live-playback-mount > video,
.uvr-live-playback-mount canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

.uvr-live-playback-mount video,
.uvr-live-playback-mount canvas {
    display: block !important;
    object-fit: contain;
}

/* Jessibuca already sizes its canvas to the stream's native resolution.  With
   the responsive mount, its inline scale would be applied a second time and
   leave the live picture centered inside a much smaller rectangle. */
.uvr-live-playback-mount canvas {
    transform: none !important;
}

.uvr-live-barrage-layer {
    position: absolute;
    inset: 0 0 0 0;
    z-index: 150;
    overflow: hidden;
    pointer-events: none;
}

.uvr-live-barrage {
    z-index: 1;
    max-width: min(72%, 780px);
    animation-duration: 10s;
}

.uvr-live-player-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 330;
    display: flex;
    gap: 7px;
}

.uvr-live-player-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    color: #fff;
    background: rgba(5, 12, 18, 0.68);
    line-height: 1;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.uvr-live-player-action:hover,
.uvr-live-player-action:focus {
    color: #fff;
    border-color: var(--uvr-brand);
    background: rgba(var(--uvr-brand-rgb), 0.72);
    outline: none;
    transform: translateY(-1px);
}

.uvr-live-comment-section {
    grid-column: 1 / 2;
    grid-row: 3;
    align-self: start;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    color: var(--uvr-ink);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-live-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--uvr-line);
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
}

.uvr-live-comment-header > span {
    font-size: 16px;
    font-weight: 700;
}

.uvr-live-comment-header .fa { color: var(--uvr-brand); margin-right: 7px; }
.uvr-live-comment-header small { color: var(--uvr-muted); }
.uvr-live-comment-page-form-host { padding: 14px 16px 16px; }

.uvr-live-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 66px;
    resize: vertical;
    border: 1px solid var(--uvr-line);
    border-radius: 6px;
    color: var(--uvr-ink);
    background: var(--uvr-surface);
}

.uvr-live-comment-form textarea:focus {
    border-color: var(--uvr-brand);
    box-shadow: 0 0 0 3px rgba(var(--uvr-brand-rgb), .14);
    outline: none;
}

.uvr-live-comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    margin-top: 9px;
}

.uvr-live-comment-form-actions span {
    min-width: 0;
    color: var(--uvr-muted);
    font-size: 13px;
}

.uvr-live-comment-form-actions .btn { min-width: 76px; }

.uvr-live-comment-login {
    padding: 8px 0;
    color: var(--uvr-muted);
}

.uvr-live-comment-login a { color: var(--uvr-brand); font-weight: 700; }

.uvr-live-page-comments .uvr-live-comment-section {
    margin: 0;
}

.uvr-live-page-comments .timeline {
    margin: 18px 0 0;
}

.uvr-live-fullscreen-drawer {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 320;
    display: flex;
    flex-direction: column;
    width: min(360px, 38vw);
    height: 100%;
    box-sizing: border-box;
    padding: 14px 14px 64px;
    border-left: 0;
    color: #edf4fa;
    background: rgba(92, 98, 104, 0.22);
    box-shadow: none;
    backdrop-filter: none;
}

.uvr-live-fullscreen-drawer[hidden] { display: none; }

.uvr-live-fullscreen-drawer.is-open {
    z-index: 340;
}

.uvr-live-player-shell.is-live-drawer-open .uvr-live-player-actions {
    z-index: 350;
}

.uvr-live-fullscreen-drawer.is-external-fullscreen {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
}

.uvr-live-fullscreen-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
}

.uvr-live-fullscreen-drawer-head strong { color: #fff; }
.uvr-live-fullscreen-drawer-head .fa-comments { margin-right: 6px; color: #61e2cf; }
.uvr-live-fullscreen-messages {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    gap: 8px;
    margin: 12px -4px 0 0;
    padding: 0 8px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.uvr-live-drawer-message {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    background: rgba(12, 16, 21, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.82);
}

.uvr-live-drawer-message-teacher {
    border-color: rgba(97, 226, 207, 0.74);
}

.uvr-live-drawer-message-ai {
    border-color: rgba(117, 163, 255, 0.76);
}

.uvr-live-drawer-message-line {
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.uvr-live-drawer-message-line strong {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.uvr-live-drawer-message-content {
    color: #fff;
}

.uvr-live-fullscreen-form-host { flex: 0 0 auto; padding-top: 12px; }
.uvr-live-fullscreen-drawer .uvr-live-comment-page-form-host { padding: 0; }
.uvr-live-fullscreen-drawer .uvr-live-comment-header { display: none; }
.uvr-live-fullscreen-drawer .uvr-live-comment-login { color: #c9d5df; }
.uvr-live-fullscreen-form-host .uvr-live-comment-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uvr-live-fullscreen-form-host .uvr-live-comment-form textarea {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    padding: 8px 10px;
    resize: none;
    color: #fff;
    background: rgba(8, 17, 26, 0.72);
    border-color: rgba(255, 255, 255, 0.34);
    line-height: 20px;
    white-space: nowrap;
}

.uvr-live-fullscreen-form-host .uvr-live-comment-form-actions {
    display: block;
    flex: 0 0 auto;
    min-height: 0;
    margin: 0;
}

.uvr-live-fullscreen-form-host .uvr-live-comment-form-actions .btn {
    min-width: 64px;
    height: 38px;
}

.uvr-live-fullscreen-form-host .uvr-live-comment-form-actions span {
    position: absolute;
    right: 0;
    bottom: calc(100% + 5px);
    color: #fff;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.82);
}

.uvr-live-player-shell.is-pseudo-fullscreen,
.uvr-live-player-shell:fullscreen {
    position: fixed !important;
    inset: 0;
    z-index: 3100;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #05080c;
}

.uvr-live-player-shell.is-pseudo-fullscreen .uvr-live-playback-mount,
.uvr-live-player-shell:fullscreen .uvr-live-playback-mount {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
}

.uvr-live-player-shell.is-pseudo-fullscreen .uvr-live-player-actions,
.uvr-live-player-shell:fullscreen .uvr-live-player-actions { top: 18px; right: 18px; }

.uvr-live-share-dialog {
    position: fixed;
    inset: 0;
    z-index: 3900;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 24px;
}

.uvr-live-share-dialog[hidden] { display: none; }

.uvr-live-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 16, 0.62);
}

.uvr-live-share-panel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: var(--uvr-surface, #fff);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.uvr-live-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid var(--uvr-line, rgba(22, 33, 47, 0.1));
    color: var(--uvr-ink, #16212f);
    background: var(--uvr-surface-soft, #eef4f8);
}

.uvr-live-share-head strong { font-size: 16px; }
.uvr-live-share-head strong .fa { margin-right: 7px; color: var(--uvr-brand, #0c8f8f); }

.uvr-live-share-close {
    display: inline-grid;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--uvr-muted, #647384);
    background: transparent;
    place-items: center;
}

.uvr-live-share-close:hover,
.uvr-live-share-close:focus { color: #fff; background: var(--uvr-brand, #0c8f8f); outline: 0; }

.uvr-live-share-body {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
}

.uvr-live-share-qr { margin: 0; text-align: center; }
.uvr-live-share-qr img {
    display: block;
    width: 190px;
    height: 190px;
    margin: 0 auto 10px;
    padding: 8px;
    border: 1px solid var(--uvr-line, rgba(22, 33, 47, 0.13));
    border-radius: 6px;
    background: #fff;
}
.uvr-live-share-qr figcaption { color: var(--uvr-muted, #647384); font-size: 13px; }

.uvr-live-share-copy { min-width: 0; }
.uvr-live-share-copy label { display: block; margin-bottom: 8px; color: var(--uvr-ink, #16212f); font-size: 14px; font-weight: 700; }
.uvr-live-share-copy textarea {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 10px 11px;
    border: 1px solid var(--uvr-line-strong, rgba(22, 33, 47, 0.22));
    border-radius: 6px;
    resize: none;
    color: var(--uvr-ink, #16212f);
    background: var(--uvr-surface-soft, #eef4f8);
    line-height: 1.55;
}

.uvr-live-share-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; margin-top: 12px; }
.uvr-live-share-actions span { min-width: 0; color: var(--uvr-muted, #647384); font-size: 13px; }
.uvr-live-share-actions .btn { flex: 0 0 auto; min-height: 36px; }
.uvr-live-share-actions .fa { margin-right: 5px; }

html.uvr-theme-dark .uvr-live-share-panel { border-color: rgba(226, 236, 246, 0.16); background: #0d161f; }
html.uvr-theme-dark .uvr-live-share-head { border-color: rgba(226, 236, 246, 0.12); color: #edf4fa; background: #14212d; }
html.uvr-theme-dark .uvr-live-share-copy label { color: #edf4fa; }
html.uvr-theme-dark .uvr-live-share-copy textarea { border-color: rgba(226, 236, 246, 0.2); color: #edf4fa; background: #0f1821; }

@media (max-width: 560px) {
    .uvr-live-share-dialog { align-items: end; padding: 12px; }
    .uvr-live-share-panel { width: 100%; border-radius: 8px; }
    .uvr-live-share-body { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .uvr-live-share-qr { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; }
    .uvr-live-share-qr img { width: 116px; height: 116px; margin: 0; padding: 5px; }
    .uvr-live-share-actions { align-items: flex-start; flex-direction: column; }
    .uvr-live-share-actions .btn { width: 100%; }
}

html.uvr-theme-dark .uvr-live-comment-section {
    border-color: rgba(226, 236, 246, 0.14);
    background: #0d161f;
}

html.uvr-theme-dark .uvr-live-comment-header { background: #14212d; }
html.uvr-theme-dark .uvr-live-comment-form textarea { background: #0f1821; color: #edf4fa; }

@media (max-width: 1100px) {
    .uvr-live-comment-section { grid-column: 1 / -1; grid-row: auto; }
    .videlplay .div-comment.uvr-live-page-comments { grid-row: 3; }
    .videlplay .div-comment.uvr-live-page-comments ~ .con_video_right { grid-row: 4; }
}

@media (max-width: 800px) {
    .uvr-live-player-shell.is-live {
        top: var(--uvr-live-sticky-top);
        z-index: 30;
    }

    .uvr-live-player-shell.has-live-chat {
        overflow: visible;
    }

    .uvr-live-player-shell.is-scroll-pinned {
        z-index: 30;
    }

    .uvr-live-player-resize {
        display: none !important;
    }

    .uvr-live-playback-mount {
        height: auto !important;
        min-height: 230px;
    }

    .uvr-live-player-actions { top: 8px; right: 8px; }
    .uvr-live-player-action { width: 34px; height: 34px; }
    .uvr-live-comment-section { margin: 18px 10px 0; }
    .uvr-live-comment-header { align-items: flex-start; flex-direction: column; gap: 3px; }
    .uvr-mobile-comments.uvr-live-page-comments .uvr-live-comment-section {
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .uvr-mobile-comments.uvr-live-page-comments .uvr-live-comment-page-form-host {
        padding-left: 0;
        padding-right: 0;
    }
    .uvr-mobile-comments.uvr-live-page-comments .uvr-live-comment-header {
        padding-left: 0;
        padding-right: 0;
    }
    .uvr-live-fullscreen-drawer {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: min(46vh, 380px);
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

    .uvr-live-fullscreen-drawer:not([hidden]) {
        position: fixed;
        z-index: 350;
    }

    /* The regular mobile player creates its own stacking context. Keep the
       non-fullscreen interaction panel at the document root while it is open
       so XG/Jessibuca controls cannot clip, offset, or cover it. */
    .uvr-live-fullscreen-drawer.is-page-drawer {
        position: fixed;
        inset: auto 0 0;
        z-index: 10050;
        box-sizing: border-box;
        width: 100%;
        height: min(56dvh, 460px);
        max-height: calc(100dvh - 16px);
        padding: 14px 14px 64px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-bottom: 0;
        border-radius: 14px 14px 0 0;
        background: rgba(48, 53, 59, 0.9);
        box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.34);
    }

    .uvr-live-fullscreen-drawer.is-external-fullscreen {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: min(46vh, 380px);
    }

    .uvr-live-player-shell.is-pseudo-fullscreen .uvr-live-player-actions,
    .uvr-live-player-shell:fullscreen .uvr-live-player-actions { top: 10px; right: 10px; }
}

.uvr-courseware-info-action {
    padding: 0 2.5% 12px;
}

.uvr-courseware-info-list {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    padding: 4px 2.5% 14px;
    color: var(--uvr-muted, #6a7787);
    font-size: 14px;
}

.uvr-courseware-info-label {
    padding-top: 1px;
    color: var(--uvr-ink, #16212f);
    font-weight: 600;
}

.uvr-courseware-info-label .fa {
    margin-right: 4px;
    color: var(--uvr-brand, #0c8f8f);
}

.uvr-courseware-info-link {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    color: var(--uvr-brand, #0c8f8f);
    text-decoration: underline;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-courseware-info-items {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
}

.uvr-courseware-info-link:hover,
.uvr-courseware-info-link:focus {
    color: var(--uvr-accent, #f0a52b);
}

.uvr-courseware-info-empty {
    color: var(--uvr-muted, #6a7787);
}

.uvr-courseware-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin: 6px 0 0 8px;
    padding: 6px 11px;
    border: 1px solid var(--uvr-brand-border);
    border-radius: 6px;
    background: var(--uvr-surface-soft, #eef4f8);
    color: var(--uvr-brand-dark, #086d75);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.uvr-courseware-trigger:hover,
.uvr-courseware-trigger:focus {
    border-color: var(--uvr-brand, #0c8f8f);
    background: var(--uvr-brand, #0c8f8f);
    color: var(--uvr-brand-contrast);
    outline: 0;
    transform: translateY(-1px);
}

.uvr-courseware-modal .modal-dialog {
    width: min(680px, calc(100vw - 32px));
    margin: 8vh auto;
}

.uvr-courseware-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: var(--uvr-radius, 8px);
    background: var(--uvr-surface, #fff);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
}

.uvr-courseware-modal .modal-header {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--uvr-line, rgba(22, 33, 47, .1));
    background: var(--uvr-surface-soft, #eef4f8);
}

.uvr-courseware-modal .modal-title {
    color: var(--uvr-ink, #16212f);
    font-size: 18px;
    font-weight: 700;
}

.uvr-courseware-modal .modal-title .fa {
    margin-right: 8px;
    color: var(--uvr-accent, #f0a52b);
}

.uvr-courseware-modal .close {
    order: 2;
    margin-left: auto;
    color: var(--uvr-ink, #16212f);
    opacity: .65;
}

.uvr-courseware-modal .modal-body {
    max-height: min(66vh, 680px);
    padding: 14px 18px 18px;
    overflow-y: auto;
}

.uvr-courseware-list {
    display: grid;
    gap: 9px;
}

.uvr-courseware-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--uvr-line, rgba(22, 33, 47, .1));
    border-radius: 6px;
    background: var(--uvr-surface-soft, #eef4f8);
}

.uvr-courseware-item-main {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
}

.uvr-courseware-item-main > .fa {
    flex: 0 0 28px;
    color: var(--uvr-brand, #0c8f8f);
    font-size: 25px;
    text-align: center;
}

.uvr-courseware-file-meta {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.uvr-courseware-file-meta strong {
    overflow: hidden;
    color: var(--uvr-ink, #16212f);
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-courseware-file-meta span {
    color: var(--uvr-muted, #6a7787);
    font-size: 12px;
}

.uvr-courseware-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.uvr-courseware-actions .btn {
    min-width: 58px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.uvr-courseware-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--uvr-line, rgba(22, 33, 47, .1));
    border-radius: 6px;
    background: #101820;
}

.uvr-courseware-preview[hidden] { display: none; }

.uvr-courseware-preview-media {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 52vh;
    margin: 0 auto;
}

.uvr-courseware-preview video { width: 100%; }

html.uvr-theme-dark .uvr-courseware-trigger {
    border-color: var(--uvr-brand-border);
    background: #172b35;
    color: var(--uvr-brand);
}

html.uvr-theme-dark .uvr-courseware-info-label { color: #edf4fa; }

html.uvr-theme-dark .uvr-courseware-trigger:hover,
html.uvr-theme-dark .uvr-courseware-trigger:focus {
    border-color: var(--uvr-brand, #22b8a6);
    background: var(--uvr-brand, #22b8a6);
    color: var(--uvr-brand-contrast);
}

html.uvr-theme-dark .uvr-courseware-modal .modal-content { background: #14212c; }
html.uvr-theme-dark .uvr-courseware-modal .modal-header { background: #1a2a37; }
html.uvr-theme-dark .uvr-courseware-modal .modal-header,
html.uvr-theme-dark .uvr-courseware-item { border-color: rgba(226, 236, 246, .14); }
html.uvr-theme-dark .uvr-courseware-modal .modal-title,
html.uvr-theme-dark .uvr-courseware-modal .close,
html.uvr-theme-dark .uvr-courseware-file-meta strong { color: #edf4fa; }
html.uvr-theme-dark .uvr-courseware-item { background: #1a2a37; }
html.uvr-theme-dark .uvr-courseware-file-meta span { color: #aebfce; }

@media (max-width: 800px) {
    .uvr-courseware-info-action { padding: 0 10px 12px; }
    .uvr-courseware-info-list { padding: 4px 10px 12px; }
    .uvr-courseware-trigger { min-height: 34px; margin-left: 0; }

    .uvr-courseware-modal .modal-dialog {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0;
    }

    .uvr-courseware-modal .modal-content { border-radius: 8px 8px 0 0; }
    .uvr-courseware-modal .modal-body { max-height: 76vh; padding: 12px; }
    .uvr-courseware-item { align-items: flex-start; gap: 10px; }
    .uvr-courseware-actions { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 420px) {
    .uvr-courseware-item { display: block; }
    .uvr-courseware-actions { margin-top: 10px; justify-content: flex-start; }
    .uvr-courseware-file-meta strong { white-space: normal; overflow-wrap: anywhere; }
}

.uvr-global-nav {
    position: sticky;
    top: 0;
    z-index: 1500;
    width: 100%;
    border-bottom: 1px solid var(--uvr-line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 7px 20px rgba(19, 36, 58, .1);
    backdrop-filter: blur(14px);
}

.uvr-global-nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    width: var(--uvr-content-width);
    min-height: 62px;
    margin: 0 auto;
}

.uvr-global-brand {
    display: inline-flex;
    flex: 0 1 230px;
    align-items: center;
    min-width: 0;
    gap: 9px;
    color: var(--uvr-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.uvr-global-brand:hover,
.uvr-global-brand:focus {
    color: var(--uvr-brand-dark);
    text-decoration: none;
}

.uvr-global-brand img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 36px;
    max-width: 52px;
    object-fit: contain;
}

.uvr-global-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-global-search {
    display: flex;
    flex: 0 1 520px;
    align-items: center;
    min-width: 220px;
    max-width: 520px;
    height: 38px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: 20px;
    background: var(--uvr-surface-soft);
}

.uvr-global-search:focus-within {
    border-color: var(--uvr-brand);
    box-shadow: 0 0 0 3px rgba(var(--uvr-brand-rgb), .12);
}

.uvr-global-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--uvr-ink);
    font-size: 13px;
    background: transparent;
}

.uvr-global-search input::placeholder { color: var(--uvr-muted); }

.uvr-global-search button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 68px;
    height: 38px;
    margin: -1px -1px -1px 0;
    padding: 0 11px;
    border: 0;
    color: var(--uvr-brand-contrast);
    font-size: 13px;
    font-weight: 700;
    background: var(--uvr-brand);
}

.uvr-global-search button:hover,
.uvr-global-search button:focus {
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand-dark);
    outline: 0;
}

.uvr-global-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.uvr-global-menu > ul {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 62px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uvr-global-menu > ul > li {
    position: relative;
    display: flex;
    align-items: stretch;
    list-style: none;
}

.uvr-global-menu-link,
.uvr-global-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 0 11px;
    border: 0;
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 700;
    background: transparent;
}

.uvr-global-menu-link:hover,
.uvr-global-menu-link:focus,
.uvr-global-menu > ul > li.is-active > .uvr-global-menu-link {
    color: var(--uvr-brand-dark);
    text-decoration: none;
    box-shadow: inset 0 -3px 0 var(--uvr-brand);
}

.uvr-global-submenu-toggle {
    width: 27px;
    padding-left: 0;
    padding-right: 7px;
    color: var(--uvr-muted);
    font-size: 13px;
}

.uvr-global-submenu-toggle:hover,
.uvr-global-submenu-toggle:focus {
    color: var(--uvr-brand-dark);
    outline: 0;
    transform: none;
}

.uvr-global-submenu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    display: none;
    min-width: 138px;
    margin: 0;
    padding: 7px;
    border: 1px solid var(--uvr-line);
    border-radius: 0 0 7px 7px;
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow);
    list-style: none;
}

.uvr-global-menu > ul > li:hover > .uvr-global-submenu,
.uvr-global-menu > ul > li:focus-within > .uvr-global-submenu,
.uvr-global-menu > ul > li.is-open > .uvr-global-submenu {
    display: block;
}

.uvr-global-submenu a {
    display: block;
    padding: 9px 10px;
    border-radius: 5px;
    color: var(--uvr-ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.uvr-global-submenu a:hover,
.uvr-global-submenu a:focus {
    color: var(--uvr-brand-dark);
    background: var(--uvr-surface-soft);
    text-decoration: none;
    outline: 0;
}

.uvr-global-tools {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.uvr-global-theme-toggle,
.uvr-global-logout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--uvr-line);
    border-radius: 50%;
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
}

.uvr-global-theme-toggle:hover,
.uvr-global-theme-toggle:focus,
.uvr-global-logout button:hover,
.uvr-global-logout button:focus {
    border-color: var(--uvr-brand);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    outline: 0;
}

.uvr-global-profile {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 168px;
    gap: 7px;
    padding: 5px 8px 5px 5px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--uvr-ink);
    font-size: 13px;
    font-weight: 700;
}

.uvr-global-profile:hover,
.uvr-global-profile:focus {
    border-color: var(--uvr-line);
    color: var(--uvr-brand-dark);
    background: var(--uvr-surface-soft);
    text-decoration: none;
}

.uvr-global-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.uvr-global-profile span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-global-profile-guest {
    min-height: 34px;
    padding-left: 9px;
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
}

.uvr-global-profile-guest:hover,
.uvr-global-profile-guest:focus {
    border-color: var(--uvr-brand-dark);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand-dark);
}

.uvr-global-logout { margin: 0; }
.uvr-global-menu-toggle { display: none; }

.uvr-global-nav-active .head_d,
.uvr-global-nav-active .div_heard { display: none !important; }

.uvr-global-nav-active .head_d .a,
.uvr-global-nav-active .head_d .c {
    display: none;
}

.uvr-global-nav-active .head_d .b {
    float: none;
    width: 100%;
    padding: 0 18px;
}

.uvr-global-nav-active .head_d .nv {
    background: var(--uvr-surface);
    box-shadow: 0 7px 16px rgba(19, 36, 58, .08);
}

.uvr-global-nav-active .head_d .uvr-course-search {
    width: min(900px, 100%);
    margin: 0 auto;
}

.uvr-global-nav-active .head_d .uvr-course-search .nv_input,
.uvr-global-nav-active .head_d .uvr-course-search select,
.uvr-global-nav-active .head_d .uvr-course-search input[type="date"] {
    border: 1px solid var(--uvr-line);
    color: var(--uvr-ink);
    background: var(--uvr-surface-soft);
}

.uvr-global-nav-active .head_d .uvr-course-search .nv_input::placeholder {
    color: var(--uvr-muted);
}

.uvr-global-nav-active .head_d .uvr-theme-toggle,
.uvr-global-nav-active .div_heard .uvr-mobile-theme {
    display: none;
}

.uvr-global-nav-active .div_heard_left,
.uvr-global-nav-active .div_heard_right {
    display: none;
}

.uvr-global-nav-active .div_heard_center {
    float: none;
    width: 100%;
}

.uvr-global-nav-active .div_head_input {
    left: 0;
    width: min(760px, calc(100% - 22px));
    margin-right: auto;
    margin-left: auto;
}

.uvr-card-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uvr-card-grid-home-all {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uvr-section-more {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.uvr-section-more:hover,
.uvr-section-more:focus {
    color: var(--uvr-brand);
    text-decoration: none;
}

#nv_center > .uvr-live-home-panel {
    clear: both;
    width: var(--uvr-content-width);
    margin: 24px auto 0;
}

#nv_center > .uvr-home-notices {
    margin-top: 24px;
}

#nv_center > .uvr-feature-grid {
    margin-top: 24px;
}

.uvr-home-notices {
    clear: both;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: var(--uvr-content-width);
    margin: 24px auto 0;
}

.uvr-home-notice-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-home-notice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    gap: 12px;
    padding: 0 18px;
    border-bottom: 1px solid var(--uvr-line);
    color: var(--uvr-ink);
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(180deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-home-notice-heading > span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.uvr-home-notice-heading .fa { color: var(--uvr-brand); }

.uvr-home-notice-more {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.uvr-home-notice-more:hover,
.uvr-home-notice-more:focus {
    color: var(--uvr-brand);
    text-decoration: none;
}

.uvr-home-notice-list { padding: 4px 18px 8px; }

.uvr-home-notice-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    min-height: 41px;
    gap: 9px;
    border-bottom: 1px solid var(--uvr-line);
    color: var(--uvr-ink);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

.uvr-home-notice-row:last-child { border-bottom: 0; }

.uvr-home-notice-row:hover,
.uvr-home-notice-row:focus {
    padding-left: 6px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-surface-soft);
    text-decoration: none;
}

.uvr-home-notice-name {
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-home-notice-attachment {
    color: var(--uvr-brand);
    font-size: 12px;
}

.uvr-home-notice-row time {
    color: var(--uvr-muted);
    font-size: 12px;
    white-space: nowrap;
}

.uvr-home-notice-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 213px;
    gap: 8px;
    padding: 20px;
    color: var(--uvr-muted);
    font-size: 14px;
    text-align: center;
}

.uvr-home-notice-empty .fa { color: var(--uvr-brand); }

html.uvr-theme-dark .uvr-home-notice-panel { background: #14212c; }
html.uvr-theme-dark .uvr-home-notice-heading { background: #172632; }
html.uvr-theme-dark .uvr-home-notice-row:hover,
html.uvr-theme-dark .uvr-home-notice-row:focus { background: #1b2c39; }

.uvr-live-card-grid {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.uvr-live-card-grid--featured {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uvr-live-card-grid--compact {
    grid-template-columns: repeat(10, minmax(0, 1fr));
}

.uvr-live-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    color: var(--uvr-ink);
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: 0 4px 12px rgba(20, 35, 60, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.uvr-live-card:hover,
.uvr-live-card:focus {
    color: var(--uvr-ink);
    text-decoration: none;
    border-color: var(--uvr-brand-border);
    box-shadow: var(--uvr-shadow-soft);
    transform: translateY(-2px);
}

.uvr-live-card--featured {
    flex-direction: column;
}

.uvr-live-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--uvr-surface-soft);
}

.uvr-live-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.uvr-live-card:hover .uvr-live-card-thumb img,
.uvr-live-card:focus .uvr-live-card-thumb img {
    transform: scale(1.035);
}

.uvr-live-card-badge {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .16);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.uvr-live-card--live .uvr-live-card-badge .fa {
    font-size: 8px;
}

.uvr-live-card--live .uvr-live-card-badge {
    border-color: rgba(255, 255, 255, .58);
    background: #d9363e;
}

.uvr-live-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 12px;
}

.uvr-live-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.uvr-live-card-subtitle,
.uvr-live-card-time {
    overflow: hidden;
    color: var(--uvr-muted);
    font-size: 12px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-live-card-subtitle { margin-top: 6px; }
.uvr-live-card-time { margin-top: auto; padding-top: 8px; }
.uvr-live-card-time .fa { margin-right: 4px; color: var(--uvr-brand); }

.uvr-live-card-grid--compact {
    gap: 8px;
}

.uvr-live-card-grid--compact .uvr-live-card {
    min-height: 104px;
}

.uvr-live-card-grid--compact .uvr-live-card-body {
    padding: 11px 10px;
}

.uvr-live-card-grid--compact .uvr-live-card-title {
    padding-right: 4px;
    font-size: 13px;
}

.uvr-live-card-grid--compact .uvr-live-card-time {
    padding-top: 7px;
    font-size: 11px;
}

.uvr-live-center-page {
    width: var(--uvr-content-width);
    min-height: calc(100vh - 160px);
    margin: 36px auto 56px;
}

.uvr-live-center-panel {
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-live-center-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-bottom: 1px solid var(--uvr-line);
    background: linear-gradient(135deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-live-center-kicker {
    margin: 0 0 6px;
    color: var(--uvr-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.uvr-live-center-header h1 {
    margin: 0;
    color: var(--uvr-ink);
    font-size: 28px;
    font-weight: 800;
}

.uvr-live-center-header p:not(.uvr-live-center-kicker) {
    margin: 9px 0 0;
    color: var(--uvr-muted);
    font-size: 14px;
}

.uvr-live-center-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uvr-live-center-tabs a {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--uvr-line);
    border-radius: 999px;
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 700;
}

.uvr-live-center-tabs a:hover,
.uvr-live-center-tabs a:focus,
.uvr-live-center-tabs a.is-active {
    border-color: var(--uvr-brand);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    text-decoration: none;
}

.uvr-live-center-section + .uvr-live-center-section {
    border-top: 1px solid var(--uvr-line);
}

.uvr-live-center-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 19px 22px 0;
    color: var(--uvr-ink);
    font-size: 18px;
    font-weight: 800;
}

.uvr-live-center-section-title i { margin-right: 7px; color: var(--uvr-brand); }
.uvr-live-center-section-title small { color: var(--uvr-muted); font-size: 13px; font-weight: 500; }

.uvr-live-center-pager { padding: 0 18px 20px; }
.uvr-live-center-pager .pagination { margin: 0; }

.uvr-live-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 168px;
    padding: 24px;
    color: var(--uvr-muted);
    text-align: center;
}

.uvr-live-empty .fa { color: var(--uvr-brand); font-size: 24px; }

.uvr-mobile-live-section {
    padding-right: 0;
    padding-bottom: 10px;
}

.uvr-mobile-live-section .uvr-live-card-grid { padding: 0 10px 10px; }

.uvr-live-card-grid--featured .uvr-live-card {
    flex-direction: column;
}

@media (max-width: 1279px) {
    .uvr-live-card-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .uvr-live-card-grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .uvr-live-home-panel { width: calc(100vw - 16px); margin-top: 20px; }
    .uvr-home-notices {
        grid-template-columns: 1fr;
        gap: 14px;
        width: calc(100vw - 16px);
        margin-top: 20px;
    }
    .uvr-home-notice-heading { min-height: 48px; padding: 0 13px; font-size: 16px; }
    .uvr-home-notice-list { padding: 3px 13px 7px; }
    .uvr-home-notice-row { min-height: 39px; gap: 7px; }
    .uvr-home-notice-name { font-size: 13px; }
    .uvr-home-notice-row time { font-size: 11px; }
    .uvr-home-notice-empty { min-height: 96px; }
    .uvr-live-card-grid { gap: 10px; padding: 12px; }
    .uvr-live-card-grid--featured,
    .uvr-live-card-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uvr-live-card-grid--compact .uvr-live-card { min-height: 96px; }
    .uvr-live-center-page { width: calc(100vw - 16px); margin-top: 20px; }
    .uvr-live-center-header { display: block; padding: 20px 15px; }
    .uvr-live-center-header h1 { font-size: 23px; }
    .uvr-live-center-tabs { margin-top: 16px; }
    .uvr-live-center-section-title { padding: 16px 14px 0; font-size: 16px; }
    .uvr-live-center-section .uvr-live-card-grid { padding: 14px; }
}

.uvr-mobile-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px 8px;
    color: var(--uvr-ink);
    font-size: 17px;
    font-weight: 700;
}

.uvr-placeholder-page,
.uvr-course-list-page {
    width: var(--uvr-content-width);
    min-height: calc(100vh - 160px);
    margin: 36px auto 56px;
}

.uvr-placeholder-panel,
.uvr-course-list-panel {
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-placeholder-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 40px 24px;
    text-align: center;
}

.uvr-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--uvr-brand-contrast);
    font-size: 29px;
    background: var(--uvr-brand);
    box-shadow: 0 12px 24px rgba(var(--uvr-brand-rgb), .25);
}

.uvr-placeholder-panel h1,
.uvr-course-list-header h1 {
    margin: 0;
    color: var(--uvr-ink);
    font-size: 28px;
    font-weight: 700;
}

.uvr-placeholder-panel p {
    max-width: 480px;
    margin: 13px 0 22px;
    color: var(--uvr-muted);
    font-size: 15px;
    line-height: 1.7;
}

.uvr-placeholder-panel .btn {
    min-width: 108px;
    background: var(--uvr-brand);
    border-color: var(--uvr-brand);
}

.uvr-course-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 104px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--uvr-line);
    background: linear-gradient(180deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-course-list-eyebrow {
    margin: 0 0 6px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.uvr-course-list-eyebrow .fa { margin-right: 6px; }

.uvr-course-sort-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.uvr-course-sort-tabs a {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid var(--uvr-line);
    border-radius: 6px;
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 700;
}

.uvr-course-sort-tabs a:hover,
.uvr-course-sort-tabs a:focus,
.uvr-course-sort-tabs a.is-active {
    border-color: var(--uvr-brand);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    text-decoration: none;
}

html.uvr-theme-dark .uvr-global-nav {
    border-color: rgba(226, 236, 246, .13);
    background: rgba(15, 25, 34, .94);
}

html.uvr-theme-dark .uvr-global-menu-link,
html.uvr-theme-dark .uvr-global-submenu-toggle,
html.uvr-theme-dark .uvr-global-profile,
html.uvr-theme-dark .uvr-global-theme-toggle,
html.uvr-theme-dark .uvr-global-logout button {
    color: #edf4fa;
}

html.uvr-theme-dark .uvr-global-submenu,
html.uvr-theme-dark .uvr-course-list-header { background: #172632; }
html.uvr-theme-dark .uvr-global-submenu a { color: #edf4fa; }
html.uvr-theme-dark .uvr-global-submenu a:hover,
html.uvr-theme-dark .uvr-global-submenu a:focus { background: #223442; }
html.uvr-theme-dark .uvr-global-theme-toggle,
html.uvr-theme-dark .uvr-global-logout button { background: #1e303d; }
html.uvr-theme-dark .uvr-global-search {
    border-color: rgba(226, 236, 246, .16);
    background: #1e303d;
}
html.uvr-theme-dark .uvr-global-search input { color: #edf4fa; }
html.uvr-theme-dark .uvr-placeholder-panel,
html.uvr-theme-dark .uvr-course-list-panel { background: #14212c; }

@media (max-width: 1180px) {
    .uvr-global-nav-inner { gap: 12px; }
    .uvr-global-brand { flex-basis: 190px; }
    .uvr-global-menu-link { padding: 0 8px; font-size: 13px; }
    .uvr-global-submenu-toggle { width: 23px; padding-right: 5px; }
}

@media (max-width: 1279px) {
    .uvr-global-nav-inner {
        width: calc(100vw - 24px);
        min-height: 56px;
    }

    .uvr-global-brand { flex: 0 1 190px; }
    .uvr-global-search { flex: 1 1 auto; max-width: 520px; }
    .uvr-global-brand img { height: 31px; max-width: 44px; }
    .uvr-global-brand span { font-size: 14px; }
    .uvr-global-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid var(--uvr-line);
        border-radius: 6px;
        color: var(--uvr-ink);
        background: var(--uvr-surface-soft);
    }

    .uvr-global-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 8px 12px 14px;
        border-bottom: 1px solid var(--uvr-line);
        background: var(--uvr-surface);
        box-shadow: var(--uvr-shadow);
    }

    .uvr-global-nav.is-menu-open .uvr-global-menu { display: block; }
    .uvr-global-menu > ul { display: block; min-height: 0; }
    .uvr-global-menu > ul > li { display: flex; min-height: 44px; border-bottom: 1px solid var(--uvr-line); }
    .uvr-global-menu > ul > li:last-child { border-bottom: 0; }
    .uvr-global-menu-link { flex: 1 1 auto; justify-content: flex-start; min-height: 44px; padding: 0 10px; }
    .uvr-global-submenu-toggle { width: 44px; min-height: 44px; padding: 0; }
    .uvr-global-submenu {
        position: static;
        width: 100%;
        margin: 0 0 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--uvr-surface-soft);
    }
    .uvr-global-menu > ul > li { flex-wrap: wrap; }
    .uvr-global-menu > ul > li:hover > .uvr-global-submenu { display: none; }
    .uvr-global-menu > ul > li.is-open > .uvr-global-submenu { display: block; }
    .uvr-global-submenu li + li { margin-top: 2px; }
    .uvr-global-tools { gap: 5px; }
    .uvr-global-profile { max-width: 126px; }
    .uvr-card-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uvr-card-grid-home-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .uvr-global-nav-inner { width: calc(100vw - 16px); }
    .uvr-global-brand { flex: 0 0 auto; max-width: 44px; }
    .uvr-global-brand span { display: none; }
    .uvr-global-search { flex: 1 1 104px; min-width: 104px; height: 34px; }
    .uvr-global-search input { height: 32px; padding: 0 8px; font-size: 12px; }
    .uvr-global-search button { width: 34px; height: 34px; padding: 0; }
    .uvr-global-search button span { display: none; }
    .uvr-global-profile { max-width: 38px; padding-right: 5px; }
    .uvr-global-profile span { display: none; }
    .uvr-global-profile-guest { width: 34px; padding: 0; justify-content: center; }
    .uvr-global-profile-guest .fa { margin: 0; }
    .uvr-global-tools { margin-left: 0; }
    .uvr-global-nav-active .head_d .b { padding: 0 8px; }
    .uvr-global-nav-active .head_d .uvr-course-search select { width: 82px; }
    .uvr-global-nav-active .head_d .uvr-course-search input[type="date"] { width: 106px; }
    .uvr-card-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uvr-card-grid-home-all { grid-template-columns: 1fr; }
    .uvr-section-title { min-height: 50px; padding: 0 13px; font-size: 16px; }
    .uvr-placeholder-page,
    .uvr-course-list-page { width: calc(100vw - 16px); margin-top: 20px; }
    .uvr-placeholder-panel { min-height: 330px; }
    .uvr-placeholder-panel h1,
    .uvr-course-list-header h1 { font-size: 23px; }
    .uvr-course-list-header { display: block; padding: 18px 14px; }
    .uvr-course-sort-tabs { justify-content: flex-start; margin-top: 15px; }
}

.uvr-notice-page {
    width: var(--uvr-content-width);
    min-height: calc(100vh - 160px);
    margin: 36px auto 56px;
}

.uvr-notice-panel,
.uvr-notice-detail {
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 104px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--uvr-line);
    background: linear-gradient(180deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-notice-eyebrow {
    margin: 0 0 6px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.uvr-notice-eyebrow .fa { margin-right: 6px; }

.uvr-notice-header h1,
.uvr-notice-detail h1 {
    margin: 0;
    color: var(--uvr-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.uvr-notice-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.uvr-notice-tabs a {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid var(--uvr-line);
    border-radius: 6px;
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 700;
}

.uvr-notice-tabs a:hover,
.uvr-notice-tabs a:focus,
.uvr-notice-tabs a.is-active {
    border-color: var(--uvr-brand);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    text-decoration: none;
}

.uvr-notice-list { padding: 0 24px; }

.uvr-notice-item {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-notice-item:last-child { border-bottom: 0; }

.uvr-notice-item-icon {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-brand-soft);
    font-size: 17px;
}

.uvr-notice-item-body { min-width: 0; flex: 1 1 auto; }

.uvr-notice-item-title-row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.uvr-notice-tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid var(--uvr-brand-border);
    border-radius: 4px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-brand-soft);
    font-size: 12px;
    font-weight: 700;
}

.uvr-notice-item-title {
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-notice-item-title:hover,
.uvr-notice-item-title:focus {
    color: var(--uvr-brand-dark);
    text-decoration: none;
}

.uvr-notice-attachment-mark {
    flex: 0 0 auto;
    color: var(--uvr-muted);
    font-size: 14px;
}

.uvr-notice-item p {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0;
    color: var(--uvr-muted);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.uvr-notice-item p.uvr-notice-private-hint {
    color: var(--uvr-brand-dark);
    font-weight: 600;
}

.uvr-notice-private-hint .fa { margin-right: 6px; }

.uvr-notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    color: var(--uvr-muted);
    font-size: 12px;
}

.uvr-notice-meta span { white-space: nowrap; }
.uvr-notice-meta .fa { margin-right: 5px; }

.uvr-notice-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    gap: 12px;
    color: var(--uvr-muted);
    font-size: 14px;
}

.uvr-notice-empty .fa {
    color: var(--uvr-brand);
    font-size: 34px;
}

.uvr-notice-detail { padding: 0 30px 32px; }

.uvr-notice-detail-header {
    padding: 24px 0 22px;
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-notice-detail-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.uvr-notice-back {
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 700;
}

.uvr-notice-back .fa { margin-right: 5px; }
.uvr-notice-back:hover,
.uvr-notice-back:focus { color: var(--uvr-brand-dark); text-decoration: none; }
.uvr-notice-detail .uvr-notice-meta { margin-top: 13px; }

.uvr-notice-content {
    padding: 28px 0 12px;
    color: var(--uvr-ink);
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.uvr-notice-content > :first-child { margin-top: 0; }
.uvr-notice-content > :last-child { margin-bottom: 0; }
.uvr-notice-content img { max-width: 100%; height: auto; }
.uvr-notice-content table { display: block; max-width: 100%; overflow-x: auto; }
.uvr-notice-content a { color: var(--uvr-brand-dark); }

.uvr-notice-source {
    margin: 18px 0 0;
    color: var(--uvr-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.uvr-notice-source a { color: var(--uvr-brand-dark); }

.uvr-notice-restricted {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    padding: 40px 20px;
    color: var(--uvr-muted);
    text-align: center;
}

.uvr-notice-restricted > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--uvr-brand-dark);
    background: var(--uvr-brand-soft);
    font-size: 22px;
}

.uvr-notice-restricted h2 {
    margin: 0;
    color: var(--uvr-ink);
    font-size: 19px;
    font-weight: 700;
}

.uvr-notice-restricted p { margin: 9px 0 18px; font-size: 14px; }

.uvr-notice-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid var(--uvr-brand);
    border-radius: 5px;
    color: var(--uvr-brand-contrast);
    font-size: 13px;
    font-weight: 700;
    background: var(--uvr-brand);
}

.uvr-notice-login-link:hover,
.uvr-notice-login-link:focus {
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand-dark);
    text-decoration: none;
}

.uvr-notice-attachments {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--uvr-line);
    border-radius: 7px;
    background: var(--uvr-surface-soft);
}

.uvr-notice-attachments h2 {
    margin: 0 0 12px;
    color: var(--uvr-ink);
    font-size: 16px;
    font-weight: 700;
}

.uvr-notice-attachments h2 .fa { margin-right: 7px; color: var(--uvr-brand); }
.uvr-notice-attachments ul { margin: 0; padding: 0; list-style: none; }

.uvr-notice-attachments li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 8px 0;
    border-top: 1px solid var(--uvr-line);
}

.uvr-notice-attachment-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-notice-attachment-name .fa { margin-right: 7px; color: var(--uvr-brand); }
.uvr-notice-attachment-size { flex: 0 0 auto; color: var(--uvr-muted); font-size: 12px; }

.uvr-notice-download {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    min-height: 31px;
    padding: 6px 10px;
    border: 1px solid var(--uvr-brand);
    border-radius: 5px;
    color: var(--uvr-brand-dark);
    font-size: 12px;
    font-weight: 700;
}

.uvr-notice-download:hover,
.uvr-notice-download:focus {
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    text-decoration: none;
}

html.uvr-theme-dark .uvr-notice-panel,
html.uvr-theme-dark .uvr-notice-detail { background: #14212c; }
html.uvr-theme-dark .uvr-notice-header { background: #172632; }
html.uvr-theme-dark .uvr-notice-item-title,
html.uvr-theme-dark .uvr-notice-detail h1,
html.uvr-theme-dark .uvr-notice-attachments h2,
html.uvr-theme-dark .uvr-notice-attachment-name,
html.uvr-theme-dark .uvr-notice-content { color: #edf4fa; }
html.uvr-theme-dark .uvr-notice-attachments { background: #1a2a37; }
html.uvr-theme-dark .uvr-notice-restricted h2 { color: #edf4fa; }

.uvr-search-page {
    width: var(--uvr-content-width);
    min-height: calc(100vh - 160px);
    margin: 36px auto 56px;
}

.uvr-search-panel {
    overflow: hidden;
    border: 1px solid var(--uvr-line);
    border-radius: var(--uvr-radius);
    background: var(--uvr-surface);
    box-shadow: var(--uvr-shadow-soft);
}

.uvr-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 108px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--uvr-line);
    background: linear-gradient(180deg, var(--uvr-surface), var(--uvr-surface-soft));
}

.uvr-search-eyebrow {
    margin: 0 0 6px;
    color: var(--uvr-brand-dark);
    font-size: 13px;
    font-weight: 700;
}

.uvr-search-eyebrow .fa { margin-right: 6px; }

.uvr-search-header h1 {
    margin: 0;
    color: var(--uvr-ink);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
}

.uvr-search-time-hint {
    margin: 8px 0 0;
    color: var(--uvr-muted);
    font-size: 13px;
}

.uvr-search-time-hint .fa { margin-right: 6px; color: var(--uvr-brand); }

.uvr-search-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.uvr-search-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid var(--uvr-line);
    border-radius: 6px;
    color: var(--uvr-muted);
    font-size: 13px;
    font-weight: 700;
}

.uvr-search-tabs a:hover,
.uvr-search-tabs a:focus,
.uvr-search-tabs a.is-active {
    border-color: var(--uvr-brand);
    color: var(--uvr-brand-contrast);
    background: var(--uvr-brand);
    text-decoration: none;
    outline: 0;
}

.uvr-search-list { padding: 0 24px; }

.uvr-search-item {
    display: flex;
    gap: 16px;
    padding: 21px 0;
    border-bottom: 1px solid var(--uvr-line);
}

.uvr-search-item:last-child { border-bottom: 0; }

.uvr-search-item-visual {
    display: flex;
    flex: 0 0 176px;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 99px;
    overflow: hidden;
    border-radius: 7px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-brand-soft);
}

.uvr-search-item-visual:hover,
.uvr-search-item-visual:focus { color: var(--uvr-brand); }
.uvr-search-item-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uvr-search-item-visual.is-placeholder .fa { font-size: 27px; }

.uvr-search-item-body { flex: 1 1 auto; min-width: 0; }

.uvr-search-item-title-row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.uvr-search-type-tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid var(--uvr-brand-border);
    border-radius: 4px;
    color: var(--uvr-brand-dark);
    background: var(--uvr-brand-soft);
    font-size: 12px;
    font-weight: 700;
}

.uvr-search-item-title {
    overflow: hidden;
    color: var(--uvr-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uvr-search-item-title:hover,
.uvr-search-item-title:focus { color: var(--uvr-brand-dark); text-decoration: none; }

.uvr-search-private-mark { flex: 0 0 auto; color: var(--uvr-muted); font-size: 13px; }

.uvr-search-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 8px;
    color: var(--uvr-muted);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.uvr-search-excerpt.is-private { color: var(--uvr-brand-dark); font-weight: 600; }

.uvr-search-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    color: var(--uvr-muted);
    font-size: 12px;
    line-height: 1.55;
}

.uvr-search-meta span { overflow-wrap: anywhere; }
.uvr-search-meta b { color: var(--uvr-ink); font-weight: 600; }
.uvr-search-meta .fa { margin-right: 5px; }

.uvr-search-highlight {
    padding: 0 1px;
    border-radius: 2px;
    color: inherit;
    background: rgba(var(--uvr-brand-rgb), .22);
}

.uvr-search-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.uvr-search-summary { color: var(--uvr-muted); font-size: 13px; }

.uvr-search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 11px;
    padding: 34px 20px;
    color: var(--uvr-muted);
    font-size: 14px;
    text-align: center;
}

.uvr-search-empty .fa { color: var(--uvr-brand); font-size: 34px; }
.uvr-search-empty strong { color: var(--uvr-ink); font-size: 17px; }

html.uvr-theme-dark .uvr-search-panel { background: #14212c; }
html.uvr-theme-dark .uvr-search-header { background: #172632; }
html.uvr-theme-dark .uvr-search-header h1,
html.uvr-theme-dark .uvr-search-item-title,
html.uvr-theme-dark .uvr-search-meta b,
html.uvr-theme-dark .uvr-search-empty strong { color: #edf4fa; }

@media (max-width: 1020px) {
    .uvr-search-page { width: calc(100vw - 24px); margin-top: 24px; }
    .uvr-search-header { min-height: 0; padding: 18px; }
    .uvr-search-list { padding: 0 18px; }
}

@media (max-width: 640px) {
    .uvr-search-page { width: calc(100vw - 16px); margin-top: 20px; }
    .uvr-search-header { display: block; padding: 18px 14px; }
    .uvr-search-header h1 { font-size: 22px; }
    .uvr-search-tabs { justify-content: flex-start; margin-top: 15px; }
    .uvr-search-list { padding: 0 14px; }
    .uvr-search-item { gap: 11px; padding: 16px 0; }
    .uvr-search-item-visual { flex-basis: 96px; width: 96px; height: 60px; border-radius: 5px; }
    .uvr-search-item-visual.is-placeholder .fa { font-size: 20px; }
    .uvr-search-item-title-row { gap: 6px; }
    .uvr-search-type-tag { padding: 3px 5px; font-size: 11px; }
    .uvr-search-item-title { font-size: 15px; }
    .uvr-search-excerpt { margin-top: 6px; font-size: 13px; }
    .uvr-search-meta { gap: 4px 10px; font-size: 11px; }
    .uvr-search-footer { display: block; text-align: center; }
    .uvr-search-footer .pagination { margin-top: 12px; }
}

@media (max-width: 1020px) {
    .uvr-notice-page { width: calc(100vw - 24px); margin-top: 24px; }
    .uvr-notice-header { min-height: 0; padding: 18px; }
    .uvr-notice-list { padding: 0 18px; }
}

@media (max-width: 640px) {
    .uvr-notice-page { width: calc(100vw - 16px); margin-top: 20px; }
    .uvr-notice-header { display: block; padding: 18px 14px; }
    .uvr-notice-header h1,
    .uvr-notice-detail h1 { font-size: 23px; }
    .uvr-notice-tabs { justify-content: flex-start; margin-top: 15px; }
    .uvr-notice-list { padding: 0 14px; }
    .uvr-notice-item { gap: 10px; padding: 16px 0; }
    .uvr-notice-item-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 15px; }
    .uvr-notice-item-title { font-size: 15px; }
    .uvr-notice-detail { padding: 0 16px 22px; }
    .uvr-notice-detail-header { padding: 18px 0; }
    .uvr-notice-content { padding-top: 22px; font-size: 14px; }
    .uvr-notice-attachments { padding: 14px; }
    .uvr-notice-attachments li { flex-wrap: wrap; gap: 6px 10px; }
    .uvr-notice-attachment-name { flex-basis: 100%; }
    .uvr-notice-download { margin-left: auto; }
}

.uvr-feature-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.uvr-card-grid-home-hot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uvr-card-grid-home-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.uvr-home-all-videos { margin-top: 34px !important; }
.uvr-home-all-videos > p,
.uvr-home-all-videos > .div_content_a { display: none; }

.uvr-home-all-videos .uvr-home-video-filter {
    margin: 0;
    padding: 8px 18px 12px;
    border: 0;
    border-bottom: 1px solid var(--uvr-line);
    border-radius: 0;
    background: var(--uvr-surface-soft);
    box-shadow: none;
}

.uvr-home-video-filter .resource-filter-row { border-color: var(--uvr-line); }
.uvr-home-video-filter .resource-filter-label { color: var(--uvr-ink); }
.uvr-home-video-filter .resource-filter-values {
    max-height: none;
    overflow: visible;
}
.uvr-home-video-filter .resource-filter-footer { padding-top: 9px; }
.uvr-home-video-filter .resource-filter-reset.is-active { color: var(--uvr-muted) !important; }
.uvr-home-video-filter .resource-filter-reset .fa { margin-right: 4px; }

@media (max-width: 1100px) {
    .uvr-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .uvr-home-all-videos .uvr-home-video-filter { padding: 7px 12px 10px; }
    .uvr-home-video-filter .resource-filter-row { gap: 8px; }
    .uvr-home-video-filter .resource-filter-label { flex-basis: 72px; font-size: 12px; }
    .uvr-card-grid-home-hot,
    .uvr-card-grid-home-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.uvr-teacher-page {
    width: min(1180px, calc(100% - 36px));
    margin: 32px auto 64px;
    color: #182536;
}

.uvr-speaker-link {
    color: #0879be;
    font-weight: 600;
}

.uvr-speaker-link:hover,
.uvr-speaker-link:focus {
    color: #07876a;
}

.uvr-teacher-profile {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 34px 0 40px;
    border-bottom: 1px solid #dce5ec;
}

.uvr-teacher-avatar {
    width: 180px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #e8eef3;
    box-shadow: 0 12px 30px rgba(17, 43, 66, .14);
}

.uvr-teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uvr-teacher-kicker {
    margin: 0 0 8px;
    color: #07876a;
    font-size: 13px;
    font-weight: 700;
}

.uvr-teacher-identity h1 {
    margin: 0 0 22px;
    font-size: 38px;
    line-height: 1.2;
}

.uvr-teacher-identity dl {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 42px;
    margin: 0;
}

.uvr-teacher-identity dl div {
    display: flex;
    gap: 12px;
}

.uvr-teacher-identity dt {
    color: #6a7988;
    font-weight: 400;
}

.uvr-teacher-identity dd {
    margin: 0;
    font-weight: 600;
}

.uvr-teacher-videos {
    padding-top: 38px;
}

.uvr-teacher-videos > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.uvr-teacher-videos h2 {
    margin: 0;
    font-size: 28px;
}

.uvr-teacher-videos > header > span {
    color: #6a7988;
}

.uvr-teacher-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.uvr-teacher-video {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 126px;
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(17, 43, 66, .07);
}

.uvr-teacher-video__media {
    position: relative;
    min-height: 126px;
    background: #132c43;
}

.uvr-teacher-video__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uvr-teacher-video__media span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 8px;
    color: #fff;
    font-size: 12px;
    background: rgba(11, 29, 45, .86);
    border-radius: 3px;
}

.uvr-teacher-video__media span.is-live {
    background: #cf3349;
}

.uvr-teacher-video__body {
    min-width: 0;
    padding: 20px;
}

.uvr-teacher-video__body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.45;
}

.uvr-teacher-video__body h3 a {
    color: #182536;
}

.uvr-teacher-video__body h3 a:hover {
    color: #0879be;
}

.uvr-teacher-video__body p {
    margin: 0;
    color: #71808f;
    font-size: 13px;
}

.uvr-teacher-empty {
    padding: 54px 0;
    color: #71808f;
    text-align: center;
    border-top: 1px solid #dce5ec;
    border-bottom: 1px solid #dce5ec;
}

@media (max-width: 900px) {
    .uvr-teacher-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .uvr-teacher-page {
        width: min(100% - 24px, 1180px);
        margin-top: 16px;
    }
    .uvr-teacher-profile {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 18px;
        padding: 24px 0 30px;
    }
    .uvr-teacher-avatar {
        width: 104px;
    }
    .uvr-teacher-identity h1 {
        margin-bottom: 14px;
        font-size: 27px;
    }
    .uvr-teacher-identity dl {
        display: grid;
        gap: 7px;
    }
    .uvr-teacher-video {
        grid-template-columns: 132px minmax(0, 1fr);
    }
    .uvr-teacher-video__body {
        padding: 14px;
    }
    .uvr-teacher-video__body h3 {
        font-size: 16px;
    }
}
