/* Divido premium UI layer — additive, reversible, brand-first */
:root {
  /* Orange-only premium system — logo energy, no red */
  --dv-crimson: #FF6A00;
  --dv-crimson-deep: #1A120C;
  --dv-orange: #FF6A00;
  --dv-orange-soft: #FF8F3D;
  --dv-orange-hot: #FF4D00;
  --dv-orange-deep: #C44E00;
  --dv-orange-glow: rgba(255, 106, 0, .30);
  --dv-cream: #FBF6EF;
  --dv-cream-warm: #FFE8D2;
  --dv-surface: #FFFFFF;
  --dv-ink: #1A120C;
  --dv-muted: #8A7B72;
  --dv-gold: #E8A54B;
  --dv-hairline: rgba(26, 18, 12, .08);
  --dv-shadow: 0 20px 50px rgba(26, 18, 12, .08);
  --dv-shadow-soft: 0 8px 28px rgba(26, 18, 12, .06);
  --dv-ease: cubic-bezier(.22, 1, .36, 1);
  --dv-ease-out: cubic-bezier(.16, 1, .3, 1);
  --dv-radius-card: 24px;
  --dv-radius-pill: 999px;
}

html { background: var(--dv-cream); }
body.divido-premium {
  background:
    radial-gradient(circle at 12% 4%, rgba(254,110,0,.055), transparent 26rem),
    radial-gradient(circle at 90% 42%, rgba(123,31,44,.045), transparent 30rem),
    var(--dv-cream);
  color: var(--dv-ink);
}
body.divido-premium::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background-image: radial-gradient(rgba(35,15,43,.08) .55px, transparent .55px);
  background-size: 12px 12px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

/* ---------- first-load experience ---------- */
.divido-app-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: var(--dv-cream);
  color: var(--dv-crimson-deep);
  transition: opacity .65s var(--dv-ease), visibility .65s var(--dv-ease);
}
.divido-app-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.divido-loader-lockup { display: flex; align-items: center; gap: 10px; letter-spacing: .18em; font-size: 13px; font-weight: 800; }
.divido-loader-logo { width: 96px; height: auto; object-fit: contain; }
.divido-loader-mark {
  width: 34px; height: 34px; border-radius: 11px 11px 11px 3px;
  display: grid; place-items: center; color: white; font-weight: 900; font-size: 17px;
  background: linear-gradient(135deg, var(--dv-orange), var(--dv-orange-soft));
  box-shadow: 0 9px 22px rgba(254,110,0,.24);
}
.divido-loader-copy { margin: 0; color: var(--dv-muted); font-size: 12px; letter-spacing: .02em; }
.divido-loader-line { width: 132px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(123,31,44,.12); }
.divido-loader-line span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dv-orange), var(--dv-gold)); animation: dvLoaderLine 1.2s ease-in-out infinite; }
@keyframes dvLoaderLine { 0% { transform: translateX(-140%); } 100% { transform: translateX(340%); } }

.divido-transition-veil { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .24s ease; background: radial-gradient(circle at 50% 40%, rgba(254,110,0,.08), transparent 42%), rgba(251,246,239,.16); }
body.divido-premium.ui-transitioning .divido-transition-veil { opacity: 1; }
.divido-network-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 120; pointer-events: none; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--dv-orange), var(--dv-gold), var(--dv-crimson)); opacity: 0; transition: transform .4s var(--dv-ease), opacity .2s ease; }
body.divido-premium.is-fetching .divido-network-progress { opacity: 1; transform: scaleX(.78); animation: dvNetworkProgress 1.8s ease-in-out infinite; }
@keyframes dvNetworkProgress { 0%,100% { transform: scaleX(.16); } 50% { transform: scaleX(.92); } }

/* ---------- premium app shell ---------- */
body.divido-premium .app-header {
  background: rgba(251,246,239,.84);
  border-bottom: 1px solid rgba(35,15,43,.075);
  box-shadow: 0 5px 22px rgba(35,15,43,.045);
  padding: 14px 18px 11px;
}
body.divido-premium .app-header .logo-img { height: 28px; filter: drop-shadow(0 3px 5px rgba(35,15,43,.08)); }
body.divido-premium .hdr-icons { gap: 8px; }
body.divido-premium .hdr-icons > * { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--dv-hairline); border-radius: 12px; background: rgba(255,253,249,.72); }
body.divido-premium .hdr-icons .icon-img { width: 18px; height: 18px; }
body.divido-premium .view { padding-bottom: 108px; }
body.divido-premium .view:not(.hidden) { animation: dvViewIn .52s var(--dv-ease) both; }
@keyframes dvViewIn { from { opacity: 0; transform: translateY(13px) scale(.992); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
body.divido-premium .sec-title { color: var(--dv-crimson-deep); letter-spacing: -.02em; }
body.divido-premium .home-greet { padding-top: 7px; }
body.divido-premium .hg-hi { color: var(--dv-orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
body.divido-premium .hg-name { color: var(--dv-crimson-deep); font-size: 22px; letter-spacing: -.035em; }

/* ---------- cards and hierarchy ---------- */
body.divido-premium .prop-card,
body.divido-premium .fund-card,
body.divido-premium .inv-card,
body.divido-premium .card-plain,
body.divido-premium .menu-list,
body.divido-premium .media-card {
  background: rgba(255,253,249,.94);
  border: 1px solid var(--dv-hairline);
  box-shadow: 0 8px 28px rgba(35,15,43,.065);
}
body.divido-premium .prop-card,
body.divido-premium .fund-card { border-radius: 22px; }
body.divido-premium .prop-card:hover,
body.divido-premium .fund-card:hover,
body.divido-premium .inv-card:hover { transform: translateY(-3px); box-shadow: var(--dv-shadow); }
body.divido-premium .prop-card,
body.divido-premium .fund-card,
body.divido-premium .inv-card { transition: transform .35s var(--dv-ease), box-shadow .35s ease, border-color .35s ease; }
body.divido-premium .prop-card:active,
body.divido-premium .fund-card:active { transform: scale(.988); }
body.divido-premium .prop-img { height: 174px; }
body.divido-premium .prop-body { padding: 16px 16px 17px; }
body.divido-premium .prop-body h3 { color: var(--dv-crimson-deep); letter-spacing: -.025em; }
body.divido-premium .prop-price { color: var(--dv-crimson); }
body.divido-premium .bar-fill { background: linear-gradient(90deg, var(--dv-crimson), var(--dv-orange)); }
body.divido-premium .banner-card { border: 1px solid rgba(254,110,0,.18); background: linear-gradient(135deg, #fff7ed, #fbe9d8); box-shadow: 0 9px 26px rgba(254,110,0,.08); }
body.divido-premium .nw-card,
body.divido-premium .wallet-hero,
body.divido-premium .rewards-hero {
  background: linear-gradient(140deg, var(--dv-crimson-deep) 0%, #401a2d 55%, var(--dv-crimson) 100%);
  box-shadow: 0 18px 36px rgba(35,15,43,.22);
}
body.divido-premium .nw-card::after,
body.divido-premium .wallet-hero::after,
body.divido-premium .rewards-hero::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -58px; top: -72px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 36px rgba(255,255,255,.022);
}
body.divido-premium .nw-label,
body.divido-premium .w-label { color: rgba(255,249,238,.72); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
body.divido-premium .nw-val,
body.divido-premium .w-balance { letter-spacing: -.045em; }

/* ---------- controls ---------- */
body.divido-premium .btn.primary { background: linear-gradient(135deg, var(--dv-orange), var(--dv-orange-soft)); box-shadow: 0 10px 22px rgba(254,110,0,.21); }
body.divido-premium .btn.primary:hover { box-shadow: 0 13px 28px rgba(254,110,0,.30); transform: translateY(-1px); }
body.divido-premium .btn.gray { background: rgba(255,253,249,.85); color: var(--dv-crimson-deep); border: 1px solid var(--dv-hairline); }
body.divido-premium .chip.on { color: var(--dv-crimson); border-color: var(--dv-orange); }
body.divido-premium .seg { padding: 4px; border: 1px solid var(--dv-hairline); background: rgba(255,253,249,.72); border-radius: 16px; }
body.divido-premium .seg-btn { border-radius: 12px; }
body.divido-premium .seg-btn.on { background: var(--dv-crimson-deep); color: #fffaf2; box-shadow: 0 5px 15px rgba(35,15,43,.16); }
body.divido-premium .input:focus { border-color: var(--dv-orange); box-shadow: 0 0 0 4px rgba(254,110,0,.10); }

/* ---------- navigation: compact, calm, unmistakably branded ---------- */
body.divido-premium .tabbar {
  left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom));
  border: 1px solid rgba(35,15,43,.11); border-radius: 22px; padding: 5px 5px 5px;
  background: rgba(255,253,249,.90); box-shadow: 0 16px 36px rgba(35,15,43,.16);
  backdrop-filter: blur(22px) saturate(1.12); -webkit-backdrop-filter: blur(22px) saturate(1.12);
}
body.divido-premium .tabbar-btn { position: relative; min-height: 53px; border-radius: 16px; color: var(--dv-muted); font-size: 10px; font-weight: 700; }
body.divido-premium .tabbar-btn::before { content: ""; position: absolute; inset: 3px; border-radius: 14px; background: transparent; z-index: -1; transition: background .25s ease, transform .25s var(--dv-ease); }
body.divido-premium .tabbar-btn.on { color: var(--dv-crimson); }
body.divido-premium .tabbar-btn.on::before { background: linear-gradient(135deg, rgba(254,110,0,.14), rgba(123,31,44,.07)); transform: scale(1); }
body.divido-premium .tabbar-btn img { width: 21px; height: 21px; margin-bottom: 4px; transition: transform .3s var(--dv-ease), filter .3s ease; }
body.divido-premium .tabbar-btn.on img { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 4px 5px rgba(254,110,0,.20)); }
body.divido-premium .tabbar-btn span { position: relative; z-index: 1; letter-spacing: .01em; }

/* Profile menu becomes grouped without removing any feature. Labels are injected by premium.js. */
body.divido-premium .menu-list { overflow: hidden; border-radius: 22px; }
body.divido-premium .premium-menu-label { padding: 14px 16px 7px; color: var(--dv-orange); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; background: rgba(254,110,0,.035); }
body.divido-premium .menu-list button { min-height: 55px; border-bottom-color: rgba(35,15,43,.07); }
body.divido-premium .menu-list button:hover { background: rgba(254,110,0,.055); padding-inline-start: 19px; }

/* ---------- modal and support transitions ---------- */
body.divido-premium #modal { background: rgba(35,15,43,.42); backdrop-filter: blur(15px) saturate(1.2); -webkit-backdrop-filter: blur(15px) saturate(1.2); }
body.divido-premium #modal:not(.hidden) .modal-card { animation: dvSheetIn .52s var(--dv-ease) both; }
body.divido-premium .modal-card { border: 1px solid rgba(255,255,255,.38); box-shadow: 0 -18px 60px rgba(35,15,43,.28); }
@keyframes dvSheetIn { from { opacity: 0; transform: translateY(70px) scale(.98); } to { opacity: 1; transform: none; } }
body.divido-premium .toast { background: var(--dv-crimson-deep) !important; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 14px 30px rgba(35,15,43,.23); }

/* ---------- loading skeletons and dynamic content entrance ---------- */
body.divido-premium .skel-card,
body.divido-premium .skel-tx,
body.divido-premium .sk-stat { background: linear-gradient(105deg, rgba(123,31,44,.07) 25%, rgba(254,110,0,.15) 37%, rgba(123,31,44,.07) 63%); background-size: 300% 100%; animation: dvShimmer 1.45s ease-in-out infinite; border: 1px solid rgba(123,31,44,.08); }
@keyframes dvShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
body.divido-premium .premium-enter { animation: dvCardIn .55s var(--dv-ease) both; }
@keyframes dvCardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.divido-premium .premium-enter:nth-child(2) { animation-delay: .035s; }
body.divido-premium .premium-enter:nth-child(3) { animation-delay: .07s; }
body.divido-premium .premium-enter:nth-child(4) { animation-delay: .105s; }
body.divido-premium .premium-enter:nth-child(5) { animation-delay: .14s; }

/* ---------- responsive refinement ---------- */
@media (min-width: 720px) {
  body.divido-premium .screen-app { background: radial-gradient(circle at 50% 0, rgba(254,110,0,.07), transparent 32rem), var(--dv-cream); }
  body.divido-premium .view { max-width: 600px; }
  body.divido-premium .tabbar { max-width: 576px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.divido-premium *, body.divido-premium *::before, body.divido-premium *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Dark mode keeps the same premium hierarchy. */
body.divido-premium.dark { --dv-cream: #181116; --dv-surface: #21171b; --dv-ink: #fff8ef; --dv-muted: #c5b6ae; --dv-hairline: rgba(255,248,239,.12); }
body.divido-premium.dark .app-header,
body.divido-premium.dark .tabbar { background: rgba(24,17,22,.88); border-color: rgba(255,248,239,.13); }
body.divido-premium.dark .prop-card,
body.divido-premium.dark .fund-card,
body.divido-premium.dark .inv-card,
body.divido-premium.dark .card-plain,
body.divido-premium.dark .menu-list,
body.divido-premium.dark .media-card { background: rgba(33,23,27,.96); border-color: rgba(255,248,239,.11); }
body.divido-premium.dark .sec-title,
body.divido-premium.dark .hg-name,
body.divido-premium.dark .prop-body h3 { color: #fff8ef; }
body.divido-premium.dark .premium-menu-label { background: rgba(254,110,0,.08); }

/* Apple-cleanup pass: light heroes, focused detail screens, calmer actions. */
body.divido-premium .hero-white .w-label,
body.divido-premium .hero-white .w-sub,
body.divido-premium .hero-white .tier-progress > span,
body.divido-premium .inv-hero .w-label,
body.divido-premium .inv-hero .w-sub,
body.divido-premium .rewards-hero .w-label,
body.divido-premium .rewards-hero .w-sub { color: var(--dv-muted) !important; }
body.divido-premium .hero-white .w-balance,
body.divido-premium .inv-hero .w-balance,
body.divido-premium .rewards-hero .w-balance { color: var(--dv-crimson) !important; -webkit-text-fill-color: var(--dv-crimson) !important; background: none !important; }
body.divido-premium .hero-white .w-act { color: var(--dv-ink) !important; background: rgba(255,253,249,.92) !important; border-color: rgba(123,31,44,.16) !important; }
body.divido-premium .hero-white .w-act span { color: var(--dv-orange) !important; }
body.divido-premium .btn.primary,
body.divido-premium .btn.whatsapp { background: linear-gradient(135deg, var(--dv-orange), var(--dv-orange-soft)) !important; box-shadow: 0 10px 22px rgba(254,110,0,.22) !important; }
body.divido-premium .m-icon,
body.divido-premium .p-badge.b-fund,
body.divido-premium .p-badge.b-new { background: linear-gradient(135deg, var(--dv-crimson), var(--dv-orange)) !important; }
body.divido-premium[data-active-view="detail"] .tabbar,
body.divido-premium[data-active-view="subpage"] .tabbar { opacity: 0; transform: translateY(130%); pointer-events: none; }
body.divido-premium .d-specs { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 4px; }
body.divido-premium .d-specs .spec { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 10px; background: rgba(123,31,44,.055); color: var(--dv-muted); font-size: 11px; }
body.divido-premium .d-specs .ic-sm { width: 14px; height: 14px; }
body.divido-premium .inv-num { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 500px) {
  body.divido-premium .d-head { padding: 16px 15px 14px; }
  body.divido-premium .d-price-row { margin-top: 12px; }
}

/* Minimal visibility control icon, replacing platform-dependent emoji glyphs. */
body.divido-premium .nw-eye,
body.divido-premium .eye-btn { position: relative; font-size: 0 !important; }
body.divido-premium .nw-eye::before,
body.divido-premium .eye-btn::before { content: ""; width: 15px; height: 9px; border: 1.5px solid currentColor; border-radius: 85% 15%; transform: rotate(-8deg); opacity: .82; }
body.divido-premium .nw-eye::after,
body.divido-premium .eye-btn::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .82; }
body.divido-premium .w-act .action-ic { width: 16px; height: 16px; object-fit: contain; margin-bottom: 3px; }
body.divido-premium .hero-white .w-act .action-ic { filter: saturate(1.1); }


/* ============================================================
   PIXEL FUTURISTIC × APPLE 2026 — brand-locked (Atlantis)
   Additive layer. Orange logo stays. Crimson + cream system.
   ============================================================ */

:root {
  --px: 4px;
  --dv-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dv-ease-out: cubic-bezier(.16, 1, .3, 1);
  --dv-glow-orange: 0 0 0 1px rgba(254,110,0,.35), 0 8px 28px rgba(254,110,0,.28);
  --dv-glow-crimson: 0 0 24px rgba(255,106,0,.35);
}

/* denser pixel atmosphere (subtle) */
body.divido-premium.px-futuristic::before {
  opacity: .28;
  background-image:
    linear-gradient(rgba(35,15,43,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,15,43,.03) 1px, transparent 1px),
    radial-gradient(rgba(35,15,43,.07) .6px, transparent .6px);
  background-size: 24px 24px, 24px 24px, 10px 10px;
}

/* ----- Apple large-title money ----- */
body.divido-premium.px-futuristic .nw-val,
body.divido-premium.px-futuristic .w-balance {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.05;
}
body.divido-premium.px-futuristic .hg-name {
  font-size: clamp(22px, 5.2vw, 28px);
  font-weight: 800;
}

/* ----- Sales strip (home) ----- */
body.divido-premium .dv-sales-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 2px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.divido-premium .dv-sales-strip::-webkit-scrollbar { display: none; }
body.divido-premium .dv-sales-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--dv-crimson-deep);
  background: rgba(255,253,249,.9);
  border: 1px solid var(--dv-hairline);
  box-shadow: 0 4px 14px rgba(35,15,43,.05);
  white-space: nowrap;
}
body.divido-premium .dv-sales-chip b { color: var(--dv-orange); font-weight: 800; }
body.divido-premium .dv-sales-chip.hot {
  color: #fff;
  background: linear-gradient(135deg, var(--dv-crimson), #FF8F3D);
  border-color: transparent;
  box-shadow: var(--dv-glow-crimson);
}
body.divido-premium .dv-sales-chip .px-dot {
  width: 6px; height: 6px; image-rendering: pixelated;
  background: currentColor;
  box-shadow: 2px 0 0 currentColor, 0 2px 0 currentColor, 2px 2px 0 currentColor;
  opacity: .85;
}

/* ----- Pixel corner brackets on cards ----- */
body.divido-premium.px-futuristic .prop-card,
body.divido-premium.px-futuristic .fund-card,
body.divido-premium.px-futuristic .inv-card {
  position: relative;
  isolation: isolate;
}
body.divido-premium.px-futuristic .prop-card::before,
body.divido-premium.px-futuristic .fund-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  z-index: 3;
  border-radius: 2px;
  opacity: .55;
  background:
    linear-gradient(var(--dv-orange), var(--dv-orange)) top left / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top left / 2px 10px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top right / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top right / 2px 10px no-repeat,
    linear-gradient(var(--dv-crimson), var(--dv-crimson)) bottom left / 10px 2px no-repeat,
    linear-gradient(var(--dv-crimson), var(--dv-crimson)) bottom left / 2px 10px no-repeat,
    linear-gradient(var(--dv-crimson), var(--dv-crimson)) bottom right / 10px 2px no-repeat,
    linear-gradient(var(--dv-crimson), var(--dv-crimson)) bottom right / 2px 10px no-repeat;
  transition: opacity .35s ease;
}
body.divido-premium.px-futuristic .prop-card:hover::before,
body.divido-premium.px-futuristic .fund-card:hover::before { opacity: .95; }

/* funding bar pixel ticks */
body.divido-premium.px-futuristic .bar {
  position: relative;
  height: 7px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(35,15,43,.08);
  image-rendering: pixelated;
}
body.divido-premium.px-futuristic .bar::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 7px,
    rgba(255,253,249,.55) 7px,
    rgba(255,253,249,.55) 8px
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
}
body.divido-premium.px-futuristic .bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.1s var(--dv-ease-out);
  background: linear-gradient(90deg, var(--dv-crimson) 0%, var(--dv-orange) 70%, #ffc27a 100%);
  box-shadow: 0 0 12px rgba(254,110,0,.45);
}

/* urgency pulse */
body.divido-premium.px-futuristic .tag.urg,
body.divido-premium.px-futuristic .p-badge.b-urg {
  animation: dvUrgPulse 1.8s ease-in-out infinite;
  color: #fff !important;
  background: linear-gradient(135deg, #FF6A00, #fe6e00) !important;
  border: 0 !important;
  font-weight: 800;
}
@keyframes dvUrgPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.45); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(255,106,0,0); transform: scale(1.03); }
}

/* NEW badge pixel blink */
body.divido-premium.px-futuristic .p-badge.b-new {
  animation: dvPixelBlink 2.4s steps(2, end) infinite;
}
@keyframes dvPixelBlink {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15) saturate(1.2); }
}

/* ----- Primary CTA shimmer (sales) ----- */
body.divido-premium.px-futuristic .btn.primary,
body.divido-premium.px-futuristic .inv-now,
body.divido-premium.px-futuristic #start-invest {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--dv-spring), box-shadow .3s ease, filter .2s ease;
}
body.divido-premium.px-futuristic .btn.primary::after,
body.divido-premium.px-futuristic .inv-now::after,
body.divido-premium.px-futuristic #start-invest::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
  transform: translateX(-60%) rotate(8deg);
  animation: dvShimmerSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dvShimmerSweep {
  0%, 55% { transform: translateX(-70%) rotate(8deg); opacity: 0; }
  60% { opacity: 1; }
  85% { transform: translateX(70%) rotate(8deg); opacity: .9; }
  100% { opacity: 0; }
}
body.divido-premium.px-futuristic .btn.primary:active,
body.divido-premium.px-futuristic .inv-now:active,
body.divido-premium.px-futuristic .tabbar-btn:active,
body.divido-premium.px-futuristic .pchip:active,
body.divido-premium.px-futuristic .w-act:active {
  transform: scale(.96);
  transition-timing-function: var(--dv-spring);
}
body.divido-premium.px-futuristic .btn.primary.is-press,
body.divido-premium.px-futuristic .inv-now.is-press {
  transform: scale(.95);
  filter: brightness(1.05);
  box-shadow: var(--dv-glow-orange) !important;
}

/* min-invest caption under card CTA */
body.divido-premium .inv-meta {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dv-muted);
  letter-spacing: .04em;
}
body.divido-premium .inv-meta b { color: var(--dv-crimson); font-weight: 800; }

/* ----- Tabbar pixel underglow ----- */
body.divido-premium.px-futuristic .tabbar-btn.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 3px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, var(--dv-orange), var(--dv-crimson));
  box-shadow: 0 0 10px rgba(254,110,0,.7);
  image-rendering: pixelated;
  border-radius: 1px;
}

/* ----- Sticky detail CTA glass ----- */
body.divido-premium.px-futuristic .d-bottom {
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  background: rgba(251,246,239,.88) !important;
  border-top: 1px solid rgba(35,15,43,.1);
  box-shadow: 0 -12px 40px rgba(35,15,43,.1);
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
body.divido-premium.px-futuristic .d-bottom .d-cta-sub {
  font-size: 11px;
  color: var(--dv-muted);
  margin: 0 0 8px;
  text-align: center;
  font-weight: 600;
}
body.divido-premium.px-futuristic .d-bottom .d-cta-sub b { color: var(--dv-crimson); }

/* ----- Modal spring + pixel handle ----- */
body.divido-premium.px-futuristic #modal:not(.hidden) .modal-card {
  animation: dvSheetSpring .58s var(--dv-spring) both;
}
@keyframes dvSheetSpring {
  0% { opacity: 0; transform: translateY(88px) scale(.96); }
  70% { opacity: 1; transform: translateY(-6px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
body.divido-premium.px-futuristic .modal-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--dv-orange), var(--dv-crimson));
  box-shadow: 0 0 8px rgba(254,110,0,.4);
}

/* pay chips */
body.divido-premium.px-futuristic .pchip {
  transition: transform .2s var(--dv-spring), background .2s ease, box-shadow .2s ease;
  border: 1px solid var(--dv-hairline);
}
body.divido-premium.px-futuristic .pchip.on {
  background: linear-gradient(135deg, rgba(254,110,0,.16), rgba(255,106,0,.1));
  border-color: rgba(254,110,0,.45);
  box-shadow: 0 0 0 1px rgba(254,110,0,.2), 0 6px 16px rgba(254,110,0,.12);
  color: var(--dv-crimson-deep);
  font-weight: 800;
}

/* ----- Toast spring ----- */
body.divido-premium.px-futuristic #toast:not(.hidden) {
  animation: dvToastIn .45s var(--dv-spring) both;
}
@keyframes dvToastIn {
  from { opacity: 0; transform: translate(-50%, 16px) scale(.92); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* ----- Receipt / success ----- */
body.divido-premium.px-futuristic .receipt {
  text-align: center;
  animation: dvCardIn .5s var(--dv-ease-out) both;
}
body.divido-premium.px-futuristic .receipt .rc-check {
  width: 56px; height: 56px; margin: 0 auto 10px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--dv-orange), var(--dv-crimson));
  box-shadow: var(--dv-glow-orange);
  animation: dvSuccessPop .55s var(--dv-spring) both;
}
@keyframes dvSuccessPop {
  0% { transform: scale(.4) rotate(-12deg); opacity: 0; }
  70% { transform: scale(1.12) rotate(4deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* confetti canvas */
#dv-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
}

/* ripple */
.dv-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: dvRipple .55s ease-out forwards;
  background: rgba(255,255,255,.45);
  pointer-events: none;
}
@keyframes dvRipple {
  to { transform: scale(2.6); opacity: 0; }
}

/* list stagger refinement */
body.divido-premium.px-futuristic .premium-enter {
  animation: dvPixelEnter .6s var(--dv-ease-out) both;
}
@keyframes dvPixelEnter {
  from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* empty state CTA */
body.divido-premium .empty-note {
  text-align: center;
  padding: 28px 16px;
  border: 1px dashed rgba(35,15,43,.14);
  border-radius: 18px;
  background: rgba(255,253,249,.7);
}
body.divido-premium .empty-note .btn { margin-top: 12px; }

/* auth polish */
body.divido-premium.px-futuristic #screen-auth .onb-title {
  letter-spacing: -.03em;
  line-height: 1.15;
}
body.divido-premium.px-futuristic #screen-auth .btn.primary {
  box-shadow: var(--dv-glow-orange);
}

/* dark heroes scanline */
body.divido-premium.px-futuristic .nw-card::before,
body.divido-premium.px-futuristic .wallet-hero:not(.hero-white)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.25) 2px,
    rgba(0,0,0,.25) 3px
  );
  mix-blend-mode: soft-light;
  border-radius: inherit;
}

/* reduced motion hard cut for new animations */
@media (prefers-reduced-motion: reduce) {
  body.divido-premium.px-futuristic .btn.primary::after,
  body.divido-premium.px-futuristic .inv-now::after,
  body.divido-premium.px-futuristic .tag.urg,
  body.divido-premium.px-futuristic .p-badge.b-new {
    animation: none !important;
  }
  body.divido-premium.px-futuristic .prop-card::before { opacity: .35; }
}


/* ============================================================
   ENHANCEMENT PASS 2 — sales detail CTA, yield teasers, wallet
   ============================================================ */

body.divido-premium .yield-teaser {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 10px;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dv-crimson-deep);
  background: linear-gradient(135deg, rgba(254,110,0,.10), rgba(255,106,0,.06));
  border: 1px solid rgba(254,110,0,.18);
}
body.divido-premium .yield-teaser b { color: var(--dv-orange); font-weight: 800; }
body.divido-premium .yt-pill {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--dv-crimson), var(--dv-orange));
  box-shadow: 0 2px 8px rgba(254,110,0,.25);
}

body.divido-premium .social-proof {
  margin: 2px 0 10px;
  font-size: 11px;
  font-weight: 650;
  color: var(--dv-muted);
  letter-spacing: .01em;
}

/* Detail sticky stack */
body.divido-premium .d-bottom {
  padding: 10px 14px 12px !important;
}
body.divido-premium .d-cta-stack { display: flex; flex-direction: column; gap: 6px; width: 100%; }
body.divido-premium .d-cta-chips {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
body.divido-premium .d-cta-chips::-webkit-scrollbar { display: none; }
body.divido-premium .d-amt-chip {
  flex: 1 0 auto;
  min-width: 96px;
  border: 1px solid rgba(254,110,0,.28);
  background: rgba(255,253,249,.95);
  border-radius: 14px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform .2s var(--dv-spring, cubic-bezier(.34,1.56,.64,1)), box-shadow .2s ease, border-color .2s ease;
}
body.divido-premium .d-amt-chip b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--dv-crimson-deep);
  letter-spacing: -.02em;
}
body.divido-premium .d-amt-chip span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dv-orange);
}
body.divido-premium .d-amt-chip:active { transform: scale(.96); }
body.divido-premium .d-amt-chip:hover {
  border-color: var(--dv-orange);
  box-shadow: 0 6px 16px rgba(254,110,0,.16);
}
body.divido-premium .d-cta-earn {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  color: var(--dv-crimson-deep);
  letter-spacing: -.01em;
}
body.divido-premium .d-cta-earn b { color: var(--dv-orange); font-weight: 800; }
body.divido-premium .d-cta-sub {
  margin: 0 0 2px !important;
  text-align: center;
  font-size: 11px !important;
  font-weight: 600;
  color: var(--dv-muted) !important;
}
body.divido-premium .d-cta-sub .hot {
  color: #fff;
  background: linear-gradient(135deg, #FF6A00, #fe6e00);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 10px;
  animation: dvUrgPulse 1.8s ease-in-out infinite;
}
body.divido-premium .d-cta-sub b { color: var(--dv-crimson); }

/* Wallet / rewards tips + deposit glow */
body.divido-premium .w-sales-tip {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 650;
  color: rgba(255,248,239,.92);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
body.divido-premium .hero-white .w-sales-tip {
  color: var(--dv-crimson-deep);
  background: linear-gradient(135deg, rgba(254,110,0,.10), rgba(255,106,0,.06));
  border-color: rgba(254,110,0,.18);
}
body.divido-premium .w-sales-tip b { color: var(--dv-orange); font-weight: 800; }
body.divido-premium .hero-white .w-sales-tip b { color: var(--dv-crimson); }

body.divido-premium .w-act.pay-ready {
  box-shadow: 0 0 0 1px rgba(254,110,0,.55), 0 0 18px rgba(254,110,0,.35);
  animation: dvPayGlow 2s ease-in-out infinite;
}
body.divido-premium .w-act.cta-hot {
  box-shadow: 0 0 0 1px rgba(255,106,0,.4), 0 0 16px rgba(255,106,0,.28);
}
@keyframes dvPayGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

/* Tier bar smooth */
body.divido-premium #r-tier-bar {
  transition: width 1.15s cubic-bezier(.16, 1, .3, 1);
  background: linear-gradient(90deg, var(--dv-crimson), var(--dv-orange), #ffc27a);
  box-shadow: 0 0 10px rgba(254,110,0,.4);
}

/* Trust strip under home sales (optional second row injected by JS) */
body.divido-premium .dv-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 12px;
}
body.divido-premium .dv-trust-cell {
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255,253,249,.88);
  border: 1px solid var(--dv-hairline);
  font-size: 10px;
  font-weight: 700;
  color: var(--dv-muted);
  letter-spacing: .02em;
}
body.divido-premium .dv-trust-cell b {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dv-crimson-deep);
  letter-spacing: -.02em;
}

/* Invest holdings polish */
body.divido-premium .inv-card {
  border-radius: 20px;
  overflow: hidden;
}
body.divido-premium .inv-rows div b {
  font-feature-settings: "tnum" 1;
}

body.divido-premium.dark .yield-teaser,
body.divido-premium.dark .d-amt-chip,
body.divido-premium.dark .dv-trust-cell {
  background: rgba(33,23,27,.96);
  color: #fff8ef;
  border-color: rgba(255,248,239,.12);
}
body.divido-premium.dark .d-amt-chip b,
body.divido-premium.dark .dv-trust-cell b,
body.divido-premium.dark .d-cta-earn { color: #fff8ef; }

@media (prefers-reduced-motion: reduce) {
  body.divido-premium .w-act.pay-ready,
  body.divido-premium .d-cta-sub .hot { animation: none !important; }
}


/* ============================================================
   i18n RTL — Arabic fully separated (dir=rtl on html)
   ============================================================ */
html[dir="rtl"] body.divido-premium,
body.lang-ar.divido-premium {
  font-family: 'Tajawal', 'Poppins', system-ui, sans-serif;
}
html[dir="rtl"] body.divido-premium .hg-name,
html[dir="rtl"] body.divido-premium .sec-title,
html[dir="rtl"] body.divido-premium .onb-title,
html[dir="rtl"] body.divido-premium .prop-body h3 {
  letter-spacing: 0;
  font-weight: 800;
}
html[dir="rtl"] .app-header,
html[dir="rtl"] .hdr-icons,
html[dir="rtl"] .home-greet,
html[dir="rtl"] .nw-top,
html[dir="rtl"] .nw-row,
html[dir="rtl"] .fund-row,
html[dir="rtl"] .line-price,
html[dir="rtl"] .tx,
html[dir="rtl"] .menu-list button,
html[dir="rtl"] .w-actions,
html[dir="rtl"] .ref-actions,
html[dir="rtl"] .d-cta-chips,
html[dir="rtl"] .dv-sales-strip,
html[dir="rtl"] .pay-chips,
html[dir="rtl"] .chips {
  direction: rtl;
}
html[dir="rtl"] .tabbar-btn span { letter-spacing: 0; }
html[dir="rtl"] .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--dv-hairline, rgba(35,15,43,.1));
  background: rgba(255,253,249,.8);
  border-radius: 12px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: inherit;
}
html[dir="ltr"] .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--dv-hairline, rgba(35,15,43,.1));
  background: rgba(255,253,249,.8);
  border-radius: 12px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle .lang-code {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--dv-crimson, #FF6A00);
}
html[dir="rtl"] .lang-toggle .lang-code { letter-spacing: 0; }
html[dir="rtl"] .save-btn { left: 12px; right: auto; }
html[dir="rtl"] .p-badge.b-fund { left: 10px; right: auto; }
html[dir="rtl"] .prop-card::before,
html[dir="rtl"] .fund-card::before { transform: scaleX(-1); }
html[dir="rtl"] .btn.primary::after,
html[dir="rtl"] .inv-now::after { animation-direction: reverse; }
html[dir="rtl"] .modal-card { text-align: right; }
html[dir="rtl"] .slide-thumb { /* mirror handled by flex if needed */ }
html[dir="rtl"] .tx-right { text-align: left; }
html[dir="rtl"] .menu-list button:hover { padding-inline-start: 16px; padding-inline-end: 19px; }
html[dir="rtl"] .premium-menu-label { letter-spacing: 0.06em; }
html[dir="rtl"] .d-amt-chip { text-align: right; }
html[dir="rtl"] .yield-teaser { flex-direction: row; }
html[dir="rtl"] .hdr-lang { margin-inline: 0; }

/* Keep EN and AR content isolated: when AR, hide pure-EN helper crumbs if any */
body.lang-ar .en-only { display: none !important; }
body.lang-en .ar-only { display: none !important; }


/* ============================================================
   MODERN ORANGE 2026 — inspired by premium mobile editorial UI
   Reference cues: atmospheric warmth, bold orange kinetic accent,
   pill CTAs, elevated white cards, soft filters, large type.
   Orange logo stays. Crimson reserved for money/trust.
   ============================================================ */

body.divido-premium.modern-orange {
  --dv-orange: #FF6A00;
  --dv-orange-soft: #FF8F3D;
  --dv-crimson: #FF6A00;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(255, 140, 60, .22), transparent 52%),
    radial-gradient(90% 60% at 100% 8%, rgba(255, 90, 20, .12), transparent 48%),
    radial-gradient(70% 50% at 50% 100%, rgba(255, 106, 0, .05), transparent 55%),
    linear-gradient(180deg, #FFF6EC 0%, #F7F1E8 42%, #F3EEE6 100%);
  color: var(--dv-ink);
}

/* Soft fog orbs (reference sunset atmosphere) */
body.divido-premium.modern-orange::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 120, 40, .16), transparent 22rem),
    radial-gradient(circle at 82% 70%, rgba(255, 180, 100, .12), transparent 26rem);
  filter: blur(2px);
}

/* Tone down dense pixel grid so editorial look wins */
body.divido-premium.modern-orange.px-futuristic::before {
  opacity: .10;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

/* ----- App chrome ----- */
body.divido-premium.modern-orange .app-header {
  background: rgba(255, 252, 248, .72) !important;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(20,17,15,.06) !important;
  box-shadow: none !important;
}
body.divido-premium.modern-orange .hdr-icons > *,
body.divido-premium.modern-orange .lang-toggle {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(20,17,15,.07) !important;
  border-radius: 14px !important;
  box-shadow: var(--dv-shadow-soft);
}
body.divido-premium.modern-orange .lang-code { color: var(--dv-orange) !important; }

/* ----- Typography ----- */
body.divido-premium.modern-orange .hg-hi {
  color: var(--dv-orange) !important;
  font-size: 11px !important;
  letter-spacing: .16em !important;
}
body.divido-premium.modern-orange .hg-name {
  font-size: clamp(26px, 6vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  color: var(--dv-ink) !important;
  line-height: 1.05 !important;
}
body.divido-premium.modern-orange .sec-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  color: var(--dv-ink) !important;
}
body.divido-premium.modern-orange .nw-val,
body.divido-premium.modern-orange .w-balance {
  font-size: clamp(34px, 8vw, 44px) !important;
  font-weight: 800 !important;
  letter-spacing: -.05em !important;
}

/* ----- Net worth / wallet heroes: warm editorial glass ----- */
body.divido-premium.modern-orange .nw-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  background:
    linear-gradient(145deg, #1C1210 0%, #2A1814 40%, #4A2010 78%, #FF6A00 140%) !important;
  box-shadow: 0 24px 50px rgba(40, 16, 8, .28) !important;
}
body.divido-premium.modern-orange .nw-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 30%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,106,0,.55), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
/* kinetic orange streak like reference blur bar */
body.divido-premium.modern-orange .nw-card::after {
  content: "";
  position: absolute;
  top: 28%;
  left: -10%;
  right: -10%;
  height: 42px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.85), rgba(255,180,80,.55), transparent);
  filter: blur(10px);
  opacity: .55;
  transform: skewY(-6deg);
  pointer-events: none;
  animation: dvOrangeStreak 5.5s ease-in-out infinite;
}
@keyframes dvOrangeStreak {
  0%, 100% { opacity: .35; transform: skewY(-6deg) translateX(-6%); }
  50% { opacity: .7; transform: skewY(-6deg) translateX(6%); }
}

body.divido-premium.modern-orange .wallet-hero.hero-white,
body.divido-premium.modern-orange .rewards-hero.hero-white,
body.divido-premium.modern-orange .inv-hero {
  border-radius: 28px !important;
  background:
    linear-gradient(165deg, #FFFFFF 0%, #FFF8F1 55%, #FFE8D4 100%) !important;
  border: 1px solid rgba(255, 140, 60, .14) !important;
  box-shadow: 0 18px 40px rgba(255, 106, 0, .08) !important;
}
body.divido-premium.modern-orange .hero-white .w-balance {
  background: linear-gradient(120deg, #FF6A00, #FF6A00) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* ----- Cards: elevated white bento ----- */
body.divido-premium.modern-orange .prop-card,
body.divido-premium.modern-orange .fund-card,
body.divido-premium.modern-orange .inv-card,
body.divido-premium.modern-orange .card-plain,
body.divido-premium.modern-orange .menu-list,
body.divido-premium.modern-orange .media-card {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(20,17,15,.06) !important;
  border-radius: var(--dv-radius-card) !important;
  box-shadow: var(--dv-shadow-soft) !important;
}
body.divido-premium.modern-orange .prop-card:hover,
body.divido-premium.modern-orange .fund-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 22px 48px rgba(255, 106, 0, .12), 0 10px 24px rgba(20,17,15,.06) !important;
  border-color: rgba(255, 106, 0, .18) !important;
}
body.divido-premium.modern-orange .prop-img,
body.divido-premium.modern-orange .pimg {
  border-radius: 22px 22px 0 0;
}
body.divido-premium.modern-orange .prop-body h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  color: var(--dv-ink) !important;
}
body.divido-premium.modern-orange .prop-price {
  font-size: 18px !important;
  font-weight: 800 !important;
  background: linear-gradient(100deg, #FF6A00, #FF6A00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Soften pixel brackets into subtle orange edge glow */
body.divido-premium.modern-orange.px-futuristic .prop-card::before,
body.divido-premium.modern-orange.px-futuristic .fund-card::before {
  opacity: .25;
  inset: 6px;
  filter: drop-shadow(0 0 6px rgba(255,106,0,.35));
}

/* ----- Primary CTAs: big modern pills ----- */
body.divido-premium.modern-orange .btn.primary,
body.divido-premium.modern-orange .inv-now,
body.divido-premium.modern-orange #start-invest,
body.divido-premium.modern-orange .btn.whatsapp {
  border-radius: var(--dv-radius-pill) !important;
  background: linear-gradient(135deg, #FF6A00 0%, #FF8A2B 48%, #FFB067 120%) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  border: 0 !important;
  box-shadow:
    0 14px 28px rgba(255, 106, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.35) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
body.divido-premium.modern-orange .btn.primary:hover,
body.divido-premium.modern-orange .inv-now:hover {
  filter: brightness(1.04) saturate(1.05);
  box-shadow:
    0 18px 36px rgba(255, 106, 0, .38),
    inset 0 1px 0 rgba(255,255,255,.4) !important;
}
body.divido-premium.modern-orange .btn.gray {
  border-radius: var(--dv-radius-pill) !important;
  background: #fff !important;
  color: var(--dv-ink) !important;
  border: 1px solid rgba(20,17,15,.08) !important;
  box-shadow: var(--dv-shadow-soft) !important;
}
body.divido-premium.modern-orange .btn.ghost {
  border-radius: var(--dv-radius-pill) !important;
}

/* Auth hero CTA style like reference "Explore Wallpaper" */
body.divido-premium.modern-orange #screen-auth .btn.primary.big {
  padding: 16px 22px !important;
  font-size: 16px !important;
  box-shadow: 0 18px 40px rgba(255,106,0,.35) !important;
}
body.divido-premium.modern-orange #screen-auth {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,140,60,.2), transparent 50%),
    linear-gradient(180deg, #FFF8F0, #F7F1E8);
}
body.divido-premium.modern-orange .onb-title {
  font-size: clamp(28px, 7vw, 36px) !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1.08 !important;
  color: var(--dv-ink) !important;
}

/* ----- Filter chips: reference-style pills ----- */
body.divido-premium.modern-orange .chip {
  border-radius: var(--dv-radius-pill) !important;
  padding: 8px 14px !important;
  background: transparent;
  border: 0;
  color: var(--dv-muted) !important;
  font-weight: 700 !important;
}
body.divido-premium.modern-orange .chip.on {
  background: #14110F !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px rgba(20,17,15,.18);
}
body.divido-premium.modern-orange .chips,
body.divido-premium.modern-orange .seg {
  background: rgba(255,255,255,.7) !important;
  border: 1px solid rgba(20,17,15,.06) !important;
  border-radius: 18px !important;
  padding: 4px !important;
  box-shadow: var(--dv-shadow-soft);
  backdrop-filter: blur(12px);
}
body.divido-premium.modern-orange .seg-btn.on {
  background: #14110F !important;
  color: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(20,17,15,.16) !important;
}

/* Sales chips — warmer orange glass */
body.divido-premium.modern-orange .dv-sales-chip {
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(255,106,0,.14) !important;
  box-shadow: 0 8px 20px rgba(255,106,0,.08) !important;
  color: var(--dv-ink) !important;
}
body.divido-premium.modern-orange .dv-sales-chip b { color: var(--dv-orange) !important; }
body.divido-premium.modern-orange .dv-sales-chip.hot {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(255,106,0,.32) !important;
}
body.divido-premium.modern-orange .dv-sales-chip.hot b { color: #fff !important; }

body.divido-premium.modern-orange .dv-trust-cell {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(20,17,15,.06) !important;
  border-radius: 18px !important;
  box-shadow: var(--dv-shadow-soft);
}
body.divido-premium.modern-orange .dv-trust-cell b {
  background: linear-gradient(100deg, #FF6A00, #FF6A00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Yield teaser = soft orange glass panel */
body.divido-premium.modern-orange .yield-teaser {
  background: linear-gradient(135deg, rgba(255,106,0,.12), rgba(255,180,100,.08)) !important;
  border: 1px solid rgba(255,106,0,.18) !important;
  border-radius: 16px !important;
}
body.divido-premium.modern-orange .yt-pill {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  box-shadow: 0 4px 12px rgba(255,106,0,.35) !important;
}

/* Progress bars — brighter orange kinetic */
body.divido-premium.modern-orange .bar {
  height: 8px !important;
  border-radius: 99px !important;
  background: rgba(20,17,15,.06) !important;
}
body.divido-premium.modern-orange .bar-fill {
  border-radius: 99px !important;
  background: linear-gradient(90deg, #FF4D00, #FF6A00 40%, #FFB067 100%) !important;
  box-shadow: 0 0 16px rgba(255,106,0,.5) !important;
}
body.divido-premium.modern-orange.px-futuristic .bar::after { opacity: .25; }

/* Badges */
body.divido-premium.modern-orange .p-badge.b-fund {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(255,106,0,.3);
}
body.divido-premium.modern-orange .p-badge.b-urg,
body.divido-premium.modern-orange .tag.urg {
  background: linear-gradient(135deg, #FF6A00, #FF6A00) !important;
}

/* Banner card = editorial orange panel */
body.divido-premium.modern-orange .banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px !important;
  border: 0 !important;
  background:
    linear-gradient(125deg, #1A100C 0%, #3D1C10 45%, #FF6A00 130%) !important;
  color: #fff !important;
  box-shadow: 0 22px 44px rgba(255,106,0,.22) !important;
}
body.divido-premium.modern-orange .banner-card h3,
body.divido-premium.modern-orange .banner-card p { color: #fff !important; }
body.divido-premium.modern-orange .banner-card .btn.primary {
  background: #fff !important;
  color: #FF6A00 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}
body.divido-premium.modern-orange .banner-card::after {
  content: "";
  position: absolute;
  top: 40%;
  left: -20%;
  width: 140%;
  height: 48px;
  background: linear-gradient(90deg, transparent, rgba(255,140,40,.75), transparent);
  filter: blur(12px);
  transform: skewY(-8deg);
  pointer-events: none;
  opacity: .65;
}

/* Tabbar: floating black/white modern dock */
body.divido-premium.modern-orange .tabbar {
  background: rgba(255, 252, 248, .88) !important;
  border: 1px solid rgba(20,17,15,.07) !important;
  box-shadow: 0 18px 40px rgba(20,17,15,.14) !important;
  border-radius: 26px !important;
}
body.divido-premium.modern-orange .tabbar-btn.on {
  color: var(--dv-orange) !important;
}
body.divido-premium.modern-orange .tabbar-btn.on::before {
  background: linear-gradient(135deg, rgba(255,106,0,.16), rgba(255,160,80,.08)) !important;
}
body.divido-premium.modern-orange .tabbar-btn.on::after {
  background: linear-gradient(90deg, #FF6A00, #FFB067) !important;
  box-shadow: 0 0 12px rgba(255,106,0,.75) !important;
  height: 3px !important;
  width: 20px !important;
  border-radius: 99px !important;
}

/* Detail sticky CTA */
body.divido-premium.modern-orange .d-bottom {
  background: rgba(255, 252, 248, .88) !important;
  border-top: 1px solid rgba(255,106,0,.1) !important;
  box-shadow: 0 -16px 40px rgba(20,17,15,.08) !important;
}
body.divido-premium.modern-orange .d-amt-chip {
  background: #fff !important;
  border: 1px solid rgba(255,106,0,.2) !important;
  border-radius: 18px !important;
  box-shadow: var(--dv-shadow-soft);
}
body.divido-premium.modern-orange .d-amt-chip span { color: var(--dv-orange) !important; }
body.divido-premium.modern-orange .d-cta-earn b { color: var(--dv-orange) !important; }

/* Modal sheet */
body.divido-premium.modern-orange .modal-card {
  background: #FFFCFA !important;
  border-radius: 28px 28px 0 0 !important;
  border: 1px solid rgba(255,255,255,.6) !important;
}
body.divido-premium.modern-orange .modal-card::before {
  width: 48px !important;
  height: 5px !important;
  border-radius: 99px !important;
  background: linear-gradient(90deg, #FF6A00, #FFB067) !important;
}
body.divido-premium.modern-orange .pchip.on {
  background: linear-gradient(135deg, rgba(255,106,0,.16), rgba(255,160,80,.1)) !important;
  border-color: rgba(255,106,0,.4) !important;
  color: var(--dv-ink) !important;
}

/* Inputs */
body.divido-premium.modern-orange .input {
  border-radius: 16px !important;
  border: 1px solid rgba(20,17,15,.08) !important;
  background: #fff !important;
}
body.divido-premium.modern-orange .input:focus {
  border-color: var(--dv-orange) !important;
  box-shadow: 0 0 0 4px rgba(255,106,0,.14) !important;
}

/* Toast */
body.divido-premium.modern-orange .toast {
  background: linear-gradient(135deg, #1A100C, #3D1C10) !important;
  border: 1px solid rgba(255,106,0,.35) !important;
  border-radius: 18px !important;
}

/* Loader mark */
body.divido-premium.modern-orange .divido-loader-mark {
  background: linear-gradient(135deg, #FF6A00, #FFB067) !important;
  box-shadow: 0 12px 28px rgba(255,106,0,.35) !important;
}
body.divido-premium.modern-orange .divido-app-loader {
  background: linear-gradient(180deg, #FFF8F0, #F7F1E8) !important;
}

/* Wallet actions */
body.divido-premium.modern-orange .w-act {
  border-radius: 18px !important;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(255,106,0,.12) !important;
}
body.divido-premium.modern-orange .w-act.pay-ready {
  box-shadow: 0 0 0 1px rgba(255,106,0,.55), 0 0 22px rgba(255,106,0,.35) !important;
}
body.divido-premium.modern-orange .w-sales-tip {
  border-radius: 16px !important;
}

/* Dark mode keeps orange kinetic energy */
body.divido-premium.modern-orange.dark {
  background:
    radial-gradient(100% 70% at 20% 0%, rgba(255,106,0,.18), transparent 50%),
    linear-gradient(180deg, #120E0C, #1A1412 60%, #14110F) !important;
}
body.divido-premium.modern-orange.dark .prop-card,
body.divido-premium.modern-orange.dark .fund-card,
body.divido-premium.modern-orange.dark .card-plain,
body.divido-premium.modern-orange.dark .menu-list {
  background: rgba(30, 24, 22, .94) !important;
  border-color: rgba(255,180,120,.1) !important;
}
body.divido-premium.modern-orange.dark .chip.on,
body.divido-premium.modern-orange.dark .seg-btn.on {
  background: #FF6A00 !important;
  color: #fff !important;
}
body.divido-premium.modern-orange.dark .hg-name,
body.divido-premium.modern-orange.dark .sec-title,
body.divido-premium.modern-orange.dark .prop-body h3 {
  color: #FFF8F0 !important;
}

@media (prefers-reduced-motion: reduce) {
  body.divido-premium.modern-orange .nw-card::after,
  body.divido-premium.modern-orange .banner-card::after {
    animation: none !important;
  }
}


/* ============================================================
   LOGO GUARANTEE + SPLASH + BENTO HOME
   Official orange logo always visible in correct placements.
   ============================================================ */

/* Never hide or invert brand logo */
body.divido-premium .logo-img,
body.divido-premium .splash-logo,
body.divido-premium .divido-loader-logo,
body.divido-premium.dark .logo-img,
body.divido-premium.dark .splash-logo,
body.divido-premium.dark .divido-loader-logo,
body.dark .logo-img,
body.dark .splash-logo,
body.dark .divido-loader-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Loader: real orange logo */
body.divido-premium .divido-loader-lockup {
  flex-direction: column;
  gap: 14px;
  letter-spacing: 0 !important;
}
body.divido-premium .divido-loader-logo {
  width: min(200px, 58vw) !important;
  height: auto !important;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(255,106,0,.28)) !important;
}
body.divido-premium .divido-loader-mark { display: none !important; } /* letter mark retired */

/* App + auth header logo sizes */
body.divido-premium .app-header .logo-img {
  height: 32px !important;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
}
body.divido-premium .auth-top {
  position: relative;
  z-index: 5;
  padding: 16px 18px !important;
}
body.divido-premium .auth-top .logo-img {
  height: 36px !important;
  width: auto !important;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255,106,0,.2)) !important;
}

/* ---------- Full-screen editorial splash (auth) ---------- */
body.divido-premium #screen-auth {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255,120,40,.35), transparent 50%),
    linear-gradient(165deg, #1A100C 0%, #2C1610 38%, #4A220F 70%, #FF6A00 145%) !important;
}
body.divido-premium #screen-auth .auth-top {
  background: transparent !important;
}
body.divido-premium #screen-auth .auth-top .logo-img {
  /* logo on dark splash — keep orange brand, slight glow */
  filter: drop-shadow(0 6px 18px rgba(255,106,0,.45)) !important;
}
body.divido-premium #screen-auth .lang-toggle {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff;
}
body.divido-premium #screen-auth .lang-code { color: #FFB067 !important; }

body.divido-premium .auth-splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 8px 22px 28px !important;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
body.divido-premium .splash-hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 8px 18px;
  min-height: 46vh;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
body.divido-premium .splash-glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,.55), transparent 70%);
  filter: blur(8px);
  top: 18%;
  pointer-events: none;
}
body.divido-premium .splash-streak {
  position: absolute;
  left: -20%; right: -20%;
  top: 46%;
  height: 56px;
  background: linear-gradient(90deg, transparent, rgba(255,106,0,.9), rgba(255,180,90,.55), transparent);
  filter: blur(12px);
  transform: skewY(-8deg);
  opacity: .75;
  pointer-events: none;
  animation: dvOrangeStreak 5s ease-in-out infinite;
}
body.divido-premium .splash-logo {
  position: relative;
  z-index: 2;
  width: min(210px, 64vw);
  height: auto;
  max-height: 78px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 30px rgba(255,106,0,.4)) !important;
}
body.divido-premium .splash-kicker {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 200, 140, .92);
}
body.divido-premium #screen-auth .onb-title {
  position: relative;
  z-index: 2;
  color: #FFF8F0 !important;
  font-size: clamp(28px, 7.2vw, 38px) !important;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
  margin: 0 0 12px !important;
}
body.divido-premium .splash-sub {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 32ch;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,248,240,.78);
}
body.divido-premium .splash-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
body.divido-premium #screen-auth .btn.primary.big {
  background: #fff !important;
  color: #FF6A00 !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28) !important;
  text-shadow: none !important;
}
body.divido-premium #screen-auth .btn.gray.big {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  backdrop-filter: blur(10px);
}
/* Login sheet on splash backdrop */
body.divido-premium #screen-auth #login {
  color: #fff;
}
body.divido-premium #screen-auth #login .onb-title { color: #FFF8F0 !important; }
body.divido-premium #screen-auth #login .card-plain {
  background: rgba(255,252,248,.96) !important;
  color: var(--dv-ink);
  border-radius: 24px !important;
  border: 1px solid rgba(255,255,255,.4);
  text-align: left;
  padding: 18px;
}
body.divido-premium #screen-auth #login .btn.gray.big {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
}

/* Hide old dots on splash */
body.divido-premium .auth-splash .dots { display: none !important; }
body.divido-premium .auth-splash .illus-img { display: none !important; }

/* ---------- Bento home ---------- */
body.divido-premium .prop-featured {
  margin: 0 0 14px;
}
body.divido-premium .prop-featured[hidden] { display: none !important; }

body.divido-premium .prop-card--featured {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 28px !important;
  box-shadow: 0 22px 48px rgba(255,106,0,.14), 0 10px 24px rgba(20,17,15,.06) !important;
  border: 1px solid rgba(255,106,0,.14) !important;
}
body.divido-premium .prop-card--featured .pimg {
  height: 220px;
  position: relative;
}
body.divido-premium .prop-card--featured .pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.divido-premium .prop-card--featured .pimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,12,8,.55) 100%);
  pointer-events: none;
}
body.divido-premium .prop-card--featured .prop-body {
  padding: 16px 16px 18px;
}
body.divido-premium .prop-card--featured .card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.divido-premium .prop-card--featured .inv-now {
  margin-top: 8px;
  width: 100%;
}
body.divido-premium .feat-ribbon {
  display: inline-flex;
  margin-bottom: 8px;
}
body.divido-premium .feat-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #FF6A00, #FF8F3D);
  box-shadow: 0 8px 18px rgba(255,106,0,.28);
}

/* Bento grid for remaining cards */
body.divido-premium .prop-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 520px) {
  body.divido-premium .prop-bento {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  body.divido-premium .prop-bento .prop-card:nth-child(3n+1) {
    grid-column: 1 / -1;
  }
  body.divido-premium .prop-bento .prop-card .card-metrics {
    grid-template-columns: 1fr 1fr;
  }
  body.divido-premium .prop-card--featured {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  body.divido-premium .prop-card--featured .pimg {
    height: 100%;
    min-height: 280px;
    border-radius: 28px 0 0 28px;
  }
}

/* Compact secondary bento cards */
body.divido-premium .prop-bento .prop-card .social-proof { font-size: 10.5px; }
body.divido-premium .home-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}
body.divido-premium .home-stats .hs-item {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(20,17,15,.06);
  border-radius: 18px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(20,17,15,.04);
}
body.divido-premium .home-stats .hs-item b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(100deg, #FF6A00, #FF6A00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.divido-premium.dark .home-stats .hs-item {
  background: rgba(30,24,22,.94);
  border-color: rgba(255,180,120,.1);
}

/* RTL splash */
html[dir="rtl"] body.divido-premium .splash-kicker { letter-spacing: .06em; }
html[dir="rtl"] body.divido-premium .feat-ribbon span { letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  body.divido-premium .splash-streak { animation: none !important; }
}


/* ============================================================
   ORANGE-ONLY + SIMPLIFIED PREMIUM UX
   No red. Pixel shading. Smooth swipe feel. Clear hierarchy.
   ============================================================ */

body.divido-premium.orange-only {
  --dv-crimson: #FF6A00 !important;
  --dv-crimson-deep: #1A120C !important;
  --dv-orange: #FF6A00 !important;
  --dv-orange-soft: #FF8F3D !important;
  background:
    radial-gradient(110% 70% at 12% -8%, rgba(255, 140, 50, .20), transparent 50%),
    radial-gradient(90% 55% at 100% 0%, rgba(255, 106, 0, .10), transparent 46%),
    linear-gradient(180deg, #FFF8F0 0%, #FBF6EF 45%, #F5EFE6 100%) !important;
  color: var(--dv-ink);
}

/* Kill any leftover pure red hexes in this layer */
body.divido-premium.orange-only .prop-price,
body.divido-premium.orange-only .inv-meta b,
body.divido-premium.orange-only .d-cta-earn b,
body.divido-premium.orange-only .d-cta-sub b,
body.divido-premium.orange-only .tabbar-btn.on,
body.divido-premium.orange-only .chip.on:not(.on) {
  color: var(--dv-orange) !important;
}

/* Gradient money — orange spectrum only */
body.divido-premium.orange-only .nw-val,
body.divido-premium.orange-only .hero-white .w-balance,
body.divido-premium.orange-only .prop-price,
body.divido-premium.orange-only .card-price b,
body.divido-premium.orange-only .home-stats .hs-item b {
  background: linear-gradient(100deg, #FF4D00, #FF6A00 40%, #FFB067) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* NW card — deep orange charcoal, no crimson wine */
body.divido-premium.orange-only .nw-card {
  background:
    linear-gradient(150deg, #1A120C 0%, #2A1A10 42%, #4A280F 78%, #FF6A00 150%) !important;
  box-shadow: 0 22px 48px rgba(255, 106, 0, .18) !important;
}
body.divido-premium.orange-only .banner-card {
  background:
    linear-gradient(125deg, #1A120C 0%, #3D220F 48%, #FF6A00 130%) !important;
}

/* Progress + badges all orange */
body.divido-premium.orange-only .bar-fill {
  background: linear-gradient(90deg, #FF4D00, #FF6A00 45%, #FFB067) !important;
  box-shadow: 0 0 14px rgba(255,106,0,.45) !important;
}
body.divido-premium.orange-only .p-badge.b-fund,
body.divido-premium.orange-only .p-badge.b-new,
body.divido-premium.orange-only .p-badge.b-urg,
body.divido-premium.orange-only .tag.urg,
body.divido-premium.orange-only .feat-ribbon span {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  color: #fff !important;
  border: 0 !important;
}
body.divido-premium.orange-only .p-badge.b-full {
  background: linear-gradient(135deg, #1A120C, #3D220F) !important;
}

/* Pixel brackets → soft orange only */
body.divido-premium.orange-only.px-futuristic .prop-card::before,
body.divido-premium.orange-only.px-futuristic .fund-card::before {
  background:
    linear-gradient(var(--dv-orange), var(--dv-orange)) top left / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top left / 2px 10px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top right / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) top right / 2px 10px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) bottom left / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) bottom left / 2px 10px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) bottom right / 10px 2px no-repeat,
    linear-gradient(var(--dv-orange), var(--dv-orange)) bottom right / 2px 10px no-repeat !important;
  opacity: .35;
}

/* Toast / tab / chips — orange ink */
body.divido-premium.orange-only .toast {
  background: linear-gradient(135deg, #1A120C, #3D220F) !important;
  border-color: rgba(255,106,0,.35) !important;
}
body.divido-premium.orange-only .tabbar-btn.on { color: #FF6A00 !important; }
body.divido-premium.orange-only .chip.on,
body.divido-premium.orange-only .seg-btn.on {
  background: #1A120C !important;
  color: #fff !important;
  border-color: transparent !important;
}
body.divido-premium.orange-only .lang-code { color: #FF6A00 !important; }
body.divido-premium.orange-only .premium-menu-label { color: #FF6A00 !important; background: rgba(255,106,0,.05) !important; }

/* ---------- SIMPLIFIED CARDS ---------- */
body.divido-premium.orange-only .prop-card--simple .card-metrics,
body.divido-premium.orange-only .prop-card--simple .fund-row,
body.divido-premium.orange-only .prop-card--simple .line-price,
body.divido-premium.orange-only .prop-card--simple .social-proof,
body.divido-premium.orange-only .prop-card--simple .inv-meta,
body.divido-premium.orange-only .prop-card--simple .yield-teaser,
body.divido-premium.orange-only .prop-card--simple .p-badge.b-strat,
body.divido-premium.orange-only .prop-card--simple .p-badge.b-type,
body.divido-premium.orange-only .prop-card--simple .p-badge.b-src {
  display: none !important;
}

body.divido-premium.orange-only .prop-card--simple {
  border-radius: 26px !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid rgba(26,18,12,.06) !important;
  box-shadow: 0 10px 32px rgba(26,18,12,.06), 0 1px 0 rgba(255,255,255,.8) inset !important;
  transition: transform .35s var(--dv-ease-out), box-shadow .35s var(--dv-ease-out);
}
body.divido-premium.orange-only .prop-card--simple:active {
  transform: scale(.985);
}
body.divido-premium.orange-only .prop-card--simple .pimg {
  height: 168px;
  position: relative;
}
body.divido-premium.orange-only .prop-card--simple .pimg img {
  width: 100%; height: 100%; object-fit: cover;
}
body.divido-premium.orange-only .prop-card--simple .pimg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,18,12,.35));
  pointer-events: none;
}
body.divido-premium.orange-only .pimg-badges {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
body.divido-premium.orange-only .pimg-badges .p-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
body.divido-premium.orange-only .prop-card--simple .prop-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.divido-premium.orange-only .prop-card--simple h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--dv-ink) !important;
}
body.divido-premium.orange-only .prop-loc-line {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--dv-muted);
  line-height: 1.3;
}

/* Clear scannable info pills */
body.divido-premium.orange-only .info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.divido-premium.orange-only .info-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,106,0,.08);
  border: 1px solid rgba(255,106,0,.12);
  font-size: 10px;
  font-weight: 700;
  color: var(--dv-muted);
  letter-spacing: .01em;
}
body.divido-premium.orange-only .info-pill b {
  font-size: 12px;
  font-weight: 800;
  color: #FF6A00;
}

body.divido-premium.orange-only .yield-one {
  font-size: 12px;
  font-weight: 700;
  color: var(--dv-ink);
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,106,0,.10), rgba(255,180,100,.06));
  border: 1px solid rgba(255,106,0,.14);
}
body.divido-premium.orange-only .yield-one b { color: #FF6A00; }

body.divido-premium.orange-only .bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.divido-premium.orange-only .bar-row .bar {
  flex: 1;
  height: 7px !important;
  border-radius: 99px;
  background: rgba(26,18,12,.06) !important;
  overflow: hidden;
}
body.divido-premium.orange-only .bar-pct {
  font-size: 11px;
  font-weight: 800;
  color: #FF6A00;
  min-width: 34px;
  text-align: end;
}

body.divido-premium.orange-only .card-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}
body.divido-premium.orange-only .card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dv-ink);
  line-height: 1.15;
}
body.divido-premium.orange-only .card-price b {
  font-size: 17px;
  display: inline;
}
body.divido-premium.orange-only .card-price small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dv-muted);
  -webkit-text-fill-color: var(--dv-muted);
  background: none !important;
}
body.divido-premium.orange-only .prop-card--simple .inv-now {
  flex-shrink: 0;
  padding: 12px 16px !important;
  min-width: 108px;
  border-radius: 999px !important;
  font-size: 13px !important;
}

/* Featured stays big but same clean structure */
body.divido-premium.orange-only .prop-card--featured .pimg { height: 200px; }
body.divido-premium.orange-only .prop-card--featured h3 { font-size: 20px !important; }

/* ---------- Declutter home ---------- */
/* Hide old dense banner + stats if too noisy — keep one path */
body.divido-premium.orange-only .banner-card { display: none !important; }
body.divido-premium.orange-only .home-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 8px;
}
body.divido-premium.orange-only .dv-sales-strip {
  gap: 8px;
  padding: 2px 0 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
body.divido-premium.orange-only .dv-sales-chip {
  scroll-snap-align: start;
  white-space: nowrap;
}
/* Trust row more compact */
body.divido-premium.orange-only .dv-trust-row {
  gap: 8px;
  margin-bottom: 8px;
}
body.divido-premium.orange-only .dv-trust-cell {
  padding: 10px 8px;
  border-radius: 16px;
}
/* Hide second filter bar row density on small screens */
@media (max-width: 430px) {
  body.divido-premium.orange-only #props-filters .filter-bar:nth-of-type(2) {
    display: none;
  }
}

/* ---------- Smooth swipe-like view transitions ---------- */
body.divido-premium.orange-only .view:not(.hidden) {
  animation: dvSwipeIn .42s var(--dv-ease-out) both;
}
@keyframes dvSwipeIn {
  from { opacity: 0; transform: translate3d(18px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
html[dir="rtl"] body.divido-premium.orange-only .view:not(.hidden) {
  animation-name: dvSwipeInRtl;
}
@keyframes dvSwipeInRtl {
  from { opacity: 0; transform: translate3d(-18px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
body.divido-premium.orange-only .prop-card--simple {
  animation: dvCardRise .5s var(--dv-ease-out) both;
}
@keyframes dvCardRise {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
body.divido-premium.orange-only .prop-bento .prop-card--simple:nth-child(1) { animation-delay: .04s; }
body.divido-premium.orange-only .prop-bento .prop-card--simple:nth-child(2) { animation-delay: .08s; }
body.divido-premium.orange-only .prop-bento .prop-card--simple:nth-child(3) { animation-delay: .12s; }
body.divido-premium.orange-only .prop-bento .prop-card--simple:nth-child(4) { animation-delay: .16s; }
body.divido-premium.orange-only .prop-bento .prop-card--simple:nth-child(5) { animation-delay: .20s; }

/* Modal sheet smoother */
body.divido-premium.orange-only .modal-card {
  transition: transform .45s var(--dv-ease-out) !important;
}
body.divido-premium.orange-only .modal:not(.hidden) .modal-card {
  transform: translateY(0);
}

/* Detail CTA cleaner */
body.divido-premium.orange-only .d-bottom {
  backdrop-filter: blur(20px) saturate(1.15);
  border-top: 1px solid rgba(255,106,0,.12) !important;
}
body.divido-premium.orange-only .d-cta-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}
body.divido-premium.orange-only .d-amt-chip {
  scroll-snap-align: start;
  min-width: 104px;
  flex-shrink: 0;
}

/* Pixel shading texture (subtle) */
body.divido-premium.orange-only.px-futuristic::before {
  opacity: .09 !important;
  background-size: 12px 12px !important;
}

/* Auth splash already orange-forward — ensure no red leftovers */
body.divido-premium.orange-only #screen-auth {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255,120,40,.38), transparent 50%),
    linear-gradient(165deg, #1A120C 0%, #2C1A10 38%, #4A280F 70%, #FF6A00 145%) !important;
}

/* Dark mode orange only */
body.divido-premium.orange-only.dark {
  background:
    radial-gradient(100% 70% at 20% 0%, rgba(255,106,0,.16), transparent 50%),
    linear-gradient(180deg, #120E0C, #1A1412 60%, #14110F) !important;
}
body.divido-premium.orange-only.dark .prop-card--simple {
  background: rgba(30, 24, 22, .96) !important;
  border-color: rgba(255,180,120,.10) !important;
}
body.divido-premium.orange-only.dark .prop-card--simple h3,
body.divido-premium.orange-only.dark .hg-name,
body.divido-premium.orange-only.dark .sec-title {
  color: #FFF8F0 !important;
}
body.divido-premium.orange-only.dark .chip.on,
body.divido-premium.orange-only.dark .seg-btn.on {
  background: #FF6A00 !important;
  color: #fff !important;
}

/* Hide duplicate premium.inv-meta inject if any remains */
body.divido-premium.orange-only .inv-meta { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  body.divido-premium.orange-only .view:not(.hidden),
  body.divido-premium.orange-only .prop-card--simple {
    animation: none !important;
  }
}


/* ============================================================
   SMOOTH USAGE LAYER — sticky tools, sheets, tabbar, motion
   ============================================================ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body.divido-premium.orange-only {
  overscroll-behavior-y: contain;
  -webkit-tap-highlight-color: transparent;
}

/* Sticky home controls */
body.divido-premium.orange-only .home-sticky {
  position: sticky;
  top: 56px;
  z-index: 20;
  margin: 0 -2px 10px;
  padding: 8px 2px 10px;
  background: linear-gradient(180deg, rgba(251,246,239,.96), rgba(251,246,239,.90));
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
body.divido-premium.orange-only .home-sticky.is-stuck {
  border-bottom-color: rgba(255,106,0,.12);
  box-shadow: 0 10px 28px rgba(26,18,12,.06);
}
body.divido-premium.orange-only .quick-tools {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 2px;
  scrollbar-width: none;
}
body.divido-premium.orange-only .quick-tools::-webkit-scrollbar { display: none; }
body.divido-premium.orange-only .q-chip,
body.divido-premium.orange-only .filters-open-btn {
  scroll-snap-align: start;
  flex-shrink: 0;
  border: 1px solid rgba(26,18,12,.08);
  background: #fff;
  color: var(--dv-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s var(--dv-ease), background .2s ease, color .2s ease, border-color .2s ease;
}
body.divido-premium.orange-only .q-chip.on {
  background: #1A120C;
  color: #fff;
  border-color: transparent;
}
body.divido-premium.orange-only .filters-open-btn {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(255,106,0,.28);
  margin-inline-start: auto;
}
body.divido-premium.orange-only .q-chip:active,
body.divido-premium.orange-only .filters-open-btn:active { transform: scale(.96); }

/* Filters bottom sheet */
body.divido-premium.orange-only .filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,12,8,.42);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
body.divido-premium.orange-only .filters-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
body.divido-premium.orange-only .filters-drawer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  max-height: min(78vh, 640px);
  background: #FFFCFA;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 50px rgba(26,18,12,.18);
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .34s cubic-bezier(.22,1,.36,1);
  overflow: auto;
  pointer-events: none;
  visibility: hidden;
}
body.divido-premium.orange-only .filters-drawer.open {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
body.divido-premium.orange-only .filters-handle {
  width: 44px; height: 5px; border-radius: 99px;
  background: linear-gradient(90deg, #FF6A00, #FFB067);
  margin: 4px auto 12px;
}
body.divido-premium.orange-only .filters-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
body.divido-premium.orange-only .filters-head b {
  font-size: 18px; letter-spacing: -.03em;
}
body.divido-premium.orange-only .filters-body {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
}
body.divido-premium.orange-only .filters-body .lbl {
  margin-top: 6px; text-align: start;
}

/* View enter */
body.divido-premium.orange-only .view.view-enter {
  animation: dvSwipeIn .38s cubic-bezier(.16,1,.3,1) both;
}
html[dir="rtl"] body.divido-premium.orange-only .view.view-enter {
  animation-name: dvSwipeInRtl;
}

/* Tabbar hide on scroll-down */
body.divido-premium.orange-only .tabbar {
  transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .28s ease !important;
  will-change: transform;
}
body.divido-premium.orange-only .tabbar.tabbar-hide {
  transform: translateY(120%) !important;
  opacity: 0;
  pointer-events: none;
}
body.divido-premium.orange-only.on-detail .tabbar {
  transform: translateY(120%) !important;
  opacity: 0;
  pointer-events: none;
}

/* Modal soft open */
body.divido-premium.orange-only #modal {
  transition: background .25s ease;
}
body.divido-premium.orange-only #modal:not(.hidden) {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(20,12,8,.0);
}
body.divido-premium.orange-only #modal.modal-open {
  background: rgba(20,12,8,.45);
}
body.divido-premium.orange-only #modal .modal-card {
  transform: translateY(24px);
  opacity: .98;
  transition: transform .34s cubic-bezier(.22,1,.36,1), opacity .28s ease;
}
body.divido-premium.orange-only #modal.modal-open .modal-card {
  transform: translateY(0);
  opacity: 1;
}
body.divido-premium.orange-only.modal-active,
body.divido-premium.modal-active {
  overflow: hidden !important;
  touch-action: none;
  overscroll-behavior: none;
}
body.divido-premium.orange-only.modal-active #screen-app,
body.divido-premium.modal-active #screen-app {
  /* keep page from rubber-banding under the sheet */
  overscroll-behavior: none;
}
/* Closed overlays must never steal scroll/touch */
body.divido-premium #modal.hidden,
body.divido-premium #viewer.hidden,
body.divido-premium .filters-backdrop:not(.open),
body.divido-premium .filters-drawer:not(.open) {
  pointer-events: none !important;
}

/* App header slightly tighter on scroll feel */
body.divido-premium.orange-only .app-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Detail back area breathing room */
body.divido-premium.orange-only #view-detail {
  padding-bottom: 120px;
}

/* Momentum lists */
body.divido-premium.orange-only .prop-bento,
body.divido-premium.orange-only #tx-list,
body.divido-premium.orange-only #inv-list {
  -webkit-overflow-scrolling: touch;
}

/* Skeleton softer */
body.divido-premium.orange-only .sk-stat {
  background: linear-gradient(105deg, rgba(255,106,0,.06) 25%, rgba(255,160,80,.16) 37%, rgba(255,106,0,.06) 63%) !important;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  body.divido-premium.orange-only .view.view-enter,
  body.divido-premium.orange-only .filters-drawer,
  body.divido-premium.orange-only #modal .modal-card {
    transition: none !important;
    animation: none !important;
  }
}


/* ============================================================
   ICON LAYOUT HARD FIX — no overlaps, equal hit targets
   ============================================================ */
body.divido-premium .app-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  min-height: 56px;
}
body.divido-premium .app-header .logo-img {
  flex: 0 0 auto;
  height: 30px !important;
  width: auto !important;
  max-width: min(120px, 34vw);
  object-fit: contain;
}
body.divido-premium .hdr-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex: 0 0 auto;
  min-width: 0;
}
/* Every header control = same 36×36 button, never bare img */
body.divido-premium .hdr-icons .hdr-btn,
body.divido-premium .hdr-icons > .icon-btn,
body.divido-premium .hdr-icons > .hdr-bell {
  box-sizing: border-box !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(26,18,12,.08) !important;
  background: rgba(255,255,255,.88) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: visible !important;
  cursor: pointer;
  flex: 0 0 36px !important;
  box-shadow: 0 4px 12px rgba(26,18,12,.04);
}
/* lang needs a bit more room for EN/AR code */
body.divido-premium .hdr-icons .hdr-btn.lang-toggle,
body.divido-premium .hdr-icons .lang-toggle {
  width: auto !important;
  min-width: 36px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  gap: 3px !important;
  padding: 0 8px !important;
}
body.divido-premium .hdr-icons .icon-img,
body.divido-premium .hdr-icons .hdr-btn .icon-img {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  object-fit: contain !important;
  margin: 0 !important;
  pointer-events: none;
}
body.divido-premium .hdr-icons .lang-code {
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  color: #FF6A00 !important;
  letter-spacing: .04em;
  pointer-events: none;
}
body.divido-premium .hdr-bell .bell-dot,
body.divido-premium #bell-dot {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  border-radius: 99px !important;
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  color: #fff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
  z-index: 2;
  box-sizing: border-box;
}
body.divido-premium #bell-dot.hidden { display: none !important; }

/* Auth header lang same system */
body.divido-premium .auth-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}
body.divido-premium .auth-top .logo-img {
  height: 34px !important;
  max-width: 140px;
}
body.divido-premium .auth-top .lang-toggle {
  width: auto !important;
  min-width: 40px;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 0 10px !important;
  border-radius: 12px !important;
}

/* Card image: exclusive zones — save top-right, badges bottom strip only */
body.divido-premium .pimg,
body.divido-premium .prop-card--simple .pimg {
  position: relative !important;
  overflow: hidden !important;
}
body.divido-premium .save-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  width: 34px !important;
  height: 34px !important;
  z-index: 5 !important;
  margin: 0 !important;
}
html[dir="rtl"] body.divido-premium .save-btn {
  right: auto !important;
  left: 10px !important;
}
body.divido-premium .save-btn img,
body.divido-premium .save-ic {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}
/* Kill legacy absolute badges that float freely on simple cards */
body.divido-premium .prop-card--simple .pimg > .p-badge {
  display: none !important;
}
body.divido-premium .pimg-badges {
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 10px !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  pointer-events: none;
  max-width: calc(100% - 20px);
}
body.divido-premium .pimg-badges .p-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  max-width: 100%;
  pointer-events: none;
  white-space: nowrap;
}
/* Non-simple cards (legacy): pin badges away from save */
body.divido-premium .prop-card:not(.prop-card--simple) .p-badge.b-fund {
  left: 10px !important;
  right: auto !important;
  bottom: 10px !important;
  top: auto !important;
}
body.divido-premium .prop-card:not(.prop-card--simple) .p-badge.b-urg,
body.divido-premium .prop-card:not(.prop-card--simple) .p-badge.b-new {
  left: 10px !important;
  top: 10px !important;
  right: auto !important;
  bottom: auto !important;
  max-width: calc(100% - 56px); /* leave room for save */
}

/* Tabbar: prevent label/icon collision & overflow */
body.divido-premium .tabbar {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom)) !important;
}
body.divido-premium .tabbar-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 6px 2px !important;
  overflow: hidden !important;
}
body.divido-premium .tabbar-btn img {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}
body.divido-premium .tabbar-btn span {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  padding: 0 1px;
}
/* Active underglow shouldn't cover label */
body.divido-premium .tabbar-btn.on::before {
  inset: 2px !important;
  z-index: 0 !important;
}
body.divido-premium .tabbar-btn img,
body.divido-premium .tabbar-btn span { position: relative; z-index: 1; }

/* Wallet / action row icons */
body.divido-premium .w-act {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0;
}
body.divido-premium .w-act .action-ic {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  display: block !important;
}
body.divido-premium .w-act span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.1;
}

/* Menu list icons */
body.divido-premium .menu-list button {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
body.divido-premium .menu-list button img {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  object-fit: contain;
}
body.divido-premium .menu-list button span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

/* Detail top icons row if any */
body.divido-premium #view-detail .d-top,
body.divido-premium #view-detail .detail-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.divido-premium .round-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  overflow: hidden;
}

/* Seg icons */
body.divido-premium .seg-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0;
}
body.divido-premium .seg-ic {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px;
  margin: 0 !important;
}

/* Fix leftover red in styles gradient overrides */
body.divido-premium .btn.primary,
body.divido-premium .bar-fill,
body.divido-premium .fab,
body.divido-premium .p-badge.b-fund,
body.divido-premium .p-badge.b-new {
  background: linear-gradient(135deg, #FF6A00 0%, #FF8F3D 100%) !important;
}
body.divido-premium.dark .tabbar-btn.on span { color: #FF8F3D !important; }

/* Sticky home tools shouldn't collide with header */
body.divido-premium .home-sticky {
  top: 56px !important;
}

/* Small phones: shrink header logo so 4 buttons never crush */
@media (max-width: 360px) {
  body.divido-premium .app-header .logo-img { max-width: 96px; height: 26px !important; }
  body.divido-premium .hdr-icons { gap: 4px !important; }
  body.divido-premium .hdr-icons .hdr-btn { width: 34px !important; height: 34px !important; min-width: 34px !important; }
}



/* ============================================================
   MODAL SHEET HARD FIX — close always reachable, no off-screen head
   ============================================================ */
body.divido-premium #modal,
body.divido-premium.orange-only #modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 120 !important;
  display: none;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
body.divido-premium #modal:not(.hidden),
body.divido-premium.orange-only #modal:not(.hidden) {
  display: flex !important;
}
body.divido-premium #modal.modal-open,
body.divido-premium.orange-only #modal.modal-open {
  background: rgba(20, 12, 8, .48) !important;
}
body.divido-premium .modal-card,
body.divido-premium.orange-only #modal .modal-card,
body.divido-premium.orange-only .modal-card {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  max-height: min(88dvh, 88vh, 720px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto !important;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  border-radius: 28px 28px 0 0 !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
}
/* soft open still animates from slight offset only when opening */
body.divido-premium.orange-only #modal:not(.modal-open) .modal-card {
  transform: translateY(18px) !important;
  opacity: .98 !important;
}
body.divido-premium.orange-only #modal.modal-open .modal-card {
  transform: translateY(0) !important;
  opacity: 1 !important;
}
body.divido-premium .modal-card .head-row,
body.divido-premium #modal .head-row {
  position: sticky !important;
  top: 0 !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 4px 0 10px !important;
  background: linear-gradient(180deg, #FFFCFA 70%, rgba(255,252,250,0)) !important;
}
body.divido-premium.dark .modal-card .head-row {
  background: linear-gradient(180deg, #1A1313 70%, rgba(26,19,19,0)) !important;
}
body.divido-premium #modal-title,
body.divido-premium .modal-card .head-row h3 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body.divido-premium #modal-close,
body.divido-premium .modal-card .head-row .round-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  z-index: 7 !important;
}
body.divido-premium #modal-body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Filters drawer same safe max-height */
body.divido-premium .filters-drawer {
  max-height: min(78dvh, 78vh, 640px) !important;
  overflow: auto !important;
  z-index: 125 !important;
}
body.divido-premium .filters-backdrop {
  z-index: 122 !important;
}

/* Detail sticky CTA never covers content badly */
body.divido-premium .d-bottom {
  z-index: 25 !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
}
body.divido-premium #start-invest {
  width: 100% !important;
  max-width: 100% !important;
}

/* Ensure tabbar above content but below modals */
body.divido-premium .tabbar { z-index: 40 !important; }
body.divido-premium .app-header { z-index: 50 !important; }
body.divido-premium .home-sticky { z-index: 45 !important; }



/* ============================================================
   THRILL VISUAL LAYER — cinematic premium energy (still clean)
   Orange kinetic light, depth, motion. No red. Reduced-motion safe.
   ============================================================ */

body.divido-premium.thrill {
  --thrill-orange: #FF6A00;
  --thrill-amber: #FFB067;
  --thrill-hot: #FF4D00;
  --thrill-ink: #140E0B;
  --thrill-glow: 0 0 40px rgba(255, 106, 0, .28);
  --thrill-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Atmosphere: living orange haze */
body.divido-premium.thrill {
  background:
    radial-gradient(90% 55% at 8% -5%, rgba(255, 120, 40, .28), transparent 55%),
    radial-gradient(70% 45% at 100% 5%, rgba(255, 170, 80, .16), transparent 50%),
    radial-gradient(60% 40% at 50% 100%, rgba(255, 90, 20, .08), transparent 55%),
    linear-gradient(180deg, #FFF7EE 0%, #FBF4EB 40%, #F4EDE4 100%) !important;
}
body.divido-premium.thrill::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,106,0,.18), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255,160,70,.12), transparent 32%);
  animation: thrillDrift 14s ease-in-out infinite alternate;
  filter: blur(2px);
}
@keyframes thrillDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); }
}

/* Cinematic splash energy */
body.divido-premium.thrill #screen-auth {
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(255,130,40,.45), transparent 55%),
    linear-gradient(165deg, #120C0A 0%, #2A160E 40%, #5A2A10 72%, #FF6A00 140%) !important;
  overflow: hidden;
}
body.divido-premium.thrill #screen-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% 35%, rgba(255,106,0,.35), transparent 60%);
  animation: thrillPulse 4.5s ease-in-out infinite;
}
@keyframes thrillPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.06); }
}
body.divido-premium.thrill .splash-hero {
  border: 1px solid rgba(255,180,100,.22) !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.14),
    0 0 60px rgba(255,106,0,.18) !important;
  backdrop-filter: blur(10px);
}
body.divido-premium.thrill .splash-logo {
  filter: drop-shadow(0 16px 40px rgba(255,106,0,.55)) !important;
  animation: thrillLogoFloat 5s ease-in-out infinite;
}
@keyframes thrillLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
body.divido-premium.thrill .splash-kicker {
  color: #FFC27A !important;
  text-shadow: 0 0 24px rgba(255,106,0,.45);
  letter-spacing: .22em !important;
}
body.divido-premium.thrill #screen-auth .onb-title {
  text-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 40px rgba(255,106,0,.2) !important;
}
body.divido-premium.thrill #screen-auth .btn.primary.big {
  box-shadow:
    0 18px 40px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.2) inset,
    0 0 30px rgba(255,180,100,.25) !important;
  animation: thrillCtaBreath 3.2s ease-in-out infinite;
}
@keyframes thrillCtaBreath {
  0%, 100% { box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.2) inset, 0 0 20px rgba(255,180,100,.2); }
  50% { box-shadow: 0 20px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.28) inset, 0 0 36px rgba(255,160,80,.4); }
}

/* Net worth — deep cinematic panel + moving light beam */
body.divido-premium.thrill .nw-card {
  isolation: isolate;
  overflow: hidden !important;
  border: 1px solid rgba(255,160,80,.2) !important;
  background:
    linear-gradient(145deg, #120C0A 0%, #24150F 38%, #4A2410 78%, #FF6A00 155%) !important;
  box-shadow:
    0 28px 60px rgba(255, 90, 20, .22),
    0 10px 24px rgba(20,12,8,.18),
    inset 0 1px 0 rgba(255,255,255,.1) !important;
}
body.divido-premium.thrill .nw-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 120deg, transparent, rgba(255,140,40,.22), transparent 40%);
  animation: thrillSpin 12s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes thrillSpin {
  to { transform: rotate(360deg); }
}
body.divido-premium.thrill .nw-card::after {
  content: "";
  position: absolute;
  top: 22%;
  left: -30%;
  width: 60%;
  height: 55px;
  background: linear-gradient(90deg, transparent, rgba(255,180,90,.75), rgba(255,255,255,.35), transparent);
  filter: blur(10px);
  transform: skewY(-8deg);
  animation: thrillBeam 4.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: .7;
}
@keyframes thrillBeam {
  0% { left: -40%; opacity: .25; }
  40% { opacity: .85; }
  100% { left: 90%; opacity: .2; }
}
body.divido-premium.thrill .nw-card > * { position: relative; z-index: 2; }
body.divido-premium.thrill .nw-val {
  filter: drop-shadow(0 0 18px rgba(255,140,60,.35));
  letter-spacing: -.05em !important;
}

/* Primary CTAs — liquid orange energy */
body.divido-premium.thrill .btn.primary,
body.divido-premium.thrill .inv-now,
body.divido-premium.thrill #start-invest {
  position: relative;
  overflow: hidden !important;
  background: linear-gradient(120deg, #FF4D00 0%, #FF6A00 35%, #FFB067 70%, #FF6A00 100%) !important;
  background-size: 200% 100% !important;
  animation: thrillGradShift 4s ease infinite !important;
  box-shadow:
    0 14px 32px rgba(255,106,0,.34),
    inset 0 1px 0 rgba(255,255,255,.4) !important;
  border: 0 !important;
}
@keyframes thrillGradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
body.divido-premium.thrill .btn.primary::after,
body.divido-premium.thrill .inv-now::after,
body.divido-premium.thrill #start-invest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: thrillSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes thrillSheen {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
body.divido-premium.thrill .btn.primary:hover,
body.divido-premium.thrill .inv-now:hover {
  filter: brightness(1.06) saturate(1.08);
  transform: translateY(-1px);
}

/* Cards — depth + hover lift + light edge */
body.divido-premium.thrill .prop-card--simple,
body.divido-premium.thrill .fund-card,
body.divido-premium.thrill .inv-card {
  border: 1px solid rgba(255,140,60,.12) !important;
  box-shadow:
    0 12px 36px rgba(26,18,12,.07),
    0 1px 0 rgba(255,255,255,.9) inset !important;
  transition:
    transform .45s var(--thrill-ease),
    box-shadow .45s var(--thrill-ease),
    border-color .35s ease !important;
}
body.divido-premium.thrill .prop-card--simple:hover,
body.divido-premium.thrill .fund-card:hover {
  transform: translateY(-6px) scale(1.012) !important;
  border-color: rgba(255,106,0,.32) !important;
  box-shadow:
    0 28px 56px rgba(255,106,0,.16),
    0 12px 28px rgba(26,18,12,.08),
    0 0 0 1px rgba(255,160,80,.15) !important;
}
body.divido-premium.thrill .prop-card--featured {
  box-shadow:
    0 24px 56px rgba(255,106,0,.18),
    0 0 0 1px rgba(255,140,60,.2) !important;
}
body.divido-premium.thrill .prop-card--featured .pimg::after {
  background:
    linear-gradient(180deg, transparent 30%, rgba(20,10,6,.55) 100%),
    linear-gradient(90deg, rgba(255,106,0,.15), transparent 40%) !important;
}
body.divido-premium.thrill .feat-ribbon span {
  box-shadow: 0 10px 24px rgba(255,106,0,.4), 0 0 20px rgba(255,106,0,.25) !important;
  animation: thrillBadgePulse 2.4s ease-in-out infinite;
}
@keyframes thrillBadgePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

/* Funding bar — electric fill */
body.divido-premium.thrill .bar {
  background: rgba(26,18,12,.07) !important;
  overflow: hidden;
  position: relative;
}
body.divido-premium.thrill .bar-fill {
  position: relative;
  background: linear-gradient(90deg, #FF3B00, #FF6A00 40%, #FFC27A 85%, #FFE0B0) !important;
  box-shadow: 0 0 18px rgba(255,106,0,.55) !important;
}
body.divido-premium.thrill .bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: thrillBarFlash 2.2s ease-in-out infinite;
}
@keyframes thrillBarFlash {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Info pills glow */
body.divido-premium.thrill .info-pill {
  background: linear-gradient(135deg, rgba(255,106,0,.12), rgba(255,180,100,.06)) !important;
  border-color: rgba(255,106,0,.2) !important;
  box-shadow: 0 4px 14px rgba(255,106,0,.06);
}
body.divido-premium.thrill .info-pill b {
  text-shadow: 0 0 12px rgba(255,106,0,.25);
}
body.divido-premium.thrill .yield-one {
  border-color: rgba(255,106,0,.22) !important;
  box-shadow: inset 0 0 24px rgba(255,106,0,.05);
}

/* Sales chips kinetic */
body.divido-premium.thrill .dv-sales-chip {
  backdrop-filter: blur(10px);
  border-color: rgba(255,106,0,.18) !important;
  box-shadow: 0 8px 22px rgba(255,106,0,.08) !important;
}
body.divido-premium.thrill .dv-sales-chip.hot {
  animation: thrillHot 1.8s ease-in-out infinite;
  box-shadow: 0 12px 28px rgba(255,106,0,.4) !important;
}
@keyframes thrillHot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Tabbar floating capsule energy */
body.divido-premium.thrill .tabbar {
  border: 1px solid rgba(255,140,60,.16) !important;
  box-shadow:
    0 18px 44px rgba(26,18,12,.16),
    0 0 0 1px rgba(255,255,255,.4) inset,
    0 0 30px rgba(255,106,0,.08) !important;
  background: rgba(255,252,248,.9) !important;
}
body.divido-premium.thrill .tabbar-btn.on {
  color: #FF6A00 !important;
}
body.divido-premium.thrill .tabbar-btn.on img {
  filter: drop-shadow(0 4px 10px rgba(255,106,0,.45)) !important;
}
body.divido-premium.thrill .tabbar-btn.on::after {
  background: linear-gradient(90deg, #FF4D00, #FFB067) !important;
  box-shadow: 0 0 14px rgba(255,106,0,.8) !important;
}

/* Sticky detail CTA glass + glow */
body.divido-premium.thrill .d-bottom {
  background: rgba(255,252,248,.82) !important;
  border-top: 1px solid rgba(255,106,0,.16) !important;
  box-shadow: 0 -20px 50px rgba(255,106,0,.1) !important;
  backdrop-filter: blur(22px) saturate(1.25) !important;
}
body.divido-premium.thrill .d-amt-chip {
  border-color: rgba(255,106,0,.25) !important;
  transition: transform .25s var(--thrill-ease), box-shadow .25s ease;
}
body.divido-premium.thrill .d-amt-chip:active {
  transform: scale(.96);
  box-shadow: 0 0 0 3px rgba(255,106,0,.18);
}

/* Wallet / rewards heroes */
body.divido-premium.thrill .wallet-hero.hero-white,
body.divido-premium.thrill .rewards-hero.hero-white,
body.divido-premium.thrill .inv-hero {
  border: 1px solid rgba(255,140,60,.18) !important;
  box-shadow:
    0 20px 48px rgba(255,106,0,.12),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
  background:
    linear-gradient(160deg, #FFFFFF 0%, #FFF6EC 50%, #FFE4C8 120%) !important;
}

/* Header glass */
body.divido-premium.thrill .app-header {
  background: rgba(255,252,248,.7) !important;
  border-bottom: 1px solid rgba(255,140,60,.1) !important;
  box-shadow: 0 8px 28px rgba(255,106,0,.05) !important;
}
body.divido-premium.thrill .hdr-btn {
  border-color: rgba(255,140,60,.16) !important;
  box-shadow: 0 6px 16px rgba(255,106,0,.08) !important;
  transition: transform .2s var(--thrill-ease), box-shadow .2s ease;
}
body.divido-premium.thrill .hdr-btn:active { transform: scale(.92); }

/* View transitions punchier */
body.divido-premium.thrill .view.view-enter {
  animation: thrillViewIn .48s var(--thrill-ease) both !important;
}
@keyframes thrillViewIn {
  from { opacity: 0; transform: translate3d(22px, 8px, 0) scale(.985); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
}
html[dir="rtl"] body.divido-premium.thrill .view.view-enter {
  animation-name: thrillViewInRtl !important;
}
@keyframes thrillViewInRtl {
  from { opacity: 0; transform: translate3d(-22px, 8px, 0) scale(.985); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Card enter stagger more vivid */
body.divido-premium.thrill .prop-card--simple {
  animation: thrillCardIn .55s var(--thrill-ease) both;
}
@keyframes thrillCardIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Loader more electric */
body.divido-premium.thrill .divido-loader-logo {
  filter: drop-shadow(0 16px 36px rgba(255,106,0,.4)) !important;
  animation: thrillLogoFloat 2.4s ease-in-out infinite;
}
body.divido-premium.thrill .divido-loader-line span {
  background: linear-gradient(90deg, #FF4D00, #FFB067, #FF4D00) !important;
  background-size: 200% 100%;
  animation: thrillGradShift 1s linear infinite, dvLoaderLine 1.1s ease-in-out infinite !important;
}

/* Toast thrill */
body.divido-premium.thrill .toast {
  background: linear-gradient(135deg, #140E0B, #3A1E10) !important;
  border: 1px solid rgba(255,140,60,.4) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 30px rgba(255,106,0,.15) !important;
}

/* Pixel accent brighter but still secondary */
body.divido-premium.thrill.px-futuristic::before {
  opacity: .12 !important;
}
body.divido-premium.thrill.px-futuristic .prop-card::before {
  opacity: .4 !important;
  filter: drop-shadow(0 0 8px rgba(255,106,0,.4));
}

/* Dark thrill */
body.divido-premium.thrill.dark {
  background:
    radial-gradient(90% 60% at 15% 0%, rgba(255,106,0,.22), transparent 50%),
    linear-gradient(180deg, #0E0A08, #16100C 55%, #120E0B) !important;
}
body.divido-premium.thrill.dark .prop-card--simple {
  background: rgba(28, 22, 18, .96) !important;
  border-color: rgba(255,160,80,.14) !important;
}
body.divido-premium.thrill.dark .tabbar {
  background: rgba(24,18,14,.92) !important;
}

/* Ambient floating orbs (pure CSS, no JS cost) */
body.divido-premium.thrill .thrill-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
  opacity: .35;
  mix-blend-mode: screen;
}
body.divido-premium.thrill .thrill-orb.o1 {
  width: 180px; height: 180px; top: 12%; left: -40px;
  background: rgba(255,106,0,.45);
  animation: thrillOrb1 11s ease-in-out infinite alternate;
}
body.divido-premium.thrill .thrill-orb.o2 {
  width: 140px; height: 140px; top: 55%; right: -30px;
  background: rgba(255,170,80,.35);
  animation: thrillOrb2 13s ease-in-out infinite alternate;
}
@keyframes thrillOrb1 {
  from { transform: translate(0,0); }
  to { transform: translate(30px, 40px); }
}
@keyframes thrillOrb2 {
  from { transform: translate(0,0); }
  to { transform: translate(-25px, -35px); }
}

@media (prefers-reduced-motion: reduce) {
  body.divido-premium.thrill::after,
  body.divido-premium.thrill #screen-auth::before,
  body.divido-premium.thrill .splash-logo,
  body.divido-premium.thrill .nw-card::before,
  body.divido-premium.thrill .nw-card::after,
  body.divido-premium.thrill .btn.primary,
  body.divido-premium.thrill .btn.primary::after,
  body.divido-premium.thrill .inv-now::after,
  body.divido-premium.thrill #start-invest::after,
  body.divido-premium.thrill .bar-fill::after,
  body.divido-premium.thrill .dv-sales-chip.hot,
  body.divido-premium.thrill .feat-ribbon span,
  body.divido-premium.thrill .thrill-orb,
  body.divido-premium.thrill #screen-auth .btn.primary.big {
    animation: none !important;
  }
  body.divido-premium.thrill .prop-card--simple:hover {
    transform: none !important;
  }
}



/* ============================================================
   UNIT CARD FULL METRICS + OVERFLOW FIX
   All decision numbers visible; nothing clipped out of box.
   ============================================================ */
body.divido-premium .prop-card,
body.divido-premium .prop-card--full,
body.divido-premium .prop-card--simple,
body.divido-premium .prop-card--featured {
  overflow: hidden !important; /* clip image radius only */
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}
body.divido-premium .prop-bento,
body.divido-premium #prop-featured,
body.divido-premium #prop-list {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}
body.divido-premium .prop-body {
  overflow: visible !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 14px 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
body.divido-premium .prop-title,
body.divido-premium .prop-card h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100% !important;
}
body.divido-premium .prop-loc-line {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--dv-muted, #8A7B72) !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* 2×2 metrics grid — no overflow */
body.divido-premium .unit-metrics.card-metrics,
body.divido-premium .prop-card--full .card-metrics {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.divido-premium .unit-metrics .metric {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(255,106,0,.08), rgba(255,180,100,.04)) !important;
  border: 1px solid rgba(255,106,0,.12) !important;
  box-sizing: border-box !important;
}
body.divido-premium .unit-metrics .m-icon {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 9px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  box-shadow: 0 4px 10px rgba(255,106,0,.25) !important;
}
body.divido-premium .unit-metrics .m-icon img {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  filter: brightness(0) invert(1);
}
body.divido-premium .unit-metrics .m-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
body.divido-premium .unit-metrics .m-label {
  display: block !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: var(--dv-muted, #8A7B72) !important;
  letter-spacing: .02em !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
body.divido-premium .unit-metrics .m-val,
body.divido-premium .unit-metrics b {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #FF6A00 !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
  overflow-wrap: anywhere !important;
  -webkit-text-fill-color: #FF6A00 !important;
  background: none !important;
}

/* Decision strip: appreciation / yield / total / monthly */
body.divido-premium .decision-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.divido-premium .decision-cell {
  min-width: 0 !important;
  padding: 8px 6px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(26,18,12,.06) !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
body.divido-premium.dark .decision-cell {
  background: rgba(40,30,24,.9) !important;
  border-color: rgba(255,160,80,.12) !important;
}
body.divido-premium .dc-label {
  display: block !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  color: var(--dv-muted, #8A7B72) !important;
  line-height: 1.15 !important;
  margin-bottom: 3px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
body.divido-premium .dc-val {
  display: block !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #FF6A00 !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
  overflow-wrap: anywhere !important;
  -webkit-text-fill-color: #FF6A00 !important;
  background: none !important;
}

body.divido-premium .yield-one {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
}

body.divido-premium .bar-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.divido-premium .bar-row .bar {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
body.divido-premium .bar-pct {
  flex: 0 0 auto !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #FF6A00 !important;
}

body.divido-premium .fund-meta-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--dv-muted, #8A7B72) !important;
  max-width: 100% !important;
}
body.divido-premium .fund-meta-line .hot { color: #FF6A00 !important; }
body.divido-premium .avail-line {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: var(--dv-ink, #1A120C) !important;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body.divido-premium .avail-line b { color: #FF6A00; }

body.divido-premium .card-cta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
body.divido-premium .card-price {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow-wrap: anywhere !important;
}
body.divido-premium .card-price b {
  font-size: 16px !important;
  overflow-wrap: anywhere;
}
body.divido-premium .card-cta-row .inv-now {
  flex: 0 0 auto !important;
  max-width: 46% !important;
  white-space: nowrap !important;
  padding: 11px 14px !important;
  font-size: 12.5px !important;
}

/* Featured: keep metrics readable */
body.divido-premium .prop-card--featured .unit-metrics {
  grid-template-columns: 1fr 1fr !important;
}
@media (min-width: 520px) {
  body.divido-premium .prop-card--featured {
    display: grid !important;
    grid-template-columns: 1.05fr 1fr !important;
    align-items: stretch !important;
  }
  body.divido-premium .prop-card--featured .pimg {
    height: 100% !important;
    min-height: 280px !important;
    max-height: none !important;
  }
  body.divido-premium .prop-bento {
    grid-template-columns: 1fr !important; /* full width cards so metrics never crush */
  }
}

/* On narrow phones, decision row 2×2 if needed */
@media (max-width: 360px) {
  body.divido-premium .decision-row {
    grid-template-columns: 1fr 1fr !important;
  }
  body.divido-premium .unit-metrics .m-label { font-size: 9px !important; }
  body.divido-premium .dc-label { font-size: 8px !important; }
}

/* Kill old "hide metrics on simple cards" rules */
body.divido-premium.orange-only .prop-card--simple .card-metrics,
body.divido-premium.orange-only .prop-card--full .card-metrics {
  display: grid !important;
}
body.divido-premium.orange-only .prop-card--simple .social-proof,
body.divido-premium.orange-only .prop-card--simple .inv-meta {
  display: none !important;
}

/* Image badges stay inside frame */
body.divido-premium .pimg {
  overflow: hidden !important;
  max-width: 100% !important;
}
body.divido-premium .pimg-badges {
  max-width: calc(100% - 20px) !important;
  box-sizing: border-box !important;
}
body.divido-premium .pimg-badges .p-badge {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Hide legacy free-floating absolute badges that escape the card */
body.divido-premium .prop-card--full .pimg > .p-badge.b-strat,
body.divido-premium .prop-card--full .pimg > .p-badge.b-type,
body.divido-premium .prop-card--full .pimg > .p-badge.b-src,
body.divido-premium .prop-card--full .pimg > .p-badge.b-new,
body.divido-premium .prop-card--full .pimg > .p-badge.b-urg,
body.divido-premium .prop-card--full .pimg > .p-badge.b-fund {
  /* badges only via .pimg-badges strip */
}



/* ============================================================
   APP SHEET + CALC + SWIPE + FULL BLEED
   ============================================================ */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  overflow-y: scroll !important;
  overscroll-behavior-y: auto;
  background: #FBF6EF !important;
  touch-action: manipulation;
}
html.force-light body.dark { /* overridden on boot */ }
body.divido-premium,
body.divido-premium.thrill,
body.divido-premium.orange-only {
  height: auto !important;
  min-height: 100dvh !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
/* Full-bleed app surfaces — grow with content; window scrolls */
body.divido-premium #screen-app,
body.divido-premium #screen-auth {
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding-left: env(safe-area-inset-left) !important;
  padding-right: env(safe-area-inset-right) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  touch-action: pan-y pinch-zoom;
}
body.divido-premium .view {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  box-sizing: border-box !important;
}
body.divido-premium .app-header {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding-left: max(14px, env(safe-area-inset-left)) !important;
  padding-right: max(14px, env(safe-area-inset-right)) !important;
}
body.divido-premium .tabbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding-left: env(safe-area-inset-left) !important;
  padding-right: env(safe-area-inset-right) !important;
}
body.divido-premium .d-bottom {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* One logo on auth splash */
body.divido-premium .auth-top-minimal .logo-img { display: none !important; }
body.divido-premium .auth-top-minimal {
  justify-content: flex-end !important;
}
body.divido-premium #screen-auth .splash-logo {
  margin-top: 8px;
}

/* Reduce layout shift: reserve loader space, stable type */
body.divido-premium .divido-app-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
}
body.divido-premium .hg-name,
body.divido-premium .nw-val,
body.divido-premium .prop-title {
  min-height: 1.15em;
}

/* Days-left / hot pill — never broken wrap */
body.divido-premium .pill-hot,
body.divido-premium .d-cta-sub .hot,
body.divido-premium .tag.urg,
body.divido-premium .fund-meta-line .hot {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  max-width: 100%;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #FF6A00, #FF8F3D) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  box-shadow: 0 6px 14px rgba(255,106,0,.25);
}
body.divido-premium .d-cta-sub {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  row-gap: 6px !important;
}
body.divido-premium .cta-shares {
  font-size: 12px;
  font-weight: 700;
  color: var(--dv-muted, #8A7B72);
}
body.divido-premium .pill-open {
  font-size: 11px;
  font-weight: 700;
  color: #16A34A;
}

/* Calculator box compact + stable */
body.divido-premium .calc-box {
  padding: 14px 14px 12px !important;
  border-radius: 20px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.divido-premium .calc-amount {
  font-size: 26px !important;
  letter-spacing: -.04em;
  display: block;
  margin: 6px 0 10px;
}
body.divido-premium .calc-proj {
  margin-top: 10px;
  padding: 12px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #1A120C, #3D220F 70%, #FF6A00) !important;
  color: #fff !important;
}
body.divido-premium .calc-proj span { color: rgba(255,248,240,.8) !important; font-size: 11px; }
body.divido-premium .calc-proj b {
  display: block;
  font-size: 24px !important;
  margin: 4px 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}
body.divido-premium .calc-return {
  display: inline-flex !important;
  background: rgba(34,197,94,.2) !important;
  color: #86EFAC !important;
  border-radius: 999px;
  padding: 3px 8px !important;
  font-size: 12px !important;
  font-weight: 800;
}
body.divido-premium .calc-mini-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 8px !important;
  margin-top: 10px;
}
body.divido-premium .calc-mini-3 div {
  min-width: 0;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(255,106,0,.06);
  border: 1px solid rgba(255,106,0,.1);
}
body.divido-premium .calc-mini-3 span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--dv-muted);
}
body.divido-premium .calc-mini-3 b {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #FF6A00 !important;
  -webkit-text-fill-color: #FF6A00 !important;
  background: none !important;
  overflow-wrap: anywhere;
}
body.divido-premium .calc-note {
  margin: 8px 0 0;
  font-size: 10.5px;
  color: var(--dv-muted);
  line-height: 1.35;
}
body.divido-premium .calc-presets { gap: 6px !important; }
body.divido-premium .cp {
  max-width: none !important;
  flex: 1 1 0 !important;
}

/* Invest amount quick chips */
body.divido-premium .amt-quick {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
}
body.divido-premium .aq {
  flex: 1;
  border: 1.5px solid rgba(255,106,0,.18);
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--dv-ink);
  cursor: pointer;
  font-family: inherit;
}
body.divido-premium .aq.on {
  background: linear-gradient(135deg, #FF6A00, #FF8F3D);
  color: #fff;
  border-color: transparent;
}

/* Exit policy */
body.divido-premium .exit-grid-3 {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}
@media (min-width: 420px) {
  body.divido-premium .exit-grid-3 { grid-template-columns: 1fr 1fr 1fr !important; }
}
body.divido-premium .policy-banner {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,106,0,.1), rgba(255,180,100,.06));
  border: 1px solid rgba(255,106,0,.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.divido-premium .policy-banner b { color: #FF6A00; font-size: 12.5px; }
body.divido-premium .policy-banner span { font-size: 11.5px; color: var(--dv-muted); line-height: 1.4; }

/* Order summary slightly tighter */
body.divido-premium .order-summary {
  padding: 12px !important;
  margin: 10px 0 12px !important;
}
body.divido-premium .calc-grid {
  gap: 8px !important;
}
body.divido-premium .calc-grid > div {
  padding: 8px !important;
}

/* Swipe reliability */
body.divido-premium .slide-track {
  touch-action: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
body.divido-premium .slide-thumb {
  pointer-events: auto !important;
  touch-action: none !important;
  cursor: grab;
}
body.divido-premium .slide-fill {
  background: linear-gradient(90deg, #FF4D00, #FF6A00 55%, #FFB067) !important;
}

/* Light mode preference */
body.divido-premium:not(.dark) {
  color-scheme: light;
}

/* Chat root above tabbar */
#divido-chat-root {
  z-index: 200 !important;
}

/* KYC */
body.divido-premium .kyc-status-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 8px 0 4px; padding: 0 2px;
}
body.divido-premium .kyc-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
}
body.divido-premium .kyc-pill.ok { background: rgba(22,163,74,.12); color: #15803d; }
body.divido-premium .kyc-pill.wait { background: rgba(255,106,0,.12); color: #c2410c; }
body.divido-premium .kyc-hint { font-size: 11px; color: var(--dv-muted,#8A7B72); }
body.divido-premium .kyc-invest-note { margin-top: 4px; font-size: 11.5px; }
body.divido-premium .btn.sm { padding: 6px 10px; font-size: 12px; border-radius: 10px; }



/* ============================================================
   SMOOTH PERF PACK — fast tab switches, less paint lag
   ============================================================ */
html {
  scroll-behavior: auto !important; /* never smooth-scroll whole page */
}
body.divido-premium {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}
/* Perf: do NOT use contain/content-visibility on .view — it collapses
   document scrollHeight so the page cannot scroll (mouse or touch). */
body.divido-premium .view {
  content-visibility: visible !important;
  contain: none !important;
}
body.divido-premium .prop-card,
body.divido-premium .prop-card--full,
body.divido-premium .fund-card,
body.divido-premium .inv-card,
body.divido-premium .w-stat,
body.divido-premium .metric {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: none !important;
}

/* GPU-composited sticky chrome */
body.divido-premium .app-header,
body.divido-premium .tabbar,
body.divido-premium .d-bottom,
body.divido-premium .props-tools-sticky {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Fast view enter — opacity + translate only (no blur = cheaper) */
@keyframes viewEnterSmooth {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
body.divido-premium .view.view-enter {
  animation: viewEnterSmooth .28s cubic-bezier(.22, 1, .36, 1) both !important;
  will-change: transform, opacity;
}
body.divido-premium.nav-switching .view.view-enter {
  animation-duration: .22s !important;
}
/* Kill expensive blur transitions during nav */
body.divido-premium.nav-switching .thrill-orb,
body.divido-premium.nav-switching .divido-network-progress {
  animation-play-state: paused !important;
}
body.divido-premium.nav-switching * {
  scroll-behavior: auto !important;
}

/* Soften ambient orbs on small screens */
@media (max-width: 480px) {
  body.divido-premium .thrill-orb {
    opacity: .35 !important;
    filter: blur(28px) !important;
  }
  body.divido-premium .thrill-orb.o2 { display: none !important; }
  /* pause infinite shine on many buttons while scrolling */
  body.divido-premium .btn.primary::after {
    animation-duration: 4.5s !important;
  }
}

/* Tab press feedback — snappy */
body.divido-premium .tabbar-btn {
  transition: color .15s ease, transform .12s ease !important;
  -webkit-tap-highlight-color: transparent;
}
body.divido-premium .tabbar-btn:active {
  transform: scale(.94);
}
body.divido-premium .tabbar-btn img {
  transition: opacity .15s ease, transform .15s ease;
}
body.divido-premium .tabbar-btn.on img {
  transform: translateY(-1px);
}

/* Cards: cheaper hover (no giant shadows on mobile) */
@media (hover: none) {
  body.divido-premium .prop-card:hover,
  body.divido-premium .prop-card--full:hover {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
  body.divido-premium .prop-card,
  body.divido-premium .prop-card--full {
    transition: transform .15s ease, opacity .15s ease !important;
  }
}

/* List stagger without JS */
body.divido-premium #prop-list .prop-card {
  animation: cardIn .34s cubic-bezier(.22,1,.36,1) both;
}
body.divido-premium #prop-list .prop-card:nth-child(1) { animation-delay: .02s; }
body.divido-premium #prop-list .prop-card:nth-child(2) { animation-delay: .05s; }
body.divido-premium #prop-list .prop-card:nth-child(3) { animation-delay: .08s; }
body.divido-premium #prop-list .prop-card:nth-child(4) { animation-delay: .11s; }
body.divido-premium #prop-list .prop-card:nth-child(5) { animation-delay: .14s; }
body.divido-premium #prop-list .prop-card:nth-child(n+6) { animation-delay: .16s; }
@keyframes cardIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}

/* Modal — already soft; ensure GPU */
body.divido-premium #modal.modal-open .modal-card,
body.divido-premium .modal-open .modal-card {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Map lazy button */
body.divido-premium .map-lazy-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(255,106,0,.35);
  background: rgba(255,106,0,.06);
  color: #FF6A00;
  font-weight: 800;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
body.divido-premium .map-embed {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 14px;
}

/* Skeleton shimmer cheaper */
body.divido-premium .skel {
  background: linear-gradient(90deg, #f0ebe3 25%, #f7f3ea 37%, #f0ebe3 63%);
  background-size: 400% 100%;
  animation: skel 1.1s ease infinite;
}
@keyframes skel {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Reduce motion — hard stop */
@media (prefers-reduced-motion: reduce) {
  body.divido-premium .view.view-enter,
  body.divido-premium #prop-list .prop-card,
  body.divido-premium .thrill-orb,
  body.divido-premium .btn.primary::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Passive overscroll feel */
body.divido-premium #screen-app {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* Detail open: hide tabbar without layout jump */
body.divido-premium.on-detail .tabbar {
  transform: translate3d(0, 110%, 0);
  pointer-events: none;
  transition: transform .22s cubic-bezier(.22,1,.36,1), opacity .18s ease;
  opacity: 0;
}
body.divido-premium:not(.on-detail) .tabbar {
  transition: transform .22s cubic-bezier(.22,1,.36,1), opacity .18s ease;
}
