.tr-text{overflow-wrap:anywhere;white-space:pre-wrap;flex-direction:column;gap:.2em;min-width:0;display:inline-flex;position:relative}.tr-interactive{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border-radius:var(--radius-sm)}.tr-interactive:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.tr-main{font-size:1em;line-height:1.4}.tr-sub{color:var(--color-muted);font-size:.8em;line-height:1.35}.tr-roman{letter-spacing:.01em;color:var(--color-muted);-webkit-user-select:text;user-select:text;margin-top:.15em;font-size:.78em;line-height:1.35;animation:.2s ease-out tr-fade;display:block}.tr-roman--waiting{height:1px;margin-top:-1px;animation:none}@media (prefers-reduced-motion:reduce){.tr-roman{animation:none}}.tr-own .tr-sub,.tr-pending-label{font-style:italic}.tr-failed{color:var(--color-muted);font-size:.8em}.tr-inline-retry{font:inherit;color:var(--color-accent);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.tr-shimmer{animation:1.8s ease-in-out infinite tr-pulse}@keyframes tr-pulse{50%{opacity:.55}}@keyframes tr-shimmer{0%{background-position:100% 0}to{background-position:-50% 0}}.tr-sheet-backdrop{z-index:1000;background:#1e141959;justify-content:center;align-items:flex-end;animation:.16s ease-out tr-fade;display:flex;position:fixed;inset:0}.tr-sheet{background:var(--color-surface);width:100%;max-width:560px;max-height:85dvh;color:var(--color-text);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding-bottom:env(safe-area-inset-bottom,0);flex-direction:column;animation:.2s ease-out tr-rise;display:flex;box-shadow:0 -8px 30px #00000026}.tr-sheet-handle{width:40px;height:4px;margin:var(--space-2) auto 0;background:color-mix(in srgb, var(--color-muted) 40%, transparent);border-radius:2px}.tr-sheet-header{padding:var(--space-2) var(--space-4);justify-content:space-between;align-items:center;display:flex}.tr-sheet-header h2{margin:0;font-size:1.05rem;font-weight:600}.tr-sheet-body{padding:0 var(--space-4) var(--space-4);overflow-y:auto}@keyframes tr-fade{0%{opacity:0}}@keyframes tr-rise{0%{opacity:.6;transform:translateY(24px)}}.tr-icon-button{border-radius:var(--radius-pill);width:32px;height:32px;color:var(--color-muted);cursor:pointer;background:0 0;border:0;font-size:1.4rem;line-height:1}.tr-button{font:inherit;padding:var(--space-2) var(--space-4);border-radius:var(--radius-pill);background:var(--color-accent);color:#fff;cursor:pointer;border:0;font-size:.9rem}.tr-button:disabled{opacity:.55;cursor:default}.tr-button-quiet{margin-top:var(--space-3);color:var(--color-accent);background:0 0;padding-inline:0}.tr-button-small{padding:var(--space-1) var(--space-3);flex:none;font-size:.8rem}.tr-muted{color:var(--color-muted);font-size:.9rem}.tr-state{align-items:flex-start;gap:var(--space-2);padding-block:var(--space-2);flex-direction:column;display:flex}.tr-skeleton{border-radius:var(--radius-sm);background:linear-gradient(90deg, color-mix(in srgb, var(--color-muted) 15%, transparent) 25%, color-mix(in srgb, var(--color-muted) 30%, transparent) 50%, color-mix(in srgb, var(--color-muted) 15%, transparent) 75%);background-size:200% 100%;width:100%;height:1em;animation:1.4s ease-in-out infinite tr-shimmer}.tr-skeleton-short{width:60%}@media (prefers-reduced-motion:reduce){.tr-shimmer,.tr-skeleton{animation:none}.tr-shimmer{opacity:.6}.tr-sheet,.tr-sheet-backdrop{animation:none}}.tr-action-preview{color:var(--color-muted);margin-bottom:var(--space-2);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9rem;display:-webkit-box;overflow:hidden}.tr-actions{margin:0;padding:0;list-style:none}.tr-actions button{text-align:start;width:100%;font:inherit;padding:var(--space-3) var(--space-1);border:0;border-top:1px solid color-mix(in srgb, var(--color-muted) 18%, transparent);color:var(--color-text);cursor:pointer;background:0 0;font-size:1rem}.tr-explain section+section{margin-top:var(--space-3)}.tr-explain h3{margin:0 0 var(--space-1);text-transform:uppercase;letter-spacing:.04em;color:var(--color-muted);font-size:.75rem;font-weight:600}.tr-explain p{margin:0;line-height:1.5}.tr-notes{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.tr-notes li{flex-direction:column;gap:2px;line-height:1.45;display:flex}.tr-phrase{color:var(--color-accent);font-weight:600}.tr-breakdown-source{margin:0 0 var(--space-3);font-size:1.05rem;line-height:1.5}.tr-words{margin:0;padding:0;list-style:none}.tr-word{align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid color-mix(in srgb, var(--color-muted) 18%, transparent);display:flex}.tr-word-main{align-items:baseline;column-gap:var(--space-2);flex-wrap:wrap;flex:1;row-gap:2px;min-width:0;display:flex}.tr-word-text{font-size:1.15rem;font-weight:600}.tr-word-roman{color:var(--color-accent);font-size:.9rem}.tr-word-meaning{flex-basis:100%;font-size:.9rem}.tr-word-notes{color:var(--color-muted);flex-basis:100%;font-size:.8rem}.tr-tag{border-radius:var(--radius-pill);background:color-mix(in srgb, var(--color-accent) 18%, transparent);color:var(--color-text);padding:0 .5em;font-size:.7rem;display:inline-block}.tr-preview{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--color-surface);border:1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);color:var(--color-text)}.tr-preview-header{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.tr-preview-label{color:var(--color-muted);font-size:.75rem}.tr-preview .tr-icon-button{width:24px;height:24px;font-size:1.1rem}.tr-preview-text{margin:var(--space-1) 0 0;white-space:pre-wrap;line-height:1.45}.tr-preview p{margin:var(--space-1) 0 0}.tr-sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tr-action-seen{margin:0 0 var(--space-2);color:var(--color-muted);font-size:.8rem}.tr-action-seen--waiting{opacity:.75}
