/* MediaDIV 0.1.8: flat top-down living surfaces, beneath all game objects. */
.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world){background:#17171b!important}
.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world)::before,.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world)::after{content:none}
.mdv-ca-root .mdv-ca-table>.mdv-ca-world{position:absolute!important;inset:0;z-index:0!important;pointer-events:none;overflow:hidden;contain:paint;isolation:isolate;background:#17171b}
.mdv-ca-root .mdv-ca-world-scene{position:absolute;inset:0;overflow:hidden}
.mdv-ca-root .mdv-ca-world-scene>img,.mdv-ca-root .mdv-ca-world-scene>div{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mdv-ca-root .mdv-ca-world-environment{object-fit:cover;object-position:50% 50%;opacity:.9;z-index:0}
.mdv-ca-root .mdv-ca-world-structure{object-fit:fill;z-index:1;opacity:.42}
.mdv-ca-root .mdv-ca-world-surface{background:linear-gradient(180deg,#00000012,transparent 30%,transparent 70%,#00000012);z-index:2}
.mdv-ca-root .mdv-ca-world-markings{inset:6% 4%!important;width:92%!important;height:88%!important;border:1px solid var(--mdv-ca-world-line);border-radius:8px;opacity:.15;z-index:3;background:linear-gradient(180deg,transparent 49.8%,var(--mdv-ca-world-line) 50%,transparent 50.2%)}
.mdv-ca-root .mdv-ca-world-light{z-index:4;opacity:.13;background:linear-gradient(90deg,var(--mdv-ca-world-light),transparent 14%,transparent 86%,var(--mdv-ca-world-light));mask-image:linear-gradient(90deg,#000,transparent 7%,transparent 93%,#000),linear-gradient(180deg,#000,transparent 5%,transparent 95%,#000)}
.mdv-ca-root .mdv-ca-world-foreground{z-index:5;box-shadow:inset 0 0 18px #0007}
.mdv-ca-root .mdv-ca-world-curtain{position:absolute;inset:0;background:#111114;z-index:6;pointer-events:none}
.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world) .mdv-ca-player{background:#111114eb;border-radius:4px}
.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world) .mdv-ca-centerline{background:#111114eb;border-radius:4px}
.mdv-ca-root .mdv-ca-table:has(>.mdv-ca-world) .mdv-ca-bank-label{background:#111114eb;border-radius:3px}
.mdv-ca-root[data-world-ambient=true] [data-ambient-kind=technical-pulse] .mdv-ca-world-light{animation:mdv-ca-world-pulse 28s ease-in-out infinite}
.mdv-ca-root[data-world-ambient=true] [data-ambient-kind=night-reflection] .mdv-ca-world-light{background:linear-gradient(150deg,transparent 10%,#e3e4f044 25%,transparent 40%,transparent 60%,#e3e4f044 75%,transparent 90%);animation:mdv-ca-world-reflection 24s ease-in-out infinite alternate}
.mdv-ca-root[data-world-ambient=true] [data-ambient-kind=energy-impulse] .mdv-ca-world-light{background:repeating-linear-gradient(0deg,transparent 0 72px,#f2d76b77 76px,transparent 82px,transparent 140px);animation:mdv-ca-world-energy 22s linear infinite}
.mdv-ca-root[data-world-ambient=true] [data-ambient-kind=lava-flow] .mdv-ca-world-light{background:repeating-linear-gradient(0deg,transparent 0 46px,#ffb46c77 52px,transparent 60px,transparent 100px);animation:mdv-ca-world-lava 26s ease-in-out infinite alternate}
.mdv-ca-root[data-world-ambient=true] [data-ambient-kind=forest-light] .mdv-ca-world-light{background:radial-gradient(ellipse at 12% 18%,#cedcab55,transparent 24%),radial-gradient(ellipse at 88% 82%,#cedcab55,transparent 24%);animation:mdv-ca-world-forest 30s ease-in-out infinite alternate}
.mdv-ca-root[data-world-tier=low] .mdv-ca-world-foreground{display:none}
.mdv-ca-root[data-world-ambient=false] .mdv-ca-world-light{animation:none}
.mdv-ca-root .mdv-ca-world-scene[data-fallback=true]{background:repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 36px),#17171b}
@keyframes mdv-ca-world-pulse{0%,100%{opacity:.08}12%{opacity:.24}28%,88%{opacity:.08}}
@keyframes mdv-ca-world-reflection{from{transform:translateX(-4px);opacity:.09}to{transform:translateX(4px);opacity:.19}}
@keyframes mdv-ca-world-energy{0%,35%,100%{opacity:.07;transform:translateY(-8px)}10%{opacity:.27;transform:translateY(8px)}20%{opacity:.09;transform:translateY(12px)}}
@keyframes mdv-ca-world-lava{from{transform:translateY(-6px);opacity:.11}to{transform:translateY(6px);opacity:.25}}
@keyframes mdv-ca-world-forest{from{transform:translate(-3px,2px);opacity:.10}to{transform:translate(3px,-2px);opacity:.19}}
.mdv-ca-root .mdv-ca-world-selector{min-width:0;margin:18px 0;padding:0;border:0;color:var(--mdv-ca-ink)}
.mdv-ca-root .mdv-ca-world-selector>legend{font-weight:700;margin-bottom:10px;font-size:14px}
.mdv-ca-root .mdv-ca-world-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.mdv-ca-root .mdv-ca-world-option{position:relative;display:flex;flex-direction:column;min-width:0;min-height:132px;overflow:hidden;border:1px solid var(--mdv-ca-control-border);border-radius:10px;background:var(--mdv-ca-bg-elevated);cursor:pointer;scroll-snap-align:start}
.mdv-ca-root .mdv-ca-world-option>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
.mdv-ca-root .mdv-ca-world-option>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--mdv-ca-bg)}
.mdv-ca-root .mdv-ca-world-option>span{display:flex;flex-direction:column;gap:3px;padding:9px 10px;min-width:0}
.mdv-ca-root .mdv-ca-world-option strong{font-size:12px;line-height:1.3;font-weight:750}
.mdv-ca-root .mdv-ca-world-option small{font-size:11px;line-height:1.35;color:var(--mdv-ca-muted)!important}
.mdv-ca-root .mdv-ca-world-check{display:none;position:absolute;right:6px;top:6px;width:24px;height:24px;border-radius:50%;background:var(--mdv-ca-primary);color:var(--mdv-ca-ink)!important;text-align:center;line-height:24px;font-size:14px}
.mdv-ca-root .mdv-ca-world-selected{border-color:var(--mdv-ca-accent);box-shadow:0 0 0 1px var(--mdv-ca-accent)}
.mdv-ca-root .mdv-ca-world-selected>.mdv-ca-world-check{display:block}
.mdv-ca-root .mdv-ca-world-option:focus-within{outline:3px solid var(--mdv-ca-focus);outline-offset:3px}
.mdv-ca-root .mdv-ca-world-status{min-height:16px;margin:8px 0 0;font-size:11px;color:var(--mdv-ca-muted)!important}
.mdv-ca-root .mdv-ca-world-selector:disabled .mdv-ca-world-option{cursor:wait;opacity:.7}
.mdv-ca-root .mdv-ca-dialog .mdv-ca-world-options{grid-template-columns:repeat(3,minmax(0,1fr))}
@container mdv-ca-arena (max-width:700px){
 .mdv-ca-root .mdv-ca-world-options,.mdv-ca-root .mdv-ca-dialog .mdv-ca-world-options{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 3px 8px;scroll-padding:3px}
 .mdv-ca-root .mdv-ca-world-option{flex:0 0 156px}
 .mdv-ca-root .mdv-ca-world-selector{margin-block:14px}
}
@media(prefers-reduced-motion:reduce){.mdv-ca-root .mdv-ca-world-light{animation:none!important}}
