html,body.welcome-body{height:auto;min-height:100%;overflow:auto;background:#090909;color:#f3f3f3}.welcome-body *{box-sizing:border-box}.welcome-body [hidden]{display:none!important}.welcome{width:min(100%,900px);height:100svh;min-height:560px;margin:0 auto;padding:24px;display:flex;flex-direction:column}.welcome-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:38px}.welcome-brand{font-size:22px;font-weight:800;letter-spacing:-1px}.welcome-header a{font-size:12px;color:#c6c6c6;text-align:right;text-underline-offset:4px}.welcome-copy{width:min(100%,420px);margin:auto;padding:60px 0;text-align:left}.welcome-copy h1{font-size:clamp(36px,7vw,52px);line-height:1.1;letter-spacing:-2px;margin:20px 0}.welcome-copy p{font-size:15px;line-height:1.6;color:#a9a9a9;margin-bottom:32px}.welcome-eyebrow{font-size:10px;letter-spacing:2px;color:#aaa}.welcome-primary{display:block;width:100%;border:0;border-radius:10px;padding:17px 20px;background:#f1f1f1;color:#111;font:600 15px Arial,sans-serif;text-align:center;text-decoration:none;cursor:pointer}.welcome-link{border:0;padding:12px 0;background:none;color:#b7b7b7;font:13px Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.welcome-copy>.welcome-link{margin-top:10px}.welcome-designer{display:flex;flex:1;min-height:0;flex-direction:column;max-height:calc(100svh - 90px);padding-top:15px}.welcome-heading{display:flex;gap:18px;align-items:center;flex:none}.welcome-heading h1{font-size:23px;letter-spacing:-.8px;margin:8px 0}.welcome-designer #wardrobe-layout{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;margin:0}.welcome-designer .wardrobe-stage{position:relative;top:auto;align-self:stretch;flex:1;display:flex;flex-direction:column;min-height:140px;border:0;border-radius:0;box-shadow:none;background:none;padding:0}.welcome-designer .character-preview{flex:1;height:0;width:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;touch-action:none;margin:0}.welcome-designer .wardrobe-controls{flex:none;min-width:0;padding:0}.welcome-designer .wardrobe-toolbar{padding:0}.welcome-designer .wardrobe-rail{padding-bottom:10px;margin-bottom:8px}.welcome-designer>.welcome-primary{flex:none;margin-bottom:max(8px,env(safe-area-inset-bottom))}.welcome-account{padding:20px 0 35px}.welcome-account canvas{display:block;width:100%;height:min(40svh,330px);object-fit:contain}.welcome-account h1{font-size:36px;margin-top:4px}.welcome-account p{margin-bottom:22px}.welcome-primary:focus-visible,.welcome-link:focus-visible,.welcome-header a:focus-visible{outline:2px solid #fff;outline-offset:4px}@media(max-width:600px){.welcome{padding:16px}.welcome-header a{font-size:11px;max-width:150px}.welcome-designer{max-height:calc(100svh - 70px)}.welcome-designer .wardrobe-rail .wardrobe-option{flex-basis:160px}.welcome-copy{padding:35px 8px}.welcome-account{padding-top:5px}}
/* A decorative cast frames the welcome copy without intercepting controls. */
.welcome{position:relative;isolation:isolate}.welcome-header,.welcome-copy,.welcome-designer{position:relative;z-index:1}.welcome:has(#welcome-age:not([hidden])){min-height:760px}.welcome-cast{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}.welcome-character{position:absolute;width:clamp(120px,17vw,185px);height:auto;aspect-ratio:300/390;object-fit:contain;filter:drop-shadow(0 18px 16px #0006)}.welcome-character-0{left:0;top:13%;transform:rotate(-9deg)}.welcome-character-1{right:0;top:11%;transform:rotate(10deg)}.welcome-character-2{left:0;bottom:8%;transform:rotate(7deg)}.welcome-character-3{right:0;bottom:5%;transform:rotate(-8deg)}.welcome-character-4{width:150px;left:50%;bottom:-28px;transform:translateX(-50%) rotate(-4deg)}
@media(max-width:600px){.welcome:has(#welcome-age:not([hidden])){min-height:800px}.welcome-character{width:clamp(92px,27vw,135px)}.welcome-character-0{left:-8px;top:70px;transform:rotate(-12deg)}.welcome-character-1{right:-8px;top:74px;transform:rotate(12deg)}.welcome-character-4{left:50%;top:66px;bottom:auto;transform:translateX(-50%) rotate(-4deg)}.welcome-character-2{left:5%;bottom:12px;transform:rotate(8deg)}.welcome-character-3{right:5%;bottom:6px;transform:rotate(-9deg)}}

.welcome-brand{display:block;flex-shrink:0}.welcome-brand .brand-image{display:block;width:180px;max-width:100%;height:auto}@media(max-width:600px){.welcome-brand .brand-image{width:140px}}

.friend-age-check{display:flex;align-items:center;gap:10px;flex:none;padding:10px 0;font-size:13px}.friend-age-check input{width:18px;height:18px;accent-color:#f9ff40}#friend-join-error{color:#ffb5b5;font-size:13px;margin:0 0 8px}#friend-join-error:empty{display:none}

.welcome-designer{max-height:none;padding-top:0}.welcome-designer #wardrobe-layout{padding-top:0;padding-bottom:0}

.welcome:has(:is(#welcome-designer,#welcome-account):not([hidden])) .welcome-legal,.welcome-designer .legal-notice{display:none}
