/* ---- Uebersetzung ---- */
.tr .grow{flex:1}
.tr-langs{display:flex;align-items:center;gap:6px;margin-bottom:12px}
.tr-langs .iconbtn.on{color:#facc15}
.tr-langs .iconbtn.on svg{fill:#facc15}
.tr-chips{display:flex;flex-wrap:wrap;gap:8px;margin:-2px 0 12px}
.tr-chip{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:999px;padding:8px 14px;font:inherit;font-size:15px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tr-chip.active{background:var(--accent);border-color:transparent;color:#fff}
.tr-langs select{flex:1;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:14px;color:var(--text);font:inherit;font-size:16px;padding:12px 10px}
.tr-in textarea{width:100%;box-sizing:border-box;resize:none;background:transparent;border:0;outline:none;color:var(--text);font:inherit;font-size:18px;line-height:1.4;min-height:84px;padding:0}
.tr-bar{display:flex;align-items:center;gap:6px;margin-top:10px}
.tr-count{font-size:12px;margin-right:6px}
.tr-out{margin-top:12px;border-color:rgba(168,85,247,.4)}
.tr-lab{font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.tr-text{font-size:18px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.tr-actions{display:flex;align-items:center;gap:2px;margin-top:8px}
.tr-actions .iconbtn.on{color:#facc15}
.tr-actions .iconbtn.on svg{fill:#facc15}
.tr-ok{font-size:13px;margin-left:6px}
.tr-histhead{display:flex;align-items:center;justify-content:space-between;margin:22px 0 10px}
.tr-histhead h2{margin:0;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.tr-fav{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.tr-fav.active{color:var(--text);background:var(--card2)}
.tr-item{margin-bottom:10px;padding-right:56px}
.tr-itemhead{display:flex;justify-content:space-between;font-size:12px;margin-bottom:6px}
.tr-src{color:var(--muted);margin-bottom:6px;white-space:pre-wrap;overflow-wrap:anywhere;cursor:pointer}
.tr-item .tr-text{font-size:16px;cursor:pointer}
.tr-del{position:absolute;right:6px;bottom:6px}
.center-note{text-align:center;padding:24px 12px}
.tr{padding-bottom:150px}
.tr-histtoggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:18px;padding:14px 16px;background:var(--card);border:1px solid var(--line);border-radius:14px;color:var(--text);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.tr-chev{display:inline-flex;transition:transform .2s;color:var(--muted)}
.tr-chev.open{transform:rotate(180deg)}
.tr-hist .tr-histhead{margin:14px 0 10px}
.tr-fab{position:fixed;left:50%;margin-left:-38px;bottom:calc(50px + var(--safe-b) + 16px);width:76px;height:76px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;cursor:pointer;z-index:9;box-shadow:0 8px 28px rgba(0,0,0,.45),0 0 0 6px rgba(168,85,247,.18);-webkit-tap-highlight-color:transparent}
.tr-fab:active{transform:scale(.96)}
.tr-fab.rec{background:#dc2626;box-shadow:0 8px 28px rgba(0,0,0,.45),0 0 0 6px rgba(220,38,38,.25);animation:pulse 1.2s infinite}
@media (min-width:821px){.tr-fab{bottom:32px;left:calc(50% + 115px)}}
