/* BasketBoss v17.3 first-visit animated welcome — isolated from existing app styles */
#bb173WelcomeSplash,#bb173WelcomeSplash *{box-sizing:border-box}
#bb173WelcomeSplash{--bbws-ink:#173b32;--bbws-forest:#216847;--bbws-gold:#efbb43;--bbws-ease:cubic-bezier(.2,.85,.28,1);position:fixed;inset:0;z-index:2147483590;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse 65% 55% at 12% 7%,#e8f5e8 0%,transparent 75%),radial-gradient(ellipse 50% 35% at 98% 93%,#faebc6 0%,transparent 84%),#fbf8ef;color:var(--bbws-ink);font-family:'Avenir Next',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;isolation:isolate}
#bb173WelcomeSplash[hidden],#bb173WelcomeSplash [hidden]{display:none!important}
#bb173WelcomeSplash button{font:inherit;cursor:pointer}
#bb173WelcomeSplash button:focus-visible{outline:3px solid #e2ae32;outline-offset:4px}
#bb173WelcomeSplash .bbws-scene{position:relative;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:65px 16px 38px}
#bb173WelcomeSplash .bbws-scene:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:radial-gradient(#96b29d .7px,transparent .7px);background-size:22px 22px}
#bb173WelcomeSplash .bbws-skip{position:absolute;z-index:3;right:clamp(15px,4vw,36px);top:calc(15px + env(safe-area-inset-top,0px));min-height:44px;padding:9px 18px;border:1px solid #cadccb;background:#fffffff0;border-radius:999px;color:var(--bbws-forest);font-size:13px;font-weight:850}
#bb173WelcomeSplash .bbws-board{position:relative;width:min(100%,770px);min-height:min(660px,calc(100svh - 100px));display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate;text-align:center;border:1px solid #e4e5d8;background:linear-gradient(155deg,#fffefa 10%,#f5f9f1 80%,#fdf5e4);border-radius:37px;box-shadow:0 26px 85px #264b2928,0 3px 15px #264b2910;padding:65px 42px 52px}
#bb173WelcomeSplash .bbws-board:before{content:'';position:absolute;inset:17px;border:1px solid #d9e4d7;border-radius:27px;pointer-events:none;opacity:.55}
#bb173WelcomeSplash .bbws-corner{position:absolute;top:27px;left:30px;font-size:10px;font-weight:900;letter-spacing:.14em;color:#799b77;text-transform:uppercase}
#bb173WelcomeSplash .bbws-spark{position:absolute;pointer-events:none;color:#d7b04c;opacity:.6;font-size:29px}
#bb173WelcomeSplash .bbws-spark-a{left:14%;top:31%}#bb173WelcomeSplash .bbws-spark-b{right:12%;top:19%;font-size:20px}#bb173WelcomeSplash .bbws-spark-c{right:15%;bottom:19%;font-size:18px}
#bb173WelcomeSplash .bbws-logo-pad{position:relative;width:156px;height:156px;display:grid;place-items:center;margin-bottom:18px;transform-origin:center;opacity:0}
#bb173WelcomeSplash .bbws-logo-square{width:148px;height:148px;position:absolute;border-radius:39px;background:linear-gradient(145deg,#2a8050,#155d44 78%);border:1px solid #4b9964;box-shadow:0 20px 34px #22654740,inset 0 2px 2px #ffffff39;transform:rotate(-5deg)}
#bb173WelcomeSplash .bbws-logo-ring{width:118px;height:118px;border-radius:50%;position:absolute;background:#f7fff012;box-shadow:inset 0 0 0 1.6px #e0f6df30}
#bb173WelcomeSplash .bbws-mark{position:relative;z-index:1;width:106px;height:106px;overflow:visible;filter:drop-shadow(0 5px 5px #06241920)}
#bb173WelcomeSplash .bbws-basket,#bb173WelcomeSplash .bbws-crown{transform-box:fill-box;transform-origin:center;opacity:0}
#bb173WelcomeSplash .bbws-basket path{fill:#f9fff5;stroke:#f9fff5}
#bb173WelcomeSplash .bbws-basket .bbws-slots{fill:none;stroke:#2c774f;stroke-width:4;stroke-linecap:round}
#bb173WelcomeSplash .bbws-crown path{fill:var(--bbws-gold);stroke:#ffedac;stroke-linejoin:round;stroke-width:1.1}
#bb173WelcomeSplash .bbws-crown .bbws-crown-base{fill:none;stroke:#ffe7a0;stroke-width:2.3;stroke-linecap:round}
#bb173WelcomeSplash .bbws-wordmark{font-size:clamp(50px,9vw,87px);line-height:1.08;margin:4px 0 0;font-weight:950;letter-spacing:-.067em;white-space:nowrap;color:#173b32;opacity:0;transform:translateX(50px);clip-path:inset(0 100% 0 0)}
#bb173WelcomeSplash .bbws-wordmark span{color:#2c8855}
#bb173WelcomeSplash .bbws-line{height:4px;width:0;border-radius:99px;background:linear-gradient(90deg,#22784c,#d9ad34);margin:16px 0 19px}
#bb173WelcomeSplash .bbws-tagline{margin:0;color:#466f5c;font-size:clamp(17px,3vw,22px);font-weight:700;opacity:0;transform:translateY(15px)}
#bb173WelcomeSplash .bbws-intro{color:#5c7365;font-size:15px;line-height:1.5;margin:32px 0 14px;max-width:365px;opacity:0;transform:translateY(18px)}
#bb173WelcomeSplash .bbws-install{min-width:min(100%,290px);min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:16px;background:linear-gradient(145deg,#2c8855,#19633d);box-shadow:0 17px 28px #1d693f2b;color:#fff;font-size:17px;font-weight:900;padding:15px 25px;opacity:0;transform:translateY(24px) scale(.97)}
#bb173WelcomeSplash .bbws-install svg{width:22px;height:22px;flex:none}
#bb173WelcomeSplash .bbws-continue{background:none;border:0;color:#216847;font-size:15px;font-weight:850;margin-top:17px;padding:13px 18px;text-decoration:underline;text-decoration-color:#aec8b1;text-underline-offset:5px;opacity:0;transform:translateY(18px)}
#bb173WelcomeSplash .bbws-markets{color:#779183;font-size:11px;font-weight:750;letter-spacing:.02em;margin-top:24px;opacity:0}
#bb173WelcomeSplash.bbws-play .bbws-logo-pad{animation:bbwsMarkArrive .88s var(--bbws-ease) .2s both}
#bb173WelcomeSplash.bbws-play .bbws-basket{animation:bbwsBasketSlide .86s var(--bbws-ease) .43s both}
#bb173WelcomeSplash.bbws-play .bbws-crown{animation:bbwsCrownDrop .78s cubic-bezier(.15,1.25,.4,1) 1.2s both}
#bb173WelcomeSplash.bbws-play .bbws-wordmark{animation:bbwsWordReveal 1.03s var(--bbws-ease) 2.05s both}
#bb173WelcomeSplash.bbws-play .bbws-line{animation:bbwsLineReveal .62s var(--bbws-ease) 2.69s both}
#bb173WelcomeSplash.bbws-play .bbws-tagline{animation:bbwsFadeRise .62s ease-out 2.98s both}
#bb173WelcomeSplash.bbws-play .bbws-intro{animation:bbwsFadeRise .63s ease-out 3.24s both}
#bb173WelcomeSplash.bbws-play .bbws-install{animation:bbwsFadeScale .73s var(--bbws-ease) 3.55s both}
#bb173WelcomeSplash.bbws-play .bbws-continue{animation:bbwsFadeRise .65s ease-out 3.85s both}
#bb173WelcomeSplash.bbws-play .bbws-markets{animation:bbwsFade .7s ease-out 4.05s both}
@keyframes bbwsMarkArrive{0%{opacity:0;transform:translateX(-160px) rotate(-18deg) scale(.8)}70%{opacity:1;transform:translateX(12px) rotate(4deg) scale(1.06)}100%{opacity:1;transform:none}}
@keyframes bbwsBasketSlide{0%{opacity:0;transform:translateX(-42px) scale(.82)}75%{opacity:1;transform:translateX(3px) scale(1.04)}100%{opacity:1;transform:none}}
@keyframes bbwsCrownDrop{0%{opacity:0;transform:translateY(-75px) rotate(-9deg) scale(.7)}70%{opacity:1;transform:translateY(5px) rotate(5deg) scale(1.13)}100%{opacity:1;transform:none}}
@keyframes bbwsWordReveal{0%{opacity:0;transform:translateX(65px);clip-path:inset(0 100% 0 0)}100%{opacity:1;transform:none;clip-path:inset(0)}}
@keyframes bbwsLineReveal{to{width:152px}}
@keyframes bbwsFadeRise{to{opacity:1;transform:translateY(0)}}
@keyframes bbwsFadeScale{to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bbwsFade{to{opacity:1}}
#bb173WelcomeSplash.bbws-reduced .bbws-logo-pad,#bb173WelcomeSplash.bbws-reduced .bbws-basket,#bb173WelcomeSplash.bbws-reduced .bbws-crown,#bb173WelcomeSplash.bbws-reduced .bbws-wordmark,#bb173WelcomeSplash.bbws-reduced .bbws-tagline,#bb173WelcomeSplash.bbws-reduced .bbws-intro,#bb173WelcomeSplash.bbws-reduced .bbws-install,#bb173WelcomeSplash.bbws-reduced .bbws-continue,#bb173WelcomeSplash.bbws-reduced .bbws-markets{animation:none!important;opacity:1!important;transform:none!important;clip-path:none!important}
#bb173WelcomeSplash.bbws-reduced .bbws-line{animation:none!important;width:152px!important}
@media(prefers-reduced-motion:reduce){#bb173WelcomeSplash.bbws-play .bbws-logo-pad,#bb173WelcomeSplash.bbws-play .bbws-basket,#bb173WelcomeSplash.bbws-play .bbws-crown,#bb173WelcomeSplash.bbws-play .bbws-wordmark,#bb173WelcomeSplash.bbws-play .bbws-tagline,#bb173WelcomeSplash.bbws-play .bbws-intro,#bb173WelcomeSplash.bbws-play .bbws-install,#bb173WelcomeSplash.bbws-play .bbws-continue,#bb173WelcomeSplash.bbws-play .bbws-markets{animation:none!important;opacity:1!important;transform:none!important;clip-path:none!important}#bb173WelcomeSplash.bbws-play .bbws-line{animation:none!important;width:152px!important}}
@media(max-width:560px){#bb173WelcomeSplash .bbws-scene{padding:65px 10px 20px}#bb173WelcomeSplash .bbws-board{border-radius:25px;padding:48px 16px 32px;min-height:min(720px,calc(100svh - 75px))}#bb173WelcomeSplash .bbws-board:before{inset:9px;border-radius:18px}#bb173WelcomeSplash .bbws-corner{top:20px;left:21px;font-size:8px}#bb173WelcomeSplash .bbws-logo-pad{width:134px;height:134px;margin-bottom:13px}#bb173WelcomeSplash .bbws-logo-square{width:126px;height:126px;border-radius:32px}#bb173WelcomeSplash .bbws-logo-ring{width:102px;height:102px}#bb173WelcomeSplash .bbws-mark{width:91px;height:91px}#bb173WelcomeSplash .bbws-wordmark{font-size:clamp(46px,12vw,68px)}#bb173WelcomeSplash .bbws-line{margin:12px 0 15px}#bb173WelcomeSplash .bbws-intro{font-size:13.5px;margin:22px 0 13px;max-width:285px}#bb173WelcomeSplash .bbws-install{font-size:16px;padding:15px 18px}#bb173WelcomeSplash .bbws-markets{font-size:9px;margin-top:18px}#bb173WelcomeSplash .bbws-spark-a{left:7%}#bb173WelcomeSplash .bbws-spark-b{right:7%}}
@media(max-height:690px){#bb173WelcomeSplash .bbws-board{padding-top:52px;padding-bottom:27px}#bb173WelcomeSplash .bbws-logo-pad{margin-bottom:5px}#bb173WelcomeSplash .bbws-intro{margin-top:15px}}

/* v17.5.5 silver logo: same crowned basket as fixed header, retain animation timing. */
#bb173WelcomeSplash .bbws-logo-square{background:linear-gradient(150deg,#f7f8f9,#e4e6e8)!important;border:1px solid #cfd3d7!important;box-shadow:0 20px 34px #26303724,inset 0 2px 2px #ffffff90!important;transform:rotate(0deg)!important}
#bb173WelcomeSplash .bbws-logo-ring{display:none!important}
#bb173WelcomeSplash .bbws-mark{filter:none!important}
#bb173WelcomeSplash .bbws-basket path{fill:#44484B!important;stroke:#44484B!important}
#bb173WelcomeSplash .bbws-basket path:first-child{fill:none!important}
#bb173WelcomeSplash .bbws-basket .bbws-slots{fill:none!important;stroke:#F8F8F8!important}
#bb173WelcomeSplash .bbws-crown path{fill:#44484B!important;stroke:#44484B!important}
#bb173WelcomeSplash .bbws-crown .bbws-crown-base{fill:none!important;stroke:#44484B!important}
/* Match the instant BasketBoss wordmark and four-second crown intro in the PWA. */
#bb173WelcomeSplash .bbws-wordmark{opacity:1!important}
#bb173WelcomeSplash.bbws-play .bbws-logo-pad{animation:bbwsMarkArrive .65s cubic-bezier(.2,.85,.3,1.22) 0s both,bbobBrandSway 1.1s ease-in-out .7s 3 alternate}
#bb173WelcomeSplash.bbws-play .bbws-basket{animation:bbwsBasketSlide .6s ease-out 0s both}
#bb173WelcomeSplash.bbws-play .bbws-crown{animation:bbwsCrownDrop .55s cubic-bezier(.2,.8,.3,1.15) .12s both}
#bb173WelcomeSplash.bbws-play .bbws-wordmark{animation:bbwsInstantName .45s ease-out 0s both}
@keyframes bbwsInstantName{from{transform:translateY(6px) scale(.98)}to{transform:none}}
