.mobile-menu {
    display: none;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-button {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #4b5563;
}

.mobile-search,
.site-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search {
    align-items: center;
    gap: 10px;
}

.mobile-search {
    margin-top: 12px;
}

.search-input,
.site-search-input {
    width: 100%;
    border: 1px solid #e7dfcf;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    padding: 12px 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-input.compact {
    width: 180px;
    padding: 9px 12px;
    border-radius: 10px;
}

.search-input:focus,
.site-search-input:focus {
    border-color: #b59a61;
    box-shadow: 0 0 0 3px rgba(181, 154, 97, 0.18);
}

.search-button,
.site-search-clear {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #b59a61, #a66a3f);
    color: #fff;
    font-weight: 700;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease;
    white-space: nowrap;
}

.search-button.compact {
    padding: 9px 14px;
    border-radius: 10px;
}

.search-button:hover,
.site-search-clear:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-chip {
    border: 1px solid #e7dfcf;
    border-radius: 999px;
    background: #fff;
    color: #6b5a38;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-chip.active,
.filter-chip:hover {
    background: #9d8350;
    border-color: #9d8350;
    color: #fff;
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 38px;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 16px;
}

.hero-next {
    right: 16px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.hero-dot.active {
    width: 32px;
    background: #fff;
}

.play-triangle {
    color: #7d6840;
    font-size: 22px;
    margin-left: 3px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b59a61, #a66a3f);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: #7d6840;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #9d8350;
}

.empty-state {
    display: none;
    margin-top: 28px;
    border-radius: 16px;
    background: #fff;
    padding: 24px;
    color: #6b7280;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.empty-state.show {
    display: block;
}

.player-shell {
    min-height: 240px;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.player-overlay strong {
    max-width: 80%;
    font-size: clamp(20px, 4vw, 40px);
    line-height: 1.2;
}

.player-circle {
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #7d6840;
    font-size: 32px;
    padding-left: 4px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.player-overlay.hidden-overlay {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.player-notice {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 8;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 14px;
    padding: 8px 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.player-notice.show {
    opacity: 1;
}

.movie-info-list {
    display: grid;
    gap: 12px;
}

.movie-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #f1ede4;
    padding-bottom: 10px;
}

.movie-info-list dt {
    color: #6b7280;
}

.movie-info-list dd {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.about-link {
    display: block;
    border-radius: 14px;
    background: #f7f3ea;
    color: #6b5a38;
    font-weight: 700;
    padding: 14px 16px;
    transition: background 180ms ease, transform 180ms ease;
}

.about-link:hover {
    background: #efe6d4;
    transform: translateX(3px);
}

.prose-text p {
    margin: 0;
}

@media (max-width: 767px) {
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .player-circle {
        width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .site-search-form {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .mobile-menu.open {
        display: none;
    }
}
