/* Stone, roots and horizon are locked in the composited film. */
.earth-film {
  position:absolute;inset:0;width:100%;height:100%;object-fit:fill;
  pointer-events:none;opacity:0;transition:opacity .8s ease;
}
.frame[data-scene=earth][data-film=ready] .earth-film {opacity:1;}
.frame[data-scene=earth] .projected {border-radius:3px;}
.frame[data-scene=earth] .lumena-card {
  --earth-shade:.055;
  background:#76674d;
  box-shadow:inset 0 0 0 1px #ebdbaf70,-.6px 1.3px 0 #aa9673,-1.5px 2.4px 1.5px #29291c66;
}
.frame[data-scene=earth] .lumena-card::before {
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;
  background:linear-gradient(140deg,rgba(34,44,23,var(--earth-shade)),rgba(56,60,25,var(--earth-shade)) 58%,transparent);
  box-shadow:inset -1px 1px 0 #eedca875,inset 1px -1px 1px #5a503f50;
}
.frame[data-scene=earth] .lumena-card::after {
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23g)' d='M0 0h100v100H0z'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light;
}
.earth-motion-toggle {
  position:absolute;left:12px;top:12px;z-index:2;min-height:40px;
  padding:8px 12px;border:1px solid #f3e3b8a6;border-radius:22px;
  background:#35452be8;color:#fff9e9;font:500 12px/1.3 system-ui,sans-serif;
}
.earth-motion-toggle:hover {background:#485b36;}
.earth-motion-toggle:focus-visible {outline:2px solid #fff1bd;outline-offset:3px;}
@media(max-width:800px){.earth-motion-toggle {top:8px;left:8px;min-height:36px;padding:8px;font-size:11px;}}
@media(prefers-reduced-motion:reduce){.earth-film {transition:none;}}
