/* フォント変換の配置 */
.fc-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.fc-nav a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); background: var(--surface); }
.fc-nav a[aria-current=page] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.fc-cats { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 8px; }
.fc-cats button { font: inherit; font-size: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.fc-cats button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
.fc-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fc-name { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-weight: 600; }
.fc-out { font-size: 20px; overflow-wrap: anywhere; white-space: pre-wrap; min-height: 1.5em; }
.fc-note { grid-column: 1 / -1; margin: 0; }
.fc-wide { flex: 2 1 260px !important; }
.fc-canvas { background: repeating-conic-gradient(var(--line) 0 25%, transparent 0 50%) 0 0 / 16px 16px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; overflow: auto; text-align: center; }
.fc-canvas canvas { max-width: 100%; height: auto; }
.fc-compare { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 8px; }
.fc-cmp { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; font: inherit; color: var(--text); overflow: hidden; }
.fc-cmp:hover { border-color: var(--accent); }
.fc-cmp canvas { max-width: 100%; height: auto; }
.row > .field { flex: 1 1 140px; }
input[type=color] { width: 100%; height: 42px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
#in { min-height: 76px; font-size: 18px; }
