#first-launch{position:fixed;inset:0;z-index:7000;overflow:auto;background:#f3f2ef;color:#191b17;font-family:-apple-system,BlinkMacSystemFont,Arial,sans-serif}
#first-launch .launch-surface{position:relative;width:100%;max-width:560px;height:100%;min-height:0;margin:auto;background:#f3f2ef}
#first-launch .launch-intro{position:relative;height:100%;min-height:540px;display:flex;flex-direction:column;padding-bottom:max(8px,env(safe-area-inset-bottom));overflow:hidden;background:#f3f2ef}
#first-launch .launch-brand{position:absolute;z-index:2;top:max(14px,env(safe-area-inset-top));left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:8px 6.4%;font-size:15px;letter-spacing:1px}
#first-launch .launch-brand span{font-size:16px;letter-spacing:0}
#first-launch .launch-art{position:relative;flex:1;min-height:130px;overflow:hidden}
#first-launch .launch-art::after{content:'';position:absolute;inset:0 0 auto;height:calc(env(safe-area-inset-top) + 65px);background:linear-gradient(#f3f2ef 0,#f3f2ef 60%,#f3f2ef00);pointer-events:none}
#first-launch .launch-art img{position:absolute;left:0;top:-18.6%;width:100%;height:232.56%;object-fit:fill}
#first-launch .launch-copy{padding:18px 6.4% 12px;flex:none}
#first-launch .launch-copy h2{font-size:clamp(29px,7.9vw,38px);font-weight:750;letter-spacing:-1.1px;line-height:1.08;margin:0 0 20px}
#first-launch .launch-copy p{font-size:clamp(15px,4.05vw,18px);line-height:1.4;margin:0;color:#44463f}
#first-launch .launch-footer{flex:none;display:flex;flex-direction:column;gap:10px;padding:15px 6.4% 0}
#first-launch .launch-dots{display:flex;gap:12px;margin-bottom:3px}
#first-launch .launch-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#c7c6c3}
#first-launch .launch-dots .active{background:#191b17}
#first-launch .launch-continue{width:100%;height:52px;flex:none;min-height:48px;border:0;border-radius:99px;background:#191b17;color:white;font:700 17px -apple-system,BlinkMacSystemFont,Arial,sans-serif;cursor:pointer}
#first-launch .launch-skip{width:100%;height:38px;min-height:36px;flex:none;border:0;background:transparent;color:#555;font-size:15px;cursor:pointer}
#first-launch iframe{display:block;width:100%;height:100%;border:0;background:#f5f4f1;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
#first-launch .launch-done{box-sizing:border-box;padding:calc(clamp(60px,15vh,130px) + env(safe-area-inset-top)) 27px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;min-height:100%}
#first-launch .launch-done h2{font-size:38px;line-height:1.1;letter-spacing:-1px;margin:25px 0 20px}
#first-launch .launch-done p{font-size:16px;line-height:1.5;color:#62675b}
#first-launch .launch-done button{min-height:54px;border:0;border-radius:99px;background:#1c1f19;color:white;font-size:16px;margin-top:30px;cursor:pointer}
#first-launch .launch-done small{font-size:12px;color:#777;line-height:1.5;margin-top:15px}
#first-launch .launch-check{width:58px;height:58px;border-radius:50%;border:1px solid #999;display:grid;place-items:center;font-size:30px}
#first-launch button:focus-visible{outline:3px solid #7c9580;outline-offset:3px}
html[data-compass-onboarding=active],html[data-compass-onboarding=active] body{overflow:hidden;background:#f3f2ef!important}
#sheet h2:focus{outline:none}
@media(max-height:700px){#first-launch .launch-copy{padding-top:12px;padding-bottom:6px}#first-launch .launch-copy h2{font-size:29px;margin-bottom:12px}#first-launch .launch-copy p{font-size:15px}#first-launch .launch-footer{gap:5px;padding-top:8px}}
.profile-replays{display:grid;gap:10px;margin:18px 0 4px}
.profile-replays button{width:100%;min-height:44px;text-align:left;padding:12px 14px;border-radius:14px;white-space:normal}
#settings-profile{display:flex;justify-content:space-between;width:100%}
#settings-profile>span:last-child{color:var(--muted)}
#settings-profile:focus:not(:focus-visible),dialog h2:focus:not(:focus-visible){outline:none}
#sheet .sheet-handle{position:relative;width:100%;height:28px;margin:-4px auto 4px;background:none;flex-shrink:0;cursor:grab}
#sheet .sheet-handle::after{content:'';display:block;position:absolute;width:42px;height:5px;border-radius:99px;background:#a6a6b080;left:calc(50% - 21px);top:11px}

/* Page one: keep both ends of the ribbon outside the canvas; hide only baked-in labels. */
#first-launch .launch-intro[data-slide="1"] .launch-art::after{display:none}
#first-launch .launch-intro[data-slide="1"] .launch-art img{top:0;width:112%;height:192.3%;clip-path:polygon(0 8%,37% 8%,37% 0,85% 0,85% 8%,100% 8%,100% 100%,0 100%)}
#first-launch .launch-intro[data-slide="1"] .launch-brand{color:white;mix-blend-mode:difference}
