/* Dimensión Marta studio pass. Gameplay geometry and input targets stay explicit. */
.dm-game-frame{--studio-ink:#edf2fa;--studio-muted:#bccbdd;--studio-accent:#a8e5df;--studio-panel:#152436;--studio-line:#a4c7d326;border-radius:16px;box-shadow:0 22px 65px #050a1455}
.dm-game-credit{border-radius:16px 16px 0 0!important;background:#0a1726!important;border-bottom:1px solid #d5e5f526;min-height:38px!important;letter-spacing:.15px}
.dm-game-frame :is(.ark-game,.blocks-game,.torre-game,.turbo-game,.race-game,.runner-game,.sphinx-game,.canon-game,.gl-shell,.foto-game,.match-game,.fm-game,.lab-game,.hv-game-shell,.dim-game,.orbit-game){color:var(--studio-ink);border-color:#7897b345!important;background-color:#101c2c!important;box-shadow:inset 0 1px 0 #e6f5ff18!important}
.dm-game-frame :is(.ark-topbar,.torre-topbar,.turbo-topbar,.race-topbar,.runner-topbar,.game-topbar,.canon-topbar,.foto-topbar,.gl-hud,.match-hud,.fm-hud,.hv-hud,.blocks-topbar,.orbit-stats,.dim-topbar){background:linear-gradient(110deg,#152c40,#172236)!important;color:#c3d3e1!important;border-bottom:1px solid #b9d8e72b!important;gap:7px!important;padding:9px!important;font-variant-numeric:tabular-nums}
.dm-game-frame :is(.ark-stat,.torre-stat,.turbo-stat,.race-stat,.runner-stat,.game-stat,.canon-stat,.foto-stat,.gl-stat,.match-stat,.fm-stat,.hv-stat,.blocks-stat){background:#07132266!important;color:#b9cddd!important;border:1px solid #b9d8e72b!important;border-radius:10px!important;box-shadow:inset 0 1px 0 #eaf8ff0d!important;padding:8px!important;min-width:0}
.dm-game-frame :is(.ark-stat,.torre-stat,.turbo-stat,.race-stat,.runner-stat,.game-stat,.canon-stat,.foto-stat,.gl-stat,.match-stat,.fm-stat,.hv-stat,.blocks-stat) strong{color:#f5f7fa!important;text-shadow:0 2px 8px #0004;font-variant-numeric:tabular-nums}
.dm-game-frame :is(.ark-panel,.torre-panel,.turbo-panel,.race-panel,.runner-panel,.game-panel,.canon-panel,.gl-panel,.hv-intro,.orbit-screen){background:linear-gradient(135deg,#1c344af2,#0e1d30f5)!important;color:#edf2fa!important;border:1px solid #c9ecff45!important;border-radius:18px!important;box-shadow:0 18px 45px #030a1855,inset 0 1px 0 #fff1!important}
.dm-game-frame :is(.ark-panel,.torre-panel,.turbo-panel,.race-panel,.runner-panel,.game-panel,.canon-panel,.gl-panel,.hv-intro,.orbit-screen) :is(h2,h3,p,li){color:inherit!important}
.dm-game-frame :is(.ark-screen,.torre-screen,.turbo-screen,.race-screen,.runner-screen,.game-screen,.canon-screen,.gl-screen){background-color:#07142380!important}
.dm-game-frame button{transition:filter .12s ease,box-shadow .12s ease;touch-action:manipulation}
.dm-game-frame button:enabled:hover{filter:brightness(1.10)}.dm-game-frame button:enabled:active{filter:brightness(.92)}
.dm-game-frame :is(.ark-button,.torre-button,.turbo-button,.race-button,.runner-button,.game-button,.canon-button,.gl-button,.hv-button,.foto-button,.match-btn,.fm-button,.lab-button,.orbit-switch){border-radius:10px!important;box-shadow:inset 0 1px 0 #fff6,0 3px 0 #08152466!important;font-weight:750;min-height:44px}
.dm-game-frame :is(.ark-live-line,.torre-bubble,.turbo-live-line,.race-live-line,.runner-live-line,.canon-line,.foto-scene-label){background:#0c1e30e8!important;color:#f1f6fc!important;border:1px solid #c6e9ff40!important;box-shadow:0 4px 12px #00102530!important;border-radius:9px!important}
.dm-game-frame :is(.runner-stage,.game-stage){background:#263b46 url('/assets/games/studio-20260912/canyon.webp') center/cover!important;isolation:isolate}
.dm-game-frame .game-stage{background-image:url('/assets/games/studio-20260912/workshop.webp')!important}
.dm-game-frame :is(.runner-rays,.game-rays,.runner-sunburst,.game-sunburst){display:none!important}
.dm-game-frame :is(.runner-ground,.runner-floor){background:linear-gradient(#b2a081,#5f675d 15%,#253b38 55%,#172925)!important;border-top:3px solid #dfca94!important;box-shadow:0 -8px 16px #15262128!important}
.dm-game-frame :is(.runner-player,.game-sphinx,.game-player,.turbo-avatar-chip){filter:drop-shadow(0 7px 5px #07101f55);background:none!important;border:0!important;box-shadow:none!important}
.dm-game-frame .blocks-game{background:linear-gradient(135deg,#21364de8,#0b182bf5)!important}
.dm-game-frame .blocks-board{border:7px solid #647b8e!important;border-bottom-color:#273f55!important;border-right-color:#314b60!important;background:#0d1b2c!important;box-shadow:inset 0 2px 12px #020711,0 1px 0 #e5f9ff55,0 12px 26px #030a1644!important}
.dm-game-frame .blocks-cell:not(.is-filled):not(.is-preview-ok):not(.is-preview-bad){background:linear-gradient(135deg,#26384d,#1a2a3d)!important;box-shadow:inset 1px 2px 3px #071321a0!important;border:1px solid #c3dcf309!important;border-radius:5px}
.dm-game-frame .blocks-cell.is-filled,.dm-game-frame .blocks-bit:not(.is-empty){border-radius:7px!important;box-shadow:inset 1px 2px 1px #ffffffb0,inset -2px -4px 2px #17345c66,0 2px 4px #0005!important}
.dm-game-frame .blocks-cell.is-just-placed{animation:studio-place .22s cubic-bezier(.2,.8,.3,1)}
.dm-game-frame .blocks-cell.is-clearing{animation:studio-clear .26s ease-out}
@keyframes studio-place{0%{transform:scale(.65);filter:brightness(1.6)}65%{transform:scale(1.08)}100%{transform:scale(1);filter:none}}
@keyframes studio-clear{40%{filter:brightness(2);transform:scale(1.06)}100%{opacity:0;transform:scale(.5)}}
.dm-game-frame .match-game{background:linear-gradient(#112437e8,#10243bf5),url('/assets/games/studio-20260912/workshop.webp') center/cover!important;color:#e5eef8!important}
.dm-game-frame .match-game :is(h1,h2,h3,p,label,small){color:inherit!important}
.dm-game-frame :is(.match-board,.match-grid){background:#071625!important;border-color:#617f99!important;box-shadow:inset 0 2px 12px #0006,0 7px 25px #0004!important}
.dm-game-frame :is(.match-tile,.match-cell){border-radius:9px!important;box-shadow:inset 0 1px 1px #fff8,inset 0 -3px 2px #163f5455,0 2px 4px #0005!important}
.dm-game-frame .fm-game{background:linear-gradient(#09182cd9,#0b1934f5),url('/assets/games/studio-20260912/city.webp') top/cover!important;color:#eef5ff!important}
.dm-game-frame .fm-game :is(h1,h2,h3,p,label,small){color:inherit!important}
.dm-game-frame .fm-stage{background:linear-gradient(#14274980,#061524bb),url('/assets/games/studio-20260912/city.webp') center/cover!important;box-shadow:inset 0 0 45px #02091688!important}
.dm-game-frame .lab-game{background:linear-gradient(#112334b8,#0b1d2cef),url('/assets/games/studio-20260912/workshop.webp') center top/cover!important}
.dm-game-frame :is(.lab-part-card,.lab-part,.lab-component){border-color:#b6dce82b!important;background:#162d40ed!important;box-shadow:inset 0 1px 0 #d6f5ff15!important}
.dm-game-frame :is(.lab-part-card,.lab-part,.lab-component).is-selected{border-color:#a1eee0!important;background:#23534fed!important;box-shadow:0 0 0 2px #a1eee055!important}
@media(max-width:640px){.dm-game-frame{border-radius:12px}.dm-game-credit{font-size:11px!important;min-height:34px!important}.dm-game-frame :is(.ark-panel,.torre-panel,.turbo-panel,.race-panel,.runner-panel,.game-panel,.canon-panel,.gl-panel){max-height:90%;overflow-y:auto;padding:16px!important}.dm-game-frame :is(.ark-stat,.torre-stat,.turbo-stat,.race-stat,.runner-stat,.game-stat,.canon-stat){font-size:10px!important;padding:6px!important}.dm-game-frame :is(.ark-stat,.torre-stat,.turbo-stat,.race-stat,.runner-stat,.game-stat,.canon-stat) strong{font-size:21px!important}}
@media(prefers-reduced-motion:reduce){.dm-game-frame *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.studio-paused *{animation-play-state:paused!important}
.dm-game-hub-link,.lab-game-hub-link{position:relative!important;top:auto!important;left:auto!important;display:inline-flex!important;margin:8px 12px!important;z-index:1!important}body:has(>.dm-game-hub-link) main,body:has(>.lab-game-hub-link) main{padding-top:0!important}
.dm-game-frame :is(.ark-stat,.torre-stat,.turbo-stat,.race-stat,.runner-stat,.game-stat,.canon-stat,.foto-stat,.gl-stat,.match-stat,.fm-stat,.hv-stat,.blocks-stat) :is(span,small){color:#bdcede!important}
.dm-game-frame :is(.race-screen,.runner-screen,.game-screen,.canon-screen,.torre-screen,.turbo-screen) :is(h1,h2,h3){color:#f0f6fc!important}
.dm-game-frame .fm-overlay-box{background:linear-gradient(140deg,#1b354af5,#0a182cf5)!important;border:1px solid #c1e5ff44!important;border-radius:16px!important;box-shadow:0 15px 35px #030a1c77!important;color:#eaf5ff!important}
.dm-game-frame .hv-game-head p{color:#bfcfde!important}
.dm-game-frame .hv-panel{background:linear-gradient(145deg,#203c50f5,#102039f5)!important;border:1px solid #c8e8ff55!important;color:#edf5ff!important;box-shadow:0 12px 35px #02091477!important}.dm-game-frame .hv-panel :is(h2,h3,p){color:#edf5ff!important}.dm-game-frame .hv-flight-hint{background:#1a3548!important;color:#cbe0ec!important}
.dm-game-frame .hv-route-progress{background:#163247!important;border-color:#95c4da33!important;color:#d5e9f4!important}.dm-game-frame .hv-route-progress span{color:#b1cbdc!important}
@media(max-width:640px){.dm-game-frame .hv-game-shell{padding:8px!important;margin-top:0!important}.dm-game-frame .hv-game-head{padding:5px!important;gap:6px}.dm-game-frame .hv-game-head h2{font-size:20px!important}.dm-game-frame .hv-game-head p{font-size:12px!important;line-height:1.45}.dm-game-frame .hv-hud{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:5px!important}.dm-game-frame .hv-stat{padding:5px 2px!important;grid-column:auto!important}.dm-game-frame .hv-stat:first-child{grid-column:1 / -1!important}.dm-game-frame .hv-stat span{font-size:8px!important}.dm-game-frame .hv-stat strong{font-size:15px!important}.dm-game-frame .hv-route-progress{padding:6px!important}.dm-game-frame .hv-actions{display:flex!important;flex-wrap:wrap;gap:6px}.dm-game-frame .hv-actions button{flex:1;min-height:40px!important}.dm-game-frame .hv-zone-track{gap:5px;margin-top:8px}.dm-game-frame .hv-zone-track button{padding:5px;min-height:44px}.dm-game-frame .fm-game[data-fm-screen="play"] .fm-layout{display:flex!important;flex-direction:column}.dm-game-frame .fm-game[data-fm-screen="play"] .fm-stage-wrap{order:0}.dm-game-frame .fm-game[data-fm-screen="play"] .fm-menu{order:1}.dm-game-frame .fm-game[data-fm-screen="play"] .fm-topbar h1{font-size:20px!important}.dm-game-frame .fm-game[data-fm-screen="play"] .fm-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.dm-game-frame .runner-stage::before,.dm-game-frame .game-stage::before{display:none!important}
.dm-game-frame :is(.match-stage,.match-panel,.match-intro,.match-result,.match-power,.fm-menu,.fm-stage-wrap,.fm-card){background:linear-gradient(145deg,#223c50f2,#13253cf5)!important;border:1px solid #bfdbe632!important;border-radius:14px!important;color:#edf4fb!important;box-shadow:inset 0 1px 0 #e8faff0d,0 6px 18px #020a1b25!important}
.dm-game-frame :is(.match-power small,.fm-card-copy small){color:#bdd2e2!important;font-weight:500}
.dm-game-frame .match-powers{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dm-game-frame .match-power{grid-template-columns:36px 1fr;padding:7px;font-size:12px;gap:6px}.dm-game-frame .match-power img{width:36px;height:36px;border:0!important;border-radius:8px}.dm-game-frame .match-power small{font-size:11px;line-height:1.35}.dm-game-frame .match-power strong{font-size:12px}
.dm-game-frame .fm-game::before{opacity:.1!important}
.dm-game-frame .fm-menu{min-height:0!important;padding:12px!important}
.dm-game-frame .fm-stage-wrap{min-height:480px!important}
.dm-game-frame .fm-card{min-height:68px;padding:8px;gap:8px}
.dm-game-frame .fm-card-art{width:58px;height:58px;background:#091a2d!important;border:0!important;border-radius:10px}
.dm-game-frame .fm-card-art img{width:58px!important;height:58px!important;object-fit:contain!important;filter:drop-shadow(0 3px 3px #0005)}
.dm-game-frame .fm-layout{gap:12px!important;grid-template-columns:minmax(210px,290px) minmax(0,1fr)}
.dm-game-frame .fm-stage-head{color:#eaf5ff}.dm-game-frame .fm-stage-name{background:#102c44e8!important;color:#eef7ff!important;border:1px solid #9dbbd63b!important;box-shadow:none!important}
.dm-game-frame .lab-parts-category{border:1px solid #b9dcf02b;border-radius:12px;padding:12px;background:#10283bdf;margin-bottom:10px}
.dm-game-frame .lab-parts-category summary{cursor:pointer;font-weight:800;line-height:1.5;padding:4px;color:#eaf3fa;min-height:40px}
.dm-game-frame .lab-parts-category summary span{display:block;color:#9edbd6;font-size:13px;font-weight:500;padding-inline-start:18px}
.dm-game-frame .lab-parts-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;overflow:visible!important;gap:9px!important;padding-top:10px}
.dm-game-frame .lab-part-card{padding:12px!important;border-radius:12px!important;min-width:0}.dm-game-frame .lab-part-card small{line-height:1.5;font-size:12px}
.dm-game-frame .studio-panel-toggle summary{cursor:pointer;font:700 15px system-ui;padding:8px;min-height:38px;color:#d2e9f7}
@media(max-width:760px){.dm-game-frame .fm-layout{grid-template-columns:1fr!important}.dm-game-frame [data-fm-view="characters"] .fm-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.dm-game-frame [data-fm-view="characters"] .fm-card{grid-template-columns:44px 1fr;min-height:80px}.dm-game-frame [data-fm-view="characters"] .fm-card-art{width:44px;height:50px}.dm-game-frame [data-fm-view="characters"] .fm-card-art img{width:44px!important;height:50px!important}.dm-game-frame [data-fm-view="characters"] .fm-card-copy small{font-size:10px;line-height:1.3}.dm-game-frame .fm-stage-wrap{min-height:410px!important}.dm-game-frame .fm-menu{min-height:0!important}}
.dm-game-frame .fm-game [hidden]{display:none!important}
.dm-game-frame .fm-song-name{background:#102c44e8!important;color:#eef7ff!important;border:1px solid #9dbbd63b!important;box-shadow:none!important}
.dm-game-frame .fm-character{top:100px;bottom:auto;right:14px;width:90px;height:90px;overflow:hidden;filter:drop-shadow(0 5px 5px #0005)}
.dm-game-frame .fm-character img{width:100%!important;height:100%!important;transform:scale(1.8)}
.dm-game-frame .fm-character-badge{top:190px;bottom:auto;right:14px;font-size:11px;min-height:26px;padding:5px 9px}
@media(max-width:640px){.dm-game-frame .fm-now{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.dm-game-frame .fm-now .fm-stat{padding:6px!important}.dm-game-frame .fm-now .fm-stat span{font-size:9px}.dm-game-frame .fm-now .fm-stat strong{font-size:18px}}
