/* 字體產生器 */
.fg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fg-field { display: block; }
.fg-field textarea { display: block; width: 100%; min-height: 72px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 1.2rem; background: #fff; color: var(--fg); resize: vertical; }
.fg-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.fg-card { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 12px; background: #fff; min-width: 0; }
.fg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.fg-head strong { font-size: 1rem; color: var(--brand-dark); }
.fg-note { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.fg-out { margin: 4px 0 8px; min-height: 2.2em; padding: 6px 10px; border-radius: 8px; background: var(--soft); font-size: 1.3rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.fg-copy { width: 100%; }
@media (min-width: 640px) {
  .fg-list { grid-template-columns: 1fr 1fr; }
}
