:root{--bg:#fffaf5;--card:#ffffff;--accent:#ff7aa2;--muted:#6b6b6b}
*{box-sizing:border-box;font-family:Apple SD Gothic Neo, Noto Sans KR, sans-serif}
html,body{width:100%;height:100%;margin:0;padding:0}
body{background:linear-gradient(180deg,#fffaf5,#fff);color:#222;overflow-x:hidden}
.container{max-width:100%;padding:16px;padding-bottom:40px;margin:0 auto}
.header{text-align:center;margin-bottom:28px}
.header h1{margin:0 0 6px 0;font-size:26px;color:#222;font-weight:700}
.subtitle{margin:0;font-size:14px;color:var(--muted)}
.form-section{background:var(--card);padding:20px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.08);margin-bottom:20px}
.form-group{margin-bottom:16px;display:flex;flex-direction:column}
.form-group:last-child{margin-bottom:0}
.form-group label{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:0.5px}
input,select{width:100%;padding:14px;border-radius:8px;border:1px solid #e0e0e0;font-size:16px;appearance:none;background:white}
input:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,122,162,0.1)}
button{width:100%;padding:14px;border-radius:8px;border:none;font-size:16px;font-weight:600;cursor:pointer;transition:all 0.2s ease;min-height:50px}
.btn-primary{background:var(--accent);color:#fff;margin-top:8px}
.btn-primary:active{transform:scale(0.98);opacity:0.9}
.btn-secondary{background:#f0f0f0;color:#333;margin-top:12px}
.btn-secondary:active{background:#e0e0e0}
.hidden{display:none}
.result-section{margin-bottom:20px}
.result-title{text-align:center;margin:0 0 20px 0;font-size:20px;color:#222;font-weight:700}
.card{display:flex;flex-direction:column;gap:16px;background:linear-gradient(135deg,#fff,#fffaf0);padding:16px;border-radius:12px;border:1px solid #f0e6e6;box-shadow:0 4px 12px rgba(0,0,0,0.06)}
.card-image{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block}
.card-body{display:flex;flex-direction:column;gap:12px}
.dessert-name{margin:0;font-size:20px;font-weight:700;color:#222}
.dessert-desc{margin:0;font-size:14px;color:#666;line-height:1.6}
.personality-section{padding-top:12px;border-top:2px solid #f0e6e6}
.personality-section h4{margin:0 0 8px 0;font-size:11px;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:0.5px}
.personality-text{margin:0;font-size:13px;color:#555;line-height:1.7;max-height:300px;overflow-y:auto}
@media(max-width:768px){.container{padding:12px;padding-bottom:30px}.header h1{font-size:22px}.form-section{padding:16px}.card{padding:14px;gap:12px}}
