.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tz-intro ul { padding-inline-start: 1.1em; margin: 8px 0; }
.tz-intro li { margin: 4px 0; }
.tz-note { background: var(--soft); border-radius: 12px; padding: 8px 12px; margin: 10px 0; font-weight: 600; }
.tz-best { text-align: center; color: var(--muted); }
.tz-card { scroll-margin-top: 64px; padding: 12px; }
.tz-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.tz-stat { background: var(--soft); border-radius: 14px; padding: 4px 4px 6px; min-width: 0; }
.tz-stat small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-stat .v { font-size: 1.5rem; font-variant-numeric: tabular-nums; unicode-bidi: isolate; line-height: 1.2; }
.tz-bar { height: 8px; border-radius: 99px; background: var(--line); margin: 10px 0; overflow: hidden; }
.tz-bar i { display: block; height: 100%; background: var(--leaf); border-radius: 99px; }
.tz-words { --tz-lines: 3; position: relative; height: calc(var(--tz-lines) * 2.5rem); overflow: hidden; border-radius: 14px; background: var(--bg); border: 2px solid var(--line);
  padding: 0 10px; font-size: 1.35rem; line-height: 2.5rem; font-weight: 600; direction: ltr; text-align: left; user-select: none; -webkit-user-select: none; word-spacing: .15em; }
.tz-words:not([data-ready])::before { content: '…'; color: var(--muted); }
.tz-flow { position: relative; overflow-wrap: anywhere; }
.tz-words .w { padding: 1px 4px; border-radius: 8px; }
.tz-words .w.ok { color: var(--ok); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tz-words .w.no { color: var(--accent); text-decoration: line-through; text-decoration-thickness: 2px; }
.tz-words .w.cur { background: var(--gold); color: #2b2036; box-shadow: 0 0 0 2px var(--gold-edge); }
.tz-words .w.cur.bad { background: #ffb3a6; color: #2b2036; box-shadow: 0 0 0 2px #c93a1c; text-decoration: underline wavy #8c2410; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tz-words[data-over] { opacity: .75; }
.tz-input { margin-top: 10px; font-size: 1.4rem; font-weight: 600; min-height: 56px; border-radius: 16px; border-color: var(--edge); direction: ltr; text-align: left; }
.tz-rate { text-align: center; font-weight: 700; margin: 4px 0 8px; }
.tz-rows { display: grid; gap: 4px; margin: 6px 0; }
.tz-rows > div { display: flex; gap: 10px; align-items: center; background: var(--soft); border-radius: 12px; padding: 6px 12px; }
@media (min-width: 560px) { .tz-words { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .tz-words, .tz-bar i { scroll-behavior: auto; transition: none; } }
