.sw-welcome-overlay[hidden]{display:none!important}
.sw-welcome-overlay{position:fixed;inset:0;background:rgba(10,18,35,.69);z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.sw-welcome-overlay *{box-sizing:border-box}
.sw-welcome-modal{position:relative;width:min(100%,460px);max-height:min(92dvh,780px);border-radius:22px;background:#f5f7fb;color:#17202e;box-shadow:0 20px 80px rgba(0,0,0,.3);overflow:hidden;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.35}
.sw-welcome-scroll{max-height:min(92dvh,780px);overflow-y:auto;overscroll-behavior:contain;padding:38px 20px 18px}
.sw-welcome-close{position:absolute;z-index:2;right:13px;top:10px;width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:#526073;border-radius:50%;font-size:27px;cursor:pointer}
.sw-welcome-close:hover,.sw-welcome-close:focus-visible{background:#e4eaf2}
.sw-welcome-identity{text-align:center;margin-bottom:20px}
.sw-welcome-avatar-wrap,.sw-welcome-logo{margin:0 auto 11px;width:78px;height:78px;border-radius:50%;background:#fff;box-shadow:0 2px 12px #cdd7e3;overflow:hidden;display:flex;align-items:center;justify-content:center}
.sw-welcome-avatar-wrap img,.sw-welcome-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.sw-welcome-logo-fallback{font-size:46px;font-weight:900;color:#2563eb}
.sw-welcome-identity h2{font-size:22px;line-height:1.25;font-weight:750;margin:0 0 8px;color:#17202e}
.sw-welcome-identity p{font-size:13px;color:#637083;line-height:1.5;margin:0 auto;max-width:330px}
.sw-welcome-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sw-welcome-post,.sw-welcome-discover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;text-decoration:none!important;border:1px solid #e7eaf0;background:#fff;border-radius:13px;color:#1b2938!important;font-weight:650;min-width:0;line-height:1.3;transition:transform .15s,box-shadow .15s}
.sw-welcome-post{min-height:94px;padding:10px 5px;font-size:11px}
.sw-welcome-discover{min-height:94px;padding:12px 6px;font-size:12px}
.sw-welcome-post:hover,.sw-welcome-discover:hover,.sw-welcome-post:focus-visible,.sw-welcome-discover:focus-visible{transform:translateY(-2px);box-shadow:0 6px 20px #dce4ef}
.sw-welcome-tile-icon{font-size:23px;color:#1d57c7;line-height:1}
.sw-welcome-rule{height:1px;background:#e0e6ee;margin:18px 0}
.sw-welcome-discovery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sw-welcome-auth{display:flex;gap:10px;margin-top:18px}
.sw-welcome-auth a{display:flex;align-items:center;justify-content:center;flex:1;border:1px solid #b8c9dd;border-radius:10px;padding:11px;color:#1b2938!important;background:#fff;text-decoration:none!important;font-weight:700}
.sw-welcome-continue{width:100%;display:flex;justify-content:center;gap:12px;align-items:center;margin-top:18px;background:#2459d6!important;color:#fff!important;border:none!important;border-radius:11px;padding:13px 16px;font-family:inherit;font-size:15px;font-weight:750;cursor:pointer}
.sw-welcome-continue:hover,.sw-welcome-continue:focus-visible{background:#1746b2!important}
.sw-welcome-tagline{text-align:center;font-size:11px;color:#7a8594;margin:14px 0 0}
@media(max-width:420px){.sw-welcome-overlay{padding:10px}.sw-welcome-modal{border-radius:18px;max-height:94dvh}.sw-welcome-scroll{max-height:94dvh;padding:36px 14px 16px}.sw-welcome-identity h2{font-size:20px}.sw-welcome-post-grid,.sw-welcome-discovery{gap:8px}.sw-welcome-post{min-height:84px;font-size:10px}.sw-welcome-discover{min-height:83px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.sw-welcome-post,.sw-welcome-discover{transition:none}}

/* v1.0.1: center-origin spring entrance and elastic exit */
.sw-welcome-overlay{opacity:1;transform-origin:center center}
.sw-welcome-modal{transform-origin:center center;will-change:transform,opacity}
.sw-welcome-is-opening{animation:sw-welcome-backdrop-in .32s ease-out both}
.sw-welcome-is-opening .sw-welcome-modal{animation:sw-welcome-elastic-in .65s both}
.sw-welcome-is-closing{animation:sw-welcome-backdrop-out .40s ease-in both;pointer-events:none}
.sw-welcome-is-closing .sw-welcome-modal{animation:sw-welcome-elastic-out .40s both}
@keyframes sw-welcome-elastic-in{
  0%{transform:scale(.18);opacity:0}
  48%{transform:scale(1.085);opacity:1}
  66%{transform:scale(.965)}
  82%{transform:scale(1.025)}
  100%{transform:scale(1);opacity:1}
}
@keyframes sw-welcome-elastic-out{
  0%{transform:scale(1);opacity:1}
  24%{transform:scale(1.045);opacity:1}
  100%{transform:scale(.16);opacity:0}
}
@keyframes sw-welcome-backdrop-in{from{background:rgba(10,18,35,0)}to{background:rgba(10,18,35,.69)}}
@keyframes sw-welcome-backdrop-out{from{background:rgba(10,18,35,.69)}to{background:rgba(10,18,35,0)}}
@media(prefers-reduced-motion:reduce){
  .sw-welcome-is-opening,.sw-welcome-is-opening .sw-welcome-modal,
  .sw-welcome-is-closing,.sw-welcome-is-closing .sw-welcome-modal{animation:none!important}
  .sw-welcome-modal{will-change:auto}
}

/* v1.0.4: content-sized, centered popup, generous padding, no 80%-viewport rule. */
.sw-welcome-overlay{padding:12px!important;align-items:center!important;justify-content:center!important}
.sw-welcome-modal{
 width:min(100%,560px)!important;max-width:calc(100vw - 24px)!important;
 height:auto!important;max-height:calc(100dvh - 24px)!important;
 border-radius:20px!important;overflow:hidden!important;margin:auto!important;
}
.sw-welcome-scroll{
 height:auto!important;max-height:none!important;width:100%;
 overflow:hidden!important;padding:30px 20px 20px!important;
 display:block!important;zoom:1;
}
.sw-welcome-close{
 position:absolute!important;right:9px!important;top:9px!important;z-index:3!important;
 width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
 display:flex!important;justify-content:center!important;align-items:center!important;
 padding:0!important;border:0!important;border-radius:50%!important;
 background:#2161df!important;color:#fff!important;box-shadow:0 3px 9px rgba(0,52,150,.28)!important;
 line-height:1!important;
}
.sw-welcome-close svg{width:16px;height:16px;display:block;flex:none}
.sw-welcome-close:hover,.sw-welcome-close:focus-visible{background:#1649b6!important;color:#fff!important}
.sw-welcome-identity{margin-bottom:12px}
.sw-welcome-avatar-wrap,.sw-welcome-logo{width:62px;height:62px;margin-bottom:7px}
.sw-welcome-identity h2{font-size:20px;margin:0 0 5px}
.sw-welcome-section-title{
 font-size:16px!important;font-weight:750!important;line-height:1.3!important;
 color:#17202e!important;text-align:left;margin:9px 0 8px!important;
}
.sw-welcome-post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sw-welcome-discovery{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sw-welcome-post,.sw-welcome-discover{min-height:74px;padding:9px 4px;gap:6px;font-size:11px}
.sw-welcome-dashed-divider{height:0;border-top:2px dashed #a9b9d1;margin:18px 0 13px;width:100%}
.sw-welcome-find-title{margin:0 0 8px!important}
.sw-welcome-auth{margin-top:13px}.sw-welcome-auth a{padding:9px}
.sw-welcome-continue{margin-top:13px;padding:11px 13px}
.sw-welcome-tagline{margin:10px 0 0}
@media(max-width:460px){
 .sw-welcome-modal{border-radius:17px!important}
 .sw-welcome-scroll{padding:30px 20px 20px!important}
 .sw-welcome-avatar-wrap,.sw-welcome-logo{width:54px;height:54px}
 .sw-welcome-identity h2{font-size:18px}
 .sw-welcome-post-grid,.sw-welcome-discovery{gap:5px}
 .sw-welcome-post,.sw-welcome-discover{min-height:62px;font-size:10px;gap:5px;padding:7px 3px}
 .sw-welcome-tile-icon{font-size:19px}
 .sw-welcome-section-title{font-size:16px!important}
 .sw-welcome-dashed-divider{margin:13px 0 10px}
}

/* v1.0.5: larger, colorful circular shortcut icons, labels below, balanced vertical padding. */
.sw-welcome-scroll{padding-top:30px!important;padding-bottom:30px!important}
.sw-welcome-post,.sw-welcome-discover{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:5px 2px!important;min-height:88px!important;gap:8px!important;
 font-size:12px!important;font-weight:700!important;justify-content:flex-start!important;
}
.sw-welcome-tile-icon{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:58px!important;height:58px!important;min-width:58px!important;
 border-radius:50%!important;color:#fff!important;font-size:26px!important;
 line-height:1!important;background:linear-gradient(145deg,#3b82f6,#1d4ed8)!important;
 box-shadow:0 4px 12px rgba(34,69,120,.17)!important;
}
.sw-welcome-post:nth-child(2) .sw-welcome-tile-icon,.sw-welcome-discover:nth-child(1) .sw-welcome-tile-icon{background:linear-gradient(145deg,#fbad37,#f97316)!important}
.sw-welcome-post:nth-child(3) .sw-welcome-tile-icon,.sw-welcome-discover:nth-child(4) .sw-welcome-tile-icon{background:linear-gradient(145deg,#ec4899,#9333ea)!important}
.sw-welcome-discover:nth-child(2) .sw-welcome-tile-icon{background:linear-gradient(145deg,#3b82f6,#2563eb)!important}
.sw-welcome-discover:nth-child(3) .sw-welcome-tile-icon{background:linear-gradient(145deg,#34d399,#059669)!important}
.sw-welcome-post:hover,.sw-welcome-discover:hover{box-shadow:none!important}
.sw-welcome-post:hover .sw-welcome-tile-icon,.sw-welcome-discover:hover .sw-welcome-tile-icon{transform:scale(1.07)}
.sw-welcome-tile-icon{transition:transform .18s ease}
@media(max-width:460px){
 .sw-welcome-scroll{padding:30px 20px 30px!important}
 .sw-welcome-post,.sw-welcome-discover{font-size:10px!important;min-height:77px!important;gap:6px!important}
 .sw-welcome-tile-icon{width:49px!important;height:49px!important;min-width:49px!important;font-size:23px!important}
}
@media(max-width:345px){.sw-welcome-tile-icon{width:43px!important;height:43px!important;min-width:43px!important;font-size:21px!important}}
@media(prefers-reduced-motion:reduce){.sw-welcome-tile-icon{transition:none!important}}
