/* Pauza alertů (core/alerts-pause.js): záložka „Různé“ admin panelu + varování ve formulářích TTS. Addon i web. */
.uc-ap-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
/* Tlačítko jako boční záložka admin panelu (gif.css .uc-ep-tab): ikona nad popiskem, čtverec. */
.uc-ap-btn {
  position: relative; width: 64px; aspect-ratio: 1; padding: 6px 2px 7px; border-radius: 8px;
  border: 1px solid rgba(255, 140, 0, .45); background: var(--bg-tertiary, #1f1f23); color: var(--accent-light, #ffc800);
  font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.uc-ap-btn:hover:not(:disabled) { background: var(--bg-hover, #26262c); }
.uc-ap-btn:disabled { opacity: .55; cursor: default; }
.uc-ap-ico { display: inline-flex; width: 22px; height: 22px; transition: opacity 150ms ease, filter 150ms ease; }
.uc-ap-ico svg { width: 100%; height: 100%; }
.uc-ap-name { line-height: 1; }
/* Pauza: ikona i popisek ztmavnou, přes roh trojúhelník s vykřičníkem. */
.uc-ap-btn.paused { color: var(--text-muted, #8a8a94); border-color: rgba(255, 179, 0, .55); background: rgba(0, 0, 0, .25); }
.uc-ap-btn.paused .uc-ap-ico { opacity: .45; filter: grayscale(1); }
.uc-ap-badge { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; display: inline-flex; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); pointer-events: none; }
.uc-ap-badge[hidden] { display: none; }
.uc-ap-badge svg { width: 100%; height: 100%; }
.uc-ap-err[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .uc-ap-btn, .uc-ap-ico { transition: none; } }

/* Varování „TTS je pozastavené“ nad zprávou (QR Dono) / nad polem (`!tts`). */
.uc-ap-warn {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; padding: 7px 10px; border-radius: 8px;
  border: 1px solid rgba(255, 179, 0, .45); background: rgba(255, 179, 0, .1); color: #ffd27a; font-size: 12px; line-height: 1.4; font-weight: 600;
}
.uc-ap-warn-i { flex: none; width: 16px; height: 16px; display: inline-flex; margin-top: 1px; }
.uc-ap-warn-i svg { width: 100%; height: 100%; }
.uc-qd-pausewarn:empty { display: none; }
.uc-qd-st-note { display: block; margin-top: 4px; color: #ffd27a; font-size: 12px; font-weight: 600; }

/* `!tts` při pauze alertů (core/alerts-pause.js createTtsPauseGate): výrazný pruh nad polem, natažený = červený. */
.uc-ap-gate-host { display: flow-root; }   /* okraje pruhu uvnitř → offsetHeight = celá výška pro --uc-ap-gate-h */
.uc-ap-gate-host[hidden] { display: none; }
/* Našeptávač nad polem se při pruhu posune nad něj (výšku nastaví createTtsPauseGate). */
#input-area > #emote-suggest { bottom: calc(100% + var(--uc-ap-gate-h, 0px)); }
.uc-ap-gate {
  display: flex; align-items: center; gap: 10px; margin: 6px 8px 4px; padding: 10px 12px; border-radius: 10px;
  border: 2px solid #ffb300; background: linear-gradient(135deg, rgba(255, 179, 0, .22), rgba(255, 120, 0, .12));
  color: #ffe2a3; box-shadow: 0 0 14px rgba(255, 170, 0, .35); animation: uc-ap-gate-in 220ms ease-out;
}
.uc-ap-gate.armed { border-color: #ff4d4d; background: linear-gradient(135deg, rgba(255, 60, 60, .28), rgba(180, 20, 20, .16)); color: #ffd0d0; box-shadow: 0 0 16px rgba(255, 60, 60, .45); }
.uc-ap-gate-i { flex: none; width: 30px; height: 30px; display: inline-flex; }
.uc-ap-gate-i svg { width: 100%; height: 100%; }
.uc-ap-gate-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.35; }
.uc-ap-gate-t b { font-size: 14px; font-weight: 800; color: #fff; }
.uc-ap-gate-t span { font-size: 12px; font-weight: 600; }
@keyframes uc-ap-gate-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .uc-ap-gate { animation: none; } }

/* Dlaždice Hudba (core/music.js musicVisTileHtml): štítek režimu v pravém horním rohu, skryto divákům = zašedlá. */
.uc-mv-chip {
  position: absolute; top: -7px; right: -7px; padding: 1px 5px; border-radius: 999px; font-size: 9px; font-weight: 800; line-height: 1.5; letter-spacing: .03em;
  color: #1a1205; background: linear-gradient(135deg, #ffc800, #ff8c00); box-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 6px rgba(255, 140, 0, .35); pointer-events: none;
}
.uc-mv-btn .uc-ap-ico svg { width: 18px; height: 18px; margin: 2px; }
.uc-mv-btn.off { color: var(--text-muted, #8a8a94); background: rgba(0, 0, 0, .25); border-color: rgba(255, 140, 0, .25); }
.uc-mv-btn.off .uc-ap-ico { opacity: .45; filter: grayscale(1); }
.uc-mv-btn.off .uc-mv-chip { filter: saturate(.55) brightness(.85); }
/* Přepnout nejde (Sabotáž při OVERDRIVE, štítek STOP). */
.uc-mv-btn.locked { cursor: not-allowed; }
.uc-mv-btn.locked:hover { background: rgba(0, 0, 0, .25); }
