.tr-mode-equal .tr-divided{border-top:1px solid color-mix(in srgb, currentColor 18%, transparent);margin-top:.1em;padding-top:.3em}.tr-mode-original .tr-sub{font-style:italic}.tr-veil{border-radius:var(--radius-sm);display:block;position:relative}.tr-blur{filter:blur(6px);opacity:.75;pointer-events:none;display:block}.tr-veil-hint{white-space:nowrap;color:var(--color-accent-strong);background:color-mix(in srgb, var(--color-surface) 88%, transparent);border-radius:999px;padding:.15em .7em;font-size:.72rem;font-style:normal;font-weight:600;line-height:1.5;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 1px 4px #0000001f}.tr-revealed{animation:.35s ease-out tr-reveal}@keyframes tr-reveal{0%{filter:blur(6px);opacity:.6}to{filter:none;opacity:1}}@media (prefers-reduced-motion:reduce){.tr-revealed{animation:none}}.tr-seg{border-radius:4px;transition:background-color .15s}.tr-seg.is-spoken{background:color-mix(in srgb, var(--color-accent) 20%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--color-accent) 20%, transparent)}.tr-seg.is-active{background:color-mix(in srgb, var(--color-accent) 32%, transparent);box-shadow:0 0 0 2px color-mix(in srgb, var(--color-accent) 32%, transparent)}.trw-layer{z-index:60;position:fixed;inset:0}.trw-card{color:var(--color-text);background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;flex-direction:column;gap:6px;padding:12px 14px 10px;animation:.16s ease-out trw-in;display:flex;position:fixed;box-shadow:0 10px 30px #501e322e}@keyframes trw-in{0%{opacity:0;transform:translateY(4px)scale(.98)}}.trw-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.trw-word{overflow-wrap:anywhere;font-size:1.35rem;font-weight:650;line-height:1.25}.trw-word:lang(th){line-height:var(--line-height-thai-min)}.trw-close{margin:-4px -6px 0 0}.trw-roman{color:var(--color-accent-strong);margin:0;font-size:.92rem}.trw-meaning{margin:0;font-size:1rem;line-height:1.4}.trw-notes,.trw-muted,.trd-mode-hint,.trd-hint{color:var(--color-muted);margin:0;font-size:.82rem;line-height:1.4}.trw-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.trw-loading{min-height:40px;color:var(--color-muted);align-items:center;gap:10px;font-size:.88rem;display:flex}.trw-save{width:100%;margin-top:4px}.trw-link{font:inherit;color:var(--color-accent-strong);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:4px 0;font-size:.85rem;font-weight:600}.trd-options{flex-direction:column;gap:14px;display:flex}.trd-modes,.trd-settings{flex-direction:column;gap:8px;display:flex}.trd-mode{border:1.5px solid var(--color-border);color:inherit;font:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border-radius:16px;align-items:center;gap:12px;padding:10px 12px;transition:border-color .15s,background-color .15s;display:flex}.trd-mode.is-active{border-color:var(--color-accent);background:var(--color-accent-soft)}.trd-preview{background:var(--color-surface-2);border-radius:12px 12px 12px 4px;flex-direction:column;flex:none;justify-content:center;gap:4px;width:44px;height:36px;padding:6px 7px;display:flex}.trd-preview span{background:color-mix(in srgb, currentColor 55%, transparent);border-radius:3px;display:block}.trd-preview--translation span:first-child,.trd-preview--original span:first-child{height:7px}.trd-preview--translation span:last-child,.trd-preview--original span:last-child{opacity:.5;width:70%;height:4px}.trd-preview--original span:first-child{background:var(--color-accent)}.trd-preview--equal span{height:5px}.trd-preview--equal span:last-child{box-shadow:0 -2px 0 -1px color-mix(in srgb, currentColor 30%, transparent);background:var(--color-accent)}.trd-mode-text{flex-direction:column;gap:2px;min-width:0;display:flex}.trd-mode-title{font-weight:650}.trd-practice{flex-direction:column;gap:4px;display:flex}.trd-settings .card-title{margin:0}
