/* summoning the hidden wind: a culture in a glass flask, pink with red colonies.
   The culture is the background (as on the old page) and drifts while a track
   plays; the player sits on frosted glass. Colours are taken from the photograph. */

.hidden-wind {
    --culture: #f2d6d3;
    --colony: #b3121e;
    --clot: #6b0a12;
    --glass: rgba(255, 244, 243, 0.6);
    background: var(--culture) url("bacteria_web.jpg") center / cover fixed;
    color: var(--clot);
}
.hidden-wind:has(li.now) {
    animation: hidden-wind-drift 90s ease-in-out infinite alternate;
}
@keyframes hidden-wind-drift {
    from { background-position: 35% 40%; }
    to   { background-position: 65% 60%; }
}

.hidden-wind main {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 0.5rem 1.5rem 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 0.5rem 2rem rgba(107, 10, 18, 0.15);
}
.hidden-wind main,
.hidden-wind main * {
    font-family: Georgia, "Times New Roman", serif;
}

.hidden-wind h1 {
    color: var(--clot);
    font-weight: normal;
    font-style: italic;
    text-align: center;
    text-shadow: 0 0 0.6em rgba(255, 255, 255, 0.9);
    margin: 0.8em 0;
}

.hidden-wind .player-controls:not([hidden]) {
    justify-content: center;
}
.hidden-wind .player-controls button {
    background: rgba(255, 255, 255, 0.5);
    color: var(--clot);
    border: 1px solid rgba(179, 18, 30, 0.5);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
}
.hidden-wind .player-controls button:hover,
.hidden-wind .player-controls button:focus-visible {
    background: var(--colony);
    color: #fff;
}

.hidden-wind .playlist {
    padding-left: 2.2rem;
}
.hidden-wind .playlist li {
    list-style: decimal;  /* the site stylesheet gives li an image bullet */
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
}
.hidden-wind .playlist li::marker {
    color: var(--colony);
}
.hidden-wind .playlist a {
    color: var(--clot);
    text-decoration: none;
}
.hidden-wind .playlist li:hover a {
    color: var(--colony);
}
.hidden-wind .playlist li.now {
    font-weight: normal;
    background: rgba(179, 18, 30, 0.85);
}
.hidden-wind .playlist li.now a,
.hidden-wind .playlist li.now .track-description,
.hidden-wind .playlist li.now::marker {
    color: #fff;
}
.hidden-wind .track-description {
    color: rgba(107, 10, 18, 0.75);
    font-style: italic;
}

.hidden-wind .player-m3u {
    text-align: center;
    font-size: 0.9em;
}
.hidden-wind .player-m3u a {
    color: var(--colony);
}

@media (prefers-reduced-motion: reduce) {
    .hidden-wind:has(li.now) {
        animation: none;
    }
}
