/* VORA Dashboard — نفس هوية المتجر: بنفسجي غامق + أيقونات بيضاء خفيفة */
/* الخط: Cairo (نفس خط صور البوتات) */
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-arabic-400-normal.woff2') format('woff2'); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-latin-400-normal.woff2') format('woff2'); font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-arabic-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-arabic-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-arabic-800-normal.woff2') format('woff2'); font-weight: 800 900; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-latin-800-normal.woff2') format('woff2'); font-weight: 800 900; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #0b0912; --bg2: #110e1a; --card: #16121f; --card2: #1c1728; --line: #2a2338; --line2: #3a3150;
  --text: #eeeaf7; --muted: #9b93b0; --dim: #6e6784;
  --accent: #7b5cff; --accent2: #9a82ff; --accent-soft: rgba(123, 92, 255, .14);
  --ok: #3ba55d; --ok-soft: rgba(59, 165, 93, .14); --warn: #f0a020; --warn-soft: rgba(240, 160, 32, .14); --bad: #ed4245; --bad-soft: rgba(237, 66, 69, .14);
  --r: 16px; --r-sm: 10px; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Cairo', system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:is(svg,.em) { width: 18px; height: 18px; flex: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .35; pointer-events: none; z-index: 0; }
.g1 { width: 520px; height: 520px; background: #5b3fe0; top: -220px; inset-inline-start: -160px; }
.g2 { width: 420px; height: 420px; background: #3b2a8f; bottom: -200px; inset-inline-end: -140px; }

/* ───── الهيدر ───── */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 14px 28px;
  background: rgba(11, 9, 18, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .3px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #4c33c9); box-shadow: 0 6px 18px rgba(123, 92, 255, .35); }
.brand-mark :is(svg,.em) { width: 20px; height: 20px; color: #fff; }
.brand.big .brand-mark { width: 52px; height: 52px; border-radius: 15px; }
.brand.big .brand-mark :is(svg,.em) { width: 28px; height: 28px; }
.brand.big .brand-name { font-size: 22px; }
.nav { display: flex; gap: 4px; margin-inline-start: 18px; }
.nav a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; transition: .15s; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a.on { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .35); }
.me { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.me img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line2); }
.me .who { line-height: 1.2; }
.me .who b { display: block; font-size: 14px; }
.me .who small { color: var(--dim); font-size: 12px; }
.demo-bar { position: relative; z-index: 2; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 8px; font-size: 13px; background: var(--warn-soft); color: #ffd28a; border-bottom: 1px solid rgba(240, 160, 32, .25); }

/* ───── الصفحة ───── */
.page { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 30px 28px 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 700; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.crumbs { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.crumbs a:hover { color: var(--text); }
.crumbs :is(svg,.em) { width: 14px; height: 14px; }

.card { background: linear-gradient(180deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card-pad { padding: 22px; }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.card h2 :is(svg,.em) { color: var(--accent2); }
.card .sub { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }

/* ───── الأزرار ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--line2);
  background: var(--card2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: #4b4166; background: #231d33; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #5b3fe0); border-color: transparent; box-shadow: 0 6px 18px rgba(123, 92, 255, .3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: #ff8f91; }
.btn.danger:hover { background: var(--bad-soft); border-color: rgba(237, 66, 69, .4); }
.btn.ghost { background: transparent; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.discord { height: 50px; width: 100%; font-size: 16px; background: #5865f2; border-color: transparent; box-shadow: 0 8px 24px rgba(88, 101, 242, .35); }
.btn.discord:hover { filter: brightness(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───── شارات الحالة ───── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: #5fd38a; background: var(--ok-soft); }
.pill.warn { color: #ffbf5a; background: var(--warn-soft); }
.pill.bad { color: #ff7b7d; background: var(--bad-soft); }
.pill.idle { color: var(--muted); background: rgba(155, 147, 176, .12); }
.pill.accent { color: var(--accent2); background: var(--accent-soft); }

/* ───── بطاقات الاشتراكات ───── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.sub-card { position: relative; overflow: hidden; padding: 0; transition: .2s; }
.sub-card:hover { transform: translateY(-2px); border-color: var(--line2); }
.sub-banner { height: 86px; background: linear-gradient(120deg, #2a1f55, #171226 60%), var(--card2); background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.sub-body { padding: 0 20px 20px; }
.sub-top { display: flex; align-items: flex-end; gap: 12px; margin-top: -30px; }
.bot-ava { width: 64px; height: 64px; border-radius: 18px; border: 3px solid var(--card); background: var(--card2); object-fit: cover; display: grid; place-items: center; overflow: hidden; }
.bot-ava :is(svg,.em) { width: 30px; height: 30px; color: var(--accent2); }
.sub-top .names { padding-bottom: 4px; min-width: 0; }
.sub-top .names b { display: block; font-size: 16.5px; }
.sub-top .names small { color: var(--dim); font-size: 12.5px; direction: ltr; display: block; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-meta { display: grid; gap: 8px; margin: 16px 0; }
.sub-meta .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.sub-meta .row span:first-child { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.sub-meta .row :is(svg,.em) { width: 16px; height: 16px; }
.bar { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.bar.warn i { background: linear-gradient(90deg, #f0a020, #ffbf5a); }
.bar.bad i { background: linear-gradient(90deg, #ed4245, #ff7b7d); }
.sub-actions { display: flex; gap: 8px; }
.sub-actions .btn { flex: 1; }

.empty { text-align: center; padding: 60px 20px; }
.empty .big-ico { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--accent-soft); }
.empty .big-ico :is(svg,.em) { width: 34px; height: 34px; color: var(--accent2); }
.empty h3 { margin: 0 0 6px; font-size: 19px; }
.empty p { margin: 0 0 18px; color: var(--muted); }

/* ───── صفحة الاشتراك ───── */
.hero { overflow: hidden; margin-bottom: 20px; }
.hero-banner { height: 150px; background: linear-gradient(120deg, #2e2160, #151022 65%); background-size: cover; background-position: center; }
.hero-body { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px 22px; flex-wrap: wrap; }
.hero-body .bot-ava { width: 96px; height: 96px; border-radius: 26px; margin-top: -48px; border-width: 4px; }
.hero-body .bot-ava :is(svg,.em) { width: 44px; height: 44px; }
.hero-title { flex: 1; min-width: 200px; }
.hero-title h1 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-title p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.tabs button { flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .35); }

.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.stack { display: grid; gap: 20px; align-content: start; }
.kv { display: grid; gap: 0; }
.kv .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv .r:last-child { border-bottom: 0; }
.kv .r > span:first-child { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.kv .r > span:first-child :is(svg,.em) { width: 17px; height: 17px; color: var(--dim); }
.kv code, code.k { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--bg); padding: 2px 8px; border-radius: 7px; border: 1px solid var(--line); direction: ltr; }
.big-num { font-size: 34px; font-weight: 700; line-height: 1.1; }
.big-num small { font-size: 15px; color: var(--muted); font-weight: 500; }

/* ───── النماذج ───── */
.section { padding: 22px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-head .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); }
.section-head .ico :is(svg,.em) { color: var(--accent2); }
.section-head h3 { margin: 0; font-size: 16px; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: #d9d3ea; }
.field .hint { font-size: 12.5px; color: var(--dim); }
.input, select.input, textarea.input { width: 100%; height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; outline: none; transition: .15s; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.ltr { direction: ltr; text-align: right; }
select.input { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 18px 19px, 23px 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.color-row { display: flex; gap: 10px; align-items: center; }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line2); overflow: hidden; flex: none; cursor: pointer; }
.swatch input { position: absolute; inset: -8px; width: 60px; height: 60px; border: 0; padding: 0; cursor: pointer; opacity: 0; }
.swatch i { position: absolute; inset: 0; }
.colors3 { display: flex; gap: 10px; }
.colors3 .swatch { width: 54px; }
.dirty-bar { position: sticky; bottom: 18px; z-index: 10; display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-top: 18px; padding: 12px 16px;
  background: rgba(22, 18, 31, .95); backdrop-filter: blur(10px); border: 1px solid rgba(123, 92, 255, .45); border-radius: 14px; box-shadow: var(--shadow); }
.dirty-bar span { display: flex; align-items: center; gap: 8px; color: #d9d3ea; font-size: 14px; }

/* صور */
.img-field { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.img-prev { width: 220px; height: 70px; border-radius: 11px; border: 1px dashed var(--line2); background: var(--bg) center/contain no-repeat; display: grid; place-items: center; color: var(--dim); font-size: 12.5px; }
.img-prev.square { width: 96px; height: 96px; border-radius: 24px; background-size: cover; }
.img-prev.banner { width: 240px; height: 96px; background-size: cover; }
.img-prev.set { border-style: solid; border-color: rgba(123, 92, 255, .5); }

/* ───── الشراء ───── */
.buy { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.steps { display: grid; gap: 18px; }
.step-num { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.type { position: relative; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); cursor: pointer; transition: .15s; }
.type:hover { border-color: #4b4166; }
.type.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(123, 92, 255, .12); }
.type .t-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); margin-bottom: 10px; }
.type .t-ico :is(svg,.em) { width: 21px; height: 21px; color: var(--accent2); }
.type b { display: block; font-size: 15px; }
.type small { color: var(--muted); font-size: 12.5px; }
.type .tick { position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line2); display: grid; place-items: center; }
.type.on .tick { background: var(--accent); border-color: var(--accent); }
.type .tick :is(svg,.em) { width: 14px; height: 14px; color: #fff; opacity: 0; }
.type.on .tick :is(svg,.em) { opacity: 1; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg button { height: 64px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; display: grid; align-content: center; gap: 2px; }
.seg button b { font-size: 15px; }
.seg button small { color: var(--dim); font-size: 12px; }
.seg button.on { border-color: var(--accent); background: var(--accent-soft); }
.summary { position: sticky; top: 90px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--muted); }
.summary .line b { color: var(--text); font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; margin-top: 8px; border-top: 1px solid var(--line); }
.summary .total b { font-size: 30px; }
.summary .total s { color: var(--dim); font-size: 14px; margin-inline-end: 8px; }
.acct { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.acct .a-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--card2); }
.acct .a-ico :is(svg,.em) { color: var(--accent2); }
.acct .a-txt { flex: 1; min-width: 0; }
.acct .a-txt b { display: block; font-size: 14px; }
.acct .a-txt code { display: block; margin-top: 4px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.drop { display: grid; place-items: center; gap: 8px; padding: 26px; border: 1.5px dashed var(--line2); border-radius: 14px; background: var(--bg); text-align: center; cursor: pointer; transition: .15s; color: var(--muted); }
.drop:hover, .drop.over { border-color: var(--accent); color: var(--text); }
.drop :is(svg,.em) { width: 30px; height: 30px; color: var(--accent2); }
.drop img { max-width: 100%; max-height: 220px; border-radius: 10px; }
.coupon { display: flex; gap: 8px; }
.ok-text { color: #5fd38a; font-size: 13px; }
.err-text { color: #ff7b7d; font-size: 13px; }

/* ───── الطلبات ───── */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: right; font-size: 12.5px; font-weight: 600; color: var(--dim); padding: 0 16px 12px; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.table tr:hover td { background: rgba(255, 255, 255, .015); }

/* ───── نافذة ───── */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(6, 5, 10, .72); backdrop-filter: blur(6px); }
.modal-box { width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--card); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.modal-body { padding: 20px 22px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-start; padding: 16px 22px; border-top: 1px solid var(--line); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); background: var(--card2); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); }

/* محرر الصور */
.crop-wrap { display: grid; grid-template-columns: 1fr 240px; gap: 18px; }
.crop-stage { position: relative; display: grid; place-items: center; min-height: 340px; border-radius: 14px; background:
  repeating-conic-gradient(#1a1626 0% 25%, #14111e 0% 50%) 50% / 22px 22px; overflow: hidden; touch-action: none; }
.crop-stage canvas { max-width: 100%; max-height: 420px; cursor: grab; box-shadow: 0 0 0 2px var(--accent), 0 0 0 9999px rgba(6, 5, 10, .55); border-radius: 4px; }
.crop-stage canvas.round { border-radius: 26%; }
.crop-stage canvas:active { cursor: grabbing; }
.crop-side { display: grid; gap: 14px; align-content: start; }
.range { width: 100%; accent-color: var(--accent); }
.size-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.size-row span { color: var(--dim); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg); color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.presets button.on, .presets button:hover { color: var(--text); border-color: var(--accent); }
.crop-info { font-size: 12.5px; color: var(--dim); }

/* ───── تنبيهات ───── */
.toasts { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 420px; padding: 13px 16px; border-radius: 13px; background: var(--card2); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 14px; animation: tin .25s ease; }
.toast.ok { border-color: rgba(59, 165, 93, .5); } .toast.ok :is(svg,.em) { color: #5fd38a; }
.toast.bad { border-color: rgba(237, 66, 69, .5); } .toast.bad :is(svg,.em) { color: #ff7b7d; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.loader { display: grid; place-items: center; padding: 120px 0; }
.loader span { width: 34px; height: 34px; border: 3px solid var(--line2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(123, 92, 255, .3); font-size: 13.5px; color: #d9d3ea; }
.note :is(svg,.em) { margin-top: 2px; color: var(--accent2); }
.note.warn { background: var(--warn-soft); border-color: rgba(240, 160, 32, .3); }
.note.warn :is(svg,.em) { color: #ffbf5a; }

/* ───── صفحة الدخول ───── */
.login-page, .center-page { display: grid; place-items: center; padding: 24px; }
.login-card, .msg-card { position: relative; z-index: 1; width: min(440px, 100%); padding: 36px 32px; text-align: center; background: linear-gradient(180deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.login-card .brand { justify-content: center; margin-bottom: 18px; }
.login-card h1, .msg-card h1 { margin: 0 0 6px; font-size: 24px; }
.login-card > p { margin: 0 0 22px; }
.perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; text-align: right; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.perks :is(svg,.em) { color: var(--accent2); }
.fine { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 16px 0 0; color: var(--dim); font-size: 12.5px; }
.fine :is(svg,.em) { width: 15px; height: 15px; }
.logo-mark { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); }
.logo-mark :is(svg,.em) { width: 30px; height: 30px; color: var(--accent2); }
.msg-card p { color: var(--muted); margin: 0 0 22px; }


/* ───── الإعدادات: تنقل الأقسام ───── */
.set-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.set-nav { position: sticky; top: 86px; display: grid; gap: 2px; padding: 8px; }
.set-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.set-nav a :is(svg,.em) { width: 17px; height: 17px; }
.set-nav a:hover { color: var(--text); background: var(--card2); }
.set-nav a.on { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .3); }
.set-nav a.on :is(svg,.em) { color: var(--accent2); }
.set-main { min-width: 0; }
.section { scroll-margin-top: 90px; }
.section-head h3 + .sec-desc, .sec-desc { margin: 2px 0 0; font-size: 12.5px; color: var(--dim); font-weight: 400; }
.section-head .ico { flex: none; }

/* مفتاح تشغيل */
.switch-row { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); cursor: pointer; }
.switch-row > span:first-child { font-weight: 600; font-size: 13.5px; color: #d9d3ea; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--line2); transition: .18s; pointer-events: none; }
.switch i::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #cfc8e2; transition: .18s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { inset-inline-start: 21px; background: #fff; }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px var(--accent-soft); }

/* اختيار روم */
.chan-btn { min-width: 0; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 44px; padding: 0 12px 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; text-align: right; transition: .15s; }
.chan-btn:hover { border-color: #4b4166; }
.chan-btn:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chan-btn > :is(svg,.em) { width: 16px; height: 16px; color: var(--dim); }
.chan-btn.sm { height: 36px; width: 230px; border-radius: 9px; font-size: 13.5px; }
.cl, .ph { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cl :is(svg,.em) { width: 16px; height: 16px; color: var(--accent2); }
.cl bdi { overflow: hidden; text-overflow: ellipsis; }
.ph { color: var(--dim); }
.ph :is(svg,.em) { width: 15px; height: 15px; }
.ph.warn { color: #ffbf5a; }
.picker { position: fixed; z-index: 70; display: grid; grid-template-rows: auto 1fr; max-height: 360px; background: var(--card2); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: hidden; animation: tin .14s ease; }
.pk-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; border-bottom: 1px solid var(--line); }
.pk-search :is(svg,.em) { width: 16px; height: 16px; color: var(--dim); }
.pk-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text); font: inherit; outline: none; }
.pk-search.sm { height: 36px; border: 1px solid var(--line2); border-radius: 9px; background: var(--bg); flex: 1; min-width: 180px; }
.pk-list { overflow: auto; padding: 6px; }
.pk-group { display: flex; align-items: center; gap: 6px; padding: 10px 10px 4px; font-size: 11.5px; font-weight: 700; color: var(--dim); letter-spacing: .2px; }
.pk-group :is(svg,.em) { width: 13px; height: 13px; }
.pk-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-align: right; }
.pk-item :is(svg,.em) { width: 16px; height: 16px; }
.pk-item > :is(svg,.em):last-child:not(:first-child) { margin-inline-start: auto; color: var(--accent2); }
.pk-item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.pk-item.on { background: var(--accent-soft); color: var(--text); }
.pk-empty { padding: 22px; text-align: center; color: var(--dim); font-size: 13.5px; }

/* عدة رومات */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; min-height: 44px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 10px; border-radius: 8px; background: var(--card2); border: 1px solid var(--line2); font-size: 13px; max-width: 100%; }
.chip button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 6px; background: transparent; color: var(--dim); cursor: pointer; }
.chip button:hover { color: #ff8f91; background: var(--bad-soft); }
.chip button :is(svg,.em) { width: 13px; height: 13px; }
.chip.add { padding: 0 10px; color: var(--accent2); background: var(--accent-soft); border-color: rgba(123, 92, 255, .35); cursor: pointer; font: inherit; font-size: 13px; }
.chip.add :is(svg,.em) { width: 14px; height: 14px; }

/* تثبيت البوتات */
.assign-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.assign { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 8px; max-height: 460px; overflow: auto; padding: 2px; }
.arow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); }
.arow .num { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--card2); font-size: 12.5px; font-weight: 700; color: var(--accent2); }
.arow .nm { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.arow .nm small { display: block; font-weight: 400; font-size: 11.5px; color: var(--dim); text-align: right; overflow: hidden; text-overflow: ellipsis; }
.input.sm { height: 36px; width: 200px; }

/* اسم الزر + الإيموجي */
.fields.pairs { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.pair { display: grid; gap: 7px; }
.pair > label { font-size: 13.5px; font-weight: 600; color: #d9d3ea; }
.pair-in { display: grid; grid-template-columns: 1fr 150px; gap: 8px; }
.emoji-row { display: flex; gap: 8px; align-items: center; }
.emoji-row .input { min-width: 0; }
.emo { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); font-size: 20px; overflow: hidden; }
.emo img { width: 24px; height: 24px; object-fit: contain; }
.emo :is(svg,.em) { width: 18px; height: 18px; }
.pair-in .emo { width: 40px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; }
.hint.count { margin-top: -2px; }
.job { display: flex; align-items: center; gap: 12px; }
.job .bar { flex: 1; }

@media (max-width: 900px) {
  .set-layout { grid-template-columns: 1fr; }
  .set-nav { position: sticky; top: 62px; z-index: 5; display: flex; overflow-x: auto; padding: 6px; background: rgba(22, 18, 31, .96); backdrop-filter: blur(10px); }
  .set-nav a { flex: none; padding: 8px 12px; }
  .assign { grid-template-columns: 1fr; }
  .chan-btn.sm, .input.sm { width: 170px; }
  .pair-in { grid-template-columns: 1fr 130px; }
}

@media (max-width: 900px) {
  .cols, .buy, .crop-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .nav span { display: none; }
  .topbar { padding: 12px 16px; gap: 10px; }
  .page { padding: 22px 16px 70px; }
  .me .who { display: none; }
  .seg { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════ VORA v2 — هوية المتجر: نقاط + إضاءة + زجاج ═══════════════════════ */
:root {
  --bg: #07060c; --bg2: #0d0b16; --card: #13101f; --card2: #1a1629; --line: rgba(176, 160, 255, .12); --line2: rgba(176, 160, 255, .2);
  --text: #f1eefb; --muted: #a49cc0; --dim: #6f6888;
  --accent: #8f7dff; --accent2: #b9adff; --accent-soft: rgba(143, 125, 255, .14);
  --glass: linear-gradient(155deg, rgba(128, 112, 200, .16), rgba(20, 16, 34, .66) 48%, rgba(12, 10, 20, .78));
  --shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
/* أيقوناتنا (إيموجيات المتجر) — تاخذ لون النص */
.em { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
body { background: radial-gradient(1200px 600px at 85% -10%, rgba(110, 90, 230, .18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(90, 70, 200, .14), transparent 60%), var(--bg); }
/* النقاط (نفس تصاميمنا): تبان على الأطراف وتختفي بالنص */
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(190, 178, 255, .32) 1px, transparent 1.3px); background-size: 13px 13px;
  -webkit-mask: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 40%, #000 100%); mask: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 40%, #000 100%); opacity: .55; }
/* شعاع الإضاءة المائل */
body::after { content: ''; position: fixed; inset: -20% -10%; z-index: 0; pointer-events: none;
  background: linear-gradient(118deg, transparent 32%, rgba(165, 148, 255, .07) 42%, rgba(220, 212, 255, .10) 47%, rgba(165, 148, 255, .05) 52%, transparent 62%); filter: blur(8px); }
.glow { display: none; }

/* الهيدر */
.topbar { background: rgba(8, 7, 14, .72); border-bottom: 1px solid var(--line); }
.brand-mark, .brand.big .brand-mark { background: none; box-shadow: none; width: auto; height: auto; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(143, 125, 255, .45)); }
.brand.big .brand-logo { width: 64px; height: 64px; }
.brand-name { letter-spacing: 3px; font-weight: 700; font-size: 15px; }
.nav a.on { background: linear-gradient(135deg, rgba(143, 125, 255, .22), rgba(143, 125, 255, .08)); box-shadow: inset 0 0 0 1px rgba(185, 173, 255, .28); }

/* البطاقات: زجاج + لمعة خفيفة فوق */
.card { position: relative; background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 28%, transparent 70%, rgba(185, 173, 255, .05)); }
.card > * { position: relative; }
.sub-card:hover { border-color: rgba(185, 173, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px rgba(60, 40, 160, .28); }
.sub-banner, .hero-banner { position: relative; overflow: hidden;
  background-color: #120e22;
  background-image: linear-gradient(115deg, transparent 30%, rgba(205, 196, 255, .20) 44%, rgba(160, 140, 255, .08) 52%, transparent 64%),
    radial-gradient(500px 160px at 15% 0%, rgba(130, 110, 255, .35), transparent 70%), linear-gradient(120deg, #2a1f58, #120e22 65%); }
.sub-banner::after, .hero-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(200, 190, 255, .35) 1px, transparent 1.3px); background-size: 9px 9px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 35%, transparent 70%, #000); mask: linear-gradient(90deg, #000, transparent 35%, transparent 70%, #000); opacity: .5; }
.sub-banner[style*="url"], .hero-banner[style*="url"] { background-size: cover; background-position: center; }
.sub-banner[style*="url"]::after, .hero-banner[style*="url"]::after { display: none; }
.bot-ava { border-color: rgba(20, 16, 34, .95); background: #120f1e; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.bot-ava.art { padding: 0; object-fit: cover; }

/* الأزرار: نفس زر CLICK NOW */
.btn { background: rgba(255, 255, 255, .04); border-color: var(--line2); }
.btn:hover { background: rgba(185, 173, 255, .1); border-color: rgba(185, 173, 255, .35); }
.btn.primary { background: linear-gradient(135deg, #c6bcff, #8f7dff); color: #120e24; border-color: transparent; box-shadow: 0 8px 26px rgba(143, 125, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary .spin { border-color: rgba(18, 14, 36, .25); border-top-color: #120e24; }
.btn.ghost { background: transparent; }

/* العناوين والأقسام */
.page-head h1 { font-size: 28px; background: linear-gradient(90deg, #fff, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head .ico { background: linear-gradient(145deg, rgba(185, 173, 255, .22), rgba(143, 125, 255, .06)); box-shadow: inset 0 0 0 1px rgba(185, 173, 255, .22); }
.section-head .ico .em, .card h2 .em { color: var(--accent2); }
.input, select.input, textarea.input, .chan-btn, .switch-row, .chips, .emo, .arow { background-color: rgba(6, 5, 12, .55); border-color: var(--line2); }
.tabs, .set-nav { background: rgba(14, 11, 24, .6); border-color: var(--line); }
.tabs button.on, .set-nav a.on { background: linear-gradient(135deg, rgba(143, 125, 255, .24), rgba(143, 125, 255, .08)); box-shadow: inset 0 0 0 1px rgba(185, 173, 255, .3); }
.bar i { background: linear-gradient(90deg, #8f7dff, #c6bcff); box-shadow: 0 0 12px rgba(143, 125, 255, .6); }
.pill.ok { color: #7ee2a4; }
.dirty-bar { background: rgba(16, 13, 28, .92); border-color: rgba(185, 173, 255, .38); }
.toast { background: rgba(22, 18, 36, .96); }
.modal-box { background: linear-gradient(160deg, #1a1530, #0f0c1a); border-color: var(--line2); }
.picker { background: #15112a; }

/* صور البوتات بدل الأيقونات */
.type .t-ico { width: 52px; height: 52px; border-radius: 16px; overflow: hidden; background: none; }
.type .t-ico img { width: 100%; height: 100%; object-fit: cover; }
.type.on { box-shadow: 0 0 0 3px rgba(143, 125, 255, .14), 0 14px 34px rgba(80, 60, 200, .25); }

/* صفحة الدخول */
.login-card { background: var(--glass); border-color: var(--line2); backdrop-filter: blur(16px); }
.login-art { width: 100%; border-radius: 16px; margin: 4px 0 20px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }

/* ───── الإدارة ───── */
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.adm-type { padding: 20px; display: grid; gap: 14px; }
.adm-type .top { display: flex; align-items: center; gap: 14px; }
.adm-type .top img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.adm-type .top b { display: block; font-size: 17px; }
.adm-type .top small { color: var(--dim); font-size: 12.5px; }
.adm-type .nums { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-type .acts { display: flex; gap: 8px; }
.adm-type .acts .btn { flex: 1; }
.gal-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.gal-tools .pk-search.sm { max-width: 320px; }
.chip-f { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.chip-f.on { color: var(--text); background: var(--accent-soft); border-color: rgba(185, 173, 255, .4); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.g-item { padding: 0; overflow: hidden; cursor: pointer; text-align: right; color: inherit; font: inherit; border-radius: 14px; transition: .15s; }
.g-item:hover { transform: translateY(-2px); border-color: rgba(185, 173, 255, .35); }
.g-thumb { height: 130px; display: grid; place-items: center; background: repeating-conic-gradient(#171327 0% 25%, #100d1c 0% 50%) 50% / 18px 18px; border-bottom: 1px solid var(--line); }
.g-thumb img { max-width: 92%; max-height: 116px; object-fit: contain; }
.g-meta { padding: 10px 12px; display: grid; gap: 2px; }
.g-meta b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; }
.g-meta small { color: var(--dim); font-size: 12px; }
.asset-view { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
.asset-view .big { display: grid; place-items: center; min-height: 300px; border-radius: 14px; background: repeating-conic-gradient(#171327 0% 25%, #100d1c 0% 50%) 50% / 20px 20px; padding: 14px; }
.asset-view .big img { max-width: 100%; max-height: 440px; object-fit: contain; border-radius: 6px; }
.job-lines { display: grid; gap: 6px; max-height: 360px; overflow: auto; margin-top: 14px; }
.job-lines .r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(6, 5, 12, .45); border: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 900px) { .asset-view { grid-template-columns: 1fr; } }
.set-nav.card, .summary.card { position: sticky; }
@media (max-width: 900px) { .summary.card { position: relative; } }
@media (max-width: 600px) { .brand-name { display: none; } .nav { margin-inline-start: 4px; } }

/* ═══════════ صفحة الدخول v3 ═══════════ */
.login-page { display: grid; place-items: center; min-height: 100vh; padding: 28px 18px; }
.auth { position: relative; z-index: 1; width: min(1040px, 100%); display: grid; gap: 16px; }
.auth-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; min-height: 420px; padding: 44px 48px;
  border-radius: 26px; border: 1px solid rgba(190, 178, 255, .2); background: linear-gradient(150deg, rgba(150, 132, 230, .2), rgba(22, 18, 38, .78) 42%, rgba(10, 8, 18, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
/* إضاءة + نقاط داخل البطاقة */
.auth-hero::before { content: ''; position: absolute; inset: -30% -20%; pointer-events: none;
  background: linear-gradient(118deg, transparent 34%, rgba(215, 205, 255, .16) 46%, rgba(160, 140, 255, .06) 53%, transparent 64%), radial-gradient(420px 260px at 18% 50%, rgba(130, 108, 255, .28), transparent 70%); }
.auth-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(205, 195, 255, .4) 1px, transparent 1.3px); background-size: 11px 11px;
  -webkit-mask: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 45%, #000 100%); mask: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 45%, #000 100%); opacity: .35; }
.auth-hero > * { position: relative; z-index: 1; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 700; letter-spacing: 3px; font-size: 14px; color: #ddd7f5; }
.auth-brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(143, 125, 255, .5)); }
.auth-copy h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 54px); line-height: 1.15; font-weight: 800; color: #fff; }
.auth-copy .grad { background: linear-gradient(90deg, #c9bfff, #8f7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-copy .lead { margin: 0; font-size: 17px; font-weight: 600; color: #e9e5f8; }
.auth-copy .lead.soft { color: #a99cf2; margin-top: 4px; }
.btn.xl { height: 54px; padding: 0 22px; margin-top: 26px; font-size: 16px; border-radius: 14px; }
.btn.xl .em:last-child { width: 16px; height: 16px; opacity: .8; }
.auth-copy .fine { justify-content: flex-start; margin-top: 14px; }
/* الشكل: بلاطات زجاج فوق بعض مثل تصميم المتجر */
.auth-art { position: relative; height: 300px; display: grid; place-items: center; }
.auth-art .tile { position: absolute; width: 190px; height: 190px; border-radius: 46px; border: 1px solid rgba(200, 190, 255, .28);
  background: linear-gradient(150deg, rgba(120, 104, 210, .45), rgba(28, 22, 54, .9) 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 26px 50px rgba(0, 0, 0, .5); }
.auth-art .t3 { transform: translate(34px, -22px) rotate(10deg); opacity: .35; }
.auth-art .t2 { transform: translate(18px, -10px) rotate(5deg); opacity: .6; }
.auth-art .t1 { display: grid; place-items: center; background: linear-gradient(150deg, #4b3d9a, #1d1740 62%, #140f2c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -12px 30px rgba(0, 0, 0, .35), 0 0 60px rgba(143, 125, 255, .35), 0 30px 60px rgba(0, 0, 0, .55); animation: floaty 6s ease-in-out infinite; }
.auth-art .t1 .em { width: 92px; height: 92px; background: linear-gradient(160deg, #e3ddff, #9c8cff); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.auth-art .ring { position: absolute; width: 290px; height: 290px; border-radius: 50%; border: 1px dashed rgba(190, 178, 255, .25); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .auth-art .t1 { animation: none; } }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.auth-perks .pi { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, rgba(185, 173, 255, .24), rgba(143, 125, 255, .06)); box-shadow: inset 0 0 0 1px rgba(185, 173, 255, .25); color: var(--accent2); }
.auth-perks .pi .em { width: 22px; height: 22px; }
.auth-perks b { display: block; font-size: 15px; }
.auth-perks small { color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  .auth-hero { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; min-height: 0; }
  .auth-art { order: -1; height: 210px; }
  .auth-art .tile { width: 140px; height: 140px; border-radius: 36px; }
  .auth-art .ring { width: 210px; height: 210px; }
  .auth-art .t1 .em { width: 66px; height: 66px; }
  .auth-brand { justify-content: center; }
  .auth-copy .fine { justify-content: center; }
  .btn.xl { width: 100%; }
  .auth-perks { grid-template-columns: 1fr; }
}
/* سيرفر المتجر */
.srv-link { margin-inline-start: auto; }
.srv-link + .me { margin-inline-start: 0; }
.out-banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 20px; border-color: rgba(240, 160, 32, .35); background: linear-gradient(150deg, rgba(240, 160, 32, .14), rgba(20, 16, 34, .8) 55%); }
.out-banner .ob-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--warn-soft); color: #ffbf5a; }
.out-banner .ob-ico .em { width: 22px; height: 22px; }
.out-banner div { flex: 1; min-width: 0; }
.out-banner b { display: block; font-size: 15px; }
.out-banner small { color: var(--muted); font-size: 13px; }
.auth-server { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--muted); font-size: 13.5px; transition: .15s; }
.auth-server:hover { color: var(--text); border-color: rgba(185, 173, 255, .4); }
.auth-server b { color: var(--accent2); font-weight: 700; }
.auth-server .em { width: 17px; height: 17px; color: var(--accent2); }
@media (max-width: 820px) { .auth-server { justify-content: center; } .out-banner { flex-wrap: wrap; } .out-banner .btn { width: 100%; } }
@media (max-width: 600px) { .srv-link span { display: none; } }

/* ═══════════ لوحة الإدارة (قائمة جانبية) ═══════════ */
.page:has(.adm-shell) { max-width: 1400px; }
.adm-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm-main { min-width: 0; }
.adm-side { position: sticky; top: 86px; padding: 16px 12px; display: grid; gap: 14px; overflow: hidden; }
.adm-side::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(185, 173, 255, .10) 1px, transparent 0) 0 0 / 14px 14px; mask: linear-gradient(180deg, #000, transparent 55%); }
.adm-side-head { position: relative; display: flex; align-items: center; gap: 11px; padding: 4px 8px 14px; border-bottom: 1px solid var(--line); }
.adm-side-head .crown { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--accent), #4c33c9); color: #fff; box-shadow: 0 6px 20px rgba(123, 92, 255, .4); }
.adm-side-head b { display: block; font-size: 15px; line-height: 1.3; }
.adm-side-head small { color: var(--dim); font-size: 12px; }
.adm-nav { position: relative; display: grid; gap: 3px; }
.adm-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.adm-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.adm-nav a.on { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .35); }
.adm-nav a.on .em { color: var(--accent2); }
.adm-nav .badge { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; }
.adm-side-foot { position: relative; display: flex; gap: 8px; align-items: flex-start; padding: 12px 10px 4px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; line-height: 1.5; }
.adm-side-foot .em { width: 15px; height: 15px; margin-top: 2px; }

/* أرقام */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stats.sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .stats.sm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 17px 16px; overflow: hidden; }
.stat::after { content: ''; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .16), transparent 70%); pointer-events: none; }
.stat .st-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.stat .st-ico .em { width: 20px; height: 20px; }
.stat small { display: block; color: var(--muted); font-size: 12.5px; }
.stat b { display: block; font-size: 24px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stat b small { display: inline; font-size: 12px; color: var(--dim); font-weight: 600; }
.stat em { display: block; font-style: normal; color: var(--dim); font-size: 12px; margin-top: 2px; }
.stat.ok .st-ico { background: var(--ok-soft); color: #5fd38a; }
.stat.warn .st-ico { background: var(--warn-soft); color: #ffbf5a; }
.stat.accent .st-ico { background: var(--accent-soft); color: var(--accent2); }
.stats.sm .stat b { font-size: 20px; }

.adm-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.adm-cols > .card h2, .stack-col .card h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 16px; }
.adm-cols h2 small { font-weight: 500; font-size: 12px; margin-inline-start: auto; }
.hint.center { text-align: center; display: block; }

/* رسم الأعمدة: لون واحد، خطوط شبكة خفيفة، تلميح عند المرور */
.vchart { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 150px auto; column-gap: 8px; }
.vc-y { display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; margin-top: -7px; margin-bottom: -7px; }
.vc-plot { position: relative; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line2);
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%; }
.vc-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; outline: none; }
.vc-col i { display: block; width: 100%; background: #9a82ff; border-radius: 4px 4px 0 0; min-height: 0; transition: background .12s; }
.vc-col:hover i, .vc-col:focus-visible i { background: #b9a9ff; }
.vc-col:hover::before, .vc-col:focus-visible::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .04); border-radius: 4px; }
.vc-col:hover::after, .vc-col:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 9px; border-radius: 8px; background: #241d35; border: 1px solid var(--line2); color: var(--text); font-size: 12px; z-index: 3; box-shadow: var(--shadow); pointer-events: none; }
.vc-col:first-child:hover::after { left: 0; transform: none; }
.vc-col:last-child:hover::after { left: auto; right: 0; transform: none; }
.vc-x { grid-column: 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); padding-top: 6px; font-variant-numeric: tabular-nums; }
.chart-empty { height: 150px; display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; color: var(--dim); font-size: 13px; border: 1px dashed var(--line2); border-radius: 12px; padding: 0 18px; }
.hbars { display: grid; gap: 12px; }
.hb { display: grid; grid-template-columns: 150px 1fr 40px 60px; align-items: center; gap: 10px; font-size: 13.5px; }
.hb-name { display: flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-name .em { width: 16px; height: 16px; }
.hb-track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.hb-track i { display: block; height: 100%; background: #9a82ff; border-radius: 99px; }
.hb b { text-align: left; font-variant-numeric: tabular-nums; }
.hb small { color: var(--dim); font-size: 12px; }

/* قوائم صغيرة */
.rank { display: grid; }
.rk { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.rk:last-child { border-bottom: 0; }
.rk > em { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent2); font-style: normal; font-size: 12px; font-weight: 700; }
.rk .u-cell { flex: 0 1 auto; min-width: 0; }
.rk-mid { flex: 1; min-width: 0; display: grid; }
.rk-mid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.rk-v { margin-inline-start: auto; text-align: left; display: grid; justify-items: end; gap: 3px; white-space: nowrap; }
.rk-v b { font-variant-numeric: tabular-nums; }
.rk-v b small, td small.sar { color: var(--dim); font-size: 11px; }
.rk-v > small { color: var(--dim); font-size: 12px; }

/* المستخدم */
.u-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.u-cell > span { display: grid; min-width: 0; line-height: 1.35; }
.u-cell b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-cell small { color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
a.u-cell:hover b { color: var(--accent2); }
.u-ava { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; background: var(--card2); border: 2px solid var(--line2); }
.u-ava.sq { border-radius: 11px; border-width: 0; }
.u-ava.ic { display: grid; place-items: center; color: var(--muted); }

/* الجداول */
.tbl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; margin-bottom: 14px; }
.tbl-tools .pk-search.sm { max-width: 340px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--dim); }
.sort select { height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line2); background-color: var(--bg); color: var(--text); font: inherit; font-size: 13px; }
.tbl-wrap { padding: 16px 4px 4px; overflow-x: auto; }
.tbl-wrap .table td { white-space: nowrap; }
.tbl-wrap .table td small { font-size: 12px; }
.tbl-wrap .table td > small, .tbl-wrap .table td b small { color: var(--dim); }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(123, 92, 255, .05) !important; }
.types { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: middle; }
.tchip { padding: 1px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.tx-bad { color: #ff7b7d; font-weight: 600; }
.tx-warn { color: #ffbf5a; font-weight: 600; }
.empty-row { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 30px; color: var(--dim); }
.srv { display: inline-flex; align-items: center; gap: 7px; }
.srv img { width: 22px; height: 22px; border-radius: 7px; }
.lnk { color: var(--accent2); direction: ltr; }

/* صفحة المشترك */
.uhero { overflow: hidden; margin-bottom: 18px; }
.uhero-banner { height: 130px; background: linear-gradient(120deg, #2b1f55, #4c33c9 55%, #7b5cff); background-size: cover; background-position: center; position: relative; }
.uhero-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 0) 0 0 / 14px 14px; mask: linear-gradient(90deg, transparent, #000); }
.uhero-body { display: flex; align-items: flex-end; gap: 16px; padding: 0 22px 18px; margin-top: -44px; position: relative; flex-wrap: wrap; }
.uhero-ava { width: 96px; height: 96px; border-radius: 50%; border: 5px solid var(--card); background: var(--card2); object-fit: cover; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.uhero-title { flex: 1; min-width: 200px; padding-bottom: 4px; }
.uhero-title h1 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uhero-title p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.uhero-title code { cursor: copy; }
.uhero-badges { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 6px; }
.adm-cols.uside { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; }
.stack-col { display: grid; gap: 16px; min-width: 0; }
.sec-t { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; }
.asubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.asub { padding: 16px; display: grid; gap: 10px; }
.asub-top { display: flex; align-items: center; gap: 11px; }
.asub-top .bot-ava { width: 44px; height: 44px; }
.asub-top .names { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.asub-top .names small { color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asub .kv .r { padding: 8px 0; font-size: 13px; }
.asub-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.asub-acts .btn { flex: 1 1 0; padding: 0 10px; min-width: max-content; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.role { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 12.5px; }
.role i { width: 9px; height: 9px; border-radius: 50%; }

@media (max-width: 1100px) { .adm-cols.uside { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { position: relative; top: 0; padding: 8px; }
  .adm-side-head, .adm-side-foot { display: none; }
  .adm-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .adm-nav a { white-space: nowrap; padding: 8px 12px; }
  .adm-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hb { grid-template-columns: 110px 1fr 32px; } .hb small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 13px; } .stat .st-ico { display: none; } .stat b { font-size: 19px; }
  .sort { margin-inline-start: 0; }
}

/* ═══════════ السلة وكود الطلب ═══════════ */
.cart-n { margin-inline-start: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; background: var(--accent-soft); color: var(--accent2); box-shadow: inset 0 0 0 1px rgba(123, 92, 255, .35); }
.summary .line .icon-btn.xs { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.summary .line .icon-btn.xs .em, .summary .line .icon-btn.xs svg { width: 13px; height: 13px; }
.how { display: grid; gap: 10px; margin-top: 6px; }
.how-i { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.how-i > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent2); }
.how-i b { display: block; font-size: 14px; }
.how-i small { color: var(--dim); font-size: 12.5px; }
.code-card { max-width: 560px; margin: 30px auto; padding: 34px 28px; text-align: center; display: grid; justify-items: center; gap: 6px; position: relative; overflow: hidden; }
.code-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(185, 173, 255, .12) 1px, transparent 0) 0 0 / 14px 14px; mask: radial-gradient(circle at 50% 0, #000, transparent 70%); }
.code-card h2 { margin: 6px 0 0; font-size: 22px; }
.code-card p { margin: 0 0 10px; }
.code-box { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 16px; border: 1px dashed rgba(185, 173, 255, .55); background: linear-gradient(135deg, rgba(123, 92, 255, .22), rgba(76, 51, 201, .12)); color: #fff; font: 800 30px/1 ui-monospace, Consolas, monospace; letter-spacing: 3px; cursor: copy; box-shadow: 0 0 40px rgba(123, 92, 255, .25); transition: .15s; }
.code-box:hover { border-color: var(--accent2); transform: translateY(-1px); }
.code-box .em { width: 22px; height: 22px; color: var(--accent2); }
.code-meta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin: 12px 0 4px; color: var(--muted); font-size: 13.5px; }
.code-meta span { display: inline-flex; align-items: center; gap: 6px; }
.code-meta .em { width: 15px; height: 15px; color: var(--dim); }
.code-steps { text-align: right; margin: 12px 0 8px; padding-inline-start: 22px; color: var(--muted); line-height: 2; font-size: 14px; }
.code-steps b { color: var(--text); }
.code-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
@media (max-width: 600px) { .code-box { font-size: 22px; padding: 14px 18px; letter-spacing: 2px; } }
.code-card .big-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ok-soft); color: #5fd38a; box-shadow: 0 0 30px rgba(59, 165, 93, .25); }
.code-card .big-ico .em, .code-card .big-ico svg { width: 30px; height: 30px; }

/* ═══════════ بانر البوت (الصورة الحقيقية من ديسكورد) ═══════════
   - بطاقة الاشتراك: البانر يطلع كامل بمقاسه (5:2) والاسم تحته مو فوقه
   - صفحة الاشتراك: البانر كامل بالنص وخلفه نفس الصورة مغبشة (بدون تكبير يخرب الجودة) */
.sub-banner[style*="--bn"], .hero-banner[style*="--bn"] { background: #120e22; }
.sub-banner[style*="--bn"] { height: auto; aspect-ratio: 5 / 2; background: var(--bn) center / cover no-repeat; }
.sub-banner[style*="--bn"]::after { display: block; content: ''; position: absolute; inset: auto 0 0 0; height: 38%; opacity: 1; -webkit-mask: none; mask: none;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 22, .55)); }
.sub-top { margin-top: 0; align-items: flex-start; }
.sub-top .bot-ava { margin-top: -32px; flex: none; }
.sub-top .names { padding: 8px 0 0; }
.hero-banner[style*="--bn"] { height: auto; aspect-ratio: 5 / 2; max-height: 240px; width: 100%; }
.hero-banner[style*="--bn"]::before { content: ''; position: absolute; inset: -30px; background: var(--bn) center / cover no-repeat; filter: blur(30px) saturate(1.1) brightness(.42); }
.hero-banner[style*="--bn"]::after { display: block; content: ''; position: absolute; inset: 0; opacity: 1; -webkit-mask: none; mask: none;
  background: var(--bn) center / contain no-repeat; }
