/* =============================================================================
   Schatzilo – Gebärdensprach-Video-Player (docs/14 §8)
   Für draußen/Handy: großer Player, eigene Steuerleiste (kein natives
   <video controls>, zu schwacher Kontrast in praller Sonne), dauerhaft
   sichtbare, große Bedienelemente.
   ============================================================================= */

.gs-player {
    border: none;
    padding: 0;
    margin: auto;
    width: 100%;
    max-width: 720px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.gs-player::backdrop { background: rgba(0, 0, 0, .78); }
.gs-player[open] { display: block; }

.gs-player-inner { position: relative; display: flex; flex-direction: column; width: 100%; }

.gs-player-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.gs-player-close:hover { background: rgba(0, 0, 0, .8); }

.gs-player-stage {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}
.gs-player-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

.gs-player-bigplay {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    border: 2px solid #fff;
    color: #fff;
    cursor: pointer;
}
.gs-player-bigplay::before { content: "▶"; font-size: 1.6rem; }
.gs-player-bigplay.is-playing { display: none; }

.gs-player-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #fff;
    background: rgba(0, 0, 0, .88);
    font-size: .95rem;
}

.gs-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, .9);
    padding: 10px 12px;
}
.gs-ctrl {
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: .85rem;
    flex: 0 0 auto;
}
.gs-ctrl:hover { background: rgba(255, 255, 255, .26); }
.gs-ctrl-play::before { content: "▶"; }
.gs-ctrl-play.is-playing::before { content: "❙❙"; }
.gs-ctrl-mute::before { content: "🔇"; }
.gs-ctrl-mute:not(.is-muted)::before { content: "🔊"; }
.gs-ctrl-fs::before { content: "⛶"; }

.gs-scrubber {
    flex: 1 1 100px;
    min-width: 80px;
    height: 36px;
    accent-color: #fff;
}
.gs-time {
    color: #fff;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .gs-player { max-width: 100%; border-radius: 0; }
    .gs-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .gs-player, .gs-player-bigplay, .gs-ctrl { transition: none !important; }
}
