/* Bullion depth follows native scroll; the quotes keep their stable geometry. */
.isg-live-page .app-main { isolation: isolate; }
.isg-live-page .isg-welcome, .isg-live-page #liveBoard, .isg-live-page .app-footer { position: relative; z-index: 1; }
.isg-motion-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; contain: strict; pointer-events: none; user-select: none; }
.isg-motion-depth { position: absolute; inset: -90px -3%; }
.isg-motion-depth svg { width: 100%; height: 100%; display: block; }
.isg-motion-depth--far { color: var(--muted); }
.isg-motion-depth--near { color: var(--champagne); opacity: .55; }
.isg-metal-ribbons { transform-origin: center; animation: isgMetalDrift 24s ease-in-out infinite alternate; }
.isg-motion-depth--far .isg-metal-ribbons { animation-duration: 32s; animation-direction: alternate-reverse; }
.isg-bullion-accent { position: absolute; width: clamp(120px, 13vw, 205px); height: auto; object-fit: contain; opacity: .62; animation: isgBullionDrift 18s ease-in-out infinite alternate; }
.isg-bullion-accent--gold { left: -1%; top: 40%; rotate: -16deg; }
.isg-bullion-accent--silver { right: -1%; top: 57%; rotate: 14deg; animation-delay: -9s; }
.isg-card-light { position: absolute; inset: -40% -25%; z-index: 0; pointer-events: none; user-select: none; }
.isg-card-light::before { content: ''; position: absolute; inset: 0; background: rgb(216 195 154 / 5%); clip-path: polygon(34% 0, 47% 0, 67% 100%, 54% 100%); animation: isgCardLight 16s ease-in-out infinite alternate; }
.isg-card-light::after { content: ''; position: absolute; width: 190px; height: 150px; right: -45px; bottom: -55px; border: 1px solid rgb(216 195 154 / 9%); border-radius: 50%; rotate: -24deg; }
.market-grid > :nth-child(2) .isg-card-light::before { animation-delay: -5s; }
.market-grid > :nth-child(3) .isg-card-light::before { animation-delay: -10s; }
.isg-live-page .market-content { z-index: 1; }
.isg-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; margin: 3px 0 0 10px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 7px; background: var(--ivory); color: var(--muted); font: 500 11px/1.4 Inter, Arial, sans-serif; cursor: pointer; vertical-align: middle; }
.isg-motion-toggle svg { width: 12px; height: 12px; }
.isg-motion-toggle:hover { background: var(--ivory-deep); }
.isg-motion-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.isg-motion-toggle[hidden] { display: none; }
.isg-effects-active .isg-motion-depth { will-change: transform; }
.isg-motion-paused .isg-metal-ribbons, .isg-motion-paused .isg-bullion-accent, .isg-motion-paused .isg-card-light::before { animation-play-state: paused; }
@keyframes isgMetalDrift { from { transform: translate3d(-12px, 5px, 0); } to { transform: translate3d(16px, -12px, 0); } }
@keyframes isgBullionDrift { from { transform: translate3d(0, -7px, 0) rotate(-2deg); } to { transform: translate3d(0, 10px, 0) rotate(2deg); } }
@keyframes isgCardLight { from { transform: translate3d(-10%, 0, 0); } to { transform: translate3d(14%, 0, 0); } }
@media (max-width: 1100px) { .isg-bullion-accent--gold { left: -6%; opacity: .26; } .isg-bullion-accent--silver { right: -6%; opacity: .26; } }
@media (max-width: 767px) {
  .isg-motion-depth { inset: -70px -40%; }
  .isg-bullion-accent { width: 130px; opacity: .18; }
  .isg-bullion-accent--gold { left: 18%; top: 53%; }
  .isg-bullion-accent--silver { right: 16%; top: 70%; }
  .isg-motion-toggle { min-height: 44px; margin-left: 0; font-size: 10px; }
  .isg-card-light::after { width: 100px; height: 100px; right: -20px; bottom: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .isg-metal-ribbons, .isg-bullion-accent, .isg-card-light::before { animation: none; }
  .isg-motion-depth, .isg-card-light { transform: none !important; }
}
