body.welcoming {
  --warm-ink: #24241f;
  --ivory: #f6efe6;
  background: #f2ebe2;
  color: var(--warm-ink);
}
.welcoming > header, .welcoming .portrait, .welcoming .editor > h1, .welcoming #guide { display: none; }
.welcoming main { width: min(100%, 480px); padding: max(10px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); }
.welcoming .onboarding { display: block; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.welcoming .editor { padding: 0; }
.welcome {
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  border-radius: 27px;
  background: radial-gradient(ellipse at 38% 22%, #f9f4ee, transparent 58%), linear-gradient(142deg, #f6efe7, #f4ece1 80%, #ede5da);
  box-shadow: inset 0 1px 2px #fffdf7, 0 9px 17px -11px #78695399;
  padding: 0 6px 13px;
}
.welcomeBrand { padding: 3.8cqw 4.3cqw 0; display: flex; align-items: center; gap: 1.8cqw; font-size: 5.1cqw; font-weight: 750; letter-spacing: -.065em; line-height: 1.2; }
.welcomeMark { width: 5.65cqw; aspect-ratio: 1; background: #25251f; border-radius: 37%; display: flex; justify-content: center; align-items: center; gap: 11%; transform: rotate(-7deg); }
.welcomeMark i { width: 21%; height: 39%; border-radius: 40%; background: #faf6ed; }
.welcome h1 { font: 300 8.85cqw/1.03 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.045em; text-align: center; margin: 3.0cqw 0 0; }
.eyeStage { height: 57.8cqw; position: relative; isolation: isolate; display: grid; place-items: center; }
.eyeStage::after { content: ""; position: absolute; z-index: -1; bottom: 3.7cqw; width: 43%; height: 4.7cqw; background: radial-gradient(ellipse at center, #6b503888, #745a4038 39%, transparent 70%); filter: blur(.55cqw); }
#gaze { position: relative; width: 44.2%; aspect-ratio: 1; border: 0; padding: 0; overflow: hidden; border-radius: 50%; background: #050505 url('/eyes/v1/glass.webp') center / 100% 100% no-repeat; isolation: isolate; touch-action: manipulation; }
#eyeLayer { position: absolute; inset: 4%; overflow: hidden; pointer-events: none; border-radius: 50%; }
#liveEyes { display: block; width: 100%; height: 100%; }

.portrait { --guest-idle: url('/eyes/v1/Neo-idle.webp'); --guest-poster: url('/eyes/v1/Neo-poster.webp'); }
.portrait.theme-Echo { --guest-idle: url('/eyes/v1/Echo-idle.webp'); --guest-poster: url('/eyes/v1/Echo-poster.webp'); }
.portrait.theme-Hopper { --guest-idle: url('/eyes/v1/Hopper-idle.webp'); --guest-poster: url('/eyes/v1/Hopper-poster.webp'); }
.portrait.theme-Orbit { --guest-idle: url('/eyes/v1/Orbit-idle.webp'); --guest-poster: url('/eyes/v1/Orbit-poster.webp'); }
.portrait.theme-Poko { --guest-idle: url('/eyes/v1/Poko-idle.webp'); --guest-poster: url('/eyes/v1/Poko-poster.webp'); }
.portrait.theme-Sprout { --guest-idle: url('/eyes/v1/Sprout-idle.webp'); --guest-poster: url('/eyes/v1/Sprout-poster.webp'); }
.portrait .eyes { width: 100%; height: 100%; border-radius: 50%; background: #000 var(--guest-idle) center / contain no-repeat; }
.portrait .eyes i { display: none; }
@media (prefers-reduced-motion: reduce) { .portrait .eyes { background-image: var(--guest-poster); } }

.controlTray { padding: 4.2cqw 4.5cqw 4.4cqw; border: 1px solid #f8f2e8; border-radius: 7.7cqw; background: linear-gradient(125deg,#f7f0e6,#f4ede3 68%,#f1e8dc); box-shadow: inset 0 2px 2px #fffcf5, inset 0 -1px 2px #c1ad92a3, 0 5px 7px -4px #806b4e78; }
#palette { border: 0; padding: 0; margin: 0 0 3.2cqw; min-width: 0; }
#palette legend { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.paletteLabel { display: flex; align-items: baseline; justify-content: space-between; margin: 0 1.2cqw 2.1cqw; }
.paletteLabel span, .welcome label[for="name"] { color: var(--warm-ink); font-size: max(14px,3.8cqw); font-weight: 650; letter-spacing: -.025em; }
#eyeLabel { color: #635c51; font-size: max(13px,3.25cqw); }
.swatchRail { border-radius: 18px; background: linear-gradient(170deg,#ddcfbb 0,#e9ddce 65%,#eee4d8); box-shadow: inset 0 2px 4px #816f551c, 0 1px 2px #fff; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1cqw; padding: 1.2cqw; }
.swatch { margin: 0; display: grid; place-items: center; min-width: 0; min-height: 44px; position: relative; cursor: pointer; touch-action: manipulation; }
.swatch input { appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.swatch img { display: block; width: 93%; aspect-ratio: 1.15; object-fit: cover; background: #000; border-radius: 28%; box-shadow: 0 2px 3px #604c372e; }
.swatch input:checked + img { outline: 2px solid #625844; outline-offset: 2px; }
.swatch:has(input:checked)::after { content: ""; position: absolute; pointer-events: none; right: 7%; top: 12%; width: 15%; aspect-ratio: 1; background: var(--hue); border-radius: 50%; }
.swatch input:focus-visible + img, #gaze:focus-visible, .welcomeSave:focus-visible { outline: 3px solid #366892; outline-offset: 2px; }
.welcome label[for="name"] { margin: 0 1.2cqw 1.6cqw; }
.welcome #name { min-height: 44px; padding: 2.3cqw 3.5cqw; border: 1px solid #cfc0ab; background: linear-gradient(140deg,#f8f3ed,#f4eee6); border-radius: 3.8cqw; color: #2c2925; box-shadow: inset 0 1px 2px #aa957b20, 0 1px 1px #fff; }
.welcome #name::placeholder { color: #746e65; opacity: 1; }
.welcomeSave { min-height: 46px; margin-top: 4cqw; display: block; width: 100%; color: #fffefa; background: linear-gradient(125deg,#2e2e27,#22231f); border: 1px solid #282922; border-radius: 5.1cqw; font-weight: 650; font-size: max(16px, 3.9cqw); padding: 2.5cqw; box-shadow: inset 0 1px 1px #58574d, 0 4px 7px -3px #79684866; }
.welcomeSave:active { transform: translateY(1px); }
.welcomeSave:disabled { opacity: .7; cursor: wait; }
.welcoming .notice:not(:empty) { margin: 12px 14px 0; }
.welcoming #change { display: block; color: #675e50; margin: 4px auto 0; text-decoration-thickness: 1px; }
@media (min-width: 650px) { .welcoming main { padding-top: clamp(18px,4vh,50px); } }
@media (max-width: 354px) { .welcoming main { padding-inline: 5px; } .controlTray { padding-inline: 2.3cqw; } .swatchRail { gap: 1px; padding-inline: 2px; } }
