/*=====================================================
  Jaskanat site custom styles
  (模板 xyz-styles.css 之外的补充样式)
=====================================================*/

/* 移动端: 防止屏幕外的抽屉菜单/装饰元素产生横向滚动条 */
@media (max-width: 1199px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}

/* Font Awesome Solid (菜单箭头用), 字体文件在 css 目录 */
@font-face {
    font-family: "FA Solid";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url(fa-solid-900.woff2) format("woff2");
}

/*---------------- 导航 dropdown-arrow 菜单 (参考新闻资讯模板, 桌面端+移动端统一点击展开) ----------------*/
.page-header .menu-items .dropdown-arrow {
    position: relative;
}
/* 带子菜单的项加箭头指示; 箭头用自动外边距贴到行尾(RTL=最左), 名称保持在最右 */
.page-header .menu-items .dropdown-arrow > a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.page-header .menu-items .dropdown-arrow > a::after {
    content: "\f107";  /* chevron-down */
    font-family: "FA Solid";
    font-weight: 900;
    font-size: 0.625rem;
    margin-inline-start: auto;  /* 推到行尾: RTL 下=最左, LTR 下=最右 */
    transition: transform .25s ease;
    display: inline-block;
    flex: 0 0 auto;
}
.page-header .menu-items .dropdown-arrow.openUL > a::after {
    color: #0970B4;
    transform: rotate(180deg);
}
/* 展开状态: 栏目名称文字也变主色 (一级与子级父菜单均适用) */
.page-header .menu-items .dropdown-arrow.openUL > a {
    color: #0970B4 !important;
}

/*---------------- 导航配色 (仅日间: 白底深色字; 夜间模式由文末 dark-theme 区块接管) ----------------*/
body:not(.dark-theme) .page-header .header-main-bar,
body:not(.dark-theme) .page-header .header-navbar {
    background-color: #fff !important;
}
.page-header .header-main-bar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
/* 白色导航条上显示深色 logo */
body:not(.dark-theme) .page-header .header-logo .dark-logo { display: block !important; }
body:not(.dark-theme) .page-header .header-logo .light-logo { display: none !important; }
/* 菜单容器与菜单项: 白底 */
body:not(.dark-theme) .page-header .menu-items,
body:not(.dark-theme) .page-header .menu-items .menu-item {
    background: #fff !important;
}
body:not(.dark-theme) .page-header .menu-items .menu-item:hover,
body:not(.dark-theme) .page-header .menu-items .menu-item:focus-visible {
    background: #fff !important;
}
/* 一级菜单文字: 深色, 悬停/选中为主色 */
body:not(.dark-theme) .page-header .menu-items > .menu-item > a {
    color: #333 !important;
}
body:not(.dark-theme) .page-header .menu-items > .menu-item > a:hover,
body:not(.dark-theme) .page-header .menu-items > .menu-item.current-menu-item > a {
    color: var(--main-color, #0970B4) !important;
    background: #fff !important;
}
/* 下拉子菜单: 白底 + 深色文字, 悬停主色文字 (与移动端一致) */
body:not(.dark-theme) .page-header .menu-items .sub-menu {
    background: #fff !important;
}
body:not(.dark-theme) .page-header .menu-items .sub-menu > li > a {
    color: #333 !important;
}
body:not(.dark-theme) .page-header .menu-items .sub-menu > li > a:hover {
    color: var(--main-color, #0970B4) !important;
    background: #fff !important;
}
/* 移动端汉堡按钮颜色 */
body:not(.dark-theme) .page-header .menu-toggle,
body:not(.dark-theme) .page-header .navbar-toggler {
    color: #333 !important;
}

/* 子菜单默认隐藏 */
.page-header .menu-items .dropdown-arrow > .sub-menu {
    display: none !important;
}
/* 禁用模板默认的 hover 展开, 统一用点击展开 */
.page-header .menu-items .dropdown-arrow:hover > .sub-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
.page-header .menu-items .dropdown-arrow.openUL > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 桌面端: 子菜单下拉显示, 点击展开 */
@media (min-width: 1200px) {
    /* 一级栏目之间的间距: 模板默认每项 padding-inline:1rem (相邻两栏目名间距=2rem=32px)
       改小此值即可收紧, 例如 .625rem=10px (相邻名间距 20px) */
    .page-header .menu-items > .menu-item {
        padding-inline: .625rem;
    }
    .page-header .menu-items .dropdown-arrow > .sub-menu {
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        min-width: 300px;
        background-color: var(--sub-menu-bg, #fff);
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
        z-index: 9999;
        padding: .5rem 0;
        margin: 0;
        list-style: none;
    }
    .page-header .menu-items .dropdown-arrow.openUL > .sub-menu {
        display: block;
    }
    .page-header .menu-items .sub-menu > li {
        position: relative;
    }
    .page-header .menu-items .sub-menu > li > a {
        display: block;
        padding: .5rem 1.25rem;
        color: var(--sub-link-color, #333);
        white-space: nowrap;
    }
    .page-header .menu-items .sub-menu > li > a:hover {
        color: var(--main-color, #0970B4);
        background-color: var(--sub-menu-bg, #fff);
    }
    /* 子菜单里带三级的项: flex 让箭头靠最左、名称靠最右 (优先级高于 display:block) */
    .page-header .menu-items .sub-menu > li.dropdown-arrow > a {
        display: flex;
        align-items: center;
    }
    /* 三级菜单: 在二级菜单右侧展开 */
    .page-header .menu-items .sub-menu > .dropdown-arrow > .sub-menu {
        top: 0;
        inset-inline-start: 100%;
    }
}

/* 移动端: 子菜单在原位置展开 (参考新闻资讯模板 mobileMenu) */
@media (max-width: 1199px) {
    /* 菜单容器: 仅日间白色背景 */
    body:not(.dark-theme) .page-header .menu-items {
        background: #fff !important;
    }
    /* 所有菜单项背景: 仅日间白色 */
    body:not(.dark-theme) .page-header .menu-items .menu-item {
        background: #fff !important;
    }
    body:not(.dark-theme) .page-header .menu-items .menu-item:where(.current-menu-item, :hover, :focus-visible) {
        background: #fff !important;
        --link-bg-color: #fff !important;
    }
    /* 一级菜单项: flex 布局, 文字在左箭头在右 */
    .page-header .menu-items > .menu-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .875rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,.08);
    }
    body:not(.dark-theme) .page-header .menu-items > .menu-item > a {
        color: #333 !important;
    }
    body.dark-theme .page-header .menu-items > .menu-item > a {
        border-bottom-color: rgba(255,255,255,.1);
    }
    body:not(.dark-theme) .page-header .menu-items > .menu-item > a:hover {
        color: var(--main-color, #0970B4) !important;
        background: #fff;
    }
    /* 子菜单容器 */
    .page-header .menu-items .dropdown-arrow > .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: .5rem 0;
        margin: 0;
    }
    body:not(.dark-theme) .page-header .menu-items .dropdown-arrow > .sub-menu {
        background: #fff;
    }
    .page-header .menu-items .dropdown-arrow.openUL > .sub-menu {
        display: block;
    }
    /* 子菜单项 */
    .page-header .menu-items .sub-menu > li {
        border-bottom: 1px solid rgba(0,0,0,.05);
    }
    body.dark-theme .page-header .menu-items .sub-menu > li {
        border-bottom-color: rgba(255,255,255,.08);
    }
    .page-header .menu-items .sub-menu > li:last-child {
        border-bottom: none;
    }
    .page-header .menu-items .sub-menu > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .75rem 1rem .75rem 2rem;
    }
    body:not(.dark-theme) .page-header .menu-items .sub-menu > li > a {
        color: #333 !important;
    }
    body:not(.dark-theme) .page-header .menu-items .sub-menu > li > a:hover {
        color: var(--main-color, #0970B4) !important;
        background: #fff;
    }
    /* 三级子菜单: 仅日间白色 */
    body:not(.dark-theme) .page-header .menu-items .sub-menu .sub-menu {
        background: #fff;
    }
    .page-header .menu-items .sub-menu .sub-menu > li > a {
        padding-inline-start: 3rem;
    }
    /* 带子菜单的项: 箭头靠最左(flex 自动外边距), 名称靠最右 */
    .page-header .menu-items .dropdown-arrow > a {
        padding-inline-end: 1rem;
    }
}

/*---------------- 评论/留言长文本自动断行 (防止长 URL/无空格串撑破容器) ----------------*/
.comment-text,
.comment-content,
.comment-body {
    word-break: break-word;
    overflow-wrap: anywhere;
}
.comment-text img {
    max-width: 100%;
    height: auto;
}

/*---------------- 新闻总览: 栏目分组 ----------------*/
.cat-group { }
.cat-group + .cat-group {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(9, 112, 180, .12);
}
.cat-group-head .cat-group-title {
    font-size: 1.6rem;
    font-weight: 700;
}
.cat-group-head .cat-group-title a {
    color: var(--clr-dark, #1a1a1a);
    transition: color .25s;
}
.cat-group-head .cat-group-title a:hover {
    color: var(--main-color, #0970B4);
}

/*---------------- 分类快速筛选 ----------------*/
.cats-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .25rem;
    justify-content: center;
}
.cats-filter .butn-bare.active .butn-text-wrapper,
.cats-filter .butn-bare:hover .butn-text-wrapper {
    color: var(--main-color, #7c4dff);
}

/*---------------- 音乐卡片 ----------------*/
.music-card .music-img-link {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
}
.music-card .music-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .5s ease;
}
.music-card .music-img-link:hover .music-img {
    transform: scale(1.06);
}
.music-card .music-play {
    position: absolute;
    inset-inline-end: .75rem;
    inset-block-end: .75rem;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--main-color, #7c4dff);
    color: #fff;
    opacity: 0;
    transform: translateY(.5rem);
    transition: all .35s ease;
}
.music-card .music-img-link:hover .music-play {
    opacity: 1;
    transform: translateY(0);
}
.music-info {
    padding-top: .9rem;
}
.music-title {
    margin-bottom: .35rem;
    line-height: 1.5;
}
.music-title a {
    color: inherit;
    text-decoration: none;
}
.music-title a:hover {
    color: var(--main-color, #7c4dff);
}
.music-meta,
.vod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    font-size: .82rem;
    opacity: .85;
}

/*---------------- 音乐首页: 横向行列表 (专辑排行式, 参考图布局) ----------------*/
.music-row-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.music-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem .25rem;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.music-row:last-child {
    border-bottom: 0;
}
/* 封面方块 */
.mrl-cover {
    position: relative;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    border-radius: .75rem;
    overflow: hidden;
    display: block;
}
.mrl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.mrl-cover:hover .mrl-img {
    transform: scale(1.06);
}
.mrl-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity .25s ease;
}
.mrl-cover:hover .mrl-play {
    opacity: 1;
}
/* 圆形图标按钮 (收听量 / 歌手) */
.mrl-icons {
    flex: 0 0 auto;
    display: flex;
    gap: 1rem;
}
.mrl-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-decoration: none !important;
    color: #777;
    font-size: .78rem;
    white-space: nowrap;
}
.mrl-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(9, 112, 180, .4);
    background: #fff;
    color: var(--main-color, #0970B4);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.mrl-icon:hover .mrl-icon-circle {
    background: var(--main-color, #0970B4);
    border-color: var(--main-color, #0970B4);
    color: #fff;
}
/* 栏目胶囊标签 */
.mrl-pill {
    flex: 0 0 auto;
    background: rgba(9, 112, 180, .12);
    color: var(--main-color, #0970B4);
    font-weight: 600;
    padding: .55rem 1.25rem;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .25s ease;
}
.mrl-pill:hover {
    background: rgba(9, 112, 180, .22);
    color: var(--main-color, #0970B4);
}
/* 编号标题 + 信息行 */
.mrl-text {
    flex: 1 1 auto;
    min-width: 0;
}
.mrl-title {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}
.mrl-title a {
    color: #222;
    text-decoration: none !important;
}
.mrl-title a:hover {
    color: var(--main-color, #0970B4);
}
.mrl-num {
    color: var(--main-color, #0970B4);
    margin-inline-end: .35rem;
}
.mrl-meta {
    color: #999;
    font-size: .92rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .5rem;
}
.mrl-meta a {
    color: #999;
    text-decoration: none !important;
}
.mrl-meta a:hover {
    color: var(--main-color, #0970B4);
}
/* 右侧收听按钮 */
.mrl-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .music-row {
        gap: .75rem;
        padding: .75rem 0;
    }
    .mrl-cover {
        width: 64px;
        height: 64px;
        border-radius: .5rem;
    }
    .mrl-icons,
    .mrl-pill {
        display: none;
    }
    .mrl-title {
        font-size: 1rem;
    }
    .mrl-meta {
        font-size: .8rem;
    }
}

/* 播放器面板 */
.music-cover .featured-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
}
.audio-player-wrapper .site-audio {
    border-radius: .75rem;
    outline: none;
}
.audio-player-wrapper .site-audio::-webkit-media-controls-panel {
    background: var(--main-color, #7c4dff);
}

/* 歌词 (旧静态样式, 兼容其他页) */
.lyrics-box {
    white-space: pre-line;
    line-height: 2;
    max-height: 26rem;
    overflow-y: auto;
    padding-inline: .25rem;
}

/* 播放页信息条自动换行 */
.music-view-meta {
    flex-wrap: wrap;
    gap: .4rem .9rem;
}

/*---------------- 歌曲播放卡片 kz-player (轮播封面 + 同步歌词 + 控制栏) ----------------*/
/* 强隔离: 播放器内部强制 LTR, 抵御页面 RTL/全局排版干扰; 歌词行单独恢复 RTL */
.kz-player,
.kz-player * {
    direction: ltr !important;
    text-align: left !important;
    text-indent: 0 !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}
.kz-player {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 32px -14px rgba(9, 112, 180, .22);
    font-family: webfont, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
/* 轮播区 */
.kz-carousel-container,
.kz-carousel-wrapper,
.kz-carousel-track,
.kz-carousel-slide {
    direction: ltr !important;
}
.kz-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.kz-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.kz-carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94);
    will-change: transform;
}
.kz-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 20px;
    text-align: center !important;
}
.kz-avatar {
    width: 320px;
    max-width: 78%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 12px 28px rgba(9, 112, 180, .25);
    margin: 0 auto 14px !important;
    display: block !important;
    transition: transform .3s ease;
}
a:hover .kz-avatar {
    transform: scale(1.03);
}
.kz-avatar-fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e9f3fb, #d3e8f8);
    color: #0970B4;
    font-size: 96px;
    font-weight: 700;
    text-transform: uppercase;
}
.kz-person-name {
    font-size: 19px;
    font-weight: 700;
    color: #0970B4;
    margin-bottom: 4px;
    text-align: center !important;
}
.kz-person-desc {
    font-size: 13px;
    color: #5a6874;
    background: rgba(9, 112, 180, .08);
    padding: 3px 14px;
    border-radius: 40px;
    display: inline-block;
    text-align: center !important;
}
.kz-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 14px;
    background: transparent;
    direction: ltr !important;
}
.kz-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all .2s;
    cursor: pointer;
    border: none;
    padding: 0;
}
.kz-dot.active {
    width: 22px;
    border-radius: 6px;
    background: #0970B4;
}
.kz-carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    font-weight: bold;
    color: #0970B4;
    font-size: 20px;
    z-index: 2;
    border: none;
}
.kz-carousel-btn-left { left: 12px; }
.kz-carousel-btn-right { right: 12px; }
/* 歌词区 */
.kz-lrc-box {
    height: 260px;
    padding: 24px 16px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 12%),
        linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 12%);
    background-color: #fff;
    direction: ltr !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.kz-lrc-inner {
    transition: transform .35s cubic-bezier(.2, .9, .4, 1.1);
}
/* 无时间标签的静态歌词: 可滚动, 关闭遮罩 */
.kz-lrc-box.kz-lrc-static {
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 20px 16px;
}
.kz-lrc-line {
    text-align: center !important;
    font-size: 15px;
    line-height: 2 !important;
    color: #8a8f99;
    transition: all .25s ease;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-weight: 400;
    direction: rtl !important;
    padding: 0 4px;
}
.kz-lrc-line.active {
    color: #0970B4;
    font-size: 18px;
    font-weight: 700;
}
.kz-lrc-empty {
    text-align: center !important;
    color: #b0b7c0;
    font-size: 14px;
    direction: rtl !important;
    line-height: 2 !important;
    padding: 0 4px;
}
/* 控制栏 */
.kz-controls-section {
    background: #fff;
    border-top: 1px solid #eef2f6;
    padding: 18px 20px 22px;
}
.kz-progress-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    direction: ltr !important;
}
.kz-current-time,
.kz-total-time {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    min-width: 36px;
    text-align: center !important;
    font-family: monospace;
    flex: 0 0 auto;
}
.kz-progress-slider {
    flex: 1;
    min-width: 0;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}
.kz-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0970B4;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(9, 112, 180, .4);
    border: 2px solid #fff;
}
.kz-progress-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0970B4;
    cursor: pointer;
    border: 2px solid #fff;
}
.kz-volume-slider {
    width: 72px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #cbd5e1;
    border-radius: 4px;
    outline: none;
}
.kz-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0970B4;
    cursor: pointer;
}
.kz-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0970B4;
    cursor: pointer;
    border: none;
}
.kz-buttons-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    direction: ltr !important;
}
.kz-volume-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 0 12px;
    border-radius: 40px;
    height: 46px;
    margin-left: auto;
}
.kz-btn {
    background: #f1f5f9;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    color: #1e293b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .04);
    text-align: center !important;
    flex: 0 0 auto;
}
.kz-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
}
.kz-btn:hover {
    background: #e2e8f0;
    transform: scale(1.04);
}
.kz-btn:active {
    transform: scale(.96);
}
.kz-play-btn {
    background: #0970B4;
    color: #fff;
    width: 54px;
    height: 54px;
    box-shadow: 0 8px 18px rgba(9, 112, 180, .35);
}
.kz-play-btn:hover {
    background: #0b5a91;
}
.kz-volume-icon {
    color: #0970B4;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.kz-loop-active {
    background: #0970B4;
    color: #fff;
}
.kz-noaudio {
    text-align: center !important;
    direction: rtl !important;
    color: #94a3b8;
    font-size: 14px;
    padding: 6px 0;
}
@media (max-width: 767px) {
    .kz-carousel-slide { padding: 20px 14px 14px; }
    .kz-avatar { width: 210px; max-width: 70%; border-width: 3px; }
    .kz-person-name { font-size: 16px; }
    .kz-lrc-box { height: 220px; padding: 18px 10px; }
    .kz-lrc-line { font-size: 14px; line-height: 1.9 !important; }
    .kz-lrc-line.active { font-size: 16px; }
    .kz-controls-section { padding: 14px 14px 18px; }
    .kz-btn { width: 42px; height: 42px; }
    .kz-play-btn { width: 48px; height: 48px; }
    .kz-volume-group { height: 42px; padding: 0 10px; gap: 6px; }
    .kz-volume-slider { width: 52px; }
    .kz-buttons-row { gap: 8px; }
    .kz-carousel-btn { top: 36%; width: 30px; height: 30px; font-size: 17px; }
}

/*---------------- 视频卡片 ----------------*/
.vod-card .portfolio-img-link {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
}
.vod-card .portfolio-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform .5s ease;
}
.vod-card .portfolio-img-link:hover .portfolio-img {
    transform: scale(1.06);
}
.vod-badge {
    position: absolute;
    inset-block-start: .6rem;
    inset-inline-start: .6rem;
    padding: .15rem .6rem;
    border-radius: .5rem;
    font-size: .78rem;
    color: #fff;
    background: rgba(0, 0, 0, .65);
    z-index: 2;
}
.vod-title-link {
    color: inherit;
    text-decoration: none;
}
.vod-title-link:hover {
    color: var(--main-color, #7c4dff);
}
.item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* 视频播放器 */
.vod-player {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}
.vod-player .site-video,
.vod-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}
/* DPlayer: 填充包裹层吃满 16:9 容器, 播放器根节点强制 LTR 布局 */
.vod-player .dplayer-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.vod-player .dplayer-fill .dplayer {
    width: 100%;
    height: 100%;
    direction: ltr;
}
/* 播放器黑底颜色: 未播放/加载/全屏时的底色, 改这一处颜色值即可 */
.vod-player,
.vod-player .dplayer-fill .dplayer-video-wrap,
.vod-player .dplayer-fill .dplayer:-webkit-full-screen,
.vod-player .dplayer-fill .dplayer:fullscreen {
    background: #0970b4;
}
/* 小屏收敛控制栏内边距, 避免按钮挤压 */
@media (max-width: 480px) {
    .vod-player .dplayer-fill .dplayer .dplayer-controller {
        padding: 0 10px;
    }
    .vod-player .dplayer-fill .dplayer .dplayer-controller .dplayer-bar-wrap {
        width: calc(100% - 20px);
    }
    .vod-player .dplayer-fill .dplayer .dplayer-controller .dplayer-icons.dplayer-icons-right {
        right: 10px;
    }
}
.vod-player-empty {
    position: relative;
    aspect-ratio: 16 / 9;
}
.vod-player-empty .featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}
.vod-player-empty .subtitle {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

/* 多集切换 */
.ep-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.ep-list .butn-sm {
    min-width: 4.5rem;
    text-align: center;
}

/* 标签 */
.vod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

/* 文章专题 */
.topic-badge {
    position: absolute;
    top: .75rem;
    inset-inline-end: .75rem;
    z-index: 2;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--main-color, #0970B4);
    color: #fff;
    font-size: .8rem;
}
.topic-head {
    overflow: hidden;
}
.topic-head-img img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}
.topic-head-body {
    padding: 1.25rem 1.5rem;
}
.topic-head-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.topic-head-desc {
    color: var(--text-color, #555);
    line-height: 1.8;
}
@media (max-width: 767.98px) {
    .topic-head-img img { min-height: 0; aspect-ratio: 16 / 9; }
}

/*---------------- 歌手 ----------------*/
.singer-photo .featured-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 1rem;
}
.tm-member-card .tm-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/*---------------- 个人中心 ----------------*/
.uc-usercard .tm-member-card { max-width: 160px; }
.uc-menu-title {
    font-size: .8rem;
    font-weight: 700;
    color: var(--main-color, #0970B4);
    margin: .75rem 0 .35rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid #e8eef5;
}
.uc-menu-title:first-child { margin-top: 0; }
.uc-menu-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.uc-menu-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    border-radius: .6rem;
    color: var(--text-color, #475569);
    text-decoration: none;
    font-size: .95rem;
    transition: background .2s, color .2s;
}
.uc-menu-link .icon { width: 1.1rem; text-align: center; color: var(--main-color, #0970B4); }
.uc-menu-link:hover { background: #f1f6fc; }
.uc-menu-link.active {
    background: var(--main-color, #0970B4);
    color: #fff;
}
.uc-menu-link.active .icon { color: #fff; }
.uc-panel { padding: 1.5rem; }
.uc-avatar-preview {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #eaf2fa;
}
.uc-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
/* 收藏列表 (仿消息列表的统一布局, 缩略图大小一致) */
.uc-fav-list { list-style: none; padding: 0; margin: 0; }
.uc-fav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: .7rem .25rem;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-fav-item:last-child { border-bottom: 0; }
.uc-fav-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.uc-fav-ava {
    position: relative;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: .6rem;
    overflow: hidden;
    background: #f1f5f9;
}
.uc-fav-ava img { width: 100%; height: 100%; object-fit: cover; }
.uc-fav-type {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-start-end-radius: .45rem;
    background: rgba(9, 112, 180, .9);
    color: #fff;
    font-size: .58rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.uc-fav-main { flex: 1; min-width: 0; }
.uc-fav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .78rem;
    margin-bottom: .2rem;
}
.uc-fav-cat { font-weight: 700; color: var(--main-color, #0970B4); white-space: nowrap; }
.uc-fav-name {
    font-weight: 600;
    color: var(--text-color, #1e293b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uc-fav-link:hover .uc-fav-name { color: var(--main-color, #0970B4); }
.uc-fav-del {
    margin-inline-start: .5rem;
    display: flex;
    align-items: center;
}
.uc-del-btn {
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: background .2s, color .2s;
}
.uc-del-btn:hover { background: #ef4444; color: #fff; }
.uc-pl-list { list-style: none; padding: 0; margin: 0; }
.uc-pl-item {
    padding: .9rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-pl-item:last-child { border-bottom: 0; }
.uc-pl-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .35rem;
    font-size: .85rem;
}
.uc-pl-dir { color: var(--main-color, #0970B4); text-decoration: none; }
.uc-pl-content {
    display: block;
    color: var(--text-color, #334155);
    text-decoration: none;
    line-height: 1.7;
}
.uc-pl-content:hover { color: var(--main-color, #0970B4); }
.uc-table th { white-space: nowrap; color: var(--main-color, #0970B4); }

/* 个人中心: 未读角标 */
.uc-badge {
    margin-inline-start: auto;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .72rem;
    line-height: 1.25rem;
    text-align: center;
}
.uc-menu-link.active .uc-badge { background: #fff; color: #ef4444; }

/* 个人中心: 我的说说 */
.uc-blog-input { resize: vertical; min-height: 90px; }
.uc-blog-list { list-style: none; padding: 0; margin: 0; }
.uc-blog-item {
    display: flex;
    gap: .85rem;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-blog-item:last-child { border-bottom: 0; }
.uc-blog-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
}
.uc-blog-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-blog-body { flex: 1; min-width: 0; }
.uc-blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .3rem;
    font-size: .85rem;
}
.uc-blog-name { font-weight: 700; color: var(--main-color, #0970B4); }
.uc-blog-text {
    margin: 0 0 .4rem;
    line-height: 1.8;
    color: var(--text-color, #334155);
    word-break: break-word;
}
.uc-blog-foot {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}
.uc-blog-foot form { margin-inline-start: auto; }

/* 个人中心: 我的消息 */
.uc-link-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--main-color, #0970B4);
    font-size: .85rem;
    cursor: pointer;
}
.uc-link-btn:hover { text-decoration: underline; }
.uc-msg-tab {
    font-size: .85rem;
    color: var(--text-color, #64748b);
    text-decoration: none;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: #f1f5f9;
}
.uc-msg-tab.active { background: var(--main-color, #0970B4); color: #fff; }
.uc-msg-list { list-style: none; padding: 0; margin: 0; }
.uc-msg-item {
    position: relative;
    display: flex;
    align-items: stretch;
    padding: .85rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-msg-item:last-child { border-bottom: 0; }
.uc-msg-item.unread { background: #f8fbff; border-radius: .6rem; padding-inline: .6rem; }
.uc-msg-link {
    display: flex;
    gap: .85rem;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.uc-msg-ava {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}
.uc-msg-ava img { width: 100%; height: 100%; object-fit: cover; }
.uc-msg-sys-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--main-color, #0970B4);
    color: #fff;
}
.uc-msg-main { flex: 1; min-width: 0; }
.uc-msg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .82rem;
    margin-bottom: .15rem;
}
.uc-msg-from { font-weight: 700; color: var(--main-color, #0970B4); }
.uc-msg-name { font-weight: 600; color: var(--text-color, #1e293b); }
.uc-msg-item.unread .uc-msg-name { color: var(--main-color, #0970B4); }
.uc-msg-snip {
    font-size: .88rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uc-dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    margin-inline-end: .3rem;
    border-radius: 50%;
    background: #ef4444;
}
.uc-msg-del-form { margin: 0; display: flex; align-items: center; }
.uc-msg-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .9rem;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-msg-sys { color: var(--main-color, #0970B4); font-weight: 700; }
.uc-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}
.uc-msg-detail-body { line-height: 1.9; color: var(--text-color, #334155); word-break: break-word; }

/* 个人中心: 粉丝关注 */
.uc-fans-list { list-style: none; padding: 0; margin: 0; }
.uc-fans-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-fans-item:last-child { border-bottom: 0; }
.uc-fans-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.uc-fans-qm { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-fans-btn {
    border: 1px solid var(--main-color, #0970B4);
    background: var(--main-color, #0970B4);
    color: #fff;
    border-radius: 999px;
    padding: .25rem .8rem;
    font-size: .82rem;
    white-space: nowrap;
    cursor: pointer;
    transition: .2s;
}
.uc-fans-btn.followed { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }

/* 个人中心: 留言板 */
.uc-gb-list { list-style: none; padding: 0; margin: 0; }
.uc-gb-item {
    display: flex;
    gap: .85rem;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.uc-gb-item:last-child { border-bottom: 0; }
.uc-gb-body { flex: 1; min-width: 0; }
.uc-gb-replies {
    list-style: none;
    padding: .6rem .8rem;
    margin: .6rem 0;
    background: #f8fafc;
    border-radius: .6rem;
}
.uc-gb-reply {
    display: flex;
    gap: .6rem;
    padding: .4rem 0;
}
.uc-gb-reply-ava { flex: 0 0 34px; width: 34px; height: 34px; }
.uc-gb-reply-form { margin-top: .6rem; }
.uc-gb-reply-form .text-input { flex: 1; }

/* 个人中心: 财务中心 */
.uc-pay-balance {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: center;
}
.uc-pay-label { font-size: .85rem; color: #64748b; }
.uc-pay-num { font-size: 1.7rem; font-weight: 800; color: var(--main-color, #0970B4); line-height: 1.2; }
.uc-pay-in { color: #16a34a; font-weight: 700; white-space: nowrap; }

/*---------------- 图库 ----------------*/
.photo-grid .portfolio-img-link {
    display: block;
    border-radius: .75rem;
    overflow: hidden;
}
.photo-grid .portfolio-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .5s ease;
}
.photo-grid .portfolio-img-link:hover .portfolio-img {
    transform: scale(1.05);
}

/*---------------- 侧边栏相关列表 (recent-posts) 全局紧凑样式 ----------------
   模板原样式作用域为 .blog .recent-posts ..., 仅 blog 类页面 (如 music-view) 生效;
   portfolio-single 等页面 (vod-view) 缺少 .blog 类时图片会全宽竖排。
   此处去掉 .blog 前缀补齐, 属性与模板一致; .blog 页面仍由模板高优先级规则控制。 */
.recent-posts .recent-post-item {
    padding: .75rem .5rem;
    border-radius: .5rem;
    margin-bottom: 1rem;
    background-color: rgba(var(--clr-main-rgb), .15);
}
.recent-posts .recent-post-item:last-child {
    margin-bottom: 1rem;
}
.recent-posts .recent-post-item .recent-post-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}
.recent-posts .img-wrapper {
    overflow: hidden;
    flex-shrink: 0;
    border-radius: .25rem;
    outline: 4px solid var(--clr-main);
}
.recent-posts .recent-post-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.recent-posts .content .recent-post-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .25rem;
    transition: color .3s ease 0s;
}
.recent-posts .content .recent-post-title:hover {
    color: var(--clr-main);
}
.recent-posts .content .recent-post-date {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
}
.recent-posts .content .recent-post-date .icon {
    color: var(--clr-main);
}
.recent-posts .content .recent-post-date .date {
    opacity: .85;
}
@media (max-width: 575px) {
    .recent-posts .recent-post-img {
        width: 64px;
        height: 64px;
    }
}

/*---------------- 侧边栏盒子/搜索/分类/标签 全局样式 ----------------
   模板原样式作用域为 .blog .sidebar-box / .blog .search ..., 仅 .blog 类页面
   (news_list 等) 生效; portfolio-single 页面 (photo-view / vod-view) 缺少
   .blog 类时, ىزدەۋ(搜索)、ساناتتار(分类)、Tags(标签) 等盒子无样式。
   此处去掉 .blog 前缀补齐, 属性与模板一致; .blog 页面仍由模板高优先级规则控制。 */
.blog-sidebar {
    position: sticky;
    top: 7.5rem;
}
.sidebar-box {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: .25rem;
}
.sidebar-box .sidebar-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}
.sidebar-box .sidebar-box-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}
/* 搜索框 */
.search .search-form {
    position: relative;
    z-index: 0;
}
.search .search-input {
    border: 2px solid rgba(var(--clr-main-rgb), .5);
    border-radius: .25rem;
    padding: .5rem 1rem;
    outline: none;
    appearance: none;
    width: 100%;
    transition: all .5s ease-in-out 0s;
}
.search .search-input:focus {
    border-color: rgba(var(--clr-main-rgb), 1);
}
.search .search-butn {
    position: absolute;
    width: 50px;
    height: 100%;
    appearance: none;
    border: none;
    outline: none;
    background-color: var(--clr-main);
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.search .search-butn .icon {
    color: var(--clr-white);
    transition: all .5s ease-in-out 0s;
}
/* 分类列表 (ساناتتار) */
.cats .cats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cats .cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border-radius: .25rem;
    background-color: rgba(var(--clr-main-rgb), .15);
    transition: all .3s ease 0s;
}
.cats .cat-item:hover {
    background-color: var(--clr-main);
    color: var(--clr-white);
}
.cats .cat-item .cat-link {
    font-weight: 400;
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cats .cat-item .cat-count {
    width: 2rem;
    height: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 标签列表 (Tags) */
.tags .tags-list {
    list-style: none;
    padding: 0;
    margin-bottom: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.tags .tags-icon-label,
.tags .tag-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .25rem .5rem;
    border-radius: 2px;
}
.tags .tags-icon-label {
    min-width: 3rem;
    background-color: var(--clr-main);
}
.tags .tags-icon-label .icon {
    color: var(--clr-white);
}
.tags .tag-item {
    background-color: rgba(var(--clr-main-rgb), .35);
    border-radius: .25rem;
    transition: all .2s ease-in-out 0s;
}
.tags .tag-item .tag-link {
    font-weight: 400;
    text-decoration: none;
    text-transform: lowercase;
    color: inherit;
}
.tags .tag-item:hover {
    color: var(--clr-white);
    background-color: rgba(var(--clr-main-rgb), 1);
}

/*---------------- 表单提示色 ----------------*/
.text-danger {
    color: #dc3545 !important;
}
.text-success {
    color: #198754 !important;
}

/*---------------- 响应式微调 ----------------*/
@media (max-width: 575.98px) {
    .music-meta,
    .vod-meta {
        font-size: .75rem;
    }
    .vod-player-empty {
        min-height: 13rem;
    }
    .ep-list .butn-sm {
        min-width: 3.75rem;
        font-size: .8rem;
    }
}
/* ========== 收藏/点赞按钮 ========== */
.kz-interact-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.kz-btn-interact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    line-height: 1;
}
.kz-btn-interact:hover {
    border-color: #0970B4;
    color: #0970B4;
}
.kz-btn-interact i { font-size: 16px; }
.kz-btn-interact .kz-count { font-size: 13px; color: #888; }
.kz-btn-interact.is-active {
    background: #0970B4;
    border-color: #0970B4;
    color: #fff;
}
.kz-btn-interact.is-active .kz-count { color: #fff; }
.kz-btn-interact.is-active.kz-btn-fav {
    background: #f0ad4e;
    border-color: #f0ad4e;
}
.kz-interact-login-hint {
    font-size: 13px;
    color: #999;
}
.kz-interact-login-hint a { color: #0970B4; font-weight: 600; }

/* ========== 图片覆盖式卡片 (photo.php / photo_list.php) ========== */
.ph-card-link {
    position: relative;
    display: block;
    aspect-ratio: 5 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: #1e1e1e;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ph-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}
.ph-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ph-card-link:hover .ph-card-img {
    transform: scale(1.06);
}
.ph-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .45) 62%, rgba(0, 0, 0, .82) 100%);
}
.ph-card-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.1rem 1.25rem 1.15rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.ph-card-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--clr-main, #f43f6b);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    padding: .5rem .9rem;
    border-radius: 999px;
}
.ph-card-tag .icon { font-size: .8rem; }
.ph-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ph-card-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .2rem;
}
.ph-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .85);
    flex: 0 0 auto;
}
.ph-card-meta-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.ph-card-author {
    color: #bcd3e6;
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ph-card-date {
    color: rgba(255, 255, 255, .92);
    font-size: .85rem;
}
.ph-card-bookmark {
    margin-inline-start: auto;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex: 0 0 auto;
    transition: all .3s ease;
}
.ph-card-link:hover .ph-card-bookmark {
    background: var(--clr-main, #f43f6b);
    border-color: var(--clr-main, #f43f6b);
}

/* ========== 用户头像:无头像显示图标,有头像显示照片 ========== */
.user-ava {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eef5;
    color: #a3b1c2;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
}
.author-avatar .user-ava,
.customer-img .user-ava {
    width: 100%;
    height: 100%;
}
.user-ava img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== 电影海报卡:海报铺满 + 底部标题 + 播放按钮 ========== */
.vod-poster {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #10131a;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
    transition: transform .3s ease, box-shadow .3s ease;
}
.vod-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.vod-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.88) 100%);
}
.vod-poster-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    background: var(--clr-main, #f43f6b);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.vod-poster-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 18px;
    color: #fff;
}
.vod-poster-title {
    display: block;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.vod-poster-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.vod-poster-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    transition: background .3s ease, color .3s ease;
}
.vod-poster-sub {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vod-poster:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.vod-poster:hover img {
    transform: scale(1.06);
}
.vod-poster:hover .vod-poster-play {
    background: var(--clr-main, #f43f6b);
    color: #fff;
}

/* ========== 视频/图片详情页(portfolio-single) 信息行 ==========
   模板 .post-meta 样式作用域为 .blog, vod-view/photo-view 无 .blog 类,
   meta 行零间距地压在信息盒 4px 蓝色底边上、文字贴右缘。此处补齐, 属性与 .blog 一致。 */
.portfolio-single .post-main-area .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.1rem;
    margin-bottom: .75rem;
}
.portfolio-single .post-main-area .post-meta-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    line-height: 1;
    text-decoration: none;
    margin-inline-end: 1.5rem;
    opacity: .75;
    transition: color .3s ease 0s;
}
.portfolio-single .post-main-area .post-meta-item:not(:last-child)::before {
    content: "|";
    position: absolute;
    inset-inline-start: 100%;
    margin: 0 .75rem;
    opacity: .75;
}
.portfolio-single .post-main-area .post-meta-item .icon {
    color: var(--clr-main);
    font-size: 1rem;
}
.portfolio-single .post-main-area .post-meta-item:hover {
    color: var(--clr-main);
    opacity: 1;
}
@media (max-width: 575px) {
    .portfolio-single .post-main-area .post-meta-item {
        margin-inline-end: 1rem;
    }
}

/* ========== 新闻页顶部轮播 (后台 banner-list.php 管理) ========== */
.kz-banner-section {
    padding: 3.5rem 0 0;
}
.kz-banner-swiper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #eef3f7;
    box-shadow: 0 12px 34px rgba(19, 33, 55, .13);
}
.kz-banner-slide {
    position: relative;
}
.kz-banner-link {
    display: block;
    color: inherit;
}
.kz-banner-img {
    display: block;
    width: 100%;
    height: 790px;
    object-fit: cover;
    transition: transform .6s ease;
}
.kz-banner-swiper .swiper-slide-active .kz-banner-img {
    transform: scale(1.03);
}
.kz-banner-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 2.75rem 1.5rem 1.15rem;
    background: linear-gradient(0deg, rgba(9, 16, 28, .72), rgba(9, 16, 28, 0));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    pointer-events: none;
}
.kz-banner-arrow {
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(9, 16, 28, .35);
    backdrop-filter: blur(2px);
    transition: background .3s ease, color .3s ease;
}
/* 主题全局样式把 swiper 箭头的 :before/:after 隐藏了(0,2,1), 这里等特异性但加载更晚, 恢复 chevron */
.kz-banner-swiper .kz-banner-arrow::before {
    display: none;
}
.kz-banner-swiper .kz-banner-arrow::after {
    display: block;
    font-family: "swiper-icons", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.kz-banner-arrow:hover {
    background: var(--clr-main, #f43f6b);
    color: #fff;
}
.kz-banner-pagination {
    bottom: .85rem !important;
}
.kz-banner-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: .65;
    transition: all .3s ease;
}
.kz-banner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
    background: var(--clr-main, #f43f6b);
}
@media (max-width: 991px) {
    .kz-banner-img { height: 620px; }
}
@media (max-width: 575px) {
    .kz-banner-section { padding-top: 2rem; }
    .kz-banner-img { height: 260px; }
    .kz-banner-caption { font-size: .9rem; padding-top: 2rem; }
    .kz-banner-arrow { width: 36px; height: 36px; }
}

/* ========== 搜索页: 关键词 + 类型下拉 ========== */
.kz-search-form .input-group {
    flex-wrap: nowrap;
    gap: .5rem;
}
.kz-search-type {
    flex: 0 0 auto;
    width: auto;
    min-width: 130px;
    height: 52px;
    border: 2px solid rgba(var(--clr-main-rgb), .5);
    border-radius: .5rem;
    background: var(--clr-white, #fff);
    color: var(--clr-main);
    font-weight: 700;
    padding: 0 .6rem;
    cursor: pointer;
    outline: none;
}
.kz-search-type:focus {
    border-color: rgba(var(--clr-main-rgb), 1);
    box-shadow: 0 0 0 .15rem rgba(var(--clr-main-rgb), .15);
}
.kz-search-form .text-input {
    height: 52px;
}
.kz-search-form .input-group-append .butn {
    height: 52px;
    white-space: nowrap;
}
.kz-search-count {
    font-size: .65em;
    font-weight: 400;
    opacity: .7;
    margin-inline-start: .35rem;
}
/* 顶部弹层搜索框: 输入框 + 类型下拉同行 */
.header-search-box .search-form .search-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.header-search-box .search-form .search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding-inline-end: 4.5rem; /* 给左端放大镜按钮留位 */
}
.header-search-box .nav-search-type {
    flex: 0 0 auto;
    width: 180px;
    margin-top: 0;
    padding: .45rem .75rem;
    background: transparent;
    color: var(--clr-white);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: .35rem;
    outline: none;
    font-size: .95rem;
    cursor: pointer;
}
.header-search-box .nav-search-type option {
    color: #111;
}
@media (max-width: 767px) {
    .header-search-box .search-form .search-wrapper { gap: .6rem; }
    .header-search-box .nav-search-type { width: 120px; font-size: .8rem; padding: .35rem .5rem; }
    .header-search-box .search-form .search-input { padding-inline-end: 3.75rem; }
}
@media (max-width: 575px) {
    .kz-search-form .input-group { flex-wrap: wrap; }
    .kz-search-type { min-width: 0; flex: 1 1 100%; }
    .kz-search-form .text-input { flex: 1 1 auto; }
}

/* ========== 微信登录/注册页 ========== */
.kz-wx-login-area {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
}
.kz-wx-qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kz-wx-qr-box {
    width: 300px;
    max-width: 100%;
    height: 400px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.kz-wx-qr-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.kz-wx-mobile-btn-wrap {
    padding: 1rem 0;
}
.kz-wx-login-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: #07c160;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: .85rem 2.5rem;
    border-radius: .5rem;
    text-decoration: none;
    transition: background .25s ease, transform .15s ease;
    line-height: 1;
}
.kz-wx-login-btn:hover {
    background: #06ad56;
    color: #fff;
    transform: translateY(-1px);
}
.kz-wx-login-btn .icon {
    font-size: 1.4rem;
}
.kz-wx-hint {
    margin-top: 1rem;
    color: #6c757d;
    font-size: .9rem;
}
.kz-wx-notready {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.kz-wx-notready .subtitle {
    color: #6c757d;
    margin: 0;
}
.kz-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.75rem 0;
    color: #adb5bd;
    font-size: .85rem;
}
.kz-login-divider::before,
.kz-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}
.kz-login-divider span {
    padding: 0 1rem;
}
@media (max-width: 575px) {
    .kz-wx-qr-box { width: 100%; height: 360px; }
    .kz-wx-login-area { padding: 1.5rem 1rem; }
    .kz-wx-login-btn { font-size: 1rem; padding: .75rem 2rem; }
}

/* PC端未配置网站应用时: 手机微信登录引导卡 */
.kz-wx-pc-guide {
    background: #f4fbf6;
    border: 1px dashed #07c160;
    border-radius: 12px;
    padding: 28px 20px;
    margin: 0 auto;
    max-width: 420px;
}
.kz-wx-pc-guide .fa-weixin {
    font-size: 2.6rem;
    color: #07c160;
}
.kz-wx-pc-guide .guide-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0 8px;
    color: #222;
}
.kz-wx-pc-guide .subtitle {
    line-height: 1.9;
    margin: 0;
}
.kz-wx-pc-guide b {
    color: #07c160;
}

/* PC端扫码登录 (公众号AppID方案): 自绘二维码 + 轮询状态 */
.kz-wx-qr-self {
    width: 208px;
    height: 208px;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}
.kz-wx-qr-self img,
.kz-wx-qr-self canvas {
    width: 190px;
    height: 190px;
    display: block;
}
.kz-wx-poll-status {
    font-size: .85rem;
    color: #999;
    min-height: 1.4em;
    margin: 6px 0 0;
}

/* =====================================================================
   夜间模式 (body.dark-theme) 全站适配
   根因: 自定义组件大量写 var(--text-color), 该变量从未定义 —— 日间走
   深色兜底值正常, 夜间深字压深底; 另有 #222/#999/#777 等硬编码颜色。
   本区块: ① 补齐缺失变量 ② 覆盖硬编码颜色, 保证夜间全站可见。
   ===================================================================== */
:root {
    --main-color: var(--clr-main);           /* 统一各组件的主色兜底为站点蓝 */
}
body.dark-theme {
    --text-color: #d9dee8;                    /* 自定义组件正文(夜间浅色) */
}

/* 栏目分组标题 (var(--clr-dark) 夜间等于底色) */
body.dark-theme .cat-group-head .cat-group-title a { color: var(--clr-white); }
body.dark-theme .cat-group + .cat-group { border-top-color: rgba(var(--clr-main-rgb), .35); }

/* 音乐横向行列表 */
body.dark-theme .music-row { border-bottom-color: rgba(255, 255, 255, .1); }
body.dark-theme .mrl-icon { color: #a7b1c2; }                 /* 收听量/歌手 图标下文字 */
body.dark-theme .mrl-title a { color: #eef2f8; }             /* 行标题 */
body.dark-theme .mrl-meta,
body.dark-theme .mrl-meta a { color: #9eacbf; }              /* 歌手名/日期等信息行 */

/* 个人中心: 菜单/面板内的分隔线与悬停态 */
body.dark-theme .uc-menu-link:hover { background: rgba(255, 255, 255, .08); }
body.dark-theme .uc-menu-title { border-bottom-color: rgba(255, 255, 255, .12); }
body.dark-theme .uc-fav-item,
body.dark-theme .uc-pl-item,
body.dark-theme .uc-blog-item,
body.dark-theme .uc-msg-item,
body.dark-theme .uc-fans-item,
body.dark-theme .uc-gb-item,
body.dark-theme .uc-msg-detail-meta { border-color: rgba(255, 255, 255, .13); }
/* 未读消息/留言回复: 日间是近白浅色盒, 夜间改为微亮深色盒(配浅色文字) */
body.dark-theme .uc-msg-item.unread { background: rgba(255, 255, 255, .07); }
body.dark-theme .uc-gb-replies { background: rgba(255, 255, 255, .06); }
body.dark-theme .uc-pay-label,
body.dark-theme .uc-msg-snip { color: #9eacbf; }

/* 收藏/点赞: 未登录提示 */
body.dark-theme .kz-interact-login-hint { color: #a7b1c2; }

/* 微信登录/注册: 浅底卡片内的标题在夜间会继承白色 → 统一深字 */
body.dark-theme .kz-wx-login-area,
body.dark-theme .kz-wx-notready,
body.dark-theme .kz-wx-login-area h1,
body.dark-theme .kz-wx-login-area h2,
body.dark-theme .kz-wx-login-area h3,
body.dark-theme .kz-wx-login-area h4,
body.dark-theme .kz-wx-login-area .h1,
body.dark-theme .kz-wx-login-area .h2,
body.dark-theme .kz-wx-login-area .h3,
body.dark-theme .kz-wx-login-area .h4 { color: #1f2937; }
body.dark-theme .kz-wx-poll-status { color: #a7b1c2; }

/* 留言本: 条目直接位于深色页底(日间内联深字), 夜间改浅色 */
body.dark-theme .fb-item { border-bottom-color: rgba(255, 255, 255, .13); }
body.dark-theme .fb-user { color: #eef2f8 !important; }
body.dark-theme .fb-date { color: #9eacbf !important; }
body.dark-theme .fb-text { color: #d9dee8 !important; }
body.dark-theme .fb-page { color: #c9d4e3 !important; }
