/* ============================================================
   CodeX — Design System v4 (Discord-accurate, clean & flat)
   ألوان ديسكورد الرسمية، بسيط واحترافي، RTL عربي
   لا backdrop-filter ولا blur ثقيل
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  /* خلفيات ديسكورد الرسمية */
  --bg-tertiary: #1e1f22;   /* الأغمق */
  --bg-secondary: #2b2d31;  /* السايدبار/البطاقات */
  --bg-secondary-alt: #232428;
  --bg-primary: #313338;    /* المحتوى */
  --bg-floating: #111214;
  --bg-input: #1e1f22;
  --bg-elevated: #383a40;
  --bg-hover: #35373c;

  /* بلوربل ديسكورد */
  --blurple: #5865f2;
  --blurple-hover: #4752c4;
  --blurple-active: #3c45a5;
  --blurple-soft: rgba(88, 101, 242, 0.15);

  /* حالات ديسكورد */
  --green: #23a55a;
  --green-soft: rgba(35, 165, 90, 0.15);
  --red: #da373c;
  --red-status: #f23f43;
  --red-soft: rgba(242, 63, 67, 0.15);
  --yellow: #f0b232;
  --yellow-soft: rgba(240, 178, 50, 0.15);

  /* نصوص ديسكورد */
  --text: #f2f3f5;
  --text-normal: #dbdee1;
  --text-muted: #b5bac1;
  --text-faint: #949ba4;
  --text-dim: #80848e;

  --border: #232428;
  --border-hi: #3f4147;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --sidebar-w: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', 'gg sans', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  background: var(--bg-primary);
  color: var(--text-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* سكرول ديسكورد */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-tertiary); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--bg-floating); border-radius: 8px; border: 2px solid var(--bg-tertiary); }
::-webkit-scrollbar-thumb:hover { background: #0a0a0c; }
* { scrollbar-width: thin; scrollbar-color: var(--bg-floating) var(--bg-tertiary); }

.glass { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ظهور عند التمرير */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 0.84, 0.44, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================ تسجيل الدخول */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 416px; padding: 40px 32px; text-align: center; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: rise 0.4s ease both; }
.logo-badge { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blurple); overflow: hidden; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35); }
.logo-badge svg { width: 38px; height: 38px; color: #fff; }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand { font-size: 28px; font-weight: 800; color: #fff; }
.brand span { color: var(--blurple); }
.tagline { color: var(--text-faint); font-size: 14px; margin: 8px 0 28px; }

/* ============================================================ الأزرار (ديسكورد) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 11px 16px; border: none; border-radius: var(--radius-xs); font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; font-family: inherit; transition: background-color 0.17s ease; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-discord, .btn-primary { background: var(--blurple); }
.btn-discord:not(:disabled):hover, .btn-primary:not(:disabled):hover { background: var(--blurple-hover); }
.btn-discord:not(:disabled):active, .btn-primary:not(:disabled):active { background: var(--blurple-active); }
.btn-ghost { background: var(--bg-elevated); color: var(--text); }
.btn-ghost:hover { background: #404249; }
.btn-danger { background: var(--red); }
.btn-danger:not(:disabled):hover { background: #a12d2f; }
.btn-sm { width: auto; padding: 7px 14px; font-size: 13px; }

.divider { display: flex; align-items: center; gap: 14px; color: var(--text-dim); font-size: 12px; margin: 18px 0; text-transform: uppercase; font-weight: 700; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================ النماذج */
.field { margin-bottom: 18px; text-align: right; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--text-faint); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.2px; }
.field .hint { font-size: 12px; color: var(--text-dim); margin-top: 6px; font-weight: 500; line-height: 1.5; }
.input { width: 100%; padding: 11px 13px; background: var(--bg-input); border: 1px solid var(--bg-floating); border-radius: var(--radius-xs); color: var(--text); font-size: 15px; outline: none; transition: border-color 0.15s; }
.input:focus { border-color: var(--blurple); }
.input::placeholder { color: var(--text-dim); }
select.input { cursor: pointer; }

/* ============================================================ الهيكل */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100vh; padding: 14px 10px; background: var(--bg-secondary); border-left: 1px solid var(--bg-tertiary); display: flex; flex-direction: column; gap: 2px; }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 8px 10px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--bg-tertiary); }
.side-brand .mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blurple); overflow: hidden; }
.side-brand .mark svg { width: 22px; height: 22px; color: #fff; }
.side-brand .mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.side-brand h1 { font-size: 18px; font-weight: 800; color: var(--text); }
.side-brand small { color: var(--text-dim); font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }

.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: var(--radius-xs); color: var(--text-faint); font-weight: 500; font-size: 15px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-item:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-normal); }
.nav-item.active { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-item.active svg { color: var(--text); }
.nav-badge { margin-inline-start: auto; background: var(--red-status); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }

.side-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--bg-tertiary); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: var(--radius-xs); background: var(--bg-tertiary); }
.user-chip .av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--blurple); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.user-chip .meta { line-height: 1.3; overflow: hidden; }
.user-chip .meta b { font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.user-chip .meta small { font-size: 12px; color: var(--green); font-weight: 600; }

.content { padding: 26px 30px; max-width: 1180px; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.page-head h2 { font-size: 22px; font-weight: 800; color: var(--text); }
.page-head p { color: var(--text-faint); font-size: 14px; margin-top: 3px; }

.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 5px 11px; border-radius: 999px; }

/* بطاقات الإحصائيات */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { padding: 18px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); transition: background 0.18s; }
.stat:hover { background: var(--bg-secondary-alt); }
.stat .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.stat .ico svg { width: 21px; height: 21px; }
.stat .val { font-size: 28px; font-weight: 800; line-height: 1; color: var(--text); }
.stat .lbl { color: var(--text-faint); font-size: 13px; margin-top: 6px; font-weight: 500; }
.ico-blue { background: var(--blurple-soft); color: #949cf7; }
.ico-green { background: var(--green-soft); color: #3ba55c; }
.ico-amber { background: var(--yellow-soft); color: var(--yellow); }
.ico-red { background: var(--red-soft); color: var(--red-status); }

/* اللوحات والجداول */
.panel { padding: 20px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: right; color: var(--text-dim); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-normal); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }
.mono { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 12.5px; letter-spacing: 0.2px; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-xs); font-size: 11.5px; font-weight: 700; }
.tag-green { background: var(--green-soft); color: #3ba55c; }
.tag-amber { background: var(--yellow-soft); color: var(--yellow); }
.tag-red { background: var(--red-soft); color: var(--red-status); }
.tag-gray { background: rgba(255, 255, 255, 0.06); color: var(--text-faint); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.empty { text-align: center; padding: 46px 20px; color: var(--text-dim); }
.empty svg { width: 44px; height: 44px; opacity: 0.35; margin-bottom: 12px; }

/* النوافذ */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade 0.18s; }
.modal { width: 100%; max-width: 440px; padding: 24px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: rise 0.22s ease both; }
.modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.modal .sub { color: var(--text-faint); font-size: 13px; margin-bottom: 20px; line-height: 1.5; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }

.secret-box { background: var(--green-soft); border: 1px solid rgba(35, 165, 90, 0.3); border-radius: var(--radius-xs); padding: 13px; margin-top: 6px; }
.secret-box .k { font-family: ui-monospace, monospace; color: #3ba55c; font-size: 15px; word-break: break-all; }
.copy-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; }

/* الإشعارات */
.toasts { position: fixed; bottom: 20px; left: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.toast { padding: 13px 16px; border-radius: var(--radius-xs); background: var(--bg-floating); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; min-width: 230px; animation: slideIn 0.22s; color: var(--text); }
.toast.ok { border-inline-start: 3px solid var(--green); } .toast.ok svg { color: var(--green); }
.toast.err { border-inline-start: 3px solid var(--red-status); } .toast.err svg { color: var(--red-status); }
.toast.info { border-inline-start: 3px solid var(--blurple); }

.spinner { width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--blurple); border-radius: 50%; animation: spin 0.7s linear infinite; }
.center-load { min-height: 60vh; display: grid; place-items: center; }
.row { display: flex; gap: 10px; align-items: center; }
.muted { color: var(--text-faint); }
.gap { gap: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } }
.fade-in { animation: rise 0.35s ease both; }

/* رفع الملفات */
.file-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 1.5px dashed var(--border-hi); border-radius: var(--radius-xs); background: var(--bg-input); color: var(--text-faint); cursor: pointer; font-size: 13px; font-weight: 600; text-align: center; transition: all 0.16s; }
.file-drop:hover { border-color: var(--blurple); color: var(--text-normal); }
.file-drop svg { width: 22px; height: 22px; }
.file-drop.has { border-style: solid; border-color: var(--green); color: #3ba55c; }

/* ====================================================== مُنتقي صورة المنتج */
.image-drop { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 1.5px dashed var(--border-hi); border-radius: var(--radius-sm); background: var(--bg-input); cursor: pointer; overflow: hidden; transition: all 0.16s; }
.image-drop:hover { border-color: var(--blurple); }
.image-drop.has { border-style: solid; border-color: var(--blurple); }
.image-drop-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-faint); font-size: 13px; font-weight: 600; }
.image-drop-empty svg { width: 26px; height: 26px; }
.image-preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-drop-overlay { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.78)); opacity: 0; transition: opacity 0.16s; }
.image-drop-overlay svg { width: 16px; height: 16px; }
.image-drop:hover .image-drop-overlay { opacity: 1; }

/* ====================================================== ثَمبنيل جدول الأدمن */
.script-cell { display: flex; align-items: center; gap: 11px; }
.script-thumb { width: 44px; height: 44px; border-radius: var(--radius-xs); object-fit: cover; flex-shrink: 0; background: var(--bg-tertiary); }
.script-thumb-empty { display: grid; place-items: center; color: var(--text-dim); background: var(--blurple-soft); }
.script-thumb-empty svg { width: 18px; height: 18px; }

/* ====================================================== غلاف كرت المتجر */
.sc-cover { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tertiary); border-bottom: 1px solid var(--border); }
.sc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.store-card:hover .sc-cover img { transform: scale(1.05); }

/* ============================================================ واجهة العميل */
.hero { position: relative; overflow: hidden; padding: 26px 28px; border-radius: var(--radius); margin-bottom: 20px; background: var(--blurple); }
.hero::before { content: ''; position: absolute; right: -30px; top: -50px; width: 200px; height: 200px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; }
.hero .hi { font-size: 12px; color: rgba(255, 255, 255, 0.85); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 6px; position: relative; }
.hero h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; color: #fff; position: relative; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: 14px; max-width: 580px; line-height: 1.65; position: relative; }
.hero-stats { display: flex; gap: 28px; margin-top: 18px; position: relative; }
.hero-stat b { font-size: 22px; font-weight: 800; color: #fff; display: block; line-height: 1; }
.hero-stat span { font-size: 12px; color: rgba(255, 255, 255, 0.8); }

.howto { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.howto-step { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); transition: background 0.18s; }
.howto-step:hover { background: var(--bg-secondary-alt); }
.howto-step .num { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--blurple); }
.howto-step b { display: block; font-size: 14px; margin-bottom: 2px; color: var(--text); }
.howto-step span { font-size: 12px; color: var(--text-faint); }

.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); margin-bottom: 18px; flex-wrap: wrap; }
.bulk-bar .info { display: flex; align-items: center; gap: 12px; }
.bulk-bar .info .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blurple-soft); color: #949cf7; }
.bulk-bar .info b { font-size: 14px; display: block; color: var(--text); }
.bulk-bar .info span { font-size: 12px; color: var(--text-faint); }

/* بطاقات السكربتات (ديسكورد فلات) */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.store-card { border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.18s, background 0.18s; }
.store-card:hover { border-color: var(--border-hi); }
.sc-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.sc-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blurple); color: #fff; flex-shrink: 0; }
.sc-icon svg { width: 24px; height: 24px; }
.sc-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 1; min-width: 0; }
.sc-title h3 { font-size: 17px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-body { padding: 18px 20px 20px; }
.sc-body .desc { color: var(--text-faint); font-size: 13px; line-height: 1.55; min-height: 36px; margin-bottom: 14px; }
.store-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--radius-xs); font-size: 11.5px; font-weight: 600; background: var(--bg-tertiary); color: var(--text-faint); }
.store-sep { height: 1px; background: var(--border); margin: 16px 0; }

.steps { display: flex; gap: 8px; margin-bottom: 16px; }
.step { flex: 1; text-align: center; padding: 8px 4px; border-radius: var(--radius-xs); font-size: 11px; font-weight: 700; background: var(--bg-tertiary); color: var(--text-dim); transition: all 0.18s; }
.step.done { background: var(--green-soft); color: #3ba55c; }
.step.cur { background: var(--blurple-soft); color: #949cf7; }

.keybox { display: flex; align-items: center; gap: 8px; background: var(--bg-input); border: 1px solid var(--bg-floating); border-radius: var(--radius-xs); padding: 9px 11px; }
.keybox code { flex: 1; font-family: ui-monospace, monospace; font-size: 13px; color: #3ba55c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { background: var(--bg-elevated); border: none; color: var(--text-faint); width: 32px; height: 32px; border-radius: var(--radius-xs); display: grid; place-items: center; cursor: pointer; transition: all 0.15s; flex-shrink: 0; }
.icon-btn:hover { background: #404249; color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; }

.callout { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius-xs); background: var(--blurple-soft); border: 1px solid rgba(88, 101, 242, 0.25); font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }
.callout svg { width: 20px; height: 20px; color: #949cf7; flex-shrink: 0; margin-top: 1px; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

.ip-chk { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: var(--radius-xs); }
.ip-chk svg { width: 14px; height: 14px; }
.ip-chk.ok { background: var(--green-soft); color: #3ba55c; }
.ip-chk.bad { background: var(--red-soft); color: var(--red-status); }
.ip-chk.loading { background: var(--bg-input); color: var(--text-faint); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search { position: relative; min-width: 240px; flex: 1; max-width: 360px; }
.search svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-dim); }
.search input { width: 100%; padding: 9px 38px 9px 14px; background: var(--bg-input); border: 1px solid var(--bg-floating); border-radius: var(--radius-xs); color: var(--text); font-size: 14px; outline: none; transition: border-color 0.15s; }
.search input:focus { border-color: var(--blurple); }

.btn.disabled, .btn[disabled] { filter: grayscale(0.25); }

/* مؤشّرات الخوادم الحية */
.srv-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; position: relative; }
.srv-dot.on { background: var(--green); }
.srv-dot.on::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.6s ease-out infinite; }
.srv-dot.off { background: var(--text-dim); }
.srv-name { display: flex; align-items: center; gap: 9px; }
.exp-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-xs); }
.exp-ok { background: var(--green-soft); color: #3ba55c; }
.exp-soon { background: var(--yellow-soft); color: var(--yellow); }
.exp-none { background: rgba(255,255,255,0.06); color: var(--text-faint); }
.quick-days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.quick-days button { flex: 1; min-width: 70px; padding: 12px; border-radius: var(--radius-xs); border: 1px solid var(--border); background: var(--bg-input); color: var(--text); font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.quick-days button:hover { border-color: var(--blurple); background: var(--blurple-soft); }

/* استجابة الجوال */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; bottom: 0; top: auto; height: auto; width: 100%; flex-direction: row; overflow-x: auto; border-top: 1px solid var(--bg-tertiary); border-left: none; z-index: 40; padding: 8px; gap: 4px; }
  .side-brand, .side-foot { display: none; }
  .nav-item span { display: none; }
  .content { padding: 16px 14px 90px; }
  .store-grid { grid-template-columns: 1fr; }
}
