/* Walid Physics — ثيمات «شكل الموقع»: نيون / سبورة هندسية / فضاء (الأصلي = من غير الملف ده).
   الكروت والكلام بيفضلوا فاتحين ومقروءين؛ الثيم بيغيّر الهيدر والخلفية والزراير والشرايط المميزة. */
@media screen{
/* ================= ⚛️ نيون ================= */
body.th-neon{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%2306B6D4' fill-opacity='.09'%3E%3Ccircle cx='14' cy='14' r='2'/%3E%3Ccircle cx='154' cy='14' r='2'/%3E%3Ccircle cx='14' cy='154' r='2'/%3E%3Ccircle cx='154' cy='154' r='2'/%3E%3C/g%3E%3Cg font-family='Cambria,serif' font-style='italic' font-size='19' fill='%230E7490' fill-opacity='.10'%3E%3Ctext x='34' y='96'%3EF = ma%3C/text%3E%3Ctext x='160' y='230'%3Ev = f%CE%BB%3C/text%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 90% 0%,#cffafe,transparent 45%),#f2fbff}
body.th-neon header.top{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke-width='2.2'%3E%3Cellipse cx='100' cy='100' rx='92' ry='32' stroke='%2322D3EE' stroke-opacity='.55'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='32' stroke='%2322D3EE' stroke-opacity='.45' transform='rotate(60 100 100)'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='32' stroke='%23F4C348' stroke-opacity='.6' transform='rotate(-60 100 100)'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='9' fill='%23F4C348'/%3E%3Ccircle cx='180' cy='112' r='5' fill='%2322D3EE'/%3E%3Ccircle cx='58' cy='26' r='5' fill='%2322D3EE'/%3E%3C/svg%3E") no-repeat 50% center/auto 150%,radial-gradient(circle at 12% 40%,rgba(34,211,238,.32),transparent 38%),linear-gradient(115deg,#070B1A,#0E1A36 55%,#12305a);border-bottom-color:#22D3EE;box-shadow:0 6px 26px rgba(34,211,238,.18)}
[dir=ltr] body.th-neon header.top{background-position:50% center,88% 40%,0 0}
body.th-neon :is(button,.btn):not(.gold):not(.ghost):not(.wa):not(.danger){background:linear-gradient(110deg,#0E7490,#06B6D4);border-color:#0891B2}
body.th-neon :is(button,.btn):not(.gold):not(.ghost):not(.wa):not(.danger):hover{background:#0E7490;box-shadow:0 0 0 3px rgba(34,211,238,.25),0 4px 14px rgba(6,182,212,.35)}
body.th-neon nav.nav a.on{color:#0E7490;background:#ecfeff;border-color:#22D3EE}
body.th-neon h2{border-inline-start-color:#22D3EE}
body.th-neon .stat{border-top-color:#22D3EE}
body.th-neon .bar i{background:#06B6D4}
body.th-neon :is(.timer,.cta-band,.chal-score){background:radial-gradient(circle at 85% 20%,rgba(34,211,238,.35),transparent 45%),linear-gradient(115deg,#070B1A,#12305a)}
body.th-neon .cta-band,body.th-neon .chal-score{border-color:#22D3EE}
body.th-neon .hero2 .banner{border-color:#22D3EE;box-shadow:0 0 0 4px rgba(34,211,238,.15),0 18px 44px rgba(6,182,212,.35)}
body.th-neon .kicker{background:#cffafe;color:#0E7490}
body.th-neon .page-intro:before{background:#06B6D4;box-shadow:0 0 0 4px rgba(6,182,212,.15)}
/* ================= 📐 سبورة هندسية ================= */
body.th-board{background:repeating-linear-gradient(0deg,rgba(23,60,110,.055) 0 1px,transparent 1px 24px),repeating-linear-gradient(90deg,rgba(23,60,110,.055) 0 1px,transparent 1px 24px),#f4f8fd}
body.th-board header.top{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 140'%3E%3Cpath d='M10 128 Q160 -40 310 128' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2.4' stroke-dasharray='8 7'/%3E%3Cline x1='10' y1='128' x2='52' y2='78' stroke='%23F4C348' stroke-width='3.4'/%3E%3Cpath d='M52 78 l-12 4 l7 8z' fill='%23F4C348'/%3E%3Cpath d='M34 128 A24 24 0 0 0 26 110' fill='none' stroke='%23F4C348' stroke-width='2'/%3E%3Ctext x='38' y='122' font-family='Cambria,serif' font-style='italic' font-size='15' fill='%23F4C348'%3E%CE%B8%3C/text%3E%3Cline x1='0' y1='128' x2='320' y2='128' stroke='%23ffffff' stroke-opacity='.45' stroke-width='2'/%3E%3C/svg%3E") no-repeat center bottom 4px/auto 88%,repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 22px),repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 22px),linear-gradient(180deg,#0F2B52,#163C6E);border-bottom-color:#F4C348}
[dir=ltr] body.th-board header.top{background-position:center bottom 4px,0 0,0 0,0 0}
body.th-board :is(button,.btn):not(.gold):not(.ghost):not(.wa):not(.danger){background:linear-gradient(110deg,#0F2B52,#1E5AA8);border-color:#163C6E}
body.th-board nav.nav a.on{color:#163C6E;background:#eaf2fc;border-color:#F4C348}
body.th-board h2{border-inline-start-color:#F4C348}
body.th-board .stat{border-top-color:#1E5AA8}
body.th-board .card,body.th-board .pkg{border-color:#c9d9ee}
body.th-board :is(.timer,.cta-band,.chal-score){background:repeating-linear-gradient(0deg,rgba(255,255,255,.06) 0 1px,transparent 1px 20px),repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0 1px,transparent 1px 20px),linear-gradient(180deg,#0F2B52,#163C6E)}
body.th-board .hero2 .banner{border:3px solid #163C6E;box-shadow:8px 8px 0 #F4C348}
body.th-board .kicker{background:#163C6E;color:#F7CE61}
/* ================= 🪐 فضاء ================= */
body.th-space{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cellipse cx='170' cy='170' rx='150' ry='62' fill='none' stroke='%237C3AED' stroke-opacity='.07' stroke-width='2' stroke-dasharray='6 8' transform='rotate(-18 170 170)'/%3E%3Ccircle cx='60' cy='70' r='2' fill='%237C3AED' fill-opacity='.18'/%3E%3Ccircle cx='280' cy='300' r='1.6' fill='%237C3AED' fill-opacity='.18'/%3E%3Ccircle cx='300' cy='40' r='1.4' fill='%237C3AED' fill-opacity='.15'/%3E%3C/svg%3E"),radial-gradient(ellipse at 10% 0%,#ede9fe,transparent 45%),#f7f5fe}
body.th-space header.top{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140'%3E%3Cdefs%3E%3CradialGradient id='p' cx='.35' cy='.35'%3E%3Cstop offset='0' stop-color='%23FDE68A'/%3E%3Cstop offset='.6' stop-color='%23D97706'/%3E%3Cstop offset='1' stop-color='%2378350F'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='70' cy='78' r='40' fill='url(%23p)'/%3E%3Cellipse cx='70' cy='78' rx='70' ry='15' fill='none' stroke='%23FDE68A' stroke-opacity='.75' stroke-width='3' transform='rotate(-18 70 78)'/%3E%3Cellipse cx='150' cy='70' rx='100' ry='40' fill='none' stroke='%23DDD6FE' stroke-opacity='.4' stroke-width='1.6' stroke-dasharray='5 6'/%3E%3Ccircle cx='238' cy='84' r='5' fill='%23E9D5FF'/%3E%3C/svg%3E") no-repeat 50% center/auto 125%,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='12' cy='20' r='1.2' fill-opacity='.8'/%3E%3Ccircle cx='70' cy='8' r='.8' fill-opacity='.6'/%3E%3Ccircle cx='120' cy='40' r='1.4' fill-opacity='.7'/%3E%3Ccircle cx='40' cy='90' r='1' fill-opacity='.5'/%3E%3Ccircle cx='100' cy='105' r='.9' fill-opacity='.7'/%3E%3Ccircle cx='150' cy='80' r='1.1' fill-opacity='.6'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(115deg,#05060F,#141B3A 55%,#33195A);border-bottom-color:#C4B5FD}
[dir=ltr] body.th-space header.top{background-position:50% center,0 0,0 0}
body.th-space :is(button,.btn):not(.gold):not(.ghost):not(.wa):not(.danger){background:linear-gradient(110deg,#3B1D6E,#7C3AED);border-color:#5B21B6}
body.th-space :is(button,.btn):not(.gold):not(.ghost):not(.wa):not(.danger):hover{background:#5B21B6;box-shadow:0 4px 14px rgba(124,58,237,.35)}
body.th-space nav.nav a.on{color:#5B21B6;background:#f3effe;border-color:#A78BFA}
body.th-space h2{border-inline-start-color:#A78BFA}
body.th-space .stat{border-top-color:#8B5CF6}
body.th-space .bar i{background:#7C3AED}
body.th-space :is(.timer,.cta-band,.chal-score){background:radial-gradient(circle at 80% 20%,rgba(196,181,253,.3),transparent 45%),linear-gradient(115deg,#05060F,#141B3A 55%,#33195A)}
body.th-space .cta-band,body.th-space .chal-score{border-color:#C4B5FD}
body.th-space .hero2 .banner{border-color:#A78BFA;box-shadow:0 18px 44px rgba(91,33,182,.35)}
body.th-space .kicker{background:#ede9fe;color:#5B21B6}
body.th-space .page-intro:before{background:#8B5CF6;box-shadow:0 0 0 4px rgba(139,92,246,.15)}
}
@media screen and (max-width:700px){
  body.th-neon header.top{background-position:left -50px center,88% 40%,0 0;background-size:auto 115%,auto,auto}
  body.th-space header.top{background-position:left -60px center,0 0,0 0;background-size:auto 105%,auto,auto}
  body.th-board header.top{background-position:left -70px bottom 4px,0 0,0 0,0 0;background-size:auto 70%,auto,auto,auto}
  [dir=ltr] body.th-neon header.top{background-position:right -50px center,12% 40%,0 0}
  [dir=ltr] body.th-space header.top{background-position:right -60px center,0 0,0 0}
  [dir=ltr] body.th-board header.top{background-position:right -70px bottom 4px,0 0,0 0,0 0}
}
/* ================= صفحة «شكل الموقع»: كروت المعاينة الصغيرة ================= */
.themes{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.theme-card{border:2px solid #dce7f3;border-radius:16px;padding:10px;background:#fff;display:flex;flex-direction:column;gap:8px}
.theme-card.cur{border-color:#F4C348;box-shadow:0 0 0 3px rgba(244,195,72,.3)}
.thumb{height:150px;border-radius:12px;overflow:hidden;position:relative;border:1px solid #dce7f3}
.thumb i{display:block;height:44px}.thumb b{position:absolute;inset-inline:12px;top:58px;height:30px;border-radius:8px;background:#fff;box-shadow:0 2px 6px #0001}
.thumb s{position:absolute;inset-inline-start:12px;bottom:14px;width:90px;height:26px;border-radius:8px}.thumb u{position:absolute;inset-inline-end:12px;bottom:14px;width:70px;height:26px;border-radius:8px;background:#F7CC57}
.t-classic{background:#f1f7ff}.t-classic i{background:linear-gradient(115deg,#18263f,#243b61);border-bottom:3px solid #f4c348}.t-classic s{background:linear-gradient(110deg,#1d4477,#1766cd)}
.t-neon{background:#f2fbff}.t-neon i{background:radial-gradient(circle at 15% 40%,rgba(34,211,238,.5),transparent 40%),linear-gradient(115deg,#070B1A,#12305a);border-bottom:3px solid #22D3EE}.t-neon s{background:linear-gradient(110deg,#0E7490,#06B6D4)}
.t-board{background:repeating-linear-gradient(0deg,rgba(23,60,110,.08) 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,rgba(23,60,110,.08) 0 1px,transparent 1px 12px),#f4f8fd}.t-board i{background:repeating-linear-gradient(90deg,rgba(255,255,255,.12) 0 1px,transparent 1px 11px),linear-gradient(#0F2B52,#163C6E);border-bottom:3px solid #F4C348}.t-board s{background:linear-gradient(110deg,#0F2B52,#1E5AA8)}
.t-space{background:#f7f5fe}.t-space i{background:radial-gradient(circle at 18% 60%,#F59E0B 0 9px,transparent 10px),linear-gradient(115deg,#05060F,#33195A);border-bottom:3px solid #C4B5FD}.t-space s{background:linear-gradient(110deg,#3B1D6E,#7C3AED)}
.brand-items{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.brand-item{border:1px solid #dce7f3;border-radius:14px;padding:12px;background:#fff}.brand-item img{display:block;max-width:100%;max-height:140px;margin:6px auto 10px;border-radius:10px;background:#f1f5fb}
.preview-bar{position:sticky;top:0;z-index:30}
