/* هوية مشتركة: المرجع النهاري والألوان الفحمية/الشامبانيا، دون حركة للخلفية. */
@font-face{font-family:'SAT OTT Arabic';src:url('../fonts/IBMPlexSansArabic-Regular.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'SAT OTT Arabic';src:url('../fonts/IBMPlexSansArabic-Medium.woff2') format('woff2');font-weight:500 600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:'SAT OTT Arabic';src:url('../fonts/IBMPlexSansArabic-Bold.woff2') format('woff2');font-weight:700 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
:root{
 --ui-bg:#edf5fd;--ui-panel:#fffffff0;--ui-raised:#f4f8fd;--ui-subtle:#eaf2fb;--ui-input:#fff;
 --ui-text:#172b4a;--ui-soft:#354b69;--ui-muted:#526781;--ui-line:#c6d7eb;--ui-line-soft:#dce6f1;
 --ui-accent:#075ed7;--ui-on-accent:#fff;--ui-accent-hover:#064cac;--ui-selected:#e2efff;--ui-hover:#edf5ff;
 --ui-success:#197044;--ui-success-bg:#e5f5ec;--ui-warning:#805516;--ui-warning-bg:#fff2d8;--ui-danger:#ac3544;--ui-danger-bg:#fdecef;
 --ui-header:#fffffff5;--ui-shadow:0 4px 14px #315f8d12,0 1px 2px #315f8d12;--ui-inset:inset 0 1px #fff;
 --ui-image:url('../images/sat_ott_light_background.jpg');--ui-overlay:#14223580;--ui-radius:12px;--ui-font:'SAT OTT Arabic','SAT OTT Inter','Segoe UI',Arial,sans-serif;
 --tool-reference-width:900px;color-scheme:light;scroll-padding-top:100px;
}
:root[data-theme=dark]{
 --ui-bg:#1b1e25;--ui-panel:#1b1f27f2;--ui-raised:#252a33;--ui-subtle:#222731;--ui-input:#2b303b;
 --ui-text:#f3f2ef;--ui-soft:#d4d7de;--ui-muted:#acb3c0;--ui-line:#454a55;--ui-line-soft:#343a45;
 --ui-accent:#efcc91;--ui-on-accent:#29231a;--ui-accent-hover:#f8dba8;--ui-selected:#3b342b;--ui-hover:#2b2d32;
 --ui-success:#a2dfb5;--ui-success-bg:#203b2d;--ui-warning:#edcf94;--ui-warning-bg:#3d3528;--ui-danger:#f0a7b0;--ui-danger-bg:#422b33;
 --ui-header:#181c23f7;--ui-shadow:0 4px 14px #0003,0 1px 2px #0003;--ui-inset:inset 0 1px #ffffff08;
 --ui-image:url('../images/sat_ott_dark_background.jpg');--ui-overlay:#101217b8;color-scheme:dark;
}
html{background:var(--ui-bg);}
html[data-theme] body[data-design=master]{
 --bg:var(--ui-bg);--panel:var(--ui-panel);--panel-h:var(--ui-raised);--input-bg:var(--ui-input);
 --txt:var(--ui-text);--soft:var(--ui-soft);--muted:var(--ui-muted);--line:var(--ui-line);--line-soft:var(--ui-line-soft);
 --accent:var(--ui-accent);--green:var(--ui-success);--amber:var(--ui-warning);--row-rule:var(--ui-line-soft);--row-hover:var(--ui-hover);--selected-bg:var(--ui-selected);
 --reference-shadow:var(--ui-shadow);--radius:var(--ui-radius);--reference-content:var(--tool-reference-width);
 background:transparent;color:var(--ui-text);font:14px/1.8 var(--ui-font);isolation:isolate;min-height:100vh;
}
/* الطبقة مرتبطة بالـ viewport؛ لا تعتمد على ارتفاع الصفحة ولا على نتائج البحث. */
html[data-theme] body[data-design=master]::before{content:'';position:fixed;inset:0;z-index:-1;background:var(--ui-bg) var(--ui-image) center center/cover no-repeat;pointer-events:none;}
html[data-theme] body[data-design=master][data-glow=reduced]{background:transparent;}
html[data-theme] body[data-design=master] main.container[data-tool-layout]{--tool-max:var(--tool-reference-width);--tool-gutter:32px;width:calc(100% - var(--tool-gutter)*2);max-width:var(--tool-reference-width);}
html[data-theme] body[data-design=master] .tool-page{padding-block:24px 32px;}
html[data-theme] body[data-design=master] :is(h1,h2,h3){color:var(--ui-text);font-family:var(--ui-font);text-wrap:balance;}
html[data-theme] body[data-design=master] :is(.page-lead h1,.reference-hero h1){font-size:clamp(27px,3vw,36px);font-weight:750;line-height:1.5;letter-spacing:-.6px;color:var(--ui-text);}
html[data-theme] body[data-design=master] :is(.page-lead p,.reference-hero p,.hero-subtitle){color:var(--ui-soft);font-family:var(--ui-font);line-height:1.85;}
html[data-theme] body[data-design=master] .reference-hero h1 em{color:var(--ui-accent);}
html[data-theme] body[data-design=master] .reference-hero{margin-bottom:22px;}
html[data-theme] body[data-design=master] .eyebrow{color:var(--ui-accent);font-size:10px;letter-spacing:1.4px;}
html[data-theme] body[data-design=master] :is(.hint,.breadcrumbs,.section-description,.reference-section-head p,.reference-guide p,.reference-guide li,.home-status,.mac-tool-description){color:var(--ui-muted);}
html[data-theme] body[data-design=master] :is(.workspace-panel,.reference-panel,.workspace-summary,.tool-card,.device-tool,.mini-panel,.site-guide,.reseller-program){background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:var(--ui-radius);box-shadow:var(--ui-inset),var(--ui-shadow);}
html[data-theme] body[data-design=master] :is(.workspace-panel,.reference-panel){padding:20px;margin-bottom:16px;}
html[data-theme] body[data-design=master] :is(.workspace-panel>h2,.mini-panel h2,.reference-section-head h2,.downloader-feedback>summary,.reseller-program h2,.reseller-program h3){color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(.reference-section-head h2,.downloader-feedback>summary){font-size:19px;gap:9px;}
html[data-theme] body[data-design=master] :is(.device-status,.notice-inline,.home-status,.reseller-source-section,.reseller-suggestion-panel,.suggestions,.subscription-candidates,.subscription-playlist-url,pre){background:var(--ui-subtle);color:var(--ui-soft);border-color:var(--ui-line);box-shadow:none;}
html[data-theme] body[data-design=master] :is(input,select,textarea){font-family:var(--ui-font);color:var(--ui-text);background:var(--ui-input);border:1px solid var(--ui-line);border-radius:8px;box-shadow:inset 0 1px 2px #142b4510;accent-color:var(--ui-accent);caret-color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1;}
html[data-theme] body[data-design=master] :is(input,select,textarea):focus{outline:2px solid var(--ui-accent);outline-offset:2px;border-color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px;}
html[data-theme] body[data-design=master] .reference-search-input input{color:var(--ui-text);background:var(--ui-input);border-color:var(--ui-line);box-shadow:inset 0 1px 3px #192b4310;}
html[data-theme] body[data-design=master] .reference-search-input>.ref-icon{color:var(--ui-muted);}
html[data-theme] body[data-design=master] .search-mode label{color:var(--ui-soft);font-weight:500;}
html[data-theme] body[data-design=master] .search-mode label:has(input:checked){color:var(--ui-accent);}
html[data-theme] body[data-design=master] .search-mode input{accent-color:var(--ui-accent);box-shadow:none;}
html[data-theme] body[data-design=master] :is(.btn,.small-btn,.row-button,.inline-copy,.item-action,.favorite-button,.category-shortcuts button,.category-shortcuts-extra button,.tool-jump-links a,.dialog-dismiss,.reseller-dialog-close){
 color:var(--ui-text);background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:8px;box-shadow:var(--ui-inset),0 1px 2px #0000000a;font-family:var(--ui-font);font-weight:600;
 transition:color 200ms ease,background-color 200ms ease,border-color 200ms ease,box-shadow 200ms ease,transform 200ms ease;
}
html[data-theme] body[data-design=master] :is(.btn-primary,.reference-search-row>.btn,.reseller-program-action,.site-guide-action){background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-on-accent);box-shadow:0 2px 5px #00000014;}
html[data-theme] body[data-design=master] :is(.category-shortcuts button,.category-shortcuts-extra button){border-radius:18px;min-height:36px;padding:6px 13px;font-size:12px;}
html[data-theme] body[data-design=master] :is(.category-shortcuts button,.category-shortcuts-extra button)[aria-pressed=true]{background:var(--ui-selected);border-color:var(--ui-accent);color:var(--ui-accent);box-shadow:inset 0 -2px var(--ui-accent);}
html[data-theme] body[data-design=master] :is(.reference-count,.search-header>span,.tag,.type-tag,.service-badge){color:var(--ui-accent);background:var(--ui-selected);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table,.reference-catalog,#services-table){background:var(--ui-panel);border-color:var(--ui-line);box-shadow:0 2px 3px #00000008;}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table,.reference-catalog,#services-table) :is(th,td){color:var(--ui-text);border-color:var(--ui-line-soft);font-family:var(--ui-font);}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table,.reference-catalog,#services-table) thead th{color:var(--ui-accent);background:var(--ui-subtle);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table,.reference-catalog,#services-table) tbody tr:nth-child(even){background:var(--ui-raised);}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table,.reference-catalog,#services-table) tbody tr:hover{background:var(--ui-hover);transform:none;box-shadow:inset 2px 0 var(--ui-line);}
html[data-theme] body[data-design=master] :is(.catalog-table .row-name,.service-name,.panel .row-name,.reseller-product-description h3){color:var(--ui-text);}
html[data-theme] body[data-design=master] :is(.table-code,.service-price){color:var(--ui-success);font-variant-numeric:tabular-nums;}
html[data-theme] body[data-design=master] :is(.url,.table-url,.m3u-value-row code,.m3u-value-row strong,.m3u-date,.reference-guide,.mac-service-index){color:var(--ui-soft);}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.inline-copy){color:var(--ui-success);background:var(--ui-success-bg);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.url-button,.open-btn){color:var(--ui-warning);background:var(--ui-warning-bg);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.favorite-btn,.favorite-button,.row-report){color:var(--ui-accent);background:var(--ui-raised);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.favorite-btn,.favorite-button,.row-button)[aria-pressed=true]{color:var(--ui-accent);background:var(--ui-selected);border-color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(.delete-button,.remove-favorite){color:var(--ui-danger);background:var(--ui-danger-bg);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.panel,.panel:hover,.suggestion-item){color:var(--ui-text);background:var(--ui-raised);border-color:var(--ui-line);box-shadow:none;transform:none;}
html[data-theme] body[data-design=master] :is(.panel.is-selected,.panel:focus-within,.suggestion-item:hover){background:var(--ui-selected);border-color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(dialog,.copy-dialog,.reseller-order-dialog,.subscription-result-dialog){color:var(--ui-text);background:var(--ui-panel);border-color:var(--ui-line);border-radius:14px;box-shadow:0 18px 60px #0004;}
html[data-theme] body[data-design=master] dialog::backdrop{background:var(--ui-overlay);}
html[data-theme] body[data-design=master] :is(.site-notice,.device-status){color:var(--ui-soft);background:var(--ui-raised);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] .site-notice{box-shadow:var(--ui-shadow);}
html[data-theme] body[data-design=master] :is(.site-guide-action,.reseller-program-action){border-radius:8px;}
html[data-theme] body[data-design=master] :is(.site-guide-toggle,.reseller-program-toggle):hover{background:var(--ui-hover);}
html[data-theme] body[data-design=master] :is(.site-guide-toggle,.reseller-program-toggle):hover :is(.site-guide-action,.reseller-program-action){background:var(--ui-accent-hover);color:var(--ui-on-accent);}
html[data-theme] body[data-design=master] .reseller-program-toggle :is(h2,p),html[data-theme] body[data-design=master] .site-guide-title{color:var(--ui-text);}
html[data-theme] body[data-design=master] :is(.reseller-program-eyebrow,.reseller-program-copy>span,.reseller-program-title-icon){color:var(--ui-accent);}
html[data-theme] body[data-design=master] .reseller-source-section{border:1px solid var(--ui-line);}
html[data-theme] body[data-design=master] #how-to-join li::before{background:var(--ui-selected);color:var(--ui-accent);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] .reseller-program-body{border-color:var(--ui-line);}
html[data-theme] body[data-design=master] .m3u-secondary-actions,html[data-theme] body[data-design=master] .m3u-value-row{border-color:var(--ui-line-soft);}
html[data-theme] body[data-tool=mac] [data-tool-layout] .device-tools{grid-template-columns:repeat(2,minmax(0,1fr));}
html[data-theme] body[data-design=master] .mac-service-nav{background:var(--ui-panel);border-color:var(--ui-line);box-shadow:var(--ui-shadow);}
html[data-theme] body[data-design=master] .mac-service-nav a{color:var(--ui-soft);border-color:transparent;background:transparent;box-shadow:none;}
html[data-theme] body[data-design=master] .mac-service-nav a:is(:hover,[aria-current=location]){background:var(--ui-selected);border-color:var(--ui-line);color:var(--ui-accent);transform:none;box-shadow:none;}
html[data-theme] body[data-design=master] .mac-service-nav a::after{background:var(--ui-accent);}
html[data-theme] body[data-design=master] [data-device-provider]{scroll-margin-top:100px;}
html[data-theme] body[data-design=master] .device-tool.is-current-service{border-color:var(--ui-accent);}
html[data-theme] body[data-tool=m3u] .tool-status-bar{grid-template-columns:1fr 1.4fr 1fr;margin-block:10px 16px;max-width:none;}
html[data-theme] body[data-tool=m3u] .tool-indicator{min-height:50px;background:var(--ui-raised);border-color:var(--ui-line);box-shadow:var(--ui-inset);color:var(--ui-text);}
html[data-theme] body[data-tool=m3u] :is(.tool-indicator-label,.tool-indicator-icon){color:var(--ui-muted);}
html[data-theme] body[data-tool=m3u] :is(.tool-indicator strong){font-size:14px;}
html[data-theme] body[data-design=master] [data-state=ok]{color:var(--ui-success);background:var(--ui-success-bg);}
html[data-theme] body[data-design=master] [data-state=warn]{color:var(--ui-warning);background:var(--ui-warning-bg);}
html[data-theme] body[data-design=master] [data-state=bad]{color:var(--ui-danger);background:var(--ui-danger-bg);}
html[data-theme] body[data-design=master] [data-state=neutral],html[data-theme] body[data-design=master] [data-state=loading]{color:var(--ui-soft);background:var(--ui-subtle);}
/* هيدر واحد لجميع الصفحات. قائمة الهاتف ضمن الهيدر نفسه. */
html[data-theme] body[data-design=master] .reference-header{position:sticky;top:0;z-index:25;background:var(--ui-header);border-bottom:1px solid var(--ui-line);box-shadow:0 2px 12px #0000000c;min-height:72px;height:auto;}
html[data-theme] body[data-design=master] .reference-header .header-content{width:min(1640px,calc(100% - 40px));min-height:72px;height:auto;gap:14px;flex-wrap:nowrap;position:relative;}
html[data-theme] body[data-design=master] .reference-header .brand img{width:48px;height:52px;}
html[data-theme] body[data-design=master] .reference-header .brand-text{font:750 23px/1.3 'SAT OTT Inter',Arial,sans-serif;letter-spacing:-.7px;color:var(--ui-text);}
html[data-theme] body[data-design=master] .reference-header .brand-text strong{font-weight:750;color:var(--ui-accent);}
html[data-theme] body[data-design=master] .reference-header .main-nav{direction:rtl;gap:4px;}
html[dir=ltr] body[data-design=master] .reference-header .main-nav{direction:ltr;}
html[data-theme] body[data-design=master] .reference-header .nav-link{color:var(--ui-soft);min-height:52px;border-radius:8px;gap:7px;padding:8px 9px;font:600 12px/1.5 var(--ui-font);white-space:normal;text-align:center;}
html[data-theme] body[data-design=master] .reference-header .nav-link>.ref-icon{font-size:17px;}
html[data-theme] body[data-design=master] .reference-header .nav-link:is(:hover,.is-active){background:transparent;color:var(--ui-accent);transform:none;box-shadow:none;}
html[data-theme] body[data-design=master] .reference-header .nav-link::after{bottom:0;height:3px;inset-inline:8px;border-radius:3px;background:var(--ui-accent);transition:transform 200ms ease;}
html[data-theme] body[data-design=master] .reference-header .nav-link:is(:hover,.is-active)::after{transform:scaleX(1);}
html[data-theme] body[data-design=master] .reference-header :is(.language-toggle,.nav-toggle){color:var(--ui-text);background:transparent;border-color:var(--ui-line);width:44px;height:44px;min-height:44px;min-width:44px;}
html[data-theme] body[data-design=master] .reference-header .nav-toggle{display:none;}
html[data-theme] body[data-design=master] .reference-header-tools{gap:8px;margin:0;}
html[data-theme] body[data-design=master] .reference-header .theme-toggle{position:relative;display:flex;align-items:center;justify-content:space-around;gap:0;width:76px;min-width:76px;height:42px;min-height:42px;border:1px solid var(--ui-line);border-radius:24px;background:var(--ui-raised);color:var(--ui-muted);padding:3px;box-shadow:var(--ui-inset);}
html[data-theme] body[data-design=master] .theme-toggle>.ref-icon{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;font-size:19px;}
html[data-theme] body[data-design=master] .theme-toggle::after{content:'';position:absolute;top:4px;left:4px;width:32px;height:32px;background:var(--ui-accent);border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform 220ms ease,background-color 220ms ease;}
html[data-theme=dark] body[data-design=master] .theme-toggle::after{transform:translateX(34px);}
html[data-theme=light] .theme-toggle .icon-sun,html[data-theme=dark] .theme-toggle .icon-moon{color:var(--ui-on-accent);}
html[data-theme=dark] :is(.brand img,.reference-hero h1 img){filter:grayscale(1);}
html[data-theme] body[data-design=master] .site-footer{background:var(--ui-header);border-color:var(--ui-line);color:var(--ui-muted);}
.icon-home::before{content:'\f015'}.icon-code::before{content:'\f121'}.icon-monitor::before{content:'\f108'}.icon-device::before{content:'\f2db'}.icon-sun::before{content:'\f185'}.icon-check::before{content:'\f00c'}.icon-external::before{content:'\f35d'}.icon-share::before{content:'\f1e0'}.icon-download::before{content:'\f019'}
.icon-clock::before{content:'\f017'}.icon-status::before{content:'\f111'}.icon-latency::before{content:'\f012'}
html[data-theme] body[data-design=master] :is(#catalog-state,.m3u-section-index,.m3u-service-state,.mac-provider-description){color:var(--ui-muted);}
html[data-theme] body[data-design=master] .m3u-service-state{background:var(--ui-subtle);border-color:var(--ui-line);}
/* قلب المفضلة يستخدم المكتبة نفسها مع بقاء الاسم القابل للقراءة. */
html[data-theme] body[data-design=master] .favorite-btn{font-size:0;}
@media(hover:hover){
 html[data-theme] body[data-design=master] :is(.btn,.row-button,.small-btn,.inline-copy,.item-action,.category-shortcuts button,.category-shortcuts-extra button):not(:disabled):hover{color:var(--ui-accent);background:var(--ui-selected);border-color:var(--ui-accent);transform:translateY(-1px);box-shadow:var(--ui-inset),0 3px 7px #00000012;}
 html[data-theme] body[data-design=master] :is(.btn-primary,.reference-search-row>.btn):not(:disabled):hover{color:var(--ui-on-accent);background:var(--ui-accent-hover);}
}
html[data-theme] body[data-design=master] :is(button,.btn):not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 1px 3px #0002;}
html[data-theme] body[data-design=master] :is(.catalog-table,.reference-table) tbody tr:active{transform:none;}
@media(max-width:1250px){
 html[data-theme] body[data-design=master] .reference-header .brand-text{font-size:20px;}
 html[data-theme] body[data-design=master] .reference-header .header-content{gap:8px;}
 html[data-theme] body[data-design=master] .reference-header .nav-link{font-size:11px;padding-inline:6px;gap:5px;}
 html[data-theme] body[data-design=master] .reference-header .nav-link>.ref-icon{font-size:15px;}
}
@media(max-width:1100px){
 html[data-theme] body[data-design=master] .reference-header .header-content{min-height:70px;width:calc(100% - 32px);}
 html[data-theme] body[data-design=master] .reference-header .nav-toggle{display:grid;place-items:center;margin-inline-start:auto;}
 html[data-theme] body[data-design=master] .reference-header .main-nav{display:none;position:absolute;inset:100% 0 auto;flex:initial;order:initial;padding:10px;max-height:calc(100dvh - 80px);overflow-y:auto;flex-direction:column;align-items:stretch;background:var(--ui-header);border:1px solid var(--ui-line);border-radius:0 0 12px 12px;box-shadow:var(--ui-shadow);}
 html[data-theme] body[data-design=master] .reference-header .main-nav.is-open{display:flex;}
 html[data-theme] body[data-design=master] .reference-header .nav-link{justify-content:flex-start;min-height:46px;font-size:13px;padding-inline:12px;white-space:normal;}
 html[data-theme] body[data-design=master] .reference-header .nav-link::after{inset-inline:12px;}
 html[data-theme] body[data-design=master] .reference-header .reference-header-tools{margin:0;}
}
@media(max-width:800px){html[data-theme] body[data-design=master] main.container[data-tool-layout]{--tool-gutter:16px;}html[data-theme] body[data-tool=m3u] .tool-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){
 html[data-theme] body[data-design=master] main.container[data-tool-layout]{--tool-gutter:12px;}
 html[data-theme] body[data-design=master] .reference-header .header-content{width:calc(100% - 20px);gap:4px;min-height:64px;}
 html[data-theme] body[data-design=master] .reference-header{min-height:64px;}
 html[data-theme] body[data-design=master] .reference-header .brand-text{font-size:17px;letter-spacing:-.6px;}
 html[data-theme] body[data-design=master] .reference-header .brand img{width:35px;height:42px;}
 html[data-theme] body[data-design=master] .reference-header .theme-toggle{width:64px;min-width:64px;height:38px;min-height:38px;}
 html[data-theme] body[data-design=master] .theme-toggle>.ref-icon{width:27px;height:27px;font-size:16px;}
 html[data-theme] body[data-design=master] .theme-toggle::after{width:28px;height:28px;}
 html[data-theme=dark] body[data-design=master] .theme-toggle::after{transform:translateX(26px);}
 html[data-theme] body[data-design=master] .reference-header-tools{gap:0;}
 html[data-theme] body[data-design=master] :is(.workspace-panel,.reference-panel){padding:16px 12px;}
 html[data-theme] body[data-design=master] :is(.reference-hero h1,.page-lead h1){font-size:27px;}
 html[data-theme] body[data-design=master] .reference-hero h1{gap:6px;}
 html[data-theme] body[data-design=master] .reference-hero h1 img{width:42px;height:42px;}
 html[data-theme] body[data-design=master] .reference-hero p{font-size:14px;}
 html[data-theme] body[data-tool=mac] [data-tool-layout] .device-tools{grid-template-columns:minmax(0,1fr);}
 html[data-theme] body[data-tool=m3u] .tool-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 html[data-theme] body[data-tool=m3u] .tool-indicator[data-indicator=time]{grid-column:1/-1;grid-row:2;}
 html[data-theme] body[data-tool=m3u] .tool-indicator{padding:9px 8px;gap:6px;}
 html[data-theme] body[data-design=master] :is(input,select,textarea){font-size:16px;}
}
@media(max-width:360px){html[data-theme] body[data-design=master] .reference-header .brand-text{font-size:15px;}html[data-theme] body[data-design=master] .reference-header .brand img{width:28px;}}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-design=master] *,html[data-theme] body[data-design=master] *::before,html[data-theme] body[data-design=master] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media print{html[data-theme] body[data-design=master]::before{display:none;}}

/* توحيد النصوص الثانوية التي كانت محددة بألوان ثابتة في الواجهة السابقة. */
html[data-theme] body[data-design=master] :is(.form-field,.downloader-feedback .form-field){color:var(--ui-soft);font-size:13px;font-weight:500;}
html[data-theme] body[data-design=master] :is(.reference-section-head p,.section-description,.hint,.downloader-about .reference-faq-grid p){font-size:13px;line-height:1.8;color:var(--ui-muted);}
html[data-theme] body[data-design=master] :is(.downloader-feedback #code-report-form h2,.downloader-about .reference-faq-grid summary){color:var(--ui-accent);}
html[data-theme] body[data-design=master] :is(.downloader-about .reference-faq-grid>details,.site-guide>.site-guide-toggle,.reseller-program>.reseller-program-toggle){background:var(--ui-raised);border-color:var(--ui-line);color:var(--ui-text);}
html[data-theme] body[data-design=master] .site-guide>.site-guide-toggle{border-radius:var(--ui-radius);}
html[data-theme] body[data-design=master] :is(.site-guide-action,.reseller-program-action,.downloader-feedback .feedback-submit){background:var(--ui-accent);color:var(--ui-on-accent);border-color:var(--ui-accent);box-shadow:0 1px 3px #0002;}
html[data-theme] body[data-design=master] .downloader-feedback #code-report-form .feedback-submit{background:var(--ui-selected);color:var(--ui-accent);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.copy-button .ref-icon,.url-button .ref-icon){color:inherit;}
html[data-theme] body[data-design=master] :is(.legacy-intro,.legacy-intro p,.legacy-intro li,.legacy-intro>summary){color:var(--ui-muted);}
html[data-theme] body[data-tool=mac] .device-tool .form-actions .btn{box-shadow:var(--ui-inset),0 1px 3px #00000012;}
html[data-theme] body[data-design=master] :is(.notice,.notice-offline){background:var(--ui-warning-bg);color:var(--ui-warning);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.notice-error,[data-mood=bad]){background:var(--ui-danger-bg);color:var(--ui-danger);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] :is(.notice-success,[data-mood=ok]){background:var(--ui-success-bg);color:var(--ui-success);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] [data-mood=warn]{background:var(--ui-warning-bg);color:var(--ui-warning);border-color:var(--ui-line);}

/* تظل حالات الاختيار واضحة في الصفوف الفردية والزوجية في الوضعين. */
html[data-theme] body[data-catalog=offers] #services-table .service-row:is(.is-selected,.highlight-row,:focus-within){background:var(--ui-selected);box-shadow:inset 3px 0 var(--ui-accent);}
html[data-theme] body[data-catalog=offers] #suggestions-list{background:var(--ui-panel);border-color:var(--ui-line);box-shadow:var(--ui-shadow);}
html[data-theme] body[data-catalog=offers] #suggestions-list .suggestion-item{background:transparent;color:var(--ui-text);}
html[data-theme] body[data-catalog=offers] #suggestions-list .suggestion-item:is(:hover,[aria-selected=true]){background:var(--ui-selected);color:var(--ui-accent);}
/* مكونات DNS المؤجلة تحصل على نفس الرموز دون إظهارها أو تفعيلها. */
html[data-theme] body[data-design=master] :is(.dns-table th,.result-tab.is-active){background:var(--ui-selected);color:var(--ui-accent);}
html[data-theme] body[data-design=master] .copy-value{background:var(--ui-success-bg);color:var(--ui-success);border-color:var(--ui-line);}
html[data-theme] body[data-design=master] .demo-badge{background:var(--ui-warning-bg);color:var(--ui-warning);border-color:var(--ui-line);}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-design=master] :is(.btn,.row-button,.nav-link):is(:hover,:active){transform:none!important;}}
/* مساحة الحالة لا تختفي عند اكتمال البحث، فلا تسحب النتائج والمفضلة إلى الأعلى. */
html[data-theme] body[data-catalog=panels] .catalog-workspace .result-toolbar,
html[data-theme] body[data-catalog=panels] .catalog-workspace .result-toolbar:has(#catalog-state:empty){display:flex;min-height:24px;margin:10px 0 0;padding:0;border:0;}
html[data-theme] body[data-catalog=panels] .catalog-workspace #catalog-state{display:flex;min-height:24px;margin:0;}
@media(max-width:600px){html[data-theme] body[data-catalog=panels] .search-header #results-count{flex-basis:100%;min-height:24px;}}
html[data-theme] body[data-catalog=panels] .search-header .search-mode{order:0;}
html[data-theme] body[data-catalog=panels] .search-header #results-count{order:1;margin-inline-start:auto;background:transparent;}
@media(max-width:600px){html[data-theme] body[data-catalog=panels] .search-header{min-height:74px;align-content:start;row-gap:6px;}}

.icon-cart::before{content:'\f07a'}
html[data-theme] body[data-design=master] .action-icon{font-size:14px;flex-shrink:0;}
html[data-theme] body[data-design=master] .favorite-btn>.action-icon{font-size:16px;transition:transform 200ms ease;}
html[data-theme] body[data-design=master] .favorite-btn[aria-pressed=true]>.action-icon{transform:scale(1.1);}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-design=master] .favorite-btn>.action-icon{transition:none;}}

/* SATOTT_SEMANTIC_ACTIONS */

/* ألوان الإجراءات فقط: لا تعديل للهيدر أو الجدول أو التصنيفات. SVG من Font Awesome Free. */
html[data-theme]{
 --action-copy:#24568f;--action-copy-bg:#e8f1fc;--action-copy-line:#a6c1e1;
 --action-open:#17655e;--action-open-bg:#e3f3ef;--action-open-line:#9dc8c2;
 --action-share:#65418b;--action-share-bg:#f0e9f7;--action-share-line:#c5afd9;
 --action-favorite:#a44858;--action-favorite-bg:#f7f2f3;--action-favorite-line:#d4b5bc;
 --action-url:#8c4e1a;--action-url-bg:#ffecdf;--action-url-line:#d6a078;
 --action-whatsapp:#17633c;--action-whatsapp-bg:#e3f3e9;--action-whatsapp-line:#9bc7ad;
 --action-order:#88441e;--action-order-bg:#fbece1;--action-order-line:#d9b093;
 --action-report:#98454c;--action-report-bg:#f9e9eb;--action-report-line:#d5aaae;
 --action-delete:#9a293b;--action-delete-bg:#f9e5e9;--action-delete-line:#d7939e;
 --action-more:#4b596b;--action-more-bg:#f1f4f8;--action-more-line:#c4cdd8;
 --action-height:38px;--action-icon-size:20px;
}
html[data-theme=dark]{
 --action-copy:#b0cef0;--action-copy-bg:#233246;--action-copy-line:#536c8a;
 --action-open:#a9d4ce;--action-open-bg:#233835;--action-open-line:#52766f;
 --action-share:#ceb9e2;--action-share-bg:#332b3e;--action-share-line:#756184;
 --action-favorite:#d58a94;--action-favorite-bg:#302b2e;--action-favorite-line:#88636c;
 --action-url:#edb48a;--action-url-bg:#3c2c24;--action-url-line:#a47753;
 --action-whatsapp:#acd6bc;--action-whatsapp-bg:#263b30;--action-whatsapp-line:#5a7e65;
 --action-order:#e4bda0;--action-order-bg:#3e3029;--action-order-line:#92725a;
 --action-report:#dfb2b8;--action-report-bg:#3e2c31;--action-report-line:#8e666f;
 --action-delete:#edbbc4;--action-delete-bg:#472c33;--action-delete-line:#a26b77;
 --action-more:#cbd0d8;--action-more-bg:#2d323a;--action-more-line:#626c7b;
}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa){--act-ink:var(--action-copy);--act-bg:var(--action-copy-bg);--act-line:var(--action-copy-line);--act-icon:url("/assets/icons/actions/copy.svg");}
html[data-theme] body[data-design=master] :is(.open-btn,[data-open-link],#url-open,#modal-open-url){--act-ink:var(--action-open);--act-bg:var(--action-open-bg);--act-line:var(--action-open-line);--act-icon:url("/assets/icons/actions/open.svg");}
html[data-theme] body[data-design=master] :is(.share-btn,[data-share-link],#url-share,#share-result){--act-ink:var(--action-share);--act-bg:var(--action-share-bg);--act-line:var(--action-share-line);--act-icon:url("/assets/icons/actions/share.svg");}
html[data-theme] body[data-design=master] :is(.favorite-btn,.favorite-button){--act-ink:var(--action-favorite);--act-bg:var(--action-favorite-bg);--act-line:var(--action-favorite-line);--act-icon:url("/assets/icons/actions/favorite.svg");}
html[data-theme] body[data-design=master] :is(.url-button,[data-code-url]){--act-ink:var(--action-url);--act-bg:var(--action-url-bg);--act-line:var(--action-url-line);--act-icon:url("/assets/icons/actions/url.svg");}
html[data-theme] body[data-design=master] :is(.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"]){--act-ink:var(--action-whatsapp);--act-bg:var(--action-whatsapp-bg);--act-line:var(--action-whatsapp-line);--act-icon:url("/assets/icons/actions/whatsapp.svg");}
html[data-theme] body[data-design=master] :is(.order-btn,[data-order]){--act-ink:var(--action-order);--act-bg:var(--action-order-bg);--act-line:var(--action-order-line);--act-icon:url("/assets/icons/actions/order.svg");}
html[data-theme] body[data-design=master] :is(.row-report,[data-report-code],#code-report-form .feedback-submit){--act-ink:var(--action-report);--act-bg:var(--action-report-bg);--act-line:var(--action-report-line);--act-icon:url("/assets/icons/actions/report.svg");}
html[data-theme] body[data-design=master] :is(.remove-favorite,.delete-button,#clear-history){--act-ink:var(--action-delete);--act-bg:var(--action-delete-bg);--act-line:var(--action-delete-line);--act-icon:url("/assets/icons/actions/delete.svg");}
html[data-theme] body[data-design=master] :is(#load-more){--act-ink:var(--action-more);--act-bg:var(--action-more-bg);--act-line:var(--action-more-line);--act-icon:none;}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more){
 color:var(--act-ink);background:var(--act-bg);border:1px solid var(--act-line);border-radius:8px;
 min-height:var(--action-height);min-width:var(--action-height);max-width:100%;padding:7px 10px;box-sizing:border-box;
 align-items:center;justify-content:center;gap:6px;line-height:1.25;white-space:nowrap;text-decoration:none;
 box-shadow:inset 0 1px #ffffff25,0 2px 4px #16233812;
 transition:color 200ms ease,background-color 200ms ease,border-color 200ms ease,box-shadow 200ms ease,transform 200ms ease;
}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more):not([hidden]){display:inline-flex;}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history)>.ref-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 var(--action-icon-size);width:var(--action-icon-size);height:var(--action-icon-size);font-size:0;color:inherit;filter:drop-shadow(0 1px 0 #ffffff12);}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history)>.ref-icon::before,
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history):not(:has(>.ref-icon))::before{
 content:"";display:block;flex:0 0 var(--action-icon-size);width:var(--action-icon-size);height:var(--action-icon-size);
 background-color:currentColor;-webkit-mask:var(--act-icon) center/contain no-repeat;mask:var(--act-icon) center/contain no-repeat;
}
html[data-theme] body[data-design=master] :is(.favorite-btn,.favorite-button)[aria-pressed=true]{--act-icon:url("/assets/icons/actions/favorite-filled.svg");--act-bg:#f5e6e9;--act-line:#b86f7c;--act-ink:#b54b5b;}
html[data-theme=dark] body[data-design=master] :is(.favorite-btn,.favorite-button)[aria-pressed=true]{--act-bg:#463039;--act-line:#95616d;--act-ink:#d58a94;}
@media(hover:hover){html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more):not(:disabled):not([aria-disabled=true]):hover{color:var(--act-ink);background:var(--act-bg);background:color-mix(in srgb,var(--act-bg) 91%,var(--act-ink) 9%);border-color:var(--act-ink);transform:translateY(-1px);box-shadow:inset 0 1px #ffffff25,0 4px 8px #16233822;}}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more):not(:disabled):not([aria-disabled=true]):active{transform:translateY(1px);box-shadow:inset 0 2px 3px #16233825;}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more):focus-visible{outline:2px solid var(--act-ink);outline-offset:2px;}
html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more):is(:disabled,[aria-disabled=true]){opacity:.5;cursor:not-allowed;transform:none;box-shadow:none;}
@media(max-width:600px){html[data-theme]{--action-height:44px;}html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more){padding:6px 8px;}}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-design=master] :is(.copy-button,.copy-btn,.copy-value,.inline-copy,.mac-result-copy,[data-copy-code],[data-copy-link],[data-ui-icon="copy"],#checker-copy,#copy-feedback,#url-copy,#copy-btn,#first-copy-all,#second-copy-all,#conversion-copy-all,#playlist-copy,#modal-copy,#modal-copy-url,#copy-all,#copy-ips,#copy-wa,.open-btn,[data-open-link],#url-open,#modal-open-url,.share-btn,[data-share-link],#url-share,#share-result,.favorite-btn,.favorite-button,.url-button,[data-code-url],.wa-btn,[data-whatsapp],#feedback-link,#send-whatsapp,#first-whatsapp,#second-whatsapp,#conversion-whatsapp-all,a.btn[href^="https://wa.me/"],.order-btn,[data-order],.row-report,[data-report-code],#code-report-form .feedback-submit,.remove-favorite,.delete-button,#clear-history,#load-more){transition:none!important;transform:none!important;}}

/* وسط القلب المحفوظ أحمر هادئ، دون توهج، في الصفحات كلها. */
html[data-theme] body[data-design=master] :is(.favorite-btn,.favorite-button)>.ref-icon{filter:none!important;}

/* PREMIUM_DETAIL_REFINEMENT: تفاصيل عرض فقط، دون تغيير المقاسات أو سلوك الأدوات. */
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;font-size:11px;line-height:1.7;margin-block:0 16px;
}
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs a{
 color:var(--ui-muted);text-decoration:none;border-radius:5px;padding:3px 5px;transition:color 180ms ease,background-color 180ms ease;
}
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs a:hover{color:var(--ui-accent);background:var(--ui-selected);}
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs a:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px;}
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs>span:not(:last-child){color:var(--ui-muted);opacity:.65;font-size:10px;}
html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs>span:last-child{
 color:var(--ui-accent);font-weight:650;background:var(--ui-selected);border:1px solid var(--ui-line-soft);border-radius:6px;padding:3px 9px;max-width:100%;overflow-wrap:anywhere;
}
html[data-theme] body[data-design=master] [data-tool-layout] .page-lead .eyebrow{
 display:inline-block;padding:2px 8px;border:1px solid var(--ui-line-soft);border-radius:5px;background:var(--ui-panel);font-weight:650;line-height:1.7;
}
html[data-theme] body[data-design=master] [data-tool-layout] :is(.workspace-panel:not(.device-tool)>h2,.reference-section-head h2,.workspace-summary>h2,.reference-guide>h2){
 font-size:19px;font-weight:750;line-height:1.6;border-inline-start:3px solid var(--ui-accent);padding-inline-start:10px;
}
html[data-theme] body[data-design=master] [data-tool-layout] :is(.mini-panel>h2,.reseller-product-description>h3){font-weight:750;line-height:1.6;}

/* الثمن نص الدالة الأصلية نفسه، مع فصل بصري للعدد والعملة فقط. */
html[data-theme] body[data-catalog=offers] .price-presentation{
 display:inline-flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:3px 6px;max-width:100%;padding:6px 8px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);box-shadow:var(--ui-inset),0 2px 4px #00000008;vertical-align:middle;direction:ltr;unicode-bidi:isolate;line-height:1.3;
}
html[data-theme] body[data-catalog=offers] .price-amount{color:var(--ui-text);font-size:21px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.6px;}
html[data-theme] body[data-catalog=offers] .price-currency{
 color:var(--ui-accent);background:var(--ui-selected);border-radius:4px;padding:3px 5px;font-size:10px;font-weight:750;letter-spacing:.03em;line-height:1.5;white-space:nowrap;
}
html[data-theme] body[data-catalog=offers] .price-presentation:not(:has(.price-amount)){font-size:13px;color:var(--ui-soft);padding:8px 10px;}
html[data-theme] body[data-catalog=offers] .reseller-currency{
 gap:10px;padding:5px 6px 5px 12px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);box-shadow:var(--ui-inset),var(--ui-shadow);color:var(--ui-soft);font-size:12px;font-weight:600;transition:border-color 180ms ease,box-shadow 180ms ease;
}
html[data-theme] body[data-catalog=offers] .reseller-currency:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 3px var(--ui-selected);}
html[data-theme] body[data-catalog=offers] .reseller-currency select{
 min-height:36px;min-width:96px;width:auto;padding:5px 10px;border:1px solid var(--ui-line-soft);border-radius:7px;background:var(--ui-selected);color:var(--ui-accent);font-size:13px;font-weight:750;line-height:1.6;direction:ltr;cursor:pointer;transition:background-color 180ms ease,border-color 180ms ease;
}
html[data-theme] body[data-catalog=offers] .reseller-currency select:is(:hover,:open){border-color:var(--ui-accent);}
html[data-theme] body[data-catalog=offers] .reseller-currency select:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px;}
html[data-theme] body[data-catalog=offers] .reseller-source-note{
 padding:9px 12px;border:1px solid var(--ui-line-soft);border-inline-start:3px solid var(--ui-line);border-radius:8px;background:var(--ui-raised);color:var(--ui-muted);font-size:12px;line-height:1.8;
}
/* تحسين القائمة الأصلية تدريجياً؛ المتصفحات الأخرى تحتفظ بقائمتها المعتادة. */
@supports(appearance:base-select){
 html[data-theme] body[data-catalog=offers] #currency-select{appearance:base-select;}
 html[data-theme] body[data-catalog=offers] #currency-select::picker(select){
  appearance:base-select;padding:5px;min-width:110px;margin-block:5px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-panel);color:var(--ui-text);box-shadow:var(--ui-shadow);opacity:0;transform:translateY(-3px);transition:opacity 160ms ease,transform 160ms ease,display 160ms allow-discrete,overlay 160ms allow-discrete;
 }
 html[data-theme] body[data-catalog=offers] #currency-select::picker(select):popover-open{opacity:1;transform:none;}
 html[data-theme] body[data-catalog=offers] #currency-select::picker-icon{color:var(--ui-accent);transition:transform 160ms ease;}
 html[data-theme] body[data-catalog=offers] #currency-select:open::picker-icon{transform:rotate(180deg);}
 html[data-theme] body[data-catalog=offers] #currency-select option{padding:7px 10px;border-radius:5px;font-size:13px;}
 html[data-theme] body[data-catalog=offers] #currency-select option:is(:hover,:focus,:checked){background:var(--ui-selected);color:var(--ui-accent);}
 @starting-style{html[data-theme] body[data-catalog=offers] #currency-select::picker(select):popover-open{opacity:0;transform:translateY(-3px);}}
}

/* تسلسل بصري موحد لأقسام M3U، مع بقاء الحالات والنتائج الأصلية. */
html[data-theme] body[data-tool=m3u] .m3u-section-head{gap:12px;padding-block-end:13px;border-bottom:1px solid var(--ui-line-soft);margin-block-end:16px;}
html[data-theme] body[data-tool=m3u] .m3u-section-head>div{min-width:0;}
html[data-theme] body[data-tool=m3u] .m3u-section-head h2{font-size:clamp(18px,2vw,21px);font-weight:750;line-height:1.6;margin-block:0;overflow-wrap:anywhere;text-wrap:pretty;}
html[data-theme] body[data-tool=m3u] .m3u-section-head h2>span{unicode-bidi:plaintext;}
html[data-theme] body[data-tool=m3u] .m3u-section-index{
 display:inline-flex;max-width:100%;padding:3px 8px;margin-block-end:8px;border:1px solid var(--ui-line-soft);border-radius:5px;background:var(--ui-selected);color:var(--ui-accent);direction:ltr;font-size:10px;font-weight:700;letter-spacing:.07em;line-height:1.6;
}
html[data-theme] body[data-tool=m3u] .m3u-service-state{
 display:inline-flex;align-items:center;gap:6px;max-width:100%;white-space:normal;padding:5px 9px;color:var(--ui-muted);background:var(--ui-raised);border-color:var(--ui-line);border-radius:6px;font-size:11px;line-height:1.6;
}
html[data-theme] body[data-tool=m3u] .mini-panel>h2{font-size:17px;padding-block-end:10px;margin-block-end:15px;border-bottom:1px solid var(--ui-line-soft);color:var(--ui-accent);}
html[data-theme] body[data-tool=m3u] :is(.workspace-panel,.mini-panel)>.hint,
html[data-theme] body[data-tool=m3u] :is(#subscription-check-form,.m3u-section-head) .hint{
 padding-inline-start:10px;border-inline-start:2px solid var(--ui-line);font-size:12px;line-height:1.9;color:var(--ui-muted);
}
html[data-theme] body[data-tool=m3u] .tool-indicator{border-radius:9px;gap:8px;}
html[data-theme] body[data-tool=m3u] .tool-indicator-label{font-size:10px;font-weight:600;letter-spacing:.03em;}
html[data-theme] body[data-tool=m3u] .tool-indicator-icon{background:var(--ui-selected);color:var(--ui-accent);width:24px;height:24px;flex-basis:24px;border-radius:6px;font-size:14px;}
html[data-theme] body[data-tool=m3u] .tool-status-bar[aria-busy=true] .status-icon{background:transparent;}
html[data-theme] body[data-tool=m3u] .m3u-value-row{background:var(--ui-raised);border:1px solid var(--ui-line-soft);border-radius:8px;padding:10px;margin-block:7px;}
html[data-theme] body[data-tool=m3u] .m3u-value-row strong{font-size:11px;font-weight:650;color:var(--ui-muted);}
html[data-theme] body[data-tool=m3u] .reference-table caption{padding:8px 0;text-align:start;color:var(--ui-accent);font-size:13px;font-weight:700;}
html[data-theme] body[data-tool=m3u] :is(#subscription-message,#playlist-status):not(:empty){padding:9px 12px;border:1px solid var(--ui-line-soft);border-radius:8px;background:var(--ui-raised);font-size:12px;line-height:1.8;}

/* علامات نصية زخرفية للخدمات، وليست شعارات رسمية أو وظائف جديدة. */
html[data-theme] body[data-tool=mac] .device-tool[data-service-identity=mango]{--service-ink:#7b551e;--service-tint:#f8efdf;--service-line:#d8c8ac;}
html[data-theme] body[data-tool=mac] .device-tool[data-service-identity=hot]{--service-ink:#a34c3d;--service-tint:#f8eeeb;--service-line:#dec3bc;}
html[data-theme] body[data-tool=mac] .device-tool[data-service-identity=ibo]{--service-ink:#176878;--service-tint:#e9f3f5;--service-line:#b8d4dc;}
html[data-theme] body[data-tool=mac] .device-tool[data-service-identity=ora]{--service-ink:#66519b;--service-tint:#f0edf8;--service-line:#cfc4e2;}
html[data-theme=dark] body[data-tool=mac] .device-tool[data-service-identity=mango]{--service-ink:#e5c08a;--service-tint:#352f28;--service-line:#6a5943;}
html[data-theme=dark] body[data-tool=mac] .device-tool[data-service-identity=hot]{--service-ink:#e7a799;--service-tint:#382b2a;--service-line:#71534e;}
html[data-theme=dark] body[data-tool=mac] .device-tool[data-service-identity=ibo]{--service-ink:#95ccda;--service-tint:#26353a;--service-line:#486773;}
html[data-theme=dark] body[data-tool=mac] .device-tool[data-service-identity=ora]{--service-ink:#c4b3e2;--service-tint:#302d3d;--service-line:#615575;}
html[data-theme] body[data-tool=mac] [data-tool-layout] .device-tool>h2{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-block-end:12px;border-bottom:1px solid var(--ui-line-soft);margin-block:0 12px;}
html[data-theme] body[data-tool=mac] .mac-service-heading{display:inline-flex;align-items:center;gap:10px;min-width:0;}
html[data-theme] body[data-tool=mac] .mac-service-mark{
 display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid var(--service-line);border-radius:10px;color:var(--service-ink);background:var(--service-tint);box-shadow:var(--ui-inset);font:750 11px/1 'SAT OTT Inter',Arial,sans-serif;letter-spacing:-.3px;direction:ltr;user-select:none;
}
html[data-theme] body[data-tool=mac] .mac-service-name{color:var(--ui-text);font-size:18px;font-weight:750;line-height:1.5;direction:ltr;unicode-bidi:isolate;}
html[data-theme] body[data-tool=mac] .mac-input-type{padding:3px 7px;border-color:var(--ui-line-soft);border-radius:5px;background:var(--ui-subtle);color:var(--ui-muted);font-size:10px;font-weight:600;line-height:1.6;}
html[data-theme] body[data-tool=mac] .mac-tool-description{font-size:12px;line-height:1.9;}
html[data-theme] body[data-tool=mac] .device-tool .hint{padding-inline-start:9px;border-inline-start:2px solid var(--ui-line);font-size:12px;line-height:1.8;}
html[data-theme] body[data-tool=mac] .device-tool{transition:border-color 180ms ease,box-shadow 180ms ease;}
html[data-theme] body[data-tool=mac] .device-tool:focus-within{border-color:var(--service-line);box-shadow:var(--ui-inset),var(--ui-shadow);}
@media(hover:hover){html[data-theme] body[data-tool=mac] .device-tool:hover{border-color:var(--service-line);}}
@media(max-width:600px){
 html[data-theme] body[data-design=master] [data-tool-layout] .breadcrumbs{font-size:10px;gap:5px;}
 html[data-theme] body[data-catalog=offers] .reseller-currency select{min-height:40px;}
 html[data-theme] body[data-tool=m3u] .m3u-section-head{gap:9px;}
 html[data-theme] body[data-tool=m3u] .m3u-value-row{padding:9px;}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme] body[data-catalog=offers] #currency-select::picker(select),html[data-theme] body[data-catalog=offers] #currency-select::picker-icon{transition:none!important;transform:none!important;}
}
