/* Reuse the Maths Simulations gallery and workspace layout without changing it. */
:root{--purple:#197b70}.brand-mark,.topics button[aria-pressed=true],.empty button{background:#197b70;border-color:#197b70}.eyebrow{color:#26796f}.hero-art{transform:none;background:#14273b;border-color:#c9e5df;height:auto;aspect-ratio:5/3}.hero-art img,.preview img{display:block;width:100%;height:100%;object-fit:cover}.preview{height:auto;aspect-ratio:5/3;background:#14273b}.preview:before{display:none}.toolbar a,.toolbar button{color:#197b70}.toolbar button{background:#eff8f5;border-color:#c9e5df}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#197b70}#status{background:#e5f4ef}.card-foot{gap:8px;flex-wrap:wrap}@media(max-width:600px){.hero h1{font-size:40px}.hero-art{height:auto}.brand{font-size:13px}}
/* Orbit Clock fits the available workspace; preserve legacy sizing for other apps. */
#frame[src*="../orbit-clock/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../orbit-clock/"]) .site-header{display:none}
/* Cell Exchange Clock is also a responsive, full-viewport app. */
#frame[src*="../cell-exchange-clock/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../cell-exchange-clock/"]) .site-header{display:none}
/* Seismic Arrival Lab occupies the actual remaining viewport. */
#frame[src*="../seismic-arrival-lab/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../seismic-arrival-lab/"]) .site-header{display:none}
/* Catch & Cushion uses the actual available simulation viewport. */
#frame[src*="../catch-and-cushion/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../catch-and-cushion/"]) .site-header{display:none}
/* Albedo Mosaic fits the remaining workspace without changing older apps. */
#frame[src*="../albedo-mosaic/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../albedo-mosaic/"]) .site-header{display:none}
/* Critical Angle Lab uses the actual available viewport, including short embeds. */
#frame[src*="../critical-angle-lab/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../critical-angle-lab/"]) .site-header{display:none}
/* Half-Life Lottery fits the actual available viewport. */
#frame[src*="../half-life-lottery/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../half-life-lottery/"]) .site-header{display:none}
/* Parallax Postcards fits the actual available viewport. */
#frame[src*="../parallax-postcards/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../parallax-postcards/"]) .site-header{display:none}
/* Enzyme Saturation Studio fits the actual available viewport. */
#frame[src*="../enzyme-saturation-studio/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../enzyme-saturation-studio/"]) .site-header{display:none}
/* Groundwater Gradient fits the actual available viewport. */
#frame[src*="../groundwater-gradient/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../groundwater-gradient/"]) .site-header{display:none}
/* Insulation Stack fits the actual available viewport. */
#frame[src*="../insulation-stack/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../insulation-stack/"]) .site-header{display:none}
/* Muscle Leverage fits the actual available viewport. */
#frame[src*="../muscle-leverage/"]{min-height:0;flex:1 1 0;height:100%}
body.playing:has(#frame[src*="../muscle-leverage/"]) .site-header{display:none}
