.converter{min-width:0}
.name-form{display:flex;align-items:center;gap:16px;min-height:72px;padding:9px 20px;background:#fff;border:1px solid #d1d5db;border-radius:999px}
.name-form:focus-within{border-color:#60a5fa;box-shadow:0 0 0 1px #93c5fd}
.input-logo{display:block;width:32px;height:32px;flex:none}
.name-form input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#111827;font-size:1rem;font-weight:700}
.name-form input::placeholder{color:#d1d5db;font-weight:600}
.name-form button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:0;border-radius:50%;background:linear-gradient(to top right,#2563eb,#60a5fa);color:#fff}
.name-form button:hover{background:#2563eb}
.form-status{margin:6px 0;color:#b91c1c;font-size:.8rem}.form-status:empty{display:none}
.ad-space{position:relative;background:#fff;overflow:hidden}
.ad-space ins.adsbygoogle{display:block;width:100%;height:100%}
.ad-space::before{content:'광고';position:absolute;top:5px;left:4px;color:#9ca3af;font-size:10px}
.ad-space-top{height:280px;margin:16px 0 0}
.ad-space-result{height:280px}
.ad-space-side{height:600px}
.result-stack{display:grid;gap:16px;margin-top:14px}
.result-card,.options-card,.result-next{background:#fff;border:1px solid #d1d5db;border-radius:16px;overflow:hidden}
.result-card{padding:20px 20px 16px}
.result-topline{margin-bottom:8px;color:#9ca3af;font-size:.75rem;font-weight:500;line-height:16px}
.result-topline span:first-child::before{content:'';display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#0090ff;vertical-align:2px}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.result-heading h2{min-width:0;margin:0;color:#111827;font-size:1.875rem;font-weight:800;letter-spacing:-.04em;line-height:1;word-break:break-word}
.result-actions{display:flex;gap:8px;flex:none}
.result-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;height:40px;padding:0 10px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280;font-size:.75rem;font-weight:700}
.result-actions #copy{border-color:#3b82f6;background:#3b82f6;color:#fff}
.result-actions #share{background:#f3f4f6}
.result-actions button:hover{filter:brightness(.95)}
.warnings p{margin:10px 0 0;padding:9px 11px;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;font-size:.8rem}
.alternatives{margin-top:16px;padding-top:12px;border-top:1px solid #f3f4f6}
.alternatives h3{margin:0 0 8px;color:#9ca3af;font-size:.68rem;font-weight:700}
.alternative-list{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:4px}
.alternative-list button{padding:6px 12px;border:1px solid #f3f4f6;border-radius:12px;background:#f9fafb;color:#4b5563;font-size:.875rem;font-weight:500;line-height:20px;white-space:nowrap}
.alternative-list button:hover{border-color:#93c5fd;color:#2563eb}
.options-card{border-radius:16px}
.choices{display:block}
.choice-group{padding:16px;border-bottom:1px solid #f3f4f6}
.choice-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.choice-head h3{margin:0;color:#1f2937;font-size:.875rem;font-weight:700;letter-spacing:0}
.surname-group .choice-head h3::first-letter{color:#3b82f6}
.choice-badge{flex:none;padding:2px 8px;border:1px solid #f3f4f6;border-radius:999px;background:#f9fafb;color:#9ca3af;font-size:.65rem}
.candidate-list{display:grid;gap:8px}
.candidate{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;text-align:left;overflow:hidden}
.candidate:hover{border-color:#93c5fd;background:#f9fafb}
.candidate[aria-pressed=true]{border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 1px #bfdbfe}
.candidate-bar{position:absolute;inset:0 auto 0 0;background:#d1d5db;opacity:.2}
.candidate[aria-pressed=true] .candidate-bar{background:#60a5fa;opacity:.2}
.candidate::before{position:relative;z-index:1;content:'';width:18px;height:18px;flex:none;border:1px solid #d1d5db;border-radius:50%;background:#fff}
.candidate[aria-pressed=true]::before{border:5px solid #3b82f6}
.candidate-label{position:relative;z-index:1;display:flex;align-items:center;gap:8px;min-width:0}
.candidate-name{color:#374151;font-size:.875rem;font-weight:700;letter-spacing:.02em}
.candidate-badge{padding:2px 6px;border:1px solid #fde68a;border-radius:5px;background:#fffbeb;color:#d97706;font-size:.62rem;font-weight:700;white-space:nowrap}
.candidate-badge:not(:empty):where(.given-group *){border-color:#a7f3d0;background:#ecfdf5;color:#059669}
.candidate-score{position:relative;z-index:1;margin-left:auto;color:#6b7280;font-size:.75rem;font-weight:700}
.choice-note{margin:10px 0 0;color:#6b7280;font-size:.75rem;line-height:1.55}
.candidate-more{margin-top:12px}.candidate-more summary{color:#9ca3af;font-size:.7rem;font-weight:700;cursor:pointer}
.candidate-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.candidate-chip{padding:5px 9px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#4b5563;font-size:.7rem;font-weight:700}
.candidate-chip:hover,.candidate-chip[aria-pressed=true]{border-color:#3b82f6;background:#eff6ff;color:#2563eb}
.given-group .choice-head{justify-content:flex-start}.given-group .choice-head h3{margin-right:3px}
.syllable-label{margin:0 0 8px;color:#9ca3af;font-size:.7rem}
.given-group .candidate-list{gap:6px}.given-group .candidate{min-height:42px;padding:8px 10px}.given-group .candidate::before{width:16px;height:16px}.given-group .candidate[aria-pressed=true]::before{border-width:4px}
.choice-source{margin:0;padding:10px 16px;border-bottom:1px solid #f3f4f6;color:#9ca3af;font-size:.65rem;line-height:1.5}
.option-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid #f3f4f6;color:#4b5563;font-size:.875rem;font-weight:500}
.segment-control{display:flex;gap:2px;padding:4px;border-radius:12px;background:#f3f4f6}
.segment-control button{padding:7px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#6b7280;font-size:.8rem;white-space:nowrap}
.segment-control button[aria-pressed=true]{border-color:#dbeafe;background:#fff;color:#2563eb;font-weight:700}
.advanced-options summary{padding:12px 16px;color:#6b7280;font-size:.875rem;cursor:pointer;list-style:none}.advanced-options summary::after{content:'⌄';float:right}.advanced-options[open] summary::after{content:'⌃'}
.choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 16px}
.choice-row label{color:#6b7280;font-size:.8rem;font-weight:600}.choice-row select{display:block;width:100%;margin-top:4px;padding:8px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#1f2937}
.result-next{margin-top:12px;padding:14px 16px}
.next-kicker{margin:0 0 8px;color:#9ca3af;font-size:.72rem;font-weight:700}
.next-links{display:grid;gap:5px}.next-links a{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid #dbeafe;border-radius:9px;color:#1e3a8a;font-size:.8rem;text-decoration:none}.next-links a:first-child{border-color:#fed7aa}.next-links a strong{font-weight:600}.next-links a span{color:#9ca3af}
.briefing{margin-top:12px;padding:10px 12px;border-radius:8px;background:#f8fafc}.briefing p{margin:0;color:#64748b;font-size:.76rem}.briefing a{font-weight:700}
@media(max-width:900px){.ad-space-side{display:none}}
@media(max-width:620px){.name-form{min-height:56px;padding:7px 13px}.input-logo{width:26px;height:26px;font-size:1.25rem}.name-form button{width:36px;height:36px}.ad-space-top,.ad-space-result{height:200px}.result-card{padding:16px}.result-heading h2{font-size:1.5rem}.result-actions button{min-width:32px;height:32px;border-radius:9px}.result-heading{flex-wrap:wrap}.alternative-list{flex-wrap:nowrap;overflow-x:auto}.alternative-list button{font-size:.75rem}.choice-row{grid-template-columns:1fr}}
