/* Scoped to the introduction; Bloom's underlying layout stays untouched. */
.bi-shell{position:fixed;inset:0;z-index:2147483000;background:#161620;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans CJK JP",sans-serif;isolation:isolate;overflow:auto;overscroll-behavior:contain;-webkit-font-smoothing:antialiased}
.bi-shell *,.bi-shell *::before,.bi-shell *::after{box-sizing:border-box}
.bi-shell [hidden]{display:none!important}
.bi-shell button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bi-shell button:disabled{cursor:default;opacity:.55}
.bi-shell button:focus-visible{outline:3px solid #f5709c;outline-offset:5px}
.bi-shell svg{width:20px;height:20px;flex:none;display:block}
.bi-shell .bi-logo{width:100%;height:100%;object-fit:contain;display:block}
.bi-stage{position:relative;width:100%;min-height:100svh;height:100dvh;isolation:isolate;overflow:hidden}
.bi-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.bi-topline{position:absolute;z-index:3;inset:max(25px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) auto max(36px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:center;gap:20px;pointer-events:none}
.bi-top-brand{display:flex;align-items:center;gap:10px;font-size:19px;letter-spacing:-.6px}
.bi-top-brand .bi-logo{width:25px;height:25px}
.bi-top-brand b{font-weight:600}
.bi-intro-label{font-size:9px;letter-spacing:2.1px;color:rgba(255,255,255,.68);display:flex;align-items:center;gap:18px}
.bi-intro-label span{font-size:11px;letter-spacing:0;color:rgba(255,255,255,.8)}
.bi-loading{display:none;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:#161620;font-size:38px;font-weight:600}
.bi-loading .bi-logo{width:108px;height:108px}
.bi-is-loading .bi-loading{display:flex}
.bi-bottom{position:absolute;bottom:max(26px,env(safe-area-inset-bottom));left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right));z-index:5;display:flex;gap:20px;align-items:center;justify-content:space-between}
.bi-controls{display:flex;gap:7px;align-items:center}
.bi-control{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;color:#fff;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);border-radius:24px;font-size:12px!important;line-height:1.2;white-space:nowrap;transition:background 160ms}
.bi-control:hover{background:rgba(255,255,255,.15)}
.bi-control svg{width:18px;height:18px}
.bi-pause{width:44px;padding:0}
.bi-example-note{font-size:10px;color:rgba(255,255,255,.65);letter-spacing:.02em;text-align:center}
.bi-progress{position:absolute;bottom:0;left:0;width:100%;height:3px;background:rgba(255,255,255,.08)}
.bi-progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#f5709c,#76d6ae)}
.bi-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bi-welcome{position:relative;z-index:2;min-height:100svh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:60px;max-width:1180px;margin:auto;padding:108px 68px 110px;color:#161620;animation:bi-arrive 620ms cubic-bezier(.2,.7,.2,1) both}
.bi-welcome-inner{position:relative;z-index:2}
.bi-welcome-brand{display:flex;align-items:center;gap:13px;font-size:28px;font-weight:600;letter-spacing:-1px;margin-bottom:33px}
.bi-welcome-brand .bi-logo{width:48px;height:48px}
.bi-eyebrow{font-size:10px;letter-spacing:2.2px;color:#a8365c;font-weight:600;margin:0 0 15px}
.bi-welcome h1{font-size:clamp(32px,3.5vw,48px);font-weight:600;letter-spacing:-1.9px;line-height:1.45;margin:0 0 22px;outline:none}
.bi-lead{font-size:14px;line-height:1.95;color:#6f6f7b;margin:0 0 26px}
.bi-features{display:flex;list-style:none;padding:0;margin:0 0 34px;gap:22px}
.bi-features li{display:flex;gap:9px;align-items:flex-start;min-width:0}
.bi-features svg{width:18px;height:18px;color:#1b7a53;margin-top:2px}
.bi-features span{font-size:10px;line-height:1.8;color:#6f6f7b;white-space:nowrap}
.bi-features strong{display:block;font-size:13px;color:#161620;font-weight:600;margin-bottom:2px}
.bi-primary{display:inline-flex;justify-content:center;align-items:center;gap:38px;min-height:50px;border:1px solid #c7406d;background:#c7406d;color:#fff;border-radius:13px;padding:14px 22px;font-size:14px;font-weight:600;box-shadow:0 6px 20px rgba(199,64,109,.12);transition:background 160ms}
.bi-primary:hover{background:#b23962;border-color:#b23962}
.bi-replay{display:flex;align-items:center;gap:7px;margin-top:18px;padding:7px 0;min-height:36px;border:0;background:transparent;color:#6f6f7b;font-size:11px}
.bi-replay svg{width:15px;height:15px}
.bi-replay:hover{color:#a8365c}
.bi-welcome-art{position:relative;min-height:410px;display:flex;align-items:center;justify-content:center}
.bi-art-orbit{position:absolute;inset:-20px -40px;border-radius:50%;background:radial-gradient(ellipse at 25% 35%,rgba(245,112,156,.19),transparent 62%),radial-gradient(ellipse at 75% 70%,rgba(118,214,174,.24),transparent 62%)}
.bi-art-logo{position:relative;width:250px;height:250px;filter:drop-shadow(0 22px 30px rgba(0,0,0,.055));transform:rotate(-5deg)}
.bi-art-label{position:absolute;bottom:8px;font-size:9px;letter-spacing:3px;color:#6f6f7b}
.bi-is-welcome{background:#f8f8fa}
.bi-is-welcome .bi-stage{height:auto;min-height:100dvh}
.bi-is-welcome .bi-topline{color:#161620}
.bi-is-welcome .bi-top-brand{visibility:hidden}
.bi-is-welcome .bi-intro-label{color:#6f6f7b}
.bi-is-welcome .bi-intro-label span{color:#6f6f7b}
.bi-is-welcome .bi-canvas{opacity:.2}
.bi-is-welcome .bi-control{color:#3a3a45;background:rgba(255,255,255,.75);border-color:#e8e8ec}
.bi-is-welcome .bi-control:hover{background:#fff}
.bi-is-welcome .bi-example-note{display:none}
.bi-is-welcome .bi-bottom{justify-content:space-between}
.bi-is-welcome .bi-skip{margin-left:auto}
.bi-is-welcome .bi-progress{background:#e8e8ec}
@keyframes bi-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.bi-welcome{gap:28px;padding-inline:40px;grid-template-columns:minmax(0,1fr) minmax(0,.6fr)}.bi-art-logo{width:190px;height:190px}.bi-features{gap:16px}.bi-features li{display:block}.bi-features svg{margin-bottom:7px}.bi-welcome-art{min-height:350px}}
@media(max-width:650px){.bi-topline{inset:max(21px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) auto max(20px,env(safe-area-inset-left))}.bi-top-brand{font-size:17px}.bi-intro-label{font-size:8px;letter-spacing:1.2px;gap:10px}.bi-bottom{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));gap:8px}.bi-control{padding-inline:12px}.bi-pause{padding:0}.bi-example-note{display:none}.bi-welcome{display:block;padding:92px 28px 102px;max-width:440px}.bi-welcome-brand{margin-bottom:24px;font-size:25px}.bi-welcome-brand .bi-logo{width:43px;height:43px}.bi-welcome h1{font-size:33px;letter-spacing:-1px;margin-bottom:18px}.bi-eyebrow{font-size:9px}.bi-lead{font-size:13px;margin-bottom:24px}.bi-features{justify-content:space-between;gap:9px;margin-bottom:28px}.bi-features span{font-size:9px}.bi-features strong{font-size:12px}.bi-primary{width:100%;gap:22px;justify-content:space-between}.bi-replay{margin:14px auto 0}.bi-welcome-art{display:none}.bi-is-welcome .bi-top-brand{visibility:hidden}}
@media(max-width:360px){.bi-welcome{padding-inline:23px}.bi-welcome h1{font-size:30px}.bi-features{gap:6px}.bi-features span{font-size:8.5px}.bi-features strong{font-size:11.5px}.bi-topline{gap:8px}.bi-intro-label{letter-spacing:.7px}}
@media(max-height:620px) and (min-width:651px){.bi-welcome{padding-top:75px;padding-bottom:90px}.bi-welcome-brand{margin-bottom:16px}.bi-welcome h1{font-size:33px;margin-bottom:12px}.bi-lead{margin-bottom:16px}.bi-features{margin-bottom:20px}.bi-welcome-art{min-height:300px}.bi-art-logo{width:200px;height:200px}}
@media(prefers-reduced-motion:reduce){.bi-welcome{animation:none}.bi-shell button{transition:none}}
