/* A body-level control stays clear of WebGL, video, and 3-D stacking contexts. */
button.experience-control{position:fixed;z-index:120;top:calc(var(--site-bar,72px) + 20px);right:clamp(28px,4vw,72px);bottom:auto;left:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;width:210px;height:52px;min-width:210px;min-height:52px;margin:0;padding:12px;border:1px solid #17171935;border-radius:999px;background:#ffffffd9;color:#48484f;box-shadow:none;transform:none;opacity:1;visibility:visible;font-size:0;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button.experience-control[hidden]{display:none!important}button.experience-control>*{display:none!important}
button.experience-control::before{content:"";display:block;flex:none;width:17px;height:18px;background:currentColor;clip-path:polygon(15% 0,100% 50%,15% 100%)}
button.experience-control::after{content:"Autoplay Experience";white-space:nowrap;text-align:center;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-size:13px;font-weight:450;line-height:1.25;letter-spacing:0}
button.experience-control[aria-pressed="true"]::before{clip-path:polygon(10% 0,40% 0,40% 100%,10% 100%,10% 0,60% 0,90% 0,90% 100%,60% 100%,60% 0)}
button.experience-control[aria-pressed="true"]::after{content:"Pause Experience"}
button.experience-control[aria-busy="true"]::after{content:"Preparing Experience"}
button.experience-control:hover{color:#171719;background:#fffffff2;border-color:#17171960}button.experience-control:focus-visible{outline:2px solid #48484f;outline-offset:5px}
@media(max-width:760px){button.experience-control{top:calc(var(--site-bar,72px) + 16px);right:24px;width:182px;height:44px;min-width:182px;min-height:44px;padding:9px;gap:8px}button.experience-control::before{width:14px;height:15px}button.experience-control::after{font-size:12px}}
/* Short landscape viewports need their height back from the full desktop header. */
@media(orientation:landscape) and (max-height:560px) and (max-width:1100px){
 :root{--site-bar:78px;--bar:var(--site-bar);--site-nav-size:14px}
 .site-header{height:78px;grid-template-rows:36px 32px;gap:0;padding:4px 20px}.site-header .site-brand{font-size:22px;line-height:1.1}.site-header .site-nav{height:32px;gap:22px;flex-wrap:nowrap;width:auto;max-width:none}.site-header .site-nav>.site-link,.site-header .products-link{min-height:32px;padding-top:0;padding-bottom:0}
 button.experience-control{top:calc(var(--site-bar) + 12px);right:28px;width:174px;height:42px;min-width:174px;min-height:42px;gap:7px;padding:8px}button.experience-control::before{width:12px;height:13px}button.experience-control::after{font-size:11px}
 body.has-site-header .stage{height:calc(100svh - var(--site-bar));min-height:0;padding-bottom:0}
 body.has-site-header .demo-navigation{position:absolute;top:64px;bottom:16px;left:22px;right:auto;transform:none;width:155px;min-height:0;max-height:none;padding:0;display:flex;flex-direction:column;align-items:stretch;gap:3px;overflow:auto;background:#fff;white-space:normal;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
 body.has-site-header .demo-navigation a{min-height:30px;font-size:13px;line-height:1.3;padding:6px 0}body.has-site-header .demo-navigation a[aria-current]{font-size:15px}
 body.has-site-header .stage-title{top:8px;left:185px;right:120px;font-size:clamp(23px,3.5vw,34px);line-height:1.05}
 body.has-site-header .stage-dek{top:46px;left:185px;right:120px;max-width:none;font-size:12px;line-height:1.35}
 body.has-site-header .media{left:180px;right:22px;top:82px;bottom:7px}body.has-site-header .kinderbox-brand{font-size:clamp(28px,5vw,48px)}
 body.has-site-header .story-stage{height:100svh;min-height:0}
 body.has-site-header .stage-copy-intro,body.has-site-header .stage-copy-reveal{left:24px;top:calc(var(--site-bar) + 76px);width:34vw;max-width:360px}
 body.has-site-header .stage-copy h1,body.has-site-header .stage-copy h2{font-size:clamp(27px,4.5vw,44px);line-height:.96;margin-bottom:14px}
 body.has-site-header .stage-copy .dek{font-size:12px;line-height:1.35;width:100%}
 body.has-site-header .app-stage{min-height:0;display:grid;grid-template-columns:1.1fr 1fr;gap:20px;padding:18px 160px 18px 32px}
 .app-stage .step-copy{min-height:0;max-width:380px}.app-stage .step-copy h3{font-size:clamp(24px,3.5vw,36px)}.app-stage .step-copy p{font-size:13px;line-height:1.35;margin-top:14px}
 .app-stage .screen-column{gap:3px}.app-stage .screen-view{width:calc((100svh - var(--site-bar) - 92px)*.46);max-width:150px;padding:4px;border-radius:20px}.app-stage .screen-view img{inset:4px;width:calc(100% - 8px);height:calc(100% - 8px)}
 .app-stage .screen-controls{max-width:280px;gap:0}.app-stage .screen-controls button{min-height:28px;font-size:10px;padding:4px 6px}.app-stage .walkthrough-controls{height:23px;gap:4px}.app-stage .walkthrough-controls button{font-size:10px;padding:3px 5px}
}
@media(orientation:landscape) and (max-height:560px) and (max-width:1100px){
 .product-story{--box-w:min(44vw,calc((100svh - var(--site-bar) - 40px)*1.2));--box-d:calc(var(--box-w)*.625);--box-t:calc(var(--box-w)*.125);--outer-t:calc(var(--box-w)*.140625);--board:calc(var(--box-w)*.006)}
 body.has-site-header .product-story .model-viewport{left:36vw;right:0;top:calc(var(--site-bar) + 30px);bottom:0;align-items:center;padding-bottom:0}
}

/* The control follows the logo's docking progress without a second animation clock. */
button.experience-control{
 --experience-expanded-height:52px;--experience-expanded-width:210px;--experience-expanded-font:13px;--experience-expanded-icon:18px;--experience-top-gap:20px;
 --experience-dock:0;--experience-logo-height:30px;
 --experience-small-font:clamp(9px,calc(var(--experience-logo-height)*.34),12px);
 --experience-small-width:calc(118px + max(0px,calc(var(--experience-logo-height) - 16px))*2);
 --experience-small-icon:clamp(7px,calc(var(--experience-logo-height)*.4),14px);
 --experience-height:calc(var(--experience-expanded-height) + (var(--experience-logo-height) - var(--experience-expanded-height))*var(--experience-dock));
 --experience-width:calc(var(--experience-expanded-width) + (var(--experience-small-width) - var(--experience-expanded-width))*var(--experience-dock));
 height:var(--experience-height);min-height:var(--experience-height);width:var(--experience-width);min-width:var(--experience-width);
 top:calc(var(--site-bar,72px) + var(--experience-top-gap) + (20px - var(--experience-top-gap))*var(--experience-dock));
 padding:0 calc(12px - 6px*var(--experience-dock));gap:calc(9px - 5px*var(--experience-dock));
}
button.experience-control::after{font-size:calc(var(--experience-expanded-font) + (var(--experience-small-font) - var(--experience-expanded-font))*var(--experience-dock))}
button.experience-control::before{height:calc(var(--experience-expanded-icon) + (var(--experience-small-icon) - var(--experience-expanded-icon))*var(--experience-dock));width:calc((var(--experience-expanded-icon) + (var(--experience-small-icon) - var(--experience-expanded-icon))*var(--experience-dock))*.94)}
button.experience-control>.experience-hit-area{display:block!important;position:absolute;left:-6px;right:-6px;top:50%;height:100%;min-height:44px;transform:translateY(-50%);background:transparent}
button[data-app-experience][aria-pressed="true"]{--experience-dock:1;--experience-logo-height:30px}
button[data-app-experience]{transition:width .35s ease,height .35s ease,min-width .35s ease,min-height .35s ease,gap .35s ease,padding .35s ease}
button[data-app-experience]::after{transition:font-size .35s ease}
@media(max-width:760px){button.experience-control{--experience-expanded-height:44px;--experience-expanded-width:182px;--experience-expanded-font:12px;--experience-expanded-icon:15px;--experience-top-gap:16px}}
@media(orientation:landscape) and (max-height:560px) and (max-width:1100px){button.experience-control{--experience-expanded-height:42px;--experience-expanded-width:174px;--experience-expanded-font:11px;--experience-expanded-icon:13px;--experience-top-gap:12px}}
@media(prefers-reduced-motion:reduce){button[data-app-experience],button[data-app-experience]::after{transition:none}}

button.experience-control.experience-offstage{display:none!important}
