@import url(common.css);

/* =====================================================================
   视频占位体系（.vid-ph）— 全站统一：黄底墨黑三角播放钮（自 index.html L168-200 完整版引入）
   ===================================================================== */
.vid-ph {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-dark-ink);
}

.vid-ph__bg {
    position: absolute;
    inset: 0;
    background: var(--color-dark-blue);
    transition: transform .6s ease;
}

.vid-ph--ink .vid-ph__bg {
    background: var(--color-dark-ink);
}

.vid-ph--cool .vid-ph__bg {
    background: var(--color-brand-blue);
}

.vid-ph--deep .vid-ph__bg {
    background: var(--color-brand-blue-deep);
}

.vid-ph--warm .vid-ph__bg {
    background: var(--color-brand-yellow);
}

.vid-ph__grid {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
    background-size: 44px 44px;
}

.vid-ph__shimmer {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(120% 80% at 30% 20%, rgba(255, 255, 255, .18), transparent 60%);
    transition: opacity .4s ease;
}

.vid-ph.is-playing .vid-ph__shimmer {
    opacity: 1;
    animation: kenburns 9s ease-in-out infinite alternate;
}

.vid-ph.is-playing .vid-ph__bg {
    animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-2%, -2%);
    }
}

/* 播放钮：黄底墨黑三角（暖黄底改白底墨黑三角，避免同色边界消失） */
.vid-ph__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-brand-yellow);
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.vid-ph__play svg {
    width: 20px;
    height: 20px;
    fill: var(--color-on-yellow);
    margin-left: 3px;
}

.vid-ph.is-playing .vid-ph__play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
}

.vid-ph--warm .vid-ph__play {
    background: var(--color-white);
}

.vid-ph--warm .vid-ph__play svg {
    fill: var(--color-ink);
}

.vid-ph__pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 10, 10, .7);
    color: #fff;
    font-size: .6875rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 3;
    letter-spacing: .02em;
}

.vid-ph__tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    z-index: 3;
    opacity: .9;
    background: rgba(10, 10, 10, .6);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}


/* 组头行 .klist__head —— 左侧说明小字（非色块）+ 右侧返回列表出口 */
.klist__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.container .cont {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.container .cont .item {
    width: 50%;
    flex: 0 0 auto
}

.container .cont .item img {
    width: 100%;
}

.layui-table img{
    max-width: 100%;
    width: 100%;
}

.diyTable .btnBox{
    position: relative;
    overflow: hidden;
    text-align: center;
}

.diyTable .b{
    font-family: var(--font-heading);
    color: #333333;
    font-size: 28px;
    font-weight: bold;
}
.diyTable .btnBox .closeBtn{
    padding-left: 8px;
    width: 40px;
    height: 40px;
    background: #333333;
    font-size: 16px;
    display: block;
    color: #ffd800;
    text-align: left;
    line-height: 50px;
    position: absolute;
    right: -15px;
    top: -15px;
    border-radius: 50% 0px 50% 50%;
    text-indent: 0px;
}
.diyTable .addClass{
    display: inline-block;
    background: #333333;
    padding: 10px 25px;
    border-radius: 10px;
    color: #ffd200;
    line-height: 100%;
}
.layui-layer-ico {
    background: url(icon.png) no-repeat !important;
    background-position: 1px -40px !important;
}

/*开始对比样式*/
.tjDuibiBox{
    width: 80%;
    margin: 25px auto;
}
.tjDuibiBox select{
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: #666;
}
.tjDuibiBox button{
    background-color: #333;
    width: 100%;
    color: #ffd800;
    font-size: 18px;
}
.layui-btn:hover{
    color: #ffd800;
}