/* MARFA | Task UI-11 | Earth-shaped rotating globe in Market Watch.
 * Desktop Preview ONLY. The existing abstract orb is replaced by a lightweight
 * Natural Earth 110m SVG texture on a spherical ocean, not an external service.
 * Actual market statistics and chart state remain unchanged.
 */
@media(min-width:1181px){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready{
   position:relative!important;
   isolation:isolate!important;
 }
 /* Remove the abstract radial sphere; keep the tasteful original ellipse ring. */
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready::before{
   display:none!important;
   content:none!important;
   animation:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > div:not(.marfa-earth-scene){
   position:relative!important;
   z-index:3!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-scene{
   position:absolute!important;
   left:3.35%!important;
   top:50%!important;
   width:216px!important;
   height:216px!important;
   transform:translateY(-50%)!important;
   z-index:0!important;
   pointer-events:none!important;
   overflow:visible!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-atmosphere{
   position:absolute!important;
   inset:-14px!important;
   border-radius:50%!important;
   background:radial-gradient(circle at 52% 50%,
     color-mix(in srgb,var(--marfa-personal-accent,#ddb979) 15%,rgba(99,169,212,.24)),
     transparent 63%)!important;
   filter:blur(12px)!important;
   pointer-events:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-globe{
   position:absolute!important;
   inset:0!important;
   width:100%!important;height:100%!important;
   border-radius:50%!important;
   overflow:hidden!important;
   transform:translateZ(0)!important;
   background:
      radial-gradient(circle at 30% 25%,rgba(216,244,255,.35),transparent 24%),
      radial-gradient(circle at 57% 45%,#2a5974,#14334b 58%,#091629 97%)!important;
   border:1px solid rgba(182,221,233,.55)!important;
   box-shadow:
     inset 0 1px 0 rgba(233,254,255,.57),
     inset -22px -9px 32px rgba(2,10,20,.68),
     inset 16px 12px 26px rgba(167,208,215,.18),
     0 0 0 2px color-mix(in srgb,var(--marfa-personal-accent,#ddb979) 15%,transparent),
     0 0 40px rgba(55,136,174,.19),
     0 14px 29px rgba(0,0,0,.35)!important;
   pointer-events:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-land-track{
   position:absolute!important;
   top:0!important;left:0!important;
   width:400%!important;height:100%!important;
   background-image:url('/marfa-earth-land-v1-20261029.svg')!important;
   background-size:50% 100%!important;
   background-position:0 0!important;
   background-repeat:repeat-x!important;
   transform:translate3d(0,0,0);
   animation:marfa-earth-longitude-v1 15s linear infinite!important;
   opacity:.88!important;
   will-change:transform;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-globe::before{
   content:""!important;
   position:absolute!important;
   inset:0!important;
   z-index:2!important;
   border-radius:50%!important;
   background:
      repeating-linear-gradient(0deg,transparent 0 27px,rgba(179,218,229,.09) 27.5px 28px,transparent 29px 54px),
      radial-gradient(ellipse at 40% 31%,rgba(240,253,255,.21),transparent 52%)!important;
   pointer-events:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-globe::after{
   content:""!important;
   position:absolute!important;
   inset:0!important;
   z-index:3!important;
   border-radius:50%!important;
   background:
     radial-gradient(ellipse 90% 80% at 12% 22%,rgba(232,255,255,.28),transparent 53%),
     radial-gradient(ellipse 102% 103% at 84% 55%,transparent 20%,rgba(4,12,27,.64) 94%),
     linear-gradient(90deg,rgba(5,16,34,.36),transparent 26% 61%,rgba(2,8,20,.54))!important;
   pointer-events:none!important;
 }
}
@keyframes marfa-earth-longitude-v1 {
  from{transform:translate3d(0,0,0);}
  to{transform:translate3d(-50%,0,0);}
}
@media(min-width:1181px){
 html[data-theme="light"][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-globe{
   border-color:rgba(123,164,186,.66)!important;
   box-shadow:inset 0 1px rgba(255,255,255,.8),inset -20px -8px 29px rgba(11,31,57,.45),
      0 3px 0 rgba(125,151,181,.27),0 17px 31px rgba(46,74,114,.20)!important;
 }
}
@media(max-width:1180px){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-scene{
   display:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-land-track{
   animation:none!important;
   will-change:auto!important;
 }
}

/* UI-12 | Faster orbital motion, still quiet and accessibility-safe.
   Visual animation speed only; not site performance tuning. */
@media(min-width:1181px) and (prefers-reduced-motion:no-preference){
 html[data-theme="dark"][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready::after,
 html[data-theme="light"][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready::after{
  animation-duration:18s!important;
 }
}

/* UI-12 SPEED PRIORITY: existing layered stylesheet uses !important; win
   against it with the earth-ready scope in either theme. */
@media(min-width:1181px) and (prefers-reduced-motion:no-preference){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-land-track{
   animation-duration:15s!important;
 }
}


/* UI-13 GLASS ORBITS AND ORIGINAL BRAND */
/* MARFA SENSE — Earth Orbit V3 / UI-12 + UI-13.
 * Smooth constant angular velocity, several angled orbital rings with 6 local
 * coin icons, and the ORIGINAL approved MARFA wordmark asset.
 * Scoped to desktop dashboard hero in Preview. No canvas or runtime timers.
 */
@media(min-width:1181px){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready{
   isolation:isolate!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready>.marfa-earth-scene{
   z-index:1!important;
   overflow:visible!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit{
   position:absolute!important;
   top:50%!important;left:50%!important;
   width:148%!important;height:75%!important;
   border:1.2px solid color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 62%,rgba(235,249,255,.28))!important;
   border-radius:50%!important;
   background:transparent!important;
   box-shadow:0 0 15px color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 13%,transparent),
    inset 0 0 12px rgba(245,238,211,.045)!important;
   transform-origin:50% 50%!important;
   transform-style:preserve-3d!important;
   pointer-events:none!important;
   contain:layout style!important;
   will-change:transform;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--primary{
   border-color:color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 70%,rgba(226,239,251,.21))!important;
   animation:marfa-coin-orbit-a 18s linear infinite!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--secondary{
   width:160%!important;height:71%!important;
   border-color:rgba(154,212,238,.52)!important;
   animation:marfa-coin-orbit-b 24s linear infinite!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--tertiary{
   width:132%!important;height:81%!important;
   border-color:color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 48%,rgba(146,214,235,.31))!important;
   animation:marfa-coin-orbit-c 30s linear infinite!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-coin{
   position:absolute!important;
   top:50%!important;
   width:29px!important;height:29px!important;
   border-radius:50%!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   padding:4px!important;
   box-sizing:border-box!important;
   background:linear-gradient(138deg,rgba(231,245,255,.3),rgba(28,41,62,.94) 45%,rgba(10,20,36,.97))!important;
   border:1px solid color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 40%,rgba(220,235,252,.65))!important;
   box-shadow:inset 0 1px rgba(255,255,255,.30),0 4px 8px rgba(0,0,0,.45),
     0 0 11px color-mix(in srgb,var(--marfa-personal-accent,#edc37b) 15%,transparent)!important;
   backdrop-filter:blur(3px) saturate(1.1)!important;
   -webkit-backdrop-filter:blur(3px) saturate(1.1)!important;
   transform:translateY(-50%) translateZ(14px)!important;
   overflow:visible!important;
   pointer-events:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-coin--a{
   left:-15px!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-coin--b{
   right:-15px!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready img.marfa-earth-coin-image{
   display:block!important;
   width:21px!important;height:21px!important;
   object-fit:contain!important;
   border-radius:50%!important;
   filter:drop-shadow(0 1px 2px rgba(0,0,0,.23))!important;
   pointer-events:none!important;
 }
 /* Approved file already used on MARFA. Never recolor, redraw, stretch or crop. */
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > .marfa-earth-hero-brand{
   position:absolute!important;
   z-index:3!important;
   left:34%!important;
   top:50%!important;
   width:205px!important;
   height:auto!important;
   max-width:19%!important;
   transform:translateY(-50%)!important;
   display:block!important;
   background:transparent!important;
   pointer-events:none!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready img.marfa-earth-approved-logo{
   width:100%!important;height:auto!important;max-width:100%!important;
   display:block!important;
   object-fit:contain!important;
   opacity:.94!important;
   filter:drop-shadow(0 4px 13px rgba(0,0,0,.35))!important;
   background:transparent!important;
   border:0!important;
 }
 html[data-theme="light"][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready img.marfa-earth-approved-logo{
   content:url('/brand/marfa-logo-light.webp');
   filter:drop-shadow(0 4px 13px rgba(45,68,98,.14))!important;
 }
}
@keyframes marfa-coin-orbit-a{
 from{transform:translate(-50%,-50%) rotateZ(-14deg) rotateY(59deg) rotateZ(0deg);}
 to{transform:translate(-50%,-50%) rotateZ(-14deg) rotateY(59deg) rotateZ(360deg);}
}
@keyframes marfa-coin-orbit-b{
 from{transform:translate(-50%,-50%) rotateZ(46deg) rotateY(64deg) rotateZ(360deg);}
 to{transform:translate(-50%,-50%) rotateZ(46deg) rotateY(64deg) rotateZ(0deg);}
}
@keyframes marfa-coin-orbit-c{
 from{transform:translate(-50%,-50%) rotateZ(-65deg) rotateY(48deg) rotateZ(0deg);}
 to{transform:translate(-50%,-50%) rotateZ(-65deg) rotateY(48deg) rotateZ(360deg);}
}
@media(max-width:1180px){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-hero-brand{
   display:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-orbit,
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-coin{
   animation:none!important;
   transition:none!important;
   will-change:auto!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-orbit--primary{
   transform:translate(-50%,-50%) rotateZ(-14deg) rotateY(59deg)!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-orbit--secondary{
   transform:translate(-50%,-50%) rotateZ(46deg) rotateY(64deg)!important;
 }
 html[data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero .marfa-earth-orbit--tertiary{
   transform:translate(-50%,-50%) rotateZ(-65deg) rotateY(48deg)!important;
 }
}

/* UI13_VISUAL_GEOMETRY_CORRECTION:
   An existing generic hero child rule has stronger specificity for "position".
   Make logo positioning explicit so it centers vertically and never clips. */
@media(min-width:1181px){
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > div.marfa-earth-hero-brand{
   position:absolute!important;
   top:50%!important;
   left:34%!important;
   height:auto!important;
   transform:translateY(-50%)!important;
 }
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > div.marfa-earth-scene{
   width:154px!important;
   height:154px!important;
   left:6.4%!important;
   top:50%!important;
   transform:translateY(-50%)!important;
 }
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit{
   border-width:1px!important;
 }
}

/* UI13_HERO_HEIGHT_FIX:
   The existing hero was only 115px high without the old in-flow block.
   Reserve enough vertical space for a complete Earth, orbit badges and
   untouched MARFA logo. Prevent cropping and leave data cards unaffected. */
@media(min-width:1181px){
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready{
   min-height:190px!important;
   height:auto!important;
   align-items:center!important;
 }
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > div.marfa-earth-scene{
   top:50%!important;
 }
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready > div.marfa-earth-hero-brand{
   top:50%!important;
 }
}


/* Reduced motion override must beat the desktop named orbit animations. */
@media (prefers-reduced-motion:reduce) {
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--primary,
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--secondary,
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready .marfa-earth-orbit--tertiary,
 html[data-theme][data-marfa-palette] body.v7-ui #dashboard #dv3 .dv2-hero.marfa-earth-ready::after {
   animation-name:none!important;
   animation-duration:0s!important;
   will-change:auto!important;
 }
}
