:root{--paper:#f7f7f2;--card:#fff;--ink:#25312e;--muted:#8b918b;--line:#e5e7df;--orange:#ed704d;--green:#799d85;--font:'DM Sans',sans-serif;--display:'Outfit',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ee9b78;outline-offset:4px}button{color:inherit}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.site-header{height:100px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 4.5%;max-width:1800px;margin:auto}.brand{text-decoration:none;font-family:var(--display);font-size:34px;letter-spacing:-1.4px;font-weight:650;display:flex;align-items:center;gap:9px}.brand-period{color:var(--orange);margin-left:-8px}.brand-mark{display:flex;position:relative;width:31px;height:38px;align-items:flex-start;justify-content:center}.brand-mark span{width:22px;height:22px;border-radius:50%;background:var(--orange);position:absolute;top:4px;box-shadow:inset -4px -4px 0 #d45e3c}.brand-mark i{position:absolute;bottom:3px;height:3px;border-radius:50%;width:25px;background:#e1c7b9;transform:rotate(-12deg)}nav{display:flex;gap:31px;align-items:center;margin-left:30px}.nav-link{border:0;padding:38px 0;background:none;color:#838b83;font-size:13px;font-weight:550;position:relative;white-space:nowrap}.nav-link.active{color:var(--ink)}.nav-link.active:after{content:'';position:absolute;bottom:0;left:0;right:0;background:var(--orange);height:3px;border-radius:3px 3px 0 0}.nav-count{background:#eaece5;border-radius:5px;padding:2px 5px;margin-left:4px;font-size:10px}.external-arrow{font-size:15px;color:#9da69d;margin-left:5px}.button{border:1px solid transparent;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:12px;font-weight:600;min-height:41px;transition:background .2s,transform .2s}.button:active,.icon-button:active{transform:scale(.97)}.button-outline{border-color:#daddd3;background:transparent;padding:0 13px}.button-outline:hover{background:#edeFE8}.button-outline svg{width:15px;height:15px}kbd{font-family:var(--font);font-size:9px;padding:2px 4px;border:1px solid #dbded4;border-radius:3px;color:#949d91;font-weight:400;line-height:1.3}.button-outline kbd{margin-left:7px}.main{max-width:1660px;padding:43px 4.5% 0;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;display:flex;align-items:center;gap:7px;color:#87947f}.eyebrow>span{width:5px;height:5px;border-radius:50%;background:#9dab86}h1{font-family:var(--display);font-weight:500;font-size:clamp(30px,3vw,45px);letter-spacing:-1.5px;line-height:1.2;margin:11px 0 9px}h1>span{color:#9aa28f}.intro p{font-size:12px;color:#92988f;margin:0;line-height:1.8}.autopilot-label{position:relative;font-size:11px;font-weight:600;margin-top:14px;padding-left:17px}.live-dot{position:absolute;left:0;top:4px;background:#90a982;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #eaf0e2}.autopilot-label small{display:block;font-weight:400;color:#9ba293;font-size:10px;margin-top:7px}.workspace{display:grid;grid-template-columns:253px minmax(0,1fr);gap:25px;align-items:start}.control-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:21px 20px 10px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-family:var(--display);font-size:16px;font-weight:500;letter-spacing:-.3px;margin:0}.tiny-icon{font-size:22px;line-height:1;color:#9cae91}.section-description{font-size:10px;color:#9a9f96;margin:7px 0 21px}.playback{display:flex;gap:8px;margin-bottom:24px}.button-primary{color:#fff;background:var(--orange);flex:1;justify-content:flex-start;padding:0 10px;box-shadow:0 3px 7px #da7b4b12}.button-primary:hover{background:#df6240}.button-primary svg{width:15px;height:15px}.button-primary kbd{margin-left:auto;color:#ffe7d9;border-color:#f3a084;font-size:8px;background:#f0a58720}.icon-button{border:1px solid var(--line);background:#fff;border-radius:8px;width:40px;display:flex;justify-content:center;align-items:center}.icon-button:hover{background:#f4f4ef}.icon-button svg{width:16px;height:16px}.control-group{margin-top:22px}.control-group label{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:550;margin-bottom:12px}.control-group label>span{font-size:10px;background:#f1f2ed;border:1px solid #e8eae0;border-radius:4px;padding:2px 6px;font-variant-numeric:tabular-nums;color:#73816f}input[type=range]{appearance:none;width:100%;height:4px;border-radius:4px;background:linear-gradient(to right,var(--orange) 30%,#e8eae2 30%);outline:none;margin:8px 0 13px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border:3px solid white;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px var(--orange)}input[type=range]::-moz-range-thumb{width:8px;height:8px;border:3px solid white;border-radius:50%;background:var(--orange);box-shadow:0 0 0 1px var(--orange)}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#a0a59b}.select-wrap{display:flex;align-items:center;background:#f9f9f6;border:1px solid #e5e8df;border-radius:7px;padding:0 10px;height:37px;position:relative}.select-wrap>span{font-size:17px;color:#91a08a}.select-wrap select{appearance:none;min-width:0;width:100%;background:transparent;border:0;padding:8px 7px;font-size:10px;color:#606c5b;cursor:pointer;outline:none}.select-wrap>svg{width:13px;height:13px;transform:rotate(90deg);color:#89977d;pointer-events:none}.settings-divider{height:1px;background:var(--line);margin:23px 0 16px}.toggle-row{display:flex;position:relative;justify-content:space-between;align-items:center;margin:0 0 18px;cursor:pointer;gap:8px}.toggle-row strong{font-size:10px;font-weight:500;display:block}.toggle-row small{font-size:8px;display:block;color:#a5a99e;margin-top:5px}.toggle-row input{position:absolute;right:0;opacity:0;width:32px;height:20px;cursor:pointer}.toggle-track{width:29px;height:17px;background:#e0e4d9;border-radius:15px;padding:3px;flex-shrink:0;pointer-events:none;transition:background .2s}.toggle-track:after{content:'';display:block;background:white;box-shadow:0 1px 2px #0001;width:11px;height:11px;border-radius:50%;transition:transform .2s}.toggle-row input:checked+.toggle-track{background:#7f9d83}.toggle-row input:checked+.toggle-track:after{transform:translateX(12px)}.toggle-row input:focus-visible+.toggle-track{outline:3px solid #edb491;outline-offset:4px}.reset-button{display:flex;justify-content:center;align-items:center;gap:6px;width:100%;border:0;border-top:1px solid var(--line);background:none;font-size:8px;color:#929c8c;padding:14px 0 7px}.reset-button:hover{color:var(--orange)}.reset-button svg{width:11px;height:11px}.note-card{position:relative;overflow:hidden;border:1px solid #e1e5d7;border-radius:10px;background:#eef0e5;margin-top:14px;padding:17px 16px 18px;display:flex;gap:10px}.note-icon{color:#829774;margin-top:1px}.note-icon svg{width:17px;height:17px}.note-card h3{font-family:var(--display);font-size:12px;font-weight:500;margin:0 0 7px}.note-card p{font-size:9px;line-height:1.9;margin:0;color:#98a08b;max-width:165px}.note-doodle{position:absolute;bottom:-20px;right:-4px;font-size:72px;color:#e1e7d4;transform:rotate(15deg);z-index:0;pointer-events:none}.simulation{min-width:0}.stage{position:relative;overflow:hidden;border-radius:13px;background:#111f28;isolation:isolate;box-shadow:0 6px 20px #25312208}.stage canvas{display:block;width:100%;aspect-ratio:1200/760;touch-action:manipulation}.stage-top{position:absolute;top:21px;left:23px;right:23px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.stage-live{display:flex;align-items:center;gap:6px;color:#86968f;letter-spacing:1.6px;font-size:7px;font-weight:500}.stage-live i{background:#a2cfa4;width:4px;height:4px;border-radius:50%;box-shadow:0 0 6px #95d39955}.endless-tag{color:#5c7377;font-size:16px;display:flex;align-items:center;gap:6px}.endless-tag span{font-size:6px;letter-spacing:1.5px}.level-float{position:absolute;left:23px;top:53px;display:flex;gap:11px;align-items:center;pointer-events:none}.level-indicator{font-family:var(--display);font-size:14px;color:#e2e7d9;font-weight:400;background:#26364099;border:1px solid #3e505666;padding:6px 8px;border-radius:5px}.level-float div>span{color:#d1d8cd;font-size:10px;display:block;font-weight:500}.level-float small{color:#647d7b;font-size:7px;display:block;margin-top:4px}.stage-bottom{position:absolute;bottom:19px;left:23px;right:23px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.mode-pill{display:flex;align-items:center;gap:6px;font-size:8px;color:#93b5a5;background:#1b302f;border:1px solid #35534866;border-radius:20px;padding:6px 9px}.mode-dot{width:4px;height:4px;border-radius:50%;background:#8fbda1}.stage-hint{font-size:8px;color:#607776;letter-spacing:.3px;margin-left:-30px}.stage-expand{border:0;background:transparent;color:#68817f;pointer-events:auto;display:flex;padding:4px}.stage-expand:hover{color:#fff}.stage-expand svg{width:14px;height:14px}.stats-bar{display:grid;grid-template-columns:1.4fr 1fr 1.1fr 1.1fr;background:#fff;border:1px solid var(--line);border-radius:10px;margin-top:14px;padding:21px 0}.stat{border-left:1px solid var(--line);padding:0 20px}.stat:first-child{border:0}.stat-label{font-size:7px;letter-spacing:1.1px;color:#9ba48e;font-weight:500;display:block;white-space:nowrap;margin-bottom:9px}.stat strong{font-family:var(--display);font-size:23px;line-height:1;display:flex;gap:9px;align-items:center;font-weight:450;font-variant-numeric:tabular-nums}.stat strong small{font-family:var(--font);font-size:9px;color:#8b9781;font-weight:400}.level-stat strong small{font-size:8px;max-width:95px;line-height:1.6}.ball-indicator{height:8px;width:8px;background:var(--orange);border-radius:50%;box-shadow:0 0 0 4px #fbf0e9;margin:0 3px}.bricks-stat strong{gap:4px}.bricks-stat strong small{font-size:11px;align-self:flex-end;margin-bottom:2px;color:#b1b7a9}.progress-track{height:3px;background:#f0f2e8;border-radius:3px;width:90%;margin-top:9px;overflow:hidden}.progress-track span{display:block;background:#92a883;height:100%;transition:width .3s}.time-stat strong{font-size:22px;letter-spacing:1px}.powerup-strip{margin-top:27px;border:1px solid #e2e5db;border-radius:11px;padding:20px 23px;display:flex;align-items:center;gap:25px;background:#f3f4ed}.powerup-heading{display:flex;gap:13px;align-items:center;flex-shrink:0}.powerup-heading>.tiny-icon{font-size:30px}.powerup-heading h2{font-family:var(--display);font-weight:500;font-size:14px;letter-spacing:-.1px;margin:0 0 5px}.powerup-heading p{font-size:9px;color:#a0a795;margin:0}.powerup-items{display:flex;flex:1;align-items:center;justify-content:space-around;gap:10px}.powerup-item{display:flex;align-items:center;gap:8px;border:0;background:none;font-size:9px;color:#7c8872;padding:3px 0;white-space:nowrap}.powerup-item:hover{color:#313b2e}.power-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:29px;border-radius:6px;font-family:var(--display);font-size:13px;font-weight:550;border:1px solid #0000000b}.power-orange{background:#f8ddd0;color:#d27a59}.power-green{background:#dfe9d3;color:#7d9a67}.power-yellow{background:#f5e9c4;color:#b3a052}.power-blue{background:#dce8e6;color:#729f9c}.power-pink{background:#efdee0;color:#b88896}.power-purple{background:#e7e0ef;color:#a58eba;font-size:18px}.powerup-item>span>small{font-family:var(--font);font-size:5px;display:block;color:#b2aaa9;margin-top:4px;letter-spacing:.6px}.powerup-more{border:0;border-radius:50%;background:#e8ecdf;padding:6px;display:flex;color:#9bab8d}.powerup-more svg{width:14px;height:14px}footer{display:flex;justify-content:space-between;padding:23px 1px;color:#a1a996;font-size:8px;align-items:center}footer>span{display:flex;align-items:center;gap:5px}.footer-orbit{color:#829774;font-size:17px;margin-right:3px}.italic{font-family:Georgia,serif;font-style:italic}.footer-dot{width:4px;height:4px;background:var(--orange);border-radius:50%;margin-left:3px}.stage-notice{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%) translateY(10px);color:#fff5db;background:#24353ae8;backdrop-filter:blur(10px);border:1px solid #8fa2a340;border-radius:9px;padding:13px 20px;font-size:13px;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;text-align:center;white-space:nowrap}.stage-notice.show{opacity:1;transform:translate(-50%,-50%)}.paused-overlay{position:absolute;inset:0;border:0;background:#11212a88;color:#edf2e6;backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;flex-direction:column;gap:12px}.paused-overlay[hidden]{display:none}.paused-overlay svg{width:48px;height:48px;border-radius:50%;background:#f9f6e922;padding:12px}.paused-overlay span{font-family:var(--display);font-size:26px}.paused-overlay small{font-size:10px;color:#aebdaf}#exit-screensaver{display:none}body.screensaver{background:#101d26;overflow:hidden}.screensaver .site-header,.screensaver .intro,.screensaver .sidebar,.screensaver .stats-bar,.screensaver .powerup-strip,.screensaver footer{display:none}.screensaver .main{padding:0;max-width:none}.screensaver .workspace{display:block}.screensaver .stage{position:fixed;inset:0;border-radius:0;display:flex;align-items:center;justify-content:center}.screensaver .stage canvas{max-height:100vh;max-width:calc(100vh * 1200 / 760);height:auto;width:100vw}.screensaver .stage-top,.screensaver .level-float,.screensaver .stage-bottom{opacity:0;transition:opacity .4s}.screensaver.user-active .stage-top,.screensaver.user-active .level-float,.screensaver.user-active .stage-bottom{opacity:1}body.screensaver:not(.user-active){cursor:none}body.screensaver #exit-screensaver{display:flex;position:fixed;z-index:30;top:23px;right:23px;align-items:center;gap:9px;border:1px solid #536363;border-radius:8px;background:#243438dd;color:#cad5c7;padding:9px 12px;font-size:11px;opacity:0;transition:opacity .3s}body.screensaver.user-active #exit-screensaver{opacity:1}#exit-screensaver svg{width:14px;height:14px}dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:17px;padding:42px;max-width:750px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 20px 100px #102c2822}dialog::backdrop{background:#15282377;backdrop-filter:blur(5px)}dialog h2{font-family:var(--display);font-size:34px;font-weight:500;letter-spacing:-1px;margin:14px 0}.dialog-close{position:absolute;top:17px;right:17px;background:#e9ece2;border:0;border-radius:50%;padding:6px;display:flex}.dialog-close svg{width:16px;height:16px}.dialog-lead{font-size:13px;color:#88917f;line-height:1.8;max-width:590px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:30px 0}.help-number{color:var(--orange);font-family:var(--display);font-size:23px}.help-grid h3{font-family:var(--display);font-size:19px;font-weight:500;margin:8px 0}.help-grid p{font-size:12px;line-height:1.85;color:#8d9785;margin:0}.help-foot{display:flex;gap:20px;justify-content:space-between;padding-top:20px;border-top:1px solid var(--line);font-size:9px;color:#9ca591;line-height:1.7}.help-foot>span{max-width:50%}.help-foot kbd{margin-left:5px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.gallery-card{text-align:left;border:1px solid var(--line);border-radius:9px;padding:0;background:#fff;overflow:hidden}.gallery-card img{width:100%;aspect-ratio:1200/760;object-fit:cover;display:block}.gallery-card div{padding:10px}.gallery-card strong{display:block;font-weight:550;font-size:12px}.gallery-card small{display:block;color:#96a18a;font-size:9px;margin-top:5px}.gallery-foot{font-size:10px;line-height:1.7;color:#98a18c}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);background:#2c3b31;color:#f5f5ea;border:1px solid #82917140;border-radius:9px;font-size:12px;padding:13px 20px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.workspace{grid-template-columns:275px minmax(0,1fr);gap:28px}.control-card{padding:25px}.section-heading h2{font-size:18px}.section-description{font-size:11px}.control-group label,.toggle-row strong{font-size:12px}.toggle-row small,.range-labels,.reset-button{font-size:10px}.control-group{margin-top:28px}.toggle-row{margin-bottom:23px}.select-wrap{height:42px}.select-wrap select{font-size:12px}.stage-top{top:26px}.stage-live{font-size:9px}.level-float{top:65px}.level-float div>span{font-size:12px}.level-float small{font-size:9px}.stat-label{font-size:9px}.powerup-item{font-size:11px}.powerup-heading h2{font-size:16px}.powerup-heading p{font-size:11px}.power-icon{width:34px;height:34px}.stats-bar{padding:24px 0}.note-card p{font-size:11px}.note-card h3{font-size:14px}}
@media(max-width:1150px){.site-header{padding:0 3%;gap:20px}.main{padding:32px 3% 0}nav{gap:24px;margin-left:0}.workspace{grid-template-columns:220px minmax(0,1fr);gap:18px}.control-card{padding:18px 16px 9px}.powerup-strip{gap:16px;padding:18px}.powerup-heading{gap:8px}.powerup-heading h2{font-size:12px}.powerup-heading p{font-size:8px}.powerup-item{gap:5px;font-size:8px}.powerup-items{gap:6px}.power-icon{width:25px;height:27px}.stat{padding:0 13px}.stat-label{font-size:6px}.level-stat strong small{display:none}.stats-bar{padding:19px 0}.note-card p{font-size:8px}.stage canvas{min-height:330px;aspect-ratio:1200/760}.stage{display:flex;align-items:center}.stage canvas{object-fit:contain}.control-group{margin-top:18px}.toggle-row{margin-bottom:15px}.section-description{margin-bottom:16px}.playback{margin-bottom:21px}.settings-divider{margin:19px 0 17px}.note-card{padding:14px}.stage-hint{display:none}}
@media(max-width:900px){.site-header{height:80px}.brand{font-size:30px}nav{gap:22px}.nav-link{padding:29px 0;font-size:11px}.button-outline{font-size:10px;padding:0 9px;min-height:36px}.button-outline kbd{display:none}.intro{margin-bottom:25px}h1{font-size:34px}.intro p{font-size:10px}.autopilot-label{font-size:9px}.autopilot-label small{font-size:8px}.workspace{grid-template-columns:190px minmax(0,1fr);gap:14px}.control-card{padding:16px 13px 8px}.section-heading h2{font-size:13px}.section-description{font-size:8px}.button-primary{font-size:10px;padding:0 8px}.button-primary kbd{display:none}.icon-button{width:34px}.control-group label{font-size:9px}.control-group{margin-top:17px}.toggle-row strong{font-size:9px}.toggle-row small{font-size:7px}.stage-top{left:15px;right:15px;top:17px}.endless-tag span{display:none}.level-float{left:15px;top:45px}.level-float small{display:none}.stage-bottom{left:15px;right:15px;bottom:15px}.stage canvas{min-height:340px}.stage-live{font-size:6px}.stats-bar{margin-top:12px;padding:20px 0;grid-template-columns:.65fr .9fr 1fr 1fr}.stat{padding:0 10px}.stat strong{font-size:20px}.stat strong small{font-size:10px}.stat-label{letter-spacing:.5px;font-size:5px}.time-stat strong{font-size:17px}.note-card{padding:14px 10px;gap:7px}.note-card h3{font-size:11px}.note-card p{font-size:8px}.powerup-strip{align-items:start;flex-wrap:wrap;gap:16px;padding:16px 18px;margin-top:22px}.powerup-heading{flex:1;width:100%}.powerup-items{order:2;flex-basis:100%;justify-content:space-between}.powerup-item{font-size:9px;gap:8px}.powerup-heading p{font-size:9px}.powerup-heading h2{font-size:14px}.powerup-heading>.tiny-icon{font-size:25px}.powerup-more{order:1}.powerup-item>span>small{display:none}footer{font-size:7px}}
@media(max-width:650px){.site-header{height:72px;padding:0 5%}.brand{font-size:29px}.brand-mark{width:26px}nav{margin-left:auto;gap:18px}.nav-link{font-size:10px;padding:26px 0}.nav-link.active{display:none}.nav-count{display:none}.site-header>.screensaver-trigger{padding:0;border:0;min-height:0}.site-header>.screensaver-trigger span{display:none}.site-header>.screensaver-trigger svg{width:17px;height:17px}.main{padding:28px 5% 0}.intro{margin-bottom:23px}.intro .eyebrow{font-size:7px;letter-spacing:1.3px}h1{font-size:33px;letter-spacing:-1.3px}.intro p{font-size:10px;max-width:290px}.autopilot-label{display:none}.workspace{display:flex;flex-direction:column;gap:20px}.simulation{order:0;width:100%}.sidebar{order:1;width:100%;display:grid;grid-template-columns:1fr;gap:0}.stage{min-height:0}.stage canvas{min-height:0;aspect-ratio:1.24;object-fit:contain}.stage-top{top:14px}.level-float{top:39px;gap:7px}.level-indicator{font-size:12px;padding:4px 6px}.level-float div>span{font-size:9px}.stage-bottom{bottom:13px}.mode-pill{font-size:7px;padding:5px 7px}.stats-bar{padding:18px 0;grid-template-columns:.6fr .9fr 1.1fr 1.05fr}.stat{padding:0 11px}.stat-label{font-size:5px;letter-spacing:.4px}.stat strong{font-size:22px}.time-stat strong{font-size:18px}.control-card{padding:20px;display:grid;grid-template-columns:1fr 1fr;column-gap:24px;position:relative}.section-heading{grid-column:1}.section-heading h2{font-size:16px}.section-description{grid-column:1;font-size:9px;margin:7px 0 0}.playback{grid-column:2;grid-row:1 / 3;align-items:stretch;margin:0}.button-primary{font-size:12px}.control-group{margin-top:24px}.control-group label{font-size:10px}.control-group label>span{font-size:9px}.range-labels{font-size:7px}.select-wrap{height:35px;margin-top:18px}.select-wrap select{font-size:10px}.settings-divider{grid-column:1 / -1;margin:22px 0 20px}.toggle-row{grid-column:1 / -1;margin-bottom:20px}.toggle-row strong{font-size:11px}.toggle-row small{font-size:9px}.toggle-track{width:32px;height:19px;padding:3px}.toggle-track:after{width:13px;height:13px}.toggle-row input:checked+.toggle-track:after{transform:translateX(13px)}.reset-button{grid-column:1 / -1;font-size:9px;padding:16px 0 0}.note-card{display:none}.powerup-strip{margin-top:20px;padding:17px}.powerup-items{display:grid;grid-template-columns:1fr 1fr 1fr;gap:17px 8px}.powerup-item{font-size:8px;gap:7px}.powerup-heading h2{font-size:14px}.powerup-heading p{font-size:8px}.power-icon{width:26px;height:26px}footer{padding:20px 0 24px;justify-content:center}footer>span:last-child{display:none}dialog{padding:32px 23px}dialog h2{font-size:28px}.dialog-lead{font-size:11px}.help-grid{gap:20px;margin:23px 0}.help-grid h3{font-size:16px}.help-grid p{font-size:10px}.help-foot{display:block}.help-foot>span{display:block;max-width:100%;margin-top:10px}.gallery-grid{grid-template-columns:1fr 1fr;gap:12px}.gallery-card strong{font-size:10px}.gallery-card small{font-size:8px}.stage-notice{font-size:10px;max-width:90%;white-space:normal;padding:10px 14px}.paused-overlay span{font-size:22px}.paused-overlay small{font-size:8px}}
/* Let the image reach the arena edges; show its controls on interaction. */
.stage canvas{min-height:0;width:100%;height:auto;aspect-ratio:var(--world-aspect,1200/760)}
.stage-top,.level-float,.stage-bottom{opacity:0;transition:opacity .2s}
body:not(.screensaver) .stage:hover .stage-top,body:not(.screensaver) .stage:hover .level-float,body:not(.screensaver) .stage:hover .stage-bottom,body:not(.screensaver) .stage:focus-within .stage-top,body:not(.screensaver) .stage:focus-within .level-float,body:not(.screensaver) .stage:focus-within .stage-bottom{opacity:1}
.stage-live,.endless-tag{background:#10212bdf;border-radius:5px;padding:6px 8px}
.level-float{background:#10212be8;border-radius:7px;padding:7px 9px;max-width:calc(100% - 46px)}
.stage-expand{background:#10212bdf;border-radius:5px;padding:6px}
.stage-hint{display:none}
.powerup-strip{display:grid;grid-template-columns:minmax(185px,.9fr) minmax(0,1.8fr) auto auto;gap:20px}
.powerup-heading{min-width:0}
#powerup-description{max-width:235px;line-height:1.7}
.powerup-items{display:flex;min-width:0;justify-content:flex-start;gap:18px;flex-wrap:wrap}
.powerup-unlock{font-size:9px;line-height:1.65;color:#5e7055;max-width:150px}
.powerup-unlock:empty{display:none}
.powerup-more{justify-self:end;align-self:center}
.ability-summary{display:flex;align-items:baseline;gap:10px;margin:10px 3px 0;font-size:9px;line-height:1.7;color:#5e7055}
.ability-label{font-size:7px;letter-spacing:1px;white-space:nowrap;color:#5e7055}
#active-abilities{display:flex;flex-wrap:wrap;gap:5px 6px;min-width:0}
.ability-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #d4ddca;border-radius:20px;background:#eef1e7;padding:2px 7px;font-size:8px;color:#526448;white-space:nowrap}
.ability-pill:hover{background:#e5ebdc}
.ability-swatch,.ability-pill>i{display:inline-block;width:6px;height:6px;border:1px solid #64735a;border-radius:50%;background:var(--ability-color,#8fae83);flex-shrink:0}
.screensaver .ability-summary{display:none}
.power-guide{border-top:1px solid var(--line);padding:23px 0 25px}
.power-guide-heading h3{font-family:var(--display);font-size:21px;font-weight:500;letter-spacing:-.4px;margin:0 0 7px}
.power-guide-heading p{font-size:11px;line-height:1.7;color:#5e7055;margin:0}
.restorer-note{font-size:11px;line-height:1.8;color:#5e7055;background:#fff;border-left:2px solid #98b59e;border-radius:0 7px 7px 0;padding:11px 14px;margin:16px 0 0}
.restorer-note strong{color:#465947;font-weight:600}
.power-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.power-catalog-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;min-width:0}
.power-catalog-title{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.power-catalog-title h3{font-family:var(--display);font-size:15px;font-weight:500;margin:0}
.power-catalog-title .power-icon{width:29px;height:29px;font-size:13px}
.power-catalog-unlock{display:block;font-size:8px;letter-spacing:.6px;color:#5e7055;margin:0 0 8px;text-transform:uppercase}
.power-catalog-card p{font-size:10px;line-height:1.8;color:#5e7055;margin:0}
@media(min-width:1500px){.ability-summary{font-size:10px}.ability-label,.ability-pill{font-size:9px}.powerup-unlock{font-size:10px}}
@media(max-width:1100px){.powerup-strip{grid-template-columns:minmax(165px,.8fr) minmax(0,1.7fr) auto;gap:16px}.powerup-unlock{grid-column:1 / 3;grid-row:2;max-width:none}.powerup-more{grid-column:3;grid-row:1 / 3}.powerup-items{gap:12px 18px}}
@media(max-width:900px){.powerup-strip{grid-template-columns:minmax(0,1fr) auto;gap:15px}.powerup-heading{grid-column:1;grid-row:1;width:auto}.powerup-items{grid-column:1 / -1;grid-row:2;justify-content:flex-start;gap:14px 24px}.powerup-unlock{grid-column:1 / -1;grid-row:3}.powerup-more{grid-column:2;grid-row:1}.powerup-unlock:empty{display:none}}
@media(max-width:650px){.powerup-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 20px}.powerup-item{font-size:9px}.powerup-unlock{font-size:8px}.ability-summary{gap:8px;align-items:flex-start;font-size:8px}.ability-label{font-size:6px;padding-top:2px}.ability-pill{font-size:7px}.power-guide-heading h3{font-size:19px}.power-guide-heading p{font-size:10px}.power-catalog{gap:10px}.power-catalog-card{padding:11px}.power-catalog-title{gap:7px;flex-wrap:wrap}.power-catalog-title h3{font-size:14px}.power-catalog-card p{font-size:9px}}
@media(max-width:380px){.power-catalog{grid-template-columns:1fr}}
.size-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.size-controls .control-group{margin-top:0;min-width:0}
.size-control label{font-size:9px;gap:4px;margin-bottom:8px;white-space:nowrap}
.size-control output{font-size:9px;background:#f1f2ed;border:1px solid #e8eae0;border-radius:4px;padding:2px 4px;font-variant-numeric:tabular-nums;color:#73816f}
.size-control input[type=range]{margin:6px 0 10px}
.control-hint{display:block;color:#9ba390;font-size:8px;line-height:1.5}
@media(min-width:1500px){.size-control label{font-size:10px}.size-control output,.control-hint{font-size:9px}}
@media(max-width:650px){.size-controls{display:contents}.size-controls .control-group{margin-top:24px}.size-control label{font-size:10px}.size-control output{font-size:9px;padding:2px 6px}.control-hint{font-size:9px}}
#ball-count.compact-stat,.dense-stat #bricks-count{font-size:18px}
.dense-stat #bricks-total{font-size:9px}
.nav-link{text-decoration:none}.nav-label-short{display:none}
@media(max-width:900px){.config-nav .nav-label-full{display:none}.config-nav .nav-label-short{display:inline}}
@media(max-width:650px){.site-header{gap:12px}.site-header nav{gap:12px}.site-header .external-arrow{display:none}#gallery-open .nav-label-full{display:none}#gallery-open .nav-label-short{display:inline}}
@media(max-width:380px){.site-header{padding:0 4%;gap:9px}.site-header nav{gap:10px}.site-header .brand{font-size:27px}}
@media(max-width:360px){
  .site-header{height:98px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 1fr;column-gap:12px;row-gap:0;padding:6px 5% 0}
  .site-header .brand{grid-column:1;grid-row:1;justify-self:start}
  .site-header>.screensaver-trigger{grid-column:2;grid-row:1;justify-self:end}
  .site-header nav{grid-column:1 / -1;grid-row:2;width:100%;margin:0;justify-content:space-between;gap:10px;align-self:stretch}
  .site-header nav .nav-link{padding:10px 0}
  .stats-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0;padding:16px 0}
  .stat{min-width:0;padding:0 14px}
  .stat:nth-child(odd){border-left:0}
  .stat:nth-child(n+3){border-top:1px solid var(--line);padding-top:16px}
  .stat-label{font-size:7px;letter-spacing:.5px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* A full viewport arena, with quiet, touch-sized controls on top. */
.layout-control .control-hint{margin-top:8px}
.install-app{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;width:100%;padding:13px 0 3px;margin-top:12px;border:0;border-top:1px solid var(--line);background:none;color:#526448;font-size:10px;font-weight:550;grid-column:1 / -1}
.install-app>span:first-child{font-size:17px;line-height:1}
.install-app-detail{flex-basis:100%;font-size:8px;font-weight:400;color:#79876f}
.install-app:hover{color:#b74c30}
[hidden].install-app,[hidden].info-overlay,[hidden].word-overlay,[hidden].power-overlay-caption{display:none}
.info-overlay{position:absolute;z-index:11;top:18px;left:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 20px;max-width:calc(100% - 36px);padding:13px 16px;border:1px solid #c8d8c533;border-radius:10px;background:#102329ed;box-shadow:0 6px 28px #08141d33;color:#eff3e6;pointer-events:none;backdrop-filter:blur(10px)}
.overlay-stat{min-width:0;display:flex;flex-direction:column;gap:5px}
.overlay-stat>span{font-size:8px;letter-spacing:.8px;text-transform:uppercase;color:#c0d1bb}
.overlay-stat>strong{font-family:var(--display);font-size:22px;font-weight:500;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.overlay-abilities{grid-column:1 / -1;font-size:9px;line-height:1.7;color:#d0dfc6;max-width:470px}
.overlay-abilities .ability-pill{background:#253d39;color:#edf1df;border-color:#6a8361}
.word-overlay{position:absolute;z-index:12;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;pointer-events:none;padding:30px;color:#fff8e6;background:#10232950;font-family:var(--display);font-size:clamp(26px,6vw,74px);font-weight:600;letter-spacing:.09em;line-height:1.35;white-space:pre-line;overflow-wrap:anywhere;text-shadow:0 2px 12px #06131acc,0 0 40px #06131a99}
.word-overlay.has-message{color:transparent;text-shadow:none}
.stage:has(#word-toggle[aria-pressed=true]) :is(.stage-top,.level-float,.stage-bottom,.screensaver-tools,.info-overlay,.power-overlay-caption,.stage-notice,.paused-overlay){opacity:0;pointer-events:none}
.screensaver-tools{display:flex;position:absolute;z-index:21;left:50%;bottom:max(17px,env(safe-area-inset-bottom));transform:translateX(-50%);align-items:center;gap:4px;padding:5px;background:#142a30eb;border:1px solid #bfd2bc40;border-radius:12px;box-shadow:0 5px 30px #08151b55;backdrop-filter:blur(12px);max-width:calc(100% - 20px);opacity:0;pointer-events:none;transition:opacity .25s}
.screensaver-tools button{min-height:43px;border:1px solid transparent;border-radius:8px;background:transparent;color:#e5ecdb;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;white-space:nowrap}
.screensaver-tools button>span{font-size:16px;line-height:1}
.screensaver-tools button:hover{background:#30493f}
.screensaver-tools button[aria-pressed=true]{background:#405b46;border-color:#99b486;color:#fff9e7}
.screensaver-tools{flex-wrap:wrap;justify-content:center;width:max-content}
#fullscreen-toggle[hidden]{display:none}
#fullscreen-toggle svg{width:16px;height:16px}
.screensaver-tools kbd{color:#beceb4;border-color:#7d95716b;font-size:8px;margin-left:2px}
.power-overlay-caption{position:absolute;z-index:14;left:50%;bottom:86px;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;text-align:center;background:#142a30ed;border:1px solid #bfd2bc40;border-radius:7px;color:#e5ecdb;padding:8px 12px;font-size:10px;line-height:1.6;pointer-events:none}
body.screensaver .stage{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;min-height:0;max-height:none;padding:0;border:0;border-radius:0;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;background:#101d26}
body.screensaver .stage canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain}
body:not(.screensaver) .stage:hover .screensaver-tools,body:not(.screensaver) .stage:focus-within .screensaver-tools,body.screensaver.user-active .screensaver-tools,body.screensaver .screensaver-tools:focus-within{opacity:1;pointer-events:auto}
body:not(.screensaver) .stage:hover .stage-bottom,body:not(.screensaver) .stage:focus-within .stage-bottom{opacity:0;pointer-events:none}
body:not(.screensaver) .stage[data-layout=portrait]{max-width:min(100%,calc(75vh * var(--world-ratio,.633333)));max-width:min(100%,calc(75dvh * var(--world-ratio,.633333)));margin-inline:auto}
body.screensaver .info-overlay{top:max(76px,calc(env(safe-area-inset-top) + 66px));left:max(18px,env(safe-area-inset-left))}
body.screensaver .stage-top,body.screensaver .level-float,body.screensaver .stage-bottom{display:none}
body.screensaver #exit-screensaver{top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));min-height:44px;pointer-events:none}
body.screensaver.user-active #exit-screensaver,body.screensaver #exit-screensaver:focus-visible{opacity:1;pointer-events:auto}
body.screensaver:focus-within{cursor:auto}
.install-dialog{max-width:590px}
.install-dialog .dialog-close{font-size:24px;line-height:1;width:31px;height:31px;align-items:center;justify-content:center;color:#506447}
.install-dialog .dialog-lead{color:#617256}
.install-steps{display:grid;gap:16px;margin:24px 0;padding-left:22px;color:#8c9a7e;font-size:11px}
.install-steps li{padding-left:5px}
.install-steps strong{display:block;color:#42573b;font-size:12px;font-weight:600;margin-bottom:5px}
.install-steps span{display:block;color:#64765a;font-size:11px;line-height:1.8}
.install-note{font-size:10px;line-height:1.85;color:#6c7d60;border-top:1px solid var(--line);padding-top:16px}
.install-status{font-size:11px;line-height:1.7;color:#a5442c;margin-bottom:0}
.install-status:empty{display:none}
.offline-status{font-size:10px;line-height:1.8;color:#64765a;padding:11px 13px;background:#edf1e5;border:1px solid #dce5cf;border-radius:7px;margin:16px 0 0}
.offline-status[data-state=ready]{color:#3e643f;background:#e8f0df;border-color:#c9dab9}
.offline-status[data-state=unavailable]{color:#805f43;background:#f4ece1;border-color:#e6d7c0}
/* Inspect the paused scene without putting a translucent lens over its markers. */
.stage:has(#power-toggle[aria-pressed=true]) .paused-overlay,.stage:has(#info-toggle[aria-pressed=true]) .paused-overlay,.stage:has(#word-toggle[aria-pressed=true]) .paused-overlay{inset:auto 14px auto auto;top:14px;z-index:20;width:auto;max-width:calc(100% - 28px);min-height:44px;flex-direction:row;gap:7px;padding:7px 11px;border:1px solid #a5bba570;border-radius:8px;background:#17302deb;backdrop-filter:none;box-shadow:0 3px 15px #091a1b40}
.stage:has(#power-toggle[aria-pressed=true]) .paused-overlay svg,.stage:has(#info-toggle[aria-pressed=true]) .paused-overlay svg,.stage:has(#word-toggle[aria-pressed=true]) .paused-overlay svg{width:27px;height:27px;padding:7px}
.stage:has(#power-toggle[aria-pressed=true]) .paused-overlay span,.stage:has(#info-toggle[aria-pressed=true]) .paused-overlay span,.stage:has(#word-toggle[aria-pressed=true]) .paused-overlay span{font-size:0}
.stage:has(#power-toggle[aria-pressed=true]) .paused-overlay span:after,.stage:has(#info-toggle[aria-pressed=true]) .paused-overlay span:after,.stage:has(#word-toggle[aria-pressed=true]) .paused-overlay span:after{content:'Resume';font:500 11px var(--font)}
.stage:has(#power-toggle[aria-pressed=true]) .paused-overlay small,.stage:has(#info-toggle[aria-pressed=true]) .paused-overlay small,.stage:has(#word-toggle[aria-pressed=true]) .paused-overlay small{display:none}
body.screensaver .stage:has(#power-toggle[aria-pressed=true]) .paused-overlay,body.screensaver .stage:has(#info-toggle[aria-pressed=true]) .paused-overlay,body.screensaver .stage:has(#word-toggle[aria-pressed=true]) .paused-overlay{top:max(72px,calc(env(safe-area-inset-top) + 62px));right:max(14px,env(safe-area-inset-right))}
.config-foot-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.screensaver-help{border-top:1px solid var(--line);padding:18px 0 24px}
.screensaver-help h3{font-family:var(--display);font-weight:500;font-size:21px;letter-spacing:-.4px;margin:0 0 9px}
.screensaver-help p{font-size:11px;color:#5e7055;line-height:1.85;margin:0}
.screensaver-help kbd{font-size:10px;color:#526448;margin:0 2px}
@media(hover:none){body:not(.screensaver) .screensaver-tools{opacity:1;pointer-events:auto}body:not(.screensaver) .stage-bottom{display:none}}
#return-screensaver{width:100%;min-height:44px;justify-content:center;gap:8px;padding:10px 8px;margin:-10px 0 3px;font-size:11px;line-height:1.4;white-space:normal}
#return-screensaver>span{display:inline}
#return-screensaver svg{width:16px;height:16px}
.number-wrap{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;background:#f9f9f6;border:1px solid #e5e8df;border-radius:7px}
.number-wrap input{width:100%;min-width:0;min-height:42px;border:0;background:transparent;color:#45583f;font-size:12px;font-variant-numeric:tabular-nums;padding:8px 0}
.number-wrap>span{font-size:9px;color:#798a6d}
.power-interval-control .control-hint{margin-top:8px;color:#79896e}
.power-timer-status{font-size:9px;line-height:1.6;font-variant-numeric:tabular-nums;color:#526b46;margin:8px 0 0}
.power-timer-status[data-limited=true]{color:#a05d38}
.ball-growth-control .control-hint{margin-top:8px;color:#79896e}
@media(max-width:650px){.ball-growth-control{grid-column:1 / -1}}
.app-update-status{grid-column:1 / -1;font-size:9px;line-height:1.7;color:#647759;background:#f1f5e9;border:1px solid #dfe7d3;border-radius:7px;padding:9px 11px;margin:14px 0 0;overflow-wrap:anywhere}
.app-update-status:empty{display:none}
.app-update-status[data-state=updating]{color:#8d5734;background:#f7eee2;border-color:#ead8c1}
.info-overlay{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(min-width:1500px){#return-screensaver{font-size:12px}.power-timer-status,.app-update-status{font-size:10px}}
@media(max-width:650px){#return-screensaver{grid-column:1 / -1;margin:16px 0 0;font-size:12px}.power-interval-control{grid-column:1 / -1}.power-interval-control label{margin-bottom:10px}.power-interval-control .number-wrap{max-width:100%}.power-timer-status,.app-update-status{font-size:10px}.info-overlay{grid-template-columns:repeat(3,minmax(0,1fr))}.info-overlay .overlay-stat{min-width:45px}}
@media(max-width:650px){.layout-control{grid-column:1 / -1}.layout-control .select-wrap{margin-top:0}.install-app{padding-top:15px;margin-top:16px}.info-overlay{gap:11px 15px;padding:12px;left:12px;top:12px;max-width:calc(100% - 24px)}.overlay-stat>strong{font-size:21px}.overlay-stat>span{font-size:7px}.overlay-abilities{font-size:8px}.screensaver-tools{bottom:max(12px,env(safe-area-inset-bottom));gap:2px;padding:4px;max-width:calc(100% - 20px)}.screensaver-tools button{min-height:44px;padding:8px 13px;font-size:11px;gap:6px}.screensaver-tools kbd{display:none}.power-overlay-caption{font-size:9px;bottom:80px}.word-overlay{font-size:clamp(26px,8vw,48px);padding:20px}.config-foot-actions{width:100%;justify-content:center}.config-foot-actions .config-button{white-space:normal}.screensaver-help h3{font-size:19px}.screensaver-help p{font-size:10px}body.screensaver .info-overlay{left:max(12px,env(safe-area-inset-left));max-width:calc(100% - 24px)}body.screensaver #exit-screensaver{right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}}
@media(max-width:420px){.screensaver-tools:has(#fullscreen-toggle:not([hidden])){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:280px}.stage:has(#fullscreen-toggle:not([hidden])) .power-overlay-caption{bottom:132px}}
/* Video exports use a separate portrait canvas; these controls stay on the dashboard. */
.next-image-control{margin-top:20px;align-items:flex-start}
.next-image-control>span:first-child{min-width:0;flex:1}
.next-image-control small{white-space:normal;line-height:1.65;max-width:190px}
.phrase-hold-control .control-hint{margin-top:8px;color:#79896e}
.recording-card{margin-top:16px}
.recording-card .section-heading{gap:12px;align-items:flex-start}
.recording-card .section-heading h2{min-width:0;line-height:1.3}
.recording-icon{font-size:15px;line-height:1.6;color:#d86b50}
.recording-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.recording-card .control-group{min-width:0;margin-top:17px}
.recording-card .select-wrap{min-height:44px}
.recording-card .select-wrap select{padding-left:10px;font-size:10px}
.recording-help{font-size:9px;line-height:1.8;color:#6b7b5e;margin:16px 0}
.recording-actions{display:flex;flex-wrap:wrap;gap:9px}
.recording-actions .button{width:100%;min-height:44px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;text-decoration:none;line-height:1.5;text-align:center;white-space:normal}
.recording-actions .button[hidden],.recording-preview[hidden]{display:none}
.recording-actions .button:disabled{opacity:.5;cursor:wait}
.recording-status{font-size:9px;line-height:1.8;color:#65765a;margin:13px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.recording-status[data-state=recording],.recording-status[data-state=stopping]{color:#b95339}
.recording-status[data-state=error],.recording-status[data-state=unsupported]{color:#a44834}
.recording-preview{margin-top:15px;border-top:1px solid var(--line);padding-top:13px}
.recording-preview summary{font-size:10px;color:#526448;cursor:pointer;min-height:32px;line-height:1.7}
.recording-preview video{display:block;width:100%;max-height:380px;aspect-ratio:9/16;object-fit:contain;border-radius:8px;background:#10212b;margin-top:10px}
@media(min-width:1500px){.recording-card .select-wrap select{font-size:11px}.recording-help,.recording-status{font-size:10px}}
@media(max-width:650px){.next-image-control,.phrase-exit-control,.phrase-hold-control{grid-column:1 / -1}.next-image-control small{max-width:none}.recording-card{display:block}.recording-card .section-heading{display:flex}.recording-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recording-card .section-description{margin-top:8px}.recording-help,.recording-status{font-size:10px}.recording-actions .button{width:auto;flex:1 1 160px}.recording-card .select-wrap select{font-size:10px}.recording-preview video{max-height:480px}}
@media(max-width:360px){.recording-selects{grid-template-columns:minmax(0,1fr);gap:0}}

/* Keep recording beside the animation with room for a usable portrait preview. */
.simulation .recording-card{padding:22px;margin-top:20px}
.simulation .recording-selects{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.simulation .recording-actions .button{width:auto;flex:1 1 150px}
.simulation .recording-help,.simulation .recording-status{font-size:11px;line-height:1.7}
.simulation .recording-preview video{max-width:320px;max-height:568px;margin:12px auto 0}
body.screensaver .recording-card{display:none}
@media(max-width:650px){.simulation .recording-card{padding:20px}.simulation .recording-selects{gap:12px}}
@media(max-width:360px){.simulation .recording-selects{grid-template-columns:minmax(0,1fr);gap:0}}
.image-library-link{display:inline-block;font-size:10px;line-height:1.7;margin-top:7px;color:#526448;text-underline-offset:3px}
.gallery-foot a{color:#526448;text-underline-offset:3px}
@media(max-width:650px){.image-source-control{grid-column:1 / -1}.image-library-link{font-size:11px}}
body.screensaver .stage-notice,body.screensaver .toast,:fullscreen .stage-notice,:fullscreen .toast{display:none}
@media(max-width:650px){.site-header{height:98px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 1fr;column-gap:12px;row-gap:0;padding:6px 5% 0}.site-header .brand{grid-column:1;grid-row:1;justify-self:start}.site-header>.screensaver-trigger{grid-column:2;grid-row:1;justify-self:end}.site-header nav{grid-column:1 / -1;grid-row:2;width:100%;min-width:0;margin:0;justify-content:space-between;gap:10px;align-self:stretch}.site-header nav .nav-link{padding:10px 0}}
