/* technica obscura: charcoal grain with magenta flecks, as on the old page's
   background; the player is a dark instrument panel over it. */

.technica-obscura {
    --char: #0b0b0d;
    --silver: #c8c8cc;
    --silver-dim: #8a8a92;
    --magenta: #c45ac8;
    background: var(--char) url("obscura_bg.jpg") center / cover fixed;
    color: var(--silver);
}

.technica-obscura main {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(200, 200, 204, 0.15);
    padding: 0.5rem 1.5rem 1rem;
    margin: 1.5rem 0;
}
.technica-obscura main,
.technica-obscura main * {
    font-family: "DejaVu Sans Mono", Menlo, Consolas, monospace;
}

.technica-obscura h1 {
    color: var(--silver);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    text-align: center;
    text-shadow: 0 0 0.4em var(--magenta);
}

.technica-obscura .player-controls:not([hidden]) {
    justify-content: center;
}
.technica-obscura .player-controls button {
    background: #000;
    color: var(--silver);
    border: 1px solid var(--silver-dim);
    border-radius: 0;
    padding: 0.35rem 0.8rem;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    cursor: pointer;
}
.technica-obscura .player-controls button:hover,
.technica-obscura .player-controls button:focus-visible {
    border-color: var(--magenta);
    color: #fff;
    box-shadow: 0 0 0.5rem rgba(196, 90, 200, 0.6);
}
.technica-obscura .player-audio {
    color-scheme: dark;
}

.technica-obscura .playlist {
    padding-left: 3rem;
}
.technica-obscura .playlist li {
    list-style: decimal-leading-zero;  /* the site stylesheet gives li an image bullet */
    padding: 0.3rem 0.5rem;
    border-left: 2px solid transparent;
}
.technica-obscura .playlist li::marker {
    color: var(--silver-dim);
}
.technica-obscura .playlist a {
    color: var(--silver);
    text-decoration: none;
}
.technica-obscura .playlist li:hover a {
    color: #fff;
}
/* the playing track: a scanline readout */
.technica-obscura .playlist li.now {
    font-weight: normal;
    border-left-color: var(--magenta);
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px),
        linear-gradient(90deg, rgba(196, 90, 200, 0.35), transparent);
}
.technica-obscura .playlist li.now::marker,
.technica-obscura .playlist li.now a {
    color: var(--magenta);
}

.technica-obscura .player-m3u {
    text-align: center;
    font-size: 0.8em;
}
.technica-obscura .player-m3u a {
    color: var(--silver-dim);
}

/* the site's purple nav links vanish into the grain */
.technica-obscura #sitenav a {
    color: var(--silver);
    text-shadow: 0 0 3px #000, 0 0 6px #000;
}
