/* Silent Hill Media: floating music player + soundtrack track lists (Nov 29, 2026). Goes with js/shm-player.js.
   .shm-mp ........ the player, docked bottom-left (built by the script, lives in player.htm)
   .shm-album ..... album header: jewel case + disc that slides out and spins while the album plays
   .shm-tracks .... the track list, styled like the back insert of the CD: Play + Download on every row
   Colors follow the theme the list names (data-theme="sh2"); other soundtrack pages can reuse all of it. */

/* ---------------------------------------------------------------- the player */
.shm-mp {
  --mp-accent: #b9645a; --mp-accent2: #6a8ea6; --mp-fg: #e9e4dc; --mp-dim: #9d958b;
  position: fixed; left: 16px; bottom: 16px; z-index: 2147483000;
  width: 304px; max-width: calc(100vw - 24px); box-sizing: border-box;
  color: var(--mp-fg); font: 13px/1.35 Georgia, "Times New Roman", serif;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(#17191a, #0b0c0d);
  border: 1px solid #2d2f31; border-top: 2px solid var(--mp-accent); border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  user-select: none; -webkit-user-select: none;
}
.shm-mp[hidden] { display: none; }
.shm-mp.theme-sh1 { --mp-accent: #a7a7a7; --mp-accent2: #c9b48a; }
.shm-mp.theme-sh2 { --mp-accent: #b9645a; --mp-accent2: #6a8ea6; }
.shm-mp.theme-sh3 { --mp-accent: #c2512a; --mp-accent2: #dc8d66; }
.shm-mp.theme-sh4 { --mp-accent: #9a1f1f; --mp-accent2: #c0c0c0; }
.shm-mp.theme-extra { --mp-accent: #c84a48; --mp-accent2: #dd8080; }
.shm-mp svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.shm-mp-b { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; color: var(--mp-fg); cursor: pointer; position: relative; flex: none; }
.shm-mp-b:hover { background: rgba(255,255,255,.09); color: #fff; }
.shm-mp-b:focus-visible { outline: 2px solid var(--mp-accent2); outline-offset: 1px; }
.shm-mp-b:disabled { opacity: .35; cursor: default; background: none; }
.shm-mp-top { display: flex; align-items: center; gap: 2px; padding: 5px 6px 0 12px; }
.shm-mp-label { flex: 1; font: bold 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--mp-dim); }
.shm-mp.is-playing .shm-mp-label { color: var(--mp-accent); }
.shm-mp-top .shm-mp-b { width: 24px; height: 24px; }
.shm-mp-top svg { width: 14px; height: 14px; }
.shm-mp-main { display: flex; gap: 12px; align-items: center; padding: 6px 14px 4px; }
.shm-mp-meta { min-width: 0; flex: 1; }
.shm-mp-title { font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.shm-mp-album { font: 11px/1.3 Arial, Helvetica, sans-serif; color: var(--mp-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* a little CD with the album art in the middle; it turns while the music plays */
.shm-mp-disc { --d: 52px; width: var(--d); height: var(--d); border-radius: 50%; flex: none; position: relative; overflow: hidden;
  background: conic-gradient(from 20deg, #6d6f73, #d9dde2, #8a8c90, #f1f3f5, #75777b, #c9ccd0, #6d6f73);
  box-shadow: 0 0 0 1px #000, 0 2px 6px rgba(0,0,0,.6); animation: shm-spin 4.2s linear infinite; animation-play-state: paused; }
.shm-mp-disc img { position: absolute; inset: 14%; width: 72%; height: 72%; border-radius: 50%; object-fit: cover; }
.shm-mp-disc.no-art img { display: none; }
.shm-mp-disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; transform: translate(-50%,-50%);
  border-radius: 50%; background: #0d0e0f; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.shm-mp.is-playing .shm-mp-disc { animation-play-state: running; }
@keyframes shm-spin { to { transform: rotate(360deg); } }

.shm-mp-seek { padding: 2px 14px 0; }
.shm-mp-times { display: flex; justify-content: space-between; font: 10px/1 Arial, Helvetica, sans-serif; color: var(--mp-dim); font-variant-numeric: tabular-nums; margin-top: 1px; }
.shm-mp-ctl { display: flex; align-items: center; gap: 2px; padding: 2px 10px 10px; }
.shm-mp-pp { width: 40px; height: 40px; background: var(--mp-accent); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25), 0 1px 3px rgba(0,0,0,.5); }
.shm-mp-pp:hover { background: var(--mp-accent); filter: brightness(1.12); }
.shm-mp-pp svg { width: 22px; height: 22px; }
.shm-mp .shm-mp-pp svg + svg, .shm-mp .shm-mp-pp2 svg + svg, .shm-mp.is-playing .shm-mp-pp svg:first-child, .shm-mp.is-playing .shm-mp-pp2 svg:first-child { display: none; }
.shm-mp.is-playing .shm-mp-pp svg + svg, .shm-mp.is-playing .shm-mp-pp2 svg + svg { display: block; }
.shm-mp-rep[data-mode="off"] { color: var(--mp-dim); }
.shm-mp-rep[data-mode="all"], .shm-mp-rep[data-mode="one"] { color: var(--mp-accent2); }
.shm-mp-rep i { position: absolute; right: 3px; bottom: 3px; font: bold 9px/1 Arial, sans-serif; font-style: normal; }
.shm-mp-vol { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.shm-mp-vol input { width: 74px; }
.shm-mp .shm-mp-mute svg + svg, .shm-mp.is-muted .shm-mp-mute svg:first-child { display: none; }
.shm-mp.is-muted .shm-mp-mute svg + svg { display: block; }

/* slim range bars (seek and volume) */
.shm-mp input[type=range] { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; background: transparent; cursor: pointer; }
.shm-mp input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px;
  background: linear-gradient(to right, var(--mp-accent) var(--p), #3a3c3f var(--p)); }
.shm-mp input[type=range]::-moz-range-track { height: 3px; border-radius: 2px; background: #3a3c3f; }
.shm-mp input[type=range]::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--mp-accent); }
.shm-mp input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%; background: #eee; border: 0; box-shadow: 0 0 0 2px rgba(0,0,0,.5); }
.shm-mp input[type=range]::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: #eee; border: 0; }
.shm-mp input[type=range]:focus-visible { outline: 2px solid var(--mp-accent2); outline-offset: 2px; }

/* minimized: a pill with the little disc, play/pause and the title */
.shm-mp-pill { display: none; align-items: center; gap: 8px; padding: 6px 6px 6px 7px; }
.shm-mp-disc-s { --d: 30px; }
.shm-mp-ptitle { flex: 1; min-width: 0; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.shm-mp-pp2 { background: var(--mp-accent); color: #fff; width: 30px; height: 30px; }
.shm-mp.is-mini { width: auto; border-radius: 26px; border-top-width: 1px; border-color: var(--mp-accent); }
.shm-mp.is-mini > :not(.shm-mp-pill) { display: none; }
.shm-mp.is-mini .shm-mp-pill { display: flex; }
@media (prefers-reduced-motion: reduce) { .shm-mp-disc, .shm-album-disc { animation: none !important; } }
@media print { .shm-mp { display: none; } }

/* ---------------------------------------------------------------- album header (on the soundtrack page) */
.shm-album { display: flex; gap: 30px; align-items: center; margin: 14px 0 22px; flex-wrap: wrap; justify-content: center; }
.shm-album-case { position: relative; width: 250px; height: 250px; flex: none; margin-right: 70px; }
/* the disc sits behind the case and slides out to the right; it spins while a track from this album plays */
.shm-album-disc { position: absolute; top: 9px; left: 9px; width: 232px; height: 232px; border-radius: 50%; z-index: 0;
  transform: translateX(58px); transition: transform .9s cubic-bezier(.2,.8,.2,1);
  background:
    radial-gradient(circle at 50% 50%, #111 0 7.5%, rgba(255,255,255,.55) 7.5% 8.5%, #c9ccd0 8.5% 16%, transparent 16%),
    repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,.05) 0 1px, transparent 1px 3px),
    conic-gradient(from 10deg, #8d9095, #e9ecef, #7d8085, #b7d0d8, #f3f5f7, #8a8d92, #d9c7d6, #8d9095);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 6px 18px rgba(0,0,0,.55); }
.shm-album-disc::after { content: attr(data-label); position: absolute; left: 0; right: 0; top: 64%; text-align: center;
  font: 10px/1 Georgia, serif; letter-spacing: .3em; color: rgba(20,20,20,.55); }
.shm-album-wrap.is-spinning .shm-album-disc { transform: translateX(78px); animation: shm-spin-out 3.2s linear infinite; }
@keyframes shm-spin-out { from { transform: translateX(78px) rotate(0); } to { transform: translateX(78px) rotate(360deg); } }
.shm-album-case a { position: relative; z-index: 1; display: block; width: 250px; height: 250px; }
.shm-album-case img { display: block; width: 250px; height: 250px; border: 0; }
/* jewel case: hinge on the left, a little glare across the front */
.shm-album-case a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 11px; z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(0,0,0,.35) 40%, rgba(255,255,255,.12) 70%, rgba(0,0,0,.4)); }
.shm-album-case a::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.22) 0, rgba(255,255,255,.05) 32%, transparent 33%, transparent 70%, rgba(255,255,255,.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 8px 22px rgba(0,0,0,.55); }
.shm-album-info { flex: 1 1 250px; max-width: 360px; color: var(--shm-ink, #111); }
.shm-album-kicker { font: bold 11px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin: 0; }
.shm-album-info h3 { font: normal 2em/1.05 Georgia, "Times New Roman", serif; letter-spacing: .06em; margin: .2em 0 .1em; color: var(--shm-dark); text-transform: uppercase; }
.shm-album-info h3 small { display: block; font-size: .42em; letter-spacing: .32em; margin-top: .35em; }
.shm-album-info p { margin: .45em 0; }
.shm-album-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: .9em !important; }
.shm-btn-play { display: inline-flex; align-items: center; gap: 8px; font: bold 13px/1 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--shm-dark); border: 0; border-radius: 22px; padding: 10px 18px 10px 14px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.shm-btn-play:hover, .shm-btn-play:focus-visible { background: #000; outline: none; }
.shm-btn-play svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------------------------------------------------------------- the track list: the CD's back insert */
.shm-tracks { list-style: none; margin: 0 auto; padding: 18px 0 14px; max-width: 760px; counter-reset: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(90% 70% at 85% 30%, var(--liner-tint, rgba(122,34,46,.35)), transparent 70%),
    linear-gradient(var(--liner-top, #1b1214), #0d0a0b);
  color: #e4dcd2; border-radius: 2px; position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 10px 26px rgba(0,0,0,.45), inset 0 0 60px rgba(0,0,0,.6); }
/* the spine down the left, like the insert's "SILENT HILL 2 ORIGINAL SOUNDTRACKS" */
.shm-tracks::before { content: attr(data-spine); position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 11px/30px Georgia, serif; letter-spacing: .4em;
  color: rgba(228,220,210,.55); border-left: 1px solid rgba(255,255,255,.08); }
.shm-track { display: grid; grid-template-columns: 34px 1fr auto auto auto; align-items: center; column-gap: 12px;
  margin: 0 18px 0 46px; padding: 5px 6px 5px 4px; border-bottom: 1px solid rgba(255,255,255,.06); position: relative;
  font: 15px/1.3 Georgia, "Times New Roman", serif; transition: background .2s; }
.shm-track:last-child { border-bottom: 0; }
.shm-track:hover { background: rgba(255,255,255,.04); }
.shm-tn { font: 12px/1 Arial, Helvetica, sans-serif; color: rgba(228,220,210,.5); text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.shm-tt { min-width: 0; color: #efe8df; letter-spacing: .02em; }
.shm-td { font: 12px/1 Arial, Helvetica, sans-serif; color: rgba(228,220,210,.5); font-variant-numeric: tabular-nums; }
.shm-play { all: unset; box-sizing: border-box; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: #f2ece4; border: 1px solid rgba(228,220,210,.35); transition: background .15s, border-color .15s, transform .15s; }
.shm-play svg { width: 14px; height: 14px; fill: currentColor; }
.shm-play svg + svg, .shm-track.is-playing .shm-play svg:first-child { display: none; }
.shm-track.is-playing .shm-play svg + svg { display: block; }
.shm-play:hover, .shm-play:focus-visible { background: #b9645a; border-color: #b9645a; color: #fff; outline: none; transform: scale(1.06); }
.shm-tracks .shm-dl { font: bold 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: rgba(228,220,210,.75) !important; border: 1px solid rgba(228,220,210,.2); border-radius: 3px; padding: 6px 8px; white-space: nowrap; }
.shm-tracks .shm-dl:hover, .shm-tracks .shm-dl:focus-visible { color: #fff !important; border-color: rgba(228,220,210,.6); background: rgba(255,255,255,.06); outline: none; }
.shm-dls { display: inline-flex; gap: 6px; }
.shm-tracks .shm-dl small { font-weight: normal; opacity: .7; letter-spacing: 0; text-transform: none; }
/* now playing: the row glows like a dying lamp, the number turns into a little level meter */
.shm-track.is-current { background: linear-gradient(90deg, rgba(185,100,90,.32), rgba(185,100,90,.08) 70%, transparent); }
.shm-track.is-current::before { content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 3px; background: #c9705f; box-shadow: 0 0 8px #c9705f; }
.shm-track.is-current .shm-tt { color: #fff; }
.shm-track.is-current .shm-play { background: #b9645a; border-color: #b9645a; color: #fff; }
.shm-eq { display: none; gap: 2px; height: 12px; align-items: flex-end; justify-content: flex-end; }
.shm-eq i { width: 3px; background: #d98272; height: 30%; }
.shm-track.is-playing .shm-tn b { display: none; }
.shm-track.is-playing .shm-eq { display: inline-flex; }
.shm-track.is-playing .shm-eq i { animation: shm-eq .9s ease-in-out infinite alternate; }
.shm-track.is-playing .shm-eq i:nth-child(2) { animation-delay: -.45s; animation-duration: .7s; }
.shm-track.is-playing .shm-eq i:nth-child(3) { animation-delay: -.2s; animation-duration: 1.1s; }
@keyframes shm-eq { from { height: 20%; } to { height: 100%; } }
.shm-tracks-foot { max-width: 760px; margin: 10px auto 0; font-size: .85em; text-align: center; opacity: .85; }
@media (max-width: 700px) {
  .shm-album-case { width: 200px; height: 200px; margin-right: 50px; }
  .shm-album-case a, .shm-album-case img { width: 200px; height: 200px; }
  .shm-album-disc { width: 186px; height: 186px; top: 7px; left: 7px; }
  .shm-tracks::before { display: none; }
  .shm-track { margin: 0 8px; grid-template-columns: 26px 1fr auto auto; font-size: 14px; }
  .shm-td { display: none; }
}
.shm-album-links { font-size: .9em; }

/* ---------------------------------------------------------------- more than one disc, bonus tracks, notes (Nov 29) */
.theme-sh1 .shm-tracks { --liner-tint: rgba(150,150,150,.22); --liner-top: #18191a; }
.theme-sh2 .shm-tracks { --liner-tint: rgba(122,34,46,.35); --liner-top: #1b1214; }
.theme-sh3 .shm-tracks { --liner-tint: rgba(170,60,20,.32); --liner-top: #1d120d; }
.theme-sh4 .shm-tracks { --liner-tint: rgba(110,20,20,.30); --liner-top: #161616; }
.theme-extra .shm-tracks { --liner-tint: rgba(157,13,12,.30); --liner-top: #1a0d0d; }
.shm-disc { max-width: 760px; margin: 0 auto 22px; }
.shm-disc:last-child { margin-bottom: 6px; }
.shm-disc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 9px 16px 8px 46px; margin: 0;
  background: #0c0a0b; color: #e4dcd2; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 2px 2px 0 0;
  font: 12px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .06em; box-shadow: 0 0 0 1px rgba(0,0,0,.7); }
.shm-disc-head h4 { margin: 0; font: normal 17px/1.2 Georgia, "Times New Roman", serif; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.shm-disc-head .shm-disc-meta { color: rgba(228,220,210,.6); }
.shm-disc-head .shm-disc-dl { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.shm-disc-head .shm-dl, .shm-tracks .shm-dl { font: bold 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: rgba(228,220,210,.75) !important; border: 1px solid rgba(228,220,210,.2); border-radius: 3px; padding: 6px 8px; white-space: nowrap; }
.shm-disc-head .shm-dl:hover, .shm-disc-head .shm-dl:focus-visible { color: #fff !important; border-color: rgba(228,220,210,.6); outline: none; }
.shm-disc-head .shm-dl small { font-weight: normal; opacity: .7; letter-spacing: 0; text-transform: none; }
.shm-disc-note { flex-basis: 100%; color: rgba(228,220,210,.7); font: italic 13px/1.4 Georgia, serif; letter-spacing: 0; }
.shm-disc .shm-tracks { border-radius: 0 0 2px 2px; }
.shm-tnote { display: block; font: 12px/1.35 Arial, Helvetica, sans-serif; color: rgba(228,220,210,.6); margin-top: 2px; letter-spacing: 0; }
.shm-tag { display: inline-block; margin-left: 8px; padding: 2px 5px 1px; border: 1px solid rgba(217,130,114,.6); border-radius: 2px;
  font: bold 9px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #e5a294; vertical-align: 2px; }
.shm-tn b.shm-bonus { font-weight: normal; color: #d98272; }
.shm-album-blurb { max-width: 760px; margin: 0 auto 18px; }
.shm-album-case.is-spread img { object-fit: cover; }
@media (max-width: 700px) { .shm-disc-head { padding-left: 12px; } .shm-disc-head .shm-disc-dl { margin-left: 0; } }

/* cover thumbnails under the CD case (Fungo, Nov 29 6:08 PM): each opens full size in a new tab */
.shm-album-side { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.shm-covers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 10px; width: 250px; }
.shm-covers li { margin: 0; padding: 0; }
.shm-covers a { display: block; text-decoration: none !important; color: inherit !important; text-align: center; }
.shm-covers img { display: block; height: 72px; width: auto; margin: 0 auto; border: 1px solid rgba(0,0,0,.55); background: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.15); transition: transform .15s, box-shadow .15s; }
.shm-covers a:hover img, .shm-covers a:focus-visible img { transform: translateY(-3px); box-shadow: 0 7px 14px rgba(0,0,0,.45); }
.shm-covers a:focus-visible { outline: 2px solid var(--shm-dark, #600); outline-offset: 3px; }
.shm-covers span { display: block; max-width: 150px; margin: 5px auto 0; font: bold 10px/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.shm-covers-lg { width: auto; justify-content: center; gap: 18px 16px; }
.shm-covers-lg img { height: 110px; }
.shm-covers-lg span { max-width: 170px; letter-spacing: .04em; text-transform: none; font-size: 11px; }
@media (max-width: 700px) {
  .shm-album-side { align-items: center; }
  .shm-covers { width: 200px; justify-content: center; }
  .shm-covers img { height: 60px; }
  .shm-covers-lg { width: auto; }
  .shm-covers-lg img { height: 90px; }
}
@media (prefers-reduced-motion: reduce) { .shm-covers img { transition: none; } .shm-covers a:hover img { transform: none; } }

/* ---------------------------------------------------------------- Silent Hill Sounds Box (tshsb.htm, Nov 29 6:37 PM)
   Art of Silent Hill colours. Tracks are listed ahead of the audio: rows marked .is-soon have no data-src (never
   queued), a disabled play button and a download link that can't be clicked until the files are added. */
.shm-mp.theme-amsh { --mp-accent: #a8524f; --mp-accent2: #d4a2a1; }
.theme-amsh .shm-tracks { --liner-tint: rgba(153,75,73,.34); --liner-top: #1b1112; }
.shm-track.is-soon .shm-play { cursor: default; opacity: .32; border-style: dashed; }
.shm-track.is-soon .shm-play:hover, .shm-track.is-soon .shm-play:focus-visible { background: none; border-color: rgba(228,220,210,.35); color: #f2ece4; transform: none; }
.shm-tracks .shm-dl.is-soon { pointer-events: none; cursor: default; opacity: .45; border-style: dashed; }
.shm-tracks .shm-dl.is-soon small { font-style: italic; }
.shm-tracks .shm-tag-q { text-decoration: none; color: #e7b3a6 !important; cursor: pointer; }
.shm-tracks .shm-tag-q:hover, .shm-tracks .shm-tag-q:focus-visible { background: rgba(217,130,114,.25); outline: none; }
.shm-sb-soon { border-left: 3px solid var(--shm-dark); padding: .3em 0 .3em .7em; }

/* the nine discs, a row of labels: each jumps to its disc */
.shm-sb-rack { list-style: none; margin: 18px auto 0; padding: 12px 10px 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px;
  border-top: 1px solid rgba(0,0,0,.18); max-width: 760px; }
.shm-sb-rack li { margin: 0; }
.shm-sb-rack a { display: block; text-align: center; text-decoration: none !important; color: var(--shm-ink, #111) !important;
  font: bold 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .14em; }
.shm-sb-rack img, .shm-sb-label img { display: block; width: 56px; height: 56px; border-radius: 50%; border: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 4px 10px rgba(0,0,0,.4); transition: transform .5s cubic-bezier(.25,.8,.35,1), box-shadow .2s; }
.shm-sb-rack a.is-dvd img, .shm-sb-label.is-dvd img { border-radius: 4px; }
.shm-sb-rack span { display: block; margin-top: 5px; }
.shm-sb-rack a:hover img, .shm-sb-rack a:focus-visible img, .shm-sb-label:hover img, .shm-sb-label:focus-visible img { transform: rotate(40deg); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 7px 14px rgba(0,0,0,.45); }
.shm-sb-rack a.is-dvd:hover img, .shm-sb-label.is-dvd:hover img { transform: translateY(-3px); }
.shm-sb-rack a:focus-visible, .shm-sb-label:focus-visible { outline: 2px solid var(--shm-dark, #600); outline-offset: 3px; border-radius: 50%; }

/* per-disc header: the disc's label, its game and the sleeve scans */
.shm-sb-dischead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; max-width: 760px; margin: 0 auto 14px; }
.shm-sb-label { flex: none; display: block; }
.shm-sb-discinfo { flex: 1 1 220px; min-width: 0; color: var(--shm-ink, #111); }
.shm-sb-discinfo h3 { font: normal 1.45em/1.1 Georgia, "Times New Roman", serif; letter-spacing: .06em; margin: .15em 0 .1em; color: var(--shm-dark); text-transform: uppercase; }
.shm-sb-discinfo p { margin: .2em 0; }
.shm-sb-discinfo .shm-disc-meta { font: 12px/1.3 Arial, Helvetica, sans-serif; opacity: .8; }
.shm-sb-discinfo .shm-disc-note { color: inherit; opacity: .85; }
.shm-covers-sb { width: auto; flex: none; gap: 10px 10px; }
.shm-covers-sb img { height: 56px; }

/* From the composers: each quote printed like a slip from the booklet */
.shm-lq-intro { max-width: 760px; margin: 0 auto 14px; }
.shm-lq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.shm-lq { margin: 0; padding: 14px 18px 14px; color: #e4dcd2; border-radius: 2px; position: relative; scroll-margin-top: 12px;
  background: radial-gradient(90% 80% at 85% 20%, rgba(153,75,73,.30), transparent 70%), linear-gradient(#1b1112, #0d0a0b);
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 8px 20px rgba(0,0,0,.4), inset 0 0 40px rgba(0,0,0,.55); }
.shm-lq:target { box-shadow: 0 0 0 2px #d9826f, 0 8px 20px rgba(0,0,0,.4), inset 0 0 40px rgba(0,0,0,.55); }
.shm-lq-ref { margin: 0 0 6px; font: bold 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .18em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.shm-lq-ref a { color: rgba(228,220,210,.75) !important; text-decoration: none; border-bottom: 1px dotted rgba(228,220,210,.4); }
.shm-lq-ref a:hover, .shm-lq-ref a:focus-visible { color: #fff !important; outline: none; }
.shm-src-tag { display: inline-block; margin-left: auto; padding: 2px 6px 1px; border: 1px solid rgba(217,130,114,.7); border-radius: 2px;
  font: bold 10px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .16em; color: #e7b3a6; }
.shm-lq-intro .shm-src-tag { margin-left: 0; color: var(--shm-dark); border-color: var(--shm-dark); }
.shm-lq-ctx { margin: 0 0 6px; font: 12px/1.45 Arial, Helvetica, sans-serif; color: rgba(228,220,210,.65); }
.shm-lq blockquote { margin: 0; padding: 0 0 0 12px; border-left: 2px solid rgba(217,130,114,.55); font: italic 15px/1.5 Georgia, "Times New Roman", serif; color: #f2ece4; }
.shm-lq blockquote p { margin: 0 0 .5em; }
.shm-lq figcaption { margin-top: 8px; font: 12px/1.45 Arial, Helvetica, sans-serif; color: rgba(228,220,210,.75); }
.shm-lq figcaption a { color: #e7b3a6 !important; }
.shm-sb-disc .shm-track { scroll-margin-top: 12px; }
.shm-sb-disc .shm-track:target { background: linear-gradient(90deg, rgba(217,130,114,.28), transparent 75%); }
@media (max-width: 700px) {
  .shm-sb-disc .shm-panel-head h2 { padding: 0 1.5em; }   /* the long disc names clear the fold arrow */
  .shm-sb-dischead { justify-content: center; text-align: center; }
  .shm-covers-sb { width: auto; justify-content: center; }
  .shm-lq-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .shm-sb-rack img, .shm-sb-label img { transition: none; } .shm-sb-rack a:hover img, .shm-sb-label:hover img { transform: none; } }

/* ---------------------------------------------------------------- VIDEO (Nov 30, 2026)
   The same floating player shows videos: a little screen opens above the controls ("Now showing"), with Bigger and
   Full screen buttons. Music hides the screen again. One media element, so only one thing plays at a time. */
.shm-mp-screen { display: none; position: relative; margin: 6px 8px 0; background: #000; border-radius: 2px; overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(255,255,255,.06); }
.shm-mp-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
/* CRT glass: faint scanlines and a vignette over the picture (not in full screen) */
.shm-mp-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,.45));
  mix-blend-mode: multiply; }
.shm-mp-screen:fullscreen { margin: 0; border-radius: 0; aspect-ratio: auto; display: flex; align-items: center; }
.shm-mp-screen:fullscreen::after { display: none; }
.shm-mp-bigbtn, .shm-mp-fullbtn { display: none; }
.shm-mp.is-video .shm-mp-screen { display: block; }
.shm-mp.is-video .shm-mp-bigbtn, .shm-mp.is-video .shm-mp-fullbtn { display: inline-flex; }
.shm-mp.is-video .shm-mp-disc { display: none; }             /* the spinning CD is for music */
.shm-mp.is-video .shm-mp-main { padding-top: 4px; }
.shm-mp.is-video .shm-mp-vol input { width: 54px; }
.shm-mp.is-video .shm-mp-label::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px;
  background: #555; }
.shm-mp.is-video.is-playing .shm-mp-label::before { background: #e0322a; box-shadow: 0 0 6px #e0322a; animation: shm-rec 1.6s steps(2, jump-none) infinite; }
@keyframes shm-rec { 50% { opacity: .25; } }
.shm-mp.is-big { width: min(640px, calc(100vw - 24px)); }
.shm-mp-bigbtn[aria-pressed="true"] { color: var(--mp-accent2); }
.shm-mp.is-mini .shm-mp-screen { display: none; }
@media (max-width: 520px) { .shm-mp.is-big { width: calc(100vw - 24px); } }
@media (prefers-reduced-motion: reduce) { .shm-mp.is-video.is-playing .shm-mp-label::before { animation: none; } }

/* ---------------------------------------------------------------- video lists: a shelf of tapes
   Same back-insert look as the soundtrack lists, but each row is a tape: a little picture from the video, the title
   and a note, a tape-counter running time, Play, and both downloads (MP4, plus the original WMV). */
.shm-tracks.shm-videos::before { font-family: "Courier New", Courier, monospace; letter-spacing: .5em; }
.shm-videos .shm-track { grid-template-columns: 112px 1fr auto auto auto; column-gap: 14px; padding: 7px 6px 7px 4px; }
.shm-vthumb { position: relative; display: block; width: 112px; aspect-ratio: 4 / 3; background: #000; border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.8), 0 0 0 2px rgba(228,220,210,.12); }
.shm-vthumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: filter .2s; }
.shm-vthumb::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), radial-gradient(130% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.5)); }
.shm-vthumb b { position: absolute; left: 4px; top: 3px; z-index: 1; font: bold 10px/1 "Courier New", Courier, monospace; color: rgba(255,255,255,.85);
  text-shadow: 0 0 3px #000, 0 0 1px #000; letter-spacing: .05em; }
.shm-vthumb .shm-eq { position: absolute; right: 4px; bottom: 4px; z-index: 1; }
.shm-videos .shm-track:hover .shm-vthumb img, .shm-videos .shm-track.is-current .shm-vthumb img { filter: saturate(1.05) contrast(1.1) brightness(1.08); }
.shm-videos .shm-track.is-playing .shm-vthumb b { display: none; }
.shm-videos .shm-tt { font-size: 16px; }
.shm-videos .shm-tnote { font-size: 13px; line-height: 1.45; color: rgba(228,220,210,.72); margin-top: 4px; }
.shm-videos .shm-tnote a { color: #e7b3a6 !important; }
.shm-videos .shm-td { font-family: "Courier New", Courier, monospace; font-size: 12px; letter-spacing: .04em; color: rgba(228,220,210,.6); }
.shm-videos .shm-dls { flex-direction: column; align-items: stretch; }
.shm-videos .shm-dl { text-align: center; }
.shm-videos .shm-dl.is-orig { font-weight: normal; opacity: .8; }
.shm-vgroup { margin: 0 18px 0 46px; padding: 14px 4px 6px; font: bold 11px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(228,220,210,.55); border-bottom: 1px solid rgba(255,255,255,.1); list-style: none; }
.shm-vgroup:first-child { padding-top: 2px; }
.shm-vgroup small { display: block; margin-top: 4px; font-weight: normal; letter-spacing: .02em; text-transform: none; font-size: 12px; color: rgba(228,220,210,.6); }
.shm-videos-intro { max-width: 760px; margin: 0 auto 12px; text-align: center; }
@media (max-width: 700px) {
  .shm-videos .shm-track { grid-template-columns: 84px 1fr auto; row-gap: 6px; margin: 0 8px; }
  .shm-vthumb { width: 84px; }
  .shm-videos .shm-dls { grid-column: 2 / -1; flex-direction: row; justify-content: flex-start; }
  .shm-vgroup { margin: 0 8px; }
}

/* ---- Fungo's own YouTube upload of a video: a small red tag next to the title (Nov 30, 2026) ---- */
.shm-videos .shm-tt .shm-yt { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 2px 7px 2px 4px; vertical-align: 2px;
  font: bold 10px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: #f3d9d2 !important; background: rgba(170,20,20,.55); border: 1px solid rgba(230,90,80,.55); border-radius: 3px; white-space: nowrap; }
.shm-videos .shm-tt .shm-yt svg { width: 12px; height: 12px; fill: currentColor; }
.shm-videos .shm-tt .shm-yt:hover, .shm-videos .shm-tt .shm-yt:focus-visible { color: #fff !important; background: rgba(200,25,25,.8); outline: none; }

/* ---- a video scratched off for now: the row stays, struck through, nothing to play or download ---- */
.shm-videos .shm-track.is-struck { opacity: .55; }
.shm-videos .shm-track.is-struck .shm-vthumb img { filter: grayscale(1); }
.shm-videos .shm-track.is-struck s { text-decoration-thickness: 2px; text-decoration-color: rgba(220,60,50,.9); }
.shm-videos .shm-track.is-struck .shm-play { cursor: not-allowed; opacity: .4; }
.shm-videos .shm-dl.is-off { pointer-events: none; cursor: default; opacity: .6; border-style: dashed; }
