@import url('/fonts/ibm-plex-sans-arabic.css');

/* ==========================================================================
   ثيم Syriana Pebble — ملف مستقل بالكامل.
   يُحمَّل فقط عندما يكون themeStyle = 'pebble' (راجع themes/registry.ts).
   لا يشارك أي قاعدة مع ثيم آخر: عدّل هنا بحرية دون التأثير على بقية الثيمات.

   1) الأساس: نسخة من أساس Syriana 2 بصنف الجذر html.theme-pebble.
   2) طبقة Pebble: الشكل الخاص بالثيم (آخر الملف).
   ========================================================================== */

/* ── 1) الأساس ── */


/* ── منقول من assets/css/main.css ── */

html.theme-pebble .header-gradient {
  background: var(--color-header-surface, linear-gradient(45deg, var(--color-header-from), var(--color-header-to)));
}
html.theme-pebble .bg-theme-sidebar,
html.theme-pebble .sidebar-content {
  background: var(--color-sidebar-surface, var(--color-sidebar-bg));
}
html.theme-pebble .ads-bar-surface {
  background: var(--color-ads-bar-bg, var(--color-sidebar-surface, var(--color-sidebar-bg)));
  color: var(--color-ads-bar-text, var(--color-text-main));
}
html.theme-pebble .telegram-link-bar {
  background: var(--color-telegram-bar-bg, linear-gradient(165deg, #4cc3f7 0%, #229edd 42%, #0088cc 100%));
  color: var(--color-telegram-bar-text, #ffffff);
  border-radius: 5px;
}
html.theme-pebble :is(.custom-purchase-window, .custom-pin-modal) {
  background: var(--color-modal-surface, var(--color-page-bg)) !important;
}

html.theme-pebble .ui-select-menu--plain .ui-select-option {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
  margin: 0 !important;
  border-radius: 0.65rem !important;
}

html.theme-pebble .ui-select-menu--plain .ui-select-option:hover {
  transform: none !important;
  box-shadow: none !important;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
}

html.theme-pebble .ui-select-menu--plain .ui-select-option-selected {
  background: color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
  box-shadow: none !important;
  border: none !important;
  border-inline-start: none !important;
  padding-inline-start: 1rem !important;
}


/* ── منقول من assets/css/bottom-nav-templates.css ── */

html.theme-pebble .bottom-nav-root.bn-blur {
  background: color-mix(in srgb, var(--bn-custom-bg, var(--color-bottom-nav-bg)) 85%, transparent) !important;
}

/* ── منقول من assets/css/modal-shell-default.css ── */

html.theme-pebble .modal-backdrop {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  background: rgba(33, 33, 33, 0.7) !important;
}

html.theme-pebble :is(.modal-shell.custom-purchase-window, .modal-shell.custom-pin-modal):not(.purchase-order-window):not(.prompt-window):not(.w-screen):not(.min-h-screen) {
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  aspect-ratio: 1 / 1;
  max-height: min(390px, calc(100dvh - 2rem));
  height: auto;
  display: flex;
  flex-direction: column;
}

html.theme-pebble .modal-shell.custom-purchase-window.prompt-window:not(.w-screen):not(.min-h-screen) {
  aspect-ratio: auto !important;
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  min-height: 0;
  max-height: min(90dvh, 560px);
  height: auto !important;
}

html.theme-pebble .modal-shell.custom-purchase-window.purchase-order-window:not(.w-screen):not(.min-h-screen) {
  aspect-ratio: auto;
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  min-height: 0;
  max-height: min(90dvh, 560px);
  height: auto;
  border-radius: 16px !important;
}

html.theme-pebble .custom-purchase-window,
html.theme-pebble .custom-pin-modal {
  background: var(--color-modal-surface, var(--color-page-bg)) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary) 32%, var(--color-border-soft)) !important;
  border-radius: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: none;
}

html.theme-pebble .custom-purchase-window.purchase-order-window {
  border: none !important;
  border-radius: 16px !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px color-mix(in srgb, var(--color-border-soft) 40%, transparent) !important;
}

html.theme-pebble .custom-purchase-window :is(.input, .ui-select-trigger),
html.theme-pebble .custom-pin-modal :is(.input, .ui-select-trigger),
html.theme-pebble .custom-purchase-window .input-wrap,
html.theme-pebble .custom-pin-modal .input-wrap {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(120, 120, 120, 0.25) !important;
  border-radius: 50px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  min-height: 46px !important;
}

html.theme-pebble .custom-purchase-window.purchase-order-window :is(.input, .ui-select-trigger),
html.theme-pebble .custom-purchase-window.purchase-order-window .input-wrap {
  background: var(--color-input-bg) !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  min-height: 3.25rem !important;
}

html.theme-pebble .custom-purchase-window :is(.input:focus, .ui-select-open),
html.theme-pebble .custom-pin-modal :is(.input:focus),
html.theme-pebble .custom-purchase-window .input-wrap:focus-within,
html.theme-pebble .custom-pin-modal .input-wrap:focus-within {
  border-color: var(--color-primary) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

html.theme-pebble .custom-purchase-window.purchase-order-window :is(.input:focus, .ui-select-open),
html.theme-pebble .custom-purchase-window.purchase-order-window .input-wrap:focus-within {
  background: var(--color-input-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .custom-purchase-window :is(.btn-primary, .btn-secondary),
html.theme-pebble .custom-pin-modal :is(.btn-primary, .btn-secondary) {
  border-radius: 50px !important;
  min-height: 46px !important;
  font-weight: 800 !important;
}

html.theme-pebble {
  --syriana-flat-pop-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --syriana-flat-pop-duration: 420ms;
  background-color: var(--color-page-bg);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

html.theme-pebble ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

html.theme-pebble ::-webkit-scrollbar-track {
  background: transparent;
}

html.theme-pebble ::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

html.theme-pebble ::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--color-primary) 82%, #fff);
}

html.theme-pebble ::-webkit-scrollbar-corner {
  background: transparent;
}

html.theme-pebble body,
html.theme-pebble #__nuxt,
html.theme-pebble .app-shell {
  background-color: var(--color-page-bg);
  color: var(--color-text-main);
}

html.theme-pebble body *,
html.theme-pebble body *::before,
html.theme-pebble body *::after {
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  --tw-shadow: 0 0 #0000 !important;
  --tw-shadow-colored: 0 0 #0000 !important;
  --tw-ring-offset-shadow: 0 0 #0000 !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  --tw-drop-shadow: drop-shadow(0 0 #0000) !important;
}

html.theme-pebble .product-thumb-unavailable {
  filter: grayscale(100%) brightness(0.65) !important;
}

html.theme-pebble .ribbon-wrapper {
  top: 0;
  right: 0;
  left: auto;
  width: 92px;
  height: 92px;
  direction: ltr;
}

html.theme-pebble .ribbon-tag-red {
  position: absolute;
  top: 18px;
  right: -30px;
  left: auto;
  width: 128px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  text-align: center;
  white-space: nowrap;
  background: #f44336 !important;
  transform: rotate(45deg);
  box-shadow: none;
}

html.theme-pebble .modal-backdrop,
html.theme-pebble .alert-modal-backdrop {
  animation: none !important;
}

html.theme-pebble .success-modal-overlay {
  animation: none !important;
}

@media (max-width: 1023px) {
  html.theme-pebble .success-modal-overlay {
    background: var(--color-page-bg) !important;
    backdrop-filter: none !important;
  
  }
}

@media (min-width: 1024px) {
  html.theme-pebble .success-modal-overlay {
    background: color-mix(in srgb, var(--color-page-bg) 30%, rgba(0, 0, 0, 0.5)) !important;
  
  }
}

html.theme-pebble .modal-shell:not(.custom-purchase-window),
html.theme-pebble .alert-modal-shell,
html.theme-pebble .custom-pin-modal,
html.theme-pebble .success-modal-card {
  animation: none !important;
}

@media (max-width: 1023px) {
  html.theme-pebble .success-modal-card {
    border-radius: 0 !important;
    border: none !important;
    background: var(--color-page-bg) !important;
  
  }
}

@media (min-width: 1024px) {
  html.theme-pebble .success-modal-card {
    border-radius: var(--radius-card, 16px) !important;
    border: 1px solid var(--color-border-soft) !important;
    background: var(--color-card-bg) !important;
  
  }
}

html.theme-pebble .success-modal-icon-wrap,
html.theme-pebble .success-modal-icon-wrap--rejected {
  background: transparent !important;
}

html.theme-pebble .success-modal-icon,
html.theme-pebble .success-modal-icon--rejected {
  color: var(--color-text-main) !important;
}

html.theme-pebble .success-modal-btn-primary {
  border-radius: var(--radius-btn, 12px) !important;
  background: var(--color-primary) !important;
  color: var(--color-btn-text, #fff) !important;
}

html.theme-pebble .success-modal-btn-secondary,
html.theme-pebble .success-modal-btn-orders {
  border-radius: var(--radius-btn, 12px) !important;
  border: none !important;
  background: var(--color-input-bg) !important;
}

html.theme-pebble .success-modal-replay-input,
html.theme-pebble .success-modal-copy-btn {
  border-radius: var(--radius-btn, 12px) !important;
  border: none !important;
  background: var(--color-input-bg) !important;
}

html.theme-pebble :is(.modal-shell.custom-purchase-window, .custom-purchase-window.modal-shell) {
  animation: ui-sheet-in 340ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

html.theme-pebble :is(
  .modal-shell.custom-purchase-window,
  .modal-shell.custom-pin-modal,
  .modal-shell.card.custom-purchase-window,
  .modal-shell.card.custom-pin-modal
):not(.purchase-order-window):not(.prompt-window):not(.w-screen):not(.min-h-screen) {
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  aspect-ratio: 1 / 1;
  max-height: min(390px, calc(100dvh - 2rem));
  height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 0 !important;
  border: 1px solid color-mix(in srgb, var(--color-primary) 32%, var(--color-border-soft)) !important;
  overflow: hidden;
}

html.theme-pebble :is(
  .modal-shell.custom-purchase-window.prompt-window,
  .modal-shell.card.custom-purchase-window.prompt-window
):not(.w-screen):not(.min-h-screen) {
  aspect-ratio: auto !important;
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  height: auto !important;
  max-height: min(90dvh, 560px);
  overflow: hidden;
}

html.theme-pebble :is(
  .modal-shell.custom-purchase-window.purchase-order-window,
  .modal-shell.card.custom-purchase-window.purchase-order-window
):not(.w-screen):not(.min-h-screen) {
  aspect-ratio: auto;
  width: min(390px, calc(100vw - 1.5rem));
  max-width: min(390px, calc(100vw - 1.5rem));
  min-height: 0;
  height: auto;
  max-height: min(90dvh, 560px);
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px color-mix(in srgb, var(--color-border-soft) 40%, transparent) !important;
}

html.theme-pebble .purchase-order-window :is(.input, .ui-select-trigger),
html.theme-pebble .purchase-order-window .input-wrap {
  border-radius: var(--radius-btn) !important;
  min-height: 3.25rem !important;
  padding-inline: 1rem !important;
  background: var(--syriana-field-surface, var(--color-input-bg)) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .purchase-order-window .input-wrap--float-label {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}

html.theme-pebble .purchase-order-window .purchase-stat {
  border-radius: var(--radius-btn) !important;
  background: var(--syriana-field-surface, var(--color-input-bg)) !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 3.25rem !important;
}

html.theme-pebble .purchase-order-window .purchase-stat.purchase-stat--invalid,
html.theme-pebble .purchase-order-window .purchase-stat.purchase-stat--invalid:focus-within {
  background: var(--color-error) !important;
}

html.theme-pebble .purchase-order-window .purchase-stat.purchase-stat--invalid .input-wrap__label,
html.theme-pebble .purchase-order-window .purchase-stat.purchase-stat--invalid .purchase-stat-input {
  color: #fff !important;
}

html.theme-pebble .purchase-order-window :is(.btn-primary, .purchase-order-buy) {
  border-radius: 999px !important;
  min-height: 42px !important;
  font-weight: 800 !important;
}

html.theme-pebble .purchase-order-window .price-badge-container {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary) 92%, #fff 8%) 0%,
    color-mix(in srgb, var(--color-primary) 78%, #000 22%) 100%
  ) !important;
  border-radius: 999px !important;
  border: none !important;
}

html.theme-pebble .purchase-order-window .price-badge {
  color: var(--color-btn-text, #fff) !important;
}

html.theme-pebble .purchase-order-window .purchase-order-buy {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-btn-bg, var(--color-primary)) 94%, #fff 6%) 0%,
    color-mix(in srgb, var(--color-btn-bg, var(--color-primary)) 72%, #000 28%) 100%
  ) !important;
  color: var(--color-btn-text, #fff) !important;
  border: none !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 28%, transparent) !important;
}

html.theme-pebble :is(.purchase-order-window, .ui-dp-window__foot) .purchase-order-cancel {
  background: transparent !important;
  border: 1px solid #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  min-height: 42px !important;
  font-weight: 800 !important;
}

html.theme-pebble :is(.purchase-order-window, .ui-dp-window__foot) .purchase-order-cancel:hover:not(:disabled) {
  background: color-mix(in srgb, #ef4444 12%, transparent) !important;
  color: #f87171 !important;
  border-color: #f87171 !important;
}

html.theme-pebble .purchase-order-window .purchase-order-auto-footer span {
  color: var(--color-primary) !important;
}

html.theme-pebble .purchase-order-window .purchase-order-desc-html {
  border-inline-start-color: rgba(255, 255, 255, 0.88) !important;
}

html.theme-pebble .notif-card {
  border-radius: var(--radius-card) !important;
  background: var(--color-card-bg) !important;
  border: 1px solid var(--color-border-soft) !important;
  box-shadow: none !important;
}

html.theme-pebble .notif-card:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

html.theme-pebble .notif-card--unread {
  background: var(--color-card-bg) !important;
  border-color: color-mix(in srgb, var(--color-primary) 24%, var(--color-border-soft)) !important;
}

html.theme-pebble .notif-card__icon {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html.theme-pebble .modal-backdrop {
  background: rgba(33, 33, 33, 0.7) !important;
}

html.theme-pebble :is(
  .fab,
  .contact-fab-item,
  .sidebar-item,
  .card-hover,
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-danger,
  .btn-objection,
  .btn-ghost,
  .cta-3d,
  .ai-chat-send,
  .pill-btn,
  .sidebar-login-btn,
  .sidebar-theme-toggle,
  .sidebar-verified-badge,
  .ai-chat-action-btn,
  .ai-suggestion-chip,
  .curr-chip,
  .app-header__icon-btn,
  .deposit-voucher-card,
  .deposit-voucher-card__arrow,
  .bottom-item .icon-wrap,
  .ui-select-option,
  .btn-google,
  .toast-item,
  .alert-modal-shell .relative,
  .success-modal-icon-wrap,
  .success-modal-check
):hover:not(:disabled):not(:active) {
  transform: none !important;
  filter: none !important;
}

html.theme-pebble .bottom-item--priority:hover {
  transform: translateY(calc(-1 * var(--bn-priority-elev, 14px))) !important;
}

html.theme-pebble .deposit-voucher-card__icon,
html.theme-pebble .deposit-voucher-card__arrow {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html.theme-pebble .contact-fab-menu:hover {
  transform: translateX(-50%) !important;
}

html.theme-pebble .contact-fab-item {
  animation: none !important;
}

html.theme-pebble .contact-fab-item:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

html.theme-pebble .bottom-item--priority {
  transition: color 0.3s ease !important;
}

html.theme-pebble .toast-enter-from,
html.theme-pebble .toast-leave-to,
html.theme-pebble .contact-fab-menu-enter-from,
html.theme-pebble .contact-fab-menu-leave-to,
html.theme-pebble .success-modal-enter-from,
html.theme-pebble .success-modal-leave-to {
  transform: none !important;
}

html.theme-pebble .success-modal-icon-wrap,
html.theme-pebble .success-modal-check {
  animation: none !important;
}

html.theme-pebble .app-sidebar-mobile-backdrop.is-open {
  animation: none !important;
}

html.theme-pebble .bn-indicator-glow .bottom-item.active .icon-wrap {
  box-shadow: none !important;
}

html.theme-pebble .bn-tpl-18 {
  animation: none !important;
  background-position: 0% 50% !important;
}

html.theme-pebble .dynamic-grid a.catalog-grid-card:not(.product-card-btn),
html.theme-pebble .dynamic-grid .product-card-btn,
html.theme-pebble .payment-method-btn {
  transition: transform var(--syriana-flat-pop-duration) var(--syriana-flat-pop-ease) !important;
  transform-origin: center center;
  will-change: transform;
}

html.theme-pebble .dynamic-grid a.catalog-grid-card:not(.product-card-btn):hover,
html.theme-pebble .dynamic-grid .product-card-btn:hover:not(:disabled),
html.theme-pebble .payment-method-btn:hover {
  transform: scale(1.02) translateY(-2px) !important;
}

html.theme-pebble .dynamic-grid a.catalog-grid-card:not(.product-card-btn):active,
html.theme-pebble .dynamic-grid .product-card-btn:active:not(:disabled),
html.theme-pebble .payment-method-btn:active {
  transform: scale(0.96) translateY(0) !important;
  transition-duration: 90ms !important;
}

html.theme-pebble a.catalog-grid-card:not(.product-card-btn):hover .catalog-grid-card__media,
html.theme-pebble .product-card-btn:hover:not(:disabled) .catalog-grid-card__media,
html.theme-pebble .payment-method-btn:hover .payment-method-img {
  transform: none !important;
}

html.theme-pebble :is(
  .wallet-v-item,
  .order-list-card,
  .notif-card,
  .summary-card,
  .deposit-history-card,
  .card-hover,
  .home-contest-banner,
  .order-row,
  .ranks-page .vip-level-item,
  .contest-card,
  .agents-dir__item,
  .balance-card,
  .alert-banner,
  .security-page .security-module,
  .telegram-page .telegram-module,
  .ai-page-shell,
  .ai-chat-welcome,
  .ai-page-empty
):hover:not(:active) {
  transform: none !important;
}

html.theme-pebble .pill-btn {
  background: #ffffa5 !important;
  color: #bf7100 !important;
  border: none !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 9px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 15px !important;
  overflow: visible !important;
}

html.theme-pebble .pill-btn:hover {
  background: #fff59d !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html.theme-pebble .pill-btn .pill-btn__text,
html.theme-pebble .pill-btn .curr-icon {
  color: #bf7100 !important;
}

html.theme-pebble .curr-menu {
  background: var(--color-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--color-border-soft) !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  gap: 0.25rem !important;
  animation: none !important;
}

html.theme-pebble .curr-chip {
  border-radius: 0.65rem !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--color-text-muted) !important;
  font-weight: 500 !important;
}

html.theme-pebble .curr-chip:hover {
  background: color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
  color: var(--color-text-main) !important;
}

html.theme-pebble .curr-chip.active {
  background: color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
  color: var(--color-text-main) !important;
  font-weight: 700 !important;
}

html.theme-pebble .app-sidebar-drawer,
html.theme-pebble .app-sidebar-mobile-panel.app-sidebar-drawer {
  box-shadow:
    0 3px 5px -1px rgba(0, 0, 0, 0.2),
    0 5px 8px 0 rgba(0, 0, 0, 0.14),
    0 1px 14px 0 rgba(0, 0, 0, 0.12) !important;
}

html:not(.dark).theme-pebble .app-sidebar-drawer,
html:not(.dark).theme-pebble .app-sidebar-mobile-panel.app-sidebar-drawer {
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.08),
    0 10px 18px -4px rgba(15, 23, 42, 0.1) !important;
}

html.theme-pebble .app-sidebar-drawer__border {
  background: color-mix(in srgb, var(--color-border-soft) 88%, var(--color-text-main)) !important;
}

html.theme-pebble .app-sidebar-drawer.bg-theme-sidebar,
html.theme-pebble .app-sidebar-drawer .sidebar-content {
  background: var(--color-sidebar-surface, var(--color-sidebar-bg)) !important;
}

html.theme-pebble .app-sidebar-drawer,
html.theme-pebble .app-sidebar-mobile-panel {
  overflow: hidden;
}

html.theme-pebble .sidebar-content {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

html.theme-pebble .sidebar-content::-webkit-scrollbar {
  width: 2px;
  height: 0;
}

html.theme-pebble .sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

html.theme-pebble .sidebar-content::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 999px;
}

html.theme-pebble .sidebar-content::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--color-primary) 82%, #fff);
}

@supports not selector(::-webkit-scrollbar) {
  html.theme-pebble .sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
  
  }
}

html.theme-pebble .app-sidebar-mobile-panel,
html.theme-pebble .app-sidebar-mobile-panel .sidebar-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.theme-pebble .app-sidebar-mobile-panel::-webkit-scrollbar,
html.theme-pebble .app-sidebar-mobile-panel .sidebar-content::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html.theme-pebble .sidebar-balance-amount {
  color: #4ade80 !important;
}

html.theme-pebble .sidebar-rank-chip {
  background: #c8a84b !important;
  color: #1a1a1a !important;
  border: none !important;
  font-weight: 700;
}

html.theme-pebble .sidebar-rank-chip-icon {
  color: #1a1a1a !important;
}

html.theme-pebble .sidebar-nav {
  padding: 32px 8px 8px !important;
}

html.theme-pebble .sidebar-item {
  padding: 0 16px !important;
  min-height: 46px !important;
  margin: 0 0 4px !important;
  border-radius: 7px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  color: var(--color-text-main) !important;
  gap: 0.85rem !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .sidebar-item:hover {
  background: color-mix(in srgb, var(--color-text-main) 7%, transparent) !important;
  color: var(--color-text-main) !important;
  transform: none !important;
}

html.theme-pebble .sidebar-item.router-link-active,
html.theme-pebble .sidebar-item.router-link-exact-active {
  background: color-mix(in srgb, var(--color-text-main) 11%, transparent) !important;
  color: var(--color-text-main) !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

html.theme-pebble .sb-hr {
  background: color-mix(in srgb, var(--color-text-main) 14%, transparent) !important;
}

html.theme-pebble :is(
  .input,
  .input-with-icon,
  .input-wrap,
  textarea.input,
  .input-wrap textarea,
  .kyc-textarea,
  .ai-chat-input-wrap,
  .ui-select-trigger,
  .ui-dp__trigger,
  .success-modal-replay-input,
  .pin-input-field
) {
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-btn) !important;
  min-height: 3.25rem;
  transition: none !important;
}

html.theme-pebble :is(
  .input,
  .input-with-icon,
  .input-wrap,
  textarea.input,
  .input-wrap textarea,
  .kyc-textarea,
  .ai-chat-input-wrap,
  .ui-select-trigger,
  .ui-dp__trigger,
  .success-modal-replay-input,
  .pin-input-field
) {
  background: var(--syriana-field-surface) !important;
}

html.theme-pebble :is(
  textarea.input,
  .input-wrap textarea,
  .kyc-textarea,
  .ai-chat-textarea,
  .input.min-h-\[100px\]
) {
  border-radius: var(--radius-card) !important;
  min-height: 6.25rem;
}

html.theme-pebble :is(
  .input:hover,
  .input:focus,
  .input:active,
  .input-with-icon:hover,
  .input-with-icon:focus,
  .input-with-icon:active,
  .input-wrap:not(.input-wrap--value-display):not(.input-wrap--result-green):not(.input-wrap--verified):hover,
  .input-wrap:not(.input-wrap--value-display):not(.input-wrap--result-green):not(.input-wrap--verified):focus-within,
  .input-wrap:not(.input-wrap--value-display):not(.input-wrap--result-green):not(.input-wrap--verified):active,
  textarea.input:hover,
  textarea.input:focus,
  textarea.input:active,
  .kyc-textarea:hover,
  .kyc-textarea:focus,
  .kyc-textarea:active,
  .ai-chat-input-wrap:hover,
  .ai-chat-input-wrap:focus-within,
  .ai-chat-input-wrap:active,
  .ui-select-trigger:hover,
  .ui-select-trigger:active,
  .ui-select-open,
  .success-modal-replay-input:hover,
  .success-modal-replay-input:focus,
  .success-modal-replay-input:active,
  .success-modal-replay-box:hover,
  .success-modal-replay-box:active,
  .pin-input-field:hover,
  .pin-input-field:focus-within,
  .pin-input-field:active,
  .api-readonly-field:hover,
  .api-readonly-field:active
) {
  background: var(--syriana-field-surface) !important;
}

html.theme-pebble :is(
  .input:focus,
  .input-with-icon:focus,
  .input-wrap:focus-within,
  textarea.input:focus,
  .input-wrap:focus-within textarea,
  .kyc-textarea:focus,
  .ai-chat-input-wrap:focus-within,
  .ui-select-open,
  .success-modal-replay-input:focus,
  .pin-input-field:focus-within
) {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .input-wrap input,
html.theme-pebble .input-wrap textarea,
html.theme-pebble .ai-chat-textarea {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .input-append,
html.theme-pebble .input-prepend,
html.theme-pebble .input-verify-btn {
  border-inline-start: none !important;
}

html.theme-pebble .input-append,
html.theme-pebble .input-prepend {
  background: transparent !important;
}

html.theme-pebble .input-pass-toggle {
  color: var(--color-input-icon);
}

html.theme-pebble .register-pass-rules {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: start;
}

html.theme-pebble .register-pass-rules li {
  position: relative;
  padding-inline-start: 0.9rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

html.theme-pebble .register-pass-rules li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: currentColor;
}

html.theme-pebble .register-pass-rules li.is-met {
  color: var(--color-success);
}

html.theme-pebble .input-wrap--value-display,
html.theme-pebble .input-wrap--result-green,
html.theme-pebble .input-wrap--verified {
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .input-wrap--result-green {
  background: rgba(74, 222, 128, 0.14) !important;
  border-color: transparent !important;
}

html.theme-pebble .input-wrap--result-green .input-wrap__label {
  color: var(--color-text-muted) !important;
}

html.theme-pebble .input-wrap--result-green input {
  color: var(--color-text-main) !important;
  font-weight: 700;
  font-size: 1.125rem;
}

html.theme-pebble .input-wrap--result-green .input-append {
  color: var(--color-text-muted) !important;
  font-weight: 600;
}

html.theme-pebble .success-modal-replay-box {
  border: none !important;
  box-shadow: none !important;
  background: var(--color-input-bg) !important;
  border-radius: var(--radius-btn) !important;
}

html.theme-pebble .form-field:has(.input-wrap--float-label) > :is(.field-label, .form-label, .kyc-label) {
  display: none;
}

html.theme-pebble .input-wrap--float-label {
  position: relative;
  justify-content: flex-end;
  padding: 0 1rem;
  height: 3.25rem;
  min-height: 3.25rem;
  max-height: 3.25rem;
}

html.theme-pebble .input-wrap--float-label.input-wrap--append {
  align-items: stretch;
  padding-inline-end: 0;
}

html.theme-pebble .input-wrap--float-label.input-wrap--prepend {
  align-items: stretch;
  padding-inline-start: 0;
}

html.theme-pebble .input-wrap--float-label.input-wrap--prepend:not(.input-wrap--append) {
  padding-inline-end: 1rem;
}

html.theme-pebble .input-wrap--float-label.input-wrap--append:not(.input-wrap--prepend) {
  padding-inline-start: 1rem;
}

html.theme-pebble .input-wrap--float-label.input-wrap--prepend.input-wrap--append {
  padding-inline: 0;
}

html.theme-pebble .input-wrap--float-label .input-wrap__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

html.theme-pebble .input-wrap--float-label .input-wrap__label {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-placeholder);
  transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  pointer-events: none;
  line-height: 1.2;
  text-align: start;
}

/* :-webkit-autofill لازم إلى جانب :placeholder-shown: أثناء التعبئة التلقائية يفرض
   main.css إظهار نص الحقل عبر -webkit-text-fill-color (وهو يتخطّى color: transparent
   أدناه)، فلو بقيت التسمية في المنتصف تراكبت فوق النص الظاهر. */

html.theme-pebble .input-wrap--float-label:focus-within .input-wrap__label,
html.theme-pebble .input-wrap--float-label.is-float-active .input-wrap__label,
html.theme-pebble .input-wrap--float-label:has(input:not(:placeholder-shown)) .input-wrap__label,
html.theme-pebble .input-wrap--float-label:has(input:-webkit-autofill) .input-wrap__label,
html.theme-pebble .input-wrap--float-label:has(textarea:not(:placeholder-shown)) .input-wrap__label {
  top: 0.45rem;
  transform: translateY(0);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

html.theme-pebble .input-wrap--float-label input,
html.theme-pebble .input-wrap--float-label textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

html.theme-pebble .input-wrap--float-label:focus-within input,
html.theme-pebble .input-wrap--float-label:focus-within textarea,
html.theme-pebble .input-wrap--float-label.is-float-active input,
html.theme-pebble .input-wrap--float-label.is-float-active textarea,
html.theme-pebble .input-wrap--float-label:has(input:not(:placeholder-shown)) input,
html.theme-pebble .input-wrap--float-label:has(input:-webkit-autofill) input,
html.theme-pebble .input-wrap--float-label:has(textarea:not(:placeholder-shown)) textarea {
  padding-top: 0.95rem !important;
  padding-bottom: 0.1rem !important;
}

html.theme-pebble .input-wrap--float-label:not(:focus-within):not(.is-float-active):not(:has(input:not(:placeholder-shown))):not(:has(input:-webkit-autofill)) input,
html.theme-pebble .input-wrap--float-label:not(:focus-within):not(.is-float-active):not(:has(textarea:not(:placeholder-shown))) textarea {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: transparent !important;
  caret-color: transparent;
}

html.theme-pebble .input-wrap--float-label:focus-within input,
html.theme-pebble .input-wrap--float-label:focus-within textarea {
  color: var(--color-text-main) !important;
  caret-color: var(--color-text-main);
}

html.theme-pebble .input-wrap--float-label.is-float-active input,
html.theme-pebble .input-wrap--float-label.is-float-active textarea,
html.theme-pebble .input-wrap--float-label:has(input:not(:placeholder-shown)) input,
html.theme-pebble .input-wrap--float-label:has(input:-webkit-autofill) input,
html.theme-pebble .input-wrap--float-label:has(textarea:not(:placeholder-shown)) textarea {
  color: var(--color-text-main) !important;
  caret-color: var(--color-text-main);
}

html.theme-pebble .ui-select-trigger.input-wrap--float-label:not(.is-float-active):not(:focus-within) .ui-select-filled-value {
  display: none;
}

html.theme-pebble .ui-select-trigger.input-wrap--float-label.is-float-active .ui-select-filled-value,
html.theme-pebble .ui-select-trigger.input-wrap--float-label:focus-within .ui-select-filled-value {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-top: 0.95rem;
  padding-bottom: 0.1rem;
}

html.theme-pebble .ui-select-trigger {
  transition: none !important;
}

html.theme-pebble .ui-select-open {
  box-shadow: none !important;
  border: none !important;
}

html.theme-pebble .api-readonly-field {
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-btn) !important;
  background: var(--color-input-bg) !important;
}

html.theme-pebble {
  --syriana-field-surface: var(--color-input-bg);
}

html:not(.dark).theme-pebble {
  --syriana-field-surface: var(--color-input-bg);
}

html.theme-pebble :where(
  .input,
  .input-with-icon,
  .input-wrap,
  .input-wrap--filled,
  textarea.input,
  .kyc-textarea,
  .ai-chat-input-wrap,
  .ui-select-trigger,
  .ui-dp__trigger,
  .success-modal-replay-input,
  .pin-input-field,
  .api-readonly-field,
  .success-modal-replay-box
):is(:hover, :focus, :focus-within, :active),
html.theme-pebble :where(
  .input,
  .input-with-icon,
  textarea.input,
  .kyc-textarea,
  .success-modal-replay-input
):is(:hover, :focus, :active),
html.theme-pebble .input-wrap:is(:hover, :focus-within, :active),
html.theme-pebble .ai-chat-input-wrap:is(:hover, :focus-within, :active),
html.theme-pebble .ui-select-trigger:is(:hover, :active),
html.theme-pebble .ui-select-open,
html.theme-pebble .ui-dp__trigger:is(:hover, :focus, :active),
html.theme-pebble .ui-dp__trigger--open,
html.theme-pebble :is(.modal-backdrop, .custom-purchase-window, .custom-pin-modal) :where(
  .input,
  .input-wrap,
  .input-wrap--filled,
  .ui-select-trigger,
  textarea.input
):is(:hover, :focus, :focus-within, :active),
html.theme-pebble :is(.modal-backdrop, .custom-purchase-window, .custom-pin-modal) .input-wrap:focus-within,
html.theme-pebble :is(.modal-backdrop, .custom-purchase-window, .custom-pin-modal) :is(.input:focus, .ui-select-open, textarea.input:focus) {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

html.theme-pebble .input-wrap--float-label:is(:hover, :focus-within, :active) {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
}

html:not(.dark).theme-pebble :is(
  .input,
  .input-with-icon,
  .input-wrap,
  .input-wrap--filled,
  .input-wrap--float-label,
  textarea.input,
  .kyc-textarea,
  .ai-chat-input-wrap,
  .ui-select-trigger,
  .ui-dp__trigger
) {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
}

html:not(.dark).theme-pebble :is(
  .input,
  .input-with-icon,
  .input-wrap,
  .input-wrap--filled,
  .input-wrap--float-label,
  textarea.input,
  .kyc-textarea,
  .ai-chat-input-wrap,
  .ui-select-trigger,
  .ui-dp__trigger
):is(:hover, :focus, :focus-within, :active),
html:not(.dark).theme-pebble .ui-select-open,
html:not(.dark).theme-pebble .ui-dp__trigger--open {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

html.theme-pebble .input-wrap.input-wrap--result-green,
html:not(.dark).theme-pebble .input-wrap.input-wrap--result-green,
html.theme-pebble .input-wrap.input-wrap--result-green:is(:hover, :focus, :focus-within, :active),
html:not(.dark).theme-pebble .input-wrap.input-wrap--result-green:is(:hover, :focus, :focus-within, :active) {
  background: rgba(74, 222, 128, 0.14) !important;
  background-color: rgba(74, 222, 128, 0.14) !important;
  border-color: transparent !important;
}

html.theme-pebble .ui-select-trigger.ui-select-trigger--stacked {
  min-height: 3.25rem;
  height: auto;
  max-height: none;
  overflow: hidden;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  padding-inline-start: 1rem;
  padding-inline-end: 0;
}

html.theme-pebble .ui-select-trigger.ui-select-trigger--stacked .input-wrap__inner {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

html.theme-pebble .ui-select-trigger.ui-select-trigger--stacked .input-wrap__label {
  position: static;
  inset: auto;
  transform: none;
  margin: 0 0 0.125rem;
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.theme-pebble .ui-select-trigger.ui-select-trigger--stacked .ui-select-filled-value {
  display: block !important;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  height: auto;
  min-height: 0;
}

html.theme-pebble .ui-select-trigger.ui-select-trigger--stacked .ui-select-text {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.theme-pebble .ui-select--deposit-currency .ui-select-trigger {
  min-height: 3.25rem;
}

html.theme-pebble .ui-select--deposit-currency .input-append {
  width: 2.25rem;
  min-width: 2.25rem;
  flex-shrink: 0;
  padding-inline: 0.25rem;
}

html.theme-pebble .ui-select-menu:not(.ui-select-menu--sheet) {
  background: var(--color-card-bg) !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22) !important;
  padding: 0.4rem !important;
}

html:not(.dark).theme-pebble .ui-select-menu:not(.ui-select-menu--sheet) {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
}

html.theme-pebble .ui-select-option {
  border-radius: calc(var(--radius-btn) - 6px) !important;
  margin: 0.15rem 0 !important;
  padding: 0.8rem 0.9rem !important;
  font-size: 0.9375rem;
  font-weight: 600;
  transform: none !important;
  box-shadow: none !important;
  transition: background 0.15s ease !important;
}

html.theme-pebble .ui-select-option:hover {
  background: color-mix(in srgb, var(--color-text-main) 8%, transparent) !important;
  transform: none !important;
  box-shadow: none !important;
}

html.theme-pebble .ui-select-option-selected {
  background: color-mix(in srgb, var(--color-text-main) 12%, transparent) !important;
  border: none !important;
  border-inline-start: none !important;
  padding-inline-start: 0.9rem !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

html.theme-pebble .ui-select-option-selected,
html.theme-pebble .ui-select-option-selected .ui-select-primary {
  color: var(--color-text-main) !important;
}

html.theme-pebble .ui-dp__trigger,
html.theme-pebble .ui-dp__trigger:hover:not(:disabled),
html.theme-pebble .ui-dp__trigger--open {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

html.theme-pebble .ui-select-empty {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

html.theme-pebble .ui-select-menu.ui-select-menu--purchase:not(.ui-select-menu--sheet) {
  background: var(--color-card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--color-border-soft) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  box-sizing: border-box;
  scrollbar-width: thin;
}

html.theme-pebble .ui-select-menu--purchase::-webkit-scrollbar {
  width: 4px;
}

html.theme-pebble .ui-select-menu--purchase::-webkit-scrollbar-thumb {
  background: var(--color-primary-soft);
  border-radius: 10px;
}

html.theme-pebble .ui-select-menu--purchase .ui-select-options {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-width: 0;
}

html.theme-pebble .ui-select-menu--purchase .ui-select-option {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0 !important;
  padding: 0.55rem 0.65rem !important;
  border: none !important;
  border-radius: 0.65rem !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: start;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-muted) !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

html.theme-pebble .ui-select-menu--purchase .ui-select-option :is(.ui-select-option-label, .ui-select-text, .ui-select-primary) {
  display: block;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: inherit !important;
}

html.theme-pebble .ui-select-menu--purchase .ui-select-option:hover {
  background: color-mix(in srgb, var(--color-primary) 10%, transparent) !important;
  color: var(--color-text-main) !important;
  transform: none !important;
  box-shadow: none !important;
}

html.theme-pebble .ui-select-menu--purchase .ui-select-option-selected {
  background: color-mix(in srgb, var(--color-primary) 12%, transparent) !important;
  color: var(--color-text-main) !important;
  font-weight: 700 !important;
  border: none !important;
  border-inline-start: none !important;
  padding-inline-start: 0.65rem !important;
  box-shadow: none !important;
}

html.theme-pebble .receipt-upload__btn {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-btn) !important;
  min-height: 3.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-placeholder);
  transition: none !important;
}

html.theme-pebble .receipt-upload__btn:hover,
html.theme-pebble .receipt-upload__btn:focus-visible {
  background: var(--syriana-field-surface) !important;
  background-color: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--color-placeholder);
}

html.theme-pebble .receipt-upload:has(.receipt-upload__preview) .receipt-upload__btn,
html.theme-pebble .receipt-upload:has(.receipt-upload__status--success) .receipt-upload__btn {
  color: var(--color-text-main);
}

html.theme-pebble .ui-dp-window {
  background: var(--color-card-bg) !important;
  border: none !important;
  border-radius: var(--radius-card) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22) !important;
}

html:not(.dark).theme-pebble .ui-dp-window {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
}

html.theme-pebble .ui-dp-window__head,
html.theme-pebble .ui-dp-window__foot {
  border-color: var(--color-border-soft);
}

html.theme-pebble .ui-dp__field-label {
  color: var(--color-text-muted);
  font-weight: 600;
}

html.theme-pebble .ui-dp__dd-trigger,
html.theme-pebble .ui-dp__day-chip {
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-btn) !important;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
}

html.theme-pebble .ui-dp__dd-trigger:hover,
html.theme-pebble .ui-dp__dd-trigger--open,
html.theme-pebble .ui-dp__day-chip:hover:not(:disabled) {
  background: var(--syriana-field-surface) !important;
  box-shadow: none !important;
}

html.theme-pebble .ui-dp__day-chip--selected:not(:disabled) {
  background: var(--color-btn-bg) !important;
  color: var(--color-btn-text) !important;
}

html.theme-pebble .ui-dp-floater {
  background: var(--color-card-bg) !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22) !important;
}

html:not(.dark).theme-pebble .ui-dp-floater {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
}

html.theme-pebble .ui-dp-floater__item:hover:not(:disabled) {
  background: color-mix(in srgb, var(--color-text-main) 8%, var(--syriana-field-surface)) !important;
}

html.theme-pebble .ui-dp-floater__item--active:not(:disabled) {
  background: var(--color-btn-bg) !important;
  color: var(--color-btn-text) !important;
}

html.theme-pebble .ui-dp-window__foot .btn-primary {
  min-height: 3rem;
  border-radius: var(--radius-btn) !important;
}

html.theme-pebble .page-order-detail .order-detail-title {
  font-weight: 800;
}

html.theme-pebble .page-order-detail .order-detail-field {
  border-radius: var(--radius-btn) !important;
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .page-order-detail .order-detail-replay {
  border-radius: var(--radius-card) !important;
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .page-order-detail .order-detail-print-btn {
  border-radius: var(--radius-btn) !important;
  background: var(--color-warning) !important;
  color: #111 !important;
  font-weight: 800 !important;
}

html.theme-pebble .page-order-detail .order-detail-btn {
  border-radius: var(--radius-btn) !important;
  font-weight: 800 !important;
}

html.theme-pebble .page-order-detail .order-detail-btn--objection {
  background: var(--color-primary) !important;
  color: var(--color-btn-text) !important;
}

html.theme-pebble .page-order-detail .order-detail-btn--cancel {
  background: var(--syriana-field-surface) !important;
  border: none !important;
  color: var(--color-text-muted) !important;
}

html.theme-pebble .page-order-detail .order-detail-btn--cancel:not(:disabled) {
  color: var(--color-text-main) !important;
}

html.theme-pebble .page-order-detail .order-detail-status-badge {
  border-radius: 999px !important;
}

html.theme-pebble .page-order-detail .order-detail-objection-history {
  border-radius: var(--radius-card) !important;
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .page-order-detail .order-detail-objection__field {
  border-radius: var(--radius-btn) !important;
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .page-order-detail .order-detail-objection__textarea {
  color: var(--color-text-main) !important;
  background: transparent !important;
}

html.theme-pebble .page-order-detail .order-detail-objection__textarea::placeholder {
  color: var(--color-placeholder) !important;
}

html.theme-pebble .page-order-detail .order-detail-objection__submit {
  border-radius: 999px !important;
  background: var(--color-primary) !important;
  color: var(--color-btn-text) !important;
}

html.theme-pebble .page-order-detail .order-detail-objection__cancel {
  border-radius: 999px !important;
  background: transparent !important;
  border: 1px solid #ef4444 !important;
  color: #ef4444 !important;
}

html.theme-pebble .page-order-detail .order-detail-objection-history__item {
  border-radius: var(--radius-btn) !important;
  background: var(--color-card-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .security-page__head {
  border-bottom: none;
  padding-bottom: 0;
}

html.theme-pebble .security-page__sessions-link {
  color: var(--color-text-main);
}

html.theme-pebble .security-page__sessions-link:hover {
  opacity: 0.88;
}

html.theme-pebble .security-modules {
  gap: 0.75rem;
}

html.theme-pebble .security-page .security-module {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-card) !important;
  border: none !important;
  background: var(--syriana-field-surface) !important;
  box-shadow: none !important;
}

html.theme-pebble .security-page .security-info-box {
  border: none !important;
  border-radius: var(--radius-btn) !important;
  background: color-mix(in srgb, var(--color-text-main) 6%, var(--syriana-field-surface)) !important;
  box-shadow: none !important;
  padding: 0.75rem 0.875rem;
}

html.theme-pebble .security-page .security-module__body {
  padding-top: 0.125rem;
}

html.theme-pebble .security-page .flex.flex-wrap.gap-3 .btn-primary,
html.theme-pebble .security-page .flex.flex-wrap.gap-3 .btn-secondary,
html.theme-pebble .security-page .flex.flex-wrap.gap-3 .btn-danger {
  min-height: 2.75rem;
}

html.theme-pebble .agents-page {
  max-width: 42rem;
  margin-inline: auto;
  padding: 1rem 0.75rem 2rem;
}

html.theme-pebble .agents-dir__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

html.theme-pebble .agents-dir__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.3;
}

html.theme-pebble .agents-dir__lead {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

html.theme-pebble .agents-dir__count {
  flex-shrink: 0;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
  background: color-mix(in srgb, var(--color-primary) 12%, var(--syriana-field-surface));
}

html.theme-pebble .agents-dir__search {
  position: relative;
  margin-bottom: 1rem;
}

html.theme-pebble .agents-dir__search-icon {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

html.theme-pebble .agents-dir__search-input {
  width: 100%;
  height: 2.75rem;
  padding-inline: 2.5rem 1rem;
  border: none;
  border-radius: var(--radius-card);
  background: var(--syriana-field-surface);
  color: var(--color-text-main);
  font-size: 0.875rem;
  outline: none;
}

html.theme-pebble .agents-dir__search-input::placeholder {
  color: var(--color-text-muted);
}

html.theme-pebble .agents-dir__search-input:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

html.theme-pebble .agents-dir__state {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.25rem 0 1rem;
}

html.theme-pebble .agents-dir__state--fail {
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  gap: 0.4rem;
}

html.theme-pebble .agents-dir__state-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

html.theme-pebble .agents-dir__state-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

html.theme-pebble .agents-dir__state-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

html.theme-pebble .agents-dir__retry {
  margin-top: 0.75rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  cursor: pointer;
}

html.theme-pebble .agents-dir__retry:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

html.theme-pebble .agents-dir__skel {
  border-radius: var(--radius-card) !important;
}

html.theme-pebble .agents-dir__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html.theme-pebble .agents-dir__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-card);
  background: var(--syriana-field-surface);
}

html.theme-pebble .agents-dir__avatar {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  background: color-mix(in srgb, var(--color-primary) 14%, transparent);
}

html.theme-pebble .agents-dir__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

html.theme-pebble .agents-dir__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

html.theme-pebble .agents-dir__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

html.theme-pebble .agents-dir__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.theme-pebble .agents-dir__code {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

html.theme-pebble .agents-dir__addr {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

html.theme-pebble .agents-dir__addr-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  opacity: 0.85;
}

html.theme-pebble .agents-dir__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

html.theme-pebble .agents-dir__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2rem;
  padding: 0 0.7rem;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

html.theme-pebble .agents-dir__btn:hover {
  opacity: 0.88;
}

html.theme-pebble .agents-dir__btn--wa {
  color: #fff;
  background: #25d366;
}

html.theme-pebble .agents-dir__btn--ghost {
  color: var(--color-text-main);
  background: color-mix(in srgb, var(--color-text-main) 8%, transparent);
}

html.theme-pebble .agents-dir__btn--link {
  color: var(--color-text-main);
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

html.theme-pebble .gate-status-page__title {
  color: var(--color-text-main) !important;
}

html.theme-pebble .gate-status-page__desc,
html.theme-pebble .gate-status-page .text-theme-muted {
  color: var(--color-text-muted) !important;
}

html.theme-pebble .gate-status-page__icon .text-theme-primary {
  color: var(--color-text-main) !important;
}

html.theme-pebble .error-page {
  color: var(--color-text-main);
}

html.theme-pebble .error-page__code {
  color: var(--color-text-muted) !important;
  letter-spacing: 0.08em;
}

html.theme-pebble .payment-method-card__body {
  background: var(--color-card-bg) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-card) !important;
}

html.theme-pebble .payment-method-card__media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .payment-method-card__img {
  border: none !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}

html.theme-pebble .payment-method-card__placeholder {
  background: var(--color-card-bg) !important;
}

html.theme-pebble .copyable-tag:not(.copyable-tag--static) {
  background: var(--color-card-bg) !important;
  border: none !important;
  border-radius: var(--radius-card) !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  color: var(--color-text-main) !important;
  font-weight: 600 !important;
  transform: none !important;
}

html.theme-pebble .copyable-tag:not(.copyable-tag--static):hover {
  background: var(--color-card-bg) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  color: var(--color-text-main) !important;
}

html.theme-pebble .copyable-tag-icon {
  color: var(--color-text-main) !important;
  opacity: 0.65;
}

html.theme-pebble .telegram-link-bar {
  background: var(--color-telegram-bar-bg, linear-gradient(165deg, #4cc3f7 0%, #229edd 42%, #0088cc 100%));
  color: var(--color-telegram-bar-text, #ffffff);
  border: none;
  border-radius: 5px;
}

html.theme-pebble .telegram-page__title {
  font-size: var(--font-size-title);
  font-weight: 800;
  color: var(--color-text-main);
}

html.theme-pebble .telegram-page__refresh {
  border: none !important;
  border-radius: 999px !important;
  background: var(--syriana-field-surface) !important;
  box-shadow: none !important;
  color: var(--color-text-main) !important;
}

html.theme-pebble .telegram-page .telegram-module {
  border-radius: var(--radius-card) !important;
  background: var(--syriana-field-surface) !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .telegram-page .telegram-module--disabled {
  border-radius: var(--radius-card) !important;
  background: color-mix(in srgb, var(--color-text-main) 6%, var(--syriana-field-surface)) !important;
}

html.theme-pebble .telegram-page .telegram-module__divider {
  background: color-mix(in srgb, var(--color-border-soft) 65%, transparent) !important;
}

html.theme-pebble .telegram-page .telegram-meta__row {
  border-bottom-color: color-mix(in srgb, var(--color-border-soft) 65%, transparent) !important;
}

html.theme-pebble .telegram-page .telegram-module__link-btn {
  border-radius: 999px !important;
  background: var(--color-primary) !important;
  color: var(--color-btn-text) !important;
  box-shadow: none !important;
}

html.theme-pebble .telegram-page .telegram-module__icon {
  background: var(--color-telegram-bar-bg, linear-gradient(165deg, #4cc3f7 0%, #229edd 42%, #0088cc 100%)) !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: none !important;
}

html.theme-pebble .telegram-page .telegram-module__icon--muted {
  background: color-mix(in srgb, var(--color-text-muted) 14%, var(--syriana-field-surface)) !important;
  color: var(--color-text-muted) !important;
}

html.theme-pebble .sidebar-login-card {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  box-shadow: none !important;
}

html.theme-pebble .sidebar-login-btn {
  background: #00e676 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

html.theme-pebble .sidebar-login-btn:hover {
  filter: brightness(1.05) !important;
  transform: none !important;
}

html.theme-pebble .sidebar-login-google {
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  transform: none !important;
}

html.theme-pebble .sidebar-login-google:hover {
  filter: brightness(0.97) !important;
  transform: none !important;
}

html.theme-pebble .deposit-code-logo__img {
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .deposit-code-logo__fallback {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble .deposit-code-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html.theme-pebble :is(
  [class*="text-red-"],
  [class*="text-green-"],
  [class*="text-emerald-"],
  [class*="text-blue-"],
  [class*="text-yellow-"],
  [class*="text-orange-"],
  [class*="text-amber-"],
  [class*="text-lime-"],
  [class*="text-cyan-"],
  [class*="text-sky-"],
  [class*="text-indigo-"],
  [class*="text-violet-"],
  [class*="text-purple-"],
  [class*="text-pink-"],
  [class*="text-rose-"],
  [class*="text-fuchsia-"],
  [class*="text-teal-"],
  .text-primary,
  .text-success,
  .text-error,
  .text-warning,
  .text-theme-primary,
  .text-info
):not(:is(
  .btn-primary,
  .btn-primary *,
  .btn-secondary,
  .btn-secondary *,
  .btn-danger,
  .btn-danger *,
  .btn-google,
  .btn-google *,
  .sidebar-login-btn,
  .sidebar-login-btn *,
  .sidebar-login-google,
  .sidebar-login-google *,
  .success-modal-btn-primary,
  .success-modal-btn-primary *,
  .toast-item,
  .toast-item *,
  .badge,
  .badge *,
  .status-chip--active,
  .status-chip--active *,
  .ribbon-tag-red,
  .ribbon-tag-red *,
  .pill-btn,
  .pill-btn *,
  .bottom-item.active .icon-wrap,
  .bottom-item.active .icon-wrap *,
  .icon-wrap-search,
  .icon-wrap-search *
)) {
  color: var(--color-text-main) !important;
}

html.theme-pebble :is(
  .prose a,
  .service-html a,
  .info-html a,
  .about-page__body a,
  .alert-modal-body a
) {
  color: var(--color-text-main) !important;
}

html.theme-pebble .ui-empty-state__illustration {
  width: 5.5rem;
  max-width: 100%;
}

html.theme-pebble .ui-empty-state--compact .ui-empty-state__illustration {
  width: 3.5rem;
}

html.theme-pebble .ui-empty-state__title {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.45;
}

html.theme-pebble .status-chip {
  border-radius: 999px !important;
  font-weight: 600 !important;
}

html.theme-pebble .status-chip:not(.status-chip--active) {
  background: var(--syriana-field-surface, var(--color-input-bg)) !important;
  border: none !important;
  color: var(--color-text-muted) !important;
  box-shadow: none !important;
}

html.theme-pebble .status-chip:not(.status-chip--active) .status-chip__badge {
  background: color-mix(in srgb, var(--color-text-muted) 14%, transparent) !important;
  color: var(--color-text-muted) !important;
}

html.theme-pebble .status-chip--active.status-chip--default {
  background: var(--color-primary) !important;
  border-color: transparent !important;
  color: var(--color-btn-text) !important;
}

html.theme-pebble .status-chip--active.status-chip--success {
  background: var(--color-success) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html.theme-pebble .status-chip--active.status-chip--warning {
  background: var(--color-warning) !important;
  border-color: transparent !important;
  color: #111 !important;
}

html.theme-pebble .status-chip--active.status-chip--error {
  background: var(--color-error) !important;
  border-color: transparent !important;
  color: #fff !important;
}

html.theme-pebble .status-chip--active .status-chip__badge {
  background: rgba(255, 255, 255, 0.22) !important;
  color: inherit !important;
}

html.theme-pebble button.profile-submit-btn {
  border-radius: 999px !important;
}

html.theme-pebble button.profile-plain-btn,
html.theme-pebble button.profile-plain-btn:hover,
html.theme-pebble button.profile-plain-btn:active {
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

html.theme-pebble :is(
  .ai-page-shell,
  .ai-page-empty,
  .ai-chat-welcome,
  .ai-history,
  .ai-chat-bubble,
  .ai-chat-action-btn,
  .ai-suggestion-chip
) {
  border: none !important;
  box-shadow: none !important;
}

html.theme-pebble :is(.ai-page-shell, .ai-page-empty, .ai-chat-welcome) {
  background: transparent !important;
}

/* ==========================================================================
   2) طبقة Pebble — ستايل تطبيق جوال حديث
   - كل الألوان من لوحة التحكم (التصميم ← الألوان/التدرجات): الستور يضعها كمتغيرات
     --color-* على <html>، والثيم يقرأها فقط عبر --pebble-* أدناه (لا يغيّرها).
   - الشكل ثابت للثيم: زوايا كبيرة (20–28px)، أزرار وحقول وشرائح حبّة، شريط سفلي عائم.
   - ممنوع: التوهّج، والانبثاق/القفز/التكبير. ظلال ناعمة جداً وانتقالات لونية فقط.
   ========================================================================== */

/* ── 2.1) المتغيرات (مشتقة من ألوان لوحة التحكم) ── */
html.theme-pebble {
  --pebble-bg: var(--color-page-bg);
  /* لون البطاقة من لوحة التحكم + 6% من لون النص: يبقى اللوح ظاهراً حتى لو تساوى مع لون الصفحة */
  --pebble-surface-2: color-mix(in srgb, var(--color-card-bg) 94%, var(--color-text-main) 6%);
  --pebble-surface-3: color-mix(in srgb, var(--color-card-bg) 88%, var(--color-text-main) 12%);
  --pebble-field: var(--color-input-bg);
  --pebble-ink: var(--color-text-main);
  --pebble-muted: var(--color-text-muted);
  --pebble-line: var(--color-border-soft);
  --pebble-accent: var(--color-primary);
  --pebble-accent-ink: var(--color-btn-text);
  --pebble-accent-soft: color-mix(in srgb, var(--color-primary) 14%, transparent);
  --pebble-btn-bg: var(--color-btn-bg);
  --pebble-btn-ink: var(--color-btn-text);
  /* سطح معكوس (نص الصفحة كخلفية) لبطاقة الرصيد وما شابه */
  --pebble-invert: var(--color-text-main);
  --pebble-invert-ink: var(--color-page-bg);
  --pebble-header: var(--color-header-surface, linear-gradient(45deg, var(--color-header-from), var(--color-header-to)));
  --pebble-sidebar: var(--color-sidebar-surface, var(--color-sidebar-bg));
  --pebble-radius-card: 22px;
  --pebble-radius-lg: 28px;
  --pebble-radius-sm: 18px;
  --pebble-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.05);

  /* حقول القاعدة المنسوخة تقرأ هذا المتغير */
  --syriana-field-surface: var(--color-input-bg);
  scrollbar-color: var(--pebble-surface-3) transparent;
}

html.theme-pebble.dark {
  --pebble-shadow: none;
}

html.theme-pebble body {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
}

html.theme-pebble :is(button, input, select, textarea) {
  font-family: inherit;
}

/* ── 2.2) الطباعة: عناوين عريضة ── */
html.theme-pebble :is(h1, h2, .section-title) {
  font-weight: 800;
  letter-spacing: -0.01em;
}

html.theme-pebble .section-title {
  font-size: 1.125rem;
}

html.theme-pebble .app-main :is(h1.text-lg, h2.text-lg, h1.text-2xl) {
  font-size: 1.4rem;
  font-weight: 800;
}

/* ── 2.3) لا توهّج ولا انبثاق ── */
html.theme-pebble :is(.elevation-5, .shadowz) {
  box-shadow: none !important;
}

html.theme-pebble :is(
  .dynamic-grid a.catalog-grid-card,
  .dynamic-grid .product-card-btn,
  .payment-method-btn,
  .catalog-grid-card,
  .btn,
  .btn-primary,
  .btn-secondary,
  .bottom-item,
  .bottom-item .icon-wrap,
  .bottom-item .item-label,
  .app-header__rank-img,
  .order-list-card,
  .notif-card,
  .wallet-v-item,
  .sidebar-item,
  .contact-fab-item
):is(:hover, :focus, .active, .route-active):not(:active) {
  transform: none !important;
}

html.theme-pebble :is(.dynamic-grid a.catalog-grid-card, .dynamic-grid .product-card-btn, .payment-method-btn) {
  transition: opacity 0.2s ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: auto;
}

html.theme-pebble :is(.modal-shell.custom-purchase-window, .custom-purchase-window.modal-shell) {
  animation: pebble-fade-in 0.18s ease both !important;
}

html.theme-pebble :is(.toast-enter-active, .toast-leave-active, .contact-fab-menu-enter-active) {
  transition: opacity 0.2s ease !important;
}

html.theme-pebble :is(.toast-enter-from, .toast-leave-to, .contact-fab-menu-enter-from, .contact-fab-menu-leave-to) {
  transform: none !important;
}

@keyframes pebble-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── 2.4) الهيدر: سطح الهيدر من لوحة التحكم بزوايا سفلية كبيرة، وأزرار دائرية شفافة ── */
html.theme-pebble .header-gradient,
html.theme-pebble .app-header {
  background: var(--pebble-header) !important;
  box-shadow: none !important;
  border-end-start-radius: var(--pebble-radius-lg);
  border-end-end-radius: var(--pebble-radius-lg);
}

html.theme-pebble .app-header {
  height: auto !important;
  min-height: 3.75rem !important;
}

html.theme-pebble .app-header__inner {
  height: 3.75rem !important;
  padding-inline: 1rem;
  gap: 0.5rem;
}

html.theme-pebble .app-header__start {
  gap: 0.5rem;
}

html.theme-pebble .app-header__btn {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease !important;
}

html.theme-pebble .app-header__btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.26);
}

html.theme-pebble .app-header__icon {
  width: 1.2rem;
  height: 1.2rem;
}

html.theme-pebble .app-header__balance {
  height: 2.4rem;
  padding-inline: 0.9rem 0.3rem;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

html.theme-pebble .app-header__balance-text {
  font-weight: 700;
  font-size: 0.82rem;
}

html.theme-pebble .app-header__deposit {
  padding: 0.25rem;
  color: var(--pebble-accent-ink);
  background: var(--pebble-accent);
}

html.theme-pebble .app-header__deposit:hover {
  color: var(--pebble-accent-ink);
}

html.theme-pebble .app-header__deposit-icon {
  width: 1.1rem;
  height: 1.1rem;
}

html.theme-pebble .app-header__site-name {
  font-weight: 800;
}

html.theme-pebble .header-notif-badge {
  background: var(--pebble-accent) !important;
  color: var(--pebble-accent-ink) !important;
  box-shadow: none !important;
}

html.theme-pebble .app-main > .max-w-6xl {
  padding-top: 1.25rem;
}

/* ── 2.5) الأزرار: حبّة بألوان الأزرار من لوحة التحكم ── */
html.theme-pebble :is(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-sm) {
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
}

html.theme-pebble .btn-primary {
  background: var(--pebble-btn-bg) !important;
  color: var(--pebble-btn-ink) !important;
  border: 0 !important;
}

html.theme-pebble .btn-primary:hover {
  opacity: 0.88;
}

html.theme-pebble .btn-secondary {
  background: var(--pebble-surface-2) !important;
  color: var(--pebble-ink) !important;
  border: 0 !important;
}

html.theme-pebble .btn-secondary:hover {
  background: var(--pebble-surface-3) !important;
}

/* ── 2.6) الحقول وشريط البحث ── */
html.theme-pebble :is(
  .input,
  .input-with-icon,
  .input-wrap,
  .input-wrap--filled,
  .input-wrap--float-label,
  .ui-select-trigger,
  .ui-dp__trigger,
  .ai-chat-input-wrap
) {
  border-radius: var(--pebble-radius-sm) !important;
  border: 0 !important;
  box-shadow: none !important;
  background: var(--pebble-field) !important;
}

html.theme-pebble :is(.input-wrap, .input-wrap--float-label):focus-within {
  box-shadow: inset 0 0 0 1.5px var(--pebble-accent) !important;
}

/* حقل البحث في الرئيسية وصفحة القسم: حبّة كاملة مع أيقونة داخل دائرة اللون الرئيسي */
html.theme-pebble .app-main .max-w-xl > .input-wrap--float-label {
  border-radius: 999px !important;
  min-height: 3.25rem;
  padding-inline: 1.25rem 0.35rem;
}

html.theme-pebble .app-main .max-w-xl > .input-wrap--float-label .input-append {
  flex: 0 0 2.6rem;
  align-self: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0 !important;
  border-radius: 999px;
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
}

html.theme-pebble .app-main .max-w-xl > .input-wrap--float-label .input-append :is(svg, .iconify) {
  opacity: 1 !important;
  color: inherit !important;
}

/* ── 2.7) البانر والسلايدر والأشرطة ── */
html.theme-pebble .app-slider {
  border-radius: var(--pebble-radius-lg) !important;
  box-shadow: none !important;
}

html.theme-pebble .app-slider img {
  border-radius: var(--pebble-radius-lg) !important;
}

html.theme-pebble .app-slider__dot {
  border-radius: 999px;
  transform: none !important;
  box-shadow: none !important;
  transition: width 0.2s ease, background-color 0.2s ease !important;
}

html.theme-pebble .app-slider__dot.is-active {
  background: var(--pebble-accent) !important;
}

html.theme-pebble :is(.catalog-block--banner, .catalog-block--banner .catalog-block__img) {
  border-radius: var(--pebble-radius-lg) !important;
  overflow: hidden;
}

html.theme-pebble .app-main .rounded-2xl.aspect-\[320\/100\] {
  border: 0 !important;
  border-radius: var(--pebble-radius-lg) !important;
}

html.theme-pebble .home-contest-banner {
  border-radius: var(--pebble-radius-card) !important;
  box-shadow: none !important;
  padding: 0.9rem 1rem !important;
}

html.theme-pebble .home-contest-banner__icon {
  border-radius: 999px !important;
}

html.theme-pebble .ads-bar-surface {
  border-radius: 999px;
}

html.theme-pebble .telegram-link-bar {
  border-radius: var(--pebble-radius-card) !important;
}

/* ── 2.8) الكتالوج ── */
html.theme-pebble .dynamic-grid {
  gap: 0.85rem 0.75rem;
}

html.theme-pebble .best-sellers-section h2 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem;
}

/* زر الرجوع في رأس صفحة القسم: دائرة */
html.theme-pebble .app-main .rounded-2xl.w-11.h-11 {
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: var(--pebble-surface-2) !important;
}

/* ── 2.9) الشرائح (chips): حبّة، والمختارة معبّأة باللون الرئيسي ── */
html.theme-pebble .status-chip {
  height: 2.5rem;
  padding-inline: 1.05rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  color: var(--pebble-ink) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .status-chip--active {
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
}

html.theme-pebble .status-chip--active.status-chip--success { color: #fff !important; background: var(--color-success) !important; }
html.theme-pebble .status-chip--active.status-chip--error { color: #fff !important; background: var(--color-error) !important; }
html.theme-pebble .status-chip--active.status-chip--warning { color: #111 !important; background: var(--color-warning) !important; }

html.theme-pebble .status-chip__badge {
  background: color-mix(in srgb, currentColor 14%, transparent) !important;
  color: inherit !important;
}

html.theme-pebble :is(.curr-chip, .orders-total-chip) {
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--pebble-surface-2) !important;
  box-shadow: none !important;
}

html.theme-pebble .orders-export-row {
  gap: 0.5rem;
}

/* ── 2.10) القائمة الجانبية ──
   بطاقة ملف شخصي معبّأة باللون الرئيسي (الصورة، الاسم، الرصيد، أزرار سريعة دائرية)،
   ثم روابط بشكل حبّة، والصفحة الحالية بخلفية لونية خفيفة. */
html.theme-pebble :is(.bg-theme-sidebar, .sidebar-content, .app-sidebar-drawer) {
  background: var(--pebble-sidebar) !important;
  box-shadow: none !important;
}

html.theme-pebble .app-sidebar-drawer {
  border-start-end-radius: var(--pebble-radius-lg);
  border-end-end-radius: var(--pebble-radius-lg);
}

html.theme-pebble .app-sidebar-drawer__border {
  display: none;
}

html.theme-pebble .sidebar-content > .pt-6 {
  margin: 0.75rem 0.75rem 0.5rem;
  padding: 1.25rem 1rem 1rem;
}

/* البطاقة بلون رئيسي مرفوع قليلاً + حدّ خفيف، كي تبقى ظاهرة حين تكون خلفية القائمة بنفس اللون الرئيسي */
html.theme-pebble .sidebar-content > .pt-6 {
  --pebble-sidebar-card: color-mix(in srgb, var(--pebble-accent) 88%, var(--pebble-accent-ink));
}

html.theme-pebble .sidebar-content > .pt-6:not(:has(.sidebar-login-wrap)) {
  border-radius: var(--pebble-radius-lg);
  background: var(--pebble-sidebar-card);
  color: var(--pebble-accent-ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pebble-accent-ink) 14%, transparent);
}

html.theme-pebble .sidebar-content > .pt-6 > .flex.justify-center:first-child {
  display: flex;
  justify-content: center;
}

html.theme-pebble .sidebar-content > .pt-6 > .flex.justify-center:first-child > a {
  display: block;
  flex: 0 0 auto;
  margin-inline: auto;
}

html.theme-pebble .sidebar-content > .pt-6:not(:has(.sidebar-login-wrap)) :is(.text-theme-main, .text-theme-muted, h3, h4, .sidebar-balance-amount, .sidebar-verified-badge) {
  color: var(--pebble-accent-ink) !important;
}

html.theme-pebble .sidebar-content > .pt-6:not(:has(.sidebar-login-wrap)) .text-theme-muted {
  opacity: 0.75;
}

html.theme-pebble .sidebar-avatar-wrap {
  width: 4.5rem !important;
  height: 4.5rem !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pebble-accent-ink) 35%, transparent) !important;
  --tw-ring-color: transparent !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 14%, transparent);
}

html.theme-pebble .sidebar-balance-amount {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

html.theme-pebble .sidebar-rank-chip {
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--pebble-accent-ink) !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 16%, transparent) !important;
}

html.theme-pebble .sidebar-rank-chip-icon {
  color: inherit !important;
}

html.theme-pebble :is(.sidebar-debt-inline, .sidebar-unpaid-pill) {
  border-radius: 999px !important;
  box-shadow: none !important;
}

html.theme-pebble .sidebar-content > .pt-6 .sidebar-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 !important;
  border-radius: 999px;
  color: var(--pebble-accent-ink) !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 16%, transparent);
  transition: background-color 0.2s ease !important;
}

html.theme-pebble .sidebar-content > .pt-6 .sidebar-icon-link:hover {
  background: color-mix(in srgb, var(--pebble-accent-ink) 26%, transparent);
}

html.theme-pebble .sidebar-content > .pt-6 .sidebar-icon-link :is(svg, .iconify) {
  width: 1.3rem;
  height: 1.3rem;
}

html.theme-pebble .sidebar-content > .pt-6 .mb-4:last-child,
html.theme-pebble .sidebar-content > .pt-6 > :last-child {
  margin-bottom: 0;
}

html.theme-pebble .sidebar-content .pill-btn {
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--pebble-accent-ink) !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 16%, transparent) !important;
}

html.theme-pebble .sidebar-content .sb-hr {
  display: none;
}

html.theme-pebble .sidebar-content .curr-chip.active {
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
}

/* بطاقة الزائر بنفس لون بطاقة الملف الشخصي، والزرّان بنفس الحجم */
html.theme-pebble .sidebar-content > .pt-6:has(.sidebar-login-wrap) {
  padding: 0;
}

html.theme-pebble .sidebar-login-card {
  padding: 0.5rem 0.25rem 0.25rem !important;
  border-radius: var(--pebble-radius-lg) !important;
  background: var(--pebble-sidebar-card) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pebble-accent-ink) 14%, transparent) !important;
}

html.theme-pebble .sidebar-login-card__title h3 {
  color: var(--pebble-accent-ink) !important;
}

html.theme-pebble .sidebar-login-card__text p {
  color: color-mix(in srgb, var(--pebble-accent-ink) 75%, transparent) !important;
}

html.theme-pebble .sidebar-login-card__actions {
  gap: 0.625rem;
  padding: 0 0.75rem 0.75rem !important;
}

html.theme-pebble .sidebar-login-card :is(.sidebar-login-btn, .google-signin) {
  box-sizing: border-box;
  width: 100% !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  gap: 0.5rem !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
}

html.theme-pebble .sidebar-login-btn {
  color: var(--pebble-accent-ink) !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 16%, transparent) !important;
}

html.theme-pebble .sidebar-login-btn:hover {
  filter: none !important;
  background: color-mix(in srgb, var(--pebble-accent-ink) 26%, transparent) !important;
}

html.theme-pebble .sidebar-login-card .google-signin span {
  font-weight: 700;
}

html.theme-pebble .sidebar-nav {
  padding: 0.25rem 0.75rem 0.5rem;
}

html.theme-pebble .sidebar-item {
  min-height: 3rem;
  margin: 0.15rem 0 !important;
  padding-inline: 1rem !important;
  gap: 0.85rem !important;
  border-radius: 999px !important;
  font-weight: 600;
  color: var(--pebble-ink) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

html.theme-pebble .sidebar-item:hover {
  background: var(--pebble-surface-2) !important;
}

/* router-link-active يطابق رابط "/" في كل الصفحات — نميّز الصفحة الحالية فقط */
html.theme-pebble .sidebar-item.router-link-active:not(.router-link-exact-active) {
  background: transparent !important;
}

html.theme-pebble .sidebar-item.router-link-exact-active {
  font-weight: 800;
  background: var(--pebble-accent-soft) !important;
}

html.theme-pebble .sidebar-item.router-link-exact-active .sidebar-nav-icon {
  color: var(--pebble-accent) !important;
}

html.theme-pebble :is(.sidebar-item.router-link-active, .sidebar-item.router-link-exact-active)::before,
html.theme-pebble :is(.sidebar-item.router-link-active, .sidebar-item.router-link-exact-active)::after {
  display: none !important;
}

html.theme-pebble .sidebar-nav-badge {
  border-radius: 999px !important;
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
  box-shadow: none !important;
}

html.theme-pebble .sidebar-theme-toggle {
  border-radius: 999px !important;
  box-shadow: none !important;
}

html.theme-pebble .sidebar-theme-toggle.is-dark {
  background: var(--pebble-accent) !important;
}

/* ── 2.11) محفظتي ──
   بطاقة الرصيد معبّأة باللون الرئيسي، والبقية ألواح بخط لوني صغير حسب النوع،
   وسجل المعاملات صفوف بزوايا كبيرة مع أيقونة دائرية ملوّنة بلون الحالة. */
html.theme-pebble .summary-cards-scroll {
  gap: 0.75rem;
  padding-bottom: 1rem;
}

html.theme-pebble .summary-card {
  position: relative;
  width: 9.5rem;
  height: 6.5rem;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  padding: 0.9rem 1rem !important;
  text-align: start !important;
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  color: var(--pebble-ink) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .summary-card::before {
  content: '';
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 1rem;
  width: 1.6rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--pebble-kind, var(--pebble-accent));
}

html.theme-pebble .summary-card.success { --pebble-kind: var(--color-success); }
html.theme-pebble .summary-card.error { --pebble-kind: var(--color-error); }
html.theme-pebble .summary-card.purple { --pebble-kind: var(--color-accent); }
html.theme-pebble .summary-card.info { --pebble-kind: var(--color-info); }

html.theme-pebble .summary-card h4 {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: inherit !important;
  text-shadow: none !important;
}

html.theme-pebble .summary-card h6 {
  color: var(--pebble-muted) !important;
  opacity: 1 !important;
}

html.theme-pebble .summary-card:first-child {
  width: 12rem;
  background: var(--pebble-accent) !important;
  color: var(--pebble-accent-ink) !important;
}

html.theme-pebble .summary-card:first-child::before {
  background: color-mix(in srgb, var(--pebble-accent-ink) 45%, transparent);
}

html.theme-pebble .summary-card:first-child h4 {
  font-size: 1.45rem !important;
}

html.theme-pebble .summary-card:first-child h6 {
  color: color-mix(in srgb, var(--pebble-accent-ink) 75%, transparent) !important;
}

html.theme-pebble .wallet-v-item {
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 0.6rem !important;
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .wallet-v-item__side {
  padding-top: 0 !important;
}

html.theme-pebble .wallet-v-item__icon-btn {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

html.theme-pebble .wallet-v-item__icon-btn.is-success {
  color: var(--color-success) !important;
  background: color-mix(in srgb, var(--color-success) 16%, transparent) !important;
}

html.theme-pebble .wallet-v-item__icon-btn.is-error {
  color: var(--color-error) !important;
  background: color-mix(in srgb, var(--color-error) 16%, transparent) !important;
}

html.theme-pebble .wallet-v-item__icon-btn.is-error .wallet-v-item__icon-svg {
  transform: rotate(180deg);
}

html.theme-pebble .wallet-v-item__title {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

html.theme-pebble .wallet-v-item__subtitle {
  color: var(--pebble-muted);
  opacity: 1 !important;
}

html.theme-pebble .wallet-v-item__sum {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

html.theme-pebble .wallet-stat {
  border-radius: var(--pebble-radius-sm) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ── 2.12) دفعاتي (سجل الإيداعات) وصفحة الإيداع ── */
html.theme-pebble .deposit-history-card {
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .deposit-history-card > button,
html.theme-pebble .deposit-history-card > .w-full {
  min-height: 3.75rem;
  padding: 0.85rem 1rem !important;
  border-radius: var(--pebble-radius-card) !important;
  background: transparent !important;
}

html.theme-pebble .deposit-history-card--open {
  box-shadow: inset 0 0 0 1.5px var(--pebble-accent-soft) !important;
}

html.theme-pebble .deposit-history-card .dep-chevron {
  width: 2rem;
  height: 2rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--pebble-bg);
  transition: transform 0.2s ease !important;
}

html.theme-pebble .deposit-history-card__body {
  margin: 0 0.6rem 0.6rem;
  border-radius: var(--pebble-radius-sm);
  background: var(--pebble-bg);
}

html.theme-pebble .deposit-history-card :is(.border-white\/10, .dep-detail-divider) {
  border-color: var(--pebble-line) !important;
}

html.theme-pebble .dep-row {
  padding-block: 0.55rem;
  border-color: var(--pebble-line) !important;
}

html.theme-pebble .dep-row__label {
  color: var(--pebble-muted) !important;
}

html.theme-pebble .page-narrow .rounded-full.text-xs {
  padding: 0.3rem 0.75rem !important;
}

html.theme-pebble :is(.payment-method-card, .deposit-voucher-card) {
  border-radius: var(--pebble-radius-card) !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

html.theme-pebble .payment-method-card {
  background: var(--pebble-surface-2) !important;
}

html.theme-pebble :is(.payment-method-card__media, .payment-method-card__img) {
  border-radius: calc(var(--pebble-radius-card) - 0.4rem) !important;
}

html.theme-pebble :is(.payment-method-card__cta, .deposit-voucher-card__arrow, .deposit-voucher-card__icon) {
  border-radius: 999px !important;
  box-shadow: none !important;
}

html.theme-pebble .payment-method-card__cta {
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
}

/* ── 2.13) طلباتي والإشعارات ── */
html.theme-pebble .order-list-card {
  --order-card-h: 4.75rem;
  padding: 0.6rem 1rem !important;
  margin-bottom: 0.6rem !important;
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .order-list-card:hover {
  background: var(--pebble-surface-3) !important;
}

html.theme-pebble .order-list-card__title {
  font-weight: 700 !important;
}

html.theme-pebble .order-list-card__status {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem 0.15rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pebble-status, var(--color-warning)) 14%, transparent);
}

html.theme-pebble .order-list-card__status:has(.order-list-card__status-label--ok) { --pebble-status: var(--color-success); }
html.theme-pebble .order-list-card__status:has(.order-list-card__status-label--err) { --pebble-status: var(--color-error); }

html.theme-pebble .order-list-card__amount {
  font-weight: 800 !important;
}

html.theme-pebble .notif-card {
  min-height: 4.5rem !important;
  gap: 0.85rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.theme-pebble .notif-card:hover {
  background: var(--pebble-surface-3) !important;
}

html.theme-pebble .notif-card--unread {
  background: color-mix(in srgb, var(--pebble-accent) 9%, var(--pebble-surface-2)) !important;
}

html.theme-pebble .notif-card__icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 999px !important;
  color: var(--pebble-accent);
  background: var(--pebble-accent-soft) !important;
}

html.theme-pebble .notif-card__icon-svg {
  width: 1.3rem !important;
  height: 1.3rem !important;
}

html.theme-pebble .notif-card__title {
  font-weight: 700 !important;
}

html.theme-pebble .notif-card__dot {
  background: var(--pebble-accent) !important;
  box-shadow: none !important;
}

html.theme-pebble :is(.notif-card__del, .notif-readall, .notif-more) {
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* ── 2.14) الحساب والأقسام العامة ── */
html.theme-pebble :is(.card, .form-field) {
  box-shadow: none !important;
}

html.theme-pebble .card {
  border-radius: var(--pebble-radius-card) !important;
  background: var(--pebble-surface-2) !important;
  border: 0 !important;
}

html.theme-pebble .profile-plain-btn {
  border-radius: 999px !important;
}

html.theme-pebble .app-main .border-white\/10 {
  border-color: var(--pebble-line) !important;
}

/* ── 2.15) النوافذ ── */
html.theme-pebble :is(.custom-purchase-window, .custom-pin-modal, .success-modal-card, .ui-select-menu) {
  border-radius: var(--pebble-radius-lg) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14) !important;
  border: 0 !important;
}

html.theme-pebble .ui-select-menu--sheet {
  border-end-start-radius: 0 !important;
  border-end-end-radius: 0 !important;
}

html.theme-pebble .price-badge {
  border-radius: 999px !important;
  color: var(--pebble-accent-ink) !important;
  background: var(--pebble-accent) !important;
  box-shadow: none !important;
}

/* زر التواصل العائم: دائرة بلون الأزرار، بلا تكبير */
html.theme-pebble .fab {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--pebble-btn-bg) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
  transition: background-color 0.2s ease !important;
}

html.theme-pebble .fab:is(:hover, :active) {
  transform: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

html.theme-pebble .fab-dots {
  background: var(--pebble-btn-ink) !important;
}

html.theme-pebble .contact-fab-item {
  transition: opacity 0.2s ease !important;
}

/* ── 2.16) الشريط السفلي: حبّة عائمة بلون الشريط من لوحة التحكم،
   والأيقونة النشطة في دائرة اللون الرئيسي (أو لون خلفية الأيقونة النشطة من الإعدادات). */
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced {
  inset-inline: 0.875rem !important;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
  height: 4.25rem !important;
  max-width: 30rem;
  margin-inline: auto;
  border-radius: 999px !important;
  background: var(--bn-bar-gradient, var(--bn-resolved-bar-bg, var(--color-bottom-nav-surface, var(--color-bottom-nav-bg)))) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
  border: 0 !important;
  overflow: visible;
}

html.theme-pebble.dark:root body nav.bottom-nav-root.bottom-nav-enhanced {
  box-shadow: inset 0 0 0 1px var(--pebble-line) !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced::before,
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced::after,
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item::before,
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item::after,
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .icon-wrap::before,
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .icon-wrap::after {
  display: none !important;
  animation: none !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-nav-inner {
  height: 100% !important;
  padding: 0 0.5rem !important;
  gap: 0.25rem;
  justify-content: space-around;
  align-items: center !important;
  background: transparent !important;
  border-radius: inherit;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
  animation: none !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item .item-label {
  transform: none !important;
  gap: 0;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item .icon-wrap {
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--bn-inactive-tint, var(--color-text-muted)) !important;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
  animation: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ضغطة أيقونة الشريط السفلي: القاعدة السابقة تثبّت transform: none بأولوية عالية */
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item:active .icon-wrap {
  transform: scale(0.9) !important;
  transition-duration: 90ms !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item .icon-wrap :is(svg, .iconify) {
  width: 1.4rem !important;
  height: 1.4rem !important;
  color: inherit !important;
  filter: none !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item:hover .icon-wrap {
  color: var(--bn-active-tint, var(--color-text-main)) !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-item.active .icon-wrap {
  background: var(--bn-icon-bg-active, var(--pebble-accent)) !important;
  color: var(--pebble-accent-ink) !important;
}

/* التسميات مخفية بصرياً (تبقى مقروءة لقارئ الشاشة) */
html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .label-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

html.theme-pebble:root body nav.bottom-nav-root.bottom-nav-enhanced .bottom-nav-badge {
  top: 0.35rem;
  inset-inline-end: 0.35rem;
  min-width: 1rem;
  color: var(--pebble-accent-ink);
  background: var(--pebble-accent);
}

@media (max-width: 1023.98px) {
  html.theme-pebble :is(.app-main, .app-shell > div > main) {
    padding-bottom: calc(4.25rem + 0.75rem + env(safe-area-inset-bottom, 0px) + 1.5rem) !important;
  }

  html.theme-pebble .fab-zone {
    bottom: calc(4.25rem + 0.75rem + env(safe-area-inset-bottom, 0px) + 1rem) !important;
  }
}

/* ── 2.17) الشاشات الأكبر ── */
@media (min-width: 640px) {
  html.theme-pebble .dynamic-grid {
    gap: 1.1rem 1rem;
  }
}

@media (min-width: 1024px) {
  html.theme-pebble .app-header {
    border-radius: 0 0 var(--pebble-radius-lg) var(--pebble-radius-lg);
  }

  html.theme-pebble .app-main > .max-w-6xl {
    padding-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.theme-pebble * {
    transition: none !important;
    animation: none !important;
  }
}

/* ── محادثة الدعم (/support) ── ألواح Pebble المسطّحة بلا حدود */
html.theme-pebble .sc {
  --sc-surface: var(--pebble-surface-2);
  --sc-surface-2: var(--pebble-surface-3);
  --sc-team-bg: var(--pebble-surface-3);
  --sc-field-bg: var(--pebble-field);
  --sc-line: color-mix(in srgb, var(--pebble-line) 60%, transparent);
  --sc-me-bg: var(--pebble-accent);
  --sc-me-fg: var(--pebble-accent-ink, var(--color-btn-text));
  --sc-radius: var(--pebble-radius-card);
  --sc-bubble-radius: 20px;
}
html.theme-pebble .sc .sc-bar,
html.theme-pebble .sc .sc-compose {
  border-color: transparent;
}
