/* Správa: hesla, historie změn, fotky */

.heslo {
    font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin: 0.5rem 0;
    user-select: all;
    word-break: break-all;
}

/* Historie změn */

.historie {
    list-style: none;
    padding: 0;
    margin: 0;
}

.historie__hlavicka {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 0.25rem;
}

/* Rozpis polí je hustá tabulka uvnitř karty, ne přehled na celou stránku. */
.historie__pole { margin-top: 0.75rem; font-size: 0.9rem; }
.historie__pole th { width: 12rem; font-weight: 600; }

/* Galerie fotek u tréninku */

.galerie {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}

.galerie__polozka { position: relative; }

.galerie__polozka img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.galerie__smazani {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

/* Křížek musí být dost velký na prst, ne jen na myš. */
.galerie__krizek {
    min-width: 2rem;
    min-height: 2rem;
    border: 0;
    border-radius: var(--radius-ovladani);
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

/* Komu je fotka vidět, musí trenér poznat bez klepání: poznámka omylem
   puštěná rodičům je horší než fotka, kterou zapomněl pustit. */
.galerie__rodice {
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
}

.galerie__viditelnost {
    min-height: 2rem;
    padding: 0 0.5rem;
    border: 0;
    border-radius: var(--radius-ovladani);
    background: rgb(0 0 0 / 55%);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
}

.galerie__viditelnost--rodice { background: var(--barva-uspech); }

.fotky { margin-bottom: 1.5rem; }
