*{margin:0;padding:0;box-sizing:border-box}:root{font-family:Pretendard,system-ui,-apple-system,sans-serif;line-height:1.6;font-weight:400;color:#1a1a2e;background-color:#f8f9fa}body{min-height:100vh;display:flex;justify-content:center}#root{width:100%;max-width:480px;min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:linear-gradient(135deg,#6c5ce7,#a29bfe);color:#fff;padding:20px 24px;text-align:center}.header h1{font-size:1.5rem;font-weight:700;letter-spacing:-.5px}.header p{font-size:.85rem;opacity:.85;margin-top:4px}.input-page{flex:1;padding:24px;display:flex;flex-direction:column;gap:24px}.photo-upload{display:flex;flex-direction:column;align-items:center;gap:12px}.photo-upload label{font-size:.9rem;font-weight:600;color:#333;align-self:flex-start}.photo-area{width:200px;height:260px;border:2px dashed #ccc;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;overflow:hidden;background:#fff}.photo-area:hover,.photo-area.dragging{border-color:#6c5ce7;background:#f8f7ff}.photo-area.dragging{border-width:3px;background:#eee9ff}.photo-area.has-photo{border-style:solid;border-color:#6c5ce7}.photo-area img{width:100%;height:100%;object-fit:cover}.photo-placeholder{display:flex;flex-direction:column;align-items:center;gap:8px;color:#999}.photo-placeholder .icon{font-size:2.5rem}.photo-placeholder span{font-size:.85rem}.form-section{display:flex;flex-direction:column;gap:16px}.field-group{display:flex;flex-direction:column;gap:6px}.field-group label{font-size:.9rem;font-weight:600;color:#333}.field-row{display:flex;gap:12px}.field-row .field-group{flex:1}.input-wrapper{display:flex;align-items:center;background:#fff;border:1.5px solid #e0e0e0;border-radius:12px;padding:0 16px;height:48px;transition:border-color .2s}.input-wrapper:focus-within{border-color:#6c5ce7}.input-wrapper input{flex:1;border:none;outline:none;font-size:1rem;background:transparent;color:#333}.input-wrapper .unit{font-size:.85rem;color:#999;margin-left:4px}.gender-select{display:flex;gap:10px}.gender-btn{flex:1;height:48px;border:1.5px solid #e0e0e0;border-radius:12px;background:#fff;font-size:.95rem;color:#666;cursor:pointer;transition:all .2s;font-weight:500}.gender-btn:hover{border-color:#6c5ce7}.gender-btn.active{border-color:#6c5ce7;background:#6c5ce7;color:#fff}.style-chips{display:flex;flex-wrap:wrap;gap:8px}.style-chip{padding:8px 16px;border:1.5px solid #e0e0e0;border-radius:20px;background:#fff;font-size:.85rem;color:#666;cursor:pointer;transition:all .2s}.style-chip:hover{border-color:#6c5ce7}.style-chip.active{border-color:#6c5ce7;background:#6c5ce7;color:#fff}.submit-btn{width:100%;height:54px;border:none;border-radius:14px;background:linear-gradient(135deg,#6c5ce7,#a29bfe);color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .2s;margin-top:8px}.submit-btn:hover{transform:translateY(-1px);box-shadow:0 4px 15px #6c5ce766}.submit-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.result-page{flex:1;padding:24px}.result-profile{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border-radius:16px;margin-bottom:24px;box-shadow:0 2px 8px #0000000f}.result-profile img{width:80px;height:80px;border-radius:50%;object-fit:cover}.result-profile .info{display:flex;flex-direction:column;gap:4px}.result-profile .info .stats{font-size:.9rem;color:#666}.result-profile .info .style-tag{display:inline-block;margin-top:4px;padding:4px 10px;background:#f0edff;color:#6c5ce7;border-radius:8px;font-size:.8rem;font-weight:600}.section-title{font-size:1.1rem;font-weight:700;margin-bottom:16px;color:#1a1a2e}.style-cards{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}.style-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.style-card .card-image{width:100%;height:200px;background:linear-gradient(135deg,#e0e0e0,#f5f5f5);display:flex;align-items:center;justify-content:center;font-size:3rem}.style-card .card-body{padding:16px}.style-card .card-body h3{font-size:1rem;font-weight:700;margin-bottom:6px}.style-card .card-body p{font-size:.85rem;color:#666;line-height:1.5}.style-card .card-body .items{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.style-card .card-body .items span{padding:4px 10px;background:#f0edff;color:#6c5ce7;border-radius:8px;font-size:.75rem;font-weight:500}.tips-list{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}.tip-item{display:flex;gap:12px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.tip-item .tip-icon{font-size:1.5rem;flex-shrink:0}.tip-item .tip-text{font-size:.85rem;color:#444;line-height:1.5}.back-btn{width:100%;height:50px;border:2px solid #6c5ce7;border-radius:14px;background:transparent;color:#6c5ce7;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-bottom:24px}.back-btn:hover{background:#6c5ce7;color:#fff}.loading-page{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:24px}.spinner{width:48px;height:48px;border:4px solid #e0e0e0;border-top-color:#6c5ce7;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-page p{font-size:1rem;color:#666;text-align:center}.error-banner{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff0f0;border:1px solid #ffcdd2;border-radius:12px;color:#d32f2f;font-size:.85rem}.error-banner button{background:none;border:none;color:#d32f2f;font-size:1.2rem;cursor:pointer;padding:0 4px}.report-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:24px;box-shadow:0 2px 8px #0000000f}.report-summary{font-size:.9rem;color:#444;line-height:1.7}.body-type-tag{display:inline-block;margin-top:6px;padding:4px 12px;background:#f0edff;color:#6c5ce7;border-radius:8px;font-size:.8rem;font-weight:600}.body-strengths{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.strength-item{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#444}.strength-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:#e8f5e9;color:#43a047;border-radius:50%;font-size:.75rem;font-weight:700;flex-shrink:0}.body-advice{font-size:.85rem;color:#666;line-height:1.6;padding-top:12px;border-top:1px solid #f0f0f0}.rec-header{margin-bottom:10px}.rec-style-tag{display:inline-block;padding:3px 10px;background:linear-gradient(135deg,#6c5ce7,#a29bfe);color:#fff;border-radius:6px;font-size:.75rem;font-weight:600;margin-bottom:6px}.rec-section{margin-top:14px}.rec-section h4{font-size:.8rem;color:#888;font-weight:600;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.color-palette{display:flex;flex-wrap:wrap;gap:6px}.color-chip{padding:4px 12px;background:#f8f7ff;border:1px solid #e0ddf5;color:#6c5ce7;border-radius:20px;font-size:.75rem;font-weight:500}.rec-section.avoid h4{color:#e57373}.avoid-items span{background:#fff0f0!important;color:#d32f2f!important}.season-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:32px}.season-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 8px #0000000f}.season-header{display:flex;align-items:center;gap:6px;margin-bottom:8px}.season-emoji{font-size:1.2rem}.season-label{font-size:.9rem;font-weight:700;color:#333}.season-card p{font-size:.8rem;color:#666;line-height:1.5}.hairstyle-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 8px #0000000f;margin-bottom:32px}.hairstyle-image{width:100%;display:block;border-radius:16px 16px 0 0}.hairstyle-caption{padding:14px 16px;font-size:.8rem;color:#888;text-align:center}
