/* Shahid4u cache refresh: v36-category-archive-spacing-cards */
:root{--br-accent:#dfa91f;--br-accent-2:#f0b82d;--br-bg:#f4f6fa;--br-surface:#fff;--br-surface-2:#fff;--br-text:#172b46;--br-muted:#778399;--br-line:#dce3ec;--br-shadow:0 3px 12px rgba(23,43,70,.06);--br-header:#fff;--br-drawer:#fff;--br-danger:#b13f3f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--br-bg);color:var(--br-text);font-family:Cairo,Tahoma,Arial,sans-serif;font-size:14px;line-height:1.75}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.br-lock-scroll{overflow:hidden}
.br-header{position:sticky;top:0;z-index:900;background:var(--br-header);border-bottom:1px solid var(--br-line);height:76px}.br-header-inner{height:100%;max-width:1220px;margin:auto;padding:0 18px;display:flex;align-items:center;gap:12px;direction:rtl}.br-header-actions{order:1;display:flex;align-items:center;justify-content:center;flex:0 0 40px}.br-brand{order:2;display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto}.br-brand img{max-height:58px;width:auto;max-width:150px;object-fit:contain}.br-brand-fallback{display:flex;gap:7px;align-items:center;font-weight:800;font-size:28px}.br-brand-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--br-accent);color:#fff;font-size:15px}.br-search{order:3;height:44px;max-width:480px;flex:1 1 480px;min-width:260px;margin:0 auto;border:1px solid var(--br-line);background:#f3f5f8;border-radius:13px;display:flex;align-items:center;overflow:hidden;direction:ltr}.br-search button{width:43px;height:100%;border:0;background:var(--br-accent);color:#fff}.br-search input{min-width:0;flex:1;border:0;outline:none;background:transparent;padding:0 13px;font-size:14px;direction:rtl}.br-search input::placeholder{color:#8793a6}.br-search-mic{width:36px;display:grid;place-items:center;color:#a48f52;font-size:15px}.br-icon-btn{border:0;background:transparent;font-size:22px;color:var(--br-text);width:40px;height:40px}.br-mobile-search-btn{display:none;border:0;background:transparent;font-size:20px;color:var(--br-accent);width:38px;height:40px;border-radius:10px;padding:0;transition:color .2s ease,background .2s ease}.br-theme-switch{order:4;display:flex;align-items:center;gap:0;border:1px solid var(--br-line);border-radius:24px;padding:3px;background:#f7f9fb;flex:0 0 auto}.br-theme-btn{width:41px;height:34px;border:0;border-radius:19px;background:transparent;color:#6d7888}.br-theme-btn.active{background:var(--br-accent);color:#fff}.br-page{max-width:1220px;margin:auto;padding:18px 18px 38px}.br-overlay{position:fixed;inset:0;background:rgba(13,28,44,.54);opacity:0;pointer-events:none;transition:opacity .22s ease;z-index:1000}.br-overlay.open{opacity:1;pointer-events:auto}.br-drawer{position:fixed;top:0;right:0;width:min(380px,92vw);height:100dvh;background:var(--br-drawer);transform:translateX(110%);transition:transform .25s ease;z-index:1010;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(0,0,0,.14);overflow:auto}.br-drawer.open{transform:translateX(0)}.br-drawer-head{height:78px;padding:14px 17px;border-bottom:1px solid var(--br-line);display:flex;align-items:center;justify-content:space-between;gap:12px}.br-drawer-logo img{max-height:48px;max-width:145px}.br-drawer-logo span{font-weight:800;font-size:24px}.br-drawer-close{width:42px;height:42px;border:1px solid var(--br-line);border-radius:10px;background:#f8fafc;color:var(--br-text);font-size:20px}.br-drawer-nav{padding:10px 12px}.br-nav-item{display:flex;align-items:center;gap:13px;padding:14px 11px;border-radius:11px;font-weight:600}.br-nav-item:hover{background:#fbf5e2}.br-nav-item>i:first-child{width:22px;color:#9d7a16}.br-nav-arrow{margin-right:auto;color:#8994a4;font-size:12px}.br-drawer-section-title{padding:15px 18px 7px;color:var(--br-muted);font-size:12px;border-top:1px solid var(--br-line)}.br-drawer-cats{padding:0 12px}.br-drawer-cat{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;border-bottom:1px dashed var(--br-line);font-size:13px}.br-drawer-cat i{font-size:10px;color:#8894a5}.br-drawer-footer{margin-top:auto;padding:16px;border-top:1px solid var(--br-line);display:flex;gap:14px;flex-wrap:wrap;color:var(--br-muted);font-size:12px}
.br-top-grid{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:18px;align-items:start}.br-main-column,.br-side-column{min-width:0}.br-section,.br-side-box{background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;box-shadow:var(--br-shadow)}.br-section{padding:16px}.br-side-box{padding:13px}.br-section-main{padding:17px}.br-section-head,.br-side-head{display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--br-line);padding-bottom:10px;margin-bottom:15px}.br-section-head h1,.br-section-head h2,.br-side-head h2{padding:0;margin:0;font-size:21px;line-height:1.3;font-weight:700}.br-section-head h1:after,.br-section-head h2:after,.br-side-head h2:after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:var(--br-accent);margin-top:9px}.br-section-head span{font-size:11px;color:var(--br-muted);display:block;margin-top:4px}.br-section-head>a,.br-side-head>a{font-size:12px;color:#516174;white-space:nowrap}.br-side-head h2{font-size:19px}.br-grid{display:grid}.br-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.br-grid-6{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.br-card{min-width:0}.br-card-link{display:block}.br-thumb{position:relative;overflow:hidden;border-radius:6px;background:#e9edf2;aspect-ratio:16/9;border:1px solid #dde3ea}.br-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.br-card:hover .br-thumb img{transform:scale(1.025)}.br-thumb-empty{width:100%;height:100%;display:grid;place-items:center;color:#a6afba;font-size:25px}.br-duration{position:absolute;bottom:6px;left:7px;padding:1px 6px;background:rgba(10,18,28,.88);color:#fff;border-radius:4px;font-size:10px;line-height:20px}.br-duration-large{font-size:12px;line-height:23px;padding:2px 8px}.br-ribbon{position:absolute;top:8px;left:-22px;transform:rotate(-45deg);background:#27384b;color:#fff;min-width:82px;text-align:center;font-size:10px;padding:2px 0}.br-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.br-play i{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:rgba(20,34,49,.78);color:#fff;font-size:15px;padding-right:2px}.br-card:hover .br-play{opacity:1}.br-card-title{margin:7px 2px 0;font-size:13px;line-height:1.6;font-weight:600;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.br-card-meta{text-align:center;color:var(--br-muted);font-size:10px;margin-top:2px}.br-card-meta span{margin:0 3px}.br-small-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.br-small-card{min-width:0}.br-small-thumb{position:relative;aspect-ratio:16/9;border-radius:5px;overflow:hidden;background:#e9edf2;border:1px solid #e0e5eb}.br-small-thumb img{width:100%;height:100%;object-fit:cover}.br-small-thumb span{height:100%;display:grid;place-items:center;color:#aab2bd}.br-small-thumb b{position:absolute;bottom:4px;left:4px;background:rgba(9,16,25,.86);color:#fff;padding:0 5px;border-radius:3px;font-size:9px;font-weight:600}.br-series-small-card .br-small-thumb{aspect-ratio:16/9}.br-small-card>span{display:block;font-size:11px;line-height:1.55;text-align:center;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.br-side-column{display:flex;flex-direction:column;gap:16px}.br-full-section{margin-top:18px}.br-empty{text-align:center;padding:38px 12px;color:var(--br-muted)}.br-primary-btn,.br-secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:7px 16px;border-radius:6px}.br-primary-btn{background:var(--br-accent);color:#fff}.br-secondary-btn{background:#eef2f6;border:1px solid var(--br-line)}
.br-filter-panel{background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;box-shadow:var(--br-shadow);padding:12px;margin:0 auto 14px;max-width:1160px;width:100%}.br-filter-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) auto;gap:9px;align-items:end}.br-filter-form label{display:block}.br-filter-form label span{font-size:10px;color:var(--br-muted);display:block;margin:0 0 4px}.br-filter-form select{width:100%;height:38px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);color:var(--br-text);padding:0 10px;outline:none}.br-filter-form button{height:38px;border:0;border-radius:7px;background:var(--br-accent);color:#fff;padding:0 14px}.br-archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px}.br-archive-main,.br-archive-side{min-width:0}.br-browse-box{position:sticky;top:92px}.br-browse-item{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--br-line);padding:12px 13px;border-radius:7px;margin-top:8px;font-size:12px}.br-browse-item i{font-size:10px;color:#8290a1}.br-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:3px;margin-bottom:14px}.br-tabs a{flex:0 0 auto;padding:8px 14px;border:1px solid var(--br-line);border-radius:7px;font-size:12px;background:#fafbfd}.br-tabs a.active{background:#f6e8bd;border-color:#d5a526;color:#704f00}.br-pagination{display:flex;justify-content:center;gap:7px;margin-top:17px;flex-wrap:wrap}.br-pagination a,.br-pagination span{min-width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--br-line);border-radius:6px;background:var(--br-surface)}.br-pagination a.active{background:var(--br-accent);border-color:var(--br-accent);color:#fff}.br-pagination span{border:0;background:transparent}
.br-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--br-muted);font-size:11px;margin:3px 0 12px}.br-watch-page,.br-download-page,.br-single-page{max-width:1180px;margin:auto}.br-watch-title,.br-single-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:12px}.br-watch-title h1,.br-single-title h1{margin:0;font-size:24px;line-height:1.4}.br-watch-title span,.br-single-title span{font-size:11px;color:var(--br-muted)}.br-player-shell{position:relative;background:#000;border:1px solid #d4dae1;border-radius:8px;overflow:hidden;aspect-ratio:16/9}.br-player-shell iframe{width:100%;height:100%;border:0;display:block}.br-player-empty{height:100%;display:grid;place-items:center;color:#fff;text-align:center;padding:25px}.br-player-empty i{font-size:32px;margin-bottom:10px}.br-player-blackout{position:absolute;inset:0;background:#000;opacity:0;visibility:hidden;pointer-events:none;z-index:5;transition:none;display:flex;align-items:center;justify-content:center}.br-player-blackout.is-visible{opacity:1;visibility:visible}.br-loading-indicator{display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;direction:rtl;font-size:14px}.br-loading-indicator i{width:28px;height:28px;border:3px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:brSpin .8s linear infinite;display:block}.br-loading-indicator b{font-weight:700}@keyframes brSpin{to{transform:rotate(360deg)}}.br-server-box{background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;margin-top:13px;padding:14px}.br-server-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.br-server-head h2{font-size:18px;margin:0}.br-server-head span{color:var(--br-muted);font-size:11px;display:block;margin-top:2px}.br-count-pill{padding:5px 10px!important;border-radius:20px;background:#f8edd0;color:#8b6700!important;white-space:nowrap}.br-server-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.br-server-item{position:relative;border:1px solid var(--br-line);background:var(--br-surface-2);border-radius:7px;padding:10px;display:flex;align-items:center;gap:9px;text-align:right;min-height:65px;color:var(--br-text)}.br-server-item.active{border-color:#d5a526;box-shadow:inset 0 0 0 1px #d5a526;background:#fffaf0}.br-server-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#edf2f6}.br-server-item strong{display:block;font-size:12px}.br-server-item small{display:block;color:var(--br-muted);font-size:9px}.br-server-item>b{margin-right:auto;font-size:9px;color:#8a6500}.br-download-hero{display:grid;grid-template-columns:210px 1fr;gap:18px;background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;padding:18px}.br-download-cover{aspect-ratio:16/9;background:#e7ebef;border-radius:7px;overflow:hidden}.br-download-cover img{width:100%;height:100%;object-fit:cover}.br-eyebrow{font-size:11px;color:#8b6700}.br-download-hero h1{font-size:25px;margin:6px 0}.br-download-hero p{color:var(--br-muted)}.br-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.br-single-actions{padding:12px}.br-single-actions .br-inline-actions{margin-top:0;justify-content:center}.br-single-actions .br-primary-btn,.br-single-actions .br-secondary-btn{min-width:170px}.br-download-list{display:grid;gap:9px}.br-download-row{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:10px;border:1px solid var(--br-line);padding:9px;border-radius:7px}.br-download-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:50%;background:#f8edd0;color:#906b08}.br-download-row strong,.br-download-row small{display:block}.br-download-row strong{font-size:12px}.br-download-row small{font-size:10px;color:var(--br-muted)}.br-single-title{align-items:center}.br-single-title h1{font-size:26px}.br-single-player{background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;padding:4px}.br-poster-frame{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#111}.br-poster-frame img{width:100%;height:100%;object-fit:cover}.br-big-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#fff;background:rgba(0,0,0,.16)}.br-big-play i{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:rgba(10,28,38,.86);font-size:24px;padding-right:3px}.br-big-play span{background:#13212c;padding:5px 13px;border-radius:5px;font-size:12px}.br-episode-nav{display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;margin-top:12px;overflow:hidden}.br-episode-nav>*{padding:14px;text-align:center;border-left:1px solid var(--br-line)}.br-episode-nav>*:last-child{border-left:0}.br-episode-nav small,.br-episode-nav strong{display:block}.br-episode-nav small{font-size:10px;color:#7f8b9b}.br-episode-nav strong{font-size:14px}.br-episode-nav .active{box-shadow:inset 0 -3px 0 var(--br-accent)}.br-content-box{background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;margin-top:12px;padding:16px}.br-content-head{font-size:18px;font-weight:700;border-bottom:1px solid var(--br-line);padding-bottom:9px;margin-bottom:13px}.br-content-head:after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:var(--br-accent);margin-top:7px}.br-content-box h2{font-size:27px;line-height:1.8;margin:0;text-align:center;font-weight:600}.br-content-text{font-size:15px;line-height:2.15;text-align:center;margin-top:5px}.br-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.br-meta-grid>div{border:1px solid var(--br-line);border-radius:6px;padding:10px;font-size:11px}.br-meta-grid b{display:block;color:#718096;margin-bottom:3px}.br-meta-grid a{color:#a37300}.br-rating{font-weight:700;color:#946e08}.br-season-tabs{display:flex;gap:8px;flex-wrap:wrap}.br-season-tabs a{border:1px solid var(--br-line);border-radius:6px;padding:9px 15px;font-size:11px}.br-season-tabs a.active{border-color:#d5a526;background:#fff9e8;color:#8c6700}.br-episode-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.br-episode-grid a{border:1px solid var(--br-line);border-radius:6px;padding:8px;text-align:center}.br-episode-grid a strong,.br-episode-grid a span{display:block}.br-episode-grid a strong{font-size:14px}.br-episode-grid a span{font-size:9px;color:var(--br-muted)}.br-episode-grid a.active{background:#122437;color:#fff;border-color:#d5a526;box-shadow:inset 0 0 0 1px #d5a526}.br-chip-list{display:grid;gap:12px}.br-chip-row{display:grid;grid-template-columns:130px 1fr;gap:10px;align-items:start}.br-chip-row>b{font-size:11px;color:#718096}.br-chip-row>div{display:flex;flex-wrap:wrap;gap:6px}.br-chip-row a{padding:5px 8px;border:1px solid var(--br-line);border-radius:5px;background:#f7f9fb;font-size:10px}.br-404{text-align:center;padding:70px 20px}.br-error-icon{width:78px;height:78px;border-radius:50%;background:#f8edd0;color:#946f09;display:grid;place-items:center;font-size:30px;margin:0 auto 15px}.br-404 h1{font-size:45px;margin:0}.br-footer{border-top:1px solid var(--br-line);padding:22px 18px;background:var(--br-surface)}.br-footer-inner{max-width:1220px;margin:auto;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:var(--br-muted);font-size:11px}.br-footer-links{display:flex;gap:15px;flex-wrap:wrap}
html[data-theme="dark"]{--br-bg:#0d1723;--br-surface:#152335;--br-surface-2:#162739;--br-text:#eef4fb;--br-muted:#a9b6c7;--br-line:#2a3a4e;--br-header:#111d2b;--br-drawer:#152335;--br-shadow:0 4px 15px rgba(0,0,0,.16)}html[data-theme="dark"] .br-search{background:#17283a}html[data-theme="dark"] .br-theme-switch{background:#142334}html[data-theme="dark"] .br-thumb,html[data-theme="dark"] .br-small-thumb{background:#203247}html[data-theme="dark"] .br-filter-form select,html[data-theme="dark"] .br-browse-item,html[data-theme="dark"] .br-tabs a,html[data-theme="dark"] .br-server-item,html[data-theme="dark"] .br-download-row,html[data-theme="dark"] .br-meta-grid>div,html[data-theme="dark"] .br-season-tabs a,html[data-theme="dark"] .br-episode-grid a,html[data-theme="dark"] .br-chip-row a{background:var(--br-surface-2);color:var(--br-text)}html[data-theme="dark"] .br-tabs a.active,html[data-theme="dark"] .br-season-tabs a.active{background:#3a311d;color:#f4d478}html[data-theme="dark"] .br-server-item.active{background:#292419}html[data-theme="dark"] .br-secondary-btn{background:#1b2c3d;color:var(--br-text)}
@media(max-width:1100px){.br-header-inner{gap:10px}.br-grid-6{grid-template-columns:repeat(4,minmax(0,1fr))}.br-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.br-episode-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:850px){.br-top-grid,.br-archive-layout{grid-template-columns:1fr}.br-side-column{display:grid;grid-template-columns:1fr 1fr}.br-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.br-grid-6{grid-template-columns:repeat(3,minmax(0,1fr))}.br-server-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.br-browse-box{position:static}.br-download-hero{grid-template-columns:160px 1fr}.br-episode-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.br-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.br-header{height:66px;margin-bottom:0}.br-header.br-search-open{margin-bottom:56px}.br-header-inner{padding:0 10px;gap:8px;direction:rtl}.br-header-actions{order:1;flex:0 0 38px}.br-brand{order:2;flex:0 0 auto}.br-brand img{max-height:48px;max-width:115px}.br-search{display:none;position:absolute;order:6;top:74px;right:10px;left:10px;max-width:none;width:auto;min-width:0;height:40px;z-index:20;margin:0}.br-header.br-search-open .br-search{display:flex}.br-mobile-search-btn{display:block;order:3;flex:0 0 38px;margin-right:auto;color:var(--br-accent)}.br-mobile-search-btn.active{color:var(--br-accent-2);background:rgba(223,169,31,.10)}.br-theme-switch{order:4;margin-right:0}.br-page{padding:12px 10px 28px}.br-side-column{grid-template-columns:1fr}.br-grid-3,.br-grid-6{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.br-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.br-filter-form button{grid-column:1/-1}.br-watch-title,.br-single-title{display:block}.br-watch-title h1,.br-single-title h1{font-size:19px}.br-watch-title span,.br-single-title span{display:block;margin-top:4px}.br-server-grid{grid-template-columns:1fr}.br-download-hero{grid-template-columns:1fr}.br-download-cover{max-width:280px}.br-episode-nav strong{font-size:12px}.br-content-box h2{font-size:21px}.br-content-text{font-size:13px}.br-meta-grid{grid-template-columns:1fr}.br-episode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.br-chip-row{grid-template-columns:1fr}.br-footer-inner{display:block}.br-footer-links{margin-bottom:8px}}
@media(max-width:430px){.br-grid-3,.br-grid-6{grid-template-columns:1fr}.br-card-title{font-size:12px}.br-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.br-filter-row{grid-template-columns:1fr}.br-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.br-section{padding:12px}.br-section-head h1,.br-section-head h2{font-size:18px}.br-section-head{align-items:end}}


/* ==========================================================
   Shahid4u — /series/{slug} exact reference layout
   ========================================================== */
.br-series-page{width:100%;margin:0}
.br-series-breadcrumb{max-width:1220px;margin:0 auto 12px;padding:0 3px;display:flex;align-items:center;justify-content:flex-start;gap:9px;direction:rtl;color:var(--br-muted);font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden}
.br-series-breadcrumb a{color:#58708a;text-decoration:none}
.br-series-breadcrumb strong{font-weight:500;color:var(--br-text);overflow:hidden;text-overflow:ellipsis}
.br-series-section{padding:14px 18px 20px;background:var(--br-surface);border:1px solid var(--br-line);border-radius:8px;box-shadow:0 1px 1px rgba(23,43,70,.02)}
.br-series-head{display:flex;align-items:center;justify-content:space-between;gap:20px;direction:rtl;padding:0 0 12px;margin:0 0 16px;border-bottom:1px solid var(--br-line)}
.br-series-title-wrap{min-width:0}
.br-series-title-wrap h1{margin:0;color:var(--br-text);font-size:25px;line-height:1.35;font-weight:700;letter-spacing:0}
.br-series-title-wrap span{display:block;margin-top:5px;color:var(--br-muted);font-size:11px;line-height:1.3}
.br-series-all{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:106px;height:40px;padding:0 13px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);color:#536b85;text-decoration:none;font-size:12px;line-height:1;white-space:nowrap;direction:rtl;transition:border-color .15s ease,color .15s ease,background .15s ease}
.br-series-all i{font-size:11px}
.br-series-all:hover{border-color:var(--br-accent);color:var(--br-accent-2);background:#fffaf0}
.br-series-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 14px;direction:rtl}
.br-series-card{min-width:0}
.br-series-card-link{display:block;color:inherit;text-decoration:none}
.br-series-thumb{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#edf1f5}
.br-series-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.br-series-card-link:hover .br-series-thumb img{transform:scale(1.012)}
.br-series-thumb-empty{width:100%;height:100%;display:grid;place-items:center;color:#8795a5;font-size:26px}
.br-series-duration{position:absolute;left:6px;bottom:6px;padding:3px 5px;background:rgba(0,0,0,.86);color:#fff;border-radius:3px;font-size:10px;line-height:1;font-weight:500;direction:ltr}
.br-series-card-title{margin:8px 0 0;min-height:42px;color:var(--br-text);font-size:12px;line-height:1.72;font-weight:500;text-align:center}
.br-series-episode-label{display:block;margin-top:5px;color:var(--br-muted);font-size:9px;line-height:1.25;text-align:center}
.br-series-section .br-pagination{margin-top:20px}
.br-series-section .br-empty{text-align:center;padding:35px 10px;color:var(--br-muted)}
.br-browse-section{margin-top:18px}
.br-browse-section .br-section-head{margin-bottom:12px}

@media(max-width:1100px){
  .br-series-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
  .br-series-breadcrumb{padding:0 2px}
  .br-series-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 11px}
  .br-series-title-wrap h1{font-size:23px}
}
@media(max-width:700px){
  .br-series-breadcrumb{padding:0 2px;margin-bottom:9px;font-size:10px}
  .br-series-section{padding:13px 12px 16px}
  .br-series-head{gap:10px;margin-bottom:13px}
  .br-series-title-wrap h1{font-size:20px}
  .br-series-title-wrap span{font-size:10px;margin-top:3px}
  .br-series-all{min-width:92px;height:38px;padding:0 10px;font-size:11px}
  .br-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  .br-series-thumb{border-radius:5px}
  .br-series-duration{left:5px;bottom:5px;font-size:9px}
  .br-series-card-title{margin-top:7px;min-height:38px;font-size:11px;line-height:1.65}
  .br-series-episode-label{margin-top:4px;font-size:8px}
}
@media(max-width:430px){
  .br-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 9px}
  .br-series-section{padding-left:10px;padding-right:10px}
  .br-series-title-wrap h1{font-size:18px}
  .br-series-all{min-width:auto;height:36px;padding:0 9px;font-size:10px}
  .br-series-all i{font-size:9px}
}
html[data-theme="dark"] .br-series-thumb{background:#1d2b3a}
html[data-theme="dark"] .br-series-all{background:var(--br-surface-2);color:var(--br-text)}
html[data-theme="dark"] .br-series-all:hover{background:#2b251b;border-color:var(--br-accent);color:#f0c45f}


/* ==========================================================
   Shahid4u v12 — dedicated /series/{slug} detail page only
   ========================================================== */
.br-series-detail{max-width:1160px;margin:0 auto}
.br-series-detail-breadcrumb{display:flex;align-items:center;gap:8px;direction:rtl;flex-wrap:wrap;margin:0 0 12px;padding:0 2px;color:var(--br-muted);font-size:11px}
.br-series-detail-breadcrumb a{color:#60738b}
.br-series-detail-breadcrumb strong{font-weight:500;color:var(--br-text)}
.br-series-hero{display:grid;grid-template-columns:minmax(0,1fr) 380px;direction:rtl;gap:28px;align-items:center;padding:18px;margin-bottom:18px}
.br-series-cover{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:#edf1f5;border:1px solid var(--br-line)}
.br-series-cover img{width:100%;height:100%;object-fit:cover}
.br-series-cover-empty{width:100%;height:100%;display:grid;place-items:center;color:#9aa7b6;font-size:38px}
.br-series-info{min-width:0;text-align:right}
.br-series-category{display:inline-flex;align-items:center;padding:8px 13px;border-radius:7px;background:#fff2cf;color:#a06f05;font-size:11px;margin-bottom:10px}
.br-series-info h1{margin:0;font-size:31px;line-height:1.35;font-weight:700}
.br-series-stats{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0 14px}
.br-series-stats span{padding:5px 11px;border-radius:18px;background:#f0f3f7;border:1px solid var(--br-line);font-size:10px;color:#64748a}
.br-series-story{color:#536579;font-size:13px;line-height:2.1;margin-bottom:16px}
.br-series-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.br-series-primary-btn,.br-series-secondary-btn{min-height:44px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--br-accent);font-size:12px}
.br-series-primary-btn{background:var(--br-accent);color:#fff}
.br-series-secondary-btn{background:var(--br-surface);color:#8d6408}
.br-series-episodes{padding:18px;margin-bottom:18px}
.br-series-block-head{display:flex;align-items:end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--br-line);padding-bottom:11px;margin-bottom:15px}
.br-series-block-head h2{margin:0;font-size:22px;line-height:1.35}
.br-series-block-head h2:after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:var(--br-accent);margin-top:8px}
.br-series-block-head span{display:block;color:var(--br-muted);font-size:10px;margin-top:4px}
.br-series-all-link{font-size:11px;color:#64748a;white-space:nowrap}
.br-series-season-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.br-series-season-tabs a{border:1px solid var(--br-line);border-radius:7px;padding:8px 14px;background:var(--br-surface-2);font-size:11px;color:#586c83}
.br-series-season-tabs a:hover{border-color:var(--br-accent);color:var(--br-accent-2)}
.br-series-season{scroll-margin-top:90px;margin-top:18px}
.br-series-season:first-child{margin-top:0}
.br-series-season-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.br-series-season-head h3{margin:0;font-size:17px;font-weight:700}
.br-series-season-head span{font-size:10px;color:var(--br-muted)}
.br-series-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 14px}
.br-series-detail-card{min-width:0}
.br-series-detail-card-link{display:block;text-align:center}
.br-series-detail-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:6px;background:#edf1f5}
.br-series-detail-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .18s ease}
.br-series-detail-card-link:hover img{transform:scale(1.015)}
.br-series-detail-duration{position:absolute;left:6px;bottom:6px;padding:3px 5px;border-radius:3px;background:rgba(7,14,22,.88);color:#fff;font-size:9px;line-height:1;direction:ltr}
.br-series-detail-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .18s ease}
.br-series-detail-play i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(20,34,49,.8);color:#fff;font-size:13px}
.br-series-detail-card-link:hover .br-series-detail-play{opacity:1}
.br-series-detail-card h4{margin:8px 0 0;font-size:12px;line-height:1.7;font-weight:600;color:var(--br-text);min-height:40px}
.br-series-detail-epno{display:block;margin-top:4px;font-size:9px;color:var(--br-muted)}
.br-series-browse{padding:18px}
.br-series-browse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.br-series-browse-grid a{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);font-size:11px}
.br-series-browse-grid i{font-size:9px;color:#8996a5}

html[data-theme="dark"] .br-series-category{background:#352d1d;color:#f0c45f}
html[data-theme="dark"] .br-series-stats span{background:var(--br-surface-2);color:var(--br-muted)}
html[data-theme="dark"] .br-series-story{color:#bac7d5}
html[data-theme="dark"] .br-series-secondary-btn{color:#f0c45f;background:var(--br-surface-2)}
html[data-theme="dark"] .br-series-season-tabs a{background:var(--br-surface-2);color:var(--br-text)}
html[data-theme="dark"] .br-series-browse-grid a{background:var(--br-surface-2);color:var(--br-text)}

@media(max-width:900px){
 .br-series-hero{grid-template-columns:1fr 320px;gap:20px}
 .br-series-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .br-series-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
 .br-series-detail{width:100%}
 .br-series-detail-breadcrumb{font-size:10px;margin-bottom:9px}
 .br-series-hero{grid-template-columns:1fr;gap:14px;padding:12px}
 .br-series-info h1{font-size:23px}
 .br-series-story{font-size:12px;line-height:1.9}
 .br-series-actions{grid-template-columns:1fr}
 .br-series-episodes,.br-series-browse{padding:12px}
 .br-series-block-head h2{font-size:19px}
 .br-series-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
 .br-series-detail-card h4{font-size:11px;min-height:37px}
 .br-series-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
 .br-series-hero{padding:10px}
 .br-series-info h1{font-size:20px}
 .br-series-category{font-size:10px;padding:7px 10px}
 .br-series-stats span{font-size:9px}
 .br-series-story{font-size:11px}
 .br-series-detail-grid{gap:15px 9px}
 .br-series-detail-thumb{border-radius:5px}
 .br-series-detail-duration{left:5px;bottom:5px;font-size:8px}
 .br-series-detail-card h4{font-size:10px;line-height:1.6}
 .br-series-browse-grid{grid-template-columns:1fr}
}

/* Shahid4u v15 — related content + browse categories on Single */
.br-related-section,.br-browse-section{margin-top:18px}
.br-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 14px}
.br-related-card .br-card-title{font-size:12px;line-height:1.65}
.br-related-card .br-card-meta{font-size:9px}.br-related-card .br-duration{display:inline-flex;align-items:center;justify-content:center;min-width:36px;direction:ltr;font-variant-numeric:tabular-nums}
.br-single-browse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.br-single-browse-item{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);font-size:11px;transition:border-color .15s ease,background .15s ease,color .15s ease}
.br-single-browse-item i{font-size:9px;color:#8996a5}
.br-single-browse-item:hover,.br-single-browse-item.active{border-color:var(--br-accent);background:#fff9e9;color:#8d6408}
html[data-theme="dark"] .br-single-browse-item{background:var(--br-surface-2);color:var(--br-text)}
html[data-theme="dark"] .br-single-browse-item:hover,html[data-theme="dark"] .br-single-browse-item.active{background:#302919;color:#f0c45f;border-color:var(--br-accent)}
@media(max-width:900px){.br-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.br-single-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.br-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.br-single-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.br-related-card .br-card-title{font-size:11px}}
@media(max-width:430px){.br-single-browse-grid{grid-template-columns:1fr}.br-related-grid{gap:15px 9px}}


/* Shahid4u v18 — category/archive page */
.br-category-page{max-width:1160px;margin:0 auto}
.br-category-content{padding:18px}
.br-category-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:1px solid var(--br-line);padding-bottom:12px;margin-bottom:17px}
.br-category-heading-title h1{margin:0;font-size:23px;line-height:1.35;font-weight:700}
.br-category-heading-title h1:after{content:"";display:block;width:34px;height:3px;border-radius:3px;background:var(--br-accent);margin-top:8px}
.br-category-heading-title span{display:block;color:var(--br-muted);font-size:10px;margin-top:4px}
.br-category-all{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#60738a;white-space:nowrap}
.br-category-grid{gap:20px 15px}
.br-category-browse{padding:18px;margin-top:18px}
.br-category-browse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.br-category-browse-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);font-size:11px;transition:border-color .15s ease,background .15s ease,color .15s ease}
.br-category-browse-grid a i{font-size:9px;color:#8996a5}
.br-category-browse-grid a:hover,.br-category-browse-grid a.active{border-color:var(--br-accent);background:#fff9e9;color:#8d6408}
html[data-theme="dark"] .br-category-browse-grid a{background:var(--br-surface-2);color:var(--br-text)}
html[data-theme="dark"] .br-category-browse-grid a:hover,html[data-theme="dark"] .br-category-browse-grid a.active{background:#302919;color:#f0c45f;border-color:var(--br-accent)}
@media(max-width:850px){
  .br-category-grid{gap:17px 12px}
  .br-category-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .br-category-content,.br-category-browse{padding:12px}
  .br-category-heading{align-items:flex-end;margin-bottom:14px}
  .br-category-heading-title h1{font-size:19px}
  .br-category-all{font-size:10px}
  .br-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  .br-category-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
  .br-category-heading-title h1{font-size:18px}
  .br-category-heading-title span{font-size:9px}
  .br-category-grid{gap:15px 9px}
  .br-category-browse-grid{grid-template-columns:1fr}
}

/* Shahid4u v21 — shared browse sidebar on films/series/episodes/categories */
.br-listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}
.br-listing-main{min-width:0}
.br-listing-sidebar{min-width:0;position:sticky;top:92px}
.br-category-sidebar{padding:13px}
.br-category-sidebar .br-side-head{margin-bottom:10px}
.br-category-sidebar-list{display:flex;flex-direction:column;gap:8px}
.br-category-sidebar-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--br-line);border-radius:7px;background:var(--br-surface-2);color:var(--br-text);font-size:11px;text-decoration:none;transition:border-color .15s ease,background .15s ease,color .15s ease}
.br-category-sidebar-item i{font-size:9px;color:#8996a5}
.br-category-sidebar-item:hover,.br-category-sidebar-item.active{border-color:var(--br-accent);background:#fff9e9;color:#8d6408}
html[data-theme="dark"] .br-category-sidebar-item{background:var(--br-surface-2);color:var(--br-text)}
html[data-theme="dark"] .br-category-sidebar-item:hover,html[data-theme="dark"] .br-category-sidebar-item.active{background:#302919;color:#f0c45f;border-color:var(--br-accent)}
@media(max-width:850px){.br-listing-layout{grid-template-columns:1fr}.br-listing-sidebar{position:static}.br-category-sidebar-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
@media(max-width:430px){.br-category-sidebar-list{grid-template-columns:1fr}}

.br-watch-hero{margin-top:13px}.br-watch-hero .br-inline-actions{margin-top:12px}


/* Shahid4u v1 — screenshot-inspired dark poster grid */
:root,
html[data-theme="light"],
html[data-theme="dark"]{
  --br-accent:#70b516;
  --br-accent-2:#83c91e;
  --br-bg:#141414;
  --br-surface:#232323;
  --br-surface-2:#202020;
  --br-text:#f4f4f4;
  --br-muted:#9a9a9a;
  --br-line:#303030;
  --br-shadow:none;
  --br-header:#242424;
  --br-drawer:#242424;
  --br-danger:#c94b4b;
}
html,body{background:#141414!important;color:#f1f1f1!important;color-scheme:dark}
body{font-family:Cairo,Tahoma,Arial,sans-serif}
a{color:inherit}
.br-header{height:66px;background:#242424!important;border:0!important;box-shadow:none!important}
.br-header-inner{max-width:1320px;padding:0 16px;position:relative;justify-content:space-between}
.br-header-actions{position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:4;flex:0 0 40px}
.br-icon-btn{color:#5e5e5e!important;font-size:26px}
.br-brand{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;justify-content:center;max-width:35%;}
.br-brand img{max-height:60px;max-width:180px}
.br-brand-fallback{font-size:25px;color:#77bb20;white-space:nowrap}
.br-brand-mark{width:27px;height:27px;background:#70b516;color:#171717}
.br-search{position:absolute;right:72px;top:50%;transform:translateY(-50%);width:232px;max-width:calc(50vw - 105px);min-width:130px;flex:none;height:40px;border:1px solid #303030!important;border-radius:5px;background:#242424!important;margin:0}
.br-search button{background:transparent!important;color:#606060!important;width:38px}
.br-search input{background:transparent!important;color:#eee!important;font-size:12px}
.br-search input::placeholder{color:#777!important}
.br-search-mic,.br-theme-switch{display:none!important}
.br-mobile-search-btn{display:none!important}
.mt-nav{position:sticky;top:66px;z-index:890;min-height:40px;background:#292929;border-bottom:1px solid #1d1d1d;color:#929292}
.mt-nav-inner{max-width:1220px;min-height:40px;margin:0 auto;padding:0 12px;display:flex;align-items:stretch;justify-content:center;gap:24px;white-space:nowrap;overflow:visible}
.mt-nav-link,.mt-nav-dropdown>button{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 2px;border:0;background:transparent;color:#858585;font-size:12px;font-weight:500;transition:color .15s ease}
.mt-nav-link:hover,.mt-nav-dropdown:hover>button,.mt-nav-dropdown:focus-within>button{color:#75b91a}
.mt-nav-dropdown{position:relative;display:flex;align-items:stretch}
.mt-nav-dropdown>button{cursor:pointer;font-family:inherit}
.mt-nav-dropdown>button i{font-size:9px}
.mt-nav-dropdown-menu{display:none;position:absolute;top:100%;right:0;width:190px;max-height:360px;overflow-y:auto;background:#242424;border-left:6px solid #05b6e7;box-shadow:0 10px 25px rgba(0,0,0,.35);padding:0;z-index:1000}
.mt-nav-dropdown:hover .mt-nav-dropdown-menu,.mt-nav-dropdown:focus-within .mt-nav-dropdown-menu{display:block}
.mt-nav-dropdown-menu a{display:block;padding:10px 15px;color:#a0a0a0;text-align:right;font-size:12px;border-bottom:1px solid #292929}
.mt-nav-dropdown-menu a:hover{background:#303030;color:#fff}
.br-page{max-width:1280px;padding:20px 18px 38px;background:transparent!important}
.br-section,.br-side-box{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.br-section{padding:0!important}
.br-home-posters{width:100%;min-width:0}
.mt-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mt-poster-grid,.br-grid-3,.br-grid-6,.br-category-grid,.br-related-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
.br-card{min-width:0;background:#232323;border-radius:4px;overflow:hidden;box-shadow:none;transition:background .18s ease,transform .18s ease}
.br-card:hover{background:#292929;transform:translateY(-2px)}
.br-card-link{height:100%;display:flex;flex-direction:column}
.br-thumb{aspect-ratio:2/3!important;border:0!important;border-radius:4px 4px 0 0!important;background:#101010!important;overflow:hidden}
.br-thumb img{object-fit:cover!important}
.br-thumb-empty{background:#171717;color:#777}
.br-ribbon{top:27px!important;left:-31px!important;transform:rotate(-45deg)!important;min-width:123px!important;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#70b516!important;color:#fff!important;font-size:11px!important;font-weight:800;padding:3px 0!important;line-height:19px!important;border:0!important;border-radius:0!important}
.br-corner-badge{position:absolute;top:0;right:0;z-index:3;padding:3px 12px;background:#70b516;color:#fff;font-size:10px;font-weight:700;line-height:19px;border-radius:0 0 0 3px}
.br-duration{background:rgba(0,0,0,.82)!important;color:#fff!important}
.br-play i{background:rgba(112,181,22,.88)!important}
.br-card-title{flex:1 0 auto;margin:0!important;padding:9px 8px 13px!important;min-height:78px;font-size:13px!important;line-height:1.65!important;font-weight:600!important;text-align:center!important;color:#f5f5f5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.br-card-meta{display:none!important}
.br-full-section,.mt-home-section{margin-top:25px!important}
.br-section-head,.br-side-head{border-bottom:1px solid #303030!important;padding:0 0 10px!important;margin:0 0 15px!important;align-items:center!important}
.br-section-head h1,.br-section-head h2,.br-side-head h2{font-size:18px!important;color:#f0f0f0!important}
.br-section-head h1:after,.br-section-head h2:after,.br-side-head h2:after{background:#70b516!important;width:28px!important;height:3px!important;margin-top:6px!important}
.br-section-head span,.br-section-head>a,.br-side-head>a{color:#929292!important}
.br-footer{background:#242424!important;border:0!important;color:#999!important;margin-top:0!important}
.br-footer-inner{max-width:1000px!important;border:0!important}
.br-footer-links a{color:#a1a1a1!important}
.br-footer-links a:hover{color:#70b516!important}
.br-footer-copy{background:#141414!important;border-top:1px solid #202020!important;color:#777!important}
.br-overlay{background:rgba(0,0,0,.64)!important}
.br-drawer{background:#242424!important;color:#eee!important;border-left:1px solid #333!important}
.br-drawer-head,.br-drawer-section-title,.br-drawer-footer{border-color:#353535!important}
.br-drawer-logo span,.br-drawer-nav,.br-nav-item,.br-drawer-cat{color:#eee!important}
.br-nav-item:hover,.br-drawer-cat:hover{background:#303030!important}
.br-drawer-close{background:#303030!important;border-color:#3a3a3a!important;color:#eee!important}
.br-drawer-section-title{color:#999!important}
.br-category-content,.br-category-sidebar,.br-browse-box,.br-content-box,.br-series-hero,.br-series-episodes,.br-series-browse,.br-download-hero,.br-watch-hero,.br-watch-panel,.br-single-panel,.br-filter-box{background:#1f1f1f!important;border-color:#303030!important;box-shadow:none!important;color:#eee!important}
.br-category-heading-title h1,.br-series-info h1,.br-series-block-head h2,.br-content-box h2,.br-single-title h1,.br-watch-title h1{color:#f3f3f3!important}
.br-category-heading-title span,.br-series-story,.br-series-stats span,.br-series-detail-epno,.br-breadcrumb,.br-content-text,.br-meta-grid,.br-card-description{color:#b0b0b0!important}
.br-series-stats span,.br-series-season-tabs a,.br-series-browse-grid a,.br-category-browse-grid a,.br-category-sidebar-item,.br-single-browse-item{background:#292929!important;border-color:#383838!important;color:#ddd!important}
.br-series-season-tabs a:hover,.br-series-browse-grid a:hover,.br-category-browse-grid a:hover,.br-category-sidebar-item:hover,.br-single-browse-item:hover{background:#303030!important;border-color:#70b516!important;color:#8bd12b!important}
.br-series-detail-card h4{color:#eee!important}
.br-filter-form input,.br-filter-form select,.br-search input,.br-comment-form input,.br-comment-form textarea{background:#292929!important;border-color:#383838!important;color:#eee!important}
.br-pagination a,.br-pagination span{background:#252525!important;border-color:#363636!important;color:#aaa!important}
.br-pagination a.active,.br-pagination a:hover{background:#70b516!important;border-color:#70b516!important;color:#fff!important}
.br-tabs a{color:#aaa!important}
.br-tabs a.active,.br-tabs a:hover{background:#70b516!important;color:#fff!important;border-color:#70b516!important}
@media(max-width:1150px){
  .mt-nav-inner{gap:16px}
  .mt-poster-grid,.br-grid-3,.br-grid-6,.br-category-grid,.br-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .mt-nav-inner{justify-content:flex-start;gap:18px;overflow-x:auto;scrollbar-width:none}
  .mt-nav-inner::-webkit-scrollbar{display:none}
  .mt-contact-link{display:none}
  .mt-poster-grid,.br-grid-3,.br-grid-6,.br-category-grid,.br-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:700px){
  .br-header{height:60px!important}
  .br-header-inner{padding:0 10px}
  .br-header-actions{right:8px;}
  .br-brand{max-width:44%;}
  .br-brand img{max-height:48px!important;max-width:130px!important}
  .br-brand-fallback{font-size:21px!important}
  .br-search{display:none!important;top:66px!important;right:10px!important;left:10px!important;width:auto!important;max-width:none!important;height:40px!important;transform:none!important;z-index:910}
  .br-header.br-search-open .br-search{display:flex!important}
  .br-mobile-search-btn{display:block!important;position:absolute;left:10px;top:10px;width:38px;height:40px;color:#999!important;z-index:4}
  .mt-nav{top:60px;min-height:38px}
  .mt-nav-inner{min-height:38px;padding:0 11px;gap:17px}
  .mt-nav-link,.mt-nav-dropdown>button{min-height:38px;font-size:11px}
  .mt-nav-category:nth-of-type(n+7){display:none}
  .br-page{padding:13px 10px 27px!important}
  .mt-poster-grid,.br-grid-3,.br-grid-6,.br-category-grid,.br-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important}
  .br-card-title{font-size:12px!important;min-height:68px;padding:7px 6px 10px!important}
  .br-ribbon{top:24px!important;left:-35px!important;min-width:112px!important;font-size:9px!important;line-height:17px!important}
  .br-corner-badge{font-size:9px;padding:2px 8px}
  .br-footer-inner{padding:22px 12px!important}
}
@media(max-width:360px){
  .br-page{padding-left:8px!important;padding-right:8px!important}
  .mt-poster-grid,.br-grid-3,.br-grid-6,.br-category-grid,.br-related-grid{gap:10px 8px!important}
  .br-card-title{font-size:11px!important}
}

/* V2: keep metadata chips and secondary action buttons aligned with the dark theme */
.br-chip-row a{background:#292929!important;border-color:#383838!important;color:#ddd!important}
.br-chip-row a:hover{background:#303030!important;border-color:#70b516!important;color:#8bd12b!important}
.br-secondary-btn{background:#292929!important;border-color:#383838!important;color:#eee!important}
.br-secondary-btn:hover{background:#303030!important;border-color:#70b516!important;color:#8bd12b!important}

/* Shahid4u v1 — reference-inspired red and midnight-indigo interface */
:root,html[data-theme="light"],html[data-theme="dark"]{
  --br-accent:#f1363e;--br-accent-2:#ff4b52;--br-bg:#100f12;--br-surface:#1e1d30;--br-surface-2:#17162a;
  --br-text:#f7f7fb;--br-muted:#a2a1b4;--br-line:#302f43;--br-shadow:none;--br-header:#202039;--br-drawer:#1b1a2d;--br-danger:#f1363e;
}
html,body{background:#100f12!important;color:#f5f4fa!important;color-scheme:dark}
body{font-family:Cairo,Tahoma,Arial,sans-serif;background-image:radial-gradient(ellipse at 25% 20%,rgba(66,43,76,.12),transparent 36%),radial-gradient(ellipse at 82% 64%,rgba(39,44,85,.12),transparent 33%)!important}
a{color:inherit}
/* Main red navigation strip sits above the brand/search bar. */
.mt-nav{position:sticky!important;top:0!important;z-index:980!important;min-height:64px;background:#f1363e!important;border:0!important;color:#fff!important;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.mt-nav-inner{max-width:1200px!important;min-height:64px!important;margin:0 auto!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:20px!important;white-space:nowrap;overflow:visible;direction:rtl}
.mt-nav-link,.mt-nav-dropdown>button{min-height:64px!important;display:flex;align-items:center;gap:6px;padding:0 1px!important;color:#fff!important;font-size:13px!important;font-weight:800!important;transition:opacity .18s ease}
.mt-nav-link:hover,.mt-nav-dropdown:hover>button,.mt-nav-dropdown:focus-within>button{color:#fff!important;opacity:.78}
.mt-nav-dropdown-menu{background:#201f38!important;border:0!important;border-top:3px solid #fff!important;box-shadow:0 12px 30px rgba(0,0,0,.3)!important}
.mt-nav-dropdown-menu a{color:#eeedf5!important;border-bottom:1px solid #343249!important}
.mt-nav-dropdown-menu a:hover{background:#312f4c!important;color:#fff!important}
/* Indigo brand row */
.br-header{position:relative!important;top:auto!important;height:90px!important;background:#202039!important;border:0!important;border-bottom:1px solid #34334b!important;box-shadow:none!important}
.br-header-inner{max-width:1200px!important;padding:0 18px!important;display:flex!important;flex-direction:row!important;direction:ltr!important;justify-content:space-between!important;gap:24px!important}
.br-header-actions{display:none!important}
.br-brand.sh-brand{position:static!important;left:auto!important;top:auto!important;transform:none!important;order:2!important;flex:0 0 auto!important;max-width:none!important;margin-left:auto!important;justify-content:flex-end!important}
.sh-brand-word{display:inline-flex;align-items:center;direction:ltr;font-family:Arial,Tahoma,sans-serif;font-size:42px;line-height:1;font-weight:800;letter-spacing:-1.2px;color:#fff;white-space:nowrap}
.sh-brand-word b,.sh-drawer-wordmark b{color:#f1363e;font-weight:900}
.br-search{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;order:1!important;flex:0 1 400px!important;width:400px!important;max-width:44%!important;min-width:270px!important;height:44px!important;margin:0!important;padding:4px!important;border:1px solid #35344b!important;border-radius:28px!important;background:#101027!important;direction:ltr!important;overflow:hidden}
.br-search button{order:3!important;flex:0 0 66px!important;width:66px!important;height:100%!important;border-radius:24px!important;background:#fff!important;color:#f1363e!important;font-weight:800!important;font-family:inherit;font-size:13px!important}
.br-search input{order:2!important;background:transparent!important;color:#f5f4fb!important;padding:0 13px!important;font-size:13px!important;direction:rtl!important}
.br-search input::placeholder{color:#85849e!important}
.br-search-mic,.br-theme-switch{display:none!important}
.br-mobile-search-btn{display:none!important}
.sh-drawer-wordmark span{font-family:Arial,Tahoma,sans-serif;font-weight:800;color:#fff;font-size:27px;direction:ltr;display:inline-block}
.sh-drawer-wordmark b{font-weight:900}
/* Home page hero carousel */
main.br-page:has(.shahid4u-home){max-width:none!important;width:100%!important;padding:0 0 34px!important;margin:0!important}
.shahid4u-home{width:100%;min-width:0}
.sh-hero-wrap{position:relative;width:100%;overflow:hidden;background:#0b0b0f;border-bottom:3px solid #f1363e;isolation:isolate}
.sh-hero-track{display:grid;grid-auto-flow:column;grid-auto-columns:16.666667%;align-items:stretch;direction:rtl;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain}
.sh-hero-track::-webkit-scrollbar{display:none}
.sh-featured-card{display:block;min-width:0;scroll-snap-align:center;text-decoration:none!important}
.sh-featured-poster{height:342px;position:relative;overflow:hidden;background:#191821}
.sh-featured-poster>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.sh-featured-card:hover .sh-featured-poster>img{transform:scale(1.035)}
.sh-featured-empty{height:100%;display:grid;place-items:center;color:#777;font-size:28px}
.sh-featured-shade{position:absolute;inset:22% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.35) 42%,rgba(0,0,0,.96) 100%);pointer-events:none}
.sh-featured-copy{position:absolute;z-index:2;right:12px;left:12px;bottom:14px;display:flex;flex-direction:column;gap:4px;color:#fff;text-align:center;text-shadow:0 1px 3px #000}
.sh-featured-copy strong{font-size:14px;font-weight:800;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sh-featured-copy small{font-size:11px;font-weight:700;line-height:1.45;color:#f0eef2}
.sh-episode-badge{position:absolute;z-index:3;top:10px;right:10px;min-width:62px;max-width:calc(100% - 20px);padding:7px 9px;border-radius:10px;background:rgba(0,0,0,.76);color:#fff;text-align:center;font-size:12px;line-height:1.3;font-weight:800}
.sh-new-ribbon{position:absolute;z-index:4;top:16px;left:-29px;width:112px;padding:5px 0;background:#f1363e;color:#fff;text-align:center;font-size:11px;font-weight:800;transform:rotate(-45deg);box-shadow:0 3px 8px rgba(0,0,0,.24)}
.sh-hero-arrow{position:absolute;z-index:5;top:42%;width:54px;height:50px;display:grid;place-items:center;border:0;background:#f1363e;color:#fff;font-size:18px;cursor:pointer;transition:background .15s ease}
.sh-hero-arrow:hover{background:#c9252c}
.sh-hero-next{right:0;border-radius:30px 0 0 30px}
.sh-hero-prev{left:0;border-radius:0 30px 30px 0}
.sh-hero-empty{padding:70px 14px;text-align:center;color:#aaa}
/* Shortcut cards */
.sh-quick-links{max-width:1160px;margin:56px auto 20px;padding:0 4px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}
.sh-quick-card{min-width:0;min-height:62px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:9px;direction:rtl;background:#201f38;border-radius:6px;text-decoration:none!important;transition:transform .16s ease,background .16s ease;position:relative}
.sh-quick-card:hover{background:#2a2946;transform:translateY(-2px)}
.sh-quick-card strong{font-size:12px;line-height:1.4;font-weight:800;color:#f7f6fc;text-align:center;flex:1}
.sh-quick-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:50%;border:4px solid #201f38;color:#fff;font-size:20px;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.sh-icon-clap{background:#ef5874}.sh-icon-camera{background:#e8aa06}.sh-icon-tag{background:#c6312e}.sh-icon-star{background:#a13ab4}.sh-icon-imdb{background:#a98323}.sh-icon-latest{background:#1fb99c}
.sh-quick-card.is-active{background:#f1363e}.sh-quick-card.is-active .sh-quick-icon{border-color:#f1363e}
/* Functional filters retain the existing search URL parameters */
.sh-filter-wrap{max-width:1160px;margin:0 auto 30px;padding:0 4px}
.sh-filter-title{display:none}
.sh-filter-wrap .br-filter-panel{max-width:none;width:100%;margin:0;padding:22px 17px;background:#201f38!important;border:0!important;border-radius:6px!important;box-shadow:none!important}
.sh-filter-wrap .br-filter-row{grid-template-columns:repeat(6,minmax(0,1fr)) auto;gap:13px;align-items:center}
.sh-filter-wrap .br-filter-form label span{display:none!important}
.sh-filter-wrap .br-filter-form select{height:40px!important;padding:0 13px!important;border:0!important;border-radius:28px!important;background:#08071d!important;color:#f3f2f9!important;font-family:inherit;font-size:12px!important}
.sh-filter-wrap .br-filter-form button{height:40px!important;padding:0 16px!important;border:0!important;border-radius:25px!important;background:#f1363e!important;color:#fff!important;font-family:inherit;font-weight:800}
.sh-filter-wrap .br-filter-form button:hover{background:#c9252c!important}
/* Latest cards: portrait artwork and captions over the bottom gradient */
.sh-latest-section{max-width:1160px;margin:32px auto 0;padding:0 4px}
.sh-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 22px;padding:0 0 12px;border-bottom:1px solid #292838}
.sh-section-title h2{margin:0;color:#f6f5fb;font-size:20px;line-height:1.45;font-weight:900}
.sh-section-title h2:after{content:"";display:block;width:38px;height:3px;margin-top:9px;background:#f1363e;border-radius:5px}
.sh-section-title>a{color:#f58a8f;font-size:12px;font-weight:700;white-space:nowrap}
.sh-section-title>a i{margin-right:5px}
.sh-latest-grid,.sh-home-category .br-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px 22px!important}
.sh-latest-grid .br-card,.sh-home-category .br-card{position:relative;background:transparent!important;border-radius:10px!important;overflow:hidden;box-shadow:none!important;transform:none!important}
.sh-latest-grid .br-card-link,.sh-home-category .br-card-link{position:relative;display:block!important;height:auto!important;overflow:hidden;border-radius:10px!important;background:#181722}
.sh-latest-grid .br-thumb,.sh-home-category .br-thumb{position:relative;aspect-ratio:2/3!important;height:auto!important;border:0!important;border-radius:10px!important;background:#191821!important;overflow:hidden}
.sh-latest-grid .br-thumb:after,.sh-home-category .br-thumb:after{content:"";position:absolute;inset:23% 0 0;z-index:1;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 35%,rgba(0,0,0,.96) 100%);pointer-events:none}
.sh-latest-grid .br-thumb img,.sh-home-category .br-thumb img{width:100%;height:100%;object-fit:cover!important;transition:transform .25s ease}
.sh-latest-grid .br-card:hover .br-thumb img,.sh-home-category .br-card:hover .br-thumb img{transform:scale(1.035)}
.sh-latest-grid .br-ribbon,.sh-home-category .br-ribbon{left:auto!important;right:10px!important;top:10px!important;z-index:3;transform:none!important;min-width:0!important;max-width:calc(100% - 20px);width:auto!important;padding:6px 9px!important;border-radius:10px!important;background:rgba(0,0,0,.76)!important;color:#fff!important;font-size:11px!important;line-height:1.4!important;font-weight:800!important;overflow:hidden;text-overflow:ellipsis}
.sh-latest-grid .br-corner-badge,.sh-home-category .br-corner-badge{top:0;left:0;right:auto;z-index:4;background:#f1363e;color:#fff;border-radius:0 0 8px 0}
.sh-latest-grid .br-card-title,.sh-home-category .br-card-title{position:relative;z-index:2;margin:-82px 0 0!important;padding:24px 10px 12px!important;min-height:82px!important;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 6%,rgba(0,0,0,.94) 32%,rgba(0,0,0,.96) 100%);color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.6!important;text-align:center!important;-webkit-line-clamp:3!important;display:-webkit-box!important;overflow:hidden}
.sh-latest-grid .br-card-meta,.sh-home-category .br-card-meta{display:none!important}
.sh-home-category{margin-top:38px}
/* General content pages */
.br-page:not(:has(.shahid4u-home)){max-width:1200px!important;padding:24px 18px 40px!important}
.br-section,.br-side-box,.br-category-content,.br-category-sidebar,.br-browse-box,.br-content-box,.br-series-hero,.br-series-episodes,.br-series-browse,.br-download-hero,.br-watch-hero,.br-watch-panel,.br-single-panel,.br-filter-box{background:#1b1a2d!important;border-color:#302f43!important;box-shadow:none!important;color:#f4f3fa!important}
.br-section-head h1:after,.br-section-head h2:after,.br-side-head h2:after,.br-category-heading-title h1:after,.br-series-info h1:after{background:#f1363e!important}
.br-primary-btn,.br-series-primary-btn,.br-pagination a.active,.br-tabs a.active{background:#f1363e!important;border-color:#f1363e!important;color:#fff!important}
.br-primary-btn:hover,.br-series-primary-btn:hover,.br-pagination a.active:hover{background:#cb2830!important}
.br-secondary-btn,.br-series-secondary-btn,.br-series-season-tabs a,.br-series-browse-grid a,.br-category-browse-grid a,.br-category-sidebar-item,.br-single-browse-item,.br-chip-row a{background:#25243a!important;border-color:#38374e!important;color:#e8e7f0!important}
.br-secondary-btn:hover,.br-series-secondary-btn:hover,.br-series-season-tabs a:hover,.br-series-browse-grid a:hover,.br-category-browse-grid a:hover,.br-category-sidebar-item:hover,.br-single-browse-item:hover,.br-chip-row a:hover{background:#302f48!important;border-color:#f1363e!important;color:#fff!important}
.br-filter-form input,.br-filter-form select,.br-comment-form input,.br-comment-form textarea{background:#111025!important;border-color:#36354c!important;color:#f4f3fa!important}
.br-pagination a,.br-pagination span,.br-tabs a{background:#201f34!important;border-color:#37364b!important;color:#c9c8d7!important}
.br-pagination a:hover,.br-tabs a:hover{background:#302f48!important;border-color:#f1363e!important;color:#fff!important}
.br-drawer{background:#1b1a2d!important;color:#f4f3fa!important;border-color:#34334b!important}
.br-drawer-head,.br-drawer-section-title,.br-drawer-footer{border-color:#34334b!important}
.br-nav-item,.br-drawer-cat{color:#f0eff7!important}.br-nav-item:hover,.br-drawer-cat:hover{background:#2a2943!important}
.br-drawer-close{background:#25243a!important;border-color:#3c3b50!important;color:#fff!important}
/* Red footer band from the reference */
.br-footer{margin-top:0!important;background:#f1363e!important;border:0!important;color:#fff!important}
.br-footer-inner{max-width:1200px!important;padding:25px 18px!important;border:0!important}
.br-footer-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:22px;margin-bottom:12px}
.br-footer-links a{color:#fff!important;font-size:12px;font-weight:700}
.br-footer-links a:hover{color:#fff!important;text-decoration:underline}
.br-footer-copy{background:#d82c34!important;border:0!important;color:#fff!important;text-align:center;padding:10px 12px;font-size:12px}
/* Responsive treatment */
@media(max-width:1100px){
 .mt-nav-inner{gap:14px!important}.mt-nav-link,.mt-nav-dropdown>button{font-size:12px!important}
 .sh-quick-links,.sh-filter-wrap,.sh-latest-section{max-width:94%}
 .sh-quick-links{gap:12px}.sh-quick-icon{width:46px;height:46px;flex-basis:46px}
 .sh-latest-grid,.sh-home-category .br-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .sh-filter-wrap .br-filter-row{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:800px){
 .mt-nav{min-height:50px!important}.mt-nav-inner{min-height:50px!important;justify-content:flex-start!important;gap:18px!important;overflow-x:auto!important;scrollbar-width:none;padding:0 12px!important}.mt-nav-inner::-webkit-scrollbar{display:none}
 .mt-nav-link,.mt-nav-dropdown>button{min-height:50px!important;font-size:11px!important}.mt-contact-link{display:none!important}
 .br-header{height:76px!important}.br-header-inner{padding:0 14px!important;gap:12px!important}
 .sh-brand-word{font-size:34px}.br-search{max-width:48%!important;min-width:220px!important;height:41px!important}
 .sh-hero-track{grid-auto-columns:33.3333%}.sh-featured-poster{height:300px}
 .sh-quick-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}
 .sh-filter-wrap .br-filter-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .sh-latest-grid,.sh-home-category .br-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
}
@media(max-width:560px){
 .mt-nav{min-height:46px!important}.mt-nav-inner{min-height:46px!important;gap:15px!important}.mt-nav-link,.mt-nav-dropdown>button{min-height:46px!important;font-size:10px!important}
 .br-header{height:68px!important}.br-header-inner{padding:0 10px!important;gap:8px!important}
 .br-brand.sh-brand{max-width:none!important}.sh-brand-word{font-size:28px;letter-spacing:-.7px}
 .br-search{display:none!important}.br-mobile-search-btn{display:grid!important;place-items:center!important;position:static!important;order:1!important;flex:0 0 38px!important;width:38px!important;height:38px!important;background:#111027!important;border-radius:50%!important;color:#fff!important;font-size:16px!important}
 .br-header.br-search-open .br-search{display:flex!important;position:absolute!important;top:72px!important;left:10px!important;right:10px!important;width:auto!important;max-width:none!important;min-width:0!important;z-index:990!important;transform:none!important;background:#111027!important}
 .sh-hero-track{grid-auto-columns:50%}.sh-featured-poster{height:260px}.sh-featured-copy{right:7px;left:7px;bottom:9px}.sh-featured-copy strong{font-size:11px}.sh-featured-copy small{font-size:9px}.sh-episode-badge{top:7px;right:7px;min-width:48px;padding:5px 6px;font-size:10px}
 .sh-hero-arrow{width:38px;height:42px;font-size:14px}.sh-quick-links{max-width:none;width:100%;padding:0 10px;margin:22px auto 15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .sh-quick-card{min-height:54px;padding:6px 8px}.sh-quick-card strong{font-size:11px}.sh-quick-icon{width:42px;height:42px;flex-basis:42px;font-size:16px;border-width:3px}
 .sh-filter-wrap,.sh-latest-section{max-width:none;width:100%;padding:0 10px}.sh-filter-wrap .br-filter-panel{padding:13px!important}.sh-filter-wrap .br-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sh-filter-wrap .br-filter-form select{height:38px!important;font-size:11px!important}.sh-filter-wrap .br-filter-form button{grid-column:1/-1}
 .sh-latest-section{margin-top:28px}.sh-section-title{margin-bottom:14px;padding-bottom:9px}.sh-section-title h2{font-size:17px}.sh-latest-grid,.sh-home-category .br-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important}
 .sh-latest-grid .br-card-title,.sh-home-category .br-card-title{margin-top:-74px!important;min-height:74px!important;padding:21px 7px 8px!important;font-size:11px!important;line-height:1.55!important}
 .br-page:not(:has(.shahid4u-home)){padding:14px 10px 28px!important}
 .br-footer-inner{padding:20px 10px!important}.br-footer-links{gap:11px 16px}
}
@media(max-width:360px){.sh-hero-track{grid-auto-columns:66.6667%}.sh-featured-poster{height:245px}.sh-latest-grid,.sh-home-category .br-grid{gap:10px 8px!important}.sh-latest-grid .br-card-title,.sh-home-category .br-card-title{font-size:10px!important}}
.br-search button i{display:none!important}
.br-search button:after{content:"بحث";font-family:Cairo,Tahoma,Arial,sans-serif;font-size:13px;font-weight:800}

/* Shahid4u V1.1 navigation: one clear More menu populated by live Core categories. */
.mt-nav-dropdown>button{padding:0 10px!important;border-radius:8px;}
.mt-nav-dropdown>button i{margin-right:2px;}
.mt-nav-dropdown-menu{min-width:205px!important;width:max-content;max-width:min(280px,90vw);}
.mt-nav-dropdown-menu a{white-space:normal;}


/* Shahid4u V2.1 — Core-driven navigation menus by content type. */
.mt-nav-dropdown>.mt-nav-link{color:#fff!important;text-decoration:none!important;}
.mt-nav-dropdown>.mt-nav-link:hover,.mt-nav-dropdown:focus-within>.mt-nav-link{color:#fff!important;opacity:.82;}
.mt-nav-dropdown-menu .mt-nav-dropdown-all{font-weight:800!important;color:#fff!important;background:rgba(241,54,62,.15)!important;border-bottom:1px solid #f1363e!important;}
.mt-nav-menu-heading{padding:10px 14px 6px;color:#f1363e;font-size:11px;font-weight:800;border-bottom:1px solid #343249;}
.mt-nav-more-menu{max-height:min(70vh,480px)!important;}
.sh-drawer-group{margin:0 14px 7px;border:1px solid #343249;border-radius:9px;background:#201f38;color:#f3f2fb;overflow:hidden;}
.sh-drawer-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;cursor:pointer;list-style:none;font-size:12px;font-weight:700;}
.sh-drawer-group>summary::-webkit-details-marker{display:none;}
.sh-drawer-group>summary i{font-size:10px;color:#f1363e;transition:transform .15s ease;}
.sh-drawer-group[open]>summary i{transform:rotate(180deg);}
.sh-drawer-category-list{padding:0 8px 8px;}
.sh-drawer-category-list .br-drawer-cat{padding:9px 9px;border-bottom:1px solid #343249;color:#e6e4f1!important;}
.sh-drawer-category-list .br-drawer-cat:last-child{border-bottom:0;}
.sh-drawer-category-list .br-drawer-cat:hover{background:#2a2943!important;color:#fff!important;}
.sh-drawer-all-categories{margin-bottom:12px;}
.sh-drawer-all-categories .br-drawer-cats{padding:0 9px 8px;}
.sh-drawer-all-categories .br-drawer-cat{padding:10px 8px;border-bottom:1px solid #343249;color:#e6e4f1!important;}
@media(max-width:800px){
  .mt-nav-dropdown>.mt-nav-link{min-height:50px!important;font-size:11px!important;}
  .mt-nav-dropdown-menu{max-height:65vh!important;}
}
@media(max-width:560px){
  .mt-nav-dropdown>.mt-nav-link{min-height:46px!important;font-size:10px!important;}
}


/* Shahid4u V4 — mobile header and menu behave like the original mobile drawer. */
@media (max-width:720px){
  /* Replace the desktop horizontal menu with the hamburger-controlled drawer. */
  .mt-nav{display:none!important;}
  .br-header{height:70px!important;min-height:70px!important;position:relative!important;z-index:1400!important;overflow:visible!important;}
  .br-header-inner{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    grid-template-areas:"search logo menu"!important;
    align-items:center!important;
    justify-content:initial!important;
    gap:8px!important;
    width:100%!important;
    height:70px!important;
    min-height:70px!important;
    padding:0 12px!important;
    direction:ltr!important;
    position:relative!important;
  }
  .br-brand.sh-brand{
    position:static!important;left:auto!important;right:auto!important;top:auto!important;
    transform:none!important;grid-area:logo!important;justify-self:center!important;
    align-self:center!important;margin:0!important;max-width:100%!important;width:auto!important;
    flex:none!important;order:initial!important;z-index:1!important;
  }
  .sh-brand-word{font-size:30px!important;letter-spacing:-.8px!important;}
  .br-header-actions{
    display:flex!important;position:static!important;right:auto!important;top:auto!important;
    transform:none!important;grid-area:menu!important;justify-self:end!important;
    align-self:center!important;order:initial!important;flex:0 0 40px!important;
    width:40px!important;height:40px!important;z-index:2!important;
  }
  #brMenuBtn{
    display:grid!important;place-items:center!important;width:40px!important;height:40px!important;
    border:1px solid #383750!important;border-radius:11px!important;
    background:#111027!important;color:#fff!important;font-size:18px!important;
  }
  #brMenuBtn[aria-expanded="true"]{background:#f1363e!important;border-color:#f1363e!important;color:#fff!important;}
  .br-search{display:none!important;}
  .br-mobile-search-btn{
    display:grid!important;place-items:center!important;grid-area:search!important;
    position:static!important;left:auto!important;right:auto!important;top:auto!important;
    transform:none!important;order:initial!important;flex:0 0 40px!important;
    width:40px!important;height:40px!important;margin:0!important;border-radius:11px!important;
    background:#111027!important;color:#fff!important;font-size:16px!important;z-index:2!important;
  }
  .br-header.br-search-open .br-search{
    display:flex!important;position:absolute!important;top:74px!important;left:10px!important;right:10px!important;
    width:auto!important;max-width:none!important;min-width:0!important;z-index:1450!important;
    transform:none!important;background:#111027!important;
  }
  /* Keep the page visible but dimmed below the header; the drawer itself stays opaque. */
  .br-overlay{
    position:fixed!important;inset:70px 0 0!important;z-index:1450!important;
    background:rgba(0,0,0,.62)!important;backdrop-filter:blur(2px)!important;
  }
  .br-drawer{
    position:fixed!important;top:70px!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(86vw,320px)!important;max-width:320px!important;height:calc(100dvh - 70px)!important;
    min-height:0!important;margin:0!important;padding:0 0 env(safe-area-inset-bottom)!important;
    display:flex!important;flex-direction:column!important;overflow-x:hidden!important;overflow-y:auto!important;
    overscroll-behavior:contain!important;background:#111020!important;opacity:1!important;
    color:#f4f3fa!important;border:0!important;border-left:1px solid #34334b!important;
    border-radius:0!important;box-shadow:-22px 0 60px rgba(0,0,0,.48)!important;
    transform:translateX(110%)!important;transition:transform .25s ease!important;
    z-index:1460!important;isolation:isolate!important;
  }
  .br-drawer.open{transform:translateX(0)!important;}
  .br-drawer-head{
    position:sticky!important;top:0!important;z-index:2!important;flex:0 0 70px!important;height:70px!important;
    min-height:70px!important;background:#19182c!important;border-bottom:1px solid #34334b!important;
    padding:12px 14px!important;opacity:1!important;
  }
  .br-drawer-head *{opacity:1!important;}
  .br-drawer-close{width:38px!important;height:38px!important;border-radius:10px!important;background:#292842!important;border-color:#41405a!important;color:#fff!important;}
  .br-drawer-logo span{font-size:24px!important;color:#fff!important;}
  .br-drawer-nav{display:flex!important;flex-direction:column!important;padding:10px 10px 4px!important;gap:4px!important;}
  .br-nav-item{display:flex!important;align-items:center!important;min-height:43px!important;padding:10px 12px!important;border-radius:8px!important;background:#1b1a30!important;color:#f5f4fa!important;font-size:13px!important;font-weight:800!important;}
  .br-nav-item>i:first-child{color:#f1363e!important;width:22px!important;}
  .br-nav-item:hover,.br-drawer-cat:hover{background:#292842!important;color:#fff!important;}
  .sh-drawer-group{margin:0 10px 7px!important;border:1px solid #34334b!important;border-radius:8px!important;background:#1b1a30!important;opacity:1!important;}
  .sh-drawer-group>summary{min-height:40px!important;padding:10px 11px!important;color:#e9e8f2!important;font-size:12px!important;}
  .sh-drawer-category-list,.sh-drawer-all-categories .br-drawer-cats{background:#141326!important;}
  .sh-drawer-category-list .br-drawer-cat,.sh-drawer-all-categories .br-drawer-cat{display:flex!important;padding:10px 10px!important;color:#d9d8e8!important;background:transparent!important;font-size:12px!important;}
  .br-drawer-section-title{padding:14px 17px 8px!important;color:#f1363e!important;font-size:12px!important;font-weight:800!important;border-top:1px solid #34334b!important;}
  .sh-drawer-all-categories{margin-bottom:12px!important;}
  .br-drawer-footer{margin-top:8px!important;padding:16px 14px!important;gap:16px!important;background:#19182c!important;color:#aaa8c0!important;}
  .br-lock-scroll{overflow:hidden!important;}
}
@media(max-width:380px){
  .sh-brand-word{font-size:27px!important;}
  .br-header-inner{padding:0 9px!important;gap:6px!important;}
  .br-drawer{width:min(88vw,310px)!important;}
}

/* Shahid4u V5 — detail page / single episode design. Scoped to the single template. */
.sh-single-v5{max-width:1190px;margin:0 auto;padding:18px 18px 34px;color:#f7f6fb}
.sh-single-v5 a{color:inherit;text-decoration:none}
.sh-single-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;color:#d1cede;font-size:12px;line-height:1.8}
.sh-single-breadcrumb a{color:#f5f2fa}.sh-single-breadcrumb a:hover{color:#ff555b}.sh-single-breadcrumb i{font-size:10px;color:#f1363e}.sh-single-breadcrumb strong{font-weight:800;color:#fff;min-width:0}
.sh-single-hero{display:grid;direction:rtl;grid-template-columns:minmax(230px,30%) minmax(0,1fr) 166px;gap:24px;align-items:start;margin-bottom:24px}
.sh-single-poster{position:relative;min-width:0;overflow:hidden;border-radius:15px;background:#17162a;border:1px solid #302f45;box-shadow:0 12px 32px rgba(0,0,0,.25);aspect-ratio:3/4.15}
.sh-single-poster>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;min-height:340px}
.sh-single-poster-empty{height:100%;min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#85839b;padding:20px;text-align:center}.sh-single-poster-empty i{font-size:38px}
.sh-single-duration{position:absolute;bottom:10px;left:10px;background:rgba(4,4,18,.88);border:1px solid rgba(255,255,255,.13);color:#fff;border-radius:8px;padding:4px 9px;font-size:11px;font-weight:800}
.sh-single-info{min-width:0;padding:0 0 4px}.sh-single-info>h1{color:#fff!important;font-size:24px;line-height:1.55;margin:0 0 8px;font-weight:900;text-align:right;overflow-wrap:anywhere}
.sh-single-quality{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}.sh-single-quality span{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:7px;background:#f1363e;color:#fff;font-size:11px;font-weight:900;direction:ltr}
.sh-single-story{font-size:13px;line-height:2;color:#e1deeb;margin:10px 0 14px;text-align:right;overflow-wrap:anywhere}
.sh-single-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 14px}
.sh-single-meta-row{min-width:0;display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:stretch}
.sh-single-meta-row>strong{display:flex;align-items:center;justify-content:center;text-align:center;padding:7px 8px;min-height:37px;border-radius:7px;background:#f1363e;color:#fff;font-size:11px;font-weight:900}
.sh-single-meta-row>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;padding:5px 8px;border-radius:7px;background:#111027;color:#f2f0fb;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.sh-single-meta-row a,.sh-single-meta-row span{display:inline-flex;align-items:center;gap:3px}.sh-single-meta-row a:hover{color:#ff6267}.sh-single-meta-row .sh-imdb{color:#ffce42}
.sh-single-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.sh-person-panel{min-width:0;border-radius:8px;overflow:hidden;background:#0d0c23;border:1px solid #36334c}
.sh-person-panel h2{display:flex;align-items:center;gap:7px;margin:0;padding:9px 12px;background:#f1363e;color:#fff!important;font-size:12px;font-weight:900;line-height:1.5}.sh-person-panel h2 i{font-size:12px}
.sh-person-list{max-height:126px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#f1363e #201f38}
.sh-person-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;padding:7px 10px;border-bottom:1px solid #2d2b43;color:#f0edf9;font-size:11px;font-weight:700}.sh-person-list a:last-child{border-bottom:0}.sh-person-list a:hover{background:#1a1831;color:#fff}.sh-person-list a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sh-person-list a i{flex:0 0 29px;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#302e48;color:#d2d0e2;font-size:12px}
.sh-single-actions{display:flex;flex-direction:column;gap:13px;min-width:0;padding-top:0}
.sh-big-action{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:14px 8px;text-align:center;border-radius:8px;color:#fff!important;font-size:17px;font-weight:900;line-height:1.45;transition:transform .18s ease,filter .18s ease}
.sh-big-action i{font-size:37px}.sh-big-action:hover{transform:translateY(-2px);filter:brightness(1.06)}.sh-watch-action{background:#f1363e}.sh-download-action{background:#18b447}.sh-small-action{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #3b3954;border-radius:8px;background:#201f38;padding:10px;color:#fff!important;font-size:12px;font-weight:800}.sh-small-action:hover{border-color:#f1363e;background:#292741}
.sh-single-added{color:#a7a4bb;font-size:10px;text-align:center;line-height:1.8}
.sh-single-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:-3px 0 18px}.sh-single-prevnext>a{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#1b1a2d;border:1px solid #343249;border-radius:8px;color:#eee!important;font-size:11px}.sh-single-prevnext>a:last-child{justify-content:flex-start}.sh-single-prevnext a strong{display:grid;place-items:center;width:29px;height:29px;border-radius:6px;background:#f1363e;color:#fff}.sh-single-prevnext a span{color:#b9b5ca}
.sh-single-section,.sh-single-related{margin:18px 0 0;border:1px solid #343249;border-radius:9px;overflow:hidden;background:#151427;box-shadow:0 8px 25px rgba(0,0,0,.14)}
.sh-single-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1363e;color:#fff;padding:11px 15px;min-height:44px}
.sh-single-section-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:900;line-height:1.4;color:#fff!important}.sh-single-section-head h2 i{font-size:15px}.sh-single-section-head>span{font-size:11px;font-weight:800;color:#fff}
.sh-single-episode-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:14px}
.sh-episode-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:85px;padding:10px 8px;border:1px solid #34324c;border-radius:7px;background:#090821;color:#fff!important;text-align:center;transition:background .15s ease,border-color .15s ease,transform .15s ease;min-width:0}
.sh-episode-tile-label{font-size:10px;color:#c9c6dd;font-weight:700}.sh-episode-tile strong{font-size:26px;line-height:1.1;color:#fff}.sh-episode-tile-title{max-width:100%;font-size:10px;color:#b7b4ca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sh-episode-tile.active,.sh-episode-tile:hover{background:#f1363e;border-color:#f1363e;transform:translateY(-1px)}.sh-episode-tile.active .sh-episode-tile-label,.sh-episode-tile.active .sh-episode-tile-title,.sh-episode-tile:hover .sh-episode-tile-label,.sh-episode-tile:hover .sh-episode-tile-title{color:#fff}
.sh-single-season-grid{display:flex;gap:9px;flex-wrap:wrap;padding:14px}.sh-season-tile{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:88px;min-height:85px;padding:10px 14px;border:1px solid #34324c;border-radius:7px;background:#201f38;color:#fff!important;text-align:center}.sh-season-tile span{font-size:11px;font-weight:800;color:#ddd9ed}.sh-season-tile strong{font-size:25px;line-height:1.1}.sh-season-tile.active,.sh-season-tile:hover{background:#f1363e;border-color:#f1363e}
.sh-single-tag-list{display:grid;gap:10px;padding:14px}.sh-single-tag-list>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px}.sh-single-tag-list>div>strong{font-size:11px;color:#c9c6dd}.sh-single-tag-list>div>span{display:flex;flex-wrap:wrap;gap:6px}.sh-single-tag-list a{padding:4px 8px;border-radius:6px;background:#25243a;border:1px solid #38374e;color:#eee;font-size:10px}.sh-single-tag-list a:hover{background:#f1363e;border-color:#f1363e}
.sh-single-related{padding:0 0 14px}.sh-single-related .sh-single-section-head{margin-bottom:0}.sh-related-controls{display:flex;gap:6px}.sh-related-controls button{display:grid;place-items:center;width:34px;height:31px;border:0;border-radius:6px;background:#17162d;color:#fff;font-size:13px}.sh-related-controls button:hover{background:#111027}
.sh-single-related-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px)/6);gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:14px;scrollbar-width:thin;scrollbar-color:#f1363e #201f38}
.sh-single-related-card{min-width:0;scroll-snap-align:start}.sh-single-related-card .br-thumb{aspect-ratio:2/3!important;border:0!important;border-radius:8px!important;background:#201f38!important;overflow:hidden}.sh-single-related-card .br-thumb img{object-fit:cover!important}.sh-single-related-card .br-card-title{font-size:12px!important;color:#fff!important;line-height:1.6!important;text-align:center!important}.sh-single-related-card .br-card-meta{color:#aaa7be!important}
.sh-single-category-list{display:flex;flex-wrap:wrap;gap:7px;padding:13px}.sh-single-category-list a{padding:7px 11px;border:1px solid #343249;border-radius:7px;background:#201f38;color:#eee;font-size:11px}.sh-single-category-list a:hover{background:#f1363e;border-color:#f1363e}
@media(max-width:1000px){.sh-single-hero{grid-template-columns:minmax(210px,29%) minmax(0,1fr) 135px;gap:16px}.sh-single-info>h1{font-size:21px}.sh-big-action{min-height:105px;font-size:15px}.sh-big-action i{font-size:32px}.sh-single-episode-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.sh-single-related-track{grid-auto-columns:calc((100% - 56px)/5)}}
@media(max-width:760px){.sh-single-v5{padding:12px 11px 25px}.sh-single-breadcrumb{font-size:10px;gap:6px;margin-bottom:11px}.sh-single-hero{grid-template-columns:minmax(0,1fr);gap:13px}.sh-single-poster{width:min(100%,310px);margin:0 auto;aspect-ratio:3/4;grid-row:1}.sh-single-poster>img{min-height:0}.sh-single-poster-empty{min-height:350px}.sh-single-info{grid-row:2}.sh-single-info>h1{font-size:20px;line-height:1.55;text-align:center}.sh-single-quality{justify-content:center}.sh-single-story{text-align:right;font-size:12px;line-height:1.95}.sh-single-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sh-single-meta-row{grid-template-columns:68px minmax(0,1fr);gap:6px}.sh-single-meta-row>strong{font-size:10px;padding:6px 4px}.sh-single-meta-row>div{font-size:10px;padding:5px}.sh-single-people-grid{gap:8px}.sh-person-panel h2{font-size:11px;padding:8px}.sh-person-list a{min-height:40px;font-size:10px;padding:6px}.sh-person-list a i{flex-basis:25px;width:25px;height:25px}.sh-single-actions{grid-row:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0}.sh-big-action{min-height:80px;flex-direction:row;gap:9px;padding:10px;font-size:13px}.sh-big-action i{font-size:24px}.sh-small-action{grid-column:1/-1}.sh-single-added{grid-column:1/-1}.sh-single-prevnext{gap:7px}.sh-single-prevnext>a{padding:8px;font-size:10px}.sh-single-section-head{padding:10px 11px}.sh-single-section-head h2{font-size:14px}.sh-single-episode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:10px}.sh-episode-tile{min-height:73px;padding:8px 4px}.sh-episode-tile strong{font-size:22px}.sh-episode-tile-title{font-size:9px}.sh-single-season-grid{gap:7px;padding:10px}.sh-season-tile{min-width:72px;min-height:70px;padding:8px 10px}.sh-season-tile strong{font-size:22px}.sh-single-tag-list{padding:11px}.sh-single-tag-list>div{grid-template-columns:1fr;gap:5px}.sh-single-related-track{grid-auto-columns:calc((100% - 22px)/3);gap:11px;padding:10px}.sh-single-related-card .br-card-title{font-size:10px!important}.sh-single-category-list{padding:10px}}
@media(max-width:430px){.sh-single-meta{grid-template-columns:1fr}.sh-single-meta-row{grid-template-columns:74px minmax(0,1fr)}.sh-single-people-grid{grid-template-columns:1fr}.sh-person-list{max-height:116px}.sh-single-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sh-single-related-track{grid-auto-columns:calc((100% - 12px)/2)}.sh-single-prevnext>a{gap:5px}.sh-single-prevnext a strong{flex:0 0 26px;width:26px;height:26px}}

/* Shahid4u V6 — align collection/category pages and standardize poster cards. */
.br-page:not(:has(.shahid4u-home)){max-width:1220px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding:22px 18px 40px!important}
.br-filter-panel{max-width:1160px!important;width:100%!important;margin:0 auto 16px!important;padding:15px!important;border-radius:10px!important;background:#1b1a2d!important;border:1px solid #302f43!important;box-shadow:none!important}
.br-category-page{width:100%!important;max-width:1160px!important;margin:0 auto!important}
.br-listing-layout{width:100%!important;max-width:1160px!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;gap:20px!important;align-items:start!important;direction:rtl!important}
.br-listing-main{width:100%!important;min-width:0!important}
.br-category-content{min-width:0!important;padding:16px!important;border:1px solid #302f43!important;border-radius:10px!important;background:#1b1a2d!important;overflow:hidden}
.br-category-heading{gap:14px!important;padding-bottom:13px!important;margin-bottom:17px!important;border-color:#302f43!important}
.br-category-heading-title h1{font-size:22px!important;line-height:1.45!important;color:#f7f6fb!important}
.br-category-heading-title span{margin-top:5px!important;color:#a8a6bd!important}
.br-category-all{font-size:11px!important;color:#b4b3ca!important}
.br-listing-main .br-grid-3,.br-listing-main .br-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px 14px!important;align-items:stretch!important}
.br-listing-main .br-card{position:relative!important;min-width:0!important;height:auto!important;overflow:hidden!important;border:0!important;border-radius:10px!important;background:#17162a!important;box-shadow:none!important;transform:none!important}
.br-listing-main .br-card:hover{background:#201f38!important;transform:translateY(-2px)!important}
.br-listing-main .br-card-link{position:relative!important;display:block!important;height:auto!important;min-width:0!important;overflow:hidden!important;border-radius:10px!important;background:#17162a!important}
.br-listing-main .br-thumb{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/3!important;overflow:hidden!important;border:0!important;border-radius:10px!important;background:#17162a!important}
.br-listing-main .br-thumb:after{content:"";position:absolute;z-index:1;inset:22% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.16) 34%,rgba(0,0,0,.96) 100%);pointer-events:none}
.br-listing-main .br-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .25s ease!important}
.br-listing-main .br-card:hover .br-thumb img{transform:scale(1.035)!important}
.br-listing-main .br-ribbon{z-index:3!important}
.br-listing-main .br-corner-badge{z-index:4!important}
.br-listing-main .br-duration{z-index:3!important}
.br-listing-main .br-play{z-index:3!important}
.br-listing-main .br-card-title{position:absolute!important;z-index:2!important;right:0!important;bottom:0!important;left:0!important;margin:0!important;padding:38px 9px 12px!important;min-height:0!important;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.18) 24%,rgba(0,0,0,.96) 100%)!important;color:#fff!important;font-size:12px!important;line-height:1.6!important;font-weight:800!important;text-align:center!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.br-listing-main .br-card-meta{display:none!important}
.br-listing-sidebar{width:100%!important;min-width:0!important;position:sticky!important;top:92px!important}
.br-listing-sidebar .br-category-sidebar{padding:14px!important;border:1px solid #302f43!important;border-radius:10px!important;background:#1b1a2d!important;overflow:hidden}
.br-listing-sidebar .br-side-head{padding-bottom:10px!important;margin-bottom:12px!important;border-bottom:1px solid #302f43!important}
.br-listing-sidebar .br-side-head h2{font-size:18px!important;color:#f7f6fb!important}
.br-category-sidebar-list{gap:8px!important}
.br-category-sidebar-item{min-height:42px!important;padding:9px 11px!important;border:1px solid #36354c!important;border-radius:8px!important;background:#232239!important;color:#efedf8!important;font-size:11px!important}
.br-category-sidebar-item i{color:#a8a6bd!important}
.br-category-sidebar-item:hover,.br-category-sidebar-item.active{background:#302f48!important;border-color:#f1363e!important;color:#fff!important}
.br-listing-main .br-pagination{margin:22px 0 3px!important;gap:8px!important}
.br-listing-main .br-pagination a,.br-listing-main .br-pagination span{min-width:36px!important;height:36px!important;border-radius:8px!important}
@media(max-width:1050px) and (min-width:851px){
  .br-listing-layout{grid-template-columns:minmax(0,1fr) 245px!important;gap:16px!important}
  .br-listing-main .br-grid-3,.br-listing-main .br-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 12px!important}
  .br-category-content{padding:13px!important}
}
@media(max-width:850px){
  .br-page:not(:has(.shahid4u-home)){padding:16px 12px 30px!important}
  .br-listing-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  .br-listing-main .br-grid-3,.br-listing-main .br-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 12px!important}
  .br-listing-sidebar{position:static!important;top:auto!important}
  .br-category-sidebar-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
}
@media(max-width:700px){
  .br-page:not(:has(.shahid4u-home)){padding:13px 10px 26px!important}
  .br-filter-panel{padding:12px!important;margin-bottom:13px!important}
  .br-category-content{padding:12px!important}
  .br-category-heading{align-items:flex-end!important;margin-bottom:14px!important;padding-bottom:10px!important}
  .br-category-heading-title h1{font-size:19px!important}
  .br-listing-main .br-grid-3,.br-listing-main .br-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 10px!important}
  .br-listing-main .br-card-title{padding:32px 7px 9px!important;font-size:11px!important;line-height:1.55!important;-webkit-line-clamp:3!important}
  .br-listing-sidebar .br-category-sidebar{padding:11px!important}
  .br-category-sidebar-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .br-category-sidebar-item{min-height:39px!important;padding:8px 9px!important;font-size:10px!important}
}
@media(max-width:360px){
  .br-listing-main .br-grid-3,.br-listing-main .br-category-grid{gap:11px 8px!important}
  .br-listing-main .br-card-title{font-size:10px!important;padding:28px 6px 8px!important}
  .br-category-sidebar-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Shahid4u V7 — switch the wordmark to Arabic on hover/focus without moving the header. */
.br-brand.sh-brand .sh-brand-word{
  display:grid!important;
  position:relative!important;
  align-items:center!important;
  width:max-content!important;
  line-height:1!important;
}
.br-brand.sh-brand .sh-brand-en,
.br-brand.sh-brand .sh-brand-ar{
  grid-area:1/1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-self:end!important;
  white-space:nowrap!important;
  transition:opacity .2s ease,transform .2s ease!important;
}
.br-brand.sh-brand .sh-brand-en{direction:ltr!important;opacity:1;transform:translateY(0)}
.br-brand.sh-brand .sh-brand-ar{direction:rtl!important;font-family:inherit!important;opacity:0;transform:translateY(4px);color:#fff}
.br-brand.sh-brand .sh-brand-ar b{color:#f1363e!important;font-weight:900!important;margin-right:5px}
.br-brand.sh-brand:hover .sh-brand-en,
.br-brand.sh-brand:focus-visible .sh-brand-en{opacity:0;transform:translateY(-4px)}
.br-brand.sh-brand:hover .sh-brand-ar,
.br-brand.sh-brand:focus-visible .sh-brand-ar{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){
  .br-brand.sh-brand .sh-brand-en,.br-brand.sh-brand .sh-brand-ar{transition:none!important}
}

/* Shahid4u V9 — watch page layout aligned to the reference: episodes | player | servers. */
.sh-watch-breadcrumb{max-width:1120px;margin:3px auto 16px;direction:rtl;color:#ddd;line-height:1.8}
.sh-watch-breadcrumb>i{font-size:10px;color:#d6d6d6}
.sh-watch-breadcrumb-current{font-weight:800;color:#fff}
.sh-watch-action-bar{max-width:1120px;margin:0 auto 28px;min-height:74px;padding:12px 28px;background:#202039;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:12px;direction:ltr}
.sh-watch-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 22px;border-radius:6px;background:#f1363e;color:#fff!important;font-size:14px;font-weight:800;white-space:nowrap;transition:filter .15s ease,transform .15s ease}
.sh-watch-action:hover{filter:brightness(1.08);transform:translateY(-1px)}
.sh-watch-layout{--sh-watch-side:186px;max-width:1120px;margin:0 auto 18px;display:grid;grid-template-columns:var(--sh-watch-side) minmax(0,1fr) var(--sh-watch-side);grid-template-areas:"episodes player servers";align-items:start;gap:0;direction:ltr;background:#080821;overflow:hidden}
.sh-watch-layout.no-episodes{grid-template-columns:minmax(0,1fr) var(--sh-watch-side);grid-template-areas:"player servers"}
.sh-watch-episodes{grid-area:episodes;min-width:0;display:flex;flex-direction:column;background:#111522;color:#fff;direction:rtl;overflow:hidden;border-left:1px solid #484956}
.sh-watch-player-column{grid-area:player;min-width:0;background:#000;align-self:start}
.sh-watch-player-shell.br-player-shell{width:100%;aspect-ratio:16/9;height:auto;min-height:0;max-height:none;border:0;border-radius:0;background:#000;overflow:hidden;position:relative}
.sh-watch-player-shell iframe{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#000}
.sh-watch-player-shell .br-player-empty{min-height:300px;aspect-ratio:16/9}
.sh-watch-servers{grid-area:servers;min-width:0;background:#080821;color:#fff;display:flex;flex-direction:column;overflow:hidden;direction:rtl;border-right:1px solid #15152e}
.sh-watch-side-head{flex:0 0 auto;min-height:51px;padding:13px 9px;background:#202039;text-align:center;font-size:14px;font-weight:800;color:#fff;border-bottom:1px solid rgba(255,255,255,.06)}
.sh-watch-episode-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#111522;scrollbar-color:#59606a #111522;scrollbar-width:thin}
.sh-watch-episode{display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:9px 13px;border-bottom:1px solid #343746;color:#fff!important;font-weight:800;font-size:13px;line-height:1.55;transition:background .15s ease}
.sh-watch-episode:hover{background:#282a39}
.sh-watch-episode.active{background:#f1363e;color:#fff!important}
.sh-watch-server-list{display:flex;flex-direction:column;gap:12px;padding:13px 11px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#43476a #080821}
.sh-watch-server{width:100%;min-width:0;min-height:43px;padding:7px 10px;border:0;border-radius:7px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;background:#273466;color:#fff;font-weight:800;font-size:12px;line-height:1.35;cursor:pointer;transition:filter .15s ease,background .15s ease}
.sh-watch-server:hover{filter:brightness(1.1)}
.sh-watch-server.active{background:#f1363e;color:#fff}
.sh-watch-server-name{min-width:0;overflow-wrap:anywhere;text-align:center}
.sh-watch-server-icon{flex:0 0 33px;width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#101a51;color:#37d7a0;font-size:27px}
.sh-watch-server:nth-child(3n) .sh-watch-server-icon{background:#fff;color:#6b63df}
.sh-watch-server:nth-child(4n) .sh-watch-server-icon{background:#f58b1f;color:#fff}
.sh-watch-server.active .sh-watch-server-icon{background:#101a51;color:#37d7a0}
.sh-watch-empty{padding:18px 10px;color:#c8c7da;font-size:12px;text-align:center}
.sh-watch-layout .br-player-blackout{border-radius:0}
@media(max-width:1100px){.sh-watch-layout{--sh-watch-side:155px}.sh-watch-action-bar,.sh-watch-breadcrumb,.sh-watch-layout{max-width:100%}.sh-watch-action-bar{padding:12px 18px}}
@media(max-width:760px){
  .sh-watch-breadcrumb{margin:0 0 12px;font-size:10px;gap:6px}
  .sh-watch-action-bar{min-height:58px;padding:9px 10px;margin-bottom:16px;gap:8px}
  .sh-watch-action{min-height:38px;padding:8px 10px;font-size:11px}
  .sh-watch-layout,.sh-watch-layout.no-episodes{grid-template-columns:minmax(0,1fr);grid-template-areas:"player" "servers" "episodes";overflow:visible}
  .sh-watch-episodes,.sh-watch-servers{height:auto!important;max-height:none;border:0}
  .sh-watch-player-shell.br-player-shell{aspect-ratio:16/9}
  .sh-watch-server-list{max-height:255px!important;padding:10px;gap:8px}
  .sh-watch-server{min-height:42px}
  .sh-watch-episode-list{max-height:235px!important}
  .sh-watch-episode{min-height:40px;padding:8px 12px;font-size:12px}
}
@media(max-width:400px){.sh-watch-action-bar{padding:8px}.sh-watch-action{padding:8px 7px;font-size:10px}.sh-watch-server-icon{width:29px;height:29px;flex-basis:29px;font-size:23px}}

/* Download page: show separate quality groups while preserving repeated servers/domains. */
.sh-download-groups-box{padding:16px 14px;background:var(--br-surface);border-radius:8px}
.sh-download-quality-group{margin-top:20px}
.sh-download-quality-group:first-of-type{margin-top:14px}
.sh-download-quality-title{width:max-content;max-width:100%;margin:0 auto 15px;padding:9px 18px;border-radius:28px;background:#f1363e;color:#fff;font-size:17px;line-height:1.5;font-weight:800;text-align:center}
.sh-download-quality-title i{font-size:12px;margin-inline-end:4px}
.sh-download-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
.sh-download-server-card{position:relative;min-width:0;min-height:56px;padding:7px 39px 7px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid rgba(255,255,255,.035);border-radius:6px;background:#090b0d;color:#fff;text-align:center;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.sh-download-server-card:hover{background:#15191d;border-color:#f1363e;transform:translateY(-1px)}
.sh-download-server-card strong{display:block;max-width:100%;overflow-wrap:anywhere;font-size:14px;line-height:1.3;font-weight:800}
.sh-download-server-meta{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;line-height:1.3;font-weight:700;color:#f3f4f6}
.sh-download-server-meta i{font-size:15px}
.sh-download-server-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:27px;color:#f1363e}
.sh-download-server-card.is-disabled{opacity:.55;cursor:not-allowed}
@media(max-width:900px){.sh-download-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sh-download-server-card{min-height:54px}}
@media(max-width:420px){.sh-download-groups-box{padding:12px 8px}.sh-download-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sh-download-server-card{padding:7px 30px 7px 6px}.sh-download-server-card strong{font-size:12px}.sh-download-server-icon{right:8px;font-size:22px}.sh-download-quality-title{font-size:14px;padding:8px 13px}}


/* PageSpeed / accessibility fixes for Shahid4u V11 */
/* Keep filter labels visually hidden in the same layout while exposing them to assistive technology. */
.sh-filter-wrap .br-filter-form label span{
  display:block!important;position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
/* AA contrast: white text on this darker brand red exceeds 4.5:1. */
.mt-nav,
.sh-new-ribbon,
.sh-hero-arrow,
.sh-quick-card.is-active,
.sh-filter-wrap .br-filter-form button,
.sh-latest-grid .br-corner-badge,
.sh-home-category .br-corner-badge,
.br-primary-btn,
.br-series-primary-btn,
.br-pagination a.active,
.br-tabs a.active,
.br-footer,
#brMenuBtn[aria-expanded="true"],
.sh-single-quality span,
.sh-single-meta-row>strong,
.sh-person-panel h2,
.sh-watch-action,
.sh-single-prevnext a strong,
.sh-single-section-head,
.sh-episode-tile.active,
.sh-episode-tile:hover,
.sh-season-tile.active,
.sh-season-tile:hover,
.sh-watch-episode.active,
.sh-watch-server.active,
.sh-download-quality-title{
  background-color:#d92532!important;color:#fff!important;
}
.br-footer-copy{background:#b71d2a!important;color:#fff!important;}
