/* Workbench chrome only. The native editor owns the slide and all editing tools. */
.master-progress{--studio-ink:#263445;--studio-muted:#54657b;--studio-line:#dce3ec;--studio-accent:#1783ff;width:calc(100vw - 36px);height:calc(100dvh - 36px);max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #fff;border-radius:18px;background:#fff;color:var(--studio-ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;box-sizing:border-box;overflow:hidden;overscroll-behavior:contain;box-shadow:0 16px 60px #1d345722}
.master-progress::backdrop{background:#293a4c66}
.master-progress[open]{display:flex;flex-direction:column;animation:studio-enter .2s ease-out}
.master-progress *{box-sizing:border-box}
.master-progress [hidden]{display:none!important}
.master-progress p,.master-progress h2{margin:0}
.master-progress small{font-size:13px;line-height:1.65;color:var(--studio-muted)}
.master-progress button,.master-progress a,.master-progress summary{font:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer;text-decoration:none}
.master-progress button,.master-progress a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #bdccdd;border-radius:9px;background:#fff;color:#425873;line-height:1.3;white-space:nowrap;transition:background .16s,border-color .16s}
.master-progress button:hover,.master-progress a:hover{background:#f3f7fc;border-color:#cfdef0}
.master-progress :is(button,a,summary,[tabindex]):focus-visible{outline:3px solid #1783ff99;outline-offset:2px}
.master-progress button:disabled,.master-progress a[aria-disabled="true"]{opacity:1;background:#edf1f6;border-color:#cbd5e1;color:#68798e;cursor:default}
.master-progress .master-header{flex:none;display:flex;align-items:center;gap:14px;min-height:66px;padding:10px 22px;border-bottom:1px solid var(--studio-line)}
.master-progress .master-header>.studio-title{flex:1;min-width:0;max-width:none}
.master-eyebrow{display:block;font-size:13px;letter-spacing:.5px;color:var(--studio-muted);margin-bottom:3px}
.master-progress .master-header strong{display:block;max-width:100%;font-size:17px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.5}
.studio-app-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--studio-accent);background:#eef5ff;flex:none}
.studio-app-icon svg{width:22px;height:22px}
.master-state-pill{flex:none;color:#527298;background:#f0f6ff;border-radius:6px;padding:3px 7px;font-size:13px;white-space:nowrap}
.master-progress .master-header>.studio-header-actions{display:flex;align-items:center;gap:8px;flex:none;max-width:none}
.master-progress .studio-header-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;margin:0;font-size:14px;font-weight:600;min-height:40px;padding:0 13px}
.master-progress .studio-header-actions :is([data-save],[data-update]){border:1px solid #1783ff;background:#eaf3ff;color:#1765b8}
.master-progress .studio-header-actions :is([data-save],[data-update]):hover:not(:disabled){background:#dcecff;border-color:#096bd5;color:#095ba9}
.master-progress .studio-header-actions [data-download],.master-progress [data-download-latest]{background:var(--studio-accent);border-color:var(--studio-accent);color:#fff}
.master-progress .studio-header-actions :is(button:disabled,a[aria-disabled="true"]){background:#edf1f6;border-color:#b8c6d8;color:#68798e}
.master-progress .master-header [data-close]{flex:none;min-height:40px;width:40px;padding:0;border:1px solid #dce3ec;border-radius:9px;background:#f4f7fb;font-size:25px;color:#54657b}
.studio-preview-heading{flex:none;min-height:34px;padding:5px 20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-height:5em;overflow:auto;border-bottom:1px solid var(--studio-line);font-size:13px;color:var(--studio-muted)}
.studio-preview-heading>span:first-child{display:flex;align-items:center;gap:7px;white-space:nowrap}
.studio-preview-heading [data-editor-feedback]{margin-left:auto;min-width:0;overflow-wrap:anywhere;color:#456b93}
.master-live-dot{display:inline-block;width:6px;height:6px;flex:none;border-radius:50%;background:var(--studio-accent)}
.master-workspace{position:relative;display:flex;flex:1;min-width:0;min-height:0;overflow:hidden;background:#f4f6fa}
.master-progress .master-workspace>iframe{display:block;flex:1;min-width:0;min-height:0;width:100%;height:100%;border:0;background:#f4f6fa}
.studio-empty{width:100%;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}
.studio-empty>span{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#eaf3ff;color:#5595d8}
.studio-empty svg{width:28px;height:28px}
.studio-empty h2{font-size:18px;font-weight:500}
.master-progress .studio-empty [data-placeholder]{margin:0;padding:0;max-width:520px;color:var(--studio-muted);font-size:14px;overflow-wrap:anywhere}
.studio-wait-receipts{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;max-width:560px;font-size:13px;color:var(--studio-muted);font-variant-numeric:tabular-nums}
.studio-wait-receipts [data-empty-stage]{flex-basis:100%;color:#425873;overflow-wrap:anywhere}
.master-progress .studio-wait-play{gap:14px;min-height:76px;max-width:100%;margin-top:8px;padding:14px 20px;border:1px solid #a5c7ed;border-radius:16px;background:#edf5ff;color:#23578e;text-align:left;box-shadow:0 5px 18px #3167a309}
.master-progress .studio-wait-play:hover{background:#e2efff;border-color:#72a6df}
.studio-wait-play>svg{width:30px;height:30px;flex:none;color:#1765b8}
.studio-wait-play>span{font-size:17px;font-weight:600;white-space:normal}
.studio-wait-play small{display:block;margin-top:3px;font-size:12px;font-weight:400;color:#45688d}
.studio-wait-play>b{font-size:19px;font-weight:400;color:#557fa9}
.master-progress .master-status{position:relative;display:grid;grid-template-columns:98px minmax(0,1fr) auto;align-items:center;gap:12px;flex:none;min-height:88px;min-width:0;padding:10px 22px;border-top:1px solid var(--studio-line);background:#fff;z-index:2}
.master-progress .studio-play{position:relative;display:block;min-height:0;width:98px;height:64px;padding:0;border:0;border-radius:12px;background:transparent;touch-action:manipulation;overflow:hidden;contain:paint}
.master-progress .studio-play::before{content:"";position:absolute;inset:auto 3px 2px;height:10px;border:1px solid #cbdceb;border-radius:50%;background:repeating-linear-gradient(90deg,transparent 0 8px,#9cb8d3 8px 10px,transparent 10px 18px);transform:skewX(-14deg);opacity:.65}
.master-progress .studio-play::after{content:"✦";position:absolute;left:9%;top:25%;font-size:12px;color:#c09a50;opacity:0;pointer-events:none}
.studio-rider{position:absolute;top:0;left:50%;width:48px;height:60px;transform:translateX(-50%);pointer-events:none}
.studio-play svg{display:block;width:100%;height:100%;margin:0}
.master-progress[data-busy="true"] .studio-rider{animation:studio-ride 11s ease-in-out infinite}
.master-progress[data-busy="true"] .studio-play::before{animation:studio-track 1.1s linear infinite}
.master-progress[data-busy="true"] .studio-play::after{animation:studio-track-spark 7.3s ease-out infinite}
.master-progress[data-busy="false"] .studio-rider *{animation-play-state:paused}
.master-progress.studio-sleep .studio-play::before,.master-progress.studio-sleep .studio-play::after{animation-play-state:paused}
@keyframes studio-ride{0%{left:0;transform:translateX(0)}100%{left:100%;transform:translateX(-100%)}}
@keyframes studio-track{to{background-position:-18px 0}}
@keyframes studio-track-spark{0%,75%,100%{opacity:0;transform:translate(0,4px) scale(.6)}81%{opacity:.8;transform:translate(-2px,-2px) scale(1)}92%{opacity:0;transform:translate(-6px,-9px) scale(.7)}}
.master-production{min-width:0}
.master-stage-heading{display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:7px}
.master-progress [data-stage]{font-size:14px;line-height:1.6;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.master-progress [data-elapsed]{font-size:13px;color:var(--studio-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.master-progress-track{height:3px;overflow:hidden;border-radius:3px;background:#edf2f9;margin:7px 0}
.master-progress progress{appearance:none;display:block;width:100%;height:3px;border:0;accent-color:var(--studio-accent)}
.master-progress progress::-webkit-progress-bar{background:#edf2f9}
.master-progress progress::-webkit-progress-value{background:var(--studio-accent);border-radius:3px;transition:width .4s ease}
.master-progress progress::-moz-progress-bar{background:var(--studio-accent)}
.studio-dock-meta{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;min-width:0;color:var(--studio-muted);font-size:13px}
.studio-dock-meta>span{white-space:nowrap}
.studio-dock-meta b{font-weight:400}
.studio-dock-meta [data-dock-note]{min-width:0;overflow:hidden;text-overflow:ellipsis}
.master-progress [data-warning]{max-height:52px;overflow:auto;overscroll-behavior:contain;margin-top:5px;padding:5px 8px;background:#fff7e8;color:#8a6029;border-radius:6px;overflow-wrap:anywhere;font-size:13px}
.studio-action-group{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:450px}
.master-progress .studio-action-group>button,.studio-more>summary{min-height:40px;margin:0;padding:0 10px;border:1px solid #bdccdd;border-radius:7px;font-size:14px;color:#425873;background:#fff}
.master-progress .studio-action-group [data-game-launch]{color:#176abe;background:#eef5ff;white-space:nowrap}
.master-progress .studio-action-group [data-resume],.master-progress .studio-action-group [data-export-saved]{border:1px solid #dce9f8;color:#176abe}
.studio-more{position:relative}
.studio-more>summary{display:flex;align-items:center;list-style:none}
.studio-more>summary::-webkit-details-marker{display:none}
.studio-more>summary:hover,.studio-more[open]>summary{background:#f1f6fc}
.studio-more-menu{position:fixed;inset:auto;min-width:0;width:240px;max-width:calc(100vw - 20px);max-height:min(360px,60dvh);margin:0;padding:6px;border:1px solid var(--studio-line);border-radius:12px;background:#fff;box-shadow:0 10px 30px #163c6421;z-index:20;overflow:auto;overscroll-behavior:contain}
.studio-more:not([open])>.studio-more-menu{display:none}
.studio-more-menu:popover-open{display:block}
.master-progress .studio-more-menu button{width:100%;border:0;font-size:13px}
.master-progress[data-mode="paused"] .master-state-pill{background:#fff7e9;color:#8d6930}
.master-progress[data-mode="ready"] .master-state-pill{background:#eef8f2;color:#30795b}
.master-progress[data-mode="ready"] .master-live-dot{background:#20a67a}
.studio-overlay{position:absolute;inset:0;z-index:10;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;min-width:0;min-height:0;overflow:hidden;padding:24px}
.master-progress .studio-panel-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;padding:0;background:#14233d70;cursor:default}
.master-progress .studio-panel-backdrop:hover{background:#14233d70}
.studio-records-window,.studio-download-window{position:relative;display:flex;flex-direction:column;width:min(680px,100%);max-height:100%;min-width:0;min-height:0;border:1px solid #e5eaf2;border-radius:16px;background:white;box-shadow:0 24px 80px #172c4a38;overflow:hidden}
.master-progress .studio-panel-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--studio-line)}
.studio-panel-header h2{font-size:18px;font-weight:600}
.master-progress .studio-panel-header button{width:40px;min-height:40px;padding:0;border:0;font-size:24px}
.studio-records-body,.studio-download-body{flex:1 1 auto;padding:18px 20px;overflow:auto;min-width:0;min-height:0;font-size:16px;line-height:1.7;color:var(--studio-muted);overscroll-behavior:contain;scrollbar-width:thin;overflow-wrap:anywhere}
.master-progress .studio-records-body p{margin:8px 0;font-size:16px;color:#425873}
.studio-records-body [data-queue]:empty{display:none}
.studio-records-body h3{font-size:16px;color:#263445;font-weight:600;margin:16px 0 8px}
.master-progress :is([data-feed],[data-operation-feed]){list-style:none;padding:0 0 0 12px;margin:10px 0 18px 12px;border-left:2px solid var(--studio-line);font-size:16px;color:#425873;line-height:1.8}
.master-progress :is([data-feed],[data-operation-feed]) li{position:relative;padding:6px 0 8px 8px;white-space:normal;overflow-wrap:anywhere}
.master-progress :is([data-feed],[data-operation-feed]) time{display:inline-block;margin-right:10px;color:#62748a;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.master-progress :is([data-feed],[data-operation-feed]) li::before{content:"";position:absolute;left:-17px;top:15px;width:8px;height:8px;border-radius:50%;background:#7896b5;border:2px solid #fff}
.master-progress :is([data-feed],[data-operation-feed]) li[data-phase-start]{padding-top:38px}
.master-progress :is([data-feed],[data-operation-feed]) li[data-phase-start]::before{top:47px}
.master-progress :is([data-feed],[data-operation-feed]) li[data-phase-start]::after{content:attr(data-phase-label);position:absolute;top:5px;left:8px;font-size:16px;font-weight:600;color:#263445;line-height:1.5}
.studio-steps{display:flex;flex-direction:column;gap:0;list-style:none;padding:0;margin:12px 0 18px;color:#54657b;font-size:15px}
.studio-steps li{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0}
.studio-steps li:not(:last-child)::after{content:"";position:absolute;left:12px;top:32px;bottom:-12px;width:2px;background:var(--studio-line)}
.studio-steps li>span{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid var(--studio-line);border-radius:50%;background:#fff}
.studio-steps li>b{font-weight:400}
.studio-steps li[data-state="done"]{color:#357e63}
.studio-steps li[data-state="active"]{color:#176abe}
.studio-steps li[data-state="pending"]>span{color:#856321;background:#fff7df;border-color:#e4cf8f}
.studio-download-body{font-size:14px;color:#54657b}
.studio-download-actions{display:flex;flex:none;flex-wrap:wrap;gap:8px;padding:0 20px 20px}
.master-progress .studio-download-actions button{min-height:40px;font-size:14px}
/* Host sheets may force generic button backgrounds with !important. Keep both
   foreground and surface explicit, including hover and disabled states. */
.master-progress .studio-download-actions [data-download-latest],.master-progress .studio-header-actions [data-download]{background:#1765b8!important;border-color:#1765b8!important;color:#fff!important}
.master-progress .studio-download-actions [data-download-latest]:hover:not(:disabled),.master-progress .studio-header-actions [data-download]:hover:not([aria-disabled="true"]){background:#105397!important;border-color:#105397!important;color:#fff!important}
.master-progress .studio-download-actions [data-download-latest]:disabled,.master-progress .studio-header-actions [data-download][aria-disabled="true"]{background:#e2e8f0!important;border-color:#b8c6d8!important;color:#526176!important;opacity:1!important;cursor:default}
.master-progress .studio-download-actions [data-download-previous]{background:#eef5ff!important;border-color:#8bafd5!important;color:#175a9b!important}
.master-progress .studio-download-actions [data-download-previous]:hover:not(:disabled){background:#dcecff!important}
.master-progress .studio-download-actions [data-download-dismiss]{background:#fff!important;border-color:#bdccdd!important;color:#425873!important}
.master-progress .studio-download-actions [data-download-dismiss]:hover:not(:disabled){background:#f3f7fc!important}
.master-progress .studio-download-actions :is([data-download-previous],[data-download-dismiss]):disabled{background:#edf1f6!important;border-color:#cbd5e1!important;color:#68798e!important;cursor:default}
.studio-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.studio-sheet{transform-box:fill-box;transform-origin:center;animation:studio-paper 5s ease-in-out infinite}
.sheet-two{animation-delay:-2.5s}
.studio-spark,.studio-cloud{animation:studio-twinkle 3s ease-in-out infinite;transform-origin:center}
.studio-pop{opacity:0}
.studio-jump .studio-bot{animation:studio-jump .65s ease-in-out}
.studio-jump .studio-pop{animation:studio-pop .65s ease-out}
.studio-sleep *{animation-play-state:paused!important}
@keyframes studio-paper{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-8px) rotate(1deg)}}
@keyframes studio-twinkle{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes studio-jump{0%,100%{transform:translateY(0)}25%{transform:translateY(3px) scaleY(.94)}55%{transform:translateY(-26px) rotate(5deg)}80%{transform:translateY(-5px) rotate(-3deg)}}
@keyframes studio-pop{15%{opacity:0;transform:translateY(8px)}50%{opacity:1}100%{opacity:0;transform:translateY(-15px)}}
@keyframes studio-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.studio-workspace-game{position:absolute;inset:0;z-index:3;min-width:0;min-height:0;overflow:hidden;background:#f6faff}
.studio-arcade{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:#f6faff;text-align:left}
.studio-game-hud{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border-bottom:1px solid #e5effa;font-size:13px}
.studio-game-brand{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#28547c;white-space:nowrap}.studio-game-brand svg{width:22px;height:22px}
.studio-game-distance{color:#54657b;font-variant-numeric:tabular-nums;margin-left:auto}
.studio-game-power{color:#54657b;white-space:nowrap}.studio-game-power b{font-size:21px;color:#1783ff;font-variant-numeric:tabular-nums;margin-right:3px}
.master-progress .studio-arcade [data-game-close]{width:36px;height:36px;min-height:36px;flex:none;border:0;border-radius:50%;padding:0;background:#f1f6fc;color:#54657b;font-size:20px}
.studio-game-canvas-wrap{position:relative;flex:1 0 130px;min-height:130px;overflow:hidden;background:#f2f8ff}
.studio-arcade canvas{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain;touch-action:manipulation;cursor:pointer;outline-offset:-4px}
.studio-arcade canvas:focus{outline:none}.studio-arcade canvas:focus-visible{outline:2px solid #1783ff;outline-offset:-3px}
.studio-game-controls{display:flex;gap:8px;justify-content:space-between;align-items:center;color:#54657b;font-size:13px;padding:9px 14px;background:#fff}
.studio-game-controls kbd{font:inherit;background:#f1f6fd;border:1px solid #e3edf9;padding:1px 5px;border-radius:4px}.studio-game-controls b{font-weight:500;color:#1783ff;white-space:nowrap}
.studio-game-loot{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;color:#54657b;padding:0 14px 11px;background:#fff}.studio-game-loot span{white-space:nowrap}
.studio-game-over{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f7fbfff0;backdrop-filter:blur(3px);color:#477197;font-size:13px}
.studio-game-over strong{font-size:20px;color:#254c71}.studio-game-over b{color:#1783ff;font-size:13px;font-weight:500}.studio-game-over-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e3efff;color:#1783ff;font-size:25px}
.master-progress .studio-arcade [data-game-again]{font-size:13px;padding:8px 25px;border:0;border-radius:10px;background:#1783ff;color:#fff;margin-top:5px}
.master-progress .studio-game-launch{margin:0;padding:7px 15px;font-size:13px;color:#1783ff;background:#eef6ff;border:1px solid #dcecff;border-radius:20px}
.studio-game-message{display:block;flex:none;padding:2px 14px;min-height:0;font-size:13px;color:#54657b;line-height:1.6}
.studio-game-message:empty{display:none}

.studio-bot{animation:studio-hustle .48s ease-in-out infinite;transform-origin:201px 167px}
.studio-pedal{animation:studio-pedalling .32s ease-in-out infinite;transform-origin:203px 174px}
.studio-arm{animation:studio-crank .48s ease-in-out infinite;transform-origin:201px 152px}
.studio-wave{animation:studio-wave 13s ease-in-out infinite;transform-origin:236px 151px}
.studio-wheel{animation:studio-spin .65s linear infinite}
.wheel-left{transform-origin:161px 188px}.wheel-right{transform-origin:243px 188px}
.studio-steam{animation:studio-boost 8.7s ease-in-out infinite;transform-origin:128px 143px}
.studio-steam circle{animation:studio-steam 1.9s ease-out infinite;opacity:0;transform-origin:125px 145px}
.studio-steam .steam-two{animation-delay:.63s}.studio-steam .steam-three{animation-delay:1.26s}
.studio-sweat{animation:studio-sweat 2.5s ease-out infinite}
.studio-speed-lines{animation:studio-lines .65s ease-in-out infinite}
.studio-stage:hover .studio-bot{animation-duration:.3s}
.studio-stage:hover .studio-pedal{animation-duration:.22s}
@keyframes studio-hustle{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}
@keyframes studio-pedalling{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}
@keyframes studio-crank{0%,100%{transform:translateY(1px)}50%{transform:translateY(-2px)}}
@keyframes studio-wave{0%,76%,96%,100%{transform:rotate(0)}81%,89%{transform:rotate(-48deg)}85%,93%{transform:rotate(-14deg)}}
@keyframes studio-boost{0%,65%,100%{transform:scale(1)}73%,81%{transform:scale(1.22)}77%,87%{transform:scale(1.08)}}
@keyframes studio-spin{to{transform:rotate(360deg)}}
@keyframes studio-steam{0%{opacity:0;transform:translate(0,0) scale(.5)}25%{opacity:.65}100%{opacity:0;transform:translate(-31px,-38px) scale(1.8)}}
@keyframes studio-sweat{0%,45%,100%{opacity:0;transform:translateY(0)}55%{opacity:1}85%{opacity:0;transform:translateY(13px)}}
@keyframes studio-lines{0%,100%{opacity:.3;transform:translateX(0)}50%{opacity:.8;transform:translateX(-6px)}}

/* The manually opened arcade covers only the workspace. Native preview nodes
   stay mounted below it; header actions and real production progress stay live. */

.studio-game-disclaimer{padding:8px 14px 12px;font-size:13px;color:#64748b;background:#fff}
@media(max-width:1000px){
 .master-progress .master-header{gap:8px;padding-left:16px;padding-right:16px}
 .master-progress .master-status{grid-template-columns:76px minmax(0,1fr) auto;padding:10px 16px;gap:10px}
 .master-progress .studio-play{width:76px}
 .studio-rider{width:42px}
 .studio-action-group{max-width:240px}
 .studio-dock-meta [data-dock-note]{display:none}
}
@media(max-width:600px){
 .master-progress{width:100vw;height:100dvh;border:0;border-radius:0}
 .master-progress .master-header{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:5px 8px;padding:8px 12px;min-height:0}
 .studio-app-icon{display:none}
 .master-progress .master-header strong{font-size:16px;max-width:100%}
 .master-eyebrow{font-size:13px;margin-bottom:1px}
 .master-state-pill{font-size:13px}
 .master-progress .master-header [data-close]{width:44px;min-height:44px}
 .master-progress .master-header>.studio-header-actions{grid-column:1/-1;grid-row:2;display:flex;gap:6px;width:100%}
 .master-progress .studio-header-actions :is(button,a){flex:1 1 0;min-width:0;min-height:44px;padding:6px 8px;font-size:14px;white-space:normal;text-align:center}
 .studio-preview-heading{min-height:30px;padding:4px 12px;gap:8px;font-size:13px;flex-wrap:wrap}
 .studio-preview-heading small{font-size:13px}
 .studio-preview-heading [data-preview-status]{display:none}
 .studio-preview-heading [data-editor-feedback]{font-size:13px}
 .studio-empty{padding:16px;gap:9px}
 .studio-empty>span,.master-progress .studio-empty [data-placeholder]{display:none}
 .studio-empty h2{font-size:16px}
 .studio-wait-receipts{gap:3px 10px;font-size:12px}
 .master-progress .studio-wait-play{min-height:66px;margin-top:2px;padding:10px 14px;gap:10px}
 .studio-wait-play>span{font-size:16px}
 .master-progress .master-status{grid-template-columns:52px minmax(0,1fr);gap:4px 8px;min-height:0;padding:8px 12px calc(6px + env(safe-area-inset-bottom,0px))}
 .master-progress .studio-play{width:52px;height:55px}
 .studio-rider{width:36px;height:51px}
 .master-stage-heading{grid-template-columns:6px minmax(0,1fr);gap:2px 6px}
 .master-progress [data-stage]{font-size:14px}
 .master-progress [data-elapsed]{grid-column:2;font-size:13px}
 .master-progress-track{margin:4px 0}
 .studio-dock-meta{font-size:13px;gap:8px}
 .studio-action-group{grid-column:1/-1;max-width:none;justify-content:flex-end;gap:2px}
 .master-progress .studio-action-group>button,.studio-more>summary{min-height:44px;padding:0 8px;font-size:13px}
 .studio-more{position:static}
 .studio-more-menu{max-width:calc(100vw - 20px)}
 .studio-overlay{padding:12px}
 .master-progress .studio-panel-header{padding:12px 14px}
 .master-progress .studio-panel-header button{width:44px;min-height:44px}
 .studio-records-body,.studio-download-body{padding:14px}
 .studio-download-actions{padding:0 14px 14px;flex-direction:column}
 .master-progress .studio-download-actions button{min-height:44px;white-space:normal}
 .studio-game-hud{padding:8px;gap:6px}
 .studio-game-brand{font-size:13px}
 .studio-game-power{font-size:13px}
 .studio-game-power b{font-size:18px}
 .master-progress .studio-arcade [data-game-close]{width:44px;height:44px}
 .studio-game-hud{flex-wrap:wrap;flex:none}
 .studio-game-canvas-wrap{flex-basis:120px;min-height:120px}
 .studio-game-controls{padding:8px;font-size:13px}
 .studio-game-loot{gap:5px 8px;font-size:13px;padding:0 8px 8px}
 .studio-game-over strong{font-size:16px}
 .master-progress .studio-arcade [data-game-again]{min-height:44px}
}
@media(max-height:600px){
 .studio-empty{gap:6px;padding:12px}
 .studio-empty>span,.master-progress .studio-empty [data-placeholder]{display:none}
 .master-progress .studio-wait-play{min-height:54px;padding:8px 14px;margin-top:0}
 .studio-game-loot,.studio-game-message{display:none}
 .studio-game-disclaimer{padding:3px 10px;font-size:12px}
 .studio-game-controls{padding:4px 10px;font-size:12px}
 .studio-game-hud{padding:4px 8px}
}
/* A full-width decorative journey, separate from the measured progress below. */
.master-progress[data-busy="true"] .master-status{grid-template-columns:minmax(0,1fr) auto;gap:3px 12px}
.master-progress[data-busy="true"] .studio-play{grid-column:1/-1;grid-row:1;width:100%;height:48px;border-radius:0}
.master-progress[data-busy="true"] .studio-play::before{height:2px;inset:auto 0 1px;border:0;border-radius:0;transform:none}
.master-progress[data-busy="true"] .studio-rider{width:64px;height:48px;left:0;transform:translateX(0);animation:studio-ride 12s linear infinite}
.master-progress[data-busy="true"] .master-production{grid-column:1;grid-row:2}
.master-progress[data-busy="true"] .studio-action-group{grid-column:2;grid-row:2}
.studio-records-body{font-size:16px}
.studio-records-body small{font-size:14px}
@media(max-width:600px){
 .master-progress[data-busy="true"] .master-status{grid-template-columns:minmax(0,1fr);gap:2px}
 .master-progress[data-busy="true"] .master-production{grid-column:1;grid-row:2}
 .master-progress[data-busy="true"] .studio-action-group{grid-column:1;grid-row:3}
 .master-progress[data-busy="true"] .studio-play{height:36px}
 .master-progress[data-busy="true"] .studio-rider{width:52px;height:36px}
}
@media(prefers-reduced-motion:reduce){.master-progress,.master-progress::backdrop,.master-progress *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v63: clear waits without resizing or reloading the native slide canvas. */
.master-progress .studio-header-actions :is(button,a),.master-progress .studio-action-group>button,.studio-more>summary {font-size:15px}
.studio-wait-receipts [data-empty-stage] {font-size:16px;color:#354b65;max-width:640px;line-height:1.7}
.master-progress .studio-records-body :is(p,[data-record-message]) {font-size:16px;line-height:1.8}
.master-progress .studio-records-body time {font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:600px){.master-progress .studio-header-actions :is(button,a),.master-progress .studio-action-group>button,.studio-more>summary {font-size:14px}.studio-wait-receipts [data-empty-stage] {font-size:15px}}
