:root {
  --bg: #0f1115;
  --panel: #16191f;
  --card: #1c2028;
  --ink: #e8e6e1;
  --muted: #8a857d;
  --line: #2a2f38;
  --live: #ef4444;
  --ok: #22c55e;
  --amber: #f59e0b;
  --accent: #ff5a4d;

  --meter-ring: #ef4444;
  --meter-glow: rgba(34, 197, 94, 0.55);

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
}

[data-theme="light"] {
  --bg: #f6f4ef;
  --panel: #fffdfa;
  --card: #fffdfa;
  --ink: #191714;
  --muted: #766f66;
  --line: #e9e2d8;
  --live: #b42318;
  --ok: #16803c;
  --amber: #b45309;
  --accent: #d92f22;

  --meter-ring: #b42318;
  --meter-glow: rgba(22, 128, 60, 0.45);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

.app {
  width: min(920px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}


.indicators {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 100;
}

.ind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.25px;
  font-weight: 600;
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.ind.muted { color: var(--muted); background: transparent; border-color: transparent; }

.ind .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #555;
  flex: 0 0 auto;
  transition: background 80ms ease, box-shadow 80ms ease;
}
.ind .dot.ok { background: var(--ok); }
.ind .dot.err { background: var(--live); box-shadow: 0 0 0 3px rgba(239,68,68,0.18); }
.ind .dot.warn { background: var(--amber); }


.ind-text {
  transition: color 80ms ease;
}
.ind-text.ok { color: var(--ok); }
.ind-text.err { color: var(--live); }
.ind-text.warn { color: var(--amber); }

.ind .badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.25px;
  font-weight: 700;
  padding: 1px 5.5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  min-width: 1.7em;
  text-align: center;
}

.ind .badge.backlog-active {
  background: rgba(245, 158, 11, 0.22);
  color: var(--amber);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.playback-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playback-status:empty { display: none; }


.meter {
  --size: 34px;
  --level: 0;
  --signal: 0;
  --ring: var(--meter-ring);

  position: relative;
  width: var(--size);
  height: var(--size);
  border: 1px solid var(--ring);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle,
      rgba(255,255,255,calc(.04 + var(--level)*.38)) 0%,
      rgba(255,238,135,calc(.04 + var(--level)*.78)) 24%,
      rgba(255,132,58,calc(.05 + var(--level)*.68)) 52%,
      rgba(255,244,196,calc(.04 + var(--level)*.42)) 76%,
      rgba(34,197,94,calc(.04 + var(--level)*.18)) 100%),
    #0b0d12;
  isolation: isolate;
  transition: border-color 70ms ease;
  box-shadow:
    inset 0 0 calc(6px + var(--level) * 32px) rgba(255,255,255,calc(.03 + var(--level)*.09)),
    0 0 calc(var(--signal) * 16px) var(--meter-glow);
  flex: 0 0 auto;
}

[data-theme="light"] .meter {
  background:
    radial-gradient(circle,
      rgba(255,255,255,calc(.06 + var(--level)*.35)) 0%,
      rgba(255,238,135,calc(.05 + var(--level)*.72)) 24%,
      rgba(255,132,58,calc(.06 + var(--level)*.62)) 52%,
      rgba(255,244,196,calc(.05 + var(--level)*.38)) 76%,
      rgba(22,128,60,calc(.05 + var(--level)*.16)) 100%),
    #f8f4eb;
  box-shadow:
    inset 0 0 calc(5px + var(--level) * 26px) rgba(0,0,0,calc(.03 + var(--level)*.06)),
    0 0 calc(var(--signal) * 13px) var(--meter-glow);
}

.meter::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255,255,255,.18), transparent 30%),
    radial-gradient(circle at 50% 52%, transparent 40%, rgba(0,0,0,.32) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.meter-label {
  font-size: 9.25px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 1px;
}


.save-wrap { position: relative; margin-left: 4px; }
.save-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.save-btn:hover { background: rgba(255,255,255,0.04); color: var(--ink); }

.save-menu {
  position: fixed;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  padding: 4px;
  z-index: 2000;
  display: none;

  flex-direction: column;
  gap: 2px;
}

.save-menu.open {
  display: flex;

}

.save-menu button {
  width: 100%;
  text-align: left;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  display: block;

}
.save-menu button:hover { background: rgba(255,255,255,0.06); }
.save-menu button:disabled { opacity: .45; cursor: not-allowed; }


.gear-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 2px;
}
.gear-btn:hover { color: var(--ink); background: rgba(255,255,255,0.04); }
.gear-btn svg { width: 15px; height: 15px; }


.btn-row {
  display: flex;
  gap: 8px;
  padding: 11px 12px 8px;
  border-bottom: 1px solid var(--line);
}

.button {
  border-radius: 999px;
  font-weight: 700;
  height: 38px;
  padding: 0 16px;
  font-size: 13.25px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 60ms ease, border-color 80ms ease, box-shadow 80ms ease, background 80ms ease, color 80ms ease;
}
.button:active:not(:disabled) { transform: translateY(0.5px); }

.button.primary {
  background: var(--accent);
  color: white;
  border-color: color-mix(in srgb, var(--accent) 78%, #2a0806);
}
.button.primary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 58%, white);
  background: color-mix(in srgb, var(--accent) 90%, white);
}

.button.secondary {
  background: #252a33;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--line) 55%, var(--ink));
  background: color-mix(in srgb, #252a33 88%, var(--ink));
}
[data-theme="light"] .button.secondary {
  background: #f0e9df;
  color: #191714;
  border-color: #d9d0c3;
}
[data-theme="light"] .button.secondary:hover:not(:disabled) {
  border-color: color-mix(in srgb, #d9d0c3 55%, var(--ink));
  background: #e8e0d4;
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.button.ghost:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--line) 55%, var(--ink));
  background: color-mix(in srgb, var(--card) 88%, var(--ink));
  color: var(--ink);
}
[data-theme="light"] .button.ghost:hover:not(:disabled) {
  background: #e8e0d4;
  border-color: color-mix(in srgb, #d9d0c3 55%, var(--ink));
}

.button:disabled { opacity: .5; cursor: not-allowed; filter: none; }


.listen-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 5px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 13.25px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform 60ms ease, border-color 80ms ease, box-shadow 80ms ease, background 80ms ease;
}
.listen-toggle:hover {
  border-color: color-mix(in srgb, var(--line) 55%, var(--ink));
  background: color-mix(in srgb, var(--card) 88%, var(--ink));
}
.listen-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 2px;
}
.listen-toggle:active { transform: translateY(0.5px); }

.listen-toggle-label {
  line-height: 1;
  letter-spacing: -0.01em;
  user-select: none;
}

.listen-toggle-rail {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--live) 42%, #252a33);
  border: 1px solid color-mix(in srgb, var(--live) 28%, var(--line));
  flex: 0 0 auto;
  transition: background 200ms ease, border-color 200ms ease;
}
.listen-toggle.is-on .listen-toggle-rail {
  background: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 72%, #0a3d1c);
}

.listen-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 200ms ease;
}
.listen-toggle.is-on .listen-toggle-thumb {
  transform: translateX(20px);
}

.listen-toggle.is-pending .listen-toggle-rail {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.45);
}

[data-theme="light"] .listen-toggle {
  background: #f0e9df;
}
[data-theme="light"] .listen-toggle:hover {
  background: #e8e0d4;
}
[data-theme="light"] .listen-toggle-rail {
  background: color-mix(in srgb, var(--live) 30%, #e8dfd2);
  border-color: color-mix(in srgb, var(--live) 22%, #d9d0c3);
}
[data-theme="light"] .listen-toggle.is-on .listen-toggle-rail {
  border-color: color-mix(in srgb, var(--ok) 65%, #0a3d1c);
}


.voice-picker {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  height: 38px;

}
.voice-btn {
  padding: 0 11px;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 80ms ease, color 80ms ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.voice-btn + .voice-btn {
  border-left: 1px solid var(--line);
}
.voice-btn:hover:not(.active) {
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, var(--ink));
}
.voice-btn.active {
  background: var(--accent);
  color: white;
}
.voice-btn.active:hover {
  background: color-mix(in srgb, var(--accent) 90%, white);
}

[data-theme="light"] .voice-picker {
  background: #f0e9df;
}
[data-theme="light"] .voice-btn {
  color: #555;
}
[data-theme="light"] .voice-btn:hover:not(.active) {
  background: #e8e0d4;
  color: #191714;
}
[data-theme="light"] .voice-btn.active {
  background: var(--accent);
  color: white;
}


.lang-select {
  margin-left: 6px;
  height: 38px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 80ms ease, background 80ms ease;
}
.lang-select:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--line) 55%, var(--ink));
  background: color-mix(in srgb, var(--card) 88%, var(--ink));
}
.lang-select:focus {
  border-color: var(--ok);
}

[data-theme="light"] .lang-select {
  background: #f0e9df;
  color: #333;
  border-color: #c9c0b3;
}
[data-theme="light"] .lang-select:hover:not(:disabled) {
  background: #e8e0d4;
  border-color: color-mix(in srgb, #d9d0c3 55%, var(--ink));
}


.trans-view {
  padding: 8px 12px 5px;
  background: var(--card);
  min-height: 125px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phrase {
  font-size: 1.60rem;
  line-height: 1.22;
  letter-spacing: -0.014em;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--ink);
  white-space: normal;
  overflow: hidden;
  min-height: 1.75em;
  max-height: 3.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: center;
}

.phrase.prev { color: color-mix(in srgb, var(--ink) 72%, transparent); font-weight: 500; }
.phrase.next { color: color-mix(in srgb, var(--ink) 78%, transparent); }


.phrase.current {
  background: rgba(34, 197, 94, 0.12);
  font-weight: 600;
  color: var(--ink);
  padding: 7px 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .phrase.current {
  background: rgba(22, 128, 60, 0.08);
}

.trans-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px 9px;
}


.trans-view-orig {
  min-height: 95px;
  padding: 4px 12px 3px;
  gap: 2px;
}
.phrase.orig {
  font-size: 1.56rem;
  line-height: 1.2;
  padding: 3px 8px;
  min-height: 1.4em;
  max-height: 3.0em;
  -webkit-line-clamp: 2;
}
.phrase.orig.prev { color: color-mix(in srgb, var(--ink) 65%, transparent); font-weight: 500; }
.phrase.orig.next { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.phrase.orig.current {
  background: rgba(34, 197, 94, 0.07);
  font-weight: 500;
  padding: 5px 8px;
  box-shadow: none;
}
[data-theme="light"] .phrase.orig.current {
  background: rgba(22, 128, 60, 0.06);
}


.tabs {
  display: flex;
  gap: 2px;
  padding: 0 12px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.tab-btn {
  padding: 8px 14px 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
}
.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ok);
}

.tab-pane { display: none; padding: 10px 14px 14px; background: var(--card); }
.tab-pane.active { display: block; }

.log {
  margin: 0;
  padding: 10px 11px;
  border-radius: 10px;
  background: #111317;
  border: 1px solid var(--line);
  color: #a8a39a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11.25px;
  line-height: 1.38;
  max-height: 168px;
  overflow: auto;
  white-space: pre-wrap;
}
[data-theme="light"] .log {
  background: #fffcf7;
  color: #635c53;
}

.full-text {
  font-size: 0.92rem;
  line-height: 1.38;
  color: var(--ink);
  padding: 4px 2px;
  max-height: 168px;
  overflow: auto;
  white-space: pre-wrap;
}


.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 12, 0.72);
}
.modal.is-hidden { display: none; }

.modal-card {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 22px 24px 20px;
}

.modal-card h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal-card .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 0 6px;
}

.input, .textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111317;
  color: var(--ink);
  padding: 8px 11px;
  font-size: 0.9rem;
  font-family: inherit;
}
[data-theme="light"] .input,
[data-theme="light"] .textarea {
  background: #fffef9;
  color: #191714;
}

.textarea { min-height: 128px; resize: vertical; font-size: 0.86rem; margin-bottom: 8px; }

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink);
}

.switch {
  position: relative;
  width: 42px;
  height: 22px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0;
  background: #333a44;
  border-radius: 999px;
  transition: .2s;
}
.switch .slider:before {
  content: "";
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + .slider { background: var(--ok); }
.switch input:checked + .slider:before { transform: translateX(20px); }


.settings-section {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.settings-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 4px;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
  margin-bottom: 10px;
}

.field-group {
  margin-top: 4px;
}

.catchup-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.catchup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.catchup-row label {
  flex: 1;
  min-width: 0;
}

.catchup-row input {
  width: 58px;
  flex-shrink: 0;
  text-align: right;
}

.catchup-row .unit {
  width: 28px;
  flex-shrink: 0;
  text-align: left;
  color: var(--muted);
  font-size: 0.72rem;
}

.seg-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
  height: 32px;
  flex-shrink: 0;
}

.seg-btn {
  padding: 0 12px;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 80ms ease, color 80ms ease;
  white-space: nowrap;
}

.seg-btn + .seg-btn {
  border-left: 1px solid var(--line);
}

.seg-btn:hover:not(.active) {
  color: var(--ink);
  background: color-mix(in srgb, var(--card) 88%, var(--ink));
}

.seg-btn.active {
  background: var(--accent);
  color: white;
}

.seg-btn.active:hover {
  background: color-mix(in srgb, var(--accent) 90%, white);
}

[data-theme="light"] .seg-switch {
  background: #f0e9df;
}

[data-theme="light"] .seg-btn {
  color: #555;
}

[data-theme="light"] .seg-btn:hover:not(.active) {
  background: #e8e0d4;
  color: #191714;
}

.close-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.close-x:hover { color: var(--ink); }


.api-key-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 12, 0.78);
}
.api-key-modal.is-hidden { display: none; }

.api-key-card {
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 26px 75px rgba(0,0,0,0.4);
}
.api-key-card h1 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}
.api-key-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; }

.api-key-card .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin: 14px 0 8px;
}


.muted { color: var(--muted); }
.hidden { display: none !important; }


@media (max-width: 640px) {
  .app { padding: 12px 0 24px; }
  .indicators { gap: 10px; padding: 7px 9px; }
  .meter { --size: 28px; }
  .phrase { font-size: 1.37rem; max-height: 3.3em; }
  .trans-view { min-height: 112px; }
  .btn-row { padding: 9px 9px 6px; gap: 6px; }
  .button { height: 34px; padding: 0 13px; font-size: 12.5px; }
  .listen-toggle { height: 34px; padding: 0 4px 0 12px; gap: 8px; font-size: 12.5px; }
  .listen-toggle-rail { width: 42px; height: 24px; }
  .listen-toggle-thumb { width: 18px; height: 18px; }
  .listen-toggle.is-on .listen-toggle-thumb { transform: translateX(18px); }
  .voice-picker { height: 34px; }
  .voice-btn { font-size: 11.5px; padding: 0 9px; }
  .lang-select { height: 34px; font-size: 11px; padding: 0 8px; margin-left: 4px; }
  .tab-pane { padding: 8px 10px 12px; }
  .trans-view-orig { min-height: 78px; padding: 3px 9px 1px; }
  .phrase.orig { font-size: 1.44rem; }
}