html,
body,
#root {
    height: auto;
    min-height: 100%;
}

.header-bottom-section {
    overflow: visible;
}

.header-account {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    white-space: nowrap;
    font-size: 14px;
}

.header-account a,
.header-account-btn {
    color: #ffc107;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.header-account-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.header-account-name {
    color: #fff;
    text-decoration: none;
}

.member-shell {
    width: min(100%, 560px);
    margin: 20px auto 36px;
    padding: 0 14px;
}

.member-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 18px;
    background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
    border: 1px solid #333;
    border-radius: 16px;
    color: #eee;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.member-brand {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5c518;
}

.member-card h2 {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.7rem);
    line-height: 1.25;
}

.member-lead {
    margin: 0;
    color: #b7b7b7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.member-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
    color: #ddd;
}

.member-card .form-control {
    min-height: 46px;
    border-radius: 10px;
    border-color: #3a3a3a;
    background: #0f0f0f;
    color: #fff;
    font-size: 16px;
}

.member-card .form-control:focus {
    border-color: #f5c518;
    box-shadow: 0 0 0 0.2rem rgba(245, 197, 24, 0.15);
}

.member-check {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.member-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.member-btn {
    min-height: 46px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
}

.member-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.member-actions .member-btn {
    flex: 1 1 160px;
    width: auto;
}

.member-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: space-between;
    font-size: 0.95rem;
}

.member-links a {
    color: #f5c518 !important;
    text-decoration: none !important;
}

.member-verify {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid #66520a;
    background: #241c08;
    border-radius: 12px;
}

.member-verify p {
    margin: 0;
    color: #ddd;
    font-size: 14px;
}

.member-account {
    max-width: none;
}

@media (min-width: 640px) {
    .member-shell {
        margin-top: 36px;
        padding: 0;
    }

    .member-card {
        padding: 28px 26px;
    }

    .member-btn {
        width: auto;
        min-width: 180px;
    }

    .member-actions .member-btn {
        flex: 0 1 auto;
    }
}

.member-account h3 {
    margin: 8px 0 0;
    font-size: 1.05rem;
}

.member-account form,
.member-account section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #333;
}

.member-sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.member-sessions li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #ddd;
}

.member-sessions small {
    color: #999;
}

.member-danger h3 {
    color: #f1aeb5;
}

.adult-player {
    width: 100%;
    max-height: 72vh;
    background: #000;
}

.header-nav ul {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 58px;
}

.header-nav ul li {
    display: flex;
    align-items: stretch;
    height: 58px;
    margin: 0;
    padding: 0;
}

.header-nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 58px;
    padding: 0 20px;
    box-sizing: border-box;
    line-height: 1.2;
    gap: 6px;
}

.header-nav ul li a svg,
.header-nav ul li a img {
    display: inline-block;
    flex: 0 0 auto;
    max-width: none;
    vertical-align: middle;
}

.header-nav ul li a img {
    width: 48px;
    height: 48px;
}

.movie-cards-container,
.ms-cards,
.fs-cards {
    display: grid;
    width: 100%;
}

.movie-card-poster {
    aspect-ratio: 3 / 4;
}

.movie-card-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.svod-detail-stack {
    overflow: visible;
}

.watch-promo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 20px auto 12px;
    padding: 4px 0 8px;
    box-sizing: border-box;
    scroll-margin: 22vh;
    position: relative;
    z-index: 2;
}

.watch-promo-btn.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto;
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.45), 0 12px 28px rgba(0, 0, 0, 0.5);
}

.watch-promo-banner {
    display: block;
    width: min(728px, 100%);
    margin: 0 auto;
}

.watch-promo-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.header-logo {
    width: 171px;
    height: 171px;
    background: #fff3cd;
    flex: 0 0 auto;
}

.header-logo img {
    display: block;
    width: 171px;
    height: 171px;
}

.header-spacer {
    width: 638px;
    height: 178px;
}

.header-search {
    width: auto;
    height: 178px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-search form {
    width: 270px;
    flex: 0 0 270px;
}

.header-search .input-group,
.header-search .form-outline {
    width: 100%;
}

.site-menu-btn,
.nav-backdrop {
    display: none;
}

.footer-bottom-section {
    align-items: center;
    gap: 18px;
}

.footer-react-icon {
    width: 50px;
    height: 44px;
    flex: 0 0 auto;
}

@media (max-width: 992px) {
    header {
        min-width: 1210px !important;
    }

    .content-section-container,
    body.fs-mode:not(.ms-player-kit-mode) .content-section-container {
        flex-wrap: nowrap !important;
        max-width: 1210px !important;
    }

    .content-side,
    body.fs-mode:not(.ms-player-kit-mode) .content-side {
        display: block !important;
        width: 230px !important;
        max-width: 230px !important;
        flex: 0 0 230px !important;
    }

    .content-middle,
    body.fs-mode:not(.ms-player-kit-mode) .content-middle {
        width: auto !important;
        flex: 1 1 0 !important;
        margin: 0 10px !important;
    }
}

.ms-hero .ms-cat-bar {
    margin: 14px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.ms-hero .ms-cat-bar .ms-cat-label:not(:first-child) {
    margin-top: 12px;
}

