*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;width:100%;overflow:hidden;background:#05070f;color:#fff;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed}body{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.bg-orbs{position:absolute;inset:0;overflow:hidden;z-index:0;contain:strict}.orb{position:absolute;border-radius:50%;filter:blur(70px);opacity:0.4;will-change:transform;transform:translate3d(0,0,0);backface-visibility:hidden}.orb-1{width:60vw;height:60vw;max-width:380px;max-height:380px;background:radial-gradient(circle,#3a5dbf 0%,transparent 70%);top:-12%;left:-18%;animation:orbFloat1 26s ease-in-out infinite}.orb-2{width:55vw;height:55vw;max-width:340px;max-height:340px;background:radial-gradient(circle,#5a4a9e 0%,transparent 70%);bottom:-14%;right:-14%;opacity:0.32;animation:orbFloat2 30s ease-in-out infinite}.orb-3{width:45vw;height:45vw;max-width:280px;max-height:280px;background:radial-gradient(circle,#2d6fa8 0%,transparent 70%);top:45%;left:30%;opacity:0.22;animation:orbFloat3 34s ease-in-out infinite}@keyframes orbFloat1{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(6vw,5vh,0) scale(1.1)}}@keyframes orbFloat2{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-5vw,-4vh,0) scale(1.14)}}@keyframes orbFloat3{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-4vw,-6vh,0) scale(1.06)}}.stars{position:absolute;inset:0;z-index:1;pointer-events:none;contain:strict}.star{position:absolute;width:2px;height:2px;background:#c8d8ff;border-radius:50%;opacity:0.6;will-change:opacity,transform;backface-visibility:hidden}.star:nth-child(1){top:12%;left:18%;animation:twinkle 4.2s ease-in-out infinite}.star:nth-child(2){top:26%;left:82%;animation:twinkle 5.1s ease-in-out infinite 0.4s}.star:nth-child(3){top:68%;left:12%;animation:twinkle 6.2s ease-in-out infinite 0.8s}.star:nth-child(4){top:82%;left:62%;animation:twinkle 4.8s ease-in-out infinite 1.2s}.star:nth-child(5){top:44%;left:92%;animation:twinkle 5.6s ease-in-out infinite 0.2s}.star:nth-child(6){top:8%;left:55%;animation:twinkle 6.8s ease-in-out infinite 1.6s}.star:nth-child(7){top:74%;left:38%;animation:twinkle 5.4s ease-in-out infinite 0.6s}.star:nth-child(8){top:55%;left:22%;animation:twinkle 4.2s ease-in-out infinite 1.0s}.star:nth-child(9){top:34%;left:4%;animation:twinkle 5.9s ease-in-out infinite 1.4s}.star:nth-child(10){top:90%;left:88%;animation:twinkle 4.6s ease-in-out infinite 0.3s}@keyframes twinkle{0%,100%{opacity:0.2;transform:scale(0.85)}50%{opacity:0.9;transform:scale(1.15)}}.card-wrap{position:relative;z-index:10;width:100%;max-width:460px;padding:1rem;animation:cardEnter 1.1s cubic-bezier(0.16,1,0.3,1) both;will-change:transform,opacity}@keyframes cardEnter{from{opacity:0;transform:translate3d(0,30px,0) scale(0.94)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}.dream-card{position:relative;width:100%;padding:1.6rem 1.3rem;display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:32px;background:rgba(255,255,255,0.04);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border:1px solid rgba(255,255,255,0.08);box-shadow:0 20px 50px -20px rgba(0,0,0,0.7),0 0 0 1px rgba(255,255,255,0.03) inset,0 30px 80px -30px rgba(90,130,255,0.25);will-change:transform,opacity,filter;transition:opacity 0.55s cubic-bezier(0.4,0,0.2,1),transform 0.6s cubic-bezier(0.4,0,0.2,1),filter 0.55s ease;backface-visibility:hidden}.dream-card::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(140deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 65%, rgba(180, 210, 255, 0.05) 100%);pointer-events:none}.dream-card::after{content:'';position:absolute;inset:-20px;border-radius:inherit;background:radial-gradient(ellipse at center, rgba(120, 160, 255, 0.1) 0%, transparent 65%);z-index:-1;animation:cardPulse 6s ease-in-out infinite;will-change:opacity, transform;pointer-events:none}@keyframes cardPulse{0%, 100%{opacity:0.6;transform:scale(0.97)}50%{opacity:0.95;transform:scale(1.02)}}.dream-card.is-leaving{opacity:0;transform:translate3d(0, -12px, 0) scale(0.94);filter:blur(14px);pointer-events:none}.dream-card.is-entering{opacity:0;transform:translate3d(0, 14px, 0) scale(0.96);filter:blur(10px);pointer-events:none}.dream-h1{font-size:clamp(1rem, 4vw, 1.3rem);font-weight:600;line-height:1.35;color:#e6efff;margin-bottom:1.1rem;letter-spacing:0.005em;will-change:opacity, transform}.dream-text{font-size:clamp(0.95rem, 3.7vw, 1.1rem);line-height:1.62;color:rgba(228, 238, 255, 0.9);letter-spacing:0.008em;min-height:4.2em;will-change:opacity, transform, filter;transition:opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease}.dream-text.text-out{opacity:0;transform:translate3d(0, -8px, 0);filter:blur(6px)}.dream-text.text-in{animation:textIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both}@keyframes textIn{0%{opacity:0;transform:translate3d(0, 12px, 0);filter:blur(8px)}100%{opacity:1;transform:translate3d(0, 0, 0);filter:blur(0)}}.step{width:100%;display:grid;grid-template-rows:1fr;margin-top:1.4rem;transition:opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;will-change:opacity, transform}.step.gone{opacity:0;transform:translate3d(0, -8px, 0);grid-template-rows:0fr;margin-top:0;pointer-events:none}.step.gone>*{min-height:0}.step.gone .step-label{opacity:0;transition:opacity 0.25s ease}.step-inner{display:flex;flex-direction:column;align-items:center;gap:0.85rem;width:100%;min-height:0;overflow:hidden}.step-label{font-size:0.72rem;letter-spacing:0.28em;text-transform:uppercase;color:rgba(180, 205, 255, 0.5);font-weight:500;transition:opacity 0.35s ease}.emotion-step{animation:stepAppear 0.7s cubic-bezier(0.16, 1, 0.3, 1) both}@keyframes stepAppear{from{opacity:0;transform:translate3d(0, 14px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.gender-buttons{display:flex;gap:0.7rem;width:100%;justify-content:center}.gender-btn{flex:1 1 0;min-width:110px;max-width:170px;padding:0.85rem 1rem;font-size:0.98rem;font-weight:500;color:#eaf1ff;background:rgba(90, 130, 220, 0.12);border:1px solid rgba(160, 195, 255, 0.22);border-radius:16px;cursor:pointer;font-family:inherit;will-change:transform, opacity;transform:translate3d(0, 0, 0) scale(1);opacity:1;transition:transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;box-shadow:0 4px 18px -8px rgba(90, 130, 220, 0.4);backface-visibility:hidden}.gender-btn:active{background:rgba(110, 155, 240, 0.2);transform:translate3d(0, 0, 0) scale(0.97);transition:transform 0.15s ease, background 0.15s ease}.gender-btn.picked{transform:translate3d(0, 0, 0) scale(0.55);opacity:0;filter:blur(8px);pointer-events:none;box-shadow:0 0 40px 8px rgba(150, 190, 255, 0);transition:transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1)}.gender-btn.faded{opacity:0;transform:translate3d(0, 0, 0) scale(0.88);filter:blur(6px);pointer-events:none;transition:opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.emotion-buttons{display:flex;flex-wrap:wrap;gap:0.5rem;justify-content:center;width:100%}.emotion-btn{padding:0.55rem 0.95rem;font-size:0.87rem;color:#dfeaff;background:rgba(70, 100, 170, 0.16);border:1px solid rgba(150, 190, 255, 0.2);border-radius:999px;cursor:pointer;font-family:inherit;will-change:transform, opacity;transform:translate3d(0, 0, 0) scale(1);opacity:1;transition:transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;backface-visibility:hidden}.emotion-btn:active{transform:translate3d(0, 0, 0) scale(0.95);background:rgba(110, 155, 240, 0.22);transition:transform 0.15s ease, background 0.15s ease}.emotion-btn.picked{transform:translate3d(0, 0, 0) scale(0.6);opacity:0;filter:blur(8px);pointer-events:none;box-shadow:0 0 40px 8px rgba(150, 190, 255, 0);transition:transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1)}.emotion-btn.faded{opacity:0;transform:translate3d(0, 0, 0) scale(0.85);filter:blur(5px);pointer-events:none;transition:opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.reset-btn{margin-top:1.1rem;padding:0.42rem 1rem;font-size:0.72rem;letter-spacing:0.18em;text-transform:uppercase;color:rgba(180, 210, 255, 0.55);background:transparent;border:1px solid rgba(150, 190, 255, 0.18);border-radius:999px;cursor:pointer;font-family:inherit;opacity:0;transform:translate3d(0, 8px, 0);pointer-events:none;will-change:opacity, transform;transition:opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease}.reset-btn.visible{opacity:1;transform:translate3d(0, 0, 0);pointer-events:auto}.reset-btn:active{transform:translate3d(0, 0, 0) scale(0.95);background:rgba(80, 120, 200, 0.15);color:rgba(220, 235, 255, 0.9)}.search-card{padding:1.6rem 1.3rem 1.2rem}.search-title{font-size:clamp(1.15rem, 4.5vw, 1.45rem);font-weight:600;line-height:1.35;color:#e6efff;margin-bottom:0.5rem;letter-spacing:0.005em}.search-subtitle{font-size:clamp(0.82rem, 3.4vw, 0.95rem);line-height:1.5;color:rgba(200, 220, 255, 0.5);margin-bottom:1.4rem;letter-spacing:0.02em}.search-field{position:relative;width:100%;display:flex;align-items:center;background:rgba(255, 255, 255, 0.04);border:1px solid rgba(160, 195, 255, 0.2);border-radius:16px;padding:0 0.4rem 0 1rem;transition:border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;will-change:border-color, box-shadow}.search-field:focus-within{border-color:rgba(160, 195, 255, 0.5);background:rgba(255, 255, 255, 0.06);box-shadow:0 0 0 4px rgba(120, 160, 255, 0.1), 0 10px 30px -12px rgba(90, 130, 220, 0.4)}.search-icon{flex-shrink:0;width:18px;height:18px;color:rgba(160, 195, 255, 0.55);transition:color 0.3s ease}.search-field:focus-within .search-icon{color:rgba(180, 210, 255, 0.85)}.search-input{flex:1 1 auto;min-width:0;padding:0.95rem 0.6rem;font-size:1rem;font-family:inherit;color:#eaf1ff;background:transparent;border:none;outline:none;letter-spacing:0.01em}.search-input::placeholder{color:rgba(160, 185, 230, 0.35)}.search-clear{flex-shrink:0;width:32px;height:32px;margin-right:0.2rem;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:50%;color:rgba(160, 195, 255, 0.4);cursor:pointer;opacity:0;pointer-events:none;transition:opacity 0.3s ease, color 0.3s ease, background 0.3s ease;will-change:opacity}.search-clear.visible{opacity:1;pointer-events:auto}.search-clear:active{background:rgba(120, 160, 255, 0.12);color:rgba(220, 235, 255, 0.9)}.suggestions{width:100%;margin-top:0.6rem;max-height:0;overflow:hidden;transition:max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);will-change:max-height}.suggestions.open{max-height:320px;overflow-y:auto;-webkit-overflow-scrolling:touch}.suggestions-list{list-style:none;display:flex;flex-direction:column;gap:0.3rem;padding:0.3rem 0}.suggestion{display:flex;align-items:center;gap:0.7rem;padding:0.7rem 0.85rem;font-size:0.95rem;color:#dfeaff;background:rgba(255, 255, 255, 0.03);border:1px solid rgba(160, 195, 255, 0.1);border-radius:12px;cursor:pointer;font-family:inherit;text-align:left;width:100%;transform:translate3d(0, 0, 0);opacity:1;will-change:transform, opacity, background;transition:transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease, border-color 0.25s ease;animation:suggestionIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes suggestionIn{from{opacity:0;transform:translate3d(0, 8px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.suggestion:active{background:rgba(120, 160, 255, 0.14);border-color:rgba(160, 195, 255, 0.3);transform:translate3d(0, 0, 0) scale(0.98)}.suggestion-arrow{flex-shrink:0;width:14px;height:14px;color:rgba(160, 195, 255, 0.45)}.suggestion-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.suggestion-text mark{background:transparent;color:#b8d4ff;font-weight:600}.suggestions-empty{padding:1rem;text-align:center;font-size:0.9rem;color:rgba(180, 205, 255, 0.35);letter-spacing:0.02em}.suggestions::-webkit-scrollbar{width:6px}.suggestions::-webkit-scrollbar-track{background:transparent;margin:8px 0}.suggestions::-webkit-scrollbar-thumb{background:rgba(150, 190, 255, 0.25);border-radius:999px;transition:background 0.25s ease}.suggestions::-webkit-scrollbar-thumb:hover{background:rgba(170, 200, 255, 0.45)}.suggestions::-webkit-scrollbar-thumb:active{background:rgba(180, 210, 255, 0.6)}.suggestions{scrollbar-width:thin;scrollbar-color:rgba(150, 190, 255, 0.25) transparent}.suggestions::-webkit-scrollbar-corner{background:transparent}@media (max-width:380px){.dream-card{padding:1.3rem 1rem;border-radius:26px}.gender-btn{min-width:95px;padding:0.75rem 0.7rem;font-size:0.9rem}.emotion-btn{padding:0.48rem 0.8rem;font-size:0.82rem}.search-card{padding:1.3rem 1rem}.suggestion{padding:0.65rem 0.75rem;font-size:0.9rem}}@media (min-height:780px){.dream-card{padding:2rem 1.5rem}.search-card{padding:2rem 1.6rem 1.6rem}}@media (prefers-reduced-motion:reduce){*, *::before, *::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.15s !important}}.pwa-install-btn{position:fixed;left:50%;bottom:max(1.2rem, env(safe-area-inset-bottom, 1.2rem));transform:translate3d(-50%, 20px, 0);z-index:100;display:inline-flex;align-items:center;gap:0.55rem;padding:0.7rem 1.2rem;font-size:0.82rem;font-family:inherit;letter-spacing:0.05em;font-weight:500;color:#eaf1ff;background:rgba(255, 255, 255, 0.06);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);border:1px solid rgba(160, 195, 255, 0.28);border-radius:999px;box-shadow:0 10px 30px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 0 30px -8px rgba(90, 130, 220, 0.5);cursor:pointer;opacity:0;pointer-events:none;will-change:transform, opacity;transition:opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease}.pwa-install-btn.visible{opacity:1;transform:translate3d(-50%, 0, 0);pointer-events:auto}.pwa-install-btn:active{transform:translate3d(-50%, 0, 0) scale(0.96);background:rgba(120, 160, 255, 0.15);border-color:rgba(190, 220, 255, 0.5)}.pwa-install-icon{flex-shrink:0;color:rgba(180, 210, 255, 0.85)}.ios-hint{position:fixed;inset:0;z-index:200;display:flex;align-items:flex-end;justify-content:center;padding:1rem 1rem max(1.5rem, env(safe-area-inset-bottom, 1.5rem));background:rgba(5, 7, 15, 0.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;animation:hintFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;will-change:opacity}.ios-hint.hide{animation:hintFadeOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards}@keyframes hintFadeIn{from{opacity:0}to{opacity:1}}@keyframes hintFadeOut{from{opacity:1}to{opacity:0}}.ios-hint-inner{width:100%;max-width:420px;padding:1.4rem 1.3rem 1.1rem;background:rgba(20, 25, 45, 0.9);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border:1px solid rgba(160, 195, 255, 0.22);border-radius:24px;box-shadow:0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;text-align:center;transform:translate3d(0, 20px, 0);animation:hintSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;will-change:transform}@keyframes hintSlideIn{from{transform:translate3d(0, 30px, 0);opacity:0.6}to{transform:translate3d(0, 0, 0);opacity:1}}.ios-hint-title{font-size:1rem;font-weight:600;color:#e6efff;margin-bottom:0.7rem;letter-spacing:0.01em}.ios-hint-text{font-size:0.92rem;line-height:1.55;color:rgba(210, 225, 255, 0.75);margin-bottom:1.1rem}.ios-hint-close{width:100%;padding:0.75rem 1rem;font-size:0.92rem;font-family:inherit;font-weight:500;color:#eaf1ff;background:rgba(90, 130, 220, 0.2);border:1px solid rgba(160, 195, 255, 0.3);border-radius:14px;cursor:pointer;transition:background 0.25s ease, transform 0.15s ease}.ios-hint-close:active{background:rgba(120, 160, 240, 0.35);transform:scale(0.98)}.seo-hidden{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}