/* Hlasovka u zprávy (static/js/hlas.js) */
.hlasovka-btn { float: right; margin: 4px 0 0 8px; width: 28px; height: 28px; padding: 0; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 50%; border: 0; cursor: pointer; color: inherit;
    font-size: .82rem; background: rgba(255, 95, 162, .22); opacity: .9; transition: opacity .2s ease, background .2s ease; }
.hlasovka-btn:hover, .hlasovka-btn:focus-visible { opacity: 1; background: rgba(255, 95, 162, .25); }
.hlasovka-btn:disabled { cursor: default; }
.hlasovka-btn.nacita i { animation: hlasovka-puls 1s ease-in-out infinite; }
@keyframes hlasovka-puls { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .hlasovka-btn.nacita i { animation: none; } }
audio.hlasovka { display: block; margin-top: 6px; width: min(260px, 100%); height: 36px; }
.hlasovka-info { margin-top: 6px; font-size: .8rem; opacity: .8; }
.hlasovka-clenstvi { display: inline-block; margin-top: 6px; font-size: .82rem; font-weight: 700; color: #FF5FA2; }

/* Hovor s Eliškou (static/js/hlas.js) */
.spolu-okno { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px;
    background: rgba(10, 4, 14, .72); backdrop-filter: blur(4px); }
.spolu-okno[hidden] { display: none; }
.spolu-karta { width: min(400px, 100%); max-height: 92vh; overflow: auto; border-radius: 20px; padding: 22px 18px;
    background: var(--card-background, #1d1222); color: var(--text-color, #fff);
    border: 1px solid rgba(255, 95, 162, .35); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); position: relative; }
.spolu-zavrit { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; opacity: .7; }
.spolu-zavrit[hidden] { display: none; }
.spolu-pozn { margin: 0 0 14px; font-size: .9rem; color: var(--text-muted, #cbb); line-height: 1.45; }
.spolu-hlavni { width: 100%; min-height: 48px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; color: #fff;
    cursor: pointer; background: linear-gradient(135deg, #FF5FA2, #E8117F); box-shadow: 0 8px 22px rgba(232, 17, 127, .35); }
.spolu-hlavni:disabled { opacity: .55; cursor: default; }
.hovor-karta { text-align: center; }
.hovor-akce { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hovor-akce:empty { display: none; }
.hovor-vedlejsi { background: none; border: 0; color: #FF8CC0; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.hovor-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 6px auto 12px; display: block;
    border: 3px solid rgba(255, 95, 162, .6); }
.hovor-karta.mluvi .hovor-avatar { animation: hovor-puls 1.6s ease-in-out infinite; }
@keyframes hovor-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 17, 127, .55); } 50% { box-shadow: 0 0 0 14px rgba(232, 17, 127, 0); } }
.hovor-stav { font-size: 1.05rem; font-weight: 700; min-height: 1.4em; margin-bottom: 6px; }
.hovor-cas { font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.hovor-cas[hidden], .hovor-zavesit[hidden] { display: none; }
.hovor-zavesit { width: 64px; height: 64px; margin-top: 6px; border: 0; border-radius: 50%; background: #e0284a; color: #fff; font-size: 1.4rem;
    cursor: pointer; box-shadow: 0 8px 22px rgba(224, 40, 74, .45); }
.hovor-hlavicka { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .hovor-karta.mluvi .hovor-avatar { animation: none; } }
.hovor-minuty { display: inline-flex; flex-direction: column; align-items: center; margin: 2px auto 12px; padding: 8px 18px;
    border-radius: 14px; background: rgba(255, 95, 162, .14); border: 1px solid rgba(255, 95, 162, .35); }
.hovor-minuty[hidden] { display: none; }
.hovor-minuty b { font-size: 1.5rem; line-height: 1.1; }
.hovor-minuty span { font-size: .78rem; opacity: .8; }

.hovor-zasoba { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.hovor-zasoba-radek { display: flex; align-items: center; gap: 12px; }
.hovor-zasoba-radek input[type=range] { flex: 1; accent-color: #FF8CC0; min-width: 0; }
.hovor-zasoba-radek label { display: flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.hovor-zasoba-radek input[type=number] { width: 64px; padding: 8px; border-radius: 10px; border: 1px solid rgba(255,140,192,.45);
  background: rgba(255,140,192,.08); color: inherit; font: inherit; font-weight: 800; text-align: center; }
