/* Syllable counter */
.sy-opts { gap: 12px 18px; align-items: flex-end; }
.sy-patbox { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.sy-patbox[hidden] { display: none; }
.sy-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.sy-stat { background: var(--bg-subtle); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 6px; text-align: center; }
.sy-stat b { display: block; font: 800 28px/1.1 var(--font-sans); color: var(--accent); }
.sy-stat span { font-size: 12px; color: var(--muted); }
.sy-verdict { font-weight: 700; margin: 8px 0; padding: 8px 12px; border-radius: var(--radius-md); }
.sy-verdict[hidden] { display: none; }
.sy-verdict.sy-ok { background: #e7f6ec; color: #14532d; }
.sy-verdict.sy-bad { background: #fff3e0; color: #7c2d12; }
.sy-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.sy-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-card); }
.sy-n { flex: 0 0 auto; min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 19px; background: var(--accent); color: #fff; font: 800 17px var(--font-sans); padding: 0 6px; }
.sy-body { flex: 1 1 auto; min-width: 0; }
.sy-chips { line-height: 2; font-size: 16px; overflow-wrap: anywhere; }
.sy-w { white-space: nowrap; margin-right: 4px; }
.sy-w sup { font-size: 11px; font-weight: 700; color: var(--accent); margin-left: 1px; }
.sy-est { text-decoration: underline dashed var(--muted); text-underline-offset: 3px; }
.sy-flags { margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sy-badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.sy-badge.sy-ok { background: #e7f6ec; color: #14532d; }
.sy-badge.sy-bad { background: #fff3e0; color: #7c2d12; }
.sy-target { font-size: 12px; color: var(--muted); }
@media (max-width: 520px) { .sy-stats { grid-template-columns: repeat(2, 1fr); } .sy-patbox { min-width: 100%; } }
