/* ═══════════════════════════════════════════════════════════════════════
   VOICE CLONE — Voice Print Dossier (Klon hlasu, FBI dossier style)
   ───────────────────────────────────────────────────────────────────────
   3-column layout (ElevenLabs-inspired):
   • LEFT: voice ID badge (animated equalizer) + status + stats + ▶ RECORD btn
   • CENTER: NASTAVENIA HLASU (Slovak labels + 💡 tooltipy + presety)
   • RIGHT: ARCHÍV NAHRÁVOK (vertical voice library list)
   Recording flow je v modal-card overlay (text + briefing + countdown).
   Mood chips napojené na superhuman_voice_settings (shared s audio.js).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── SHARED MOOD CHIPS ──────────────────────────────────────────────── */
.voice-mood-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.voice-mood-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voice-mood-chip:hover {
  background: rgba(102, 217, 255, 0.08);
  border-color: rgba(102, 217, 255, 0.35);
  transform: translateY(-1px);
}
.voice-mood-chip.is-active {
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.18) 0%, rgba(102, 217, 255, 0.04) 100%);
  border-color: rgba(102, 217, 255, 0.7);
  box-shadow: 0 0 16px rgba(102, 217, 255, 0.2), inset 0 0 12px rgba(102, 217, 255, 0.08);
}
.voice-mood-chip-icon { font-size: 18px; }
.voice-mood-chip-label {
  font-size: 13px; font-weight: 700; color: #ffffff;
  letter-spacing: 0.3px;
}
.voice-mood-chip-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}
.voice-mood-chip.is-active .voice-mood-chip-label { color: #66d9ff; }

/* ═══════════════════════════════════════════════════════════════════════
   CONCEPT A — 3-column LAYOUT
   ═══════════════════════════════════════════════════════════════════════ */
.voice-conceptA {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(420px, 1.4fr) minmax(300px, 1fr);
  gap: 20px;
  margin-top: 8px;
  align-items: stretch;     /* všetky stĺpce rovnaká výška = výška CENTER tile-u */
}

/* ── LEFT: voice ID badge + record btn ─────────────────── */
.voiceA-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;   /* badge hore, button dole, stats medzi */
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(102, 217, 255, 0.04) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(102, 217, 255, 0.15);
  border-radius: 14px;
  height: 100%;   /* stretch na výšku CENTER tile-u */
}
.voiceA-badge {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 18px;
}
.voiceA-badge-ring {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(102, 217, 255, 0.25);
  border-radius: 50%;
  animation: voiceA-ring-pulse 3s ease-in-out infinite;
}
.voiceA-badge-ring2 {
  inset: 16px;
  border-color: rgba(102, 217, 255, 0.4);
  animation-delay: 0.6s;
}
@keyframes voiceA-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.05); opacity: 0.85; }
}
.voiceA-badge-eq {
  position: absolute;
  inset: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  overflow: hidden;
}
.voiceA-eq-bar {
  width: 3px;
  height: 30%;
  background: linear-gradient(180deg, #66d9ff 0%, rgba(102, 217, 255, 0.4) 100%);
  border-radius: 2px;
  animation: voiceA-eq 1.4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(102, 217, 255, 0.6);
}
@keyframes voiceA-eq {
  0%, 100% { height: 18%; }
  50%      { height: 78%; }
}
.voiceA-badge-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  filter: drop-shadow(0 0 12px rgba(102, 217, 255, 0.8));
  pointer-events: none;
}
.voiceA-status { text-align: center; margin-bottom: 16px; }
.voiceA-status-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.voiceA-status-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
}
.voiceA-status-value.is-ready { color: #66ff9b; text-shadow: 0 0 12px rgba(102, 255, 155, 0.5); }
.voiceA-status-value.is-pending { color: #ffd96a; text-shadow: 0 0 12px rgba(255, 217, 106, 0.4); }
.voiceA-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(102, 217, 255, 0.15);
  border-bottom: 1px solid rgba(102, 217, 255, 0.15);
  margin-bottom: 16px;
}
.voiceA-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.voiceA-stat span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}
.voiceA-stat strong {
  font-size: 13px;
  color: #66d9ff;
  font-weight: 700;
}

/* ── TURQUOISE CTA RECORD BUTTON (pod stats v left column) ── */
.voiceA-cta-record {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  border: none;
  border-radius: 10px;
  color: #0a0a0c;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.voiceA-cta-record:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 212, 170, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4);
}
.voiceA-cta-record:active:not(:disabled) { transform: translateY(0); }
.voiceA-cta-record:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  box-shadow: none;
}
.voiceA-cta-record-icon { font-size: 18px; }
.voiceA-cta-record-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
  letter-spacing: 0.5px;
}
.voiceA-record-cap-warn {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 184, 106, 0.1);
  border: 1px solid rgba(255, 184, 106, 0.3);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #ffb86a;
  text-align: center;
  line-height: 1.4;
}

/* ── CENTER: NASTAVENIA HLASU (sliders + presets) ─────── */
.voiceA-center {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.voiceA-settings-tile {
  flex: 1;             /* fill column height */
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.04) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(102, 217, 255, 0.22);
  border-radius: 12px;
  overflow: visible;   /* tooltipy môžu prečnievať z tile-u */
}
.voiceA-tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(102, 217, 255, 0.12);
  border-radius: 12px 12px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #66d9ff;
  letter-spacing: 2px;
}
.voiceA-tile-icon { font-size: 15px; }
.voiceA-tile-sub {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: none;
}
.voiceA-settings-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Model badge — like ElevenLabs "V2 / Eleven Multilingual v2" pill */
.voiceA-model-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.voiceA-model-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  background: linear-gradient(135deg, #66d9ff 0%, #4abfdc 100%);
  color: #0a0a0c;
  border-radius: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}
.voiceA-model-meta { display: flex; flex-direction: column; gap: 1px; }
.voiceA-model-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}
.voiceA-model-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

/* ── 💡 TOOLTIP (žiarovka pri label-i, hover ukáže popis) ── */
.voiceA-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  font-size: 11px;
  cursor: help;
  opacity: 0.55;
  transition: opacity 0.15s, transform 0.15s;
  position: relative;
  vertical-align: middle;
}
.voiceA-tip:hover { opacity: 1; transform: scale(1.15); }
.voiceA-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  max-width: 320px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.98) 0%, rgba(10, 10, 14, 0.98) 100%);
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  letter-spacing: 0.1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 212, 170, 0.15);
  white-space: normal;
}
.voiceA-tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 212, 170, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 101;
}
.voiceA-tip:hover::after,
.voiceA-tip:hover::before {
  opacity: 1;
}

/* ── SLIDER ROW (ElevenLabs-style) ─────────────────────── */
.voiceA-slider-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.voiceA-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.voiceA-slider-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}
.voiceA-slider-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #66d9ff;
  padding: 2px 8px;
  background: rgba(102, 217, 255, 0.1);
  border-radius: 4px;
  min-width: 48px;
  text-align: center;
}
.voiceA-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 4px 0 2px;
}
.voiceA-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.voiceA-slider::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}
.voiceA-slider::-moz-range-progress {
  height: 4px;
  background: rgba(102, 217, 255, 0.6);
  border-radius: 2px;
}
.voiceA-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 2px solid #66d9ff;
  border-radius: 50%;
  cursor: grab;
  margin-top: -6px;
  box-shadow: 0 0 8px rgba(102, 217, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.voiceA-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 0 14px rgba(102, 217, 255, 0.8); }
.voiceA-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.2); }
.voiceA-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 2px solid #66d9ff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 8px rgba(102, 217, 255, 0.5);
}
.voiceA-slider-scale {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

/* ── PRESETS DIVIDER ──────────────────────────────────── */
.voiceA-presets-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  margin-top: 4px;
  border-top: 1px dashed rgba(102, 217, 255, 0.2);
}
.voiceA-presets-divider-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #66d9ff;
  letter-spacing: 2px;
  padding-top: 6px;
}
.voiceA-presets-custom {
  margin-left: auto;
  padding: 4px 10px;
  background: rgba(255, 184, 106, 0.12);
  border: 1px solid rgba(255, 184, 106, 0.35);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #ffb86a;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}
.voiceA-presets-hint {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.18);
  border-radius: 8px;
  margin-top: 4px;
}
.voiceA-presets-hint strong { color: #00d4aa; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════
   RIGHT COLUMN — ARCHÍV NAHRÁVOK (ElevenLabs voice library style)
   ═══════════════════════════════════════════════════════════════════════ */
.voiceA-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.voiceA-archive-tile {
  flex: 1;                      /* fill column height */
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;                /* allow flex children to shrink */
}
.voiceA-archive-list {
  flex: 1;                      /* archive scrolls within tile */
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  min-height: 0;
}
.voiceA-archive-empty {
  padding: 32px 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.voiceA-archive-empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
  opacity: 0.4;
}
.voiceA-archive-empty-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}
.voiceA-archive-empty-sub {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}
.voiceA-archive-empty-sub strong { color: #00d4aa; font-weight: 700; }

.voiceA-archive-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.15s ease;
}
.voiceA-archive-item:hover {
  border-color: rgba(102, 217, 255, 0.3);
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.voiceA-archive-item.is-default {
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.voiceA-archive-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.voiceA-archive-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  outline: none;
  border-radius: 4px;
  padding: 2px 4px;
  margin-left: -4px;
  cursor: text;
  transition: background 0.12s;
}
.voiceA-archive-item-name:hover  { background: rgba(255, 255, 255, 0.05); }
.voiceA-archive-item-name:focus  { background: rgba(102, 217, 255, 0.1); }
.voiceA-archive-item-default {
  padding: 2px 7px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 1px;
}
.voiceA-archive-item-placeholder {
  padding: 2px 7px;
  background: rgba(255, 155, 107, 0.12);
  border: 1px solid rgba(255, 155, 107, 0.3);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  color: #ff9b6b;
  letter-spacing: 1px;
}
.voiceA-archive-item-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}
.voiceA-archive-bar {
  flex: 1;
  background: linear-gradient(180deg, #66d9ff 0%, rgba(102, 217, 255, 0.3) 100%);
  border-radius: 1px;
  opacity: 0.8;
}
.voiceA-archive-item.is-default .voiceA-archive-bar {
  background: linear-gradient(180deg, #ffd700 0%, rgba(255, 215, 0, 0.3) 100%);
}
.voiceA-archive-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voiceA-archive-item-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
}
.voiceA-archive-item-actions {
  display: flex;
  gap: 4px;
}
.voiceA-archive-item-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voiceA-archive-item-btn:hover {
  background: rgba(102, 217, 255, 0.1);
  border-color: rgba(102, 217, 255, 0.3);
  color: #66d9ff;
}
.voiceA-archive-item-btn.is-star-active {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.1);
}
.voiceA-archive-item-btn-danger:hover {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.4);
  color: #ff8a8a;
}

/* Responsive — pod 1400px 2-col, pod 1000px 1-col */
@media (max-width: 1400px) {
  .voice-conceptA { grid-template-columns: minmax(280px, 320px) 1fr; }
  .voiceA-right   { grid-column: 1 / -1; order: 3; }
  .voiceA-archive-list { max-height: none; }
}
@media (max-width: 1000px) {
  .voice-conceptA { grid-template-columns: 1fr; }
  .voiceA-center, .voiceA-right { grid-column: 1; order: initial; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RECORDING MODAL (state: recording + preview)
   Centered card s text + briefing + countdown + waveform + stop btn
   ═══════════════════════════════════════════════════════════════════════ */
.voice-modal-backdrop {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at center, rgba(102, 217, 255, 0.04) 0%, transparent 70%);
}
.voice-modal-card {
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.95) 0%, rgba(12, 14, 18, 0.95) 100%);
  border: 1px solid rgba(102, 217, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(102, 217, 255, 0.15);
  overflow: hidden;
  animation: voice-modal-in 0.3s ease-out;
}
@keyframes voice-modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.voice-modal-head {
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(102, 217, 255, 0.15);
  text-align: center;
}
.voice-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 800;
  color: #66d9ff;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(102, 217, 255, 0.4);
}
.voice-modal-title-icon { font-size: 18px; }
.voice-modal-rec-dot {
  width: 12px; height: 12px;
  background: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.8);
  animation: voice-rec-pulse 1.2s ease-in-out infinite;
}
@keyframes voice-rec-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}
.voice-modal-sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}
.voice-modal-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.voice-modal-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #66d9ff;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.voice-modal-text-section {
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(102, 217, 255, 0.18);
  border-radius: 10px;
}
.voice-modal-text-content {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}
.voice-modal-briefing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.voice-modal-briefing-tag {
  padding: 3px 8px;
  background: rgba(0, 212, 170, 0.2);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #00d4aa;
  letter-spacing: 1px;
}
.voice-modal-briefing-item { font-weight: 500; }
.voice-modal-briefing-sep { color: rgba(255, 255, 255, 0.25); }

.voice-modal-countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
}
.voice-modal-countdown-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #66d9ff;
  text-shadow: 0 0 20px rgba(102, 217, 255, 0.5);
  letter-spacing: -2px;
}
.voice-modal-countdown-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  margin-top: -4px;
}
.voice-modal-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 56px;
  padding: 8px 0;
}
.voice-rec-wave-bar {
  width: 4px;
  height: 30%;
  background: linear-gradient(180deg, #66d9ff 0%, rgba(102, 217, 255, 0.3) 100%);
  border-radius: 2px;
  animation: voice-rec-wave 1.2s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(102, 217, 255, 0.5);
}
@keyframes voice-rec-wave {
  0%, 100% { height: 12%; }
  50%      { height: 90%; }
}
.voice-modal-progress {
  width: 100%;
  max-width: 480px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.voice-modal-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #66d9ff 0%, #4abfdc 100%);
  border-radius: 2px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(102, 217, 255, 0.5);
}
.voice-modal-stop-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.85) 0%, rgba(200, 40, 30, 0.85) 100%);
  border: 1px solid rgba(255, 59, 48, 0.5);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.3);
}
.voice-modal-stop-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 59, 48, 0.5);
}
.voice-modal-stop-icon { font-size: 14px; }

/* PREVIEW modal-card */
.voice-modal-preview-box {
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(102, 217, 255, 0.18);
  border-radius: 10px;
  text-align: center;
}
.voice-modal-preview-player {
  width: 100%;
  margin-bottom: 10px;
}
.voice-modal-preview-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
}
.voice-modal-action-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.voice-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voice-modal-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.voice-modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.voice-modal-btn-primary {
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  color: #0a0a0c;
  box-shadow: 0 0 16px rgba(0, 212, 170, 0.35);
}
.voice-modal-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 212, 170, 0.5);
}

/* ── PREPARING STATE (modal čaká na mic permission) ────────────────── */
.voice-modal-prep-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.06) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 10px;
  text-align: center;
}
.voice-modal-prep-icon {
  font-size: 48px;
  animation: voice-prep-pulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(0, 212, 170, 0.5));
}
@keyframes voice-prep-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.1); opacity: 1; }
}
.voice-modal-prep-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #00d4aa;
  letter-spacing: 0.3px;
  text-shadow: 0 0 12px rgba(0, 212, 170, 0.3);
}
.voice-modal-prep-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 480px;
}
.voice-modal-prep-sub strong { color: #00d4aa; font-weight: 700; }
.voice-modal-prep-cancel {
  margin-top: 6px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voice-modal-prep-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Title-line spinner — alternative k red REC dot keď je preparing */
.voice-modal-prep-spinner {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 170, 0.25);
  border-top-color: #00d4aa;
  animation: voice-prep-spin 0.9s linear infinite;
}
@keyframes voice-prep-spin {
  to { transform: rotate(360deg); }
}

/* ── IDLE STATE (modal otvorený, user číta text, žiadny mic popup zatiaľ) ── */
.voice-modal-idle-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(102, 217, 255, 0.6));
}
.voice-modal-idle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 10px;
  text-align: center;
}
.voice-modal-idle-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}
.voice-modal-idle-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 520px;
}
.voice-modal-idle-sub strong { color: #00d4aa; font-weight: 700; }
.voice-modal-idle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  border: none;
  border-radius: 10px;
  color: #0a0a0c;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
}
.voice-modal-idle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.6), 0 6px 16px rgba(0, 0, 0, 0.4);
}
.voice-modal-idle-btn:active { transform: translateY(0); }
.voice-modal-idle-btn-icon { font-size: 16px; }

/* ── REAL WAVEFORM BARS (decoded from audio_base64 via Web Audio API) ── */
/* Override starých chunky .voice-archive-bar — thin mirror-aligned bars */
.voice-archive-waveform {
  display: flex !important;
  align-items: center !important;   /* center-mirror look (bars extend up+down) */
  gap: 1px;
  height: 40px;
  flex: 1;
  min-width: 0;
  padding: 0 6px;
  overflow: hidden;
}
.voice-archive-bar-real {
  width: 2px;
  background: linear-gradient(180deg,
    rgba(102, 217, 255, 0.35) 0%,
    #66d9ff 50%,
    rgba(102, 217, 255, 0.35) 100%);
  border-radius: 1px;
  flex-shrink: 0;
  transition: height 0.2s ease;
}
.voice-archive-card.is-default .voice-archive-bar-real {
  background: linear-gradient(180deg,
    rgba(255, 215, 0, 0.4) 0%,
    #ffd700 50%,
    rgba(255, 215, 0, 0.4) 100%);
  box-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
}
/* Placeholder kým async decode beží — pulse animácia signalizuje loading */
.voice-archive-bar-placeholder {
  opacity: 0.35;
  animation: voice-wf-loading 1.4s ease-in-out infinite;
}
@keyframes voice-wf-loading {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.7; }
}

/* ── PLAY BUTTON v archive — playing state (⏸ pause icon) ─────────── */
.voice-archive-btn-play.is-playing {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.25) 0%, rgba(0, 212, 170, 0.1) 100%);
  border-color: rgba(0, 212, 170, 0.6);
  color: #00d4aa;
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.4);
  animation: voice-play-pulse 1.4s ease-in-out infinite;
}
@keyframes voice-play-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 170, 0.4); }
  50%      { box-shadow: 0 0 16px rgba(0, 212, 170, 0.7); }
}

/* ── HUSTÝ WAVEFORM (200 bar-ov, flex distribution naprieč šírkou) ── */
/* Override: bars používajú flex: 1 1 0 takže 200 bar-ov perfektne vyplní
   celú šírku archive card-u — matchuje ElevenLabs / Suno style fine waveform */
.voice-archive-waveform .voice-archive-bar-real {
  flex: 1 1 0 !important;
  min-width: 1px;
  width: auto !important;
}
.voice-archive-waveform {
  gap: 0 !important;
  padding: 0 8px !important;
}

/* ── STOP BUTTON (jasne červený, square ⏹ icon) — override is-playing ── */
.voice-archive-btn-play.is-playing {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.3) 0%, rgba(255, 59, 48, 0.12) 100%) !important;
  border-color: rgba(255, 59, 48, 0.7) !important;
  color: #ff6b6b !important;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.5) !important;
  font-size: 14px;
  font-weight: 700;
  animation: voice-stop-pulse 1.2s ease-in-out infinite !important;
}
@keyframes voice-stop-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 59, 48, 0.4); transform: scale(1); }
  50%      { box-shadow: 0 0 18px rgba(255, 59, 48, 0.8); transform: scale(1.08); }
}

/* ── TEST PLAYGROUND TILE (pod archívom v RIGHT column) ──────────── */
.voiceA-test-tile {
  flex-shrink: 0;                   /* fixed height — nech archive ostane dominantný */
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.04) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(102, 217, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
}
.voiceA-test-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
  min-height: 64px;
  max-height: 200px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.voiceA-test-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}
.voiceA-test-textarea:focus {
  border-color: rgba(102, 217, 255, 0.5);
  background: rgba(102, 217, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(102, 217, 255, 0.08);
}
.voiceA-test-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
}
.voiceA-test-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.7);
}
.voiceA-test-cost { color: #ffd96a; border-color: rgba(255, 217, 106, 0.2); margin-left: auto; }
.voiceA-test-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.22) 0%, rgba(102, 217, 255, 0.08) 100%);
  border: 1px solid rgba(102, 217, 255, 0.5);
  border-radius: 8px;
  color: #66d9ff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.voiceA-test-btn:hover:not(:disabled) {
  background: rgba(102, 217, 255, 0.28);
  border-color: rgba(102, 217, 255, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(102, 217, 255, 0.25);
}
.voiceA-test-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.voiceA-test-btn.is-playing {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.28) 0%, rgba(255, 59, 48, 0.1) 100%);
  border-color: rgba(255, 59, 48, 0.7);
  color: #ff6b6b;
  animation: voice-stop-pulse 1.2s ease-in-out infinite;
}
.voiceA-test-empty {
  text-align: center;
  padding: 22px 14px;
  color: rgba(255, 255, 255, 0.45);
}
.voiceA-test-empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.voiceA-test-empty-text {
  font-size: 12px;
  line-height: 1.5;
}
.voiceA-test-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(102, 217, 255, 0.25);
  border-top-color: #66d9ff;
  border-radius: 50%;
  animation: voice-prep-spin 0.9s linear infinite;
}

/* ── ELEVENLABS STATUS — viditeľné že klon je live ─────────────────────── */
/* AKTÍVNY pill v archive card header (vedľa DEFAULT) */
.voiceA-archive-item-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.5);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: #00d4aa;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.voiceA-archive-item-active::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d4aa;
  box-shadow: 0 0 6px rgba(0, 212, 170, 0.8);
  animation: voice-active-pulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes voice-active-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ElevenLabs voice ID v karte — monospace, decent */
.voiceA-archive-item-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 10px;
}
.voiceA-archive-item-id code {
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
}

/* Sync indicator pod VOICE PRINT status — explicit dôkaz že je v ElevenLabs */
.voiceA-status-sync {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #00d4aa;
  letter-spacing: 0.8px;
  text-shadow: 0 0 8px rgba(0, 212, 170, 0.3);
}
.voiceA-status-sync.is-pending {
  color: rgba(255, 217, 106, 0.65);
  text-shadow: none;
}

/* ── Test playground meta labels (professional, ElevenLabs-style) ───── */
.voiceA-test-meta-label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-right: 4px;
}
.voiceA-test-meta-item strong {
  color: #ffffff;
  font-weight: 700;
}

/* ── PAGE HEADER s context indikátorom (Klon hlasu pre: Michael) ────── */
.voice-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.voice-page-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(102, 217, 255, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(102, 217, 255, 0.25);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.voice-page-context-label {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}
.voice-page-context-name {
  color: #66d9ff;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(102, 217, 255, 0.4);
}

/* ── ARCHIVE ITEM WAVEFORM (live renderer container) — flex distribution ── */
/* Predtým bolo cieľované len .voice-archive-waveform (dead helper) — bars
   vytekali z karty. Teraz aj voiceA-archive-item-waveform má rovnaký flex
   layout, takže 200 thin bars sa rovnomerne rozprestrú a NEvyleznú. */
.voiceA-archive-item-waveform {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 8px !important;
  height: 40px;
  flex: 1;
  min-width: 0;
  overflow: hidden;       /* safety net — ak by sa náhodou prerátal, nevylezie */
}
.voiceA-archive-item-waveform .voice-archive-bar-real {
  flex: 1 1 0 !important;
  min-width: 1px;
  width: auto !important;
  background: linear-gradient(180deg,
    rgba(102, 217, 255, 0.35) 0%,
    #66d9ff 50%,
    rgba(102, 217, 255, 0.35) 100%);
  border-radius: 1px;
  flex-shrink: 1;
}
.voiceA-archive-item.is-default .voiceA-archive-item-waveform .voice-archive-bar-real {
  background: linear-gradient(180deg,
    rgba(255, 215, 0, 0.4) 0%,
    #ffd700 50%,
    rgba(255, 215, 0, 0.4) 100%);
}

/* ── V3 ALPHA MODEL BADGE (purple/violet pre experimental vibe) ────── */
.voiceA-model-tag-v3 {
  background: linear-gradient(135deg, #c89aff 0%, #9b6dd8 100%) !important;
  color: #1a0a2e !important;
  box-shadow: 0 0 12px rgba(200, 154, 255, 0.4);
}
.voiceA-model-alpha {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: rgba(200, 154, 255, 0.15);
  border: 1px solid rgba(200, 154, 255, 0.4);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #c89aff;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
}
