@charset "utf-8";

:root {
    --noir-bg: #080808;
    --noir-panel: #12100d;
    --gold: #d9a441;
    --gold-bright: #ffd985;
    --gold-deep: #8c611c;
    --text-main: #f8f2e7;
    --text-muted: #b7aa98;
    --line: rgba(255, 217, 133, .14);
    --shadow: 0 16px 45px rgba(0, 0, 0, .34);
}

html,
body {
    min-height: 100%;
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 164, 65, .12), transparent 28%),
        linear-gradient(180deg, #14100a 0%, var(--noir-bg) 38%, #060606 100%);
    color: var(--text-main);
}

body {
    letter-spacing: 0;
}

a,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
}

a:hover {
    color: var(--gold-bright);
}

.text-muted,
.data,
.stui-content__detail .data {
    color: var(--text-muted);
}

.container {
    max-width: 1180px;
}

.stui-header__top {
    position: sticky;
    top: 0;
    z-index: 99;
    margin-bottom: 22px;
    background: rgba(8, 8, 8, .92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .32);
    backdrop-filter: blur(14px);
}

.stui-header__bar {
    background: linear-gradient(90deg, rgba(217, 164, 65, .12), transparent 38%, rgba(217, 164, 65, .08));
}

.stui-header__bar .row {
    display: flex;
    align-items: center;
    min-height: 78px;
}

.stui-header__logo {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 240px;
    margin: 0 !important;
}

.site-logo {
    display: inline-flex !important;
    align-items: center;
    max-width: 100%;
    height: 52px !important;
    gap: 12px;
    padding: 0 !important;
    color: var(--gold-bright) !important;
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1 !important;
    text-decoration: none;
    white-space: nowrap;
}

.site-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 217, 133, .55);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    color: #171008;
    font-size: 16px;
    letter-spacing: 0;
    box-shadow: 0 0 26px rgba(217, 164, 65, .24);
}

.site-logo-text {
    overflow: hidden;
    max-width: 230px;
    text-overflow: ellipsis;
}

.site-logo:hover {
    color: #fff4cf !important;
    text-decoration: none;
}

.stui-header__search {
    float: none;
    flex: 1;
    max-width: 430px;
    margin: 0 28px;
}

.stui-header__search form {
    position: relative;
}

.stui-header__search .form-control {
    height: 42px;
    border: 1px solid rgba(255, 217, 133, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--text-main);
}

.stui-header__search .form-control::placeholder {
    color: rgba(248, 242, 231, .58);
}

.stui-header__search .submit {
    height: 42px;
    color: var(--gold-bright);
}

.stui-header__user {
    float: none;
    margin-left: auto;
}

.stui-header__user > li {
    padding: 0;
    margin-left: 18px;
}

.stui-header__user > li > a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255, 217, 133, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--text-main);
}

.stui-header__user > li .icon {
    color: var(--gold-bright);
}

.stui-header__user > li .dropdown,
.dropdown-menu,
.autocomplete-suggestions,
.mac_results {
    background: #17130e;
    border: 1px solid var(--line);
    color: var(--text-muted);
    box-shadow: var(--shadow);
}

.stui-header__menu {
    overflow-x: auto;
    background: linear-gradient(90deg, #0b0b0b, #1d160d 48%, #0b0b0b);
    color: var(--text-main);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stui-header__menu::-webkit-scrollbar,
.stui-header__menu ul::-webkit-scrollbar,
.stui-header__menu .type-slide::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.stui-header__menu ul {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stui-header__menu li {
    float: none;
}

.stui-header__menu li a {
    padding: 10px 16px;
    border-radius: 999px;
    color: rgba(248, 242, 231, .82);
}

.stui-header__menu li.active a,
.stui-header__menu li a:hover {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    color: #15100a;
}

.stui-pannel-bg,
.stui-vodlist__bg,
.popup {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(27, 23, 17, .96), rgba(14, 13, 11, .96));
    box-shadow: var(--shadow);
}

.stui-pannel__head .title,
.stui-pannel__head .title a,
.stui-content__detail .title,
.stui-player__detail .title {
    color: var(--gold-bright);
}

.stui-vodlist__thumb,
.stui-vodlist__thumb1,
.stui-vodlist__thumb2 {
    border: 1px solid rgba(255, 217, 133, .12);
    border-radius: 8px;
    background-color: #1a1712;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.stui-vodlist__thumb:hover {
    border-color: rgba(255, 217, 133, .38);
}

.stui-player__video {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #000;
}

.stui-player__video .MacPlayer,
.stui-player__video iframe,
.stui-player__video embed,
.stui-player__video object,
.stui-player__video video {
    width: 100% !important;
    min-height: 460px;
}

.pic-text,
.pic-title-b {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, .9));
    color: #fff7df;
}

.btn,
.nav-tag > li > a,
.nav-page > li > a,
.tag-type li a,
.stui-content__playlist li a,
.stui-page li a,
.stui-page li .num,
.stui-page-text a,
.stui-page-text em,
.stui-page-text span {
    border-color: var(--line);
    background: rgba(255, 255, 255, .06);
    color: var(--text-main);
}

.btn-primary,
.btn-primary:hover,
.nav-tag > li > a:hover,
.nav-tag > li.active a,
.nav-page > li > a:hover,
.nav-page > li.active > a,
.tag-type li a:hover,
.tag-type li.active a,
.tag-btn li a:hover,
.tag li.active a,
.stui-content__playlist li a:hover,
.stui-content__playlist li.active a,
.stui-page li a:hover,
.stui-page li.active a,
.stui-page li.active .num,
.stui-page-text span.pagenow,
.stui-screen__list li.active a {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    color: #15100a;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .18);
}

.split-line {
    background-color: var(--line);
}

.top-line:before,
.bottom-line:after {
    border-color: var(--line);
}

.stui-foot {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .stui-header__bar .row {
        min-height: 62px;
    }

    .stui-header__logo {
        min-width: 170px;
    }

    .site-logo {
        height: 44px !important;
        font-size: 18px !important;
    }

    .site-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .site-logo-text {
        max-width: 150px;
    }

    .stui-header__search {
        max-width: none;
        margin: 0 14px;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 0;
        font-size: 12px;
    }

    .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .stui-header__top {
        margin-bottom: 12px;
    }

    .stui-header__bar .row {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 0;
        padding: 10px 0;
    }

    .stui-header__logo {
        order: 1;
        min-width: 0;
        max-width: calc(100% - 54px) !important;
        margin-left: 0 !important;
    }

    .site-logo {
        height: 38px !important;
        gap: 8px;
        font-size: 16px !important;
    }

    .site-logo-mark {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .site-logo-text {
        max-width: 172px;
    }

    .stui-header__search {
        position: static !important;
        order: 3;
        flex-basis: 100%;
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 0;
    }

    .stui-header__search form {
        position: relative;
        display: block;
        width: 100%;
    }

    .stui-header__search .form-control {
        width: 100%;
        height: 40px !important;
        padding-right: 46px;
        box-sizing: border-box;
    }

    .stui-header__search .submit {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        z-index: 2;
        width: 42px !important;
        height: 40px !important;
    }

    .stui-header__user {
        order: 2;
        margin-left: auto;
        padding-right: 0;
        flex: 0 0 42px;
    }

    .stui-header__user > li > a {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .stui-header__menu {
        position: static;
        display: block !important;
        visibility: visible !important;
        width: 100%;
        min-height: 52px;
    }

    .stui-header__menu .container,
    .stui-header__menu .row {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .stui-header__menu .type-slide {
        display: block !important;
        width: 100%;
        min-height: 50px;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 7px 10px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .stui-header__menu .type-slide:before,
    .stui-header__menu .type-slide:after {
        display: none !important;
    }

    .stui-header__menu li {
        display: inline-flex !important;
        float: none !important;
        width: auto !important;
        height: auto !important;
    }

    .stui-header__menu li a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 9px 13px;
        font-size: 13px;
        line-height: 20px;
    }

    .stui-pannel-bg,
    .stui-vodlist__bg,
    .stui-vodlist__bg:hover {
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: none;
    }

    .stui-content__detail .title {
        line-height: 1.25;
    }

    .stui-player__video,
    .stui-player__video .MacPlayer,
    .stui-player__video iframe,
    .stui-player__video embed,
    .stui-player__video object,
    .stui-player__video video {
        min-height: 220px;
    }
}
