/* ============================================================================
   دور ۷ — استایل مشترک صفحات حرفه‌ای + تم پس‌زمینه‌ی اختصاصی هر صفحه.
   فقط transform/opacity انیمیت می‌شوند؛ prefers-reduced-motion رعایت شده.
   ============================================================================ */
[hidden]{display:none !important;}
:root{--pg-accent:255,216,154;--pg-accent2:124,184,245;--pg-text:#fff;--pg-sub:#aeb6c4;--pg-card:rgba(10,18,30,.5);--pg-line:rgba(196,214,232,.16);--pg-radius:22px;}
html.r7-page-html body{background:#02060f;min-height:100vh;}
html.r7-page-html body[data-tone="light"]{background:#ececeb;}
html.r7-page-html body[data-page="academy"][data-tone="light"]{background:#fff;}
.r7-page{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:calc(var(--nav-h,64px) + 18px) 18px 60px;color:var(--pg-text);}

/* ---------- لایه‌ی پس‌زمینه ---------- */
.r7-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#02060f;}
.r7-bg-art,.r7-bg-video,.r7-bg-veil{position:absolute;inset:0;width:100%;height:100%;}
.r7-bg-art{background-size:cover;background-position:center;opacity:0;transition:opacity .8s ease;}
.r7-bg.has-poster .r7-bg-art{opacity:1;}
.r7-bg-video{object-fit:cover;opacity:0;transition:opacity 1s ease;}
.r7-bg.is-playing .r7-bg-video{opacity:1;}
.r7-bg-veil{background:linear-gradient(180deg,rgba(2,6,15,.25),rgba(2,6,15,.55) 60%,rgba(2,6,15,.85));}
/* NEURAL (انجمن/ثبت‌نام): همان حس هوم */
.r7-bg--neural{background:radial-gradient(ellipse at 50% 20%,rgba(255,200,120,.10),transparent 55%),radial-gradient(ellipse at 50% 85%,rgba(80,150,220,.10),transparent 60%),#02060f;}
/* فروشگاه: آبی-طلایی تیره + آیکون‌های بزرگ کم‌رنگ (ثابت، بدون ویدیو) */
.r7-bg--store{background:
  radial-gradient(60% 50% at 85% 10%,rgba(255,197,107,.16),transparent 70%),
  radial-gradient(55% 45% at 10% 90%,rgba(124,184,245,.14),transparent 70%),
  linear-gradient(180deg,#040a17,#02060f);}
.r7-bg--store .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(46vw,560px),min(30vw,360px),min(24vw,280px);
  background-position:-6% 112%,104% 18%,62% -8%;
  background-image:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd27a' stroke-opacity='.07' stroke-width='.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"),
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb8f5' stroke-opacity='.08' stroke-width='.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"),
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd27a' stroke-opacity='.06' stroke-width='.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2 3h2l2.6 12.6a2 2 0 0 0 2 1.6h8.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E");}
.r7-bg--store .r7-bg-veil{background:none;}
/* محتوا: آبی جدی + قاب‌های سند کم‌رنگ */
.r7-bg--content{background:radial-gradient(70% 50% at 20% 0%,rgba(124,184,245,.18),transparent 70%),radial-gradient(50% 40% at 90% 80%,rgba(255,143,177,.10),transparent 70%),linear-gradient(180deg,#030916,#02060f);}
.r7-bg--content .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,480px),min(28vw,320px);background-position:105% 105%,-4% 30%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cb8f5' stroke-opacity='.08' stroke-width='.5' stroke-linecap='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M9 12h6M9 16h6M9 8h3'/%3E%3C/svg%3E"),
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8fb1' stroke-opacity='.07' stroke-width='.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");}
.r7-bg--content .r7-bg-veil{background:none;}
/* دور ۱۳: تم‌های insta (محتوا=اینستاگرام) و scholar (مقالات) در فایل مشترک تا در «پس‌زمینه‌ی صفحات» برای هر صفحه‌ای قابل انتخاب باشند */
/* پس‌زمینه‌ی ثابت اینستاگرامی: هاله‌های نرم گرادیانت روی زمینه‌ی روشن */
.r7-bg--insta{background:
  radial-gradient(42% 38% at 92% 4%,rgba(250,126,30,.22),transparent 70%),
  radial-gradient(46% 40% at 6% 18%,rgba(214,41,118,.18),transparent 70%),
  radial-gradient(50% 45% at 80% 96%,rgba(150,47,191,.18),transparent 70%),
  radial-gradient(40% 36% at 10% 92%,rgba(79,91,213,.14),transparent 70%),
  linear-gradient(180deg,#fff8fb,#fbf3ff);}
.r7-bg--insta .r7-bg-veil{background:none;}
/* پس‌زمینه‌ی ثابت: کاغذ کرم + خطوط دفتر + دو هاله‌ی آبی/طلایی + نقش کتاب/اتم بسیار کم‌رنگ */
.r7-bg--scholar{background:
  radial-gradient(55% 45% at 92% 6%,rgba(184,144,47,.16),transparent 70%),
  radial-gradient(50% 45% at 4% 96%,rgba(31,78,140,.11),transparent 70%),
  repeating-linear-gradient(0deg,rgba(27,42,65,.035) 0 1px,transparent 1px 34px),
  linear-gradient(180deg,#f8f4ea,#f3ecdd);}
.r7-bg--scholar .r7-bg-veil{background:none;}
.r7-bg--scholar .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(38vw,460px),min(26vw,320px);background-position:-4% 104%,103% 22%;
  background-image:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4e8c' stroke-opacity='.07' stroke-width='.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5c3-1.5 6-1.5 10 1 4-2.5 7-2.5 10-1v14c-3-1.5-6-1.5-10 1-4-2.5-7-2.5-10-1z'/%3E%3Cpath d='M12 6v14'/%3E%3C/svg%3E"),
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8902f' stroke-opacity='.10' stroke-width='.45'%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.6'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.6' transform='rotate(60 12 12)'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.6' transform='rotate(120 12 12)'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23b8902f' fill-opacity='.12'/%3E%3C/svg%3E");}
/* داشبورد ارزها: پس‌زمینه‌ی مالی تیره — شبکه + کندل‌های کم‌رنگ */
.r7-bg--markets{background:radial-gradient(60% 40% at 80% 0%,rgba(95,211,154,.12),transparent 70%),radial-gradient(50% 40% at 0% 100%,rgba(255,138,122,.08),transparent 70%),#01050c;}
.r7-bg--markets .r7-bg-art{opacity:1;background-image:
  linear-gradient(rgba(124,184,245,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(124,184,245,.05) 1px,transparent 1px),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60' fill-opacity='.07'%3E%3Crect x='6' y='22' width='6' height='20' fill='%2335c88a'/%3E%3Cpath d='M9 14v36' stroke='%2335c88a' stroke-opacity='.07'/%3E%3Crect x='22' y='28' width='6' height='14' fill='%23ff6b5b'/%3E%3Crect x='38' y='16' width='6' height='24' fill='%2335c88a'/%3E%3Crect x='54' y='20' width='6' height='12' fill='%23ff6b5b'/%3E%3Crect x='70' y='8' width='6' height='22' fill='%2335c88a'/%3E%3Crect x='86' y='14' width='6' height='16' fill='%23ff6b5b'/%3E%3Crect x='102' y='4' width='6' height='20' fill='%2335c88a'/%3E%3C/svg%3E");
  background-size:48px 48px,48px 48px,min(90vw,1100px) auto;background-repeat:repeat,repeat,no-repeat;background-position:0 0,0 0,50% 92%;}
.r7-bg--markets .r7-bg-veil{background:linear-gradient(180deg,transparent,rgba(1,5,12,.6));}
/* سینما (Velorah): سرمه‌ای عمیق */
.r7-bg--velorah{background:hsl(201 100% 13%);}
.r7-bg--velorah .r7-bg-veil{background:linear-gradient(180deg,rgba(0,22,40,.15),rgba(0,22,40,.55) 55%,hsl(201 100% 9%));}
/* پشتیبانی (Equilibrium): شیشه‌ی مایع روی ویدیو */
.r7-bg--cinema{background:
 radial-gradient(60% 45% at 50% -5%,rgba(255,196,120,.22),transparent 70%),
 radial-gradient(45% 40% at 12% 100%,rgba(160,40,60,.22),transparent 70%),
 radial-gradient(45% 40% at 92% 85%,rgba(60,90,170,.20),transparent 70%),#07050c;}
.r7-bg--cinema::before{content:"";position:absolute;inset:0;opacity:.07;
 background:repeating-linear-gradient(90deg,transparent 0 46px,#fff 46px 50px),repeating-linear-gradient(0deg,transparent 0 26px,rgba(255,255,255,.5) 26px 27px);
 -webkit-mask:linear-gradient(90deg,#000 0 3.5%,transparent 3.5% 96.5%,#000 96.5%);mask:linear-gradient(90deg,#000 0 3.5%,transparent 3.5% 96.5%,#000 96.5%);}
.r7-bg--cinema::after{content:"";position:absolute;left:50%;top:-10%;width:90vmax;height:90vmax;transform:translateX(-50%);
 background:conic-gradient(from 180deg at 50% 0,transparent 160deg,rgba(255,226,170,.10) 175deg,rgba(255,226,170,.02) 185deg,transparent 200deg);filter:blur(6px);}
.r7-bg--cinema .r7-bg-veil{background:linear-gradient(180deg,rgba(7,5,12,.15),rgba(7,5,12,.55) 60%,rgba(7,5,12,.9));}
.r7-bg--equilibrium{background:radial-gradient(70% 60% at 50% 30%,#14233a,#050a14);}
.r7-bg--equilibrium .r7-bg-veil{background:linear-gradient(180deg,rgba(5,10,20,.1),rgba(5,10,20,.55) 70%,rgba(5,10,20,.85));}
/* آموزش (Aethera): سفید سینمایی، ویدیو از ۳۰۰px به پایین با محوشدن */
.r7-bg--aethera{background:#fff;}
.r7-bg--aethera .r7-bg-video{top:300px;height:calc(100% - 300px);transition:none;opacity:0;}
.r7-bg--aethera .r7-bg-veil{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 70%,#fff 100%);}
/* کتابخانه (Performance): کاغذی طوسی روشن */
.r7-bg--performance{background:#ececeb;}
.r7-bg--performance .r7-bg-art{background-size:cover;}
.r7-bg--performance .r7-bg-veil{background:linear-gradient(rgba(236,236,234,.10),rgba(236,236,234,.10)),linear-gradient(180deg,rgba(236,236,235,0) 55%,#ececeb 100%);}
@media (max-width:767px){.r7-bg--performance .r7-bg-art{background-size:100% 100%;background-position:center top;}}
@media (prefers-reduced-motion:reduce){.r7-bg-video{display:none;}}

/* ---------- تم روشن (کتابخانه/آموزش): هدر و متن تیره ---------- */
body[data-tone="light"]{--pg-text:#1f1f1f;--pg-sub:#5a5a5a;--pg-card:rgba(255,255,255,.62);--pg-line:rgba(0,0,0,.08);color:#1f1f1f;}
body[data-tone="light"] .nav{background:rgba(250,250,248,.55) !important;color:#1c1c1c;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border-bottom:1px solid rgba(0,0,0,.05) !important;}
body[data-tone="light"] .nav-icon-btn,body[data-tone="light"] .nav-burger,body[data-tone="light"] .nav-home-btn,body[data-tone="light"] .nav-back-btn,body[data-tone="light"] .nav-text-btn{color:#1c1c1c;}
body[data-tone="light"] .nav-home-btn,body[data-tone="light"] .nav-burger{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.12);}
body[data-tone="light"] .nav-logo.nav-logo-anim{background-image:linear-gradient(105deg,#1d1d1d 0%,#1d1d1d 38%,#b5852b 47%,#3b74b8 53%,#1d1d1d 62%,#1d1d1d 100%);
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.9)) drop-shadow(0 4px 8px rgba(0,0,0,.12));}
body[data-tone="light"] .r7-footer{color:#555;border-top-color:rgba(0,0,0,.08);background:rgba(255,255,255,.4);}
body[data-tone="light"] .r7-footer a{color:#333;}
body[data-tone="light"] .input,body[data-tone="light"] select,body[data-tone="light"] textarea,html body[data-tone="light"] input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),html body[data-tone="light"] .r7-search input{background:rgba(255,255,255,.75);color:#1f1f1f;border-color:rgba(0,0,0,.14);}
body[data-tone="light"] input::placeholder{color:#8a8a8a;}

/* ---------- سربرگ صفحه ---------- */
.r7-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:6px 0 22px;}
.r7-eyebrow{display:inline-flex;align-items:center;gap:8px;font:600 .7rem/1 'Sora','Inter',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgb(var(--pg-accent));direction:ltr;}
.r7-eyebrow::before{content:"";width:22px;height:1px;background:currentColor;opacity:.6;}
.r7-title{margin:8px 0 6px;font-size:clamp(1.6rem,3.6vw,2.6rem);font-weight:900;line-height:1.3;letter-spacing:-.01em;}
.r7-title em{font-style:normal;background:linear-gradient(90deg,rgb(var(--pg-accent)),rgb(var(--pg-accent2)));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.r7-lead{margin:0;color:var(--pg-sub);font-size:clamp(.92rem,1.3vw,1.04rem);line-height:1.95;max-width:640px;}
.r7-sec{margin:38px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.r7-sec h2{margin:0;display:inline-flex;align-items:center;gap:10px;font-size:clamp(1.1rem,1.9vw,1.4rem);font-weight:800;}
.r7-sec h2 .r7-h-ico{width:38px;height:38px;border-radius:12px;--hc:var(--pg-accent);}
.r7-sec small{color:var(--pg-sub);}

/* ---------- باکس‌های دسته (آیکون + نام فارسی + نام لاتین رنگی) ---------- */
.r7-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;}
.r7-tile{--tc:var(--pg-accent);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:142px;padding:18px 10px;
  border-radius:20px;text-decoration:none;color:inherit;cursor:pointer;border:1px solid var(--pg-line);text-align:center;overflow:hidden;
  background:linear-gradient(160deg,rgba(var(--tc),.14),rgba(255,255,255,.02) 60%),var(--pg-card);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:transform .35s cubic-bezier(.22,.9,.32,1),border-color .3s,box-shadow .3s;font:inherit;}
.r7-tile::after{content:"";position:absolute;inset:auto 15% -40% 15%;height:60%;border-radius:50%;background:radial-gradient(closest-side,rgba(var(--tc),.35),transparent);opacity:.5;transition:opacity .35s,transform .5s;pointer-events:none;}
.r7-tile:hover,.r7-tile:focus-visible,.r7-tile.active{transform:translateY(-6px);border-color:rgba(var(--tc),.55);box-shadow:0 16px 36px rgba(0,0,0,.28),0 0 30px rgba(var(--tc),.22);}
.r7-tile:hover::after,.r7-tile.active::after{opacity:1;transform:translateY(-10%);}
.r7-tile .ti{width:54px;height:54px;border-radius:17px;display:flex;align-items:center;justify-content:center;font-size:1.45rem;color:rgb(var(--tc));
  background:linear-gradient(145deg,rgba(var(--tc),.28),rgba(var(--tc),.06));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 8px 22px rgba(var(--tc),.22);transition:transform .45s cubic-bezier(.34,1.56,.64,1);}
.r7-tile:hover .ti{transform:rotate(-8deg) scale(1.1);}
.r7-tile .tf{font-weight:800;font-size:.98rem;}
.r7-tile .te{font:600 .58rem/1.2 'Sora','Inter',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgb(var(--tc));direction:ltr;}
.r7-tile .tn{font-size:.72rem;color:var(--pg-sub);}
.r7-emoji{font-size:1.5rem;line-height:1;}
body[data-tone="light"] .r7-tile{box-shadow:0 1px 2px rgba(0,0,0,.04);}
@media (max-width:560px){.r7-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}.r7-tile{min-height:112px;padding:12px 6px;border-radius:16px;}.r7-tile .ti{width:42px;height:42px;font-size:1.1rem;border-radius:13px;}.r7-tile .tf{font-size:.8rem;}.r7-tile .te{font-size:.5rem;letter-spacing:.06em;}}

/* ---------- چیپ‌ها / نوار ابزار ---------- */
.r7-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;}
.r7-chip{flex-shrink:0;border:1px solid var(--pg-line);background:var(--pg-card);color:inherit;padding:8px 15px;border-radius:999px;font:500 .84rem 'Vazirmatn',sans-serif;cursor:pointer;transition:all .25s;white-space:nowrap;}
.r7-chip:hover{border-color:rgba(var(--pg-accent),.5);}
.r7-chip.active{background:linear-gradient(90deg,rgba(var(--pg-accent),.32),rgba(var(--pg-accent2),.26));border-color:rgba(var(--pg-accent),.6);color:var(--pg-text);}
.r7-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:8px 0 18px;}
.r7-search{flex:1;min-width:220px;position:relative;}
.r7-search input{width:100%;padding:12px 44px 12px 16px;border-radius:14px;border:1px solid var(--pg-line);background:var(--pg-card);color:inherit;font:inherit;}
.r7-search i{position:absolute;right:15px;top:50%;transform:translateY(-50%);opacity:.6;}
.r7-select{padding:11px 14px;border-radius:14px;border:1px solid var(--pg-line);background:var(--pg-card);color:inherit;font:inherit;}

/* ---------- گرید و کارت ---------- */
.r7-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;}
.r7-card{position:relative;display:flex;flex-direction:column;border-radius:var(--pg-radius);overflow:hidden;color:inherit;text-decoration:none;
  background:linear-gradient(165deg,rgba(var(--pg-accent),.08),rgba(255,255,255,.02) 45%,rgba(var(--pg-accent2),.06)),var(--pg-card);
  border:1px solid var(--pg-line);-webkit-backdrop-filter:blur(16px) saturate(.9);backdrop-filter:blur(16px) saturate(.9);
  transition:transform .35s cubic-bezier(.22,.9,.32,1),box-shadow .35s,border-color .35s;}
.r7-card:hover{transform:translateY(-6px);border-color:rgba(var(--pg-accent),.45);box-shadow:0 18px 40px rgba(0,0,0,.3),0 0 34px rgba(var(--pg-accent),.18);}
.r7-card .media{position:relative;aspect-ratio:4/3;background:rgba(255,255,255,.03);overflow:hidden;}
.r7-card .media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.22,.9,.32,1);}
.r7-card:hover .media img{transform:scale(1.05);}
.r7-card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:7px;flex:1;}
.r7-card h3{margin:0;font-size:1rem;font-weight:800;line-height:1.6;}
.r7-card p{margin:0;color:var(--pg-sub);font-size:.85rem;line-height:1.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.r7-card .meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--pg-sub);font-size:.75rem;margin-top:auto;}
.r7-card .meta i{opacity:.7;margin-inline-end:3px;}
.r7-badge{position:absolute;top:10px;right:10px;z-index:2;padding:5px 10px;border-radius:999px;font:700 .7rem 'Vazirmatn',sans-serif;background:rgba(2,6,15,.62);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
.r7-badge.hot{background:linear-gradient(90deg,#ef394e,#ff7a59);}
.r7-badge.ok{background:rgba(31,163,101,.85);}
.r7-img-ph{width:100%;height:100%;background:linear-gradient(135deg,rgba(var(--pg-accent),.12),rgba(var(--pg-accent2),.1));}
.r7-skel{min-height:260px;background:linear-gradient(100deg,rgba(255,255,255,.03) 30%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.03) 70%);background-size:300% 100%;animation:r7sk 1.4s linear infinite;}
@keyframes r7sk{to{background-position:-150% 0}}
.r7-empty{grid-column:1/-1;text-align:center;padding:46px 16px;color:var(--pg-sub);border:1px dashed var(--pg-line);border-radius:20px;}
.r7-empty i{font-size:2rem;opacity:.5;margin-bottom:10px;display:block;}
.r7-price{font:800 1rem 'Vazirmatn',sans-serif;color:rgb(var(--pg-accent));}
.r7-price del{color:var(--pg-sub);font-weight:400;font-size:.8rem;margin-inline-start:6px;}
.r7-stars{color:#ffc54d;font-size:.78rem;letter-spacing:1px;direction:ltr;display:inline-flex;gap:1px;}
.r7-more{display:flex;justify-content:center;margin-top:22px;}
@media (max-width:560px){.r7-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.r7-card .body{padding:10px 11px 12px;}.r7-card h3{font-size:.86rem;}.r7-card p{font-size:.78rem;}}

/* ---------- دکمه‌ها ---------- */
.r7-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:999px;border:1px solid rgba(var(--pg-accent),.45);
  background:linear-gradient(90deg,rgba(var(--pg-accent),.28),rgba(var(--pg-accent2),.2));color:var(--pg-text);font:600 .9rem 'Vazirmatn',sans-serif;cursor:pointer;text-decoration:none;
  transition:transform .25s,box-shadow .25s,background .25s;}
.r7-btn:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(var(--pg-accent),.25);}
.r7-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;}
.r7-btn.ghost{background:transparent;border-color:var(--pg-line);}
.r7-btn.solid{background:rgb(var(--pg-accent));color:#121212;border-color:transparent;}
.r7-btn.sm{padding:7px 13px;font-size:.8rem;}
.r7-btn.block{width:100%;}

/* ---------- تب‌ها ---------- */
.r7-tabs{display:flex;gap:6px;padding:5px;border-radius:999px;background:var(--pg-card);border:1px solid var(--pg-line);width:fit-content;max-width:100%;overflow-x:auto;}
.r7-tab{border:0;background:none;color:var(--pg-sub);padding:9px 16px;border-radius:999px;font:600 .86rem 'Vazirmatn',sans-serif;cursor:pointer;white-space:nowrap;transition:all .25s;}
.r7-tab.active{background:linear-gradient(90deg,rgba(var(--pg-accent),.35),rgba(var(--pg-accent2),.28));color:var(--pg-text);}

/* ---------- پنل‌ها، مودال، توست ---------- */
.r7-panel{border-radius:24px;padding:22px;background:var(--pg-card);border:1px solid var(--pg-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);}
.r7-modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(2,6,15,.7);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.r7-modal.open{display:flex;animation:r7fade .25s ease;}
.r7-modal-box{position:relative;width:min(960px,100%);max-height:calc(100dvh - 32px);overflow:auto;border-radius:24px;background:#0a1220;border:1px solid rgba(196,214,232,.16);color:#fff;}
.r7-modal-x{position:absolute;top:10px;left:10px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;font-size:1rem;}
@keyframes r7fade{from{opacity:0}to{opacity:1}}
#r7Toasts{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:400;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;}
.r7-toast{padding:11px 18px;border-radius:14px;background:rgba(10,18,30,.92);color:#fff;border:1px solid rgba(95,211,154,.4);font-size:.88rem;box-shadow:0 12px 30px rgba(0,0,0,.4);animation:r7up .3s ease;transition:opacity .4s,transform .4s;}
.r7-toast--err{border-color:rgba(255,107,91,.6);}
.r7-toast.out{opacity:0;transform:translateY(8px);}
@keyframes r7up{from{opacity:0;transform:translateY(10px)}}

/* ---------- فرم ---------- */
.r7-field{display:flex;flex-direction:column;gap:6px;}
.r7-field label{font-size:.84rem;font-weight:600;color:var(--pg-sub);}
.r7-field input,.r7-field select,.r7-field textarea{padding:12px 14px;border-radius:14px;border:1px solid var(--pg-line);background:rgba(6,12,22,.55);color:inherit;font:inherit;}
.r7-field input:focus,.r7-field select:focus,.r7-field textarea:focus{outline:none;border-color:rgba(var(--pg-accent2),.8);box-shadow:0 0 0 3px rgba(var(--pg-accent2),.18);}
.r7-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.r7-form-grid .full{grid-column:1/-1;}
@media (max-width:640px){.r7-form-grid{grid-template-columns:1fr;}}

/* ---------- فوتر ---------- */
.r7-footer{position:relative;z-index:2;border-top:1px solid rgba(196,214,232,.1);background:rgba(2,6,15,.55);color:#9aa3b2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);}
.r7-footer-in{max-width:1240px;margin:0 auto;padding:22px 18px;display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;justify-content:space-between;}
.r7-footer nav{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.84rem;}
.r7-footer a{color:#cfd6e2;text-decoration:none;}
.r7-footer a:hover{color:#ffd89a;}
.r7-footer small{font-size:.75rem;}

@media (prefers-reduced-motion:reduce){.r7-card,.r7-tile,.r7-btn,.r7-tile .ti{transition:none;}.r7-card:hover,.r7-tile:hover{transform:none;}.r7-skel{animation:none;}}
/* ==== r14-themes:start ==== */
/* دور ۱۴ — پس‌زمینه‌های ثابت (بدون ویدیو)؛ تولیدشده با tools/gen_themes_r14.py — دستی ویرایش نکنید */
.r7-bg--academic{background:radial-gradient(48% 42% at 92% 4%,rgba(37,99,235,.16),transparent 70%),radial-gradient(44% 40% at 4% 96%,rgba(212,160,23,.15),transparent 70%),radial-gradient(40% 36% at 40% 60%,rgba(14,165,233,.08),transparent 70%),linear-gradient(180deg,#f8fbff 0%,#eef4fc 55%,#f6f1e4 100%);}
.r7-bg--academic .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0V40' fill='none' stroke='%231d4ed8' stroke-opacity='.045'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--academic .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-opacity='.09' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5'/%3E%3Cpath d='M22 9v6'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-opacity='.11' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.8'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.8' transform='rotate%2860 12 12%29'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='3.8' transform='rotate%28120 12 12%29'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E");}
.r7-bg--dialog{background:radial-gradient(46% 40% at 90% 6%,rgba(16,185,129,.16),transparent 70%),radial-gradient(46% 40% at 6% 94%,rgba(59,130,246,.14),transparent 70%),linear-gradient(180deg,#f5fbf8 0%,#eef7f6 55%,#eef4fb 100%);}
.r7-bg--dialog .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23047857' fill-opacity='.16'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--dialog .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-opacity='.1' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h11a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H9l-4 3v-3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3z'/%3E%3Cpath d='M19 9h1a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3h-1v3l-3-3'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-opacity='.08' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h11a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H9l-4 3v-3H4a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3z'/%3E%3Cpath d='M19 9h1a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3h-1v3l-3-3'/%3E%3C/svg%3E");}
.r7-bg--trust{background:radial-gradient(50% 42% at 88% 4%,rgba(14,94,111,.16),transparent 70%),radial-gradient(44% 38% at 8% 92%,rgba(56,189,248,.10),transparent 70%),linear-gradient(180deg,#f7fafb 0%,#edf3f6 60%,#e6eef3 100%);}
.r7-bg--trust .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 28L28 0' stroke='%23155e75' stroke-opacity='.05'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--trust .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5a6f' stroke-opacity='.09' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 9-8 11-4.5-2-8-6-8-11V5z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-opacity='.08' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='2.5' y='13' width='4' height='6' rx='1.5'/%3E%3Crect x='17.5' y='13' width='4' height='6' rx='1.5'/%3E%3Cpath d='M20 19c0 2-2 3-5 3h-2'/%3E%3C/svg%3E");}
.r7-bg--archive{background:radial-gradient(46% 40% at 90% 6%,rgba(139,94,52,.14),transparent 70%),radial-gradient(44% 38% at 6% 92%,rgba(201,162,39,.12),transparent 70%),linear-gradient(180deg,#fcf8f0 0%,#f6eedf 60%,#f0e4cf 100%);}
.r7-bg--archive .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='46'%3E%3Cpath d='M0 45.5H60' stroke='%238b5e34' stroke-opacity='.07'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--archive .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5e34' stroke-opacity='.1' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a16207' stroke-opacity='.09' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4z'/%3E%3Cpath d='M3 7l9 4 9-4'/%3E%3Cpath d='M12 11v10'/%3E%3C/svg%3E");}
.r7-bg--commerce{background:radial-gradient(46% 40% at 92% 4%,rgba(249,115,22,.16),transparent 70%),radial-gradient(44% 38% at 6% 94%,rgba(239,68,68,.10),transparent 70%),radial-gradient(40% 30% at 50% 40%,rgba(37,99,235,.06),transparent 70%),linear-gradient(180deg,#fafafa 0%,#f4f4f5 60%,#fff4ec 100%);}
.r7-bg--commerce .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%239ca3af' fill-opacity='.35'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--commerce .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-opacity='.09' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-opacity='.08' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8' r='1.5'/%3E%3C/svg%3E");}
.r7-bg--bookshop{background:radial-gradient(46% 40% at 90% 6%,rgba(160,112,60,.15),transparent 70%),radial-gradient(44% 38% at 6% 92%,rgba(201,162,39,.16),transparent 70%),linear-gradient(180deg,#fdf9f2 0%,#f7eedf 60%,#f1e3c9 100%);}
.r7-bg--bookshop .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='46'%3E%3Cpath d='M0 45.5H60' stroke='%23a0703c' stroke-opacity='.08'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--bookshop .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5a2b' stroke-opacity='.1' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5c3-1.5 6-1.5 10 1 4-2.5 7-2.5 10-1v14c-3-1.5-6-1.5-10 1-4-2.5-7-2.5-10-1z'/%3E%3Cpath d='M12 6v14'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-opacity='.09' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4M8 22h8'/%3E%3C/svg%3E");}
.r7-bg--finance{background:radial-gradient(48% 40% at 88% 4%,rgba(34,197,94,.14),transparent 70%),radial-gradient(44% 38% at 6% 94%,rgba(239,68,68,.10),transparent 70%),radial-gradient(50% 40% at 50% 50%,rgba(96,165,250,.10),transparent 70%),linear-gradient(180deg,#1b2436 0%,#172031 60%,#141c2b 100%);}
.r7-bg--finance .r7-bg-veil{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0V40' fill='none' stroke='%2394a3b8' stroke-opacity='.07'/%3E%3C/svg%3E");opacity:1;}
.r7-bg--finance .r7-bg-art{opacity:1;background-repeat:no-repeat;background-size:min(40vw,500px),min(26vw,320px);background-position:-5% 108%,104% 16%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-opacity='.1' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v18M18 3v18M12 6v12'/%3E%3Crect x='4' y='7' width='4' height='8' rx='.6'/%3E%3Crect x='10' y='9' width='4' height='5' rx='.6'/%3E%3Crect x='16' y='5' width='4' height='9' rx='.6'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-opacity='.08' stroke-width='.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v18M18 3v18M12 6v12'/%3E%3Crect x='4' y='7' width='4' height='8' rx='.6'/%3E%3Crect x='10' y='9' width='4' height='5' rx='.6'/%3E%3Crect x='16' y='5' width='4' height='9' rx='.6'/%3E%3C/svg%3E");}
@media (max-width:767px){.r7-bg--academic .r7-bg-veil,.r7-bg--dialog .r7-bg-veil,.r7-bg--trust .r7-bg-veil,.r7-bg--archive .r7-bg-veil,.r7-bg--commerce .r7-bg-veil,.r7-bg--bookshop .r7-bg-veil,.r7-bg--finance .r7-bg-veil{background:none;}.r7-bg--academic .r7-bg-art,.r7-bg--dialog .r7-bg-art,.r7-bg--trust .r7-bg-art,.r7-bg--archive .r7-bg-art,.r7-bg--commerce .r7-bg-art,.r7-bg--bookshop .r7-bg-art,.r7-bg--finance .r7-bg-art{background-size:62vw,0;background-position:-12% 104%,0 0;}}
/* ==== r14-themes:end ==== */

/* دور ۱۹ (Lighthouse CLS): محتوای صفحه async پر می‌شود؛ بدون حداقل ارتفاع فوتر ابتدا بالای صفحه دیده می‌شد و بعد پایین می‌پرید
   (CLS فروشگاه ۰٫۹۵ بود). با min-height فوتر زیر خط تا می‌ماند و جابه‌جایی ثبت نمی‌شود. */
main.r7-page{min-height:100vh;min-height:100svh}
