/* Global design tokens from the reference image: dark casino stage, hot magenta, roulette gold, luminous whites. */
body.mb-site,
.mb-site-header,
.mb-page-strip,
.mb-site-footer,
.mb-article,
.mbpk-article {
  --mb-container: 1120px;
  --mb-site-gutter: clamp(16px, 4vw, 28px);
  --mb-article-pad: clamp(16px, 3.5vw, 28px);
  --mb-section-pad-inline: clamp(16px, 3vw, 30px);
  --mb-section-pad-block: clamp(20px, 4vw, 36px);
  --mb-hero-copy-pad: clamp(18px, 4vw, 38px);
  --mb-gap: clamp(16px, 3vw, 28px);
  --mb-row-gap: clamp(20px, 4vw, 42px);
  --mb-section-gap: clamp(34px, 6vw, 64px);
  --mb-radius-lg: 28px;
  --mb-radius-md: 20px;
  --mb-radius-sm: 14px;
  --mb-bg: #070812;
  --mb-bg-2: #140719;
  --mb-bg-3: #240b25;
  --mb-surface: #100d18;
  --mb-surface-2: #1a1024;
  --mb-surface-3: #25112e;
  --mb-line: rgba(255, 255, 255, 0.13);
  --mb-line-strong: rgba(255, 44, 156, 0.42);
  --mb-text: #fff7ff;
  --mb-heading: #ffffff;
  --mb-muted: #cec3d4;
  --mb-soft: #9b8da4;
  --mb-pink: #ff168f;
  --mb-pink-2: #d10073;
  --mb-pink-3: #8b0b5b;
  --mb-magenta: #f000c5;
  --mb-gold: #ffc567;
  --mb-gold-2: #b97925;
  --mb-white: #ffffff;
  --mb-danger-glow: rgba(255, 22, 143, 0.34);
  --mb-gold-glow: rgba(255, 197, 103, 0.22);
  --mb-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --mb-glow: 0 0 0 1px rgba(255, 22, 143, 0.18), 0 18px 60px rgba(255, 22, 143, 0.18);
  --mb-font: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Page shell background for Python-assembled pages. */
body.mb-site {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 197, 103, 0.14) 0, transparent 34%),
    radial-gradient(circle at 78% 15%, rgba(255, 22, 143, 0.25) 0, transparent 30%),
    radial-gradient(circle at 8% 28%, rgba(177, 11, 91, 0.24) 0, transparent 34%),
    linear-gradient(180deg, #080812 0%, #100716 42%, #05060d 100%);
  color: var(--mb-text);
  font-family: var(--mb-font);
}

/* Header, top navigation, page strip, and footer. */
.mb-site-header,
.mb-page-strip,
.mb-site-footer {
  color: var(--mb-text);
  font-family: var(--mb-font);
}

.mb-site-header {
  position: relative;
  z-index: 5;
  padding-block: clamp(12px, 2vw, 20px);
  background:
    linear-gradient(180deg, rgba(7, 8, 18, 0.9), rgba(7, 8, 18, 0.58)),
    radial-gradient(circle at 50% 0%, rgba(255, 22, 143, 0.18), transparent 48%);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.mb-site-header__inner,
.mb-topbar__inner,
.mb-page-strip__inner,
.mb-site-footer__inner {
  width: min(var(--mb-container), calc(100% - (var(--mb-site-gutter) * 2)));
  margin-inline: auto;
  box-sizing: border-box;
}

.mb-site-header__inner,
.mb-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.4vw, 26px);
  min-width: 0;
}

.mb-topbar {
  padding-block: 8px;
  font-size: 0.9rem;
  color: var(--mb-muted);
  background: rgba(0, 0, 0, 0.18);
}

.mb-site-brand,
.mb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--mb-heading);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.mb-logo__mark,
.mb-site-brand__mark {
  inline-size: 34px;
  block-size: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--mb-white);
  background:
    radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--mb-pink), var(--mb-magenta));
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255, 22, 143, 0.48);
}

.mb-site-nav,
.mb-footer-nav {
  min-width: 0;
}

.mb-site-nav ul,
.mb-footer-nav ul,
.mb-site-menu,
.mb-footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-site-nav a,
.mb-footer-nav a,
.mb-site-menu a,
.mb-footer-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 10px 15px;
  color: var(--mb-text);
  font-weight: 750;
  font-size: 0.94rem;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mb-site-nav a:hover,
.mb-site-nav a:focus-visible,
.mb-footer-nav a:hover,
.mb-footer-nav a:focus-visible,
.mb-site-menu a:hover,
.mb-site-menu a:focus-visible,
.mb-footer-menu a:hover,
.mb-footer-menu a:focus-visible {
  color: var(--mb-white);
  background: linear-gradient(135deg, rgba(255, 22, 143, 0.34), rgba(255, 197, 103, 0.16));
  border-color: rgba(255, 22, 143, 0.55);
  box-shadow: 0 0 26px rgba(255, 22, 143, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.mb-site-actions,
.mb-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.mb-wallet,
.mb-header-action,
.mb-login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 10px 16px;
  color: #1a1024;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #ffe9f6);
  box-shadow: 0 10px 28px rgba(255, 22, 143, 0.16);
}

.mb-page-strip {
  padding-block: clamp(14px, 3vw, 26px);
  background:
    linear-gradient(90deg, rgba(255, 22, 143, 0.16), rgba(255, 197, 103, 0.08), rgba(255, 22, 143, 0.1)),
    rgba(7, 8, 18, 0.54);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

.mb-page-strip__inner {
  display: grid;
  gap: 8px;
}

.mb-page-title {
  margin: 0;
  color: var(--mb-heading);
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.mb-breadcrumbs,
.mb-page-kicker {
  color: var(--mb-muted);
  font-size: 0.95rem;
}

.mb-breadcrumbs a {
  color: var(--mb-gold);
  text-decoration: none;
}

.mb-breadcrumbs a:hover,
.mb-breadcrumbs a:focus-visible {
  color: var(--mb-white);
  text-decoration: underline;
  text-decoration-color: var(--mb-pink);
}

.mb-site-footer {
  margin-block-start: clamp(42px, 7vw, 80px);
  padding-block: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 22, 143, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 7, 22, 0.88), rgba(5, 6, 13, 0.96));
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.mb-site-footer__inner {
  display: grid;
  gap: 22px;
}

.mb-footer-nav {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 22, 143, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.mb-footer-copy {
  max-width: 100%;
  margin: 0;
  color: var(--mb-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Article root: self-contained readable content column for Elementor HTML blocks. */
.mb-article,
.mbpk-article,
.mbpk-page .mb-article {
  box-sizing: border-box;
  width: min(100%, calc(var(--mb-container) + (var(--mb-article-pad) * 2)));
  max-width: calc(var(--mb-container) + (var(--mb-article-pad) * 2));
  margin-inline: auto;
  padding: clamp(18px, 3vw, 32px) var(--mb-article-pad) clamp(32px, 5vw, 58px);
  color: var(--mb-text);
  font-family: var(--mb-font);
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.08rem);
  line-height: 1.75;
  direction: ltr;
  text-align: left;
  overflow-wrap: break-word;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 22, 143, 0.18), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(255, 197, 103, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(24, 12, 34, 0.98) 0%, rgba(12, 9, 20, 0.99) 48%, rgba(7, 8, 18, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
}

body.mb-site main .mb-article,
body.mb-site .mb-site-main .mb-article {
  margin-block: clamp(18px, 4vw, 44px);
}

.mb-article *,
.mb-article *::before,
.mb-article *::after,
.mbpk-article *,
.mbpk-article *::before,
.mbpk-article *::after,
.mbpk-page .mb-article *,
.mbpk-page .mb-article *::before,
.mbpk-page .mb-article *::after {
  box-sizing: border-box;
}

.mb-article__inner {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  min-width: 0;
}

.mb-article img,
.mb-article video,
.mb-article iframe,
.mb-article embed,
.mb-article object,
.mb-article svg,
.mbpk-article img,
.mbpk-article video,
.mbpk-article iframe,
.mbpk-article embed,
.mbpk-article object,
.mbpk-article svg {
  max-width: 100%;
}

.mb-article img,
.mbpk-article img {
  height: auto;
}

/* Typography. */
.mb-article :is(h1, h2, h3, h4, h5, h6),
.mbpk-article :is(h1, h2, h3, h4, h5, h6),
.mbpk-page .mb-article :is(h1, h2, h3, h4, h5, h6) {
  max-width: 100%;
  margin-block: 0 0.65em;
  color: var(--mb-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.mb-article h1,
.mbpk-article h1,
.mbpk-page .mb-article h1 {
  font-size: clamp(2rem, 5.6vw, 4.25rem);
}

.mb-article h2,
.mbpk-article h2,
.mbpk-page .mb-article h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.75rem);
}

.mb-article h3,
.mbpk-article h3,
.mbpk-page .mb-article h3 {
  font-size: clamp(1.28rem, 2.5vw, 1.9rem);
}

.mb-article h4,
.mbpk-article h4,
.mbpk-page .mb-article h4 {
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
}

.mb-article h5,
.mb-article h6,
.mbpk-article h5,
.mbpk-article h6,
.mbpk-page .mb-article h5,
.mbpk-page .mb-article h6 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.mb-article p,
.mbpk-article p,
.mbpk-page .mb-article p {
  max-width: 100%;
  margin-block: 0 1em;
  margin-inline: 0;
  color: var(--mb-muted);
}

.mb-article :is(p, li, dd, figcaption, blockquote, a),
.mbpk-article :is(p, li, dd, figcaption, blockquote, a),
.mbpk-page .mb-article :is(p, li, dd, figcaption, blockquote, a) {
  overflow-wrap: anywhere;
}

.mb-article a:not(.mb-btn),
.mbpk-article a:not(.mb-btn),
.mbpk-page .mb-article a:not(.mb-btn) {
  color: var(--mb-gold);
  text-decoration-color: rgba(255, 197, 103, 0.45);
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.mb-article a:not(.mb-btn):hover,
.mb-article a:not(.mb-btn):focus-visible,
.mbpk-article a:not(.mb-btn):hover,
.mbpk-article a:not(.mb-btn):focus-visible,
.mbpk-page .mb-article a:not(.mb-btn):hover,
.mbpk-page .mb-article a:not(.mb-btn):focus-visible {
  color: var(--mb-white);
  text-decoration-color: var(--mb-pink);
  outline: none;
}

.mb-article strong,
.mbpk-article strong,
.mbpk-page .mb-article strong {
  color: var(--mb-heading);
  font-weight: 850;
}

.mb-article small,
.mbpk-article small,
.mbpk-page .mb-article small {
  color: var(--mb-soft);
  font-size: 0.9em;
}

.mb-kicker,
.mb-eyebrow,
.mb-badge,
.mb-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin-block-end: 14px;
  padding: 7px 12px;
  color: #ffe9f6;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 22, 143, 0.42);
  border-radius: 999px;
  background: rgba(255, 22, 143, 0.13);
  box-shadow: inset 0 0 18px rgba(255, 22, 143, 0.12);
}

.mb-hero__badge {
  color: var(--mb-gold);
  border-color: rgba(255, 197, 103, 0.38);
  background: rgba(255, 197, 103, 0.1);
  box-shadow: none;
}

/* Explicit readability measure only when requested. */
.mb-article .mb-measure,
.mbpk-article .mb-measure,
.mbpk-page .mb-article .mb-measure {
  max-width: min(72ch, 100%);
  margin-inline: auto;
}

/* Text blocks remain full column width by default. */
.mb-copy,
.mb-hero__copy,
.mb-cta__copy,
.mb-card__copy,
.mb-copy :is(p, ul, ol, li),
.mb-hero__copy :is(p, ul, ol, li),
.mb-cta__copy :is(p, ul, ol, li),
.mb-card__copy :is(p, ul, ol, li) {
  max-width: 100%;
  margin-inline: 0;
}

/* Lists. */
.mb-article :is(ul, ol),
.mbpk-article :is(ul, ol),
.mbpk-page .mb-article :is(ul, ol) {
  max-width: 100%;
  margin-block: 0 1.15em;
  margin-inline: 0;
  padding-inline-start: 1.35em;
  padding-inline-end: 0;
  color: var(--mb-muted);
}

.mb-article li,
.mbpk-article li,
.mbpk-page .mb-article li {
  max-width: 100%;
  padding-inline-start: 0.15em;
}

.mb-article li + li,
.mbpk-article li + li,
.mbpk-page .mb-article li + li {
  margin-block-start: 0.42em;
}

.mb-article ::marker,
.mbpk-article ::marker,
.mbpk-page .mb-article ::marker {
  color: var(--mb-pink);
  font-weight: 900;
}

/* Section rhythm. */
.mb-hero,
.mb-row,
.mb-grid,
.mb-slot-grid,
.mb-cta,
.mb-faq,
.mb-table-wrap,
.mb-divider,
.mb-section {
  margin-block-end: var(--mb-section-gap);
}

.mb-article > :last-child,
.mb-article__inner > :last-child,
.mbpk-article > :last-child {
  margin-block-end: 0;
}

.mb-divider {
  width: 100%;
  max-width: var(--mb-container);
  height: 1px;
  margin-inline: auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 22, 143, 0.5), rgba(255, 197, 103, 0.28), transparent);
}

/* Hero: full content width, image first, 16:9. */
.mb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
  padding-block-start: 0;
  color: var(--mb-text);
  background:
    radial-gradient(circle at 54% 12%, rgba(255, 197, 103, 0.14), transparent 38%),
    radial-gradient(circle at 50% 35%, rgba(255, 22, 143, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(36, 11, 37, 0.92), rgba(12, 9, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-glow);
}

.mb-hero__media {
  grid-area: media;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: clip;
  border-radius: var(--mb-radius-lg);
  background: #080812;
  box-shadow: 0 0 0 1px rgba(255, 22, 143, 0.2), 0 22px 70px rgba(255, 22, 143, 0.22);
  cursor: pointer;
}

.mb-hero__media img,
.mb-hero__media picture,
.mb-hero__media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-hero__media img,
.mb-hero__media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-hero__media:hover img,
.mb-hero__media:focus-within img,
.mb-hero__media:hover video,
.mb-hero__media:focus-within video {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.mb-hero__copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(22px, 4vw, 42px) var(--mb-hero-copy-pad) clamp(24px, 4.5vw, 48px);
}

.mb-hero__copy > :last-child {
  margin-block-end: 0;
}

.mb-hero__title {
  text-shadow: 0 0 34px rgba(255, 22, 143, 0.24);
}

.mb-hero__lead,
.mb-lead {
  color: #eadfeb;
  font-size: clamp(1.05rem, 1vw + 0.92rem, 1.28rem);
  line-height: 1.72;
}

.mb-hero__actions,
.mb-actions,
.mb-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block-start: clamp(18px, 3vw, 28px);
}

.mb-hero > .mb-cta {
  width: calc(100% - (2 * var(--mb-hero-copy-pad)));
  max-width: calc(100% - (2 * var(--mb-hero-copy-pad)));
  margin-inline: var(--mb-hero-copy-pad);
  margin-block-start: clamp(18px, 3vw, 28px);
  margin-block-end: clamp(22px, 4vw, 40px);
}

/* Buttons and CTA links with strong contrast. */
.mb-btn,
.mb-article a.mb-btn,
.mbpk-article a.mb-btn,
.mbpk-page .mb-article a.mb-btn,
.mb-article button.mb-btn,
.mbpk-article button.mb-btn,
.mbpk-page .mb-article button.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 22px;
  box-sizing: border-box;
  color: var(--mb-white);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg, var(--mb-pink) 0%, var(--mb-magenta) 52%, var(--mb-pink-2) 100%);
  box-shadow: 0 16px 40px rgba(255, 22, 143, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mb-btn:hover,
.mb-btn:focus-visible,
.mb-article a.mb-btn:hover,
.mb-article a.mb-btn:focus-visible,
.mbpk-article a.mb-btn:hover,
.mbpk-article a.mb-btn:focus-visible,
.mbpk-page .mb-article a.mb-btn:hover,
.mbpk-page .mb-article a.mb-btn:focus-visible {
  color: var(--mb-white);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, #ff3aa4 0%, #ff18ce 48%, #d10073 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 52px rgba(255, 22, 143, 0.46), 0 0 0 4px rgba(255, 22, 143, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.mb-btn--secondary,
.mb-article a.mb-btn--secondary,
.mbpk-article a.mb-btn--secondary,
.mbpk-page .mb-article a.mb-btn--secondary {
  color: var(--mb-white);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 197, 103, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 197, 103, 0.08), 0 14px 36px rgba(0, 0, 0, 0.24);
}

.mb-btn--secondary:hover,
.mb-btn--secondary:focus-visible,
.mb-article a.mb-btn--secondary:hover,
.mb-article a.mb-btn--secondary:focus-visible,
.mbpk-article a.mb-btn--secondary:hover,
.mbpk-article a.mb-btn--secondary:focus-visible,
.mbpk-page .mb-article a.mb-btn--secondary:hover,
.mbpk-page .mb-article a.mb-btn--secondary:focus-visible {
  color: var(--mb-white);
  background: rgba(255, 197, 103, 0.16);
  border-color: rgba(255, 197, 103, 0.7);
}

.mb-btn--accent,
.mb-article a.mb-btn--accent,
.mbpk-article a.mb-btn--accent,
.mbpk-page .mb-article a.mb-btn--accent {
  color: #201019;
  background: linear-gradient(135deg, #ffe2a2, var(--mb-gold) 48%, #f49d37);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(255, 197, 103, 0.26);
}

.mb-btn--accent:hover,
.mb-btn--accent:focus-visible,
.mb-article a.mb-btn--accent:hover,
.mb-article a.mb-btn--accent:focus-visible,
.mbpk-article a.mb-btn--accent:hover,
.mbpk-article a.mb-btn--accent:focus-visible,
.mbpk-page .mb-article a.mb-btn--accent:hover,
.mbpk-page .mb-article a.mb-btn--accent:focus-visible {
  color: #201019;
  background: linear-gradient(135deg, #fff0bd, #ffce75 48%, #ffab42);
}

/* Rows: side-by-side on desktop, safe named areas on mobile. */
.mb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
  align-items: start;
  gap: var(--mb-row-gap);
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  padding: var(--mb-section-pad-block) var(--mb-section-pad-inline);
  background:
    linear-gradient(135deg, rgba(255, 22, 143, 0.08), rgba(255, 197, 103, 0.04) 45%, rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.mb-row--reverse {
  grid-template-areas:
    "copy"
    "media";
}

.mb-row--stack,
.mb-row--long {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "media"
    "copy";
}

.mb-row--reverse.mb-row--stack,
.mb-row--reverse.mb-row--long {
  grid-template-areas:
    "copy"
    "media";
}

.mb-copy {
  grid-area: copy;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-block-start: 0;
  align-self: start;
}

.mb-copy > :last-child {
  margin-block-end: 0;
}

.mb-media {
  grid-area: media;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  padding-block-start: 0;
  margin: 0;
  align-self: start;
  aspect-ratio: 2 / 3;
  overflow: clip;
  border-radius: var(--mb-radius-lg);
  background: #070812;
  box-shadow: 0 0 0 1px rgba(255, 22, 143, 0.18), 0 20px 62px rgba(255, 22, 143, 0.16), 0 18px 56px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.mb-media img,
.mb-media picture,
.mb-media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-media img,
.mb-media video {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.mb-media:hover img,
.mb-media:focus-within img,
.mb-media:hover video,
.mb-media:focus-within video {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

/* CTA blocks. */
.mb-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 44px) var(--mb-section-pad-inline);
  color: var(--mb-text);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 197, 103, 0.22), transparent 30%),
    radial-gradient(circle at 12% 0%, rgba(255, 22, 143, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(139, 11, 91, 0.82), rgba(36, 11, 37, 0.96) 52%, rgba(10, 8, 18, 0.98));
  border: 1px solid rgba(255, 22, 143, 0.34);
  border-radius: var(--mb-radius-lg);
  box-shadow: 0 22px 68px rgba(255, 22, 143, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mb-cta__copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mb-cta__copy > :last-child {
  margin-block-end: 0;
}

.mb-cta__title {
  margin-block-end: 0.45em;
}

.mb-cta__actions {
  align-self: start;
  margin-block-start: 0;
}

/* Equal card grids: mobile 1 column, tablet 2 columns, desktop 3 columns. */
.mb-article .mb-grid,
.mb-article .mb-slot-grid,
.mbpk-article .mb-grid,
.mbpk-article .mb-slot-grid,
.mbpk-page .mb-article .mb-grid,
.mbpk-page .mb-article .mb-slot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--mb-gap);
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
}

.mb-article .mb-grid > .mb-card,
.mb-article .mb-slot-grid > .mb-card,
.mbpk-article .mb-grid > .mb-card,
.mbpk-article .mb-slot-grid > .mb-card,
.mbpk-page .mb-article .mb-grid > .mb-card,
.mbpk-page .mb-article .mb-slot-grid > .mb-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.mb-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0;
  color: var(--mb-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)),
    rgba(16, 13, 24, 0.9);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-md);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.mb-card__media {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 2 / 3;
  padding: 0;
  margin: 0;
  overflow: clip;
  border-radius: var(--mb-radius-md);
  background: #070812;
  box-shadow: 0 0 0 1px rgba(255, 22, 143, 0.13);
  cursor: pointer;
}

.mb-card__media img,
.mb-card__media picture,
.mb-card__media video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.mb-card__media img,
.mb-card__media video {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 240ms ease, filter 240ms ease;
}

.mb-card__media:hover img,
.mb-card__media:focus-within img,
.mb-card__media:hover video,
.mb-card__media:focus-within video {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.mb-card__body,
.mb-card__content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(16px, 2.4vw, 24px);
}

.mb-card__title {
  margin-block-end: 0.45em;
  color: var(--mb-heading);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  line-height: 1.18;
}

.mb-card__copy {
  color: var(--mb-muted);
}

.mb-card__body > :last-child,
.mb-card__content > :last-child,
.mb-card > :last-child {
  margin-block-end: 0;
}

/* FAQ. */
.mb-faq {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: var(--mb-container);
  min-width: 0;
  margin-inline: auto;
}

.mb-faq details {
  width: 100%;
  min-width: 0;
  break-inside: avoid;
  color: var(--mb-muted);
  background:
    linear-gradient(135deg, rgba(255, 22, 143, 0.07), rgba(255, 197, 103, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius-md);
}

.mb-faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 17px 18px;
  color: var(--mb-heading);
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

.mb-faq summary::marker {
  color: var(--mb-pink);
}

.mb-faq details[open] {
  border-color: rgba(255, 22, 143, 0.35);
  box-shadow: 0 12px 36px rgba(255, 22, 143, 0.1);
}

.mb-faq details > :not(summary) {
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 18px;
}

.mb-faq details > :last-child {
  padding-block-end: 18px;
  margin-block-end: 0;
}

/* Tables: horizontal scroll stays inside the wrapper on mobile. */
.mb-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block: clamp(18px, 3vw, 30px) var(--mb-section-gap);
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mb-radius-md);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
}

table.mb-table {
  width: 100%;
  min-width: 580px;
  margin: 0;
  direction: ltr;
  text-align: left;
  color: var(--mb-muted);
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(9, 8, 18, 0.92);
}

table.mb-table caption {
  padding: 14px 16px;
  color: var(--mb-heading);
  font-weight: 850;
  text-align: left;
  background: rgba(255, 22, 143, 0.12);
}

table.mb-table th,
table.mb-table td {
  padding: 13px 15px;
  vertical-align: top;
  border-block-end: 1px solid rgba(255, 255, 255, 0.09);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.07);
}

table.mb-table th:last-child,
table.mb-table td:last-child {
  border-inline-end: 0;
}

table.mb-table tr:last-child td {
  border-block-end: 0;
}

table.mb-table th {
  color: var(--mb-heading);
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(255, 22, 143, 0.22), rgba(255, 197, 103, 0.1)),
    rgba(255, 255, 255, 0.04);
}

table.mb-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.035);
}

/* Quotes, code, and embeds. */
.mb-article blockquote,
.mbpk-article blockquote,
.mbpk-page .mb-article blockquote {
  max-width: 100%;
  margin: 0 0 1.25em;
  padding: 18px 20px;
  color: #eadfeb;
  border-inline-start: 4px solid var(--mb-pink);
  border-radius: var(--mb-radius-sm);
  background: rgba(255, 22, 143, 0.08);
}

.mb-article :is(pre, code, kbd),
.mbpk-article :is(pre, code, kbd),
.mbpk-page .mb-article :is(pre, code, kbd) {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.mb-article pre,
.mbpk-article pre,
.mbpk-page .mb-article pre {
  max-width: 100%;
  margin-block: 0 1.4em;
  padding: 16px;
  overflow-x: auto;
  color: #fff7ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mb-radius-sm);
  background: #090812;
}

.mb-embed,
.mb-video {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  margin-block-end: var(--mb-section-gap);
  border-radius: var(--mb-radius-md);
}

.mb-embed iframe,
.mb-video iframe,
.mb-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--mb-radius-md);
}

/* Desktop layout. */
@media (min-width: 900px) {
  .mb-row {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas: "copy media";
  }

  .mb-row--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "media copy";
  }

  .mb-row--stack,
  .mb-row--long {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "copy";
  }

  .mb-row--reverse.mb-row--stack,
  .mb-row--reverse.mb-row--long {
    grid-template-areas:
      "copy"
      "media";
  }

  .mb-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .mb-cta__actions {
    justify-content: flex-end;
  }
}

/* Tablet card grids: exactly 2 columns, never 3 below 980px. */
@media (min-width: 640px) and (max-width: 979.98px) {
  .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop card grids: 3 equal columns, with optional orphan fixing. */
@media (min-width: 980px) {
  .mb-article .mb-grid,
  .mb-article .mb-slot-grid,
  .mbpk-article .mb-grid,
  .mbpk-article .mb-slot-grid,
  .mbpk-page .mb-article .mb-grid,
  .mbpk-page .mb-article .mb-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix,
  .mb-article .mb-slot-grid--orphan-fix,
  .mbpk-article .mb-grid--orphan-fix,
  .mbpk-article .mb-slot-grid--orphan-fix,
  .mbpk-page .mb-article .mb-grid--orphan-fix,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mb-article .mb-grid--orphan-fix > .mb-card,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card {
    grid-column: span 2;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 0;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__media {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    border-radius: var(--mb-radius-md);
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__body,
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+1) > .mb-card__content {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:nth-last-child(2):nth-child(3n+1),
  .mbpk-page .mb-article .mb-slot-grid--orphan-fix > .mb-card:last-child:nth-child(3n+2) {
    grid-column: span 3;
  }
}

/* Mobile fit and no horizontal overflow from buttons or media. */
@media (max-width: 639.98px) {
  .mb-site-header__inner,
  .mb-topbar__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .mb-site-actions,
  .mb-header-actions,
  .mb-site-nav ul,
  .mb-site-menu,
  .mb-footer-nav ul,
  .mb-footer-menu {
    width: 100%;
    justify-content: stretch;
  }

  .mb-site-nav li,
  .mb-site-menu li,
  .mb-footer-nav li,
  .mb-footer-menu li {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mb-site-nav a,
  .mb-site-menu a,
  .mb-footer-nav a,
  .mb-footer-menu a,
  .mb-wallet,
  .mb-header-action,
  .mb-login-pill {
    width: 100%;
    box-sizing: border-box;
  }

  .mb-footer-nav {
    width: 100%;
    border-radius: var(--mb-radius-md);
  }

  .mb-article,
  .mbpk-article,
  .mbpk-page .mb-article {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--mb-article-pad);
    border-radius: 0;
  }

  body.mb-site main .mb-article,
  body.mb-site .mb-site-main .mb-article {
    width: min(100%, calc(100% - 0px));
    margin-block: 0 clamp(18px, 4vw, 34px);
  }

  .mb-hero,
  .mb-row,
  .mb-cta,
  .mb-grid,
  .mb-slot-grid,
  .mb-faq,
  .mb-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mb-row,
  .mb-cta {
    padding-inline: var(--mb-section-pad-inline);
  }

  .mb-hero__copy {
    padding-inline: var(--mb-hero-copy-pad);
  }

  .mb-hero__actions,
  .mb-actions,
  .mb-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .mb-btn,
  .mb-article a.mb-btn,
  .mbpk-article a.mb-btn,
  .mbpk-page .mb-article a.mb-btn,
  .mb-article button.mb-btn,
  .mbpk-article button.mb-btn,
  .mbpk-page .mb-article button.mb-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }

  .mb-hero > .mb-cta {
    width: calc(100% - (2 * var(--mb-hero-copy-pad)));
    max-width: calc(100% - (2 * var(--mb-hero-copy-pad)));
    margin-inline: var(--mb-hero-copy-pad);
  }

  .mb-media,
  .mb-media img,
  .mb-card__media,
  .mb-card__media img,
  .mb-hero__media,
  .mb-hero__media img {
    max-width: 100%;
  }

  table.mb-table th,
  table.mb-table td {
    white-space: nowrap;
  }
}

/* Direction support. Default is Azerbaijani LTR; these overrides keep compatibility when markup requests RTL. */
.mb-article[dir="rtl"],
.mbpk-article[dir="rtl"],
[dir="rtl"] .mb-article,
[dir="rtl"] .mbpk-article,
.mb-article.mb-dir-rtl,
.mbpk-article.mb-dir-rtl {
  direction: rtl;
  text-align: right;
}

.mb-article[dir="rtl"] :is(ul, ol),
.mbpk-article[dir="rtl"] :is(ul, ol),
[dir="rtl"] .mb-article :is(ul, ol),
[dir="rtl"] .mbpk-article :is(ul, ol),
.mb-article.mb-dir-rtl :is(ul, ol),
.mbpk-article.mb-dir-rtl :is(ul, ol) {
  padding-inline-start: 0;
  padding-inline-end: 1.35em;
}

.mb-article[dir="rtl"] table.mb-table,
.mbpk-article[dir="rtl"] table.mb-table,
[dir="rtl"] .mb-article table.mb-table,
[dir="rtl"] .mbpk-article table.mb-table,
.mb-article.mb-dir-rtl table.mb-table,
.mbpk-article.mb-dir-rtl table.mb-table {
  direction: rtl;
  text-align: right;
}

.mb-article[dir="rtl"] table.mb-table caption,
.mbpk-article[dir="rtl"] table.mb-table caption,
[dir="rtl"] .mb-article table.mb-table caption,
[dir="rtl"] .mbpk-article table.mb-table caption,
.mb-article.mb-dir-rtl table.mb-table caption,
.mbpk-article.mb-dir-rtl table.mb-table caption {
  text-align: right;
}

@supports not (overflow: clip) {
  .mb-hero__media,
  .mb-media,
  .mb-card__media {
    overflow: hidden;
  }
}

/* fair-pages-kit: Beautiful Site TOC (converter-injected) */
.mb-article .mb-toc,
.mbpk-article .mb-toc,
.mbpk-page .mb-article .mb-toc {
  width: 100%;
  max-width: var(--mb-container);
  margin-inline: auto;
  margin-block-end: var(--mb-stack-gap, var(--mb-space-7, clamp(20px, 4vw, 42px)));
  padding: clamp(20px, 4vw, 36px) var(--mb-page-pad, var(--mb-gutter, clamp(16px, 3.4vw, 28px)));
  border: 1px solid var(--mb-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--mb-radius-lg, 22px);
  background:
    radial-gradient(circle at 88% 10%, rgba(227, 178, 87, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(36, 16, 8, 0.94), rgba(27, 11, 5, 0.88));
  box-shadow: var(--mb-shadow, 0 22px 70px rgba(0, 0, 0, 0.42));
}

.mb-article .mb-toc__summary,
.mbpk-article .mb-toc__summary,
.mbpk-page .mb-article .mb-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mb-article .mb-toc__summary::-webkit-details-marker,
.mbpk-article .mb-toc__summary::-webkit-details-marker,
.mbpk-page .mb-article .mb-toc__summary::-webkit-details-marker {
  display: none;
}

.mb-article .mb-toc__summary::after,
.mbpk-article .mb-toc__summary::after,
.mbpk-page .mb-article .mb-toc__summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--mb-border-strong, rgba(255, 255, 255, 0.24));
  border-radius: var(--mb-radius-sm, 12px);
  color: var(--mb-gold-2, #ffd985);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mb-article .mb-toc[open] .mb-toc__summary::after,
.mbpk-article .mb-toc[open] .mb-toc__summary::after,
.mbpk-page .mb-article .mb-toc[open] .mb-toc__summary::after {
  content: "−";
}

.mb-article .mb-toc__title,
.mbpk-article .mb-toc__title,
.mbpk-page .mb-article .mb-toc__title {
  margin: 0;
  color: var(--mb-gold-2, #ffd985);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}

.mb-article .mb-toc__list,
.mbpk-article .mb-toc__list,
.mbpk-page .mb-article .mb-toc__list {
  margin: clamp(14px, 2.5vw, 20px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(8px, 1.5vw, 12px);
}

.mb-article .mb-toc__list--sub,
.mbpk-article .mb-toc__list--sub,
.mbpk-page .mb-article .mb-toc__list--sub {
  margin: clamp(8px, 1.5vw, 10px) 0 0;
  padding-left: clamp(12px, 2vw, 18px);
  border-left: 1px solid var(--mb-border, rgba(255, 255, 255, 0.12));
}

.mb-article .mb-toc__item,
.mbpk-article .mb-toc__item,
.mbpk-page .mb-article .mb-toc__item {
  margin: 0;
}

.mb-article .mb-toc__link,
.mbpk-article .mb-toc__link,
.mbpk-page .mb-article .mb-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--mb-radius-sm, 12px);
  color: var(--mb-text, var(--mb-ink, #f2f2ee));
  text-decoration: none;
  background: rgba(255, 246, 220, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mb-article .mb-toc__num,
.mbpk-article .mb-toc__num,
.mbpk-page .mb-article .mb-toc__num {
  flex: 0 0 auto;
  min-width: 2.2rem;
  color: var(--mb-gold, #e3b257);
  font-variant-numeric: tabular-nums;
}

.mb-article .mb-toc__text,
.mbpk-article .mb-toc__text,
.mbpk-page .mb-article .mb-toc__text {
  flex: 1 1 auto;
}

.mb-article .mb-toc__link:hover,
.mbpk-article .mb-toc__link:hover,
.mbpk-page .mb-article .mb-toc__link:hover,
.mb-article .mb-toc__link:focus-visible,
.mbpk-article .mb-toc__link:focus-visible,
.mbpk-page .mb-article .mb-toc__link:focus-visible {
  color: var(--mb-gold-2, #ffd985);
  border-color: var(--mb-border-strong, rgba(255, 255, 255, 0.24));
  background: rgba(227, 178, 87, 0.08);
}

@media (max-width: 640px) {
  .mb-article .mb-toc,
  .mbpk-article .mb-toc,
  .mbpk-page .mb-article .mb-toc {
    max-width: 100%;
  }
}

