/* Doramy.club visual layer. The Lordfilm data model and interactions stay intact. */
body.doramy-club {
    --accent: #ef396a !important;
    --accent_hover: #d92d5d !important;
    --accent-rgb: 239, 57, 106;
    --doramy-page: #eeeeee;
    --doramy-card: #ffffff;
    --doramy-soft: #f6f6f6;
    --doramy-text: #303036;
    --doramy-muted: #777b83;
    --doramy-line: #e4e4e6;
    --doramy-header: #27272b;
    --doramy-width: 1240px;
    --main_bg: var(--doramy-page) !important;
    --body_bg: var(--doramy-page) !important;
    --card_bg: var(--doramy-card) !important;
    --main_font: var(--doramy-text) !important;
    --text_font: #666a72 !important;
    --line: var(--doramy-line) !important;
    margin: 0;
    background: var(--doramy-page) !important;
    color: var(--doramy-text) !important;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.45;
}

body.doramy-club.dark {
    --doramy-page: #18191c;
    --doramy-card: #242529;
    --doramy-soft: #2c2e33;
    --doramy-text: #eeeeef;
    --doramy-muted: #a7aab1;
    --doramy-line: #383a40;
    --main_bg: var(--doramy-page) !important;
    --body_bg: var(--doramy-page) !important;
    --card_bg: var(--doramy-card) !important;
    --main_font: var(--doramy-text) !important;
    --text_font: var(--doramy-muted) !important;
}

body.doramy-club *,
body.doramy-club *::before,
body.doramy-club *::after { box-sizing: border-box; }
body.doramy-club a { color: inherit; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
body.doramy-club a:hover { color: var(--accent); }
body.doramy-club img { max-width: 100%; }
body.doramy-club h1,
body.doramy-club h2,
body.doramy-club h3 { color: var(--doramy-text); }
body.doramy-club .site-container-wrap,
body.doramy-club .site-container {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* 56px textured Doramy header */
body.doramy-club .site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100% !important;
    height: 56px;
    margin: 0 !important;
    padding: 0 max(15px, calc((100vw - var(--doramy-width)) / 2)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: var(--doramy-header) !important;
    background-image: linear-gradient(160deg, rgba(18,18,20,.86) 30%, rgba(78,73,75,.76) 72%, rgba(30,25,26,.91)), url("../img/doramy-header-bg.png") !important;
    background-position: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.28) !important;
    color: #fff !important;
}
body.admin-bar.doramy-club .site-header { top: 32px; }

body.doramy-club .site-header .logo.doramy-wordmark {
    order: 1;
    display: inline-flex !important;
    flex: 0 0 205px;
    align-items: center;
    gap: 7px;
    width: 205px;
    height: 56px;
    margin: 0 !important;
    color: #fff !important;
    text-decoration: none;
    text-transform: none !important;
}
body.doramy-club .doramy-wordmark__flower {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font: 400 26px/1 Georgia, serif;
    transform: translateY(-1px);
}
body.doramy-club .doramy-wordmark__text {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.45px;
    white-space: nowrap;
}
body.doramy-club .site-header .logo-image,
body.doramy-club .site-header .logo .h1 { display: none !important; }

body.doramy-club .header-search {
    order: 2;
    display: block !important;
    flex: 0 0 350px;
    width: 350px !important;
    height: 35px;
    margin: 0 !important;
}
body.doramy-club .header-search .search-block-inner,
body.doramy-club .header-search .search-form {
    position: relative;
    display: flex !important;
    width: 100%;
    height: 35px;
    margin: 0;
}
body.doramy-club .header-search .input-text { flex: 1 1 auto; min-width: 0; }
body.doramy-club .header-search input[type="search"],
body.doramy-club .header-search input[type="text"] {
    display: block !important;
    width: 100% !important;
    height: 35px !important;
    padding: 0 42px 0 12px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 4px !important;
    outline: 0;
    background: rgba(167,167,167,.72) !important;
    color: #303036 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}
body.doramy-club .header-search input::placeholder { color: #fff !important; opacity: .9; }
body.doramy-club .header-search input:focus { border-color: #fff !important; background: #fff !important; }
body.doramy-club .header-search input:focus::placeholder { color: #9b9da3 !important; }
body.doramy-club .header-search .search-submit {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 35px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff;
    box-shadow: none !important;
}
body.doramy-club .header-search .search-submit svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; }
body.doramy-club .header-search input:focus + .loader + .search-submit,
body.doramy-club .header-search .search-form:focus-within .search-submit { color: var(--accent); }
body.doramy-club .search-results-wrap {
    top: 40px !important;
    overflow: hidden;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 6px !important;
    background: var(--doramy-card) !important;
    color: var(--doramy-text) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}

body.doramy-club .random-film,
body.doramy-club .header-liked-episodes__toggle,
body.doramy-club .color-schemes-wrap {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 35px !important;
    min-height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: rgba(167,167,167,.68) !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
}
body.doramy-club .random-film { order: 3; flex: 0 0 35px; width: 35px; }
body.doramy-club .random-film-svg { display: block !important; width: 18px; height: 18px; fill: #fff; }
body.doramy-club .random-film-text { display: none !important; }
body.doramy-club .header-liked-episodes { position: relative; order: 4; flex: 0 0 35px; margin: 0 !important; }
body.doramy-club .header-liked-episodes__toggle { width: 35px !important; min-width: 35px !important; font-size: 0 !important; }
body.doramy-club .header-liked-episodes__toggle::before { content: "♥"; color: #fff; font-size: 17px; line-height: 1; }
body.doramy-club .header-liked-episodes__toggle > span:first-child { display: none !important; }
body.doramy-club .header-liked-episodes__count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; line-height: 17px; }
body.doramy-club .header-liked-episodes__panel {
    top: 42px !important;
    right: 0 !important;
    width: min(360px, calc(100vw - 30px)) !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 6px !important;
    background: var(--doramy-card) !important;
    color: var(--doramy-text) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}
body.doramy-club .color-schemes-wrap { order: 5; flex: 0 0 82px; gap: 6px; padding: 0 9px !important; }
body.doramy-club .color-schemes-wrap::after { content: "Тема"; font-size: 14px; }
body.doramy-club .default-schemes { display: flex !important; align-items: center; }
body.doramy-club .theme-switcher { display: none !important; align-items: center; justify-content: center; width: 20px !important; height: 20px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.doramy-club .theme-switcher.active { display: flex !important; }
body.doramy-club .theme-switcher svg { width: 18px !important; height: 18px !important; fill: #ffea41; }
body.doramy-club .user-theme-editor,
body.doramy-club .bohfilm-user-theme-editor { display: none !important; }
/* Menu: the same compact white strip aligned with the main Doramy sheet. */
@media (min-width: 769px) {
    body.doramy-club .header-menu {
        position: absolute !important;
        top: 56px;
        left: 50%;
        z-index: 9999;
        order: 6;
        display: block !important;
        width: min(var(--doramy-width), calc(100vw - 30px)) !important;
        height: 45px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--doramy-line) !important;
        border-radius: 0 0 6px 6px;
        background: var(--doramy-card) !important;
        color: var(--doramy-text) !important;
        box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
        transform: translateX(-50%);
    }
    body.doramy-club .header-menu > input,
    body.doramy-club .header-menu .mobile-menu-button,
    body.doramy-club .header-menu .cross { display: none !important; }
    body.doramy-club .header-menu .primary-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        transform: none !important;
    }
    body.doramy-club .header-menu .menu {
        display: flex !important;
        align-items: stretch;
        height: 44px;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    body.doramy-club .header-menu .menu > li { display: flex !important; align-items: stretch; margin: 0 !important; }
    body.doramy-club .header-menu .menu > li > a,
    body.doramy-club .header-menu .menu > li > span {
        display: flex !important;
        align-items: center;
        height: 44px;
        padding: 0 19px !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-transform: none !important;
        white-space: nowrap;
    }
    body.doramy-club .header-menu .menu > li.current-menu-item > a,
    body.doramy-club .header-menu .menu > li > a:hover { border-bottom-color: var(--accent) !important; color: var(--accent) !important; }
}

body.doramy-club main.content-wrap,
body.doramy-club main.content-sidebar-wrap {
    display: block !important;
    width: min(var(--doramy-width), calc(100% - 30px)) !important;
    max-width: var(--doramy-width) !important;
    min-height: 70vh;
    margin: 0 auto !important;
    padding: 116px 0 35px !important;
}
body.admin-bar.doramy-club main.content-wrap,
body.admin-bar.doramy-club main.content-sidebar-wrap { padding-top: 148px !important; }
body.doramy-club .doramy-page-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    width: 100%;
}
body.doramy-club .doramy-page-grid.has-sidebar { grid-template-columns: minmax(0, 1fr) minmax(315px, 390px); }
body.doramy-club .doramy-page-main,
body.doramy-club .doramy-page-main > .content-wrap,
body.doramy-club .content-wrap-inner {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.doramy-club .doramy-page-main {
    overflow: hidden;
    border-radius: 7px;
    background: var(--doramy-card);
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
body.doramy-club .content-wrap-inner { display: flex; flex-direction: column; background: var(--doramy-card); }
body.doramy-club .breadcrumbs,
body.doramy-club .breadcrumbs-wrap {
    margin: 0 !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid var(--doramy-line);
    background: var(--doramy-card);
    color: var(--doramy-muted) !important;
    font-size: 12px;
}

/* Title sheet: 200x300 poster, compact information, no stretched card. */
body.doramy-club .film-card {
    display: grid !important;
    grid-template-columns: 200px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--doramy-card) !important;
    box-shadow: none !important;
    overflow: visible !important;
}
body.doramy-club .film-card-left.poster {
    display: flex !important;
    flex-direction: column;
    grid-row: auto !important;
    width: 200px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
body.doramy-club .film-poster-media {
    display: flex;
    flex-direction: column;
    width: 200px;
    border: 1px solid #d8d8da;
    border-radius: 4px;
    background: var(--doramy-card);
    box-shadow: 1px 2px 3px rgba(0,0,0,.1);
    overflow: hidden;
}
body.doramy-club.dark .film-poster-media { border-color: #3b3d42; box-shadow: 1px 2px 3px rgba(0,0,0,.3); }
body.doramy-club .film-card-left .poster-zoom-wrap {
    display: block !important;
    width: 198px !important;
    height: 297px !important;
    min-height: 297px !important;
    aspect-ratio: 2 / 3 !important;
    border-radius: 3px 3px 0 0 !important;
    overflow: hidden;
}
body.doramy-club .film-card-left .poster-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 297px !important;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    object-position: center top !important;
}
body.doramy-club .poster-zoom-icon { background: rgba(0,0,0,.22); }
body.doramy-club .film-poster-media > .likes {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 51px;
    padding: 7px 9px !important;
    border-top: 1px solid var(--doramy-line);
    background: var(--doramy-card);
}
body.doramy-club .film-poster-media .likes-circle-count {
    left: 50% !important;
    bottom: 5px !important;
    width: 42px !important;
    height: 42px !important;
    border: 4px solid var(--doramy-card) !important;
    transform: translateX(-50%);
}
body.doramy-club .film-poster-media .likes-circle-count::before { width: 30px !important; height: 30px !important; font-size: 13px !important; }
body.doramy-club .film-poster-media .like-button { width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 0 !important; }
body.doramy-club .film-poster-actions {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: 200px;
    margin-top: 7px;
}
body.doramy-club .film-poster-actions .poster-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 4px !important;
    background: var(--doramy-soft) !important;
    color: #777b83 !important;
    box-shadow: none !important;
}
body.doramy-club .film-poster-actions .poster-action:hover,
body.doramy-club .film-poster-actions .poster-action.saved { border-color: var(--accent) !important; color: var(--accent) !important; }
body.doramy-club .film-card-right {
    position: relative;
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    min-width: 0;
    width: 100% !important;
    padding: 0 !important;
}
body.doramy-club .film-heading { display: flex; align-items: flex-start; justify-content: flex-start; padding-bottom: 9px; border-bottom: 1px solid var(--doramy-line); }
body.doramy-club .film-heading h1,
body.doramy-club .film-card h1 {
    width: 100%;
    margin: 0 !important;
    color: var(--doramy-text) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
body.doramy-club .film-info { order: 2; display: flex !important; flex-direction: column; gap: 5px !important; color: var(--doramy-muted); font-size: 13px !important; line-height: 1.42; }
body.doramy-club .film-info .top { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(190px, .75fr); gap: 5px 18px !important; }
body.doramy-club .film-info .top > .column { display: flex; flex-direction: column; gap: 5px !important; min-width: 0; }
body.doramy-club .film-info .item { display: flex !important; flex-direction: row !important; align-items: baseline; gap: 5px !important; min-width: 0; color: var(--doramy-muted) !important; }
body.doramy-club .film-info .item > span { flex: 0 0 auto; color: var(--doramy-text) !important; font-weight: 600 !important; }
body.doramy-club .film-info .item > div { min-width: 0; overflow-wrap: anywhere; }
body.doramy-club .film-info a { color: #4f71a8; }
body.doramy-club .film-info a:hover { color: var(--accent); text-decoration: none; }
body.doramy-club .bohfilm-genre-list { display: inline !important; }
body.doramy-club .bohfilm-genre-list a { display: inline !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font-size: inherit !important; white-space: normal !important; }
body.doramy-club .bohfilm-genre-list a:not(:last-child)::after { content: ", "; color: var(--doramy-muted); }
body.doramy-club .rating-other { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 0; }
body.doramy-club .rating-other > div,
body.doramy-club .rating-other > a { flex: 0 0 auto; min-width: 58px; height: 26px; padding: 4px 7px !important; border-width: 1px !important; border-radius: 3px !important; font-size: 12px !important; }
body.doramy-club .film-desc-wrap { order: 3; display: flex !important; flex-direction: column; gap: 6px; margin-top: 2px; }
body.doramy-club .film-desc-inner { color: var(--doramy-muted) !important; font-size: 13px !important; line-height: 1.55; }
body.doramy-club .film-desc-inner.collapsed { max-height: 76px !important; }
body.doramy-club .film-desc-inner::after { background: linear-gradient(to bottom, rgba(255,255,255,0), var(--doramy-card)) !important; }
body.doramy-club .film-desc-more { align-self: flex-start; padding: 3px 0 !important; border: 0 !important; background: transparent !important; color: var(--accent) !important; font-size: 12px !important; font-weight: 600 !important; box-shadow: none !important; }
/* Inner blocks stay on a single white sheet, as on the title page reference. */
body.doramy-club .content-wrap-inner > section:not(.film-card),
body.doramy-club .content-wrap-inner > article,
body.doramy-club .content-wrap-inner > .main-block,
body.doramy-club .content-wrap-inner > .article-content,
body.doramy-club .content-wrap-inner > .comments-area,
body.doramy-club .content-wrap-inner > .comments-block,
body.doramy-club .content-wrap-inner > .rating-block,
body.doramy-club .content-wrap-inner > .bohfilm-rec-zone,
body.doramy-club .content-wrap-inner > .film-share,
body.doramy-club .content-wrap-inner > #reactions-block,
body.doramy-club .bohfilm-player-block,
body.doramy-club .serials-block {
    width: 100%;
    margin: 0 !important;
    padding: 15px !important;
    border: 0 !important;
    border-top: 1px solid var(--doramy-line) !important;
    border-radius: 0 !important;
    background: var(--doramy-card) !important;
    box-shadow: none !important;
}
body.doramy-club .bohfilm-rec-zone { position: relative; padding: 0 !important; border-top: 1px solid var(--doramy-line) !important; }
body.doramy-club .bohfilm-rec-zone > .bohfilm-player-block { border-top: 0 !important; }
body.doramy-club .bohfilm-player-heading { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.doramy-club .bohfilm-player-heading h2,
body.doramy-club .film-player-wrap h2,
body.doramy-club .serials-block-header h2,
body.doramy-club .content-wrap-inner h2 {
    margin: 0 !important;
    color: var(--doramy-text) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.3;
    text-align: left !important;
}
body.doramy-club .bohfilm-player { display: flex; flex-direction: column; gap: 8px !important; }
body.doramy-club .bohfilm-player__tabs { display: flex; flex-wrap: wrap; gap: 5px !important; }
body.doramy-club .bohfilm-player__tab {
    min-height: 32px;
    padding: 6px 12px !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 4px !important;
    background: var(--doramy-soft) !important;
    color: var(--doramy-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
body.doramy-club .bohfilm-player__tab:hover,
body.doramy-club .bohfilm-player__tab.is-active { border-color: var(--accent) !important; background: var(--accent) !important; color: #fff !important; }
body.doramy-club .bohfilm-player__frame-wrap,
body.doramy-club .film-player-wrap .post-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 !important; overflow: hidden; border-radius: 4px !important; background: #101114; }
body.doramy-club .bohfilm-player__iframe,
body.doramy-club .film-player-wrap iframe,
body.doramy-club .post-video iframe { display: block; width: 100% !important; height: 100% !important; min-height: 0 !important; border: 0 !important; border-radius: 4px !important; }
body.doramy-club .bohfilm-player__ratings { gap: 5px !important; font-size: 12px !important; }
body.doramy-club .bohfilm-player__rating-item { padding: 4px 8px !important; border-radius: 3px !important; background: var(--doramy-soft) !important; }

body.doramy-club .bohfilm-episodes .serials-block-header,
body.doramy-club .bohfilm-episodes__head {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px !important;
    margin: 0 0 12px !important;
}
body.doramy-club .bohfilm-episodes .serials-block-header h2 { flex: 1 1 260px; margin-right: auto !important; }
body.doramy-club .bohfilm-sort-wrap { position: relative; min-width: 145px !important; }
body.doramy-club .bohfilm-sort-wrap .sort-current,
body.doramy-club .bohfilm-season-order-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 32px !important;
    padding: 0 9px !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 4px !important;
    background: var(--doramy-soft) !important;
    color: var(--doramy-text) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
body.doramy-club .bohfilm-sort-wrap .sort-current:hover,
body.doramy-club .bohfilm-sort-wrap.is-open .sort-current,
body.doramy-club .bohfilm-season-order-toggle:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
body.doramy-club .bohfilm-sort-current__icon { width: 17px !important; height: 17px !important; border-radius: 0 !important; background: transparent !important; color: var(--accent) !important; }
body.doramy-club .bohfilm-sort-wrap .sort-list {
    top: calc(100% + 4px) !important;
    z-index: 30;
    padding: 5px !important;
    border: 1px solid var(--doramy-line) !important;
    border-radius: 4px !important;
    background: var(--doramy-card) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.14) !important;
}
body.doramy-club .bohfilm-sort-wrap .sort-list-item { min-height: 30px; padding: 5px 8px !important; border: 0 !important; border-radius: 3px !important; color: var(--doramy-text) !important; background: transparent !important; font-size: 12px !important; text-align: left; }
body.doramy-club .bohfilm-sort-wrap .sort-list-item:hover,
body.doramy-club .bohfilm-sort-wrap .sort-list-item.active { background: var(--accent) !important; color: #fff !important; }
body.doramy-club .serials-list,
body.doramy-club .bohfilm-episodes__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px !important;
    width: 100%;
}
body.doramy-club .bohfilm-episodes__season-heading { grid-column: 1 / -1; margin: 5px 0 1px !important; padding: 7px 10px !important; border-left: 3px solid var(--accent) !important; border-radius: 0 !important; background: var(--doramy-soft) !important; color: var(--doramy-text) !important; font-size: 14px !important; font-weight: 600 !important; }
body.doramy-club .bohfilm-episodes__card {
    position: relative;
    display: block !important;
    min-width: 0;
    aspect-ratio: 16 / 9;
    border: 0 !important;
    border-radius: 4px !important;
    background: #202126 !important;
    box-shadow: none !important;
    overflow: hidden;
}
body.doramy-club .bohfilm-episodes__card .item-image,
body.doramy-club .bohfilm-episodes__card .bohfilm-episodes__thumb { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.doramy-club .bohfilm-episodes__overlay { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 22px 9px 7px !important; background: linear-gradient(transparent, rgba(0,0,0,.82)) !important; color: #fff !important; }
body.doramy-club .bohfilm-episodes__overlay .h7 { color: #fff !important; font-size: 12px !important; font-weight: 600 !important; }
body.doramy-club .bohfilm-episodes__card .item-play { z-index: 3; opacity: 0; }
body.doramy-club .bohfilm-episodes__card:hover .item-play { opacity: 1; }
body.doramy-club .bohfilm-episodes__footer { display: flex; justify-content: center; margin-top: 12px !important; }
body.doramy-club .button,
body.doramy-club button.button,
body.doramy-club input[type="submit"],
body.doramy-club .bohfilm-episodes__show-more {
    min-height: 34px;
    padding: 7px 14px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 4px !important;
    background: var(--accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
body.doramy-club .button:hover,
body.doramy-club button.button:hover,
body.doramy-club input[type="submit"]:hover { border-color: var(--accent_hover) !important; background: var(--accent_hover) !important; }

body.doramy-club .episode-navigation,
body.doramy-club .serial-navigation,
body.doramy-club .bohfilm-episode-nav { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px !important; margin: 0 !important; padding: 0 15px 15px !important; background: var(--doramy-card); }
body.doramy-club .episode-navigation a,
body.doramy-club .serial-navigation a,
body.doramy-club .bohfilm-episode-nav a { padding: 9px 11px !important; border: 1px solid var(--doramy-line) !important; border-radius: 4px !important; background: var(--doramy-soft) !important; color: var(--doramy-text) !important; font-size: 12px; }
body.doramy-club .episode-navigation a:hover,
body.doramy-club .serial-navigation a:hover,
body.doramy-club .bohfilm-episode-nav a:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
body.doramy-club .film-card--episode { grid-template-columns: minmax(0,1fr) !important; padding-bottom: 12px !important; }
body.doramy-club .film-card--episode .film-heading { border-bottom: 0; padding-bottom: 0; }
body.doramy-club .film-card--episode .film-heading h1 { font-size: 22px !important; }
body.doramy-club .bohfilm-episode-likes { margin: 12px auto !important; border-color: color-mix(in srgb,var(--accent) 35%,var(--doramy-line)) !important; border-radius: 4px !important; background: var(--doramy-soft) !important; box-shadow: none !important; }

/* Sidebar without account/login blocks. */
body.doramy-club .doramy-page-sidebar { min-width: 0; }
body.doramy-club .sidebar {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
}
body.doramy-club .sidebar-sticky { position: sticky !important; top: 116px !important; display: flex; flex-direction: column; gap: 15px; }
body.doramy-club .sidebar .widget,
body.doramy-club .sidebar .sidebar-item {
    overflow: hidden;
    margin: 0 !important;
    padding: 15px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--doramy-card) !important;
    color: var(--doramy-text) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
}
body.doramy-club .sidebar .widget-title,
body.doramy-club .sidebar .sidebar-item__title,
body.doramy-club .sidebar h2,
body.doramy-club .sidebar h3 { margin: -15px -15px 12px !important; padding: 11px 15px !important; border-bottom: 1px solid var(--doramy-line); color: var(--doramy-text) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.2; }
body.doramy-club .sidebar .widget-title::first-letter,
body.doramy-club .sidebar .sidebar-item__title::first-letter { color: var(--accent); }
body.doramy-club .sidebar ul { margin: 0 !important; padding: 0 !important; list-style: none; }
body.doramy-club .sidebar li { padding: 5px 0 !important; border-bottom: 1px solid var(--doramy-line); font-size: 13px; }
body.doramy-club .sidebar li:last-child { border-bottom: 0; }
body.doramy-club .sidebar a { color: #4f71a8; }
body.doramy-club .sidebar a:hover { color: var(--accent); }

body.doramy-club input,
body.doramy-club textarea,
body.doramy-club select { border: 1px solid var(--doramy-line) !important; border-radius: 4px !important; background: var(--doramy-soft) !important; color: var(--doramy-text) !important; }
body.doramy-club input:focus,
body.doramy-club textarea:focus,
body.doramy-club select:focus { border-color: var(--accent) !important; outline: 0; }

body.doramy-club .site-footer {
    width: min(var(--doramy-width), calc(100% - 30px));
    margin: 0 auto 20px !important;
    border: 0 !important;
    border-radius: 7px;
    background: #2a2a2e !important;
    color: rgba(255,255,255,.72) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
body.doramy-club .site-footer .logo-image { display: none !important; }
body.doramy-club .site-footer .logo .h1 { color: #fff !important; font-size: 19px !important; text-transform: none !important; }
body.doramy-club .site-footer .logo .h1::before { content: "✿ "; color: var(--accent); }

/* Removed Lordfilm appearance controls and the season wheel. */
body.doramy-club .season-wheel,
body.doramy-club .seasons-wheel,
body.doramy-club .season-circle,
body.doramy-club .season-selector-wheel,
body.doramy-club [class*="season-wheel"],
body.doramy-club [class*="season-circle"] { display: none !important; }

@media (max-width: 1100px) {
    body.doramy-club .site-header { gap: 9px; }
    body.doramy-club .site-header .logo.doramy-wordmark { flex-basis: 185px; width: 185px; }
    body.doramy-club .header-search { flex: 1 1 300px; width: auto !important; max-width: 350px; }
    body.doramy-club .doramy-page-grid.has-sidebar { grid-template-columns: minmax(0,1fr) 315px; }
}

@media (max-width: 980px) {
    body.doramy-club .doramy-page-grid.has-sidebar { grid-template-columns: minmax(0,1fr) !important; }
    body.doramy-club .doramy-page-sidebar { grid-column: 1; }
    body.doramy-club .sidebar { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
    body.doramy-club .sidebar-sticky { position: static !important; display: contents; }
}

@media (max-width: 768px) {
    body.doramy-club { font-size: 13px; }
    body.doramy-club .site-header { height: 56px; gap: 7px; padding: 0 10px !important; }
    body.admin-bar.doramy-club .site-header { top: 46px; }
    body.doramy-club .site-header .logo.doramy-wordmark { flex: 0 0 auto; width: auto; min-width: 0; margin-right: auto !important; }
    body.doramy-club .doramy-wordmark__flower { font-size: 22px; }
    body.doramy-club .doramy-wordmark__text { font-size: 21px; }
    body.doramy-club .random-film,
    body.doramy-club .header-liked-episodes { display: none !important; }
    body.doramy-club .color-schemes-wrap { order: 4; flex: 0 0 35px; width: 35px !important; padding: 0 !important; }
    body.doramy-club .color-schemes-wrap::after { display: none; }
    body.doramy-club .header-menu { position: relative !important; top: auto !important; left: auto !important; order: 5; display: block !important; width: 35px !important; height: 35px !important; margin: 0 !important; transform: none !important; }
    body.doramy-club .header-menu #mobile-menu-toggle { position: absolute !important; opacity: 0 !important; pointer-events: none !important; }
    body.doramy-club .header-menu .mobile-menu-button { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 35px; height: 35px; margin: 0 !important; border-radius: 4px !important; background: rgba(167,167,167,.68) !important; }
    body.doramy-club .header-menu .mobile-menu-button span { display: block; width: 17px; height: 2px; margin: 0 !important; background: #fff !important; }
    body.doramy-club .header-menu .primary-menu { position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; z-index: 10020; display: block !important; visibility: hidden !important; width: min(330px,88vw) !important; height: 100vh !important; padding: 65px 18px 25px !important; background: var(--doramy-card) !important; color: var(--doramy-text) !important; opacity: 0 !important; transform: translateX(105%) !important; transition: transform .22s ease, opacity .22s ease, visibility .22s ease !important; pointer-events: none !important; }
    body.doramy-club .header-menu #mobile-menu-toggle:checked ~ .primary-menu { visibility: visible !important; opacity: 1 !important; transform: translateX(0) !important; pointer-events: auto !important; }
    body.doramy-club .header-menu .primary-menu .cross { display: block !important; }
    body.doramy-club .header-menu .menu { display: flex !important; flex-direction: column; gap: 0; margin: 0 !important; padding: 0 !important; list-style: none; }
    body.doramy-club .header-menu .menu a { display: block; padding: 10px 4px !important; border-bottom: 1px solid var(--doramy-line); color: var(--doramy-text) !important; }
    body.doramy-club .header-search { order: 2; flex: 1 1 180px; width: auto !important; max-width: 280px; }
    body.doramy-club main.content-wrap,
    body.doramy-club main.content-sidebar-wrap { width: calc(100% - 20px) !important; padding-top: 71px !important; }
    body.admin-bar.doramy-club main.content-wrap,
    body.admin-bar.doramy-club main.content-sidebar-wrap { padding-top: 117px !important; }
    body.doramy-club .film-card { grid-template-columns: 190px minmax(0,1fr) !important; gap: 15px !important; }
    body.doramy-club .film-card-left.poster,
    body.doramy-club .film-poster-media,
    body.doramy-club .film-poster-actions { width: 190px !important; }
    body.doramy-club .film-card-left .poster-zoom-wrap { width: 188px !important; height: 282px !important; min-height: 282px !important; }
    body.doramy-club .film-card-left .poster-image { min-height: 282px !important; }
    body.doramy-club .film-info .top { grid-template-columns: 1fr !important; }
    body.doramy-club .serials-list,
    body.doramy-club .bohfilm-episodes__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
    body.doramy-club .header-search { position: absolute !important; top: 62px !important; right: 10px !important; left: 10px !important; width: auto !important; max-width: none; }
    body.doramy-club .header-search input[type="search"],
    body.doramy-club .header-search input[type="text"] { border-color: var(--doramy-line) !important; background: var(--doramy-card) !important; color: var(--doramy-text) !important; box-shadow: 0 1px 4px rgba(0,0,0,.1) !important; }
    body.doramy-club .header-search input::placeholder { color: var(--doramy-muted) !important; }
    body.doramy-club main.content-wrap,
    body.doramy-club main.content-sidebar-wrap { width: 100% !important; padding-top: 112px !important; }
    body.admin-bar.doramy-club main.content-wrap,
    body.admin-bar.doramy-club main.content-sidebar-wrap { padding-top: 158px !important; }
    body.doramy-club .doramy-page-grid { gap: 10px; }
    body.doramy-club .doramy-page-main,
    body.doramy-club .sidebar .widget,
    body.doramy-club .sidebar .sidebar-item,
    body.doramy-club .site-footer { border-radius: 0 !important; }
    body.doramy-club .film-card { grid-template-columns: 1fr !important; padding: 12px !important; }
    body.doramy-club .film-card-left.poster { width: 190px !important; margin: 0 auto !important; }
    body.doramy-club .film-heading h1,
    body.doramy-club .film-card h1 { font-size: 20px !important; text-align: left !important; }
    body.doramy-club .film-info { font-size: 13px !important; }
    body.doramy-club .film-info .item { display: grid !important; grid-template-columns: minmax(105px,36%) minmax(0,1fr); }
    body.doramy-club .content-wrap-inner > section:not(.film-card),
    body.doramy-club .content-wrap-inner > article,
    body.doramy-club .bohfilm-player-block,
    body.doramy-club .serials-block { padding: 12px !important; }
    body.doramy-club .bohfilm-episodes .serials-block-header h2 { flex-basis: 100%; }
    body.doramy-club .bohfilm-sort-wrap { flex: 1 1 calc(50% - 4px); min-width: 0 !important; }
    body.doramy-club .sidebar { grid-template-columns: 1fr !important; }
    body.doramy-club .site-footer { width: 100%; margin-bottom: 0 !important; }
}

@media (max-width: 390px) {
    body.doramy-club .doramy-wordmark__text { font-size: 19px; }
    body.doramy-club .doramy-wordmark__flower { font-size: 20px; }
    body.doramy-club .film-card-left.poster { width: 180px !important; }
    body.doramy-club .film-poster-media,
    body.doramy-club .film-poster-actions { width: 180px !important; }
    body.doramy-club .film-card-left .poster-zoom-wrap { width: 178px !important; height: 267px !important; min-height: 267px !important; }
    body.doramy-club .film-card-left .poster-image { min-height: 267px !important; }
    body.doramy-club .serials-list,
    body.doramy-club .bohfilm-episodes__grid { grid-template-columns: 1fr 1fr; gap: 6px !important; }
    body.doramy-club .episode-navigation,
    body.doramy-club .serial-navigation,
    body.doramy-club .bohfilm-episode-nav { grid-template-columns: 1fr; }
}
/* Local/demo sidebar cards use the same compact Doramy proportions as production widgets. */
body.doramy-club .sidebar .widgettitle {
    margin: -15px -15px 12px !important;
    padding: 11px 15px !important;
    border-bottom: 1px solid var(--doramy-line);
    color: var(--doramy-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2;
}
body.doramy-club .sidebar .widgettitle::first-letter { color: var(--accent); }
body.doramy-club .sidebar .textwidget { min-width: 0; }
body.doramy-club .sidebar .doramy-demo-widget { display: grid; gap: 10px; }
body.doramy-club .sidebar .doramy-demo-widget > a {
    display: grid !important;
    grid-template-columns: 72px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--doramy-line);
    color: var(--doramy-text);
}
body.doramy-club .sidebar .doramy-demo-widget > a:last-child { padding-bottom: 0; border-bottom: 0; }
body.doramy-club .sidebar .doramy-demo-widget img {
    display: block;
    width: 72px !important;
    height: 96px !important;
    max-width: none !important;
    border-radius: 3px;
    object-fit: cover;
}
body.doramy-club .sidebar .doramy-demo-widget span { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
body.doramy-club .sidebar .doramy-demo-widget b { color: var(--doramy-text); font-size: 13px; line-height: 1.3; }
body.doramy-club .sidebar .doramy-demo-widget small { color: var(--doramy-muted); font-size: 11px; line-height: 1.3; }