:root{--red:#ed261c;--blue:#0867b7;--ink:#20242b;--muted:#687385;--bg:#f5f7fa;--line:#e6eaf0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif}.site-head{height:auto;min-height:74px;padding:14px clamp(14px,4vw,52px);display:flex;align-items:center;gap:32px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.logo-word{font-size:28px;font-weight:900;color:var(--red);text-decoration:none;white-space:nowrap}.logo-word span{color:var(--blue)}nav{display:flex;gap:20px}nav a,.section-head a{color:var(--blue);text-decoration:none;font-weight:700}.search{margin-inline-start:auto;display:flex;gap:6px}.search input{width:min(28vw,320px);border:1px solid var(--line);padding:11px;border-radius:9px;font:inherit}.search button,.install-card button{background:var(--red);color:white;border:0;border-radius:9px;padding:10px 18px;font-weight:700}.wrap{max-width:1280px;margin:28px auto;padding:0 20px;min-height:70vh}.hero{display:grid;grid-template-columns:1fr 240px;gap:30px;align-items:center;padding:28px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:36px}.hero img{width:100%;max-height:340px;object-fit:cover;border-radius:12px}.hero p{line-height:1.9;color:var(--muted);max-width:760px}.eyebrow{font-size:12px;font-weight:800;color:var(--red)}.action{display:inline-block;margin:5px 4px;padding:11px 18px;border-radius:9px;background:var(--red);color:#fff;text-decoration:none;font-weight:700}.action.secondary{background:var(--blue)}.section{margin:34px 0}.section-head{display:flex;align-items:center;justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.card{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:var(--ink);font-weight:700;background:#fff;padding:8px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card img{width:100%;aspect-ratio:2/3;object-fit:cover;background:#e7eaf0;border-radius:8px}.card small,.meta{color:var(--muted)}.detail{display:grid;grid-template-columns:270px 1fr;gap:30px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.detail>img{width:100%;border-radius:12px;object-fit:cover;max-height:450px}.detail p{line-height:2;color:#4f5968}.season{margin-top:26px;background:#fff;padding:22px;border:1px solid var(--line);border-radius:14px}.episode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.episode{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:var(--ink);background:#f6f8fb;border-radius:10px;padding:8px}.episode img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px}.episode span{font-size:12px;color:var(--red)}.site-foot{display:flex;justify-content:space-between;padding:24px clamp(14px,4vw,52px);background:#20242b;color:#fff}.site-foot span{color:#c2c9d4}.notice,.alert{padding:18px;background:#fff3cd;border-radius:10px}.install-body{min-height:100vh;display:grid;place-items:center}.install-card{max-width:600px;width:calc(100% - 24px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 12px 40px #1112}.install-card p{color:var(--muted);line-height:1.8}.install-card label{display:block;margin-top:16px;font-weight:700}.install-card input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid var(--line);border-radius:9px;font:inherit}.install-card button{margin-top:18px;width:100%;font:inherit}.req{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid var(--line)}.req b{color:#16844c}.success{background:#ecfdf3;padding:16px;border-radius:10px}@media(max-width:900px){.grid{grid-template-columns:repeat(4,1fr)}.episode-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:620px){.site-head{flex-wrap:wrap;gap:12px}.site-head nav{order:3;width:100%;justify-content:space-around}.search{width:100%;margin:0}.search input{width:100%}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.hero{grid-template-columns:1fr 120px;padding:16px}.detail{grid-template-columns:1fr}.detail>img{max-width:220px;margin:auto}.episode-grid{grid-template-columns:repeat(2,1fr)}.site-foot{flex-direction:column;gap:8px}}

.chips{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 24px}.chip{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #e3e8ef;border-radius:999px;background:#fff;color:#0867b7;font-weight:700}.chip:hover{background:#f1f7fc}

/* EgyBest v1.0.2 targeted player, hero and pagination styles */
.hero{display:block;overflow:hidden;padding:22px;background:linear-gradient(135deg,#fff 0%,#f4f8fc 100%)}
.hero-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.hero-head h1{font-size:clamp(20px,3vw,30px);margin:6px 0}
.hero-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,1fr);grid-auto-columns: minmax(145px, 1fr);grid-template-rows:1fr;gap:12px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory}
.hero-card{position:relative;display:flex;flex-direction:column;gap:7px;min-width:145px;max-width:190px;padding:8px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);text-decoration:none;scroll-snap-align:start}
.hero-card img{width:100%;height:210px;max-height:none;object-fit:cover;border-radius:8px}
.hero-card b{font-size:13px;line-height:1.5}.hero-card small{color:var(--muted)}
.hero-rank{position:absolute;top:14px;right:14px;z-index:1;background:var(--red);color:#fff;border-radius:8px;padding:5px 9px;font-weight:900}
.watch-page{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;overflow:hidden}
.watch-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.watch-head h1{margin:5px 0;font-size:22px}.watch-head p{color:var(--muted);margin:0}
.player-frame{width:100%;aspect-ratio:16/9;background:#080a0d;border-radius:12px;overflow:hidden}
.player-frame iframe{width:100%;height:100%;border:0;display:block;background:#080a0d}
.frame-note{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:0}
.server-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 22px}.server-list .action{margin:0}
.load-more-wrap{display:flex;justify-content:center;padding:20px}.load-more{cursor:pointer;border:0;font:inherit;min-width:180px}.load-more:disabled{opacity:.65;cursor:wait}
.end-list{text-align:center;color:var(--muted);padding:22px;border-top:1px solid var(--line)}
@media(max-width:620px){.hero{padding:14px}.hero-head{align-items:flex-start;flex-direction:column}.hero-strip{grid-auto-columns:145px}.hero-card img{height:190px}.watch-page{padding:10px}.watch-head{align-items:flex-start;flex-direction:column}.player-frame{aspect-ratio:16/9}.server-list .action{flex:1 1 44%;text-align:center}}

/* 1.0.3: professional header category menu and visible content sections */
.main-nav{display:flex;align-items:center;gap:20px}
.nav-dropdown{position:relative;display:inline-flex;align-items:center}
.nav-dropdown-trigger{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--blue);font:inherit;font-weight:800;cursor:pointer;padding:9px 4px}
.nav-dropdown-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;z-index:30;min-width:360px;max-width:min(760px,90vw);max-height:70vh;overflow:auto;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 42px #13243a24;grid-template-columns:1fr 1fr;gap:18px}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{display:grid}
.nav-category-group{display:flex;flex-direction:column;gap:5px;min-width:0}
.nav-category-group>b{color:var(--ink);font-size:14px;padding:4px 8px 9px;border-bottom:1px solid var(--line);margin-bottom:4px}
.nav-category-group>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border-radius:8px;color:#344054;text-decoration:none;font-size:13px;font-weight:600}
.nav-category-group>a:hover{background:#f2f7fc;color:var(--blue)}
.nav-category-group small{color:var(--muted);font-size:11px}
.hero{margin-top:8px;background:linear-gradient(130deg,#fff 0%,#f0f6fc 58%,#fff3f2 100%);border:1px solid #e5ebf3;box-shadow:0 12px 32px #1d35570b}
.hero-head h1{color:#172b45}
.hero-card{transition:transform .18s ease,box-shadow .18s ease}
.hero-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #17243a1c}
.section-head h2{margin:0;color:#172b45}
.chips .chip{white-space:nowrap;transition:background .15s ease,border-color .15s ease}
.chips .chip:hover{border-color:#b8d7f0;background:#eef7ff}
@media(max-width:620px){
  .main-nav{order:3;width:100%;justify-content:space-around;gap:10px}
  .nav-dropdown-menu{right:auto;left:0;min-width:min(340px,92vw);grid-template-columns:1fr 1fr;max-height:60vh}
  .site-head nav a,.nav-dropdown-trigger{font-size:14px}
}

/* Mobile tap support for the categories menu */
.nav-dropdown.is-open .nav-dropdown-menu{display:grid}

/* EgyBest Download Manager 1.0.4 */
.download-nav{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:9px;background:#eaf6ef;color:#148044!important}
.dm-page{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.dm-page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.dm-page-head h1{margin:5px 0}.dm-page-head p,.dm-notice{color:var(--muted);line-height:1.8}.dm-notice{background:#fff8e8;border:1px solid #f5e2b5;padding:13px;border-radius:11px;font-size:13px;margin:14px 0 20px}
.dm-list{display:flex;flex-direction:column;gap:10px}.dm-empty{padding:30px;text-align:center;background:#f6f8fb;border-radius:12px;color:var(--muted)}
.dm-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.dm-item-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#eaf6ef;color:#148044;font-size:24px;font-weight:900}.dm-item-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.dm-item-info b{overflow-wrap:anywhere}.dm-item-info small{color:var(--muted);font-size:11px}.dm-download{border:0;cursor:pointer}.ebdm-toast{position:fixed;z-index:99999;left:18px;bottom:18px;width:min(390px,calc(100vw - 36px));padding:14px;background:#fff;border:1px solid #d8e5ee;border-radius:15px;box-shadow:0 18px 50px #172b4530;opacity:0;transform:translateY(12px);transition:.2s}.ebdm-toast.visible{opacity:1;transform:translateY(0)}.ebdm-toast-top{display:flex;gap:10px;align-items:center}.ebdm-toast-top>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.ebdm-toast-top small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ebdm-check{display:grid;place-items:center;width:30px;height:30px;background:#e6f7ee;color:#148044;border-radius:50%;font-weight:900}.ebdm-close{border:0;background:transparent;font-size:22px;cursor:pointer}.ebdm-toast-actions{display:flex;gap:8px;margin-top:12px}.ebdm-toast-actions .action{flex:1;text-align:center;border:0;cursor:pointer;font:inherit}
.player-frame video.ebdm-video{display:block;width:100%;height:100%;background:#000;object-fit:contain}
@media(max-width:620px){.dm-page{padding:14px}.dm-page-head{align-items:flex-start;flex-direction:column}.dm-item{align-items:flex-start;flex-wrap:wrap}.dm-item-info{min-width:calc(100% - 65px)}.dm-download{margin-inline-start:52px}}

.player-frame{position:relative}.ebdm-player-download{position:absolute;z-index:20;top:12px;right:12px;border:0;border-radius:999px;background:#148044;color:#fff;font:700 14px Tahoma,Arial,sans-serif;padding:10px 15px;box-shadow:0 5px 20px #0005;cursor:pointer;direction:rtl}.ebdm-player-download:hover{background:#0f6b36}.dm-extension-link{display:inline-block;margin:8px 8px 0;padding:8px 12px;background:#148044;color:#fff;border-radius:8px;text-decoration:none;font-weight:700}.dm-notice small{display:block;margin-top:6px}


/* EgyBest 1.1.0 — responsive layout, unified watch page and live TV */
:root{--eb-radius:18px;--eb-shadow:0 12px 34px rgba(20,35,55,.08)}
html{scroll-behavior:smooth}body{line-height:1.65}.wrap{width:min(1440px,calc(100% - 40px));margin-inline:auto;padding-block:22px 38px}
.site-head{position:sticky;top:0;z-index:50;backdrop-filter:blur(16px);box-shadow:0 5px 24px rgba(17,24,39,.06)}
.card,.episode,.detail,.season,.watch-page,.dm-page{border-radius:var(--eb-radius);box-shadow:var(--eb-shadow)}
.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:18px}.card{padding:9px;transition:transform .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(20,35,55,.14)}.card img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px}.card b{line-height:1.5;min-height:3em}
.detail{align-items:start;gap:clamp(16px,3vw,34px);padding:clamp(14px,2.5vw,28px)}.detail>img{aspect-ratio:2/3;height:auto;max-height:520px}.detail h1{font-size:clamp(22px,3vw,34px);line-height:1.35}
.watch-page,.live-watch{padding:clamp(12px,2vw,22px);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--eb-shadow)}.watch-head,.live-watch-head{align-items:center}.watch-head h1,.live-watch-head h1{font-size:clamp(20px,2.6vw,30px)}.player-frame{aspect-ratio:16/9;min-height:220px;max-height:min(72vw,760px);border-radius:14px;background:#05070a;box-shadow:0 8px 28px #0002}.player-frame iframe,.player-frame video{width:100%;height:100%;border:0;display:block}.player-loading{height:100%;min-height:220px;display:grid;place-items:center;color:#aeb8c5}
.watch-servers{margin-top:18px}.watch-servers h3{margin:0 0 10px}.server-switcher{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:9px}.server-choice{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:56px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#f7f9fc;color:var(--ink);font:inherit;cursor:pointer;transition:.15s}.server-choice small{color:var(--muted);font-size:11px}.server-choice.active{background:#fff0ef;border-color:#ed261c;color:#c51f18;box-shadow:0 0 0 2px rgba(237,38,28,.08)}.watch-primary{display:inline-flex;justify-content:center;min-width:min(300px,100%);padding:14px 22px;font-size:17px}
.live-list-head{margin:8px 0 18px}.live-list-head h1{margin:4px 0;font-size:clamp(24px,3vw,34px)}.live-list-head p{margin:0;color:var(--muted)}.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.live-card{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--eb-shadow);text-decoration:none;color:var(--ink);transition:transform .16s ease}.live-card:hover{transform:translateY(-3px)}.live-card img,.live-placeholder{width:76px;height:76px;flex:0 0 76px;object-fit:contain;border-radius:12px;background:#f2f4f7}.live-placeholder{display:grid;place-items:center;font-weight:900;color:#ed261c;font-size:22px}.live-card>div{display:flex;min-width:0;flex-direction:column;gap:3px}.live-card small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-card em{font-style:normal;color:#148044;font-weight:800;font-size:12px}.live-badge{display:inline-block;color:#d92d20;font-weight:900;font-size:12px}.live-frame{margin-top:14px}
@media(max-width:760px){.wrap{width:calc(100% - 22px);padding-top:14px}.site-head{position:relative}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:7px}.card img{border-radius:9px}.detail{grid-template-columns:1fr}.detail>img{max-width:190px;margin-inline:auto}.watch-head,.live-watch-head{align-items:flex-start;flex-direction:column}.player-frame{min-height:190px;aspect-ratio:16/9;max-height:none}.server-switcher{grid-template-columns:repeat(2,minmax(0,1fr))}.live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.live-card{padding:9px;gap:9px}.live-card img,.live-placeholder{width:55px;height:55px;flex-basis:55px}.live-card b{font-size:13px}.live-card small{font-size:11px}}
@media(max-width:380px){.live-grid{grid-template-columns:1fr}.server-switcher{grid-template-columns:1fr 1fr}}

/* EgyBest 1.3.0 — member area, country charts and user-selectable dark theme */
.brand-area{display:flex;align-items:center;gap:12px;flex:0 0 auto}.member-actions{display:flex;align-items:center;gap:6px}.inline-form,.theme-form{display:inline-flex;margin:0}.member-button,.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:700 12px Tahoma,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:nowrap}.member-button.join{background:var(--red);border-color:var(--red);color:#fff}.member-button.account{background:#eef5ff;color:#0867b7;border-color:#d5e7fb}.member-button.ghost{background:transparent}.theme-toggle{background:#f4f6f9}.web-flash{max-width:1280px;margin:14px auto 0;padding:12px 16px;border-radius:10px;font-weight:700}.web-flash.ok{background:#e9f8ef;color:#126a38}.web-flash.error{background:#fff0ef;color:#a4211a}.auth-card,.profile-card,.comments-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin:22px 0;box-shadow:0 8px 30px rgba(16,24,40,.04)}.auth-card{max-width:520px;margin:42px auto}.auth-card h1{margin:8px 0}.auth-card>p,.auth-switch{color:var(--muted);line-height:1.8}.auth-form{display:flex;flex-direction:column;gap:9px;margin-top:20px}.auth-form label{font-weight:700;margin-top:8px}.auth-form input,.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:13px 14px;background:#fff;color:var(--ink);font:inherit;outline:none}.auth-form input:focus,.comment-form textarea:focus{border-color:#8db8e2;box-shadow:0 0 0 3px rgba(8,103,183,.1)}.auth-form .action{border:0;cursor:pointer;font:inherit;margin-top:12px}.auth-switch{margin-top:18px}.auth-switch a,.comment-login-note a{color:var(--blue);font-weight:800}.profile-card{display:flex;align-items:center;gap:18px}.profile-card h1{margin:3px 0}.profile-card p{color:var(--muted);margin:5px 0}.profile-card small{color:var(--muted)}.profile-avatar,.comment-avatar{display:grid;place-items:center;flex:0 0 auto;width:66px;height:66px;border-radius:50%;background:#fff0ef;color:var(--red);font-size:28px;font-weight:900}.comments-panel{margin-top:28px}.comments-panel>.section-head{margin-bottom:16px}.comments-panel h2{margin:0 0 14px}.comment-form textarea{min-height:95px;resize:vertical}.comment-form .action{border:0;cursor:pointer}.comment-login-note{padding:13px;background:#f5f7fa;border-radius:10px;color:var(--muted)}.comment-item{display:flex;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.comment-avatar{width:40px;height:40px;font-size:18px}.comment-item>div:last-child{min-width:0;flex:1}.comment-item time{display:block;color:var(--muted);font-size:11px;margin-top:3px}.comment-item p{line-height:1.8;overflow-wrap:anywhere;margin:7px 0 0}.pending-note{display:inline-block;color:#9a6700;background:#fff7dd;padding:4px 8px;border-radius:7px}.regional-top10{padding:18px;background:linear-gradient(135deg,#fff,#f8faff);border:1px solid var(--line);border-radius:18px}.regional-top10 .section-head{margin-bottom:12px}.regional-top10 h2{margin:4px 0}.regional-top10 .hero-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.regional-top10 .hero-card{position:relative;display:flex;flex-direction:column;gap:7px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);min-width:0}.regional-top10 .hero-card img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px}.regional-top10 .hero-rank{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-weight:900}.regional-top10 .hero-card b{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html[data-theme="dark"]{color-scheme:dark;--ink:#f0f2f5;--muted:#a5adba;--bg:#090b0e;--line:#252a33;--red:#ed342b;--blue:#70b5f2}
html[data-theme="dark"] body{background:#090b0e;color:#f0f2f5}
html[data-theme="dark"] .site-head,html[data-theme="dark"] .hero,html[data-theme="dark"] .detail,html[data-theme="dark"] .season,html[data-theme="dark"] .card,html[data-theme="dark"] .live-card,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .comments-panel{background:#13171d;border-color:#272d37;color:#f0f2f5}
html[data-theme="dark"] .nav-dropdown-menu{background:#171c23;border-color:#2a303b}
html[data-theme="dark"] .nav-category-group a,html[data-theme="dark"] nav a,html[data-theme="dark"] .section-head a{color:#86c2fb}
html[data-theme="dark"] .search input,html[data-theme="dark"] .auth-form input,html[data-theme="dark"] .comment-form textarea{background:#0c1015;border-color:#303744;color:#f0f2f5}
html[data-theme="dark"] .search input::placeholder,html[data-theme="dark"] .auth-form input::placeholder,html[data-theme="dark"] .comment-form textarea::placeholder{color:#8993a1}
html[data-theme="dark"] .member-button,html[data-theme="dark"] .theme-toggle{background:#202630;border-color:#343d4a;color:#e8edf4}
html[data-theme="dark"] .member-button.join{background:var(--red);border-color:var(--red);color:#fff}
html[data-theme="dark"] .member-button.account{background:#182c40;color:#9acfff;border-color:#24415f}
html[data-theme="dark"] .member-button.ghost{background:transparent}
html[data-theme="dark"] .episode,html[data-theme="dark"] .chip,html[data-theme="dark"] .server-choice{background:#1b222c;border-color:#303947;color:#e8edf4}
html[data-theme="dark"] .regional-top10{background:linear-gradient(135deg,#151a21,#10141a);border-color:#2a303b}
html[data-theme="dark"] .regional-top10 .hero-card{background:#1b222b;border-color:#303744;color:#f0f2f5}
html[data-theme="dark"] .comment-login-note{background:#1c232d;color:#bac3d0}
html[data-theme="dark"] .site-foot{background:#050608;border-top:1px solid #222833}
html[data-theme="dark"] .notice,html[data-theme="dark"] .alert{background:#332c1a;color:#f4dc9a}
@media(max-width:1050px){.site-head{gap:14px;flex-wrap:wrap}.brand-area{margin-inline-end:auto}.main-nav{order:3;width:100%;overflow-x:auto;gap:14px}.search{order:4;flex:1}.search input{width:100%;min-width:120px}.theme-form{order:2}}
@media(max-width:760px){.site-head{padding:10px 12px;gap:10px}.brand-area{width:100%;justify-content:space-between}.logo-word{font-size:25px}.member-button,.theme-toggle{padding:6px 9px;min-height:34px;font-size:11px}.main-nav{order:2;width:100%;padding:4px 0}.search{order:3;flex:1}.theme-form{position:absolute;left:12px;top:17px}.regional-top10{padding:12px}.regional-top10 .hero-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-card,.comments-panel{padding:17px}.profile-card{padding:16px}.web-flash{margin-inline:12px}.site-foot{gap:8px;flex-direction:column}.comment-item p{font-size:13px}}

/* 1.2.0 dark theme completion — retained in 1.3.0 */
html[data-theme="dark"] .watch-page,html[data-theme="dark"] .live-watch,html[data-theme="dark"] .dm-page,html[data-theme="dark"] .install-card{background:#13171d;border-color:#272d37;color:#f0f2f5}
html[data-theme="dark"] .watch-head h1,html[data-theme="dark"] .live-watch-head h1,html[data-theme="dark"] .section-head h2,html[data-theme="dark"] .hero-head h1{color:#f0f2f5}
html[data-theme="dark"] .detail p,html[data-theme="dark"] .auth-card>p,html[data-theme="dark"] .dm-page p,html[data-theme="dark"] .dm-notice{color:#c0c7d1}
html[data-theme="dark"] .episode,html[data-theme="dark"] .dm-item,html[data-theme="dark"] .dm-empty,html[data-theme="dark"] .install-card input{background:#1b222c;border-color:#303947;color:#e8edf4}
html[data-theme="dark"] .download-nav{background:#173325;color:#86e0ad!important}
html[data-theme="dark"] .web-flash.ok{background:#123321;color:#9be5b5}
html[data-theme="dark"] .web-flash.error{background:#3b1d1b;color:#ffb4ad}
html[data-theme="dark"] .success{background:#123321;color:#9be5b5}
html[data-theme="dark"] .nav-category-group>b{color:#f0f2f5;border-color:#303744}
html[data-theme="dark"] .nav-category-group>a{color:#c0c7d1}
html[data-theme="dark"] .hero-head h1{color:#f0f2f5}

/* EgyBest 1.5.0 — centrally managed sponsored placements */
.eb-ads{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:18px 0 22px}
.eb-ad-card{position:relative;display:flex;align-items:center;gap:13px;min-width:0;overflow:hidden;padding:12px;border:1px solid var(--line,#e4e7ec);border-radius:16px;background:var(--panel,#fff);color:inherit;text-decoration:none;box-shadow:0 5px 18px rgba(0,0,0,.045);transition:transform .18s ease,box-shadow .18s ease}
.eb-ad-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(0,0,0,.09)}
.eb-ad-card>img{width:112px;height:112px;flex:0 0 112px;object-fit:cover;border-radius:11px;background:#20242b}
.eb-ad-image>img{width:100%;height:auto;max-height:230px;min-height:110px;object-fit:cover}
.eb-ad-copy{display:flex;min-width:0;flex-direction:column;gap:6px}
.eb-ad-copy b{font-size:15px;line-height:1.45}
.eb-ad-copy small{color:var(--muted,#687385);line-height:1.65}
.eb-ad-copy em{color:#ed261c;font-size:12px;font-style:normal;font-weight:700}
.eb-ad-tag{position:absolute;top:8px;right:8px;padding:3px 8px;border-radius:20px;background:rgba(20,25,33,.78);color:#fff;font-size:10px;font-weight:700;z-index:1}
[data-theme="dark"] .eb-ad-card{background:#15191f;border-color:#292f38;color:#f1f3f5;box-shadow:none}
[data-theme="dark"] .eb-ad-copy small{color:#aeb7c3}
@media(max-width:560px){.eb-ads{grid-template-columns:1fr;gap:9px;margin:13px 0 17px}.eb-ad-card{padding:9px;gap:10px}.eb-ad-card>img{width:92px;height:92px;flex-basis:92px}.eb-ad-image>img{width:100%;height:auto;max-height:190px}}
