.aa-header { margin-bottom: 24px; }
.aa-title { font-size: 28px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.aa-desc { font-size: 15px; color: #6b7280; margin: 0; }

.aa-input { padding: 24px; }
.aa-label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 8px; }
.aa-label + input { margin-bottom: 20px; }

#textInput { width: 100%; padding: 14px 16px; border: 2px solid #e5e7eb; border-radius: 10px; font-size: 16px; }
#textInput:focus { outline: none; border-color: #3b82f6; }

.aa-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-bottom: 20px; }
.aa-font { padding: 12px 8px; border: 1px solid #e5e7eb; border-radius: 8px; background: white; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.aa-font:hover { border-color: #3b82f6; color: #3b82f6; }
.aa-font.active { background: #3b82f6; border-color: #3b82f6; color: white; }

.aa-generate-btn { width: 100%; padding: 14px; background: #3b82f6; color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.aa-generate-btn:hover { background: #2563eb; }

.aa-result { padding: 24px; }
.aa-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.aa-result-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.aa-copy-btn { padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 6px; background: white; font-size: 13px; cursor: pointer; }
.aa-copy-btn:hover { background: #f3f4f6; }
.aa-copy-btn.copied { background: #ecfdf5; border-color: #10b981; color: #10b981; }

.aa-output { background: #1f2937; color: #4ade80; padding: 20px; border-radius: 10px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; line-height: 1.2; overflow-x: auto; white-space: pre; min-height: 100px; }

.aa-guide { padding: 20px; }
.aa-guide h3 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.aa-guide-content { font-size: 14px; line-height: 1.8; color: #374151; }
.aa-guide-content h4 { font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.aa-guide-content ul { padding-left: 20px; }
.aa-guide-content li { margin: 4px 0; }

@media (max-width: 640px) {
    .aa-title { font-size: 22px; }
    .aa-fonts { grid-template-columns: repeat(4, 1fr); }
    .aa-output { font-size: 10px; }
}

@media (prefers-color-scheme: dark) {
    #textInput { background: #1f2937; border-color: #374151; color: #f9fafb; }
    .aa-font { background: #1f2937; border-color: #374151; }
}
