/* YOKKIT Vote · global welcome (isolated homepage component) */
.yv-welcome-host{position:fixed;inset:0;z-index:2147482500;pointer-events:none;display:flex;justify-content:center;align-items:flex-start;padding:calc(env(safe-area-inset-top,0px) + clamp(88px,17dvh,170px)) 16px 20px;box-sizing:border-box;visibility:hidden}
.yv-welcome-host.is-visible{visibility:visible}
.yv-welcome-card{--yw-a:#7757ec;--yw-b:#ffad72;position:relative;pointer-events:auto;box-sizing:border-box;width:min(100%,660px);max-height:min(72dvh,560px);overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain;isolation:isolate;padding:clamp(23px,4.2vw,38px) clamp(22px,5vw,42px);background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,250,253,.98));border:1px solid rgba(255,255,255,.94);border-radius:clamp(24px,4vw,34px);box-shadow:0 26px 85px rgba(48,35,110,.24),0 8px 20px rgba(48,35,110,.10);text-align:center;color:#211c39;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans',sans-serif;opacity:0;transform:translateY(-25px) scale(.92);transition:opacity .46s ease,transform .56s cubic-bezier(.18,1.35,.34,1);overflow-wrap:anywhere}
.yv-welcome-host.is-visible .yv-welcome-card{opacity:1;transform:translateY(0) scale(1)}
.yv-welcome-host.is-leaving .yv-welcome-card{opacity:0;transform:translateY(-20px) scale(.97);transition:opacity .36s ease,transform .36s ease}
.yv-welcome-card::before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:8px;background:linear-gradient(90deg,var(--yw-a),var(--yw-b),#74dec2)}
.yv-welcome-glow{position:absolute;z-index:-1;pointer-events:none;width:180px;height:180px;border-radius:50%;filter:blur(15px);opacity:.26;background:radial-gradient(circle,var(--yw-a),transparent 72%);top:-100px;left:-65px}
.yv-welcome-glow.two{background:radial-gradient(circle,var(--yw-b),transparent 72%);top:auto;left:auto;bottom:-108px;right:-80px}
.yv-welcome-country{display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 46px);padding:7px 15px;border-radius:999px;background:#f4efff;border:1px solid rgba(119,87,236,.12);font-size:12px;font-weight:850;letter-spacing:.025em;color:#6348ba;line-height:1.45;overflow-wrap:anywhere}
.yv-welcome-flag{font-size:19px;vertical-align:middle;margin-inline-end:6px}
.yv-welcome-title{font-size:clamp(29px,4.2vw,46px);font-weight:900;line-height:1.18;letter-spacing:-.035em;margin:18px 0 12px;color:#282043;overflow-wrap:anywhere}
.yv-welcome-subtitle{font-size:clamp(15px,2.6vw,18px);font-weight:600;line-height:1.6;color:#5e5872;margin:0 auto;max-width:530px;overflow-wrap:anywhere}
.yv-welcome-decoration{display:flex;gap:12px;justify-content:center;align-items:center;margin-top:21px;font-size:21px;user-select:none;pointer-events:none}
.yv-welcome-decoration span{display:inline-block;animation:yv-welcome-float 2.4s ease-in-out infinite alternate}
.yv-welcome-decoration span:nth-child(2){animation-delay:-.85s}.yv-welcome-decoration span:nth-child(3){animation-delay:-1.55s}
.yv-welcome-close{position:absolute;top:13px;right:13px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(93,76,124,.08);color:#4f4665;display:grid;place-items:center;font-size:23px;font-weight:400;line-height:1;cursor:pointer;touch-action:manipulation;z-index:2}
.yv-welcome-close:hover,.yv-welcome-close:focus-visible{background:rgba(93,76,124,.16)}.yv-welcome-close:focus-visible{outline:3px solid #765aee;outline-offset:2px}
.yv-welcome-progress{position:absolute;bottom:0;inset-inline:0;height:4px;background:rgba(119,87,236,.11);overflow:hidden;border-radius:0 0 34px 34px;pointer-events:none}
.yv-welcome-progress::after{content:'';display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--yw-a),var(--yw-b));transform-origin:left;animation:yv-welcome-countdown 5.8s linear forwards}
.yv-welcome-host[dir=rtl] .yv-welcome-progress::after{transform-origin:right}
@keyframes yv-welcome-countdown{to{transform:scaleX(0)}}@keyframes yv-welcome-float{to{transform:translateY(-7px) rotate(9deg)}}
@media(max-width:600px){.yv-welcome-host{padding:calc(env(safe-area-inset-top,0px) + clamp(74px,15dvh,125px)) 14px 12px}.yv-welcome-card{max-height:calc(100dvh - env(safe-area-inset-top,0px) - 100px);padding:28px 22px 25px}.yv-welcome-title{margin:15px 0 10px}.yv-welcome-decoration{margin-top:14px}}
@media(max-width:360px){.yv-welcome-host{padding-inline:11px}.yv-welcome-card{padding:23px 17px 20px}.yv-welcome-title{font-size:27px}.yv-welcome-subtitle{font-size:14px}.yv-welcome-decoration{margin-top:11px}}
@media(max-height:530px){.yv-welcome-host{padding-top:calc(env(safe-area-inset-top,0px) + 10px);align-items:flex-start}.yv-welcome-card{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 20px);padding-top:16px;padding-bottom:16px}.yv-welcome-title{font-size:clamp(22px,4.5vh,30px);margin:8px 0}.yv-welcome-decoration{margin-top:7px}}
@media(prefers-reduced-motion:reduce){.yv-welcome-card{transition:none!important;transform:none!important}.yv-welcome-decoration span{animation:none!important}.yv-welcome-progress::after{animation:none!important}}

/* Hide both browser scrollbar tracks while retaining scroll for exceptionally short viewports. */
.yv-welcome-card::-webkit-scrollbar{display:none;width:0;height:0}
.yv-welcome-card{max-width:calc(100vw - 24px)}
.yv-welcome-card *{box-sizing:border-box}
@media(max-height:530px){.yv-welcome-decoration{display:none}}

/* Wider desktop welcome; locale-aware supporting translation and tablet sizing. */
.yv-welcome-translation{max-width:520px;margin:10px auto 0;font-size:clamp(13px,2vw,15px);line-height:1.55;color:#777187;font-weight:500;overflow-wrap:anywhere}
@media(min-width:601px) and (max-width:1023px){.yv-welcome-card{width:min(100%,580px)}}
@media(max-width:600px){.yv-welcome-card{width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 105px)}.yv-welcome-translation{font-size:13px;margin-top:8px}}
@media(max-height:530px){.yv-welcome-card{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 20px)}}

.yv-welcome-title,.yv-welcome-subtitle{hyphens:auto;overflow-wrap:break-word}.yv-welcome-host{max-width:100vw;box-sizing:border-box}
