﻿:root {
    --mdtpl-menu-left-gap: 5px;
}
.stui-header__menu .nav li a {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: var(--mdtpl-menu-left-gap);
}
.stui-header__logo .logo.logo-text-only {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.stui-header__logo .logo .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding-left: var(--mdtpl-menu-left-gap);
    font-size: 1.21rem;
    font-weight: 600;
    color: #ccc;
    line-height: 1.2;
}

.stui-header__top:not(#m_menu) {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.stui-header__top:not(#m_menu) .stui-header__logo,
.stui-header__top:not(#m_menu) .stui-header__search,
.stui-header__top:not(#m_menu) .nav-ads-wrapper {
    float: none;
}
.stui-header__top:not(#m_menu) .stui-header__logo {
    margin-top: 0;
    flex: 0 0 auto;
    padding-left: 6px;
}
.stui-header__top:not(#m_menu) .stui-header__logo .logo.logo-text-only {
    justify-content: flex-start;
}
.stui-header__top:not(#m_menu) .stui-header__logo .logo .logo-text {
    width: 100%;
    text-align: left;
}
.stui-header__top:not(#m_menu) .stui-header__search {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    margin-right: 12px;
}
.stui-header__top:not(#m_menu) .nav-ads-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
}

.stui-header__top .nav-txt-ads {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    float: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 0;
    -webkit-overflow-scrolling: touch;
}
.stui-header__top .nav-txt-ads::-webkit-scrollbar {
    height: 4px;
}
.stui-header__top .nav-txt-ads::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
.stui-header__top .nav-txt-ads .nav-menu-item {
    padding: 0 11px;
    float: left;
    font-size: 16px;
}
.stui-header__top .nav-txt-ads .nav-menu-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}
.stui-header__top .nav-txt-ads .nav-menu-item a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}
.stui-header__top .nav-ads-wrapper {
    overflow: visible;
}

.stui-header__top .nav-menu-items.nav-txt-ads li {
    list-style: none;
    white-space: nowrap;
}
@media (max-width: 559px) {
    .stui-header__top .nav-txt-ads .nav-menu-item a,
    .stui-header__top .nav-txt-ads .nav-menu-item a span {
        max-width: 120px;
    }
}
.stui-vodlist__thumb img.lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.module-two {
    width: calc(100% - 0px) !important;
}

@media (min-width: 576px) {
    .module-two {
        width: calc(50% - 0px) !important;
    }
}
.module-two .module-item-cover {
    padding-top: 20% !important;
}
.module-two .stui-vodlist__thumb img.lazy {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#article-videos {
    width: 100%;
    aspect-ratio: 1520 / 651;
}

#article-videos .dplayer {
    height: 100%;
}

@media (max-width: 768px) {
    #article-videos {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    @supports not (aspect-ratio: 1 / 1) {
        #article-videos {
            height: calc((100vw - 30px) * 9 / 16);
            max-height: 60vh;
        }
    }
}
@media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
        #article-videos {
            aspect-ratio: auto;
            height: calc((100vw - 30px) * 9 / 16);
            max-height: 60vh;
        }
    }
}

#article-videos video {
    width: 100% !important;
    height: 100% !important;
}

.player-box-main {
    position: relative;
    overflow: hidden;
}
.tips-box {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    padding: 0 12px;
    border-radius: 10px;
    z-index: 8;
    width: calc(100% - 16px);
    margin-left: 15px;
    margin-right: 15px;
}
.tips-list {
    width: 100%;
    height: 40px;
    overflow: hidden;
}
.tips-list ul {
    margin-top: 0 !important;
    transform: none !important;
    animation: none !important;
}
.tips-list li {
    max-width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    color: #e3e6eb;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.tips-list span {
    margin-right: 8px;
    padding: 0 5px;
    line-height: 20px;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block !important;
}

.adm {
    display: grid;
    grid-template-columns: 1fr;
}
.adm a {
    margin-bottom: 0.5rem;
    display: block;
    height: 6.875rem;
    min-height: 6.875rem;
    object-fit: fill;
}
.adm .img-card {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.player-box .adm {
    margin-left: 15px;
    margin-right: 15px;
}
@media (min-width: 1249px) {
    .adm {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 0 10px;
    }
}
@media (max-width: 768px) {
    .adm a {
        height: 2.8125rem;
        min-height: 2.8125rem;
    }
}

.static-page-wrap {
    padding: 20px 15px 40px;
    margin: 0 auto;
}
.static-page {
    margin: 0;
}
.static-page-card {
    background: #1a1a1a;
    border: 1px solid #2c2c36;
    border-radius: 10px;
    padding: 24px 20px;
    box-sizing: border-box;
}
.static-page-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2c2c36;
}
.static-page-header .post-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ccc;
    line-height: 1.3;
}
.static-page-header .post-title-short {
    font-size: 1.35rem;
}
.static-page-header p {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    color: #9c9c9c;
}
.static-page-body,
.static-page .post-content {
    color: #9c9c9c;
    font-size: 14px;
    line-height: 1.65;
}
.static-page-body p,
.static-page .post-content p {
    margin: 0 0 12px;
}
.static-page-body p:last-child,
.static-page .post-content p:last-child {
    margin-bottom: 0;
}
.static-page-body a,
.static-page .post-content a {
    color: #f02c11;
    text-decoration: none;
}
.static-page-body a:hover,
.static-page .post-content a:hover {
    text-decoration: underline;
}
.static-section {
    margin-bottom: 22px;
}
.static-section:last-child {
    margin-bottom: 0;
}
.static-section-title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #ccc;
    line-height: 1.4;
}
.static-section-content {
    margin: 0;
}
.static-section-content p {
    margin: 0 0 10px;
}
.static-link-list {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.static-link-list a {
    display: inline-block;
    padding: 8px 16px;
    background: #252530;
    border: 1px solid #454548;
    border-radius: 6px;
    color: #f02c11;
    font-size: 14px;
}
.static-link-list a:hover {
    background: #2c2c36;
    border-color: #f02c11;
    text-decoration: none;
}
.static-link-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #f02c11;
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.static-link-btn:hover {
    background: #d9260e;
    text-decoration: none !important;
}
.static-page blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 4px solid #f02c11;
    background: rgba(240, 44, 17, 0.08);
    color: #9c9c9c;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
}
@media (max-width: 768px) {
    .static-page-wrap {
        padding: 16px 12px 32px;
    }
    .static-page-card {
        padding: 18px 16px;
    }
    .static-page-header .post-title-short {
        font-size: 1.2rem;
    }
}

.page-404-wrap {
    margin: 0 auto;
}
.page-404-card {
    border: 1px solid #2c2c36;
    border-radius: 10px;
    padding: 40px 28px;
    text-align: center;
    box-sizing: border-box;
}
.page-404-code {
    font-size: 4rem;
    font-weight: 700;
    color: #2c2c36;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.page-404-title {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ccc;
}
.page-404-desc {
    margin: 0 0 28px;
    font-size: 14px;
    color: #9c9c9c;
    line-height: 1.6;
}
.page-404-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.page-404-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #f02c11;
    color: #fff !important;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
.page-404-btn:hover {
    background: #d9260e;
    text-decoration: none !important;
}
.page-404-search {
    display: flex;
    width: 100%;
    max-width: 320px;
    gap: 8px;
}
.page-404-input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #454548;
    border-radius: 6px;
    background: #141414;
    color: #ccc;
    font-size: 14px;
    box-sizing: border-box;
}
.page-404-input:focus {
    border-color: #f02c11;
    outline: none;
}
.page-404-search-btn {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #252530;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
}
.page-404-search-btn:hover {
    background: #2c2c36;
    color: #f02c11;
}
@media (max-width: 768px) {
    .page-404-wrap {
        padding: 28px 12px 48px;
    }
    .page-404-card {
        padding: 28px 20px;
    }
    .page-404-code {
        font-size: 3rem;
    }
    .page-404-title {
        font-size: 1.2rem;
    }
}