/* HH3D watch page — player chrome, actions, servers, episodes */

body.hh-watch-page,
body.hh-watch-page #wrapper,
body.hh-watch-page .page-wrapper,
body.hh-watch-page main#main,
body.hh-watch-page #main,
body.hh-watch-page .page-wrapper .page,
body.hh-watch-page .page-wrapper .page-inner {
    background: #121212 !important;
}

body.hh-watch-page .page-title-wrapper,
body.hh-watch-page .page-title,
body.hh-watch-page .entry-header,
body.hh-watch-page .is-divider {
    display: none !important;
}

body.hh-watch-page #main > .row,
body.hh-watch-page .page-wrapper > .row {
    max-width: 100%;
}

body.hh-watch-page #main .col,
body.hh-watch-page #main .col-inner,
body.hh-watch-page .page-content,
body.hh-watch-page .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
}

.hh-watch {
    --watch-bg: #121212;
    --watch-surface: #1a1a1a;
    --watch-border: rgba(255, 255, 255, 0.08);
    --watch-text: #e8e8e8;
    --watch-muted: #9a9a9a;
    --watch-accent: #f5a623;
    --watch-vip: #2f80ed;
    --watch-vip-hover: #3b8fff;
    --watch-active: #00d4ff;
    font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
    color: var(--watch-text);
    background: var(--watch-bg);
    padding: 12px 0 40px;
}

.hh-watch__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--hh-site-width, 1140px);
    margin: 0 auto;
    padding-left: var(--hh-site-pad, 15px);
    padding-right: var(--hh-site-pad, 15px);
}

.hh-watch__head {
    margin: 4px 0 12px;
}

.hh-watch__title {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 0.01em;
}

.hh-watch__title-link {
    color: inherit;
    text-decoration: none;
}

.hh-watch__title-link:hover {
    color: var(--watch-accent);
}

.hh-watch__title-sep {
    margin: 0 0.35em;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.hh-watch__ep {
    font-weight: 600;
    color: #fff;
}

.hh-watch__player-wrap,
#halim-player-wrapper {
    position: relative;
    margin: 0 0 14px;
    border-radius: 8px 8px 0.75rem 0.75rem;
    overflow: visible;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    background: #000;
}

.hh-watch__stage {
    position: relative;
    background: #000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.hh-watch #video-player.hh-watch__player,
.hh-watch #video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(78vh, 620px);
    background: #000;
    margin: 0;
}

.hh-watch .art-video-player {
    --art-theme: var(--watch-accent) !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hh-watch .art-video-player .art-video {
    object-fit: contain !important;
}

/* Double-tap / double-click seek ±10s flash */
.hh-watch #video-player .hh-seek-flash {
    position: absolute;
    top: 50%;
    z-index: 30;
    transform: translateY(-50%);
    min-width: 72px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hh-watch #video-player .hh-seek-flash.is-left {
    left: 12%;
    transform: translate(-10px, -50%);
}

.hh-watch #video-player .hh-seek-flash.is-right {
    right: 12%;
    left: auto;
    transform: translate(10px, -50%);
}

.hh-watch #video-player .hh-seek-flash.is-show {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Fullscreen chạy ngay cả khi video chưa có metadata.
   position:absolute !important ở trên sẽ giữ player trong khung 16:9 nếu không ghi đè. */
html.hh-fs-on,
html.hh-fs-on body {
    overflow: hidden !important;
}

html.hh-fs-on #wpadminbar {
    display: none !important;
}

.hh-watch .art-video-player.hh-fs,
.hh-watch .art-video-player:fullscreen,
.hh-watch .art-video-player:-webkit-full-screen,
.hh-watch .art-video-player.art-fullscreen,
.hh-watch .art-video-player.art-fullscreen-web {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 1000000 !important;
    background: #000 !important;
}

.hh-watch .art-progress-played,
.hh-watch .art-control-progress .art-control-progress-inner .art-progress-played,
.hh-watch .art-control-volume .art-volume-panel .art-volume-panel-handle,
.hh-watch .art-control-volume .art-volume-panel .art-volume-panel-handle::before {
    background: var(--watch-accent) !important;
}

.hh-watch .art-progress-indicator,
.hh-watch .art-control-progress .art-progress-indicator {
    background: var(--watch-accent) !important;
}

/* Halim-style controls bar under player */
#halim-player-wrapper .halim-player-controls,
.hh-watch__actions.halim-player-controls {
    --player-accent: 88, 118, 198;
    position: relative;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 4px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    min-height: clamp(52px, 5vw, 64px);
    margin: 0;
    padding: 0 clamp(8px, 2vw, 18px);
    overflow: visible;
    background: #0e0e10;
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
}

@media (min-width: 1100px) {
    #halim-player-wrapper .halim-player-controls,
    .hh-watch__actions.halim-player-controls {
        position: relative;
        z-index: 30;
    }
}

@media (min-width: 1200px) {
    #halim-player-wrapper .halim-player-controls,
    .hh-watch__actions.halim-player-controls {
        padding: 0 18px;
    }
}

/* Row of control icons (scrollable on narrow screens) */
#halim-player-wrapper .halim-controls-left,
.hh-watch .halim-controls-left {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 10px;
    gap: clamp(6px, 1.2vw, 14px);
    width: auto;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 4px 0 2px;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

#halim-player-wrapper .halim-controls-left::-webkit-scrollbar,
.hh-watch .halim-controls-left::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1100px) {
    #halim-player-wrapper .halim-controls-left,
    .hh-watch .halim-controls-left {
        gap: 14px;
    }
}

@media (min-width: 1200px) {
    #halim-player-wrapper .halim-controls-left,
    .hh-watch .halim-controls-left {
        gap: 16px;
    }
}

#halim-player-wrapper .halim-control-btn,
.hh-watch .halim-control-btn,
.hh-watch__act {
    appearance: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 58px;
    min-height: 48px;
    padding: 6px 10px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #b8b8b8;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
    flex: 0 0 auto;
    box-sizing: border-box;
}

#halim-player-wrapper .halim-control-btn i,
.hh-watch .halim-control-btn i,
.hh-watch__act i {
    font-size: 17px;
    line-height: 1;
}

#halim-player-wrapper .halim-control-btn:hover,
#halim-player-wrapper .halim-control-btn:focus-visible,
.hh-watch__act:hover,
.hh-watch__act:focus-visible {
    color: #fff;
    outline: none;
}

#halim-player-wrapper .halim-control-btn.is-on,
#halim-player-wrapper .halim-control-btn[aria-pressed="true"],
#halim-player-wrapper .halim-control-btn[aria-expanded="true"],
.hh-watch__act.is-on,
.hh-watch__act[aria-pressed="true"],
.hh-watch__act[aria-expanded="true"] {
    color: #fff;
    background: rgba(var(--player-accent, 88, 118, 198), 0.95);
}

/*
 * Theo dõi = secondary state (không cạnh tranh CTA Tập tiếp).
 * Active: tim hồng + chữ accent, nền trong suốt / tint nhẹ — không fill solid.
 */
#halim-player-wrapper .halim-favorite-btn.is-on,
#halim-player-wrapper .halim-favorite-btn[aria-pressed="true"],
#halim-player-wrapper .halim-favorite-btn.is-following,
#halim-player-wrapper .halim-favorite-btn.is-following.is-on,
#halim-player-wrapper .halim-favorite-btn.is-following.active,
.hh-watch .halim-favorite-btn.is-on,
.hh-watch .halim-favorite-btn[aria-pressed="true"],
.hh-watch .halim-favorite-btn.is-following,
.hh-watch .halim-favorite-btn.is-following.is-on,
.hh-watch .halim-favorite-btn.is-following.active,
.hh-watch [data-hh-follow].is-following {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff6b9d !important;
}

#halim-player-wrapper .halim-favorite-btn.is-following:hover,
#halim-player-wrapper .halim-favorite-btn.is-following:focus-visible,
.hh-watch .halim-favorite-btn.is-following:hover,
.hh-watch .halim-favorite-btn.is-following:focus-visible {
    background: rgba(233, 30, 99, 0.12) !important;
    color: #ff8fb3 !important;
}

#halim-player-wrapper .halim-favorite-btn.is-following i,
#halim-player-wrapper .halim-favorite-btn.is-following.is-on i,
.hh-watch .halim-favorite-btn.is-following i,
.hh-watch [data-hh-follow].is-following i {
    color: #ff4d88 !important;
    filter: drop-shadow(0 0 6px rgba(233, 30, 99, 0.45));
}

#halim-player-wrapper .halim-control-btn.is-disabled,
#halim-player-wrapper .halim-control-btn[aria-disabled="true"],
#halim-player-wrapper .halim-control-btn:disabled,
.hh-watch__act.is-disabled,
.hh-watch__act[aria-disabled="true"] {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

/* Group dividers between control clusters */
#halim-player-wrapper .halim-controls-divider,
.hh-watch .halim-controls-divider {
    display: inline-block;
    align-self: center;
    width: 1px;
    height: 28px;
    margin: 0 2px;
    background: rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

/* Prev / -10s / +10s / Tiếp — cùng style icon trên + text dưới */
#halim-player-wrapper .halim-ep-nav,
.hh-watch .halim-ep-nav {
    display: contents; /* tham gia cùng hàng gap với Theo dõi / Đèn / … */
}

#halim-player-wrapper .halim-ep-nav .halim-control-btn,
.hh-watch .halim-ep-nav .halim-control-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 58px;
    min-height: 48px;
    padding: 6px 10px;
}

#halim-player-wrapper .halim-ep-glyph,
.hh-watch .halim-ep-glyph,
#halim-player-wrapper .halim-seek-icon,
.hh-watch .halim-seek-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: inherit;
    line-height: 0;
}

#halim-player-wrapper .halim-ep-glyph svg,
.hh-watch .halim-ep-glyph svg,
#halim-player-wrapper .halim-seek-icon svg,
.hh-watch .halim-seek-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    overflow: visible;
}

#halim-player-wrapper .halim-seek-label,
.hh-watch .halim-seek-label {
    display: none;
}

/*
 * Nút Tập tiếp — đồng bộ Trước/-10s: icon trên, chữ dưới.
 * order vì HTML đang để label trước glyph.
 */
#halim-player-wrapper .halim-ep-nav .halim-next-episode,
#halim-player-wrapper .halim-next-episode,
.hh-watch .halim-ep-nav .halim-next-episode,
.hh-watch .halim-next-episode {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 58px !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ffc15a 0%, #f5a623 48%, #e08f12 100%);
    color: #1a1208;
    font-size: 11.5px;
    font-weight: 700;
}

#halim-player-wrapper .halim-ep-nav .halim-next-episode:hover,
#halim-player-wrapper .halim-next-episode:focus-visible,
.hh-watch .halim-ep-nav .halim-next-episode:hover,
.hh-watch .halim-ep-nav .halim-next-episode:focus-visible {
    color: #120c04;
    filter: brightness(1.05);
}

#halim-player-wrapper .halim-ep-nav .halim-next-episode .halim-ep-glyph,
#halim-player-wrapper .halim-next-episode .halim-ep-glyph,
.hh-watch .halim-ep-nav .halim-next-episode .halim-ep-glyph,
.hh-watch .halim-next-episode .halim-ep-glyph {
    order: 1;
    width: 20px;
    height: 20px;
    color: inherit;
    flex: 0 0 auto;
}

#halim-player-wrapper .halim-ep-nav .halim-next-episode .halim-ep-glyph svg,
#halim-player-wrapper .halim-next-episode .halim-ep-glyph svg,
.hh-watch .halim-ep-nav .halim-next-episode .halim-ep-glyph svg,
.hh-watch .halim-next-episode .halim-ep-glyph svg {
    width: 20px;
    height: 20px;
}

#halim-player-wrapper .halim-ep-nav .halim-next-episode .halim-next-episode__label,
#halim-player-wrapper .halim-next-episode__label,
.hh-watch .halim-ep-nav .halim-next-episode .halim-next-episode__label,
.hh-watch .halim-next-episode__label {
    order: 2;
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

#halim-player-wrapper .halim-ep-nav .halim-next-episode.is-disabled,
#halim-player-wrapper .halim-next-episode.is-disabled,
#halim-player-wrapper .halim-next-episode[aria-disabled="true"],
#halim-player-wrapper .halim-next-episode:disabled,
.hh-watch .halim-ep-nav .halim-next-episode.is-disabled,
.hh-watch .halim-next-episode.is-disabled,
.hh-watch .halim-next-episode[aria-disabled="true"] {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.42) !important;
    opacity: 1;
    filter: none;
    pointer-events: none;
    cursor: default;
}

/* Khác sheet — neo ngay nút Khác (dưới hoặc trên) */
#halim-player-wrapper .halim-controls-more-wrap,
.hh-watch .halim-controls-more-wrap {
    position: relative;
    flex: 0 0 auto;
    overflow: visible;
    z-index: 60;
}

#halim-player-wrapper .halim-controls-more-sheet,
.hh-watch .halim-controls-more-sheet {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    pointer-events: none;
}

#halim-player-wrapper .halim-controls-more-sheet.is-open,
.hh-watch .halim-controls-more-sheet.is-open {
    display: block;
    pointer-events: auto;
}

#halim-player-wrapper .halim-controls-more-sheet[hidden],
.hh-watch .halim-controls-more-sheet[hidden] {
    display: none !important;
}

#halim-player-wrapper .halim-controls-more-backdrop,
.hh-watch .halim-controls-more-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: transparent;
    pointer-events: auto;
}

.halim-controls-more-panel {
    position: fixed;
    z-index: 2;
    width: min(280px, calc(100vw - 16px));
    max-height: min(70vh, 360px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #1e1e1e;
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px hsla(0, 0%, 100%, 0.06);
    opacity: 0;
    transform: translateY(-6px);
    transition: transform 0.18s ease, opacity 0.18s ease;
    pointer-events: auto;
}

.halim-controls-more-sheet.is-open .halim-controls-more-panel {
    opacity: 1;
    transform: translateY(0);
}

.halim-controls-more-sheet.is-open.is-place-above .halim-controls-more-panel {
    transform: translateY(0);
}

.halim-controls-more-sheet.is-open.is-place-below .halim-controls-more-panel {
    transform: translateY(0);
}

#halim-player-wrapper .halim-controls-more-header,
.hh-watch .halim-controls-more-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    color: #fff;
}

#halim-player-wrapper .halim-controls-more-header h3,
.hh-watch .halim-controls-more-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

#halim-player-wrapper .halim-controls-more-close,
.hh-watch .halim-controls-more-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

#halim-player-wrapper .halim-controls-more-close:hover,
.hh-watch .halim-controls-more-close:hover {
    color: #fff;
}

#halim-player-wrapper .halim-controls-more-body,
.hh-watch .halim-controls-more-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px 12px;
    overflow-y: auto;
    max-height: calc(min(70vh, 360px) - 52px);
}

#halim-player-wrapper .halim-controls-more-row,
.hh-watch .halim-controls-more-row {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ddd;
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

#halim-player-wrapper .halim-controls-more-row:hover,
.hh-watch .halim-controls-more-row:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

#halim-player-wrapper .halim-controls-more-row.is-disabled,
#halim-player-wrapper .halim-controls-more-row:disabled,
.hh-watch .halim-controls-more-row.is-disabled,
.hh-watch .halim-controls-more-row:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

#halim-player-wrapper .halim-controls-more-row.is-disabled:hover,
.hh-watch .halim-controls-more-row.is-disabled:hover {
    background: transparent;
    color: #ddd;
}

#halim-player-wrapper .halim-controls-more-row-icon,
.hh-watch .halim-controls-more-row-icon {
    width: 18px;
    text-align: center;
    opacity: 0.9;
}

#halim-player-wrapper .halim-controls-more-row-label,
.hh-watch .halim-controls-more-row-label {
    flex: 1;
}

#halim-player-wrapper .halim-controls-more-row-action,
.hh-watch .halim-controls-more-row-action {
    margin-left: auto;
}

/* Cinema: sheet vẫn nổi trên player */
body.hh-cinema .halim-controls-more-sheet.is-open {
    z-index: 10050;
}

/* Switch trái ↔ phải — giống Halim: OFF xám, ON xanh dương */
.hh-watch .hh-switch,
#halim-player-wrapper .hh-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #3a3a40;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease;
    vertical-align: middle;
}

.hh-watch .hh-switch__knob,
#halim-player-wrapper .hh-switch__knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease;
}

.hh-watch .toggle-basic-btn.is-on .hh-switch,
.hh-watch .toggle-basic-btn.active .hh-switch,
.hh-watch .toggle-basic-btn[aria-pressed="true"] .hh-switch,
#halim-player-wrapper .toggle-basic-btn.is-on .hh-switch,
#halim-player-wrapper .toggle-basic-btn.active .hh-switch,
#halim-player-wrapper .toggle-basic-btn[aria-pressed="true"] .hh-switch {
    background: #3b82f6 !important;
    border-color: rgba(59, 130, 246, 0.65) !important;
}

.hh-watch .toggle-basic-btn.is-on .hh-switch__knob,
.hh-watch .toggle-basic-btn.active .hh-switch__knob,
.hh-watch .toggle-basic-btn[aria-pressed="true"] .hh-switch__knob,
#halim-player-wrapper .toggle-basic-btn.is-on .hh-switch__knob,
#halim-player-wrapper .toggle-basic-btn.active .hh-switch__knob,
#halim-player-wrapper .toggle-basic-btn[aria-pressed="true"] .hh-switch__knob {
    transform: translateX(20px) !important;
}

/* Share sheet — chọn Facebook / WhatsApp / Telegram / Copy… */
.hh-share-sheet {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hh-share-sheet.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hh-share-sheet[hidden] {
    display: none !important;
}

.hh-share-sheet.is-open[hidden] {
    display: flex !important;
}

.hh-share-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hh-share-sheet__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 14px 14px 16px;
    border-radius: 14px 14px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a1b1e;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(16px);
    transition: transform 0.22s ease;
}

.hh-share-sheet.is-open .hh-share-sheet__panel {
    transform: translateY(0);
}

.hh-share-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.hh-share-sheet__head h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.hh-share-sheet__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

.hh-share-sheet__close:hover {
    color: #fff;
}

.hh-share-sheet__url {
    margin: 0 0 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #a1a1aa;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-all;
}

.hh-share-sheet__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 8px;
}

.hh-share-sheet__item {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #e5e7eb;
    font: inherit;
    cursor: pointer;
}

.hh-share-sheet__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hh-share-sheet__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
    color: #fff;
    background: #333;
}

.hh-share-sheet__item--facebook .hh-share-sheet__ico { background: #1877f2; }
.hh-share-sheet__item--messenger .hh-share-sheet__ico { background: #0084ff; }
.hh-share-sheet__item--whatsapp .hh-share-sheet__ico { background: #25d366; }
.hh-share-sheet__item--telegram .hh-share-sheet__ico { background: #229ed9; }
.hh-share-sheet__item--twitter .hh-share-sheet__ico { background: #1da1f2; }
.hh-share-sheet__item--copy .hh-share-sheet__ico { background: linear-gradient(135deg, #ff8a00, #ff2070); }
.hh-share-sheet__item--system .hh-share-sheet__ico { background: #3f3f46; }

.hh-share-sheet__name {
    font-size: 11.5px;
    font-weight: 500;
    color: #d4d4d8;
    text-align: center;
}

body.hh-share-open {
    overflow: hidden;
}

@media (min-width: 640px) {
    .hh-share-sheet {
        align-items: center;
    }

    .hh-share-sheet__panel {
        border-radius: 12px;
        transform: translateY(10px) scale(0.98);
    }

    .hh-share-sheet.is-open .hh-share-sheet__panel {
        transform: translateY(0) scale(1);
    }
}

/* Toast watch — góc trên phải (cùng desktop / mobile) */
body.hh-watch-page #hh-toast-host.hh-toast-host--watch,
body.hh-watch-page #hh-toast-host {
    top: calc(16px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
    right: 16px !important;
    left: auto !important;
    transform: none !important;
    max-width: min(420px, calc(100vw - 24px)) !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

body.hh-cinema #hh-toast-host,
body.hh-more-open #hh-toast-host {
    z-index: 2147483646 !important;
    top: calc(16px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
}

@media (max-width: 480px) {
    body.hh-watch-page #hh-toast-host.hh-toast-host--watch,
    body.hh-watch-page #hh-toast-host {
        top: calc(12px + env(safe-area-inset-top, 0px)) !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
        max-width: calc(100vw - 20px) !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    body.hh-cinema #hh-toast-host,
    body.hh-more-open #hh-toast-host {
        top: calc(12px + env(safe-area-inset-top, 0px)) !important;
        bottom: auto !important;
    }
}

.hh-watch__below {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 8px;
}

/* Servers — Halim list: label + nút thành 1 cụm căn giữa */
.hh-watch__servers {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin: 0;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.hh-watch__servers-label {
    flex: 0 0 auto;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

#halim-ajax-list-server {
    align-items: center;
    display: inline-flex !important;
    flex-wrap: wrap;
    flex: 0 1 auto;
    gap: 6px;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    width: auto !important;
    max-width: 100%;
}

.hh-watch #halim-ajax-list-server.hh-watch__server-list,
.hh-watch .hh-watch__server-list {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 !important;
    width: auto !important;
    text-align: center;
    justify-content: center;
}

#halim-ajax-list-server .get-eps,
#halim-ajax-list-server .halim-server-item,
#halim-ajax-list-server .server-button,
.hh-watch .get-eps,
.hh-watch span.get-eps,
.hh-watch__lang.get-eps {
    appearance: none;
    align-items: center;
    background: #1e3046;
    border: 1px solid hsla(0, 0%, 100%, 0.07);
    border-radius: 5px !important;
    color: #cdd8e3 !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.3px;
    line-height: 1;
    margin: 0 !important;
    padding: 5px 14px !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    min-width: 0;
    box-sizing: border-box;
}

#halim-ajax-list-server .get-eps:hover,
#halim-ajax-list-server .halim-server-item:hover,
#halim-ajax-list-server .server-button:hover,
.hh-watch .get-eps:hover {
    background: #27405c;
    border-color: hsla(0, 0%, 100%, 0.14);
    color: #fff !important;
}

#halim-ajax-list-server .get-eps.is-active,
#halim-ajax-list-server .get-eps.active,
#halim-ajax-list-server .halim-server-item.is-active,
#halim-ajax-list-server .halim-server-item.active,
#halim-ajax-list-server .server-button.is-active,
#halim-ajax-list-server .server-button.active {
    background: #2f80ed;
    border-color: rgba(47, 128, 237, 0.85);
    color: #fff !important;
}

/* Badge Vietsub ở CHỌN TẬP: không đổi màu hover mạnh */
.hh-watch__lang.get-eps {
    cursor: default;
}

.hh-watch__lang.get-eps:hover {
    background: #1e3046;
    border-color: hsla(0, 0%, 100%, 0.07);
    color: #cdd8e3 !important;
}

.hh-watch__empty {
    margin: 0;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: #ffd78a;
    font-size: 14px;
}

.hh-watch__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(245, 166, 35, 0.45);
    background: rgba(245, 166, 35, 0.08);
    color: #ffd78a;
    font-size: 13px;
    line-height: 1.45;
}

.hh-watch__notice i {
    margin-top: 2px;
    color: #f5a623;
    flex-shrink: 0;
}

.hh-watch__notice p {
    margin: 0;
}

.hh-watch__notice[hidden] {
    display: none !important;
}

.hh-watch .info-parts {
    margin: 2px 0 0;
}

.hh-watch__schedule.info-schedule {
    --info-accent: #5876c6;
    --info-accent-1: 88, 118, 198;
    margin: 0;
    border-radius: 0;
    background: rgba(var(--info-accent-1), 0.12);
    border: 0;
    border-left: 3px solid rgba(var(--info-accent-1), 0.65);
    color: hsla(0, 0%, 100%, 0.75);
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
}

.hh-watch__schedule a {
    color: var(--info-accent) !important;
}

/* Episode list — đồng bộ component detail */
.hh-watch__eps-sync.info-v2-body {
    --info-page-bg: #1c1c1c;
    --info-accent: #f5a623;
    --info-accent-1: 245, 166, 35;
    margin: 4px 0 16px;
    padding: 16px 20px 18px;
    border: 1px solid hsla(0, 0%, 100%, 0.09);
    border-radius: 12px;
    background: var(--info-page-bg);
}

.hh-watch__eps-sync .info-block--eps {
    margin: 0;
}

.hh-watch .info-v2-comments {
    --info-accent: #f5a623;
    --info-accent-1: 245, 166, 35;
    margin: 18px 0 8px;
}

.hh-watch .hh-related-section {
    margin-top: 15px;
}

/* Lights off */
body.hh-lights-off {
    background: #000 !important;
}

body.hh-lights-off #wrapper,
body.hh-lights-off .page-wrapper,
body.hh-lights-off main,
body.hh-lights-off #main,
body.hh-lights-off .hh-watch {
    background: #000 !important;
}

body.hh-lights-off .header,
body.hh-lights-off #header,
body.hh-lights-off .header-wrapper,
body.hh-lights-off #footer,
body.hh-lights-off footer,
body.hh-lights-off .hh-watch__below,
body.hh-lights-off .hh-related-section,
body.hh-lights-off .hh-watch__head {
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

body.hh-lights-off #halim-player-wrapper,
body.hh-lights-off .hh-watch__actions,
body.hh-lights-off .hh-watch__stage {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

body.hh-lights-off .hh-watch__act[data-hh-act="lights"] {
    color: var(--watch-accent);
}

/* Cinema mode — chỉ player + halim-controls-left, full viewport */
body.hh-cinema,
body.hh-cinema #wrapper,
body.hh-cinema .page-wrapper,
body.hh-cinema main#main,
body.hh-cinema #main,
body.hh-cinema .hh-watch {
    background: #000 !important;
}

body.hh-cinema {
    overflow: hidden !important;
}

body.hh-cinema #header,
body.hh-cinema .header,
body.hh-cinema header,
body.hh-cinema .header-wrapper,
body.hh-cinema .header-main,
body.hh-cinema .header-top,
body.hh-cinema .header-bottom,
body.hh-cinema #top-bar,
body.hh-cinema .top-bar,
body.hh-cinema #footer,
body.hh-cinema footer,
body.hh-cinema .footer-wrapper,
body.hh-cinema a.back-to-top,
body.hh-cinema #top-link,
body.hh-cinema .hh-watch__head,
body.hh-cinema .hh-watch__below,
body.hh-cinema .hh-related-section,
body.hh-cinema .page-title-wrapper,
body.hh-cinema .banner,
body.hh-cinema .adsbygoogle,
body.hh-cinema .halim-toggle-light.halim-controls-bar-extra,
body.hh-cinema .halim-controls-divider--after-nav {
    display: none !important;
}

body.hh-cinema #main > .row,
body.hh-cinema .page-wrapper > .row,
body.hh-cinema #main .col,
body.hh-cinema #main .col-inner,
body.hh-cinema .page-content,
body.hh-cinema .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.hh-cinema .hh-watch {
    padding: 0 !important;
    min-height: 100vh;
}

body.hh-cinema .hh-watch__inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.hh-cinema #halim-player-wrapper,
body.hh-cinema .hh-watch__player-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}

body.hh-cinema .hh-watch__stage {
    border-radius: 0 !important;
    background: #000 !important;
}

body.hh-cinema .hh-watch #video-player.hh-watch__player,
body.hh-cinema .hh-watch #video-player {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    aspect-ratio: auto !important;
}

body.admin-bar.hh-cinema .hh-watch #video-player.hh-watch__player,
body.admin-bar.hh-cinema .hh-watch #video-player {
    height: calc(100vh - 64px - var(--wp-admin--admin-bar--height, 32px)) !important;
    height: calc(100dvh - 64px - var(--wp-admin--admin-bar--height, 32px)) !important;
    max-height: calc(100vh - 64px - var(--wp-admin--admin-bar--height, 32px)) !important;
    max-height: calc(100dvh - 64px - var(--wp-admin--admin-bar--height, 32px)) !important;
}

body.hh-cinema #halim-player-wrapper .halim-player-controls,
body.hh-cinema .hh-watch__actions.halim-player-controls {
    border-radius: 0 !important;
    min-height: 64px;
    background: #0e0e10 !important;
    z-index: 40;
}

body.hh-cinema .halim-controls-left {
    margin: 0 auto;
}

@media (max-width: 767px) {
    .hh-watch {
        padding-top: 8px;
    }

    .hh-watch__inner {
        padding-left: var(--hh-site-pad, 12px);
        padding-right: var(--hh-site-pad, 12px);
    }

    /* Menu Khác mobile — bottom sheet, không nhảy lệch lên đầu trang */
    #halim-player-wrapper .halim-controls-more-backdrop,
    .hh-watch .halim-controls-more-backdrop {
        background: rgba(0, 0, 0, 0.55);
    }

    .halim-controls-more-panel {
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: min(78vh, 480px) !important;
        border-radius: 14px 14px 0 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        transform: translateY(110%) !important;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .halim-controls-more-sheet.is-open .halim-controls-more-panel,
    .halim-controls-more-sheet.is-open.is-place-above .halim-controls-more-panel,
    .halim-controls-more-sheet.is-open.is-place-below .halim-controls-more-panel {
        transform: translateY(0) !important;
    }

    #halim-player-wrapper .halim-controls-more-body,
    .hh-watch .halim-controls-more-body {
        max-height: calc(min(78vh, 480px) - 56px);
    }

    /* Player controls mobile — icon trên + text dưới (giống desktop):
       Theo dõi | Trước -10s +10s TIẾP | Khác  (Đánh giá nằm trong Khác) */
    #halim-player-wrapper .halim-player-controls,
    .hh-watch__actions.halim-player-controls {
        min-height: 0;
        padding: 8px 4px 10px;
        margin-top: 2px;
        border-radius: 0 0 10px 10px;
    }

    #halim-player-wrapper .halim-controls-left,
    .hh-watch .halim-controls-left {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-evenly;
        gap: 2px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: visible;
        box-sizing: border-box;
    }

    #halim-player-wrapper .halim-controls-divider,
    .hh-watch .halim-controls-divider {
        display: inline-block !important;
        align-self: center;
        width: 1px;
        height: 28px;
        margin: 0 2px;
        background: rgba(255, 255, 255, 0.14);
        flex: 0 0 1px;
    }

    #halim-player-wrapper .halim-controls-divider--before-more,
    .hh-watch .halim-controls-divider--before-more {
        display: none !important;
    }

    /* Ẩn Đèn + Rạp + Đánh giá trên thanh (rate vào Khác) */
    #halim-player-wrapper .halim-toggle-light,
    #halim-player-wrapper .halim-web-fullscreen-btn,
    #halim-player-wrapper .halim-player-rate-btn,
    .hh-watch .halim-toggle-light,
    .hh-watch .halim-web-fullscreen-btn,
    .hh-watch .halim-player-rate-btn {
        display: none !important;
    }

    #halim-player-wrapper .halim-ep-nav,
    .hh-watch .halim-ep-nav {
        display: contents;
    }

    #halim-player-wrapper .halim-controls-more-wrap,
    .hh-watch .halim-controls-more-wrap {
        display: inline-flex !important;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        height: auto;
        align-items: stretch;
        justify-content: center;
        position: relative;
        overflow: visible;
    }

    #halim-player-wrapper .halim-controls-more-wrap > .halim-control-btn,
    .hh-watch .halim-controls-more-wrap > .halim-control-btn {
        width: 100%;
        flex: 1 1 auto;
    }

    /* Icon trên + chữ dưới */
    #halim-player-wrapper .halim-favorite-btn,
    #halim-player-wrapper .halim-controls-more-wrap > .halim-control-btn,
    #halim-player-wrapper .halim-ep-nav .halim-control-btn,
    #halim-player-wrapper .halim-prev-episode,
    #halim-player-wrapper .halim-seek-btn,
    #halim-player-wrapper .halim-next-episode,
    .hh-watch .halim-favorite-btn,
    .hh-watch .halim-controls-more-wrap > .halim-control-btn,
    .hh-watch .halim-ep-nav .halim-control-btn,
    .hh-watch .halim-prev-episode,
    .hh-watch .halim-seek-btn,
    .hh-watch .halim-next-episode {
        position: relative !important;
        display: inline-flex !important;
        flex: 1 1 0 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        box-sizing: border-box !important;
        width: auto !important;
        min-width: 44px !important;
        max-width: none !important;
        height: auto !important;
        min-height: 48px !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        padding: 5px 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        overflow: visible !important;
    }

    /* Hiện text dưới icon */
    #halim-player-wrapper .halim-favorite-btn > span,
    #halim-player-wrapper .halim-controls-more-wrap > .halim-control-btn > span,
    #halim-player-wrapper .halim-prev-episode > span:not(.halim-ep-glyph),
    #halim-player-wrapper .halim-seek-btn > span:not(.halim-seek-icon),
    #halim-player-wrapper .halim-next-episode__label,
    .hh-watch .halim-favorite-btn > span,
    .hh-watch .halim-controls-more-wrap > .halim-control-btn > span,
    .hh-watch .halim-prev-episode > span:not(.halim-ep-glyph),
    .hh-watch .halim-seek-btn > span:not(.halim-seek-icon),
    .hh-watch .halim-next-episode__label {
        display: block !important;
        order: 2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.15;
        font-size: 9.5px;
        font-weight: 600;
    }

    #halim-player-wrapper .halim-favorite-btn i,
    #halim-player-wrapper .halim-controls-more-wrap > .halim-control-btn i,
    .hh-watch .halim-favorite-btn i,
    .hh-watch .halim-controls-more-wrap > .halim-control-btn i {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px;
        line-height: 1 !important;
        order: 1;
    }

    #halim-player-wrapper .halim-favorite-btn i::before,
    #halim-player-wrapper .halim-controls-more-wrap > .halim-control-btn i::before,
    .hh-watch .halim-favorite-btn i::before,
    .hh-watch .halim-controls-more-wrap > .halim-control-btn i::before {
        display: block;
        line-height: 1;
        width: 1em;
        text-align: center;
        transform: none;
    }

    #halim-player-wrapper .halim-ep-nav .halim-ep-glyph,
    #halim-player-wrapper .halim-ep-nav .halim-seek-icon,
    .hh-watch .halim-ep-nav .halim-ep-glyph,
    .hh-watch .halim-ep-nav .halim-seek-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        margin: 0 !important;
        padding: 0 !important;
        flex: none;
        line-height: 0;
        order: 1;
    }

    #halim-player-wrapper .halim-ep-nav .halim-ep-glyph svg,
    #halim-player-wrapper .halim-ep-nav .halim-seek-icon svg,
    .hh-watch .halim-ep-nav .halim-ep-glyph svg,
    .hh-watch .halim-ep-nav .halim-seek-icon svg {
        display: block;
        width: 18px;
        height: 18px;
    }

    /* Next = CTA cam, icon trên + TIẾP dưới */
    #halim-player-wrapper .halim-ep-nav .halim-next-episode,
    #halim-player-wrapper .halim-next-episode,
    .hh-watch .halim-ep-nav .halim-next-episode,
    .hh-watch .halim-next-episode {
        width: auto !important;
        min-width: 48px !important;
        height: auto !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #ffc15a 0%, #f5a623 48%, #e08f12 100%) !important;
        color: #1a1208 !important;
        box-shadow: 0 2px 10px rgba(245, 166, 35, 0.35) !important;
        transform: none !important;
        flex-direction: column !important;
    }

    #halim-player-wrapper .halim-next-episode .halim-ep-glyph,
    .hh-watch .halim-next-episode .halim-ep-glyph {
        order: 1;
        width: 18px;
        height: 18px;
        color: inherit;
    }

    #halim-player-wrapper .halim-next-episode .halim-ep-glyph svg,
    .hh-watch .halim-next-episode .halim-ep-glyph svg {
        width: 18px;
        height: 18px;
    }

    #halim-player-wrapper .halim-next-episode__label,
    .hh-watch .halim-next-episode__label {
        order: 2 !important;
        color: inherit;
        font-size: 9.5px !important;
        font-weight: 700 !important;
    }

    /* Follow active — accent, không fill đặc */
    #halim-player-wrapper .halim-favorite-btn.is-following,
    #halim-player-wrapper .halim-favorite-btn.is-following.is-on,
    #halim-player-wrapper .halim-favorite-btn.is-following.active,
    .hh-watch .halim-favorite-btn.is-following,
    .hh-watch .halim-favorite-btn.is-following.is-on,
    .hh-watch .halim-favorite-btn.is-following.active {
        width: auto !important;
        height: auto !important;
        border-radius: 8px !important;
        background: rgba(233, 30, 99, 0.14) !important;
        box-shadow: none !important;
        border: 0 !important;
        transform: none !important;
        color: #ff6b9d !important;
    }

    #halim-player-wrapper .halim-favorite-btn.is-following i,
    .hh-watch .halim-favorite-btn.is-following i {
        color: #ff4d88 !important;
        filter: drop-shadow(0 0 5px rgba(233, 30, 99, 0.35));
    }

    #halim-player-wrapper .halim-next-episode.is-disabled,
    #halim-player-wrapper .halim-next-episode[aria-disabled="true"],
    #halim-player-wrapper .halim-next-episode:disabled,
    .hh-watch .halim-next-episode.is-disabled,
    .hh-watch .halim-next-episode[aria-disabled="true"] {
        background: rgba(255, 255, 255, 0.12) !important;
        color: rgba(255, 255, 255, 0.38) !important;
        box-shadow: none !important;
        opacity: 1 !important;
        filter: none;
        pointer-events: none;
    }

    .hh-watch__servers {
        margin-bottom: 0;
    }
}

/* Đèn + Đánh giá trong Khác: chỉ mobile. Rạp ẩn hẳn trên mobile. */
#halim-player-wrapper .halim-controls-more-row--lights,
.hh-watch .halim-controls-more-row--lights,
#halim-player-wrapper .halim-controls-more-row--rate,
.hh-watch .halim-controls-more-row--rate,
#halim-player-wrapper .halim-controls-more-row--cinema,
.hh-watch .halim-controls-more-row--cinema {
    display: none;
}

@media (max-width: 767px) {
    #halim-player-wrapper .halim-controls-more-row--lights,
    .hh-watch .halim-controls-more-row--lights,
    #halim-player-wrapper .halim-controls-more-row--rate,
    .hh-watch .halim-controls-more-row--rate {
        display: flex;
    }

    #halim-player-wrapper .halim-controls-more-row--cinema,
    .hh-watch .halim-controls-more-row--cinema {
        display: none !important;
    }

    body.hh-cinema .hh-watch #video-player.hh-watch__player,
    body.hh-cinema .hh-watch #video-player {
        height: calc(100vh - 52px) !important;
        height: calc(100dvh - 52px) !important;
        max-height: calc(100vh - 52px) !important;
        max-height: calc(100dvh - 52px) !important;
    }

    body.admin-bar.hh-cinema .hh-watch #video-player.hh-watch__player,
    body.admin-bar.hh-cinema .hh-watch #video-player {
        height: calc(100vh - 52px - var(--wp-admin--admin-bar--height, 46px)) !important;
        height: calc(100dvh - 52px - var(--wp-admin--admin-bar--height, 46px)) !important;
        max-height: calc(100vh - 52px - var(--wp-admin--admin-bar--height, 46px)) !important;
        max-height: calc(100dvh - 52px - var(--wp-admin--admin-bar--height, 46px)) !important;
    }
}
