
@media only screen and (max-width: 600px) {
    .game-iframe-container {
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 0px;
    }
}

#footer-menu li {
    display: block;
    padding: 0 15px;
    position: static;
    line-height: 1;
    line-height: 1.5;
}

.list-categories li {
    padding: 8px 13px;
}

nav.greedy button {
    padding: 6px 30px 6px 9px;
}

@media (max-width: 600px) {
    ul.links {
        justify-content: center;
        align-items: center;
    }
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}

#footer-menu {
    list-style: none;
    text-align: center;
    padding: 0px;
}

body {
    font-size: 17px;
}

.custom-controls {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: calc(100% - 52px);
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    background: transparent;
    border-radius: 8px;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.control-btn {
    font-size: 48px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    border: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.control-btn:hover {
    color: #ffffff;
    transform: scale(1.05);
}


.custom-controls.hide {
    opacity: 0;
    pointer-events: none;
}

.video-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.38) 50%, transparent 100%);
    z-index: 5;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.video-progress-times {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 0 1px;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.video-progress-track {
    position: relative;
    height: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}

.video-progress-rail {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.video-progress-buffer {
    position: absolute;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;
    width: 0;
    pointer-events: none;
}

.video-progress-fill {
    position: absolute;
    left: 0;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    width: 0;
    pointer-events: none;
}

.video-progress-thumb {
    position: absolute;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.video-progress.is-paused .video-progress-thumb,
.video-progress.is-seeking .video-progress-thumb,
.video-progress-track:hover .video-progress-thumb {
    opacity: 1;
}


:root {
    --cinema-bg: #0c0c14;
    --cinema-bg-soft: #10101a;
    --cinema-bar: #1a1a28;
    --cinema-bar-deep: #14141f;
    --cinema-card: #161622;
    --cinema-card-alt: #1c1c2a;
    --cinema-border: rgba(255, 231, 137, 0.28);
    --cinema-border-subtle: rgba(255, 255, 255, 0.08);
    --cinema-gold: #fff0a8;
    --cinema-gold-light: #fff0a8;
    --cinema-gold-dark: #e6cf6a;
    --cinema-gold-glow: rgba(255, 231, 137, 0.28);
    --cinema-text: #f2f2f8;
    --cinema-text-muted: #9a9ab0;
    --cinema-text-dim: #6e6e82;
    --cinema-nav: #1a1a28;
    --cinema-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    --cinema-on-gold: #1a1500;
}

body#page-top {
    background-color: var(--cinema-bg) !important;
    background-image: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(255, 231, 137, 0.06), transparent 50%),
        linear-gradient(180deg, var(--cinema-bg-soft) 0%, var(--cinema-bg) 40%, var(--cinema-bg) 100%);
    color: var(--cinema-text);
}

#mainNav {
    background: linear-gradient(180deg, var(--cinema-bar) 0%, var(--cinema-bar-deep) 100%);
    border-radius: 0 0 14px 14px;
    min-height: auto !important;
    padding: 0;
    position: relative;
    z-index: 100;
    border-bottom: 2px solid var(--cinema-gold);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(255, 231, 137, 0.08);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

#mainNav .nav-link:hover {
    color: var(--cinema-gold-light) !important;
}

#mainNav>.container {
    align-items: center;
    min-height: auto;
    padding-top: 4px;
    padding-bottom: 4px;
    justify-content: space-between;
    margin: auto 0px;
}

#mainNav .navbar-brand {
    padding: 0;
    /* margin-right: 8px; */
    line-height: 0;
    flex-shrink: 0;
}

.search-bar .input-group {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 231, 137, 0.22);
    border-radius: 50px;
}

.search-bar .input-group:focus-within {
    border-color: var(--cinema-gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px var(--cinema-gold-glow), 0 0 0 3px rgba(255, 231, 137, 0.14);
}

.search-bar .form-control {
    background: transparent !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 20px 12px 20px !important;
    font-size: 0.95rem;
    color: var(--cinema-text) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: none !important;
    height: auto;
    flex: 1;
    min-width: 200px;
}

.search-bar .form-control::placeholder {
    color: var(--cinema-text-dim);
    font-weight: 400;
    font-style: italic;
}

.search-bar .form-control:focus {
    color: #ffffff !important;
}

.search-icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a7ba;
    font-size: 1rem;
    z-index: 5;
    pointer-events: none;
    transition: color 0.3s;
}

.search-bar .input-group:focus-within .search-icon-left {
    color: var(--cinema-gold);
}

.btn-search {
    background: linear-gradient(135deg, var(--cinema-gold-dark) 0%, var(--cinema-gold) 50%, var(--cinema-gold-light) 100%);
    color: var(--cinema-on-gold);
}

.btn-search svg path {
    fill: var(--cinema-on-gold);
}

#navb {
    margin-top: 0;
}

#mainNav {
    /* border-radius: 0 0 10px 10px; */
    /* padding: 0 0 10px; */
}

nav.greedy button {
    background: #0c0d13;
}

nav.greedy button::after {
    margin-right: 0;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
    margin-bottom: 0px;
    margin-top: 0;
    color: black !important;
}

.form-control .search {
    padding: 0;
}

.btn-search {
    /* padding: 13px 18px; */
    height: 100%;
}

.search-bar {
    width: 95%;
    /* margin:5px auto 0; */
}

.navbar-collapse .justify-content-end .collapse .show {
    gap: 0;
}

.site-logo {
    /* height: 131px !important; */
    width: auto !important;
    max-width: 140px;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin-right: 0;
    padding: 0;
}

.navbar-toggler {
    border: none;
    width: 36px;
    height: 36px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.navbar-menu-icon,
.navbar-toggler svg.icon {
    width: 30px;
    height: 30px;
    display: block;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-menu-icon,
.navbar-toggler[aria-expanded="true"] svg.icon,
#toggler:not(.collapsed) svg.icon {
    transform: rotate(90deg);
}

.navbar-menu-icon path,
.navbar-toggler svg.icon path {
    fill: var(--cinema-gold);
    transition: fill 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-menu-icon path,
.navbar-toggler[aria-expanded="true"] svg.icon path,
#toggler:not(.collapsed) svg.icon path {
    fill: #ffffff;
}

.game-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    margin-bottom: 0;
}

.single-game .game-content {
    gap: 0;
}

.single-game-stack {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-game .player-section,
.single-game .info-the-game,
.single-game .review-section {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.single-game .info-the-game .comments-container,
.single-game .comments-container {
    margin-top: 0 !important;
}

.game-content>.game-iframe-container,
.game-content>.game-action-card,
.game-content>.info-the-game,
.game-content>.review-section {
    margin: 0 !important;
}

.game-content .comments-container {
    margin-top: 0 !important;
}

.game-container {
    margin: 5px 0;
}

.page-content,
.game-content {
    margin-bottom: 0px;
}

.info-the-game {
    margin: 0 !important;
}

.info-the-game .comments-container {
    padding: 24px !important;
    margin-top: 0 !important;
    margin-bottom: 0px;
}

.comments-container {
    background: var(--cinema-card);
    border-radius: 16px;
    border: 1px solid rgb(255 234 0 / 18%);
    box-shadow: var(--cinema-shadow);
    margin-top: 0;
}

.css-1g10nz7 h1 {
    font-size: 1.2rem !important;
    font-weight: 800;
    color: var(--cinema-text);
}

.gameh2 {
    font-weight: 700;
    color: var(--cinema-gold-light);
    font-size: 1.2rem;
    margin-top: 18px;
}

.destext2 {
    color: var(--cinema-text-muted);
    line-height: 1.7;
}

.sidebar {
    background: var(--cinema-card);
    border-radius: 16px;
    border: 1px solid var(--cinema-border-subtle);
    box-shadow: var(--cinema-shadow);
    padding: 16px;
    margin-top: 8px;
}

.single-game .sidebar {
    margin-top: 0;
}

.single-game .sidebar .sidebar-title {
    margin: 5px 5px 0px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cinema-gold-light);
    line-height: 1.3;
}

.single-game #popular-games {
    margin: 0;
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
}

.single-game .wgt-list-game {
    border-radius: 10px;
    border: 1px solid var(--cinema-border-subtle);
    background: var(--cinema-card-alt);
    box-shadow: none;
}

.single-game .wgt-list-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 231, 137, 0.18);
    border-color: var(--cinema-border);
}

.single-game .wgt-list-thumbnail img,
.single-game .small-thumb {
    border-radius: 8px;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.listpic {
    width: 30%;
    min-height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--cinema-border-subtle);
    background: var(--cinema-card-alt);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.listpic:hover {
    transform: translateY(-3px);
    border-color: var(--cinema-border);
    box-shadow: 0 8px 24px rgba(255, 231, 137, 0.14);
}

.listpic img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.widget-title {
    font-weight: 700;
    color: var(--cinema-gold-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wgt-list-game {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    background: #f9fafc;
}

.wgt-list-game:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.episode-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#episodeList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 5px;
}

.episodeBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    border: 1.7px solid #ffefc1;
    background: var(--cinema-card-alt);
    color: var(--cinema-text-muted);
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.episodeBtn:hover {
    border-color: var(--cinema-border);
    background: var(--cinema-card);
    color: var(--cinema-gold-light);
}

.episodeBtn.isCurrent {
    border-color: var(--cinema-gold);
    background: linear-gradient(135deg, var(--cinema-gold-dark), var(--cinema-gold));
    color: var(--cinema-on-gold);
    font-weight: 700;
    box-shadow: 0 4px 16px var(--cinema-gold-glow);
}

/* 首页列表外框 */
#home-game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0 28px;
}

#home-game-container .home-list-card {
    background: var(--cinema-card) !important;
    border-radius: 16px !important;
    border: 1px solid rgb(255 234 0 / 18%) !important;
    box-shadow: var(--cinema-shadow) !important;
    padding: 20px 18px 24px !important;
    margin-top: 8px;
}

.home-list-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cinema-border-subtle);
}

.home-list-header svg path {
    fill: var(--cinema-gold);
}

.home-list-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cinema-gold-light);
    line-height: 1.3;
}

.home-list-card .section-games {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 16px;
    margin: 0;
    width: 100%;
}

.home-list-card .item-grid {
    margin-bottom: 0;
}

.home-list-card .gotoview {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-list-card .list-game {
    border-radius: 12px;
    overflow: hidden;
    background: var(--cinema-card-alt) !important;
    border: 1px solid var(--cinema-border-subtle) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-list-card .list-game:hover {
    transform: translateY(-3px);
    border-color: var(--cinema-border) !important;
    box-shadow: 0 8px 24px rgba(255, 231, 137, 0.14);
}

.home-list-card .list-thumbnail {
    overflow: hidden;
    line-height: 0;
    background: #0a0a10;
}

.home-list-card .list-thumbnail img,
.home-list-card .small-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-list-card .list-game:hover .small-thumb {
    transform: scale(1.03);
}

.home-list-card .list-content {
    padding: 10px 10px 12px;
    background: transparent !important;
}

.home-list-card .list-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cinema-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.home-list-card .list-game:hover .list-title {
    color: var(--cinema-gold-light);
}

@media (max-width: 480px) {
    #home-game-container .home-list-card {
        padding: 16px 12px 20px !important;
    }

    .home-list-card .list-title {
        font-size: 0.76rem;
    }
}

/* 信息卡片 */
.movie-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff0a8;
    margin: 0;
    line-height: 1.35;
}

.info-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--cinema-border-subtle);
}

.info-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cinema-gold);
    margin-bottom: 10px;
}

.info-value {
    color: var(--cinema-text);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.review-section {
    margin: 0 !important;
}

.review-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cinema-gold-light);
    margin: 0 0 14px;
    line-height: 1.3;
}

.review-text {
    margin: 0;
    color: var(--cinema-text-muted);
    line-height: 1.7;
}

/* 播放器下方操作栏 */
.player-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: var(--cinema-card);
    border-top: 1px solid var(--cinema-border-subtle);
}

.action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 8px;
    border: 1.7px solid var(--cinema-border-subtle);
    border-radius: 999px;
    background: var(--cinema-card-alt);
    color: var(--cinema-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.action-btn svg {
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.action-btn:hover {
    background: var(--cinema-card);
    border-color: var(--cinema-border);
    color: var(--cinema-text);
}

.action-btn:active {
    transform: scale(0.94);
}

.action-like:hover {
    border-color: var(--cinema-gold);
    color: var(--cinema-gold-light);
    background: rgba(255, 231, 137, 0.1);
}

.action-dislike:hover {
    border-color: rgba(201, 168, 106, 0.55);
    color: #c9a86a;
    background: rgba(201, 168, 106, 0.08);
}

.action-like.is-active {
    border-color: var(--cinema-gold);
    color: var(--cinema-on-gold);
    background: linear-gradient(180deg, var(--cinema-gold-dark) 0%, var(--cinema-gold) 100%);
    box-shadow: 0 4px 16px var(--cinema-gold-glow);
}

.action-dislike.is-active {
    border-color: #8a7350;
    color: #d4b896;
    background: linear-gradient(180deg, #2a2518 0%, #1a1710 100%);
    box-shadow: 0 4px 16px rgba(138, 115, 80, 0.35);
}

.action-like.is-active svg {
    stroke: var(--cinema-on-gold);
}

.action-dislike.is-active svg {
    stroke: #d4b896;
}

@keyframes actionPop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes likeIconPop {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    35% {
        transform: scale(1.35) rotate(-10deg);
    }

    65% {
        transform: scale(1.12) rotate(6deg);
    }
}

@keyframes dislikeIconShake {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    20% {
        transform: translateX(-3px) rotate(-8deg);
    }

    40% {
        transform: translateX(3px) rotate(8deg);
    }

    60% {
        transform: translateX(-2px) rotate(-4deg);
    }

    80% {
        transform: translateX(2px) rotate(4deg);
    }
}

.action-btn.is-popping {
    animation: actionPop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.action-like.is-popping svg {
    animation: likeIconPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.action-dislike.is-popping svg {
    animation: dislikeIconShake 0.42s ease;
}

.action-btn.action-feedback {
    border-color: var(--cinema-gold);
    color: var(--cinema-gold-light);
}

.action-btn.action-feedback:hover {
    background: rgba(255, 231, 137, 0.12);
}

/* 播放器标题 + 竖屏播放器 */
.player-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.playlet-title-bar {
    padding: 16px 16px 14px;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(255, 231, 137, 0.14) 0%, var(--cinema-card) 42%, var(--cinema-card-alt) 100%);
    border: 1px solid rgba(255, 231, 137, 0.28);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 231, 137, 0.12);
    position: relative;
    overflow: hidden;
}

.playlet-title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--cinema-gold) 35%, var(--cinema-gold-light) 50%, var(--cinema-gold) 65%, transparent 100%);
}

.playlet-title-bar::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 231, 137, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.playlet-title-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.episode-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.episode-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cinema-on-gold);
    background: linear-gradient(135deg, var(--cinema-gold-dark) 0%, var(--cinema-gold) 100%);
    padding: 5px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px var(--cinema-gold-glow);
}

.episode-badge-label svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.episode-badge-num {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--cinema-gold-light);
    padding: 4px 12px;
    border: 1.7px solid rgba(255, 231, 137, 0.5);
    border-radius: 999px;
    background: rgba(255, 231, 137, 0.08);
    letter-spacing: 0.04em;
}

#playlet_title,
.playlet-series-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #ffffff;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); */
}

.playlet-series-title {
    background: linear-gradient(90deg, #ffffff 0%, #ffeea8 55%, #ffe255 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.iframe-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #000;
    border: 1px solid rgb(255 234 0 / 26%);
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: var(--cinema-shadow);
}

.video-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

.iframe-container .video-wrap video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: 72vh;
    object-fit: cover;
    background: #000;
    vertical-align: top;
}



@media (max-width: 480px) {

    .single-game-stack,
    .single-game .player-section,
    .single-game .info-the-game,
    .single-game .review-section,
    .iframe-container {
        max-width: 100%;
    }

    .single-game .sidebar {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #playlet_title,
    .playlet-series-title {
        font-size: 1.02rem;
    }

    .episode-badge-num {
        font-size: 0.78rem;
    }

    .iframe-container .video-wrap video {
        max-height: 68vh;
    }

}

.footer {
    background: linear-gradient(180deg, var(--cinema-bar-deep) 0%, var(--cinema-bar) 100%);
    padding: 16px 0 22px;
    margin-top: 24px;
    border-top: 2px solid var(--cinema-gold);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5), 0 -4px 16px rgba(255, 231, 137, 0.06);
}

#footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    color: var(--cinema-text);
    margin: 0;
    padding: 0;
}

#footer-menu a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

#footer-menu a:hover {
    color: var(--cinema-gold-light);
}

.sidebar .widget {
    margin-bottom: 0px;
}

.content-wrapper {
    margin-top: 12px;
}

.btn-search {
    border-radius: 0 20px 20px 0;
}

.navbar-nav {
    /* margin:10px auto; */
}

.listrow {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between
}

.home-list-card .section-games.row {
    justify-content: flex-start;
}

#mainNav>.container {
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 992px) {
    #navb {
        margin: 0;
    }
}

#mainNav:has(button[aria-expanded="true"]) {
    /* padding-bottom: 10px; */
}

@media (min-width: 992px) {
    #mainNav .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr);
    }

    #mainNav #navb {
        /* display: contents !important; */
        /* 让 search 和链接直接参与 grid */
    }

    #mainNav .navbar-brand {
        grid-column: 1;
        justify-self: start;
    }

    /* 左：Logo */
    #mainNav .search-bar {
        grid-column: 2;
        justify-self: center;
    }

    /* 中：Search 居中 */
    #mainNav .nav-menu-links {
        grid-column: 3;
        justify-self: end;
    }

    /* 右：Home + Privacy */
}

.nav-link {
    background: #ffe789;
    color: white;
}
