/* Country-sensitive cinema UI. The cached document renders safe controls and
   safe episode metadata immediately; REST only injects sensitive actions. */
.hc-access-slot--hero{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:48px}
.hc-access-slot--hero[aria-busy="false"]:empty{display:none}
.hc-access-download{min-height:150px}
.hc-access-download--series{min-height:0}
.hc-access-download__placeholder{width:100%;min-height:150px;border-radius:20px;visibility:hidden;pointer-events:none}

.hc-geo-gate{direction:rtl;display:flex;align-items:center;gap:18px;width:100%;min-height:150px;padding:24px 28px;border:1px solid #ffffff17;border-radius:20px;background:#ffffff1a;box-sizing:border-box;box-shadow:0 14px 45px #0003}
.hc-geo-gate__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:#fcd535;color:#111;border:1px solid #fcd535;box-shadow:0 8px 24px #fcd5351f}
.hc-geo-gate__content{min-width:0;flex:1}
.hc-geo-gate__title{display:block;color:#fff;font-size:1.05rem;line-height:1.9;font-weight:700}
.hc-geo-gate__text{margin:5px 0 0;color:#aaa;font-size:.85rem;line-height:1.9}
.hc-geo-gate__retry{flex:0 0 auto;min-width:126px;height:44px;padding:0 22px;border:0;border-radius:24px;background:#fcd535;color:#111;font-weight:700;font-family:inherit;cursor:pointer;transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease;box-shadow:0 8px 24px #fcd5351f}
.hc-geo-gate__retry:hover{transform:translateY(-1px);box-shadow:0 10px 28px #fcd53533}
.hc-geo-gate__retry:disabled{cursor:wait;opacity:.65;transform:none}
.hc-geo-gate--error{border-color:#ffae0026}
.hc-geo-gate--noscript{min-height:auto;margin:12px 0}
.hc-gate-svg{display:block;width:30px;height:30px;object-fit:contain}

/* Safe hero actions deliberately use the same button classes and dimensions as
   the allowed download/trailer actions, preventing hero movement after REST. */
.hc-access-slot--hero .hc-btn-primary{flex:0 0 176px;width:176px;min-width:176px;padding-inline:20px;justify-content:center;box-sizing:border-box;border:0;font-family:inherit;cursor:pointer}
.hc-geo-scroll-action{font-family:inherit}
.hc-action-svg{display:block;flex:0 0 auto;object-fit:contain;pointer-events:none}
.hc-action-svg--dark{filter:brightness(0) saturate(100%)}
.hc-action-svg--light{filter:brightness(0) invert(1)}

/* Restricted download layouts. */
.hc-movie-gate-wrap{margin-block:3rem}
.hc-series-gate-wrap{margin-top:1rem}
.hc-restricted-series{width:100%}
.hexbox--restricted .hexbox-play-overlay,
.hexbox--restricted .hexbox-list-group,
.hexbox--restricted .hex-mini-play{display:none!important}

/* Delayed VPN notice: always anchored to the bottom. JavaScript raises the
   custom offset above any visible mobile nav or app-install prompt. */
.hc-vpn-notice{--hc-vpn-notice-bottom:24px;position:fixed;z-index:1000002;top:auto;bottom:calc(var(--hc-vpn-notice-bottom) + env(safe-area-inset-bottom,0px));left:50%;right:auto;width:min(560px,calc(100vw - 48px));direction:rtl;display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 52px 12px 18px;border:1px solid #fcd535;background:#fcd535;color:#111;border-radius:10px;box-shadow:0 18px 55px #0005;box-sizing:border-box;opacity:0;visibility:hidden;transform:translate(-50%,14px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s}
.hc-vpn-notice.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}
.hc-vpn-notice__text{margin:0;text-align:center;font-size:.82rem;line-height:1.9;font-weight:500}
.hc-vpn-notice__close{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:#00000024;color:#000;font:700 20px/1 Arial,sans-serif;cursor:pointer;transition:background .18s ease,transform .18s ease}
.hc-vpn-notice__close:hover,.hc-vpn-notice__close:focus-visible{background:#00000042;transform:translateY(-50%) scale(1.05);outline:none}

@media (max-width:768px){
.hc-access-slot--hero{justify-content:center;min-height:44px}
.hc-access-download{min-height:132px}
.hc-access-download--series{min-height:0}
.hc-access-download__placeholder{min-height:132px;border-radius:16px}
.hc-geo-gate{min-height:0;flex-direction:column;text-align:center;padding:24px 18px;border-radius:16px;gap:13px}
.hc-geo-gate__icon{width:52px;height:52px;flex-basis:52px;border-radius:16px}
.hc-geo-gate__title{font-size:.96rem}
.hc-geo-gate__text{font-size:.8rem}
.hc-geo-gate__retry{width:100%;max-width:240px}
}

@media (max-width:1024px){
.hc-vpn-notice{--hc-vpn-notice-bottom:160px;left:12px;right:12px;width:auto;justify-content:flex-start;min-height:66px;padding:11px 46px 11px 12px;border-radius:13px;transform:translateY(14px)}
.hc-vpn-notice.is-visible{transform:translateY(0)}
.hc-vpn-notice__text{text-align:right;font-size:.6rem;line-height:1.75}
.hc-vpn-notice__close{right:10px}
}

@media (max-width:480px){
.hc-access-slot--hero .hc-btn-primary{flex-basis:176px;width:176px;min-width:176px;padding-inline:20px}
}

@media (prefers-reduced-motion:reduce){
.hc-geo-gate__retry,.hc-vpn-notice,.hc-vpn-notice__close{transition:none}
}
