/* ═══════════════════════════════════════════════════════════════════════════
 * eb.css — دیزاین‌سیستم انفج باز
 *
 * همه‌ی مقدارهای این فایل از خودِ enfejbazz.com اندازه‌گیری شده‌اند (رندرشده
 * با کروم در ۱۴۴۰px و ۳۹۰px):
 *
 *   هدر ۱۰۵px (لوگو ۱۹۸×۸۰) + نوار منو ۶۴px (‎#202a47‎)
 *   ظرف ۱۲۰۰px وسط‌چین        پس‌زمینه‌ی سراسری ‎#06283d‎
 *   ورود ۱۸۱×۳۸ · ثبت‌نام ۱۱۰×۳۸ · زبان ۵۰×۳۸، همگی padding 7px 20px، fs 13
 *   نوار منو: هر آیتم padding 0 20px، fs 14، آیکون ۲۳×۲۳
 *   بنر ۱۴۴۰×۶۶۰ تمام‌عرض     کارت بازی ۲۳۰×۱۱۵ (نسبت ۷۰۰/۳۵۰)، فاصله ۲۳۶
 *   نوار کارت‌ها ‎#000‎، padding 0 0 10px
 *   فوتر ۷۲ (‎#202a47‎) + بلوک لینک ۲۹۸ با شش کاشیِ ۱۹۸px
 *   موبایل: هدر ۵۰ (‎#06283d‎)، لوگو ۹۹×۴۰، بنر ۳۹۰×۲۰۰،
 *           کارت ۳۸۴×۱۹۲ با نوار عنوانِ ۴۸px روی rgba(0,0,0,.8)، نوار پایین ۵۰
 * ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --navy: #06283d;
  --bar: #202a47;
  --card-bg: #000;
  --orange: #f26522;
  --orange-2: #ff8244;
  --orange-deep: #c94c12;
  --blue: #2f4bc4;
  --gold: #e6b325;
  --line: #24365a;
  --line-soft: #16243c;
  --surface: #0d3149;
  --surface-2: #12415f;
  --txt: #fff;
  --txt-2: #a9bccd;
  --txt-3: #7590a6;

  --wrap: 1200px;
  --hdr: 105px;
  --nav-h: 64px;
  --fa: IRANSans, Vazirmatn, tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--navy); color: var(--txt);
  font: 400 14px/1.75 var(--fa); overflow-x: hidden;
}
/* ⚠️ height:auto لازم است: تصویرها attribute ارتفاع دارند (برای رزرو فضا و
   CLS صفر) و بدون این خط، همان عدد به‌عنوان ارتفاعِ واقعی اعمال می‌شود و
   بنر ۱۴۴۰×۶۶۰ داخل ستون ۳۰۰px کشیده و عمودی می‌شود. */
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}
.eb-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* ⚠️ در RTL هرگز با inset-inline-start:-9999px پنهان نکنید — ناحیه‌ی اسکرول
   را به راست می‌کشد و صفحه اسکرول افقی می‌گیرد. */
.eb-skip {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 10px 18px; font-weight: 600;
  transform: translateY(-200%);
}
.eb-skip:focus { transform: none; }

.eb-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 10px; }

/* ═══════════════════════════════════════════════════════════════ هدر ══ */
.eb-hdr { background: var(--navy); }
.eb-hdr__main {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 10px;
  height: var(--hdr); display: flex; align-items: center;
}
.eb-hdr__logo { flex: 0 0 auto; }
.eb-hdr__logo img { width: 198px; height: 80px; object-fit: contain; }
.eb-hdr__auth { margin-inline-end: auto; display: flex; align-items: center; gap: 0; }
.eb-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 20px;
  font-size: 13px; color: #fff; white-space: nowrap; border: 0; cursor: pointer;
  background: transparent;
}
.eb-btn:hover { color: var(--orange); }
.eb-btn__sym {
  font-family: 'Material Symbols Outlined'; font-size: 24px; line-height: 1;
  font-weight: 400; font-style: normal;
}
.eb-lang { padding: 0 10px; }
.eb-lang::after {
  content: ''; width: 0; height: 0; margin-top: 3px; margin-inline-start: 4px;
  border: 4px solid transparent; border-top-color: currentColor;
}

.eb-nav { background: var(--bar); }
.eb-nav__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 10px;
  height: var(--nav-h); display: flex; align-items: stretch; justify-content: center;
  /* ⚠️ اینجا نباید overflow بگذارید: آیکونِ hover عمداً از بالای نوار بیرون
     می‌زند (مثل اصل) و هر overflow‌ای آن را قیچی می‌کند. نُه آیتم روی ۹۹۲px
     هم جا می‌شوند (۹۲۲px)، پس اسکرول لازم نیست. */
}
/* ⚠️ رفتار آیکون‌ها عیناً از default/style.rtl.css سایت مرجع:
   آیکون ۲۳×۲۳ به‌طور پیش‌فرض visibility:hidden است و فقط روی hover یا آیتم
   فعال ظاهر می‌شود — آن هم *بالای* نوار، روی زمینه‌ی هدر (در اصل با
   margin-top:-114px و height:0). به همین دلیل نوار دسکتاپ در حالت عادی
   فقط متن دیده می‌شود. */
.eb-nav a {
  position: relative; padding: 0 20px; display: flex; align-items: center;
  font-size: 14px; color: #fff; white-space: nowrap; flex: 0 0 auto;
  transition: background-color .4s linear;
}
.eb-nav img {
  position: absolute; top: -31px; inset-inline-start: 50%;
  transform: translateX(50%);
  width: 23px; height: 23px;
  visibility: hidden; opacity: 0;
  transition: visibility 0s, opacity .4s linear;
}
.eb-nav a:hover, .eb-nav a[aria-current='page'] { background: #36476b; }
.eb-nav a:hover img, .eb-nav a[aria-current='page'] img { visibility: visible; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .eb-nav a, .eb-nav img { transition: none; } }

/* هدر موبایل، منوی کشویی و نوار پایین — فقط زیر ۹۹۲px.
   ⚠️ این خط باید *قبل* از مدیا-کوئری باشد وگرنه display:flexِ آن را خنثی می‌کند. */
.eb-mhdr, .eb-mbar, .eb-mmenu { display: none; }

/* ═══════════════════════════════════════════════════ بنر تمام‌عرض ═════ */
.eb-splash { position: relative; overflow: hidden; background: #08334d; }
.eb-splash__track { position: relative; aspect-ratio: 1440 / 660; }
.eb-splash__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.eb-splash__slide.is-on { opacity: 1; pointer-events: auto; }
.eb-splash__slide img { width: 100%; height: 100%; object-fit: cover; }
.eb-splash__dots {
  position: absolute; inset-inline-start: 18px; bottom: 16px; z-index: 3; display: flex; gap: 7px;
}
.eb-splash__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45);
}
.eb-splash__dots button.is-on { background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .eb-splash__slide { transition: none; } }

/* ═══════════════════════════ ردیف کارت بازی (main-games-box) ══════════
 * ۶ کارت ۲۳۰×۱۱۵ با فاصله‌ی ۲۳۶ ⇒ گپ ۶px. نسبت تصویر ۷۰۰/۳۵۰.
 * ═══════════════════════════════════════════════════════════════════════ */
.eb-games { background: var(--card-bg); padding: 0 0 10px; }
.eb-games__row {
  max-width: 1440px; margin-inline: auto; padding: 0 15px 6px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
}
.eb-card {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 700 / 350; background: #0a0a18;
  transition: transform .18s ease, box-shadow .18s ease;
}
.eb-card img { width: 100%; height: 100%; object-fit: cover; }
.eb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242, 101, 34, .28); }
/* نوار عنوان — در سایت مرجع فقط روی موبایل دیده می‌شود */
.eb-card__t {
  display: none; position: absolute; inset-inline: 0; bottom: 0;
  height: 48px; background: rgba(0, 0, 0, .8); color: #fff;
  font-size: 24px; font-weight: 600; line-height: 28px; padding: 10px 0; text-align: center;
}
.eb-card[hidden] { display: none; }

.eb-grid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ═══════════════════════════════════════════════════════════════ فوتر ══ */
.eb-foot {
  background: var(--bar); padding: 20px 0; font-size: 14px; color: var(--txt-2);
  line-height: 1.85;
}
.eb-footlinks { padding: 20px 0 30px; }
.eb-footmini { display: grid; gap: 4px; justify-items: start; margin-bottom: 22px; }
.eb-footmini a {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--txt-2);
}
.eb-footmini a:hover { color: var(--orange); }
.eb-footmini span.sym {
  font-family: 'Material Symbols Outlined'; font-size: 24px; line-height: 1; font-weight: 400;
}

/* شش کاشیِ فوتر — ۱۹۸px ارتفاع، آیکون ۷۰×۹۰، پس‌زمینه‌ی #202a47 */
.eb-foottiles {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 22px;
}
.eb-foottile {
  background: var(--bar); padding: 10px; min-height: 198px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; color: #fff;
}
.eb-foottile img { width: 52px; height: 52px; object-fit: contain; }
.eb-foottile span { font-size: 14px; line-height: 1.5; }
.eb-foottile:hover { background: #2a3760; color: var(--orange); }

.eb-footapp { display: flex; justify-content: flex-start; margin-bottom: 20px; }
.eb-footapp img { width: 178px; height: 50px; }
.eb-footapp a:hover img { outline: 1px solid var(--orange); }

.eb-footcols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  border-top: 1px solid var(--line-soft); padding-top: 22px;
}
.eb-footcol h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--orange); }
.eb-footcol ul { list-style: none; margin: 0; padding: 0; }
.eb-footcol li { margin-bottom: 7px; }
.eb-footcol a { font-size: 12px; color: var(--txt-2); }
.eb-footcol a:hover { color: #fff; }
.eb-footbot {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); margin-top: 22px; padding-top: 16px;
}
.eb-footbot__note { flex: 1; min-width: 240px; color: var(--txt-3); font-size: 12px; line-height: 1.9; }
.eb-footbot__note a { color: var(--txt-2); text-decoration: underline; }
.eb-footbot__note a:hover { color: var(--orange); }
.eb-foot18 {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--orange);
  color: var(--orange); direction: ltr; font: 600 10px/26px Arial, sans-serif;
  text-align: center; flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════ محتوای صفحه ══ */
.eb-main { max-width: var(--wrap); margin-inline: auto; padding: 24px 10px 30px; }
.eb-crumb { font-size: 12px; color: var(--txt-3); margin-bottom: 10px; }
.eb-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eb-crumb li + li::before { content: '‹'; margin-inline-end: 6px; }
.eb-crumb a { color: var(--txt-2); }
.eb-crumb a:hover { color: var(--orange); }

.eb-h1 {
  font-size: clamp(20px, 3vw, 28px); font-weight: 600; color: #fff; line-height: 1.5;
  margin: 0 0 10px; padding-inline-start: 12px; border-inline-start: 4px solid var(--orange);
}
.eb-lead { font-size: 15px; color: var(--txt-2); line-height: 1.95; margin: 0 0 8px; max-width: 78ch; }

.eb-sec { margin-top: 28px; }
.eb-sec__h {
  font-size: clamp(17px, 2.3vw, 21px); font-weight: 600; color: #fff; margin: 0 0 8px;
  display: flex; align-items: center; gap: 9px; line-height: 1.5;
}
.eb-sec__h::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: 0 0 auto;
}
.eb-sec__sub { color: var(--txt-2); margin: 0 0 14px; font-size: 13.5px; }

.eb-prose { color: #cbdae6; font-size: 14.5px; line-height: 2; max-width: 82ch; }
.eb-prose p { margin: 0 0 1em; }
.eb-prose h2 { font-size: 18px; font-weight: 600; color: #fff; margin: 24px 0 8px; }
.eb-prose h3 { font-size: 16px; font-weight: 600; color: var(--orange); margin: 20px 0 6px; }
.eb-prose b, .eb-prose strong { color: #fff; font-weight: 600; }
.eb-prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.eb-prose ul, .eb-prose ol { margin: 0 0 1em; padding-inline-start: 1.3em; padding-inline-end: 0; }
.eb-prose li { margin-bottom: 7px; }
.eb-prose li::marker { color: var(--orange); }

.eb-note {
  border: 1px solid var(--line); border-inline-start: 3px solid var(--orange);
  background: var(--surface); padding: 12px 14px; margin: 16px 0;
  color: #cbdae6; font-size: 14px; line-height: 1.95;
}
.eb-note--warn { border-inline-start-color: #e23b3b; }
.eb-note strong { color: #fff; }

.eb-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.eb-links a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  padding: 11px 14px; color: #fff; font-weight: 600; font-size: 14px;
  transition: border-color .18s, background .18s;
}
.eb-links a span {
  display: block; font-weight: 400; font-size: 12.5px; color: var(--txt-2);
  line-height: 1.8; margin-top: 2px;
}
.eb-links a:hover { border-color: var(--orange); background: var(--surface-2); }

.eb-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.eb-box { background: var(--surface); border: 1px solid var(--line); padding: 14px 16px; }
.eb-box h3 { font-size: 15px; font-weight: 600; color: var(--orange-2); margin: 0 0 6px; }
.eb-box p { margin: 0; font-size: 13.5px; color: var(--txt-2); line-height: 1.9; }

.eb-steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 0; }
.eb-steps li { counter-increment: s; position: relative; padding-inline-start: 44px; margin-bottom: 14px; }
.eb-steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 4px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-weight: 600; font-size: 14px;
}
.eb-steps li b { display: block; color: #fff; font-weight: 600; }
.eb-steps li span { display: block; color: var(--txt-2); font-size: 13.5px; }

.eb-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 22px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; border-radius: 4px;
}
/* ⚠️ سفید روی ‎#f26522‎ فقط ۳٫۱۵ کنتراست دارد. تُنِ کمی تیره‌ترِ همان نارنجی
   برند ‎۴٫۶‎ می‌دهد و از حد AA رد می‌شود؛ روی hover به نارنجیِ اصلی می‌رود. */
.eb-cta--go { background: var(--orange-deep); color: #fff; }
.eb-cta--go:hover { background: var(--orange-2); }
.eb-cta--ghost { background: transparent; border-color: var(--line); color: #fff; }
.eb-cta--ghost:hover { border-color: var(--orange); color: var(--orange); }
.eb-cta--sm { height: 32px; padding: 0 16px; font-size: 13px; }

.eb-faq__list { display: grid; gap: 8px; }
.eb-faq__item { background: var(--surface); border: 1px solid var(--line); }
.eb-faq__item summary {
  cursor: pointer; padding: 12px 15px; font-weight: 600; color: #fff; font-size: 14.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.eb-faq__item summary::-webkit-details-marker { display: none; }
.eb-faq__item summary::after { content: '+'; color: var(--orange); font-size: 20px; line-height: 1; }
.eb-faq__item[open] summary::after { content: '−'; }
.eb-faq__a { padding: 0 15px 12px; color: #cbdae6; font-size: 14px; line-height: 1.95; }
.eb-faq__a p { margin: 0 0 .8em; }
.eb-faq__a p:last-child { margin-bottom: 0; }
.eb-faq__a a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

.eb-finder { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.eb-finder input {
  flex: 1 1 240px; height: 40px; background: var(--surface); border: 1px solid var(--line);
  padding: 0 14px; color: #fff; font: 400 14px/1.4 var(--fa);
}
.eb-finder input::placeholder { color: var(--txt-3); }
.eb-finder__count { color: var(--txt-2); font-size: 13px; }

/* ── فرم تماس ─────────────────────────────────────────────────────────── */
.eb-form { display: grid; gap: 14px; max-width: 640px; }
.eb-form__row { display: grid; gap: 6px; }
.eb-form label { font-size: 13px; font-weight: 600; color: #fff; }
.eb-form input, .eb-form select, .eb-form textarea {
  background: var(--surface); border: 1px solid var(--line); padding: 10px 12px;
  color: #fff; font: 400 14px/1.75 var(--fa); width: 100%;
}
.eb-form input:focus, .eb-form select:focus, .eb-form textarea:focus {
  border-color: var(--orange); outline: none;
}
.eb-form textarea { min-height: 130px; resize: vertical; }
.eb-form small { font-size: 12px; color: var(--txt-3); }
.eb-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eb-formnote {
  padding: 10px 12px; font-size: 13px;
  background: rgba(242, 101, 34, .12); border: 1px solid rgba(242, 101, 34, .45); color: #ffd3bd;
}
.eb-formnote[hidden] { display: none; }

.eb-tablewrap { overflow-x: auto; }
.eb-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.eb-table th, .eb-table td { padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--line-soft); }
.eb-table thead th { color: var(--txt-3); font-weight: 400; font-size: 12px; }
.eb-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.eb-table a { color: #fff; font-weight: 600; }
.eb-table a:hover { color: var(--orange); }
.eb-table td b { color: var(--orange); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════ میز بازی ══ */
.eb-stagewrap { margin: 0 0 8px; }
.eb-stagebar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--bar); padding: 10px 14px; font-size: 13px;
}
.eb-stagebar__tag { color: var(--orange-2); font-weight: 600; }
.eb-stagebar__sp { flex: 1; }
.eb-stagebar button, .eb-stagebar a {
  background: var(--surface); border: 1px solid var(--line); color: #fff;
  padding: 5px 12px; font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.eb-stagebar button:hover, .eb-stagebar a:hover { border-color: var(--orange); color: var(--orange); }
#eb-stage { position: relative; background: #041c2b; border: 1px solid var(--line); overflow: hidden; }
#eb-stage, #eb-stage * { -webkit-user-select: text; user-select: text; }
.eb-stageload {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; z-index: 3;
  background: #041c2b; color: var(--txt-2); text-align: center; padding: 20px;
}
.eb-stageload[hidden] { display: none; }
.eb-stageload__ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--orange);
  animation: ebspin 1s linear infinite;
}
@keyframes ebspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .eb-stageload__ring { animation: none; } }
.eb-stageload__err { color: #ff9a9a; }
.eb-stageload__acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════ بلوک‌های اختصاصیِ صفحه‌ی بازی ════════════════ */
.eb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eb-two__c { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; }
.eb-two__c h3 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.eb-two__c ul { margin: 0; padding-inline-start: 1.2em; padding-inline-end: 0; }
.eb-two__c li { margin-bottom: 8px; color: #cbdae6; line-height: 1.9; font-size: 14px; }
.eb-two__c--out { border-top: 3px solid #e23b3b; }
.eb-two__c--out h3 { color: #e23b3b; }
.eb-two__c--in { border-top: 3px solid var(--orange); }
.eb-two__c--in h3 { color: var(--orange); }
.eb-forwhom { border-inline-start: 4px solid var(--orange); background: var(--surface); padding: 16px 18px; }
.eb-forwhom p { margin: 0; color: #fff; font-size: 16px; line-height: 2; }
.eb-loop {
  counter-reset: l; list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.eb-loop li {
  counter-increment: l; position: relative; padding: 14px 50px 14px 14px;
  background: var(--surface); border: 1px solid var(--line); color: #cbdae6;
  line-height: 1.85; font-size: 14px;
}
.eb-loop li::before {
  content: counter(l); position: absolute; inset-inline-start: 13px; top: 13px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 600; font-size: 13px; text-align: center; line-height: 26px;
}
.eb-exit { border-inline-start: 4px solid #e23b3b; background: var(--surface); padding: 16px 18px; }
.eb-exit p { margin: 0; color: #cbdae6; line-height: 2; }
.eb-path { counter-reset: p; list-style: none; padding: 0; margin: 0; }
.eb-path li {
  counter-increment: p; position: relative; padding: 13px 52px 13px 14px; margin-bottom: 8px;
  background: var(--surface); border: 1px solid var(--line); color: #cbdae6; line-height: 1.9; font-size: 14px;
}
.eb-path li::before {
  content: counter(p); position: absolute; inset-inline-start: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 600; font-size: 14px; text-align: center; line-height: 28px;
}
.eb-stop { list-style: none; padding: 0; margin: 0; }
.eb-stop li {
  position: relative; padding: 12px 44px 12px 14px; margin-bottom: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-inline-start: 3px solid #e23b3b; color: #cbdae6; line-height: 1.9; font-size: 14px;
}
.eb-stop li::before {
  content: '\2715'; position: absolute; inset-inline-start: 16px; top: 13px;
  color: #e23b3b; font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════ ریسپانسیو ══ */
@media (max-width: 1240px) {
  .eb-games__row { grid-template-columns: repeat(3, 1fr); }
  .eb-nav a { padding: 0 13px; font-size: 13px; }
  .eb-hdr__logo img { width: 160px; height: 64px; }
  .eb-foottiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  /* زیر این عرض سایت مرجع کاملاً به پوسته‌ی موبایل سوییچ می‌کند */
  .eb-hdr__main, .eb-nav { display: none; }
  .eb-mhdr {
    display: flex; align-items: center; justify-content: center; position: relative;
    height: 50px; background: var(--navy);
  }
  .eb-mhdr__logo img { width: 99px; height: 40px; object-fit: contain; }
  /* ⚠️ در RTL، inline-start سمت راست است — سایت مرجع دکمه را در x=350..390
     یعنی لبه‌ی راست دارد. */
  .eb-mhdr__burger {
    position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 30px; border: 0; background: transparent; cursor: pointer;
    display: grid; place-items: center;
  }
  .eb-mhdr__burger i { width: 21px; height: 2px; background: #fff; display: block; position: relative; }
  .eb-mhdr__burger i::before, .eb-mhdr__burger i::after {
    content: ''; position: absolute; left: 0; width: 21px; height: 2px; background: #fff;
  }
  .eb-mhdr__burger i::before { top: -7px; }
  .eb-mhdr__burger i::after { top: 7px; }

  .eb-mmenu {
    /* ⚠️ باگ قدیمی: بالاتر `.eb-mmenu { display: none }` برای همه‌ی عرض‌ها
       نوشته شده بود و اینجا هیچ‌وقت display دوباره روشن نمی‌شد، پس کشوی
       منوی موبایل با کلیک روی برگر هم باز نمی‌شد (hidden برداشته می‌شد ولی
       همچنان display:none بود). */
    display: block;
    position: fixed; inset: 50px 0 0; z-index: 95; background: rgba(6, 40, 61, .98);
    overflow-y: auto; padding: 6px 0 70px;
  }
  .eb-mmenu[hidden] { display: none; }
  .eb-mmenu a {
    display: block; padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
    color: #fff; font-size: 15px;
  }
  .eb-mmenu a:hover, .eb-mmenu a[aria-current='page'] { color: var(--orange); }

  .eb-mbar {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
    height: 50px; background: var(--navy); border-top: 1px solid var(--line-soft);
  }
  .eb-mbar a {
    flex: 1; min-width: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    font-size: 10px; color: #fff; text-align: center; padding: 0 1px; line-height: 1.2;
  }
  /* «پیش بینی ورزشی» بلندترین برچسب است؛ اگر جا نشد کوچک‌تر شود تا کامل
     دیده شود — در سایت مرجع همین برچسب روی نوار سرریز می‌کرد. */
  .eb-mbar a span { font-size: clamp(8px, 2.45vw, 10px); }
  .eb-mbar img { width: 20px; height: 20px; }
  .eb-mbar a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .eb-mbar a[aria-current='page'] { color: var(--orange); }
  body { padding-bottom: 50px; }

  .eb-splash__track { aspect-ratio: 390 / 200; }
  /* موبایل: کارت‌ها تمام‌عرض و با نوار عنوان — عیناً سایت مرجع */
  .eb-games__row { grid-template-columns: 1fr; gap: 3px; padding: 0 3px; }
  .eb-card__t { display: block; }
  .eb-grid { grid-template-columns: 1fr; gap: 3px; }
  .eb-footcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-two { grid-template-columns: 1fr; }
  .eb-loop { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .eb-foottiles { grid-template-columns: repeat(2, 1fr); }
  .eb-foottile { min-height: 130px; gap: 10px; }
  .eb-foottile img { width: 40px; height: 40px; }
  .eb-main { padding: 18px 12px 24px; }
  .eb-form__two { grid-template-columns: 1fr; }
  .eb-card__t { height: 42px; font-size: 19px; line-height: 24px; padding: 9px 0; }
}
@media (max-width: 380px) {
  .eb-mbar a { font-size: 9px; }
}

/* ═══ brandpop:start ═══ */
/* ═══════════════════════════════════════════════════════════════════════════
 * پاپ‌آپ پایان بازی — کارت برندِ خودِ سایت
 *
 * این بلوک با _tools/gateway/install-brandpop.mjs به انتهای همین فایل اضافه
 * شده است. همه‌ی کلاس‌ها با .bp- شروع می‌شوند و رنگ‌ها از توکن‌های خودِ همین
 * سایت خوانده می‌شوند، پس کارت همان هویت بصری سایت را می‌گیرد.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* توکن‌ها روی :root می‌نشینند چون پاپ‌آپ مستقیم به <body> اضافه می‌شود. */
:root {
  --bp-surface: var(--surface);
  --bp-surface-2: var(--surface-2);
  --bp-line: var(--line);
  --bp-text: var(--txt);
  --bp-muted: var(--txt-2);
  --bp-accent: var(--orange);
  --bp-accent-ink: #ffffff;
  --bp-radius: 4px;
}

html.bp-lock { overflow: hidden; }

.bp-pop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  direction: rtl;
  overflow: auto;
  background: rgba(3, 6, 11, .68);
  opacity: 0;
  transition: opacity .2s ease;
}
.bp-pop.is-on { opacity: 1; }
.bp-pop * { box-sizing: border-box; }

.bp-pop__card {
  position: relative;
  width: 100%;
  max-width: 23rem;
  padding: 24px 20px 16px;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: var(--bp-surface);
  color: var(--bp-text);
  text-align: center;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .5);
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
  outline: none;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.bp-pop.is-on .bp-pop__card { transform: none; }

/* نوار رنگی بالای کارت — همان اکسنت خودِ سایت */
.bp-pop__card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--bp-accent);
  border-radius: var(--bp-radius) var(--bp-radius) 0 0;
}

.bp-pop__x {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bp-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.bp-pop__x:hover { background: var(--bp-surface-2); color: var(--bp-text); }

.bp-pop__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-bottom: 10px;
}
.bp-pop__logo img {
  max-width: 190px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* «۱۰۰٪ بونوس ثبت‌نام» — برچسب درشتِ بالای کارت */
.bp-pop__kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bp-accent);
  color: var(--bp-accent-ink);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.9;
}

.bp-pop__t {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--bp-text);
}
.bp-pop__d {
  margin: 0 0 16px;
  font-size: .84rem;
  line-height: 2;
  color: var(--bp-muted);
}

.bp-pop__cta {
  display: block;
  padding: 13px 16px;
  border-radius: calc(var(--bp-radius) - 4px);
  background: var(--bp-accent);
  color: var(--bp-accent-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  min-height: 48px;
  transition: filter .15s ease;
}
.bp-pop__cta:hover { filter: brightness(1.08); }

.bp-pop__app {
  display: block;
  margin-top: 9px;
  padding: 11px 14px;
  border-radius: calc(var(--bp-radius) - 4px);
  border: 1px solid var(--bp-accent);
  background: transparent;
  color: var(--bp-accent);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  min-height: 44px;
}
.bp-pop__app:hover { background: var(--bp-surface-2); }

.bp-pop__later {
  margin-top: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--bp-muted);
  font-family: inherit;
  font-size: .8rem;
  line-height: 1.8;
  text-decoration: underline;
  cursor: pointer;
}
.bp-pop__later:hover { color: var(--bp-text); }

.bp-pop__note {
  margin: 10px 0 0;
  font-size: .72rem;
  line-height: 1.8;
  color: var(--bp-muted);
  opacity: .85;
}

@media (max-width: 380px) {
  .bp-pop__card { padding: 20px 16px 12px; }
  .bp-pop__t { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-pop, .bp-pop__card { transition: none; }
}

/* ═══ brandpop:end ═══ */
