/* Emerald palace scene for the homepage gateway and private consultant portal. */
.dll-studios-entry.dll-ss2-reference {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 1100px);
  background: #052d23 !important;
}
.dll-emerald-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.dll-emerald-scene-art {
  position: absolute;
  inset: -2%;
  background: url('/site/emerald-palace-no-wheel.png') center 52% / cover no-repeat;
  animation: dll-emerald-scene-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}
.dll-emerald-water {
  position: absolute;
  z-index: 1;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 34%;
  opacity: .38;
  background:
    repeating-linear-gradient(176deg, transparent 0 16px, rgba(235, 211, 145, .20) 17px 18px, transparent 19px 34px),
    linear-gradient(90deg, transparent, rgba(81, 220, 179, .08), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
  animation: dll-emerald-water-flow 18s ease-in-out infinite alternate;
  will-change: transform;
}
.dll-floating-lotus {
  position: absolute;
  z-index: 2;
  bottom: var(--lotus-bottom, 12%);
  left: var(--lotus-left, 14%);
  width: clamp(34px, 4.6vw, 62px);
  height: auto;
  opacity: .94;
  filter: drop-shadow(0 0 10px rgba(255, 197, 103, .65));
  animation: dll-lotus-drift var(--lotus-speed, 12s) ease-in-out infinite alternate;
  animation-delay: var(--lotus-delay, 0s);
  will-change: transform;
}
.dll-studios-entry .ss2-wrap {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 14px rgba(2, 26, 19, .82);
}
.dll-studios-entry .ss2-option {
  box-shadow: 0 12px 34px rgba(3, 20, 16, .45), 0 0 0 1px rgba(255, 224, 158, .55);
}

/* The private portal gets the same art across the entire viewport and scroll area. */
html:has(body #chartPanel) { background: #052d23; }
body:has(#chartPanel) {
  position: relative;
  isolation: isolate;
  background: #052d23 !important;
}
body:has(#chartPanel)::before {
  content: '';
  position: fixed;
  z-index: -2;
  inset: -2%;
  pointer-events: none;
  background: url('/site/emerald-palace-no-wheel.png') center center / cover no-repeat;
  animation: dll-emerald-scene-drift 28s ease-in-out infinite alternate;
}
body:has(#chartPanel)::after {
  content: '';
  position: fixed;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: -2%;
  height: 34vh;
  pointer-events: none;
  opacity: .52;
  background: repeating-linear-gradient(176deg, transparent 0 12px, rgba(235, 211, 145, .23) 13px 14px, transparent 15px 26px);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000);
  animation: dll-emerald-water-flow 7s linear infinite;
}
body:has(#chartPanel) main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  min-height: 100vh;
  background: rgba(4, 39, 30, .32);
  backdrop-filter: blur(1px);
}
body:has(#chartPanel) .panel {
  background: rgba(5, 52, 40, .91);
  border-color: rgba(226, 190, 111, .86);

}
body:has(#chartPanel) .card,
body:has(#chartPanel) .loshu-cell,
body:has(#chartPanel) .calc-table tr.active-period {
  background: rgba(7, 66, 50, .82);
}
body:has(#chartPanel) .calc-table th { background: rgba(12, 77, 58, .95); }
body:has(#chartPanel) .dll-floating-lotus { position: fixed; z-index: -1; }

@keyframes dll-emerald-scene-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(0, -8px, 0); }
}
@keyframes dll-emerald-water-flow {
  from { transform: translateX(-2%) translateY(0); background-position: 0 0, 0 0; }
  to { transform: translateX(2%) translateY(-5px); background-position: 140px 0, -90px 0; }
}
@keyframes dll-lotus-drift {
  from { transform: translate3d(0, 7px, 0) rotate(-4deg); }
  to { transform: translate3d(8px, -18px, 0) rotate(5deg); }
}
@media(max-width:760px) {
  .dll-emerald-scene-art { background-position: 54% center; }
  body:has(#chartPanel)::before { background-position: 54% center; }
  body:has(#chartPanel) main { padding-top: 24px; }
  .dll-floating-lotus { width: 34px; }
}
@media(prefers-reduced-motion:reduce) {
  .dll-emerald-scene-art,
  .dll-emerald-water,
  .dll-floating-lotus,
  body:has(#chartPanel)::before,
  body:has(#chartPanel)::after { animation: none !important; }
}


/* Readability and lower-cost motion overrides for the emerald scene. */
.dll-emerald-scene-art,
body:has(#chartPanel)::before { animation-duration: 28s; }
.dll-emerald-water,
body:has(#chartPanel)::after {
  opacity: .36;
  animation-duration: 18s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  will-change: transform;
}
.dll-floating-lotus {
  opacity: .90;
  filter: drop-shadow(0 0 4px rgba(255, 197, 103, .55));
  animation-duration: var(--lotus-speed, 12s);
}
body:has(#chartPanel) main {
  background: rgba(4, 39, 30, .48);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body:has(#chartPanel) .panel {
  background: rgba(5, 52, 40, .91);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body:has(#chartPanel) #results .card {
  background: linear-gradient(145deg, #fff8e9, #f4e4c5) !important;
  border: 1px solid #dbb75f !important;
  color: #301840 !important;
  box-shadow: 0 8px 22px rgba(18, 9, 29, .30) !important;
}
body:has(#chartPanel) #results .card span { color: #53375b !important; }
body:has(#chartPanel) #results .card strong { color: #0d654b !important; }
body:has(#chartPanel) #details .loshu-cell:not(.loshu-empty) {
  background: linear-gradient(145deg, #fff8e9, #f5e5c8) !important;
  color: #0d654b !important;
  border-color: #d5ae59 !important;
}
body:has(#chartPanel) #details .calc-section { color: #fff4dc; }
body:has(#chartPanel) #details .calc-section h2,
body:has(#chartPanel) #details .calc-section h3,
body:has(#chartPanel) #details .calc-section h4 { color: #f4d88f !important; }
body:has(#chartPanel) .calc-table th { background: #d9b45f !important; color: #2d173c !important; }
body:has(#chartPanel) .calc-table td { background: #fff4dc !important; color: #342044 !important; }
body:has(#chartPanel) .calc-table tr.active-period td { background: #dff2e8 !important; color: #174a3c !important; }
body:has(#chartPanel) .grid-impact { background: #fff4dc !important; color: #301840 !important; }
@keyframes dll-emerald-scene-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.025) translate3d(0, -5px, 0); }
}
@keyframes dll-emerald-water-flow {
  from { transform: translate3d(-.8%, 0, 0); }
  to { transform: translate3d(.8%, -3px, 0); }
}
@keyframes dll-lotus-drift {
  from { transform: translate3d(0, 5px, 0) rotate(-2deg); }
  to { transform: translate3d(5px, -10px, 0) rotate(2deg); }
}
@media(max-width:760px) {
  .dll-emerald-water,
  body:has(#chartPanel)::after { opacity: .26; }
}

/* Final framing pass: keep the complete gate visible and uncover the scene. */
.dll-emerald-scene-art {
  inset: 0;
  background-position: center top !important;
  background-size: 100% auto !important;
  animation: none !important;
  will-change: auto;
}
.dll-emerald-wheel {
  position: absolute;
  z-index: 3;
  top: 10.3vw;
  left: 50%;
  width: clamp(108px, 28.3vw, 800px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 9px rgba(255, 197, 91, .52));
}
.dll-emerald-wheel-mask {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 43, 33, .98) 0 33%, rgba(3, 43, 33, .98) 34% 48%, transparent 49.5%);
}
.dll-emerald-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dll-emerald-wheel-rotor {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: dll-emerald-number-wheel-turn 42s linear infinite;
  will-change: transform;
}
.dll-emerald-wheel-rotor circle,
.dll-emerald-wheel-rotor path {
  fill: none;
  stroke: #f4d27e;
  stroke-width: .72;
  stroke-opacity: .92;
}
.dll-emerald-wheel-rotor circle:nth-child(2) { stroke-width: .42; stroke-opacity: .75; }
.dll-emerald-wheel-rotor text {
  fill: #ffe4a0;
  stroke: #583314;
  stroke-width: .38;
  paint-order: stroke fill;
  font: 700 7px Georgia, 'Times New Roman', serif;
  text-anchor: middle;
  dominant-baseline: middle;
}
.dll-emerald-wheel-center { fill: rgba(3, 43, 33, .97); stroke: #f4d27e; stroke-width: .85; }
.dll-emerald-wheel-two {
  fill: #ffc83f;
  stroke: #9a4b08;
  stroke-width: .65;
  paint-order: stroke fill;
  font: 700 32px Georgia, 'Times New Roman', serif;
  text-anchor: middle;
  filter: drop-shadow(0 0 3px #ffe77a);
}
.dll-portal-wheel { position: fixed; z-index: 0; }
@keyframes dll-emerald-number-wheel-turn {
  to { transform: rotate(360deg); }
}
@media(prefers-reduced-motion:reduce) { .dll-emerald-wheel-rotor { animation: none !important; } }
body:has(#chartPanel)::before {
  inset: 0;
  background-position: center top !important;
  background-size: 100% auto !important;
  animation: none !important;
  will-change: auto;
}
.dll-studios-entry .ss2-option {
  background-color: rgba(27, 12, 39, .68) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Consultant portal: keep text readable while preserving the full scene in open space. */
body:has(#chartPanel) main {
  position: relative; z-index: 1; max-width: 1080px; min-height: 100vh;
  background: transparent !important; backdrop-filter: none !important;
}
body:has(#chartPanel) .panel {
  background: rgba(4, 43, 34, .76) !important;
  border-color: rgba(232, 197, 118, .94) !important;
  box-shadow: 0 12px 34px rgba(0, 18, 13, .34) !important;
}
body:has(#chartPanel) #details > section,
body:has(#chartPanel) .calc-section,
body:has(#chartPanel) .analytics-box {
  background: rgba(4, 42, 33, .84) !important;
  color: #fff2d1 !important;
  border-color: rgba(232, 197, 118, .88) !important;
  box-shadow: 0 8px 22px rgba(0, 18, 13, .26) !important;
}
body:has(#chartPanel) .analytics-stat,
body:has(#chartPanel) #results .card,
body:has(#chartPanel) .grid-impact {
  background: linear-gradient(145deg, #fff8e9, #f2e2c2) !important;
  color: #321a41 !important;
  border: 1px solid #dbb75f !important;
  box-shadow: 0 6px 18px rgba(0, 18, 13, .24) !important;
}
body:has(#chartPanel) .analytics-stat span,
body:has(#chartPanel) #results .card span { color: #573b5e !important; }
body:has(#chartPanel) .analytics-stat strong,
body:has(#chartPanel) #results .card strong { color: #0d654b !important; }
body:has(#chartPanel) .analytics-list li {
  background: rgba(7, 49, 39, .98) !important;
  border: 1px solid rgba(232, 197, 118, .72) !important;
  color: #fff2d1 !important;
}
body:has(#chartPanel) #details .loshu-cell:not(.loshu-empty) {
  background: linear-gradient(145deg, #fff8e9, #f5e5c8) !important;
  color: #0d654b !important; border-color: #d5ae59 !important;
}
body:has(#chartPanel) #details .loshu-cell.loshu-empty {
  background: #fff0f0 !important; color: #a03b44 !important; border-color: #d98d95 !important;
}
body:has(#chartPanel) .calc-table th { background: #d9b45f !important; color: #2d173c !important; }
body:has(#chartPanel) .calc-table td { background: #fff4dc !important; color: #342044 !important; }
body:has(#chartPanel) .calc-table tr.active-period td { background: #dff2e8 !important; color: #174a3c !important; }
body:has(#chartPanel) h1, body:has(#chartPanel) h2, body:has(#chartPanel) h3,
body:has(#chartPanel) h4 { color: #ffe2a0 !important; text-shadow: 0 1px 3px rgba(0, 28, 20, .8); }
body:has(#chartPanel) p, body:has(#chartPanel) small, body:has(#chartPanel) label,
body:has(#chartPanel) .analytics-intro, body:has(#chartPanel) .analytics-status,
body:has(#chartPanel) .calc-note { color: #fff2d1 !important; }
body:has(#chartPanel) input:not([type=checkbox]), body:has(#chartPanel) select,
body:has(#chartPanel) textarea { background: #fff9ed !important; color: #321a41 !important; }
body:has(#chartPanel) .dll-floating-lotus { position: fixed; z-index: 0; }
body:has(#chartPanel) .dll-portal-wheel { z-index: 0; }
body:has(#chartPanel) .dll-portal-swan { z-index: 0; }
body:has(#chartPanel)::after { z-index: 0; }
body:has(#chartPanel) .dll-portal-wheel-mask {
  /* The portal scene also uses baked wheel artwork; replace its complete dial. */
  background: radial-gradient(circle, rgba(4, 53, 40, .99) 0 99%, transparent 100%) !important;
}
@media(max-width:760px) {
  body:has(#chartPanel) main { max-width: 100%; }
  body:has(#chartPanel) .panel { padding: 16px; }
  body:has(#chartPanel) .calc-table { min-width: 620px; }
  body:has(#chartPanel) .calc-table-wrap { overscroll-behavior-x: contain; }
}

/* Keep gateway cards compact and let the approved number-wheel artwork show through. */
.dll-ss2-reference .ss2-wrap { max-width: 1120px !important; }
.dll-ss2-reference .ss2-subtitle { margin-bottom: 28px !important; }
.dll-ss2-reference .ss2-option-list { gap: clamp(12px, 1.5vw, 22px) !important; }
.dll-ss2-reference .ss2-option {
  background: linear-gradient(145deg, rgba(142,109,52,.72), rgba(233,198,122,.78) 18%, rgba(55,35,57,.74) 48%, rgba(240,212,140,.78) 76%, rgba(140,101,50,.72)) !important;
}
.dll-ss2-reference .ss2-card-inner,
.dll-ss2-reference .ss2-option.vastu .ss2-card-inner,
.dll-ss2-reference .ss2-option.numerology .ss2-card-inner {
  background: rgba(28,16,39,.70) !important;
}
.dll-ss2-reference .ss2-option.vastu .ss2-card-inner { background: rgba(6,48,38,.70) !important; }
.dll-ss2-reference .ss2-visual { height: clamp(135px,14vw,205px) !important; }
.dll-ss2-reference .ss2-option-copy { padding: 17px clamp(12px,1.5vw,20px) 19px !important; }
.dll-ss2-reference .ss2-option h3 { margin-bottom: 9px !important; }
.dll-ss2-reference .ss2-option p { margin-bottom: 14px !important; }

/* Small, feathered image patches let the two swans bob without moving the full scene. */
.dll-emerald-swan {
  position: absolute;
  top: 32vw;
  width: 14vw;
  height: 14vw;
  z-index: 2;
  pointer-events: none;
  background-image: url('/site/emerald-palace-no-wheel.png');
  background-size: 100vw auto;
  background-repeat: no-repeat;
  will-change: transform;
}
.dll-emerald-swan-left {
  left: 36vw;
  background-position: -36vw -32vw;
  -webkit-mask-image: radial-gradient(ellipse 49% 45% at 50% 47%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 45% at 50% 47%, #000 55%, transparent 100%);
  animation: dll-emerald-swan-bob 3.8s ease-in-out infinite alternate;
}
.dll-emerald-swan-right {
  left: 50vw;
  background-position: -50vw -32vw;
  -webkit-mask-image: radial-gradient(ellipse 49% 45% at 50% 47%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 45% at 50% 47%, #000 55%, transparent 100%);
  animation: dll-emerald-swan-bob 4.4s ease-in-out -1.7s infinite alternate-reverse;
}
.dll-portal-swan { position: fixed; z-index: 0; }
@keyframes dll-emerald-swan-bob {
  from { transform: translateY(-2px); }
  to { transform: translateY(2px); }
}
@media(prefers-reduced-motion:reduce) {
  .dll-emerald-swan { animation: none !important; }
}

/* Homepage gateway motion: keep each effect clipped to the artwork above the cards. */
.dll-ss2-reference .dll-emerald-scene {
  inset: 0 0 auto !important;
  height: 56.28vw !important;
  z-index: 0 !important;
}
.dll-ss2-reference .dll-emerald-water {
  height: 20vw !important;
  opacity: .54 !important;
  background-image: url('/site/emerald-palace-clean-plate.png') !important;
  background-size: 100vw auto !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  filter: saturate(1.08) !important;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.72) 11%, #000 28%, #000 86%, rgba(0,0,0,.82) 100%) !important;
  animation: dll-gateway-water-flow 8s ease-in-out infinite alternate !important;
}
.dll-ss2-reference .dll-floating-lotus {
  animation-name: dll-gateway-lotus-float !important;
  animation-duration: var(--lotus-speed, 12s) !important;
}
.dll-ss2-reference .dll-original-lotus {
  display: block !important;
  z-index: 5 !important;
  background-image: url('/site/emerald-palace-no-wheel.png') !important;
  background-size: 100vw auto !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 0 8px rgba(255,199,112,.62)) !important;
  -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 52%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 48% at 50% 52%, #000 58%, transparent 100%);
}
.dll-ss2-reference .dll-emerald-swan-left {
  animation: dll-gateway-swan-left 4.2s ease-in-out infinite alternate !important;
}
.dll-ss2-reference .dll-emerald-swan-right {
  animation: dll-gateway-swan-right 4.8s ease-in-out -1.7s infinite alternate !important;
}
.dll-ss2-reference .dll-emerald-swan { z-index: 4 !important; }
.dll-ss2-reference .dll-emerald-wheel-mask {
  /* The source art has a printed wheel; cover it so the animated SVG is the only dial. */
  background: radial-gradient(circle, rgba(4, 53, 40, .99) 0 99%, transparent 100%) !important;
}
@keyframes dll-gateway-water-flow {
  from { transform: translateX(-.3vw); }
  to { transform: translateX(.3vw); }
}
@keyframes dll-gateway-lotus-float {
  from { transform: translate3d(-3px, 8px, 0) rotate(-4deg); }
  to { transform: translate3d(8px, -17px, 0) rotate(5deg); }
}
@keyframes dll-gateway-swan-left {
  from { transform: translateY(-4px) rotate(-.4deg); }
  to { transform: translateY(4px) rotate(.4deg); }
}
@keyframes dll-gateway-swan-right {
  from { transform: translateY(4px) rotate(.4deg); }
  to { transform: translateY(-4px) rotate(-.4deg); }
}
@media(max-width:700px) {
  .dll-ss2-reference .dll-emerald-scene { height: 56.28vw !important; }
}
@media(prefers-reduced-motion:reduce) {
  .dll-ss2-reference .dll-emerald-water,
  .dll-ss2-reference .dll-floating-lotus,
  .dll-ss2-reference .dll-emerald-swan { animation: none !important; }
}

/* Twinkling star layers for both home sections and the consultant portal. */
.dll-starfield { position:absolute; inset:0; z-index:2; overflow:hidden; pointer-events:none; }
.dll-starfield-portal { position:fixed; z-index:0; }
.dll-star { position:absolute; display:block; width:var(--star-size,2px); height:var(--star-size,2px); border-radius:50%; background:#fff; opacity:.42; box-shadow:0 0 4px 1px rgba(255,255,255,.8),0 0 11px 3px rgba(220,235,255,.42); animation:dll-star-twinkle var(--star-period,3.4s) ease-in-out var(--star-delay,0s) infinite; }
.dll-star-static { animation:none !important; opacity:.58; }
@keyframes dll-star-twinkle { 0%,100% { opacity:.28; transform:scale(.6); } 45% { opacity:1; transform:scale(1.5); } 60% { opacity:.62; transform:scale(.9); } }
.dll-emerald-wheel { display:none !important; }
.dll-ss2-reference { background-color:#052f26 !important; }
.dll-ss2-reference .dll-emerald-scene { z-index:1 !important; }
.dll-ss2-reference > .dll-starfield { z-index:0; }
.dll-ss2-reference .ss2-wrap { z-index:4 !important; }
.dll-emerald-scene-art { background-image:url('/site/emerald-palace-no-wheel.png') !important; animation:dll-emerald-scene-drift 28s ease-in-out infinite alternate !important; }
body:has(#chartPanel)::before { background-image:url('/site/emerald-palace-no-wheel.png') !important; background-size:cover !important; animation:dll-emerald-scene-drift 28s ease-in-out infinite alternate !important; }
.dll-emerald-water { opacity:.58; animation:dll-emerald-water-flow 8s linear infinite alternate; }
.dll-floating-lotus { z-index:4; animation-duration:var(--lotus-speed,12s); }
.dll-emerald-swan-left { animation:dll-emerald-swan-bob 3.8s ease-in-out infinite alternate; }
.dll-emerald-swan-right { animation:dll-emerald-swan-bob 4.4s ease-in-out -1.7s infinite alternate-reverse; }
.dll-emerald-swan { z-index:4; }
.dll-clock-gap,#dll-home-rating { position:relative; isolation:isolate; }
.dll-clock-gap > :not(.dll-starfield),#dll-home-rating > :not(.dll-starfield) { position:relative; z-index:1; }
body:has(#chartPanel) .dll-starfield-portal { z-index:0; }
body:has(#chartPanel) main { position:relative; z-index:1; }
body:has(#chartPanel) .dll-emerald-swan { z-index:0; }
@media(prefers-reduced-motion:reduce) { .dll-star { animation:none; opacity:.78; } }

/* More legible water and buoyant movement, scoped to the homepage experience section. */
.dll-ss2-reference .dll-emerald-water {
  height:36% !important;
  opacity:.9 !important;
  background:
    repeating-linear-gradient(176deg,transparent 0 8px,rgba(255,244,204,.48) 9px 11px,transparent 12px 21px),
    repeating-linear-gradient(2deg,transparent 0 16px,rgba(148,255,224,.22) 17px 19px,transparent 20px 38px),
    linear-gradient(90deg,transparent,rgba(255,218,143,.22),rgba(85,238,196,.14),transparent) !important;
  background-size:160% 100%,145% 100%,100% 100% !important;
  animation:dll-gateway-water-flow 4.8s linear infinite !important;
  filter:drop-shadow(0 0 5px rgba(182,255,235,.24));
}
.dll-ss2-reference .dll-emerald-water::before,
.dll-ss2-reference .dll-emerald-water::after {
  content:""; position:absolute; inset:4% -12% 0; pointer-events:none; border-radius:50%;
}
.dll-ss2-reference .dll-emerald-water::before {
  background:
    repeating-linear-gradient(0deg,transparent 0 12px,rgba(255,239,190,.30) 13px 15px,transparent 16px 31px),
    linear-gradient(90deg,transparent 0%,rgba(255,232,179,.08) 26%,rgba(255,245,211,.38) 48%,rgba(255,228,159,.12) 70%,transparent 100%);
  background-size:100% 110%,52% 100%;
  background-position:0 0,-55% 0;
  animation:dll-home-water-current 4.8s linear infinite;
  opacity:.76;
}
.dll-ss2-reference .dll-emerald-water::after {
  inset:26% -16% -4%;
  background:repeating-linear-gradient(178deg,transparent 0 13px,rgba(255,255,255,.28) 14px 15px,transparent 16px 30px);
  animation:dll-home-water-glide 3.8s linear infinite;
  opacity:.78;
}
@keyframes dll-home-water-current { from { background-position:0 0,-55% 0; transform:translateX(-2%); } to { background-position:0 -22px,155% 0; transform:translateX(2%); } }
@keyframes dll-home-water-glide { from { transform:translateX(-4%) translateY(0); } to { transform:translateX(4%) translateY(-3px); } }
.dll-ss2-reference .dll-floating-lotus {
  width:clamp(48px,6vw,86px) !important;
  filter:drop-shadow(0 0 9px rgba(255,170,218,.95)) drop-shadow(0 0 18px rgba(255,220,154,.58)) !important;
  animation:dll-home-lotus-sail var(--lotus-speed,9s) ease-in-out var(--lotus-delay,0s) infinite alternate !important;
}
.dll-ss2-reference .dll-original-lotus {
  background-image:url('/site/emerald-palace-no-wheel.png') !important;
  background-size:100vw auto !important;
  background-repeat:no-repeat !important;
  -webkit-mask-image:radial-gradient(ellipse 50% 48% at 50% 48%,#000 57%,transparent 100%) !important;
  mask-image:radial-gradient(ellipse 50% 48% at 50% 48%,#000 57%,transparent 100%) !important;
}
@keyframes dll-home-lotus-sail { from { transform:translate3d(-18px,8px,0) rotate(-8deg) scale(.88); } to { transform:translate3d(24px,-15px,0) rotate(8deg) scale(1.08); } }
.dll-ss2-reference .dll-emerald-swan-left { animation:dll-home-swan-left 3.6s ease-in-out infinite alternate !important; }
.dll-ss2-reference .dll-emerald-swan-right { animation:dll-home-swan-right 4.1s ease-in-out -1.4s infinite alternate !important; }
@keyframes dll-home-swan-left { from { transform:translateY(-9px) rotate(-.9deg); } to { transform:translateY(9px) rotate(.9deg); } }
@keyframes dll-home-swan-right { from { transform:translateY(8px) rotate(.8deg); } to { transform:translateY(-8px) rotate(-.8deg); } }
@media(prefers-reduced-motion:reduce) {
  .dll-ss2-reference .dll-emerald-water::before,
  .dll-ss2-reference .dll-emerald-water::after { animation:none !important; }
}

/* Final homepage-only scene layers: ripple the clean lake plate and float original artwork crops. */
.dll-ss2-reference .dll-emerald-water {
  height:22vw !important;
  opacity:.82 !important;
  isolation:isolate !important;
  background-image:url('/site/emerald-palace-clean-plate.png') !important;
  background-size:100vw auto !important;
  background-position:center bottom !important;
  background-repeat:no-repeat !important;
  filter:saturate(1.18) contrast(1.06) !important;
  mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.72) 11%,#000 28%,#000 86%,rgba(0,0,0,.82) 100%) !important;
  animation:dll-gateway-water-flow 8s ease-in-out infinite alternate !important;
}
.dll-ss2-reference .dll-emerald-water::before,
.dll-ss2-reference .dll-emerald-water::after { display:none !important; }
.dll-ss2-reference .dll-emerald-water::before {
  display:block !important;
  inset:8% -18% 0 !important;
  border-radius:0 !important;
  background:repeating-linear-gradient(178deg,transparent 0 15px,rgba(255,246,215,.34) 16px 17px,transparent 18px 34px) !important;
  opacity:.8 !important;
  animation:dll-gateway-surface-glints 5s linear infinite !important;
}
.dll-ss2-reference > .dll-starfield .dll-star {
  opacity:.68 !important;
  box-shadow:0 0 6px 2px rgba(255,255,255,.95),0 0 16px 4px rgba(216,245,255,.58),0 0 26px 7px rgba(255,224,160,.24) !important;
}
.dll-ss2-reference .dll-original-lotus {
  display:block !important;
  z-index:5 !important;
  background-image:url('/site/emerald-palace-no-wheel.png') !important;
  background-size:100vw auto !important;
  background-repeat:no-repeat !important;
  filter:drop-shadow(0 0 8px rgba(255,199,112,.62)) !important;
  -webkit-mask-image:radial-gradient(ellipse 50% 48% at 50% 52%,#000 58%,transparent 100%) !important;
  mask-image:radial-gradient(ellipse 50% 48% at 50% 52%,#000 58%,transparent 100%) !important;
}
@keyframes dll-gateway-surface-glints { from { transform:translate3d(-4%,-1px,0); } to { transform:translate3d(4%,2px,0); } }
@media(prefers-reduced-motion:reduce) { .dll-ss2-reference .dll-emerald-water,.dll-ss2-reference .dll-emerald-water::before { animation:none !important;filter:none !important; } }
