/*
 * Doramy Club corrective layer.
 * Loaded after every legacy/theme/player stylesheet to keep the Lordfilm
 * data layer intact while making the public layout deterministic.
 */

body.doramy-club {
    --doramy-width: 1240px;
    --doramy-gap: 15px;
    --doramy-radius: 10px;
    --doramy-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

/* The reference keeps navigation in the content sheet, not below the header. */
@media (min-width: 769px) {
    body.doramy-club .site-header > .header-menu {
        display: none !important;
    }

    body.doramy-club main.content-wrap,
    body.doramy-club main.content-sidebar-wrap {
        padding-top: 71px !important;
    }

    body.admin-bar.doramy-club main.content-wrap,
    body.admin-bar.doramy-club main.content-sidebar-wrap {
        padding-top: 103px !important;
    }
}

/* Top blocks from the Doramy home page. */
body.doramy-club .doramy-home-promo,
body.doramy-club .doramy-showcase {
    width: 100%;
    margin: 0 0 var(--doramy-gap) !important;
    border: 0 !important;
    border-radius: var(--doramy-radius) !important;
    background: var(--doramy-card) !important;
    box-shadow: var(--doramy-shadow) !important;
}

body.doramy-club .doramy-home-promo {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 84px;
    padding: 16px 24px !important;
}

body.doramy-club .doramy-home-promo__icon {
    display: grid;
    flex: 0 0 54px;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 9px;
    background: linear-gradient(145deg, #f9e9f0, #efb9ce);
    color: #fff;
    font: 400 35px/1 Georgia, serif;
    text-shadow: 0 1px 2px rgba(151, 37, 82, .28);
}

body.doramy-club .doramy-home-promo__copy {
    display: flex;
    flex-direction: column;
    color: var(--doramy-text);
    font-size: 14px;
    line-height: 1.35;
}

body.doramy-club .doramy-home-promo__copy strong {
    font-size: 16px;
    font-weight: 700;
}

body.doramy-club .doramy-showcase {
    position: relative;
    min-width: 0;
    padding: 20px 24px 18px !important;
    overflow: hidden;
}

body.doramy-club .doramy-showcase .splide__track {
    overflow: hidden;
}

body.doramy-club .doramy-showcase__item {
    min-width: 0;
}

body.doramy-club .doramy-showcase__link {
    display: block;
    min-width: 0;
    color: var(--doramy-text) !important;
    text-decoration: none !important;
}

body.doramy-club .doramy-showcase__poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #25262a;
}

body.doramy-club .doramy-showcase__poster img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body.doramy-club .doramy-showcase__poster.is-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 28% 24%, rgba(239,57,106,.7), transparent 28%),
        linear-gradient(145deg, #23252b 8%, #774257 58%, #e6a9bf);
}

body.doramy-club .doramy-showcase__placeholder-mark {
    color: rgba(255,255,255,.88);
    font: 400 52px/1 Georgia, serif;
}

body.doramy-club .doramy-showcase__rating {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    min-width: 40px;
    padding: 3px 6px;
    border-radius: 2px;
    background: rgba(255,255,255,.94);
    color: #60b924;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

body.doramy-club .doramy-showcase__title {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: var(--doramy-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.doramy-club .doramy-showcase .splide__arrow {
    top: 48%;
    display: grid !important;
    place-items: center;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.12) !important;
    opacity: 1 !important;
}

body.doramy-club .doramy-showcase .splide__arrow--prev { left: 3px !important; }
body.doramy-club .doramy-showcase .splide__arrow--next { right: 3px !important; }
body.doramy-club .doramy-showcase .splide__arrow svg { width: 15px; height: 15px; fill: #f07b4f; }

/* Main content and local navigation are a stable two-column sheet. */
body.doramy-club .doramy-page-grid {
    margin-top: 0;
}

body.doramy-club .doramy-home-promo + .doramy-showcase + .doramy-page-grid,
body.doramy-club .doramy-home-promo + .doramy-page-grid {
    margin-top: 0;
}

body.doramy-club .doramy-page-main {
    contain: none !important;
    overflow: visible !important;
    border-radius: var(--doramy-radius) !important;
    background: var(--doramy-card) !important;
    box-shadow: var(--doramy-shadow) !important;
}

body.doramy-club .doramy-page-main > .content-wrap {
    overflow: hidden;
    border-radius: 0 0 var(--doramy-radius) var(--doramy-radius);
}

body.doramy-club .doramy-content-menu {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--doramy-line);
    background: var(--doramy-card);
    scrollbar-width: none;
}

body.doramy-club .doramy-content-menu::-webkit-scrollbar { display: none; }

body.doramy-club .doramy-content-menu__list {
    display: flex !important;
    align-items: stretch;
    min-width: max-content;
    margin: 0 !important;
    padding: 0 22px !important;
    list-style: none !important;
}

body.doramy-club .doramy-content-menu__list > li {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.doramy-club .doramy-content-menu__list > li > a,
body.doramy-club .doramy-content-menu__list > li > span {
    display: flex !important;
    align-items: center;
    min-height: 53px;
    padding: 0 20px !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: var(--doramy-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

body.doramy-club .doramy-content-menu__list > li.current-menu-item > a,
body.doramy-club .doramy-content-menu__list > li > a:hover {
    border-bottom-color: var(--accent) !important;
    color: var(--accent) !important;
}

body.home.doramy-club .breadcrumbs,
body.home.doramy-club .breadcrumbs-wrap {
    display: none !important;
}

/* Reset every content block to normal document flow. */
body.doramy-club .content-wrap-inner,
body.doramy-club .content-wrap-inner > *,
body.doramy-club .film-card,
body.doramy-club .film-player-wrap,
body.doramy-club .bohfilm-player,
body.doramy-club .bohfilm-episodes,
body.doramy-club .bohfilm-rating-scores,
body.doramy-club #reactions-block,
body.doramy-club .film-share {
    position: relative;
    float: none !important;
    clear: both;
    min-width: 0;
    max-width: 100%;
    transform: none;
}

body.doramy-club .content-wrap-inner {
    overflow: hidden;
    border-radius: 0 0 var(--doramy-radius) var(--doramy-radius);
}

body.doramy-club .film-card {
    isolation: isolate;
}

/* Player: the module assets now load on home; these rules only fit it to the sheet. */
body.doramy-club .film-player-wrap {
    overflow: hidden !important;
}

body.doramy-club .film-player-wrap > h2 {
    margin: 0 0 10px !important;
}

body.doramy-club .bohfilm-player,
body.doramy-club .bohfilm-player--module {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

body.doramy-club .bf-watch {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    --watch_bg: #202124;
    --watch_panel_bg: #111216;
    --watch_button_bg: #505156;
    --watch_button_accent: var(--accent);
    --watch_button_font: #fff;
}

body.doramy-club .bf-watch__shell {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    border-radius: 5px;
}

body.doramy-club .bf-watch__bar,
body.doramy-club .bf-watch__stage,
body.doramy-club .bf-watch__screen,
body.doramy-club .bf-watch__screen-inner,
body.doramy-club .bf-watch__viewport,
body.doramy-club .bf-watch__frame {
    min-width: 0;
    max-width: 100%;
}

body.doramy-club .bf-watch__screen-inner,
body.doramy-club .bf-watch__viewport,
body.doramy-club .bf-watch__frame {
    overflow: hidden;
}

body.doramy-club .bf-watch__source,
body.doramy-club .bf-watch__action {
    border-radius: 4px !important;
    box-shadow: none !important;
}

body.doramy-club .bf-watch iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
}

/* Episodes controls and cards. */
body.doramy-club .bohfilm-episodes {
    overflow: visible !important;
}

body.doramy-club .bohfilm-episodes .serials-block-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center !important;
    gap: 7px !important;
}

body.doramy-club .bohfilm-episodes .serials-block-header h2 {
    min-width: 220px;
    margin: 0 auto 0 0 !important;
}

body.doramy-club .bohfilm-sort-wrap {
    width: auto !important;
    min-width: 138px !important;
    max-width: 190px;
}

body.doramy-club .bohfilm-sort-wrap .sort-list {
    right: 0 !important;
    left: auto !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: min(260px, calc(100vw - 30px)) !important;
}

body.doramy-club .bohfilm-episodes__grid.serials-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
}

body.doramy-club .bohfilm-episodes__card {
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.doramy-club .bohfilm-episodes__image-wrap {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

body.doramy-club .bohfilm-episodes__thumb {
    position: absolute;
    inset: 0;
}

body.doramy-club .bohfilm-episodes__card.is-hidden,
body.doramy-club .bohfilm-episodes__season-heading.is-hidden {
    display: none !important;
}

/* Rating: explicit desktop layout; legacy desktop styles previously collapsed it. */
body.doramy-club .bohfilm-rating-scores {
    display: block !important;
    overflow: hidden !important;
    color: var(--doramy-text) !important;
}

body.doramy-club .bohfilm-rating-scores__inner {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: 100%;
}

body.doramy-club .bohfilm-rating-scores__summary {
    position: relative !important;
    display: grid !important;
    place-content: center !important;
    width: 108px !important;
    min-width: 108px !important;
    min-height: 108px !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: hidden !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 7px !important;
    background: var(--doramy-soft) !important;
    color: var(--doramy-text) !important;
    text-align: center !important;
    box-shadow: none !important;
}

body.doramy-club .bohfilm-rating-scores__number {
    color: var(--accent) !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.doramy-club .bohfilm-rating-scores__label {
    display: block !important;
    margin-top: 7px !important;
    color: var(--doramy-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
}

body.doramy-club .bohfilm-rating-scores__bars {
    display: grid !important;
    min-width: 0;
    gap: 15px !important;
}

body.doramy-club .bohfilm-rating-bar {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
}

body.doramy-club .bohfilm-rating-bar__header {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 6px !important;
    color: var(--doramy-text) !important;
}

body.doramy-club .bohfilm-rating-bar__name {
    min-width: 0;
    color: var(--doramy-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.doramy-club .bohfilm-rating-bar__val,
body.doramy-club .bohfilm-rating-bar__val small {
    flex: 0 0 auto;
    color: var(--doramy-muted) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

body.doramy-club .bohfilm-rating-bar__track {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 5px !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    border-radius: 3px !important;
    background: var(--doramy-line) !important;
}

body.doramy-club .bohfilm-rating-bar__fill {
    position: absolute !important;
    inset: 0 auto 0 0;
    display: block !important;
    height: 100% !important;
    border-radius: inherit;
    background: var(--accent) !important;
}

body.doramy-club .bohfilm-rating-bar__inputs {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(25px, 1fr));
    gap: 5px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.doramy-club .bohfilm-rating-bar[data-scale="stars"] .bohfilm-rating-bar__inputs,
body.doramy-club .bohfilm-rating-bar__inputs:has(.bohfilm-rating-btn:nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(32px, 1fr));
}

body.doramy-club .bohfilm-rating-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 4px !important;
    border: 1px solid #ef7394 !important;
    border-radius: 4px !important;
    background: var(--doramy-card) !important;
    color: var(--accent) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

body.doramy-club .bohfilm-rating-btn svg {
    width: 14px !important;
    height: 14px !important;
    fill: currentColor !important;
}

body.doramy-club .bohfilm-rating-btn:hover,
body.doramy-club .bohfilm-rating-btn.active {
    border-color: var(--accent) !important;
    background: var(--accent) !important;
    color: #fff !important;
}

/* Reactions and share remain functional, but cannot stretch or overlap. */
body.doramy-club #reactions-block {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
}

body.doramy-club #reactions-block .reaction-button {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 7px 4px !important;
    border: 0 !important;
    border-right: 1px solid var(--doramy-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.doramy-club #reactions-block .reaction-button:last-child {
    border-right: 0 !important;
}

body.doramy-club #reactions-block .reaction-button:hover,
body.doramy-club #reactions-block .reaction-button.active {
    background: var(--doramy-soft) !important;
}

body.doramy-club #reactions-block .reaction-emoji {
    font-size: 21px !important;
    line-height: 1 !important;
}

body.doramy-club #reactions-block .reaction-count {
    display: inline-grid !important;
    place-items: center;
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    background: var(--doramy-soft) !important;
    color: var(--doramy-muted) !important;
    font-size: 10px !important;
    line-height: 19px !important;
}

body.doramy-club .film-share {
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Sidebar cards use the same radius and never become positioned over content. */
body.doramy-club .doramy-page-sidebar,
body.doramy-club .sidebar,
body.doramy-club .sidebar-primary,
body.doramy-club .sidebar-sticky {
    min-width: 0 !important;
    max-width: 100% !important;
}

body.doramy-club .sidebar .widget,
body.doramy-club .sidebar .sidebar-item {
    border-radius: var(--doramy-radius) !important;
}

/* Episode title/player/nav follow the same sheet and spacing. */
body.doramy-club .film-card--episode {
    min-height: 0 !important;
}

body.doramy-club .bohfilm-episode-nav {
    position: relative !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

body.doramy-club .comments-wrap,
body.doramy-club .comment-respond,
body.doramy-club .comment-form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 1100px) {
    body.doramy-club .doramy-showcase {
        padding-inline: 18px !important;
    }

    body.doramy-club .bohfilm-episodes .serials-block-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    body.doramy-club .bohfilm-episodes .bohfilm-sort-wrap--season-order {
        grid-column: 2 / -1;
        justify-self: end;
    }
}

@media (max-width: 980px) {
    body.doramy-club .doramy-page-grid.has-sidebar {
        gap: 15px;
    }

    body.doramy-club .doramy-page-sidebar {
        position: static !important;
    }

    body.doramy-club .bohfilm-episodes__grid.serials-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.doramy-club .doramy-home-promo {
        min-height: 72px;
        padding: 12px 15px !important;
    }

    body.doramy-club .doramy-home-promo__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 29px;
    }

    body.doramy-club .doramy-showcase {
        padding: 15px !important;
    }

    body.doramy-club .doramy-content-menu__list {
        padding-inline: 5px !important;
    }

    body.doramy-club .doramy-content-menu__list > li > a,
body.doramy-club .doramy-content-menu__list > li > span {
        min-height: 46px;
        padding-inline: 14px !important;
        font-size: 13px !important;
    }

    body.doramy-club .bohfilm-episodes .serials-block-header {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.doramy-club .bohfilm-episodes .serials-block-header h2 {
        grid-column: 1 / -1;
        min-width: 0;
    }

    body.doramy-club .bohfilm-sort-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none;
    }

    body.doramy-club .bohfilm-episodes .bohfilm-sort-wrap--season-order {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    body.doramy-club .bohfilm-episodes__grid.serials-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.doramy-club .bohfilm-rating-scores__inner {
        grid-template-columns: 84px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.doramy-club .bohfilm-rating-scores__summary {
        width: 84px !important;
        min-width: 84px !important;
        min-height: 84px !important;
    }

    body.doramy-club .bohfilm-rating-scores__number {
        font-size: 24px !important;
    }

    body.doramy-club .bohfilm-rating-bar__inputs {
        grid-template-columns: repeat(10, minmax(22px, 1fr));
        gap: 3px !important;
    }

    body.doramy-club .bohfilm-rating-btn {
        min-height: 27px !important;
        font-size: 11px !important;
    }

    body.doramy-club #reactions-block {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.doramy-club #reactions-block .reaction-button:nth-child(4n) {
        border-right: 0 !important;
    }

    body.doramy-club #reactions-block .reaction-button:nth-child(-n+4) {
        border-bottom: 1px solid var(--doramy-line) !important;
    }
}

@media (max-width: 600px) {
    body.doramy-club .doramy-home-promo,
    body.doramy-club .doramy-showcase {
        border-radius: 0 !important;
    }

    body.doramy-club .bohfilm-rating-scores__inner {
        grid-template-columns: 1fr !important;
    }

    body.doramy-club .bohfilm-rating-scores__summary {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 70px !important;
    }

    body.doramy-club .bohfilm-rating-bar__inputs {
        overflow-x: auto !important;
        grid-template-columns: repeat(10, minmax(30px, 1fr));
        padding-bottom: 3px !important;
    }

    body.doramy-club .bohfilm-rating-bar[data-scale="stars"] .bohfilm-rating-bar__inputs,
    body.doramy-club .bohfilm-rating-bar__inputs:has(.bohfilm-rating-btn:nth-child(5):last-child) {
        grid-template-columns: repeat(5, minmax(34px, 1fr));
    }

    body.doramy-club .bf-watch__bar {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    body.doramy-club .bf-watch__actions {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.doramy-club .bf-watch__action {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        padding-inline: 10px;
    }
}

@media (max-width: 390px) {
    body.doramy-club .doramy-home-promo__copy {
        font-size: 13px;
    }

    body.doramy-club .doramy-showcase {
        padding-inline: 12px !important;
    }

    body.doramy-club .bohfilm-episodes__grid.serials-list {
        gap: 6px !important;
    }

    body.doramy-club .bohfilm-rating-scores {
        padding-inline: 10px !important;
    }

    body.doramy-club #reactions-block .reaction-button {
        min-height: 50px !important;
    }
}
body.doramy-club .doramy-showcase__poster.is-placeholder {
    background:
        radial-gradient(circle at 28% 24%, hsla(var(--poster-hue, 338), 74%, 64%, .78), transparent 29%),
        linear-gradient(145deg, #23252b 8%, hsl(var(--poster-hue, 338), 30%, 38%) 58%, hsl(var(--poster-hue, 338), 55%, 78%)) !important;
}

/* The external share widget is outside the requested Doramy flow and used to
   render as a malformed strip when its third-party script was unavailable. */
body.doramy-club .content-wrap-inner > .film-share,
body.doramy-club .film-share {
    display: none !important;
}
body.doramy-club .doramy-showcase__poster.is-placeholder .doramy-showcase__placeholder-mark {
    display: none !important;
}

body.doramy-club .doramy-showcase__poster.is-placeholder::before,
body.doramy-club .doramy-showcase__poster.is-placeholder::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

body.doramy-club .doramy-showcase__poster.is-placeholder::before {
    inset: 12% 18% 18% 20%;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50% 50% 43% 57% / 58% 42% 58% 42%;
    transform: rotate(-18deg);
}

body.doramy-club .doramy-showcase__poster.is-placeholder::after {
    right: -18%;
    bottom: 15%;
    width: 86%;
    height: 22%;
    border-top: 1px solid rgba(255,255,255,.32);
    border-bottom: 1px solid rgba(255,255,255,.18);
    transform: rotate(-24deg);
}

/* Final comment-flow normalization: one column, no squeezed side-by-side form. */
body.doramy-club .comments-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 15px !important;
}

body.doramy-club .comments-wrap .comment-column {
    order: 1;
    width: 100% !important;
    min-width: 0 !important;
}

body.doramy-club .comments-wrap .comment-respond {
    order: 2;
    width: 100% !important;
    min-width: 0 !important;
}

body.doramy-club .comments-wrap .comments-header {
    margin-bottom: 12px !important;
}

body.doramy-club .comments-wrap .comment-form,
body.doramy-club .comments-wrap .comment-form-comment,
body.doramy-club .comments-wrap .comment-form-comment-bg {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

body.doramy-club .comments-wrap textarea#comment {
    min-height: 150px !important;
    resize: vertical;
}
@media (max-width: 768px) {
    /* Mobile theme control must not cover the hamburger. */
    body.doramy-club .site-header .color-schemes-wrap,
    body.doramy-club .site-header .default-schemes,
    body.doramy-club .site-header .theme-switcher,
    body.doramy-club .site-header .theme-switcher.active {
        flex: 0 0 35px !important;
        width: 35px !important;
        min-width: 35px !important;
        max-width: 35px !important;
        height: 35px !important;
        min-height: 35px !important;
        padding: 0 !important;
        border-radius: 4px !important;
    }

    body.doramy-club .site-header .default-schemes::before,
    body.doramy-club .site-header .default-schemes::after {
        display: none !important;
        content: none !important;
    }
}
@media (max-width: 480px) {
    /* Keep the player toolbar readable instead of rendering anonymous grey icons. */
    body.doramy-club .bf-watch__actions {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    body.doramy-club .bf-watch__action {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        min-height: 42px !important;
        height: 42px !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

    body.doramy-club .bf-watch__action-label {
        display: inline !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }
}
/* Marked-browser fixes: single search field, one theme icon, labelled ratings and a cohesive footer. */
body.doramy-club .site-header .header-search .search-form,
body.doramy-club .site-header .header-search .search-form:focus-within {
    gap: 0 !important;
    height: 35px !important;
    min-height: 35px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.doramy-club .site-header .header-search .input-text {
    width: 100% !important;
    height: 35px !important;
}

body.doramy-club .site-header .header-search input[type="search"] {
    box-sizing: border-box !important;
    min-height: 35px !important;
}

body.doramy-club .site-header .color-schemes-wrap {
    flex: 0 0 86px !important;
    width: 86px !important;
    gap: 6px !important;
    padding: 0 9px !important;
}

body.doramy-club .site-header .color-schemes-wrap > .default-schemes {
    position: static !important;
    display: flex !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.doramy-club .site-header .color-schemes-wrap > .default-schemes::before,
body.doramy-club .site-header .color-schemes-wrap > .default-schemes::after {
    display: none !important;
    content: none !important;
}

body.doramy-club .site-header .color-schemes-wrap > .default-schemes > .theme-switcher,
body.doramy-club .site-header .color-schemes-wrap > .default-schemes > .theme-switcher.light,
body.doramy-club .site-header .color-schemes-wrap > .default-schemes > .theme-switcher.dark {
    position: static !important;
    display: none !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.doramy-club .site-header .color-schemes-wrap > .default-schemes > .theme-switcher.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.doramy-club .site-header .color-schemes-wrap > .default-schemes > .theme-switcher svg {
    width: 19px !important;
    height: 19px !important;
    filter: none !important;
}

body.doramy-club .film-info .rating-other {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body.doramy-club .film-info .rating-other > a,
body.doramy-club .film-info .rating-other > div {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    width: auto !important;
    height: 28px !important;
    padding: 4px 8px !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 4px !important;
    background: var(--doramy-soft) !important;
    box-shadow: none !important;
}

body.doramy-club .film-info .rating-other .logo-ref {
    display: none !important;
}

body.doramy-club .film-info .rating-source-label {
    color: var(--doramy-text) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.doramy-club .film-info .rating-value {
    color: var(--accent) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.doramy-club .site-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px !important;
    background: #292a2f !important;
    color: #d7d8de !important;
}

body.doramy-club .site-footer .footer-top {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px 22px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.11) !important;
    background: transparent !important;
    color: #d7d8de !important;
}

body.doramy-club .site-footer .footer-top .logo,
body.doramy-club .site-footer .footer-top .copyright,
body.doramy-club .site-footer .footer-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #d7d8de !important;
}

body.doramy-club .site-footer .copyright a,
body.doramy-club .site-footer .footer-menu a,
body.doramy-club .site-footer .footer-menu .nolink {
    color: #d7d8de !important;
}

body.doramy-club .site-footer .footer-menu {
    grid-column: 1 / -1 !important;
}

body.doramy-club .site-footer .footer-menu .menu {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.doramy-club .site-footer .footer-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.doramy-club .site-footer .footer-col {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 7px !important;
    background: #34353c !important;
    color: #d7d8de !important;
    box-shadow: none !important;
}

body.doramy-club .site-footer .footer-col__title {
    color: #fff !important;
}

body.doramy-club .site-footer .footer-col__content {
    color: #c6c8d0 !important;
}

body.doramy-club .site-footer .footer-col a {
    color: #ff769b !important;
}

body.doramy-club .site-footer .footer-col__links a {
    border-color: rgba(239,57,106,.48) !important;
    background: rgba(239,57,106,.08) !important;
}

body.doramy-club .site-footer .footer-share {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.doramy-club .site-footer .footer-share__link {
    border-color: rgba(255,255,255,.18) !important;
    background: #34353c !important;
    color: #ff769b !important;
}

@media (max-width: 768px) {
    body.doramy-club .site-header .color-schemes-wrap {
        flex: 0 0 35px !important;
        width: 35px !important;
        padding: 0 !important;
    }

    body.doramy-club .site-header .color-schemes-wrap::after {
        display: none !important;
    }

    body.doramy-club .site-footer {
        padding: 20px 15px !important;
    }

    body.doramy-club .site-footer .footer-columns {
        grid-template-columns: 1fr !important;
    }

    body.doramy-club .site-footer .footer-top {
        grid-template-columns: 1fr !important;
    }
}

/* Doramy Club hotfix 2026-08-04: tooltips, polls, footer brand, episode navigation. */
body.doramy-club .film-poster-actions .lf-bug-button[data-balloon]::after,
body.doramy-club .film-poster-actions .lf-share-qr-button[data-balloon]::after {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    left: 50% !important;
    width: max-content;
    max-width: min(220px, calc(100vw - 32px)) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    transform: translateX(-50%) translateY(2px) !important;
}

body.doramy-club .film-poster-actions .lf-bug-button[data-balloon]:hover::after,
body.doramy-club .film-poster-actions .lf-bug-button[data-balloon]:focus-visible::after,
body.doramy-club .film-poster-actions .lf-share-qr-button[data-balloon]:hover::after,
body.doramy-club .film-poster-actions .lf-share-qr-button[data-balloon]:focus-visible::after {
    transform: translateX(-50%) translateY(0) !important;
}

body.doramy-club .single-poll,
body.doramy-club .single-poll *,
body.doramy-club .single-poll *::before,
body.doramy-club .single-poll *::after {
    box-sizing: border-box;
}

body.doramy-club .single-poll__item,
body.doramy-club .single-poll__form,
body.doramy-club .single-poll__option,
body.doramy-club .single-poll__actions {
    min-width: 0 !important;
}

body.doramy-club .single-poll__question {
    min-height: 50px !important;
    overflow-wrap: anywhere;
}

body.doramy-club .single-poll__option {
    grid-template-columns: minmax(0, 1fr) minmax(48px, 88px) 38px 28px !important;
    gap: 6px !important;
}

body.doramy-club .single-poll__option-label {
    min-width: 0 !important;
    overflow-wrap: anywhere;
}

body.doramy-club .single-poll__option-bar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

body.doramy-club .single-poll__option-percent {
    width: 38px;
    text-align: right;
}

body.doramy-club .single-poll__option-count {
    width: 28px;
    text-align: right;
}

body.doramy-club .single-poll__actions {
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
    align-items: center !important;
}

body.doramy-club .single-poll__submit {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}

body.doramy-club .single-poll__total {
    min-width: 0 !important;
    line-height: 1.25 !important;
    text-align: right;
    white-space: normal !important;
}

body.doramy-club .site-footer .footer-top .logo {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: 100% !important;
}

body.doramy-club .site-footer .footer-top .logo .h1 {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.doramy-club .site-footer .footer-top .logo .h1::before {
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    line-height: 1 !important;
}

body.doramy-club .bohfilm-episode-nav {
    display: block !important;
    grid-template-columns: none !important;
}

body.doramy-club .bohfilm-episode-nav__current,
body.doramy-club .bohfilm-episode-nav__chips,
body.doramy-club .bohfilm-episode-nav .splide__track {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 560px) {
    body.doramy-club .single-poll__question {
        min-height: 0 !important;
    }

    body.doramy-club .single-poll__option {
        grid-template-columns: minmax(0, 1fr) 40px 28px !important;
    }

    body.doramy-club .single-poll__option-bar {
        grid-column: 1 / -1 !important;
        order: 2;
    }

    body.doramy-club .single-poll__actions {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.doramy-club .single-poll__total {
        text-align: left;
    }
}
/* Doramy Club catalog mode 2026-08-04: niche home, year chips and crawlable pagination. */
body.doramy-club .doramy-home-catalog,
body.doramy-club .doramy-year-archive {
    min-width: 0;
}

body.doramy-club .doramy-catalog-header {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-bottom: 26px;
}

body.doramy-club .doramy-catalog-header > h1 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    overflow-wrap: anywhere;
}

body.doramy-club .doramy-catalog-intro {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 920px;
    margin: 0 0 18px;
}

body.doramy-club .doramy-catalog-years {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 8px;
    margin: 18px 0 24px;
}

body.doramy-club .doramy-catalog-years__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid color-mix(in srgb, var(--accent, #42c765) 34%, rgba(255,255,255,.14));
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, #42c765) 9%, transparent);
    color: var(--main_font);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

body.doramy-club .doramy-catalog-years__link:hover,
body.doramy-club .doramy-catalog-years__link:focus-visible,
body.doramy-club .doramy-catalog-years__link.is-current {
    border-color: var(--accent, #42c765);
    background: var(--accent, #42c765);
    color: var(--accent_font, #fff);
}

body.doramy-club .doramy-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 14px !important;
}

body.doramy-club .doramy-catalog-grid > .item.item-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    background: transparent !important;
}

body.doramy-club .doramy-catalog-grid > .item.item-card > .item-card__main {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: none !important;
    aspect-ratio: 2 / 3 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body.doramy-club .doramy-catalog-empty,
body.doramy-club .doramy-catalog-seo {
    margin-top: 28px;
}

body.doramy-club .doramy-catalog-seo {
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--accent, #42c765) 16%, rgba(255,255,255,.08));
    border-radius: 8px;
    background: color-mix(in srgb, var(--card_bg, #151b22) 96%, transparent);
}

body.doramy-club .doramy-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

body.doramy-club .doramy-pagination .page-numbers {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    body.doramy-club .doramy-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media screen and (max-width: 768px) {
    body.doramy-club .doramy-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 480px) {
    body.doramy-club .doramy-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

@media screen and (max-width: 640px) {
    body.doramy-club .doramy-catalog-years {
        gap: 6px;
        margin-block: 14px 20px;
    }

    body.doramy-club .doramy-catalog-years__link {
        min-width: 56px;
        min-height: 34px;
        padding: 7px 10px;
        font-size: 13px;
    }

    body.doramy-club .doramy-catalog-seo {
        padding: 16px;
    }

    body.doramy-club .doramy-pagination .page-numbers {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    body.doramy-club .doramy-pagination .page-numbers.prev,
    body.doramy-club .doramy-pagination .page-numbers.next {
        min-height: 42px;
        margin: 0;
        padding-inline: 10px;
    }
}
