*{margin:0;padding:0;box-sizing:border-box}:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(135deg,#f5f1e8,#e8d5b5,#d4a76a);background-attachment:fixed}#root{width:100%;min-height:100vh}.new-form-container{min-height:100vh;background:#f59e0b;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.form-header{text-align:center;margin-bottom:2rem;animation:fadeInDown .8s ease-out}.brand-title{font-size:4rem;font-weight:800;color:#fff;margin:0;text-shadow:0 4px 10px rgba(0,0,0,.2);letter-spacing:-.02em}.ai-highlight{color:#fef3c7;font-weight:900}.brand-subtitle{color:#ffffffe6;font-size:1.2rem;margin-top:.5rem;font-weight:300;letter-spacing:.05em}.fortune-form{background:#fff;border-radius:24px;padding:2.5rem;box-shadow:0 20px 60px #0000004d;max-width:500px;width:100%;animation:fadeInUp .8s ease-out}.form-section{margin-bottom:1.25rem}.section-title{font-size:1.1rem;font-weight:600;color:#d97706;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.date-inputs{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.75rem}.date-input{padding:.875rem;border:2px solid #e0e7ff;border-radius:12px;font-size:1rem;transition:all .2s;text-align:center}.date-input:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.date-input::placeholder{color:#cbd5e0}.calendar-select{width:100%;padding:.875rem;border:2px solid #e0e7ff;border-radius:12px;font-size:1rem;background:#fff;transition:all .2s;cursor:pointer}.calendar-select:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b1a}.period-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.period-btn{padding:.875rem .5rem;border:2px solid #FED7AA;background:#fff;border-radius:12px;font-size:.95rem;font-weight:600;color:#d97706;cursor:pointer;transition:all .2s}.period-btn:hover{border-color:#f59e0b;background:#fffbeb}.period-btn.active{background:#f59e0b;border-color:transparent;color:#fff;box-shadow:0 4px 12px #f59e0b66}.submit-btn{width:100%;padding:1.25rem;background:#d97706;border:none;border-radius:16px;color:#fff;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.75rem;box-shadow:0 8px 20px #d977064d;margin-top:2rem}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px #d9770666;background:#b45309}.submit-btn:active{transform:translateY(0)}.ad-container{display:flex;justify-content:center;margin:2rem 0}.ad-placeholder{width:320px;height:100px;background:#ffffff1a;border:2px dashed rgba(255,255,255,.3);border-radius:8px;display:flex;align-items:center;justify-content:center}.ad-label{color:#fff9;font-size:.9rem;font-weight:500}.form-footer{margin-top:2rem;text-align:center;animation:fadeIn 1s ease-out .3s both}.disclaimer{color:#fffc;font-size:.9rem;line-height:1.6;max-width:500px}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.brand-title{font-size:3rem}.brand-subtitle{font-size:1rem}.fortune-form{padding:2rem}.date-inputs{grid-template-columns:1fr}.period-selector{grid-template-columns:repeat(2,1fr)}.period-btn{font-size:.85rem;padding:.75rem .25rem}}@media(max-width:480px){.new-form-container{padding:1rem}.brand-title{font-size:2.5rem}.period-selector{grid-template-columns:repeat(2,1fr)}}body{background:#f59e0b;margin:0;padding:0}.new-result-container{min-height:100vh;background:#f59e0b;padding:2rem}.result-header{text-align:center;margin-bottom:2rem;animation:fadeInDown .6s ease-out}.brand-title-small{font-size:2.5rem;font-weight:800;color:#fff;margin:0;text-shadow:0 4px 10px rgba(0,0,0,.2);letter-spacing:-.02em;display:inline-block;cursor:pointer;transition:transform .2s;-webkit-user-select:none;user-select:none}.brand-title-small:hover{transform:scale(1.05)}.brand-title-small .ai-highlight{pointer-events:none}.result-subtitle{color:#fffffff2;font-size:1.3rem;font-weight:600;margin:.5rem 0}.birth-info-box{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1rem}.birth-date{background:#fff3;color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.period-badge{background:#fff;color:#f59e0b;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem}.loading-box{background:#fff;border-radius:24px;padding:4rem 2rem;max-width:600px;margin:0 auto;text-align:center;box-shadow:0 20px 60px #0000004d;animation:fadeInUp .6s ease-out}.loading-spinner-new{width:60px;height:60px;margin:0 auto 2rem;border:4px solid #f3f3f3;border-top:4px solid #F59E0B;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-title{font-size:1.5rem;color:#d97706;margin-bottom:.5rem}.loading-desc{color:#718096;font-size:1rem}.error-box{background:#fff;border-radius:24px;padding:3rem 2rem;max-width:600px;margin:0 auto;text-align:center;box-shadow:0 20px 60px #0000004d}.error-box h2{color:#e53e3e;margin-bottom:1rem}.error-box p{color:#718096;margin-bottom:2rem}.retry-btn-new{background:#d97706;color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s}.retry-btn-new:hover{transform:translateY(-2px)}.fortune-content-box{background:#fff;border-radius:24px;padding:2.5rem;max-width:800px;margin:0 auto;box-shadow:0 20px 60px #0000004d;animation:fadeInUp .6s ease-out}.ai-badge{display:inline-flex;align-items:center;gap:.5rem;background:#f59e0b;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;margin-bottom:2rem}.fortune-text{color:#2d3748;line-height:1.8;overflow-anchor:none;word-break:keep-all;overflow-wrap:break-word;transition:filter .5s ease-out}.fortune-text.streaming{filter:blur(3px);opacity:.7}.fortune-heading{color:#f59e0b;margin-top:2rem;margin-bottom:1rem;font-weight:700}.fortune-heading:first-child{margin-top:0}.fortune-paragraph{margin:.8rem 0;color:#4a5568;min-height:1.2em}.fortune-bold{font-weight:600;color:#2d3748;margin:1rem 0}.fortune-list-item{margin-left:1.5rem;margin-bottom:.5rem;color:#4a5568;list-style-type:none;position:relative}.fortune-list-item:before{content:"✦";color:#f59e0b;position:absolute;left:-1.5rem}.ad-container-result{display:flex;justify-content:center;margin:2rem 0}.ad-placeholder-result{width:320px;height:100px;background:#f7f7f7;border:2px dashed #ddd;border-radius:8px;display:flex;align-items:center;justify-content:center}.ad-label-result{color:#999;font-size:.9rem;font-weight:500}.result-footer{text-align:center;margin-top:2rem;animation:fadeIn .6s ease-out .3s both}.back-btn{background:#fff;color:#f59e0b;border:2px solid white;padding:1rem 2rem;border-radius:16px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-bottom:1.5rem}.back-btn:hover{background:#ffffffe6;transform:translateY(-2px)}.footer-note{color:#fffc;font-size:.9rem;line-height:1.6}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media(max-width:768px){.new-result-container{padding:1rem}.brand-title-small{font-size:2rem}.result-subtitle{font-size:1.1rem}.birth-info-box{flex-direction:column;gap:.5rem}.fortune-content-box{padding:2rem 1.5rem}.loading-box{padding:3rem 1.5rem}}.app{min-height:100vh;padding:2rem 1rem}@media(max-width:600px){.app{padding:1rem .5rem}}
