@font-face{font-family:Cinzel;font-style:normal;font-weight:400;font-display:swap;src:url(/cinzel-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(/cinzel-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:LibreB;font-style:normal;font-weight:400;font-display:swap;src:url(/libre-baskerville-latin-400-normal.woff2) format("woff2")}

:root{
  --crimson:#6E0B1C;
  --red:#A3122A;
  --gold:#C9993F;
  --gold2:#E8C877;
  --cream:#FBF5E6;
  --page:#EFE4C8;
  --chrome1:#f7f4ec;
  --chrome2:#d0cbc0;
  --chrome3:#8a8580;
  --chrome4:#5a564e;
}

*{box-sizing:border-box}
main{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  padding:8px 16px 14px;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(201,153,63,.16), transparent 55%),
    linear-gradient(180deg, #EFE4C8 0%, #d9c49a 26%, #3a1c12 100%);
  position:relative;overflow:hidden;
}
main::before{
  content:"";position:absolute;inset:auto 0 0 0;height:40%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #4a2814, #1a0c06);
  clip-path:polygon(0 28%, 100% 28%, 100% 100%, 0 100%);
  pointer-events:none;
}
.howto{
  margin:0 0 6px;text-align:center;font-size:13px;color:#3a2414;
  text-shadow:0 1px 0 rgba(255,245,220,.6);
}
.howto strong{color:var(--crimson);font-family:Cinzel,Georgia,serif;letter-spacing:.04em}


.howto-key{color:#7a1a2a;white-space:nowrap}

/* ========== SEEBURG-STYLE CABINET: left speaker | player | right speaker ========== */
.stage{position:relative;z-index:1;margin-top:20px;width:100%;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 22px 28px rgba(0,0,0,.55))}
.jukebox{
  position:relative;
  width:min(1200px,100%);
  display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,760px) minmax(110px,1fr);
  gap:10px;align-items:stretch;
  padding:12px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, rgba(255,220,160,.04) 2px, transparent 5px),
    linear-gradient(180deg, #6a4a28 0%, #4a3018 12%, #2e1a0c 100%);
  border-radius:26px 26px 16px 16px;
  border:3px solid #1a1008;
  box-shadow:
    inset 0 8px 16px rgba(255,230,180,.12),
    0 0 0 5px #2a1c10,
    0 0 0 8px #E8C260,
    0 0 0 10px #8a5e14,
    0 0 0 13px #2a1c10,
    0 0 36px rgba(200,180,140,.25);
}

/* ---- Speaker panels (light organs) ---- */
.speaker{
  min-width:0;display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:12px 10px 14px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #3a2412, #22140a);
  border:2px solid #c9a15a;border-radius:12px;
  box-shadow:inset 0 0 0 2px #1a1008, inset 0 6px 14px rgba(0,0,0,.55), 0 1px 0 rgba(255,235,190,.2);
}
.spk-top{display:flex;align-items:center;justify-content:center;gap:12px;flex:0 0 auto;min-height:22px}
.knob{
  width:16px;height:16px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff, #b9b4a8 45%, #4a463e);
  box-shadow:0 0 0 2px #1a1008, 0 0 0 3px #c9a15a, 0 2px 3px rgba(0,0,0,.6);
  position:relative;
}
.knob::after{content:"";position:absolute;left:50%;top:2px;width:2px;height:6px;margin-left:-1px;background:#2a2620;border-radius:1px;transform:rotate(30deg);transform-origin:50% 6px}
.speaker.right .knob::after{transform:rotate(-40deg)}
.pilot{
  width:12px;height:12px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #6a3a10, #2a1204);
  box-shadow:0 0 0 2px #1a1008, 0 0 0 3px #8a6a28;
  transition:background .3s, box-shadow .3s;
}
.jukebox.is-playing .pilot{background:radial-gradient(circle at 35% 30%, #fff1b0, #ffb020 55%, #c06a00);box-shadow:0 0 0 2px #1a1008, 0 0 0 3px #c9a15a, 0 0 8px 1px rgba(255,176,32,.8)}

/* The organ itself: a wood frame, lamps (blurred colour blobs that blend), and a pyramid-patterned lens over everything. */
.organ{
  position:relative;flex:1 1 auto;width:100%;min-height:300px;
  padding:9px;
  background:
    repeating-linear-gradient(95deg, rgba(0,0,0,.18) 0 1px, rgba(255,210,150,.05) 2px 4px, transparent 5px 8px),
    linear-gradient(135deg, #8a5a2c, #5a3418 45%, #3a200e);
  border-radius:8px;
  box-shadow:0 0 0 1px #140a04, inset 0 1px 0 rgba(255,225,170,.35), 0 3px 8px rgba(0,0,0,.6);
}
.lamps{
  position:relative;display:block;width:100%;height:100%;
  background:#0c0507;border-radius:3px;overflow:hidden;
  box-shadow:inset 0 0 0 1px #000, inset 0 0 18px #000;
}
@property --l{syntax:"<number>";inherits:true;initial-value:0}
@property --lv{syntax:"<number>";inherits:true;initial-value:0}
.lamp{
  position:absolute;inset:0;display:block;
  --l:0;
  opacity:var(--l);
  mix-blend-mode:screen;
  transform:scale(1.25);
  will-change:opacity;
}
.lamp.l0{
  background:
    radial-gradient(ellipse 58% 26% at 0% 0%, #fffdf0 0, #ff1638 24%, rgba(255,22,56,0) 74%),
    radial-gradient(ellipse 58% 26% at 100% 0%, #fffdf0 0, #ff1638 24%, rgba(255,22,56,0) 74%),
    radial-gradient(ellipse 58% 26% at 0% 100%, #fffdf0 0, #ff1638 24%, rgba(255,22,56,0) 74%),
    radial-gradient(ellipse 58% 26% at 100% 100%, #fffdf0 0, #ff1638 24%, rgba(255,22,56,0) 74%)}
.lamp.l1{
  background:
    radial-gradient(ellipse 44% 20% at 22% 17%, #fffdf0 0, #ff7a12 24%, rgba(255,122,18,0) 74%),
    radial-gradient(ellipse 44% 20% at 78% 17%, #fffdf0 0, #ff7a12 24%, rgba(255,122,18,0) 74%),
    radial-gradient(ellipse 44% 20% at 22% 83%, #fffdf0 0, #ff7a12 24%, rgba(255,122,18,0) 74%),
    radial-gradient(ellipse 44% 20% at 78% 83%, #fffdf0 0, #ff7a12 24%, rgba(255,122,18,0) 74%)}
.lamp.l2{
  background:
    radial-gradient(ellipse 36% 15% at 36% 35%, #fffdf0 0, #ffd21a 24%, rgba(255,210,26,0) 74%),
    radial-gradient(ellipse 36% 15% at 64% 35%, #fffdf0 0, #ffd21a 24%, rgba(255,210,26,0) 74%),
    radial-gradient(ellipse 36% 15% at 36% 65%, #fffdf0 0, #ffd21a 24%, rgba(255,210,26,0) 74%),
    radial-gradient(ellipse 36% 15% at 64% 65%, #fffdf0 0, #ffd21a 24%, rgba(255,210,26,0) 74%)}
.lamp.l3{
  background:
    radial-gradient(ellipse 42% 15% at 50% 26%, #fffdf0 0, #22d96a 24%, rgba(34,217,106,0) 74%),
    radial-gradient(ellipse 42% 15% at 50% 74%, #fffdf0 0, #22d96a 24%, rgba(34,217,106,0) 74%),
    radial-gradient(ellipse 30% 12% at 50% 50%, #fffdf0 0, #22d96a 24%, rgba(34,217,106,0) 74%)}
.lamp.l4{
  background:
    radial-gradient(ellipse 34% 17% at 6% 36%, #fffdf0 0, #1f7cff 24%, rgba(31,124,255,0) 74%),
    radial-gradient(ellipse 34% 17% at 94% 36%, #fffdf0 0, #1f7cff 24%, rgba(31,124,255,0) 74%),
    radial-gradient(ellipse 34% 17% at 6% 64%, #fffdf0 0, #1f7cff 24%, rgba(31,124,255,0) 74%),
    radial-gradient(ellipse 34% 17% at 94% 64%, #fffdf0 0, #1f7cff 24%, rgba(31,124,255,0) 74%)}
.lamp.l5{
  background:
    radial-gradient(ellipse 50% 13% at 50% 7%, #fffdf0 0, #8f4dff 24%, rgba(143,77,255,0) 74%),
    radial-gradient(ellipse 50% 13% at 50% 93%, #fffdf0 0, #8f4dff 24%, rgba(143,77,255,0) 74%),
    radial-gradient(ellipse 24% 20% at 4% 50%, #fffdf0 0, #8f4dff 24%, rgba(143,77,255,0) 74%),
    radial-gradient(ellipse 24% 20% at 96% 50%, #fffdf0 0, #8f4dff 24%, rgba(143,77,255,0) 74%)}
.lamp.l6{
  background:
    radial-gradient(ellipse 22% 13% at 26% 50%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%),
    radial-gradient(ellipse 22% 13% at 74% 50%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%),
    radial-gradient(ellipse 28% 11% at 28% 10%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%),
    radial-gradient(ellipse 28% 11% at 72% 10%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%),
    radial-gradient(ellipse 28% 11% at 28% 90%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%),
    radial-gradient(ellipse 28% 11% at 72% 90%, #fffdf0 0, #ff2ec0 24%, rgba(255,46,192,0) 74%)}
/* The centre glows brightest. */
.core{
  position:absolute;inset:0;display:block;mix-blend-mode:screen;
  background:radial-gradient(ellipse 46% 26% at 50% 50%, #fff2c8 0, rgba(255,214,120,.75) 38%, rgba(255,160,60,0) 78%);
  opacity:calc(var(--lv) * 1.25);will-change:opacity;
}
/* Idle: the lamps are fully black. Playing: they take over at once and fade back to black when it stops. */
.organ:not(.live) .lamp,.organ:not(.live) .core{transition:opacity .25s ease-out}
.organ{isolation:isolate}
.organ::before{content:"";position:absolute;inset:0;border-radius:8px;z-index:-1;pointer-events:none;box-shadow:0 0 46px 8px rgba(255,190,110,.95);opacity:calc(var(--lv) * .9);will-change:opacity}
/* Marquee sign over the black organ (idle only): amber LED lettering. Both speakers show the same thing at the same time. */
.sign{position:absolute;inset:0;display:block;overflow:hidden;opacity:1;transition:opacity .6s ease-in}
.organ.live .sign{opacity:0;transition:opacity .25s ease-out}
.sign::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 50%, transparent 0 .9px, rgba(0,0,0,.55) 1.45px) 0 0/3px 3px}
.sign .track{display:block;animation:sign-up 34s linear infinite;will-change:transform;filter:brightness(1.35) saturate(1.2)}
.organ:not(.live) .lens{opacity:.5;transition:opacity .4s}
.organ.live .lens{transition:opacity .2s}
.sign .set{display:block;padding:16px 6px 40px;text-align:center}
.sign .ln{display:block;margin:0 0 9px;font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:15px;line-height:1.15;letter-spacing:.06em;text-transform:uppercase;color:#FF9A1F;text-shadow:0 0 4px rgba(255,160,30,1),0 0 10px rgba(255,100,0,.85),0 0 18px rgba(255,70,0,.5)}
.sign .ln.big{font-family:Cinzel,Georgia,serif;font-size:22px;letter-spacing:.04em;color:#FFC24A;text-shadow:0 0 6px rgba(255,200,60,1),0 0 16px rgba(255,140,0,.8);margin-bottom:14px}
.sign .ln.hd{color:#FFB52E;font-size:16px;margin:8px 0 10px}
.sign .ln.sp{font-size:20px;margin:6px 0 14px;color:#FFAA2A}
/* Festive art mixed into the idle organ signs while Christmas Vol. 1 is selected (t271u, t272u). */
.sign .ln.xm{
  text-transform:none;text-shadow:none;letter-spacing:0;color:transparent;
  display:flex;align-items:center;justify-content:center;margin:8px 0 16px;
}
.sign .ln.xm svg{width:52px;height:52px;display:block;filter:drop-shadow(0 0 5px rgba(255,180,40,.55))}
@keyframes sign-up{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@keyframes sign-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Prismatic lens: a fine pyramid-facet texture over all the lamps. */
.lens{
  position:absolute;inset:9px;display:block;border-radius:3px;pointer-events:none;
  background:
    linear-gradient(125deg, rgba(255,255,255,.2) 0, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(0,0,0,.28) 100%),
    conic-gradient(from 45deg at 50% 50%, rgba(255,255,255,.26) 0 25%, rgba(0,0,0,.24) 25% 50%, rgba(255,255,255,.08) 50% 75%, rgba(0,0,0,.14) 75% 100%) 0 0/9px 9px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12), inset 0 0 16px rgba(0,0,0,.5);
}
.lens::after{
  content:"";position:absolute;inset:0;border-radius:3px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.12) 0 1px, transparent 1px 9px);
}

/* ---- Player (centre) ---- */
.player{
  min-width:0;display:flex;flex-direction:column;
  padding:8px 10px 10px;
  background:linear-gradient(180deg, #2a1810, #160e0a);
  border:3px solid #E8C260;border-radius:10px;
  box-shadow:0 0 0 2px #5a3a08, inset 0 0 14px rgba(0,0,0,.45);
}
.top-cap{
  flex:0 0 auto;text-align:center;padding:6px 8px;
  background:linear-gradient(180deg, #f3efe6 0%, #c8c3b8 40%, #9a958c 70%, #6a6660 100%);
  border-radius:8px 8px 4px 4px;
  box-shadow:inset 0 1px 0 #fff, 0 2px 0 #3a3820, 0 3px 6px rgba(0,0,0,.35);
  border:1px solid #eeeae0;
}
.badge{
  display:inline-block;padding:3px 18px 4px;
  background:linear-gradient(180deg, #3a0c14, #6E0B1C 40%, #2a0810);
  border:2px solid var(--gold2);
  box-shadow:0 0 0 1px #6a4a14, 0 2px 6px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,230,160,.35);
  border-radius:6px;
}
.badge h1{
  margin:0;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:24px;white-space:nowrap;
  letter-spacing:.1em;color:var(--gold2);
  text-shadow:0 0 8px rgba(232,200,119,.7), 0 1px 0 #3a1a08;line-height:1.15;
}

.title-window{display:flex;flex-direction:column;margin-top:8px;min-height:0;flex:1 1 auto}
.col-head{
  display:flex;justify-content:space-between;align-items:baseline;
  padding:2px 10px 3px;
  font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold2);border-bottom:1px solid rgba(201,153,63,.5);
}
.ch-rated{padding-right:26px}
.genre-row{display:flex;align-items:center;gap:8px;padding:6px 4px 4px}
.genre-label{
  flex:0 0 auto;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--gold2);
}
.genres{flex:1 1 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;min-width:0}
.genre-btn{
  appearance:none;cursor:pointer;
  min-height:38px;padding:3px 4px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
  font-family:Cinzel,Georgia,serif;font-weight:700;font-size:10px;letter-spacing:.06em;
  line-height:1.1;color:#2a1a10;text-transform:uppercase;
  background:linear-gradient(180deg, #f7f3e8 0%, #c8c2b4 48%, #9a9488 100%);
  border:1px solid #5a5448;border-radius:5px;
  box-shadow:inset 0 1px 0 #fff, 0 3px 0 #3a342c, 0 3px 4px rgba(0,0,0,.4);
  text-shadow:0 1px 0 #fff;
}
.genre-btn span{display:block}
.genre-btn:hover{filter:brightness(1.06)}
.genre-btn:active{transform:translateY(2px);box-shadow:inset 0 1px 2px rgba(0,0,0,.4), 0 0 0 #3a342c}
.genre-btn:focus-visible{outline:3px solid #ffe08a;outline-offset:1px}
.genre-btn[aria-selected="true"]{
  background:linear-gradient(180deg, #ffe9a0, #e0a020);color:#4a1a00;
  box-shadow:inset 0 1px 0 #fff4c8, 0 2px 0 #8a5a10, 0 0 12px rgba(255,180,40,.85);
}

/* Progress: now playing line + a bar that runs dot to dot */
.progress{padding:3px 6px 6px}
.now{
  display:flex;align-items:baseline;gap:0;min-width:0;
  font-family:Cinzel,Georgia,serif;font-size:12px;color:#e8ffd8;
  background:linear-gradient(180deg, #0e1a12, #07140c);
  border:1px solid #4a7a5a;border-radius:4px;padding:3px 8px;
  box-shadow:inset 0 0 8px rgba(80,255,140,.12);
}
.now .t{display:flex;align-items:center;gap:6px;min-width:0;font-weight:700;letter-spacing:.03em;flex:0 1 auto}
.now .t .now-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.now .a{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Georgia,serif;font-size:10px;color:#9cbf9c;padding-left:4px}
.now .time{flex:0 0 auto;margin-left:auto;padding-left:8px;font-family:Arial,Helvetica,sans-serif;font-size:11px;font-variant-numeric:tabular-nums;color:#8fd9a0}
.bar{display:flex;align-items:center;gap:6px;margin-top:6px}
.dot{
  flex:0 0 auto;width:11px;height:11px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff, #b9b4a8 45%, #4a463e);
  box-shadow:0 0 0 2px #1a1008, 0 0 0 3px #c9a15a;
}
#seek{
  --p:0%;
  flex:1 1 auto;min-width:0;width:100%;height:26px;margin:0;padding:0;background:transparent;cursor:pointer;
  -webkit-appearance:none;appearance:none;
}
#seek:disabled{cursor:default;opacity:.7}
#seek::-webkit-slider-runnable-track{
  height:8px;border-radius:4px;border:1px solid #6a4a10;
  background:linear-gradient(90deg, #f3e0a0 0, #C9993F var(--p), #1a1008 var(--p), #2e1c10 100%);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.6);
}
#seek::-moz-range-track{height:8px;border-radius:4px;border:1px solid #6a4a10;background:#2e1c10}
#seek::-moz-range-progress{height:8px;border-radius:4px;background:linear-gradient(90deg,#f3e0a0,#C9993F)}
#seek::-webkit-slider-thumb{
  -webkit-appearance:none;width:20px;height:20px;margin-top:-7px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff, #cfc9bc 45%, #6a645a);border:2px solid #3a342c;
  box-shadow:0 1px 3px rgba(0,0,0,.6);
}
#seek::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 35% 30%, #fff, #cfc9bc 45%, #6a645a);border:2px solid #3a342c}
#seek:focus-visible{outline:3px solid #ffe08a;outline-offset:2px;border-radius:6px}

/* Song list: fixed window, scrollbar with up/down arrows on the right */
.list-wrap{
  display:flex;align-items:stretch;
  flex:1 1 auto;min-height:0;
  background:#1a100c;border:1px solid #c9a15a;border-radius:3px;overflow:hidden;
}
.song-list{
  flex:1 1 auto;min-width:0;min-height:0;
  overflow-y:scroll;overflow-x:hidden;padding:4px 4px 4px 5px;
  background:repeating-linear-gradient(180deg, rgba(255,240,200,.03) 0 28px, transparent 28px 56px), #1a100c;
  scrollbar-width:none;overscroll-behavior:contain;
}
.song-list::-webkit-scrollbar{width:0;height:0;display:none}
.list-bar{
  flex:0 0 24px;width:24px;display:flex;flex-direction:column;
  background:linear-gradient(90deg,#1a1008,#2e1c10);border-left:1px solid #C9993F;
}
.scr-btn{
  appearance:none;cursor:pointer;flex:0 0 26px;height:26px;padding:0;display:grid;place-items:center;
  background:linear-gradient(180deg, #f7f3e8, #9a9488);border:0;border-bottom:1px solid #3a342c;color:#2a1a10;
}
.scr-btn:last-child{border-bottom:0;border-top:1px solid #3a342c}
.scr-btn svg{width:12px;height:8px;fill:currentColor}
.scr-btn:active{filter:brightness(.85)}
.scr-btn:focus-visible{outline:3px solid #ffe08a;outline-offset:-3px}
.list-scroll{flex:1 1 auto;position:relative;min-height:0;box-shadow:inset 0 0 6px rgba(0,0,0,.55)}
.list-thumb{
  position:absolute;left:3px;right:3px;top:0;height:40px;
  background:linear-gradient(180deg,#f3e0a0,#C9993F 45%,#8a5a18);border-radius:7px;border:1px solid #6a4a10;
  box-shadow:inset 0 1px 0 #fff4c8, 0 1px 2px rgba(0,0,0,.5);
}

.song-row{
  appearance:none;border:0;cursor:pointer;width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  text-align:left;
  background:linear-gradient(180deg, #f7eed4, #e8d8ae);border-radius:2px;
  min-height:38px;padding:3px 8px;margin:0 0 3px 0;
  box-shadow:0 1px 0 rgba(0,0,0,.35);
  font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif;
}
.song-row:hover{filter:brightness(1.06);outline:1px solid var(--gold)}
.song-row:focus-visible{outline:3px solid #6E0B1C;outline-offset:-2px}
.song-row[aria-selected="true"]{
  background:linear-gradient(180deg, #fff4c4, #f0c86a);
  box-shadow:0 0 0 1px #6E0B1C, 0 0 8px rgba(232,200,119,.7);
}
.song-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;gap:1px}
.song-row .title-wrap{display:flex;align-items:center;gap:6px;min-width:0}
.song-row .title{
  font-size:12px;font-weight:700;color:#2A1D10;letter-spacing:.02em;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto;
}
.song-row .artist{font-size:9px;color:#5A3A2A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rated{flex:0 0 auto;display:flex;align-items:center;gap:6px}
.plays-n{min-width:3ch;text-align:right;font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:700;color:#5A3A2A;font-variant-numeric:tabular-nums}
.star{width:16px;text-align:center;font-size:16px;line-height:1;color:#B07A00;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.song-row.is-disabled{
  flex-wrap:wrap;cursor:not-allowed;
  background:linear-gradient(180deg, #cfcabb, #b4ae9c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.22);
}
.song-row.is-disabled:hover{filter:none;outline:0}
.song-row.is-disabled .title{text-decoration:line-through;text-decoration-thickness:1px;color:#6a6252;opacity:.8}
.song-row.is-disabled .artist{opacity:.6}
.song-row.is-disabled .explicit{opacity:1}
.song-row .disabled-note{
  flex:0 0 100%;font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:700;
  letter-spacing:.04em;color:#7a0a0a;text-transform:none;line-height:1.2;
}
.explicit{
  flex:0 0 auto;display:inline-block;padding:1px 5px;
  font-family:Arial,Helvetica,sans-serif;font-size:8px;font-weight:800;letter-spacing:.08em;line-height:1.25;
  color:#fff;background:#c01010;border:1px solid #8a0000;border-radius:2px;text-transform:uppercase;vertical-align:middle;
}

/* Transport: previous, stop, play, pause, next */
.transport{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px;flex:0 0 auto}
.tbtn{
  appearance:none;cursor:pointer;height:42px;display:grid;place-items:center;padding:0;
  color:#1a2a6e;border:2px solid #5a5448;border-radius:8px;
  background:linear-gradient(180deg, #ffffff 0%, #dcd7cb 45%, #a39d90 52%, #e9e5da 100%);
  box-shadow:inset 0 1px 0 #fff, 0 3px 0 #3a342c, 0 4px 6px rgba(0,0,0,.45);
  transition:filter .12s, transform .08s;
}
.tbtn svg{width:24px;height:16px;fill:currentColor}
.tbtn:hover{filter:brightness(1.07)}
.tbtn:active{transform:translateY(2px);box-shadow:inset 0 1px 2px rgba(0,0,0,.4), 0 1px 0 #3a342c}
.tbtn:focus-visible{outline:3px solid #ffe08a;outline-offset:2px}
.tbtn.play.on{color:#06330f;background:radial-gradient(circle at 40% 30%, #b8ffc8, #3cc860 55%, #17772f);box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 3px 0 #1d4a2a, 0 0 12px rgba(80,255,120,.8)}
.tbtn.pause.on{color:#4a2a00;background:radial-gradient(circle at 40% 30%, #fff0b0, #e8b030 55%, #a06a10);box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 3px 0 #5a3a08, 0 0 12px rgba(255,190,60,.8)}

/* Bottom grille: thumbs down (left), Total ( ) Plays (middle), thumbs up (right) */
.grille{
  margin-top:10px;flex:0 0 auto;padding:6px;
  background:linear-gradient(180deg, #d8d2c6, #8a8580 50%, #d0cbc0);
  border:3px solid #eeeae2;border-radius:8px 8px 22px 22px / 8px 8px 18px 18px;
  box-shadow:0 0 0 2px #3a342c, inset 0 1px 0 #fff, 0 6px 10px rgba(0,0,0,.4);
}
.grille-face{
  height:68px;border-radius:4px 4px 16px 16px / 4px 4px 12px 12px;
  background:repeating-linear-gradient(180deg, #f8f5ee 0 3px, #d4cfc4 3px 4px, #8a8580 4px 5px, #ece8de 5px 8px);
  box-shadow:inset 0 10px 16px rgba(255,255,255,.35), inset 0 -12px 18px rgba(0,0,0,.35);
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;overflow:hidden;
}
.grille-mid{position:relative;z-index:1;flex:1 1 auto;min-width:0;display:flex;justify-content:center}
.total{
  font-family:Cinzel,Georgia,serif;font-weight:700;font-size:13px;letter-spacing:.08em;color:#2a1a10;
  text-shadow:0 1px 0 rgba(255,255,255,.7);
  background:linear-gradient(180deg, rgba(255,255,255,.6), rgba(220,214,200,.6));
  padding:4px 14px;border-radius:12px;border:1px solid rgba(90,84,72,.55);box-shadow:inset 0 1px 2px rgba(0,0,0,.25);white-space:nowrap;
}
.total .plays{display:inline-block;min-width:1.5ch;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.rate-btn{
  appearance:none;cursor:pointer;position:relative;z-index:2;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-width:84px;height:46px;padding:0 12px;border-radius:23px;
  font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;letter-spacing:.04em;
  color:#2a1a10;border:2px solid #5a5448;
  background:linear-gradient(180deg, #ffffff 0%, #dcd7cb 45%, #a39d90 52%, #e9e5da 100%);
  text-shadow:0 1px 0 #fff;
  box-shadow:inset 0 1px 0 #fff, 0 3px 0 #3a342c, 0 4px 6px rgba(0,0,0,.45);
  transition:filter .12s, transform .08s, box-shadow .12s;
}
.rate-btn .ico{display:inline-flex;width:22px;height:22px}
.rate-btn svg{width:100%;height:100%;fill:currentColor;filter:drop-shadow(0 1px 0 rgba(255,255,255,.8))}
.rate-btn.down svg{transform:scaleY(-1)}
.rate-btn .cnt{min-width:1ch;text-align:left;font-variant-numeric:tabular-nums}
.rate-btn:hover:not(:disabled){filter:brightness(1.07)}
.rate-btn:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px 2px rgba(0,0,0,.4), 0 1px 0 #3a342c}
.rate-btn:focus-visible{outline:3px solid #6E0B1C;outline-offset:2px}
.rate-btn:disabled{cursor:default;opacity:.62;filter:grayscale(.3)}
.rate-btn.up[aria-pressed="true"]{
  color:#06330f;background:radial-gradient(circle at 40% 30%, #b8ffc8, #3cc860 55%, #17772f);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 3px 0 #1d4a2a, 0 0 14px rgba(80,255,120,.85);
}
.rate-btn.down[aria-pressed="true"]{
  color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.6);
  background:radial-gradient(circle at 40% 30%, #ff9a9a, #d02828 55%, #7a0e0e);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 #5a1010, 0 0 14px rgba(255,80,80,.85);
}

.floor-shadow{position:absolute;left:8%;right:8%;bottom:-16px;height:20px;background:radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.55), transparent 70%);z-index:-1}
#status{margin:10px 0 0;font-size:12px;color:#f3e2b0;text-align:center;text-shadow:0 1px 2px #000;min-height:1.2em;position:relative;z-index:1}
audio{position:absolute;width:0;height:0;opacity:0;pointer-events:none}


/* ===== MED-41: everything silver is gold; selected = glowing gold; plaque with banded background and chase bulbs ===== */
:root{
  --gold-grad:linear-gradient(180deg,#FFF0B0 0%,#F2D06A 28%,#D4A02E 55%,#A87818 72%,#E6BE58 100%);
  --gold-grad-soft:linear-gradient(180deg,#F8E4A0 0%,#E2B848 45%,#B88720 100%);
  --gold-ink:#3a1c00;
  --gold-edge:#7a520e;
  --glow-grad:linear-gradient(180deg,#FFF8CC 0%,#FFE070 30%,#FFC21E 62%,#F0A010 100%);
}
/* Title plaque: a gold frame with chase bulbs around a bold banded panel */
.top-cap{
  position:relative;padding:15px 16px;text-align:center;
  background:var(--gold-grad);
  border:2px solid #FFF3C0;border-radius:10px;
  box-shadow:inset 0 1px 0 #fff8d8,0 0 0 2px var(--gold-edge),0 3px 8px rgba(0,0,0,.5);
}
.badge{
  display:block;width:100%;padding:8px 10px 9px;border-radius:5px;
  background:linear-gradient(180deg,#3a0610 0 12%,#F0B232 12% 17%,#8f1022 17% 40%,#d9501a 40% 61%,#F5A41C 61% 69%,#8f1022 69% 88%,#F0B232 88% 93%,#3a0610 93% 100%);
  border:2px solid #FFE79A;
  box-shadow:0 0 0 1px var(--gold-edge),inset 0 0 0 1px #3a0610,inset 0 2px 8px rgba(0,0,0,.45);
}
.badge h1{
  font-size:30px;line-height:1.1;letter-spacing:.07em;color:#FFF6CC;
  text-shadow:0 2px 0 #3a0610,2px 0 0 #3a0610,-2px 0 0 #3a0610,0 -2px 0 #3a0610,1.5px 1.5px 0 #3a0610,-1.5px 1.5px 0 #3a0610,1.5px -1.5px 0 #3a0610,-1.5px -1.5px 0 #3a0610,0 3px 6px rgba(0,0,0,.6);
}
/* Chase bulbs: each bulb lights in turn around the frame (two dark bulbs between lit ones). Smooth fades, under 1 flash a second per bulb. */
.ring{position:absolute;inset:0;pointer-events:none;display:block}
.cb{
  position:absolute;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;
  background:radial-gradient(circle at 38% 32%,#fffbe0 0,#FFE27A 45%,#E8A81C 100%);
  box-shadow:0 0 0 1px #6a4608,0 0 5px 1px rgba(255,214,90,.95);
  animation:cb-chase 1.2s linear infinite;animation-delay:calc(var(--k) * -.8s);
}
@keyframes cb-chase{
  0%,26%{opacity:1;filter:brightness(1.15)}
  40%,86%{opacity:.28;filter:brightness(.7)}
  100%{opacity:1;filter:brightness(1.15)}
}
/* Genre buttons, transport, scroll arrows, progress knobs, speaker knobs: gold */
.genre-btn,.tbtn,.scr-btn{background:var(--gold-grad);color:var(--gold-ink);text-shadow:0 1px 0 rgba(255,246,200,.8)}
.genre-btn{border:1px solid var(--gold-edge);box-shadow:inset 0 1px 0 #fff8d8,0 3px 0 #5a3a08,0 3px 4px rgba(0,0,0,.4)}
.genre-btn:active{box-shadow:inset 0 1px 2px rgba(0,0,0,.4),0 0 0 #5a3a08}
.tbtn{color:#4a1a00;border:2px solid var(--gold-edge);box-shadow:inset 0 1px 0 #fff8d8,0 3px 0 #5a3a08,0 4px 6px rgba(0,0,0,.45)}
.tbtn:active{box-shadow:inset 0 1px 2px rgba(0,0,0,.4),0 1px 0 #5a3a08}
.scr-btn{border-bottom:1px solid var(--gold-edge);color:#4a1a00}
.scr-btn:last-child{border-top:1px solid var(--gold-edge)}
.dot,.knob,#seek::-webkit-slider-thumb{background:radial-gradient(circle at 35% 30%,#FFF8D0,#E8BE50 45%,#9a6a14)}
.dot,.knob{box-shadow:0 0 0 2px #1a1008,0 0 0 3px #E8C260,0 2px 3px rgba(0,0,0,.5)}
#seek::-webkit-slider-thumb{border:2px solid var(--gold-edge)}
#seek::-moz-range-thumb{background:radial-gradient(circle at 35% 30%,#FFF8D0,#E8BE50 45%,#9a6a14);border:2px solid var(--gold-edge)}
.speaker{border-color:#E8C260;box-shadow:inset 0 0 0 2px #1a1008,inset 0 6px 14px rgba(0,0,0,.55),0 1px 0 rgba(255,235,170,.4)}
.list-wrap{border-color:#E8C260}
.list-bar{background:linear-gradient(90deg,#2a1608,#3e2410);border-left-color:#E8C260}
/* Bottom frame: gold, with chase bulbs around the whole frame (not each button) */
.grille{
  position:relative;padding:15px;
  background:var(--gold-grad);border:3px solid #FFF3C0;border-radius:10px;
  box-shadow:0 0 0 2px var(--gold-edge),inset 0 1px 0 #fff8d8,0 6px 10px rgba(0,0,0,.45);
}
.grille-face{
  height:62px;border-radius:5px;
  background:repeating-linear-gradient(180deg,#FFF2B8 0 3px,#E8C260 3px 4px,#B88720 4px 5px,#F6DC88 5px 8px);
  box-shadow:inset 0 10px 16px rgba(255,250,210,.4),inset 0 -12px 18px rgba(120,70,0,.35),0 0 0 1px var(--gold-edge);
}
.total{background:linear-gradient(180deg,#FFF6CC,#F0D070);border:1px solid var(--gold-edge);color:#3a1c00;text-shadow:0 1px 0 rgba(255,250,220,.8)}
.rate-btn{background:var(--gold-grad);border:2px solid var(--gold-edge);color:#3a1c00;text-shadow:0 1px 0 rgba(255,246,200,.8);box-shadow:inset 0 1px 0 #fff8d8,0 3px 0 #5a3a08,0 4px 6px rgba(0,0,0,.45)}
.rate-btn:active:not(:disabled){box-shadow:inset 0 1px 2px rgba(0,0,0,.4),0 1px 0 #5a3a08}
.rate-btn svg{filter:drop-shadow(0 1px 0 rgba(255,246,200,.8))}
/* Selected / active = glowing gold, with a warm halo */
.genre-btn[aria-selected="true"],.tbtn.play.on,.tbtn.pause.on,.rate-btn.up[aria-pressed="true"]{
  background:var(--glow-grad);color:#3a1400;border-color:#FFF3B0;
  box-shadow:inset 0 1px 0 #fffbe0,0 2px 0 #9a6a10,0 0 10px 2px rgba(255,205,70,.95),0 0 26px 8px rgba(255,170,40,.55);
  text-shadow:0 1px 0 rgba(255,252,220,.9);
}
.song-row[aria-selected="true"]{
  background:var(--glow-grad);
  box-shadow:0 0 0 2px #FFF0A0,0 0 10px 3px rgba(255,200,60,.9),0 0 24px 6px rgba(255,170,40,.5),inset 0 0 8px rgba(255,255,230,.6);
  position:relative;z-index:1;
}
.song-row[aria-selected="true"] .title{color:#2a0e00}
.song-row[aria-selected="true"] .star{color:#8a4a00}
.rate-btn.down[aria-pressed="true"]{color:#fff}
@media (prefers-reduced-motion: reduce){
  .cb{animation:none !important;opacity:.35;filter:brightness(.7)}
  .cb[data-k="0"]{opacity:1;filter:brightness(1.1)}
}


/* ===== MED-41: the song area is split in half: now playing (cover, info, lyrics) on the left, the ranked list on the right ===== */
.split{
  display:grid;grid-template-columns:minmax(0,43%) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
  grid-template-areas:"np list" "ly list";gap:8px;
  height:clamp(400px, calc(100vh - 440px), 500px);min-height:0;flex:0 0 auto;margin-top:2px;
}
.np{grid-area:np;min-width:0;display:flex;flex-direction:column;gap:7px;padding:8px;border:1px solid #E8C260;border-radius:6px;
  background:linear-gradient(180deg,#3a2210,#22140a);box-shadow:inset 0 0 12px rgba(0,0,0,.5)}
.np-top{display:flex;gap:9px;align-items:flex-start;min-width:0}
.cover{
  flex:0 0 auto;width:min(46%,128px);aspect-ratio:1/1;position:relative;overflow:hidden;border-radius:5px;
  background:linear-gradient(135deg,#6E0B1C,#3a0610);border:2px solid #F0CF68;
  box-shadow:0 0 0 1px #7a520e,0 0 0 4px #3a2210,0 0 0 5px #E8C260,0 4px 10px rgba(0,0,0,.55);
}
.cover img{display:block;width:100%;height:100%;object-fit:cover}
.cover-ph{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px;text-align:center;
  background:
    repeating-linear-gradient(180deg,rgba(255,214,110,.12) 0 2px,transparent 2px 9px),
    radial-gradient(circle at 50% 38%,#a3122a 0,#6E0B1C 55%,#2a0610 100%);
}
.cover-ph .ph-note{font-size:26px;line-height:1;color:#F5CF5A;text-shadow:0 0 8px rgba(255,190,50,.8)}
.cover-ph .ph-brand{font-family:Cinzel,Georgia,serif;font-weight:700;font-size:12px;letter-spacing:.06em;color:#FFE79A;text-shadow:0 1px 0 #3a0610,0 0 6px rgba(255,190,50,.6)}
.cover-ph .ph-title{font-family:Georgia,serif;font-size:9.5px;line-height:1.2;color:#f6dca0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.np-info{min-width:0;flex:1 1 auto}
.cover-ph[hidden],.cover img[hidden],.np-album[hidden]{display:none !important}
.np .np-title{text-shadow:0 1px 0 #3a0610;-webkit-text-stroke:0;letter-spacing:.02em;margin:0 0 3px;font-family:Cinzel,Georgia,serif;font-size:15px;line-height:1.2;color:#FFE79A !important;overflow-wrap:anywhere}
.np-title .explicit{margin-left:6px;vertical-align:middle}
.np-artist{margin:0;font-size:12px;color:#e9d29a}
.np-album{margin:3px 0 0;font-size:11px;color:#cdb77f;font-style:italic}
.np-meta{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 6px}
.np-meta li{font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#d9c48c;background:rgba(0,0,0,.35);border:1px solid rgba(232,194,96,.45);border-radius:10px;padding:2px 8px;white-space:nowrap}
.np-meta .k{opacity:.8}
.np-meta b{color:#FFE79A;font-variant-numeric:tabular-nums}
.ly-toggle{display:none}
.lyrics{
  grid-area:ly;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;position:relative;
  border:1px solid #E8C260;border-radius:6px;background:linear-gradient(180deg,#160c08,#0e0705);
  box-shadow:inset 0 0 14px rgba(0,0,0,.65);padding:0;scrollbar-width:thin;scrollbar-color:#C9993F #1a100c;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 12%,#000 88%,transparent 100%);
}
.lyrics:focus-visible{outline:3px solid #ffe08a;outline-offset:1px}
.ly-inner{padding:34% 12px;text-align:center;font-family:Georgia,serif;font-size:14px;line-height:1.55;color:#e9d9aa}
.ly-inner p{margin:0 0 .15em}
.ly-inner .ly-line{display:block;padding:1px 0;color:#bda877;transition:color .25s,text-shadow .25s}
.ly-inner .ly-line.on{color:#FFE27A;text-shadow:0 0 8px rgba(255,200,60,.8);font-weight:700}
.ly-inner .ly-gap{display:block;height:.9em}
.ly-inner .ly-none{padding:0;margin:0;color:#c9b27c;font-style:italic}
.lyrics.empty .ly-inner{padding:0;height:100%;display:flex;align-items:center;justify-content:center}
.lyrics.empty{-webkit-mask-image:none;mask-image:none}
.listcol{grid-area:list;min-width:0;min-height:0;display:flex;flex-direction:column}
.listcol .col-head{flex:0 0 auto}

/* Soft static glow when the visitor asks for reduced motion: no flashing, no pulsing. */
@media (prefers-reduced-motion: reduce){
  /* Reduced motion: no scrolling and no flashing. Idle = black with a static sign; playing = a soft steady glow. */
  .sign .track{animation:none !important}
  .sign .set:nth-child(2){display:none}
  .sign{transition:none}
  .organ:not(.live) .lamp,.organ:not(.live) .core{transition:none}
  .jukebox.is-playing .lamp{--l:.5}
  .jukebox.is-playing .core{opacity:.45}
  .jukebox.is-playing .sign{opacity:0}
  .sign .set{justify-content:center}
  .tbtn,.rate-btn{transition:none}
}

/* ===== Narrower laptop windows: slimmer speaker panels ===== */
@media (max-width: 1000px) and (min-width: 761px){
  .jukebox{grid-template-columns:90px minmax(0,1fr) 90px;gap:8px;padding:10px}
  .speaker{padding:10px 6px}
  .organ{min-height:260px}
}

/* ===== PHONE (760px and narrower): one fixed screen. A speaker strip across the top, then the player. ===== */
@media (max-width: 760px){
  main{padding:8px 8px 20px}
  .howto{font-size:12px;padding:0 58px 0 8px}
  .howto-key{display:none}
  .stage{max-width:700px;margin-top:10px}
  .jukebox{
    width:100%;max-width:700px;
    height:max(580px,calc(100vh - 56px));height:max(580px,calc(100dvh - 56px));
    grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(0,1fr);gap:8px;
    padding:8px;border-radius:18px 18px 14px 14px;
  }
  .speaker{
    grid-row:1;flex-direction:row;align-items:center;gap:8px;padding:5px 8px;border-radius:10px;
    min-height:0;
  }
  .speaker.left{grid-column:1;justify-content:flex-start}
  .speaker.right{grid-column:2;justify-content:flex-end}
  .speaker .organ{order:1;flex:0 0 auto;width:min(150px,72%);min-height:0;height:54px;padding:5px}
  .speaker .spk-top{order:2;min-height:0;gap:0;flex:1 1 auto;justify-content:center}
  .speaker.right .spk-top{order:0}
  .speaker.right .organ{order:1}
  .spk-top .knob{display:none}
  .spk-top .pilot{display:block}
  .lens{inset:5px}
  .lens{background-size:auto,6px 6px}
  .lens::after{background:repeating-linear-gradient(45deg, rgba(255,255,255,.10) 0 1px, transparent 1px 6px),repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 1px, transparent 1px 6px)}
  .sign .track{display:flex;width:max-content;animation:sign-left 22s linear infinite}
  .sign::after{background-size:2px 2px;background-image:radial-gradient(circle at 50% 50%, transparent 0 .6px, rgba(0,0,0,.5) 1px)}
  .sign .set{display:flex;align-items:center;flex:0 0 auto;gap:20px;padding:0 20px 0 6px;height:100%;white-space:nowrap;text-align:left}
  .sign .ln{margin:0;font-size:14px;white-space:nowrap}
  .sign .ln.big{font-size:17px;margin:0}
  .sign .ln.hd{margin:0;font-size:14px}
  .sign .ln.sp{margin:0;font-size:14px}
  .sign .ln.xm{margin:0}
  .sign .ln.xm svg{width:36px;height:36px}
  .sign .ln.pad{display:none}
  .sign .track,.sign{height:100%}
  .player{grid-column:1 / -1;grid-row:2;min-height:0;padding:6px 8px 8px}
  .badge h1{font-size:22px;letter-spacing:.05em}
  .grille{padding:11px}
  .grille-face{height:46px}
  .cb{width:7px;height:7px;margin:-3.5px 0 0 -3.5px}
  .title-window{min-height:0;margin-top:6px;flex:1 1 auto}
  .list-wrap{flex:1 1 auto;height:auto;min-height:0}
  .song-list{overflow-y:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  .genre-row{padding:5px 2px 3px;gap:6px}
  .genre-label{display:none}
  .genre-btn{min-height:36px}
  .col-head{font-size:10px;padding:1px 8px 2px}
  .song-row{min-height:44px;padding:5px 8px}
  .song-row .title{font-size:12px;white-space:normal;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
  .now .t .now-name{font-size:12px}
  .tbtn{height:40px}
  .transport{gap:6px;margin-top:5px}
  .grille{margin-top:8px}
  .grille-face{padding:0 8px;gap:6px}
  .rate-btn{min-width:72px;height:40px;padding:0 10px;font-size:14px;gap:5px}
  .rate-btn .ico{width:20px;height:20px}
  .total{font-size:11px;padding:3px 9px;letter-spacing:.04em}
  .floor-shadow{display:none}
  /* Split on phones: a compact now-playing card above the list; the lyrics swap in for the list on tap. */
  .split{display:flex;flex-direction:column;gap:6px;height:auto;flex:1 1 auto;min-height:0;margin-top:2px}
  .np{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:3px 8px;padding:5px 6px;align-items:center}
  .np-top{display:contents}
  .cover{width:56px;grid-row:1 / span 2}
  .cover-ph .ph-note{font-size:15px}.cover-ph .ph-brand{font-size:8px}.cover-ph .ph-title{display:none}
  .np-info{grid-column:2 / span 2;grid-row:1}
  .np-title{font-size:13px;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
  .np-artist{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .np-album{margin:0;font-size:10px}
  .np-meta{grid-column:2;grid-row:2;gap:3px 4px;flex-wrap:nowrap;overflow:hidden;min-width:0}
  .np-meta li{font-size:10px;padding:1px 6px}
  .np-meta li:nth-child(1){display:none}
  .ly-toggle{display:inline-flex;grid-column:3;grid-row:2;justify-self:end;justify-content:center;align-items:center;min-height:30px;padding:0 10px;
    font-family:Cinzel,Georgia,serif;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#3a1c00;cursor:pointer;
    background:var(--gold-grad);border:1px solid var(--gold-edge);border-radius:6px;box-shadow:inset 0 1px 0 #fff8d8,0 2px 0 #5a3a08}
  .ly-toggle[aria-pressed="true"]{background:var(--glow-grad);box-shadow:inset 0 1px 0 #fffbe0,0 0 10px 2px rgba(255,205,70,.9)}
  .lyrics{display:none;flex:1 1 auto}
  .split.show-lyrics .lyrics{display:block}
  .split.show-lyrics .listcol{display:none}
  .listcol{flex:1 1 auto}
  .ly-inner{font-size:15px;padding:20% 12px}
  .progress{display:flex;align-items:center;gap:6px;padding:3px 4px 4px}
  .progress .now{display:contents}
  .progress .now .t,.progress .now .a{display:none}
  .progress .now .time{order:2;flex:0 0 auto;background:#07140c;border:1px solid #4a7a5a;border-radius:4px;padding:2px 6px;font-size:11px;color:#8fd9a0}
  .progress .bar{flex:1 1 auto;margin-top:0;min-width:0}
  .badge{padding:4px 8px 5px}
  .top-cap{padding:11px}
}
@media (max-width: 420px){
  .jukebox{padding:6px}
  .player{padding:6px}
}
/* Short phones (iPhone SE class, ~667px tall) */
@media (max-width: 760px) and (max-height: 720px){
  .speaker .organ{height:42px}
  .speaker{padding:4px 8px}
  .badge h1{font-size:21px}
  .genre-btn{min-height:34px}
  .song-row{min-height:40px;padding:4px 8px}
  .tbtn{height:38px}
  .grille-face{height:40px}
  .rate-btn{height:36px}
  .tbtn{height:34px}
  .progress{padding:1px 4px 2px}
  #seek{height:20px}
  .np-meta,.col-head{display:none}
  .np{padding:4px 6px}
  .cover{width:44px}
  .cover-ph .ph-brand{display:none}
  .np-title{font-size:12px}
  .ly-toggle{min-height:28px}
  .genre-btn{min-height:32px}
  .badge h1{font-size:19px}
  .badge{padding:3px 8px 4px}
  .top-cap{padding:10px}
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px){
  .sign .set{width:100%;padding:0;justify-content:center}
  .sign .set .ln:not(.big){display:none}
}

/* ===== MED-47 (Pastor t143u): the Jukebox is a full browser window with an X to close =====
   100vw x 100dvh, edge to edge. Site header, nav (and the Christmas bulb strip hanging from it), footer and the how-to line are hidden.
   A top band holds the gold X (right) and the cross-only Trappy circle just left of it. The cabinet fills the rest and its song list scrolls inside. */
html,body{height:100%;margin:0;overflow:hidden;background:#1a0c06}
body{display:block;width:100vw;height:100vh;height:100dvh;min-height:0}
header,nav.site-nav,.xmas-marquee,footer,.howto{display:none!important}
main{
  position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;padding:calc(56px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) calc(max(10px,env(safe-area-inset-bottom,0px)) + 14px) max(10px,env(safe-area-inset-left,0px));
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;align-items:stretch;
}
main::before{height:45%}
.stage{flex:1 1 auto;min-height:0;margin:0;max-width:none;width:100%;align-items:center}
.jukebox{width:100%;max-width:1700px;height:100%;min-height:540px;grid-template-columns:minmax(110px,1fr) minmax(0,1100px) minmax(110px,1fr)}
.player{min-height:0;display:flex;flex-direction:column}
.title-window,.split{min-height:0}
.split{height:auto;flex:1 1 auto}
#status{position:absolute;left:0;right:0;bottom:0;margin:0;pointer-events:none;font-size:11px;line-height:14px;min-height:0;z-index:2}
.floor-shadow{display:none}
.jb-close{
  position:fixed;z-index:2147483000;top:max(10px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));
  width:52px;height:52px;min-width:44px;min-height:44px;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;
  border-radius:50%;border:3px solid #E8C260;color:#F6D77A;
  background:radial-gradient(circle at 35% 30%,#4a2412,#1e0d06);
  box-shadow:0 0 0 2px #2a1c10,0 0 0 4px #8a5e14,0 4px 14px rgba(0,0,0,.55),0 0 16px rgba(240,207,104,.45);
  -webkit-tap-highlight-color:transparent;transition:transform .12s,box-shadow .12s,color .12s;
}
.jb-close svg{width:30px;height:30px;display:block;filter:drop-shadow(0 0 3px rgba(255,224,130,.7))}
.jb-close:hover{color:#FFF0B0;transform:scale(1.07)}
.jb-close:active{transform:scale(.95)}
.jb-close:focus-visible{outline:3px solid #FFF0B0;outline-offset:3px}
/* Trappy's cross-only circle sits to the left of the X, in the same top band, never over it */
#jcbot-root{position:fixed!important;top:calc(max(10px,env(safe-area-inset-top,0px)) + 4px)!important;right:calc(max(12px,env(safe-area-inset-right,0px)) + 52px + 14px)!important}
@media (max-width:760px){
  main{padding:calc(56px + env(safe-area-inset-top,0px)) max(6px,env(safe-area-inset-right,0px)) calc(max(4px,env(safe-area-inset-bottom,0px)) + 16px) max(6px,env(safe-area-inset-left,0px))}
  .stage{max-width:none}
  .jukebox{width:100%;max-width:none;height:100%;min-height:560px;grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){.jb-close{transition:none}}

/* ===== MED-49: album credit, small and subtle under the cover; it wraps, and scrolls inside its own box if it runs long ===== */
.np-credit{margin:0;padding:4px 2px 0;border-top:1px solid rgba(232,194,96,.22);font-family:Georgia,serif;font-size:10.5px;line-height:1.4;color:#b9a572;max-height:4.4em;overflow-y:auto;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8a6a2a transparent}
.np-credit[hidden]{display:none!important}
.np-credit:focus-visible{outline:2px solid #ffe08a;outline-offset:1px;border-radius:3px}
@media (max-width:760px){
  .np-credit{grid-column:1 / -1;grid-row:3;font-size:9.5px;line-height:1.35;max-height:2.8em;padding-top:3px;touch-action:pan-y;-webkit-overflow-scrolling:touch}
}
@media (max-width:760px) and (max-height:720px){.np-credit{font-size:9px;max-height:2.7em}}

/* ===== MED-50 (Pastor t147u, t148u): this week's verses (WEB) and the cast, with names, in random order ===== */
/* 1. Idle marquee signs: verse lines, references and cast names scroll with JC's Jukebox and the Top 5. */
.sign .ln.vs{font-family:Georgia,serif;font-weight:700;font-size:12px;line-height:1.25;letter-spacing:.01em;text-transform:none;color:#FFC24A;margin:0 0 2px;overflow-wrap:anywhere}
.sign .ln.rf{font-size:10px;letter-spacing:.05em;color:#FF9A1F;margin:0 0 12px}
.sign .ln.cn{font-family:Cinzel,Georgia,serif;font-size:14px;letter-spacing:.04em;color:#FFD97A;margin:4px 0 12px;overflow-wrap:anywhere}
/* 2. Cast card over the cover while idle: a face and a name, crossfading slowly (one change every 6.5 s, 0.5 s fade). */
.cast-card{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s;background:#22140a}
.cover.cast-on .cast-card{opacity:1;visibility:visible;transition:opacity .5s ease}
.cover.cast-on .cast-card.swap{opacity:0}
.cast-card img{display:block;width:100%;height:100%;object-fit:cover}
.cast-name{position:absolute;left:0;right:0;bottom:0;padding:14px 4px 4px;text-align:center;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;line-height:1.15;letter-spacing:.03em;color:#FFE79A;text-shadow:0 1px 2px #000,0 0 6px rgba(0,0,0,.9);background:linear-gradient(180deg,transparent,rgba(20,8,4,.88) 60%)}
/* 3. Idle lyrics panel: the week's verses scroll up slowly (hover or focus pauses them). */
.lyrics.verse-on{overflow:hidden}
.lyrics.verse-on .ly-inner{display:none}
.verse-scroll{position:absolute;inset:0;overflow:hidden;text-align:center}
.verse-scroll[hidden]{display:none}
.vs-head{position:absolute;z-index:2;left:0;right:0;top:0;margin:0;padding:7px 8px 14px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#E8C260;background:linear-gradient(180deg,#160c08 55%,transparent)}
.vs-track{animation:vs-up 120s linear infinite;will-change:transform}
.verse-scroll:hover .vs-track,.lyrics:focus-within .vs-track{animation-play-state:paused}
.vs-set{padding:34px 16px 0}
.vs-item{margin:0 0 22px}
.vs-item blockquote{margin:0;font-family:Georgia,serif;font-size:15px;line-height:1.5;color:#efdfae}
.vs-item figcaption{margin-top:5px;font-family:Cinzel,Georgia,serif;font-size:11px;letter-spacing:.08em;color:#C9993F}
@keyframes vs-up{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){
  .vs-track{animation:none!important}
  .verse-scroll{overflow-y:auto;overscroll-behavior:contain}
  .vs-set:nth-child(2){display:none}
  .cast-card,.cover.cast-on .cast-card{transition:none}
}
@media (max-width:760px){
  .cast-name{display:none}              /* the 56 px cover is too small for a caption: the name shows on the album line instead */
  .sign .ln.vs{font-size:13px;overflow-wrap:normal}
  .sign .ln.rf{font-size:11px;margin:0}
  .sign .ln.cn{font-size:14px;margin:0}
}

/* ===== MED-51: producer credit, small muted gold under the album credit ===== */
.np-producer{margin:0;padding:1px 2px 0;font-family:Georgia,serif;font-size:10.5px;line-height:1.4;color:#c9b27a;max-height:2.9em;overflow-y:auto;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8a6a2a transparent}
.np-producer[hidden]{display:none!important}
.np-producer:focus-visible{outline:2px solid #ffe08a;outline-offset:1px;border-radius:3px}
.np-credit+.np-producer{margin-top:-2px}
@media (max-width:760px){
  .np-producer{grid-column:1 / -1;grid-row:4;font-size:9.5px;line-height:1.3;max-height:2.7em;touch-action:pan-y;-webkit-overflow-scrolling:touch}
}
@media (max-width:760px) and (max-height:720px){.np-producer{font-size:9px;max-height:1.4em;white-space:nowrap;overflow-x:auto;overflow-y:hidden;text-overflow:ellipsis}}

/* ===== MED-53: lyrics from the PDFs. Section labels ([Verse 1], [Chorus]) are small gold headings; the text auto-scrolls with playback ===== */
.ly-inner .ly-line.ly-sec{margin-top:.5em;font-family:Cinzel,Georgia,serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#C9993F;font-weight:700}
.ly-inner .ly-line.ly-sec.on{color:#E8C260;text-shadow:none}

/* ===== ALBUMS REDESIGN (from Pastor's hand sketch) =====
   Genre tabs are gone. Inside the same gold cabinet, between the same light organs:
   title bar / [ ALBUM ART + arrows | Songs in Album + scroll arrows ] / wide panel (church info + verses when idle, lyrics when playing)
   / progress / transport / [ thumbs down | Total plays | thumbs up ]. Chase bulbs run round the whole cabinet frame.
   (The older .genre-*, .split, .np, .cover and .cast-* rules above are no longer used by the page.) */
.title-window{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.6fr) minmax(0,1fr) auto;gap:8px;margin-top:8px;min-height:0;min-width:0;flex:1 1 auto}
.ab-top{display:grid;grid-template-columns:minmax(0,47%) minmax(0,1fr);gap:8px;min-height:0;min-width:0}
.ab-art{
  min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:6px 12px;padding:7px;
  border:1px solid #E8C260;border-radius:6px;
  background:linear-gradient(180deg,#3a2210,#22140a);box-shadow:inset 0 0 12px rgba(0,0,0,.5);
}
.ab-frame{grid-column:1;grid-row:1;min-height:0;min-width:0;container-type:size;display:grid;place-items:center}
.ab-credits{grid-column:2;grid-row:1 / 3;align-self:center;min-width:0;display:flex;flex-direction:column;gap:6px}
.ab-sq{
  position:relative;width:min(100cqw,100cqh);height:min(100cqw,100cqh);overflow:hidden;border-radius:5px;
  background:linear-gradient(135deg,#6E0B1C,#3a0610);border:2px solid #F0CF68;
  box-shadow:0 0 0 1px #7a520e,0 0 0 4px #3a2210,0 0 0 5px #E8C260,0 4px 10px rgba(0,0,0,.55);
}
.ab-sq img{display:block;width:100%;height:100%;object-fit:cover}
.ab-label{
  position:absolute;top:5px;right:5px;max-width:72%;padding:3px 9px 3px;text-align:right;pointer-events:none;
  font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;line-height:1.15;letter-spacing:.05em;text-transform:uppercase;
  color:#FFE79A;background:rgba(26,10,6,.84);border:1px solid #E8C260;border-radius:10px;
  box-shadow:0 0 0 1px rgba(0,0,0,.5),0 2px 6px rgba(0,0,0,.6);text-shadow:0 1px 0 #3a0610;
}
.ab-label span{display:block}
.ab-label .sub{font-size:8.5px;letter-spacing:.04em;opacity:.88}
.ab-nav{grid-column:1;grid-row:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
.ab-arrow{
  appearance:none;cursor:pointer;width:56px;height:30px;padding:0;display:grid;place-items:center;
  background:var(--gold-grad);color:#4a1a00;border:2px solid var(--gold-edge);border-radius:7px;
  box-shadow:inset 0 1px 0 #fff8d8,0 3px 0 #5a3a08,0 4px 6px rgba(0,0,0,.45);transition:filter .12s,transform .08s;
}
.ab-arrow svg{width:22px;height:13px;fill:currentColor}
.ab-arrow:hover{filter:brightness(1.07)}
.ab-arrow:active{transform:translateY(2px);box-shadow:inset 0 1px 2px rgba(0,0,0,.4),0 1px 0 #5a3a08}
.ab-arrow:focus-visible{outline:3px solid #ffe08a;outline-offset:2px}
.ab-count{text-align:center;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#E8C877;white-space:nowrap}
.ab-art .np-credit{flex:0 0 auto;max-height:7.5em;font-size:11px;line-height:1.4;border-top:0;padding:0}
.ab-art .np-credit+.np-producer{margin-top:0}
.ab-art .np-producer{flex:0 0 auto;max-height:4em;font-size:11.5px;color:#e0c98a;padding:0}
.listcol{grid-area:auto;min-width:0;min-height:0;display:flex;flex-direction:column}
/* Wide panel (MED-89 / t273u): split into two halves. Half A is lyrics while a song plays, or today's
   blessings and this week's WEB verses when idle / a track has no lyrics. Half B is the cast introduction
   slideshow (a hook for a future Jukebox function). Church info still sits above both while idle. */
.ab-wide{
  position:relative;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;
  border:1px solid #E8C260;border-radius:6px;background:linear-gradient(180deg,#160c08,#0e0705);box-shadow:inset 0 0 14px rgba(0,0,0,.65);
}
.church-info{display:none;flex:0 0 auto;text-align:center;padding:5px 12px 4px;border-bottom:1px solid rgba(201,153,63,.4);background:linear-gradient(180deg,#2e1a0e,#1c100a)}
.ab-wide.idle .church-info{display:block}
.ci-name{margin:0;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:.04em;color:#FFE79A;text-shadow:0 1px 0 #3a0610,0 0 8px rgba(255,190,60,.45)}
.ci-line{margin:2px 0 0;font-family:Georgia,serif;font-size:12px;line-height:1.3;color:#e9d29a}
.ci-sub{font-style:italic;color:#cdb77f}
.ly-split{flex:1 1 auto;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.ly-split .lyrics{flex:1 1 auto;grid-area:auto;border:0;border-radius:0;background:transparent;box-shadow:none;display:block;min-width:0;min-height:0}
.ab-wide .ly-inner{padding:34px 14px 64px}
.ab-wide .lyrics.empty .ly-inner{padding:0}
.jb-fn-pane{position:relative;min-width:0;min-height:0;overflow:hidden;border-left:1px solid rgba(201,153,63,.4);background:linear-gradient(180deg,#1a100a,#0e0705)}
.cast-show{position:absolute;inset:0;overflow:hidden}
.cast-track{display:flex;align-items:stretch;width:max-content;height:100%;animation:cast-slide 80s linear infinite;will-change:transform}
.cast-set{display:flex;align-items:stretch;height:100%;flex:0 0 auto;padding:8px 4px}
.cast-slide{margin:0 6px;flex:0 0 auto;width:var(--sw,128px);display:flex;flex-direction:column;align-items:center;min-height:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;appearance:none;-webkit-appearance:none}
.cast-slide img{display:block;flex:0 0 auto;width:var(--cs,96px);height:var(--cs,96px);aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:5px;border:1px solid #E8C260;background:#22140a;box-shadow:0 0 0 1px #3a2210}
.cast-slide-cap{flex:0 0 auto;width:100%;margin:4px 0 0;text-align:center}
.cast-slide-name{display:block;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;line-height:1.2;letter-spacing:.03em;color:#FFE79A;text-shadow:0 1px 2px #000}
.cast-slide-tag{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:1px;font-family:Georgia,serif;font-style:italic;font-size:10.5px;line-height:1.2;color:#e9d29a;text-shadow:0 1px 2px #000}
.cast-show.no-tag .cast-slide-tag{display:none}
.cast-slide:focus-visible{outline:2px solid #E8C260;outline-offset:2px;border-radius:6px}
@keyframes cast-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.cast-show:hover .cast-track,.jb-fn-pane:focus-within .cast-track{animation-play-state:paused}
.vs-head-in{margin:0 0 10px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#E8C260}
@media (prefers-reduced-motion:reduce){
  .cast-track{animation:none!important}
  .cast-show{overflow-x:auto;overscroll-behavior:contain}
  .cast-set:nth-child(2){display:none}
}

/* MED-93 (t283u): Half B is split horizontally — faces on top, Good News underneath. */
.jb-fn-pane.has-goodnews{display:flex;flex-direction:column}
.cast-split{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:100%}
.cast-split .cast-slide-name{font-size:10px;line-height:1.15}
.cast-split .cast-slide-tag{font-size:8.5px;line-height:1.15;-webkit-line-clamp:1}
.cast-split .cast-slide-cap{margin-top:2px}
.cast-split .cast-show{position:relative;flex:1.2 1 55%;inset:auto;min-height:0;overflow:hidden}
.jb-goodnews{flex:1 1 45%;min-height:0;display:flex;flex-direction:column;border-top:1px solid rgba(201,153,63,.4);padding:4px 8px 6px;background:linear-gradient(180deg,#1a100a,#0e0705)}
.gn-h{margin:0 0 2px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#E8C260;text-align:center}
.gn-view{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}
.gn-panel{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;opacity:0;pointer-events:none;transition:opacity .35s ease}
.gn-panel.is-on{opacity:1;pointer-events:auto}
.gn-view.gn-static{overflow:auto}
.gn-view.gn-static .gn-panel{position:relative;inset:auto;opacity:1;pointer-events:auto;transition:none;margin-bottom:8px}
.gn-sub{margin:0 0 4px;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#FFE79A}
.gn-list{margin:0;padding:0 0 0 1.1em;font-family:Georgia,serif;font-size:10.5px;line-height:1.35;color:#e9d29a}
.gn-list li{margin:0 0 3px}
.gn-list a{color:#FFE79A;text-decoration:underline;text-underline-offset:2px}
.gn-list a:hover,.gn-list a:focus-visible{color:#fff}
.gn-invite{margin:6px 0 0;font-size:10.5px}
.gn-invite a{color:#E8C260;font-weight:700}
.gn-stats-note{margin:0 0 4px;font-size:10px;color:#cdb77f}
.gn-table{width:100%;border-collapse:collapse;font-size:10.5px;color:#e9d29a}
.gn-table th,.gn-table td{padding:2px 4px;text-align:left}
.gn-table thead th{color:#E8C260;font-weight:700}
.gn-up{color:#3ecf6a;font-weight:700;white-space:nowrap}
.gn-down{color:#ff6b6b;font-weight:700;white-space:nowrap}
.gn-new{color:#E8C260;font-weight:700;font-style:italic}
.gn-flat,.gn-na{color:#cdb77f}
@media (prefers-reduced-motion:reduce){
  .gn-panel{transition:none}
}

/* MED-93 (t282u, t283u): static intro popup — fade in from black, fade out to black. No slide, scale, or bounce. */
.cast-ov{position:fixed;inset:0;z-index:2147483001;display:none;align-items:center;justify-content:center}
.cast-ov.is-open,.cast-ov.is-opening{display:flex}
.cast-ov-bk{position:absolute;inset:0;background:#000;opacity:0;transition:opacity .24s ease}
.cast-ov.is-open .cast-ov-bk{opacity:1}
.cast-ov-sheet{position:relative;z-index:1;width:min(920px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 16px 16px;box-sizing:border-box;opacity:0;transition:opacity .24s ease}
.cast-ov-sheet.is-in{opacity:1}
.cast-ov-x{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));width:44px;height:44px;border-radius:50%;border:2px solid #E8C260;background:#1a100a;color:#FFE79A;font-size:26px;line-height:1;cursor:pointer;z-index:2}
.cast-ov-x:hover,.cast-ov-x:focus-visible{background:#3a2210;outline:2px solid #FFE79A;outline-offset:2px}
.cast-ov-body{width:100%;display:flex;align-items:center;justify-content:center;min-height:0}
.cast-ov-body video{display:block;width:100%;max-height:min(80vh,calc(100dvh - 88px));background:#000;border:1px solid #E8C260;border-radius:6px}
.cast-ov-soon{text-align:center;color:#FFE79A}
.cast-ov-soon img{display:block;width:min(288px,70vw);height:auto;aspect-ratio:1/1;object-fit:cover;margin:0 auto 12px;border:1px solid #E8C260;border-radius:6px;background:#22140a}
.cast-ov-name{margin:0;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:22px;color:#FFE79A}
.cast-ov-note{margin:8px 0 0;font-family:Georgia,serif;font-style:italic;font-size:16px;color:#e9d29a}
@media (max-width:760px){
  .cast-ov-sheet{width:100%;height:100%;max-height:100%;padding:56px 10px 12px;justify-content:center}
  .cast-ov-body video{max-height:calc(100dvh - 80px);border-radius:0;border-left:0;border-right:0}
}
@media (prefers-reduced-motion:reduce){
  .cast-ov-bk,.cast-ov-sheet{transition-duration:.08s}
}

.progress{padding:0 6px}
/* chase bulbs round the whole cabinet frame (they sit in its padding, outside the speakers and the player) */
.jukebox>.ring .cb{width:7px;height:7px;margin:-3.5px 0 0 -3.5px}
/* Outer-edge chase runs twice as fast (Pastor, t249u): 0.6 s per cycle instead of 1.2 s, same thirds offset, so each bulb lights about 1.7 times a second (under the 3-per-second flash limit, and the fade only dims to 28%, never to dark). This stays as the no-JS fallback. Reduced motion still turns the animation off (.cb rule above uses !important). */
.jukebox>.ring .cb{animation-duration:.6s;animation-delay:calc(var(--k) * -.4s)}
/* Christmas string lights on the cabinet's outer edge only (Pastor, t248u): red, green, blue, gold, white, repeating, with the same chase fade.
   The title plaque and the bottom likes frame keep their gold bulbs. */
.jukebox>.ring .cb[data-c="0"]{background:radial-gradient(circle at 38% 32%,#ffe0e0 0,#ff4a4a 45%,#c01010 100%);box-shadow:0 0 0 1px #5a0808,0 0 6px 1px rgba(255,60,60,.95)}
.jukebox>.ring .cb[data-c="1"]{background:radial-gradient(circle at 38% 32%,#e2ffe6 0,#33e064 45%,#0a8a30 100%);box-shadow:0 0 0 1px #07440f,0 0 6px 1px rgba(50,230,100,.95)}
.jukebox>.ring .cb[data-c="2"]{background:radial-gradient(circle at 38% 32%,#e0eeff 0,#4a95ff 45%,#0d46c0 100%);box-shadow:0 0 0 1px #08235a,0 0 6px 1px rgba(70,150,255,.95)}
.jukebox>.ring .cb[data-c="3"]{background:radial-gradient(circle at 38% 32%,#fffbe0 0,#FFE27A 45%,#E8A81C 100%);box-shadow:0 0 0 1px #6a4608,0 0 6px 1px rgba(255,214,90,.95)}
.jukebox>.ring .cb[data-c="4"]{background:radial-gradient(circle at 38% 32%,#ffffff 0,#f2f4ff 50%,#b4bcd6 100%);box-shadow:0 0 0 1px #4a5068,0 0 6px 1px rgba(240,244,255,.95)}
/* JS-driven Christmas string on the cabinet's outer border (Pastor t270u, t276u, t277u): ten long snakes (2 each of red, green,
   white, blue, yellow) with 5 dark bulbs between them. Off bulbs are really dark; lit bulbs are saturated with a hot centre and a
   strong two-layer glow. No transitions or filters, so a phone only repaints the few bulbs that change each step.
   The plaque and likes-frame gold chase is unchanged. */
.jukebox.xmas-dance>.ring .cb{
  animation:none;opacity:1;filter:none;width:8px;height:8px;margin:-4px 0 0 -4px;
  background:radial-gradient(circle at 40% 35%,#3a2a1c 0,#241710 70%);
  box-shadow:0 0 0 1px #0c0603;
}
.jukebox.xmas-dance>.ring .cb[data-l="red"]{background:radial-gradient(circle at 40% 35%,#fff 0,#ff7878 26%,#ff1414 62%,#d00000 100%);box-shadow:0 0 0 1px #5a0000,0 0 6px 2px #ff2020,0 0 15px 5px rgba(255,30,30,.7)}
.jukebox.xmas-dance>.ring .cb[data-l="green"]{background:radial-gradient(circle at 40% 35%,#fff 0,#8bff9f 26%,#14ff4a 62%,#00b52a 100%);box-shadow:0 0 0 1px #004a12,0 0 6px 2px #18ff4c,0 0 15px 5px rgba(20,255,70,.65)}
.jukebox.xmas-dance>.ring .cb[data-l="white"]{background:radial-gradient(circle at 40% 35%,#fff 0,#fff 40%,#e8eeff 75%,#c4cdf0 100%);box-shadow:0 0 0 1px #5a6080,0 0 7px 2px #ffffff,0 0 16px 6px rgba(235,242,255,.75)}
.jukebox.xmas-dance>.ring .cb[data-l="blue"]{background:radial-gradient(circle at 40% 35%,#fff 0,#8fc0ff 26%,#2e7dff 62%,#0b3fe0 100%);box-shadow:0 0 0 1px #00206a,0 0 6px 2px #3a85ff,0 0 15px 5px rgba(40,120,255,.7)}
.jukebox.xmas-dance>.ring .cb[data-l="yellow"]{background:radial-gradient(circle at 40% 35%,#fff 0,#fff48a 26%,#ffe21a 62%,#f0b000 100%);box-shadow:0 0 0 1px #6a4c00,0 0 6px 2px #ffe21f,0 0 15px 5px rgba(255,220,20,.7)}
/* Christmas icons popping in and out on the light organs while a Christmas song plays (MED-91a, t275u). */
.xpops{position:absolute;inset:9px;display:block;overflow:hidden;pointer-events:none;border-radius:3px;z-index:3;transition:opacity .25s ease-out}
.xpops .xp{position:absolute;display:block;opacity:0;transform:scale(.15);animation:xpop var(--d,2.4s) cubic-bezier(.3,.7,.3,1) forwards;filter:drop-shadow(0 0 5px rgba(255,200,90,.7)) saturate(1.15)}
.xpops .xp svg{display:block;width:100%;height:100%}
.xpops .xp.xp-gone{animation:none;opacity:0;transition:opacity .25s ease-out}
@keyframes xpop{
  0%{opacity:0;transform:scale(.15) rotate(var(--r,0deg))}
  16%{opacity:1;transform:scale(1.14) rotate(calc(var(--r,0deg) * -.35))}
  28%{opacity:1;transform:scale(1) rotate(0deg)}
  76%{opacity:1;transform:scale(1) rotate(calc(var(--r,0deg) * .25))}
  100%{opacity:0;transform:scale(.2) rotate(var(--r,0deg))}
}
@keyframes xfade{0%{opacity:0}25%{opacity:1}75%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .xpops .xp{animation:xfade var(--d,3s) ease-in-out forwards;transform:none}
}
@media (prefers-reduced-motion:reduce){.ab-arrow{transition:none}}

@media (max-width:760px){
  .jukebox{padding:10px}
  .title-window{grid-template-rows:minmax(0,1.55fr) minmax(0,1fr) auto;gap:6px;margin-top:6px}
  .ab-top{grid-template-columns:minmax(0,41%) minmax(0,1fr);gap:6px}
  .ab-art{display:flex;flex-direction:column;padding:5px;gap:4px}
  .ab-frame{flex:1 1 auto}
  .ab-credits{flex:0 0 auto}
  .ab-credits{display:block}
  .ab-w{display:none}
  .ch-rated{display:none}
  .col-head{justify-content:center}
  .ab-label{top:3px;right:3px;padding:2px 6px;font-size:8.5px;max-width:84%}
  .ab-label .sub{font-size:7px}
  .ab-nav{gap:4px}
  .ab-arrow{width:40px;height:26px;border-radius:6px}
  .ab-arrow svg{width:18px;height:11px}
  .ab-count{font-size:8.5px;letter-spacing:.05em}
  .ab-art .np-credit{font-size:8.5px;line-height:1.3;max-height:2.7em;padding-top:2px;border-top:1px solid rgba(232,194,96,.22)}
  .ab-art .np-credit+.np-producer{margin-top:3px}
  .ab-art .np-producer{font-size:8.5px;max-height:1.4em}
  .ab-wide .lyrics{display:block}
  .ab-wide .ly-inner{font-size:14px;padding:26px 12px 50px}
  .title-window{grid-template-rows:minmax(0,1fr) minmax(0,1.7fr) auto}
  .ly-split{grid-template-columns:1fr;grid-template-rows:minmax(0,.7fr) minmax(0,1.3fr)}
  .cast-set{padding:5px 4px}
  .jb-fn-pane{border-left:0;border-top:1px solid rgba(201,153,63,.4)}
  .cast-slide{margin:0 5px}
  .cast-slide-name{font-size:10px}
  .cast-slide-tag{font-size:9.5px}
  .church-info{display:none!important}
  /* the now-playing line is back on phones (there is no separate now-playing card any more) */
  .progress{display:block;padding:0 2px}
  .progress .now{display:flex}
  .progress .now .t{display:flex}
  .progress .now .a{display:block}
  .progress .now .time{order:0;background:none;border:0;padding:0 0 0 8px;font-size:11px}
  .progress .bar{margin-top:3px}
  .jukebox>.ring .cb{width:6px;height:6px;margin:-3px 0 0 -3px}
  .jukebox.xmas-dance>.ring .cb{width:7px;height:7px;margin:-3.5px 0 0 -3.5px}
  .xpops{inset:5px}
}
@media (max-width:420px){.jukebox{padding:9px}}
@media (max-width:760px) and (max-height:720px){
  .title-window{grid-template-rows:minmax(0,1.15fr) 48px minmax(0,1.2fr) auto}
  .ab-art .np-credit{display:none}
  .church-info{display:none!important}
  .col-head{display:none}
}

/* ===== ALBUMS TWEAK (Pastor, pt231u): in the top-left square the cover fills the square's whole width, the album credit and
   "Produced by" sit below it, and the two album arrows are spread from the left edge to the right edge. Desktop only: on phones the
   art column is already one cover wide. The square's width is set from the row height by jukebox.js (--ab-w) so the whole cover fits. ===== */
@media (min-width:761px){
  .title-window{grid-template-rows:minmax(0,1.5fr) minmax(0,1.45fr) auto}
  .ab-top{grid-template-columns:var(--ab-w,40%) minmax(0,1fr)}
  .ab-art{display:flex;flex-direction:column;gap:6px}
  .ab-frame{flex:0 0 auto;width:100%;aspect-ratio:1/1;container-type:normal;display:block}
  .ab-sq{width:100%;height:100%}
  .ab-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;width:100%}
  .ab-arrow{width:100%;height:28px}
  .ab-count{padding:0 4px}
  .ab-credits{flex:0 0 52px;height:52px;min-height:0;display:flex;flex-direction:column;gap:2px;overflow:hidden}
  .ab-art .np-credit{flex:1 1 auto;min-height:0;max-height:none;font-size:10px;line-height:1.3;overflow-y:auto}
  .ab-art .np-producer{flex:0 0 auto;max-height:2.7em;font-size:10.5px;line-height:1.3}
}
@media (max-width:760px){
  .ab-nav{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%}
  .ab-arrow{width:100%}
}

/* ===== MED-94 (Pastor t287u, t288u): phone analog swipe wheels. Hidden on desktop so the arrow
   buttons and the song list stay exactly as they were. On phones the album row, the prev/next
   song step, and the song list become knurled gold thumbwheels: horizontal where the list runs
   left to right, vertical where it runs top to bottom. ===== */
.jb-wheel-host{display:none}
@media (max-width:760px){
  .jb-wheel-host{display:block;position:relative;min-width:0}
  /* Recover the cover: hide the old arrow row, and put the album wheel full-width under the art+list so names can be read. */
  .ab-art .ab-nav{display:none}
  .title-window{grid-template-rows:minmax(0,1fr) 52px minmax(0,1.7fr) auto}
  .title-window>.ab-top{grid-row:1}
  .jb-wheel-albums-host{grid-row:2;height:52px;min-height:52px;width:100%}
  .title-window>.ab-wide{grid-row:3}
  .title-window>.progress{grid-row:4}
  #btn-prev,#btn-next{display:none}
  .transport{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-template-areas:"wheel wheel wheel" "stop play pause";
    gap:6px;align-items:stretch;
  }
  .jb-wheel-songs-host{grid-area:wheel;height:52px;min-height:52px}
  #btn-stop{grid-area:stop}
  #btn-play{grid-area:play}
  #btn-pause{grid-area:pause}
  .list-wrap{display:flex;flex-direction:column}
  .list-wrap>.song-list,
  .list-wrap>.list-bar{display:none}
  .jb-wheel-list-host{flex:1 1 auto;width:100%;min-height:148px;height:auto}
  .jb-wheel-songs-host .jb-wheel-item,
  .jb-wheel-list-host .jb-wheel-item,
  .jb-wheel-albums-host .jb-wheel-item{text-transform:none;letter-spacing:.02em}
  .jb-wheel-songs-host .jb-wheel-lab,
  .jb-wheel-albums-host .jb-wheel-lab{font-size:12px}
  .jb-wheel-x .jb-wheel-window{left:16%;right:16%}
  .jb-wheel-x .jb-wheel-item{width:64%}
}


.jb-wheel{
  height:100%;width:100%;touch-action:none;user-select:none;-webkit-user-select:none;
  cursor:grab;outline:none;perspective:520px;
}
.jb-wheel.is-drag{cursor:grabbing}
.jb-wheel:focus-visible{outline:3px solid #ffe08a;outline-offset:2px}
.jb-wheel-frame{
  position:relative;height:100%;width:100%;overflow:hidden;border:2px solid #E8C260;border-radius:10px;
  background:
    linear-gradient(180deg,rgba(255,236,180,.16),transparent 18%,transparent 82%,rgba(0,0,0,.35)),
    linear-gradient(90deg,#2a1608 0%,#1a0c06 18%,#120805 50%,#1a0c06 82%,#2a1608 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,240,180,.28),
    inset 0 -3px 8px rgba(0,0,0,.65),
    inset 8px 0 14px rgba(0,0,0,.35),
    inset -8px 0 14px rgba(0,0,0,.35),
    0 3px 0 #5a3a08,
    0 4px 8px rgba(0,0,0,.5);
}
.jb-wheel-y .jb-wheel-frame{
  background:
    linear-gradient(90deg,rgba(255,236,180,.12),transparent 16%,transparent 84%,rgba(0,0,0,.35)),
    linear-gradient(180deg,#2a1608 0%,#1a0c06 18%,#120805 50%,#1a0c06 82%,#2a1608 100%);
}
.jb-wheel-ridges{pointer-events:none;position:absolute;inset:0;z-index:3}
.jb-wheel-x .jb-wheel-ridges::before,
.jb-wheel-x .jb-wheel-ridges::after{
  content:"";position:absolute;left:0;right:0;height:8px;
  background:repeating-linear-gradient(90deg,#5a3810 0 2px,#f3e0a0 2px 3px,#C9993F 3px 5px,#8a5a18 5px 6px,#3a2208 6px 8px);
  box-shadow:inset 0 1px 0 rgba(255,243,192,.55),0 1px 2px rgba(0,0,0,.5);
}
.jb-wheel-x .jb-wheel-ridges::before{top:0;border-radius:8px 8px 0 0}
.jb-wheel-x .jb-wheel-ridges::after{bottom:0;border-radius:0 0 8px 8px}
.jb-wheel-y .jb-wheel-ridges::before,
.jb-wheel-y .jb-wheel-ridges::after{
  content:"";position:absolute;top:0;bottom:0;width:8px;
  background:repeating-linear-gradient(180deg,#5a3810 0 2px,#f3e0a0 2px 3px,#C9993F 3px 5px,#8a5a18 5px 6px,#3a2208 6px 8px);
  box-shadow:inset 1px 0 0 rgba(255,243,192,.55),1px 0 2px rgba(0,0,0,.5);
}
.jb-wheel-y .jb-wheel-ridges::before{left:0;border-radius:8px 0 0 8px}
.jb-wheel-y .jb-wheel-ridges::after{right:0;border-radius:0 8px 8px 0}
.jb-wheel-window{
  pointer-events:none;position:absolute;z-index:2;left:26%;right:26%;top:9px;bottom:9px;
  border:1px solid rgba(232,194,96,.75);border-radius:6px;
  box-shadow:inset 0 0 12px rgba(255,220,120,.18),inset 0 0 0 1px rgba(0,0,0,.35),0 0 0 1px rgba(0,0,0,.35);
  background:linear-gradient(180deg,rgba(255,230,150,.1),transparent 42%,rgba(0,0,0,.18));
}
.jb-wheel-y .jb-wheel-window{left:12px;right:12px;top:32%;bottom:32%}
.jb-wheel-stage{position:absolute;inset:0;display:block;transform-style:preserve-3d;perspective:520px;z-index:1}
.jb-wheel-item{
  position:absolute;left:50%;top:50%;width:46%;padding:2px 4px;box-sizing:border-box;text-align:center;
  pointer-events:none;color:#C9A050;font-family:Cinzel,Georgia,serif;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;line-height:1.15;text-shadow:0 1px 0 #3a0610;backface-visibility:hidden;
}
.jb-wheel-y .jb-wheel-item{width:72%;text-transform:none;letter-spacing:.02em}
.jb-wheel-lab{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jb-wheel-y .jb-wheel-lab{font-size:13px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.jb-wheel-sub{display:block;margin-top:1px;font-size:8.5px;letter-spacing:.04em;opacity:.85;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jb-wheel-item.is-center{color:#FFE79A;text-shadow:0 0 8px rgba(255,220,120,.45),0 1px 0 #3a0610;z-index:2}
.jb-wheel-item.is-off{color:#8a7040}
.jb-wheel-item.is-off.is-center{color:#d0b060}
@media (prefers-reduced-motion:reduce){.jb-wheel-item{transition:none}}

/* ===== MED-95 (Pastor t290u): on phones, hide the Half B extras (cast headshot scroller, intro
   popups, and the Good News feed / weekly schedule) so the lyrics window and the swipe wheels have
   room and the layout is easy to drive. Nothing is deleted. Desktop is unchanged. ===== */
@media (max-width:760px){
  #jb-fn-pane,
  .jb-fn-pane,
  .cast-show,
  .cast-split,
  .jb-goodnews,
  .cast-ov,
  .cast-ov.is-open,
  .cast-ov.is-opening{display:none!important}
  .ly-split{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
  .ly-split .lyrics{grid-row:1;grid-column:1;min-height:0;height:auto}
}

/* ===== MED-96 / MED-97 (Pastor t292u, t293u): phone layout follows Pastor's hand sketch.
   Top: two tiny hatched speaker pills and the X. Then a rounded JC's Jukebox title bar.
   Upper section: large clear cover on the left, a slim vertical album wheel with up/down
   triangles on the right. Below: a readable playlist on the left, a slim vertical song
   wheel with up/down triangles on the right. Tap a song to play it; a tiny play/pause
   sits on the title bar. Nothing else on phone. Desktop is unchanged. ===== */
.jb-wheel-col{display:none}
.jb-title-play{display:none}
@media (max-width:760px){
  main{padding:calc(6px + env(safe-area-inset-top,0px)) max(6px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px))}
  #jb-close{
    position:absolute;z-index:20;
    width:36px;height:36px;min-width:36px;min-height:36px;
    top:4px;right:6px;
  }
  #jb-close svg{width:20px;height:20px}
  #status{display:none}
  .jukebox{position:relative}

  /* Cabinet: slim top row for the two speaker pills, player fills the rest. */
  .jukebox{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;
    grid-template-rows:26px minmax(0,1fr);
    gap:6px 8px;
    padding:8px;
    border-radius:18px 18px 16px 16px;
  }
  .speaker{
    display:block!important;
    grid-row:1;
    height:22px;min-height:22px;max-height:22px;
    padding:0;border-radius:11px;border:1px solid #C9993F;
    background:repeating-linear-gradient(-45deg,#5a3810 0 3px,#f3e0a0 3px 4px,#C9993F 4px 7px,#3a2208 7px 9px);
    box-shadow:inset 0 1px 0 rgba(255,243,192,.35),0 1px 2px rgba(0,0,0,.4);
  }
  .speaker.left{grid-column:1}
  .speaker.right{grid-column:2}
  .speaker .organ,
  .speaker .spk-top,
  .speaker .sign,
  .speaker .knob,
  .speaker .pilot,
  .speaker .lamp,
  .speaker .lamps,
  .speaker .lens,
  .speaker .core,
  .xpops,
  .sign,
  .jukebox>.ring,
  .top-cap .ring,
  .grille .ring,
  #ab-wide,
  .ab-wide,
  .ab-label,
  .ab-credits,
  .ab-nav,
  .col-head,
  .transport,
  .progress,
  .cast-card,
  #jcbot-root{display:none!important}
  .player{grid-column:1 / -1;grid-row:2;min-height:0;padding:0;display:flex;flex-direction:column}

  /* Slim likes / plays / dislikes row under the playlist (t293u). Same existing buttons and live counts as desktop. */
  .grille{
    display:block;flex:0 0 auto;margin:6px 0 0;padding:0;
    background:none;border:0;box-shadow:none;
  }
  .grille-face{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    height:36px;padding:0 6px;border-radius:10px;border:1px solid #C9993F;
    background:linear-gradient(180deg,#3a2210,#1a0c06);
    box-shadow:inset 0 1px 0 rgba(255,240,180,.18);
  }
  .rate-btn{
    min-width:0;height:30px;padding:0 8px;font-size:13px;gap:4px;
    border-width:1px;border-radius:8px;
    box-shadow:inset 0 1px 0 #fff8d8,0 1px 0 #5a3a08;
  }
  .rate-btn .ico{width:16px;height:16px}
  .rate-btn .cnt{font-size:13px;font-weight:700}
  .grille-mid{flex:1 1 auto}
  .total{font-size:12px;padding:3px 8px;letter-spacing:.04em;border-radius:8px}

  /* Rounded full-width title bar, with a tiny play/pause on the right. */
  .top-cap{display:block;flex:0 0 auto;padding:0;margin:0 0 6px;background:none;border:0;box-shadow:none}
  .badge{
    display:flex;align-items:center;justify-content:center;position:relative;
    width:100%;box-sizing:border-box;padding:7px 44px 7px 12px;
    border-radius:16px;border:2px solid #E8C260;
    background:linear-gradient(180deg,#3a2210,#1a0c06);
    box-shadow:inset 0 1px 0 rgba(255,240,180,.22),0 2px 0 #5a3a08;
  }
  .badge h1{font-size:18px;letter-spacing:.06em;margin:0}
  .jb-title-play{
    display:flex;align-items:center;justify-content:center;
    position:absolute;right:8px;top:50%;transform:translateY(-50%);
    width:28px;height:28px;padding:0;cursor:pointer;
    border-radius:50%;border:1px solid #E8C260;background:linear-gradient(180deg,#f3e0a0,#C9993F);
    color:#4a1a00;box-shadow:inset 0 1px 0 #fff8d8;
  }
  .jb-title-play svg{width:14px;height:14px;fill:currentColor;display:block}
  .jb-title-play .ico-pause{display:none}
  .jukebox.is-playing .jb-title-play .ico-play{display:none}
  .jukebox.is-playing .jb-title-play .ico-pause{display:block}

  /* Cover left + slim album wheel; playlist left + slim song wheel. */
  .title-window{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin-top:0}
  .title-window>.ab-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) 36px;
    grid-template-rows:auto minmax(0,1fr);
    gap:8px 8px;
    flex:1 1 auto;min-height:0;width:100%;
  }
  .ab-art{
    grid-row:1;grid-column:1;
    display:flex;align-items:stretch;justify-content:stretch;
    width:100%;min-width:0;min-height:0;padding:0;border:0;background:none;box-shadow:none;
  }
  .ab-frame{
    width:100%;aspect-ratio:1/1;max-height:min(52vh,360px);
    container-type:size;display:grid;place-items:center;
  }
  .ab-sq{border-radius:6px;width:min(100cqw,100cqh);height:min(100cqw,100cqh)}
  .ab-sq img{object-fit:cover;object-position:center}
  .jb-wheel-col{display:flex;flex-direction:column;align-items:center;min-height:0;width:36px;gap:2px}
  .jb-wheel-col-album{grid-row:1;grid-column:2}
  .listcol{grid-row:2;grid-column:1;min-height:0;width:100%;display:flex;flex-direction:column}
  .jb-wheel-col-list{grid-row:2;grid-column:2}
  .list-wrap{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:auto}
  .list-wrap>.song-list{
    display:block!important;flex:1 1 auto;min-width:0;min-height:0;
    overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;
  }
  .list-wrap>.list-bar,
  .jb-wheel-songs-host,
  .jb-wheel-col .jb-wheel-host.jb-wheel-songs-host{display:none!important}
  .jb-wheel-col .jb-wheel-host{
    display:block!important;flex:1 1 auto;width:32px;min-width:32px;max-width:32px;min-height:0;height:auto;
  }
  .jb-wheel-tri{
    appearance:none;flex:0 0 22px;width:28px;height:22px;padding:0;display:grid;place-items:center;cursor:pointer;
    background:var(--gold-grad,#f3e0a0);color:#4a1a00;border:1px solid #C9993F;border-radius:5px;
    box-shadow:inset 0 1px 0 #fff8d8,0 1px 0 #5a3a08;
  }
  .jb-wheel-tri svg{width:12px;height:8px;fill:currentColor;display:block}
  .jb-wheel-tri:active{transform:translateY(1px);box-shadow:inset 0 1px 2px rgba(0,0,0,.35)}
  .jb-wheel-tri:focus-visible{outline:2px solid #ffe08a;outline-offset:1px}

  /* Readable playlist. Current song highlighted; wheel-focused row gets a thin gold edge. */
  .song-row{min-height:46px;padding:7px 10px;margin:0 0 4px 0}
  .song-row .title{
    font-size:15px;line-height:1.25;letter-spacing:.03em;
    white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
  }
  .song-row .artist{font-size:11px}
  .song-row[aria-selected="true"]{
    background:linear-gradient(180deg,#fff8d0,#f0c86a);
    box-shadow:0 0 0 2px #C9993F,0 0 10px rgba(232,200,119,.8);
  }
  .song-row.is-wheel{outline:1px solid #E8C260;outline-offset:-1px}

  /* Slim vertical strips, fine ridges, not chunky dials. */
  .jb-wheel-frame{
    border-width:1px;border-radius:8px;
    box-shadow:inset 0 1px 0 rgba(255,240,180,.22),inset 0 -2px 4px rgba(0,0,0,.45),0 1px 0 #5a3a08;
  }
  .jb-wheel-y .jb-wheel-ridges::before,
  .jb-wheel-y .jb-wheel-ridges::after{
    width:4px;
    background:repeating-linear-gradient(180deg,#5a3810 0 1px,#f3e0a0 1px 2px,#C9993F 2px 3px,#3a2208 3px 4px);
  }
  .jb-wheel-y .jb-wheel-window{left:3px;right:3px;top:36%;bottom:36%;border-radius:4px}
  .jb-wheel-albums-host .jb-wheel-item,
  .jb-wheel-list-host .jb-wheel-item{width:100%;font-size:0;padding:0}
  .jb-wheel-albums-host .jb-wheel-lab,
  .jb-wheel-albums-host .jb-wheel-sub,
  .jb-wheel-list-host .jb-wheel-lab,
  .jb-wheel-list-host .jb-wheel-sub{display:none}
}
@media (max-width:760px) and (max-height:720px){
  .jukebox{grid-template-rows:22px minmax(0,1fr);gap:5px 6px;padding:6px}
  .speaker{height:18px;min-height:18px;max-height:18px;border-radius:9px}
  .badge{padding:5px 40px 5px 10px;border-radius:14px}
  .badge h1{font-size:16px}
  .ab-frame{max-height:min(46vh,280px)}
  .song-row{min-height:42px;padding:6px 8px}
  .song-row .title{font-size:14px}
  .jb-wheel-col{width:32px}
  .jb-wheel-col .jb-wheel-host{width:28px;min-width:28px;max-width:28px}
  .title-window>.ab-top{grid-template-columns:minmax(0,1fr) 32px;gap:6px}
  .grille{margin-top:5px}
  .grille-face{height:32px}
  .rate-btn{height:26px;padding:0 6px;font-size:12px}
}

/* TRAP Christmas / Christmas Vol. 2 (t300u): empty album shows a clear Coming Soon state. */
.album-soon,.album-empty{
  margin:0;padding:28px 16px;text-align:center;color:#FFE79A;
  font-family:Cinzel,Georgia,serif;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;text-shadow:0 1px 0 #3a0610;
}
.album-soon{font-size:22px;line-height:1.3}
.album-empty{font-size:14px;letter-spacing:.04em;text-transform:none;color:#E8C877}
@media (max-width:760px){
  .album-soon{font-size:20px;padding:36px 12px}
}

/* t301u: name/caption window under face shots is white text on a black background, readable on desktop and phone. */
.cast-slide-cap{
  background:#000;
  color:#fff;
  padding:5px 6px 6px;
  border-radius:4px;
  box-sizing:border-box;
}
.cast-slide-name{color:#fff;text-shadow:none}
.cast-slide-tag{color:#fff;text-shadow:none}
.cast-name{
  color:#fff;
  text-shadow:none;
  background:#000;
  padding:8px 6px;
}
.cast-ov-soon .cast-ov-name,
.cast-ov-soon .cast-ov-note{
  color:#fff;
  background:#000;
  padding:6px 10px;
  display:inline-block;
}
.cast-ov-soon .cast-ov-name{margin:0 auto}
.cast-ov-soon .cast-ov-note{margin:8px auto 0}

/* t317u: slim phone player controls (prev / play-pause / next + thin draggable seek). Hidden on desktop. */
.jb-phone-ctrl{display:none}
@media (max-width:760px){
  .jb-phone-ctrl{
    display:flex;flex-direction:column;flex:0 0 auto;gap:2px;
    margin:6px 0 0;padding:2px 8px 4px;
    border-radius:10px;border:1px solid #C9993F;
    background:linear-gradient(180deg,#3a2210,#1a0c06);
    box-shadow:inset 0 1px 0 rgba(255,240,180,.18);
  }
  .jb-phone-transport{display:flex;align-items:center;justify-content:center;gap:16px}
  .jb-phone-btn{
    appearance:none;-webkit-appearance:none;box-sizing:border-box;
    width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
    display:grid;place-items:center;cursor:pointer;
    border-radius:50%;border:1px solid #E8C260;
    background:linear-gradient(180deg,#f3e0a0,#C9993F);
    color:#4a1a00;box-shadow:inset 0 1px 0 #fff8d8,0 1px 0 #5a3a08;
  }
  .jb-phone-btn svg{width:18px;height:14px;fill:currentColor;display:block}
  .jb-phone-btn.play svg{width:16px;height:16px}
  .jb-phone-btn.play .ico-pause{display:none}
  .jukebox.is-playing .jb-phone-btn.play .ico-play{display:none}
  .jukebox.is-playing .jb-phone-btn.play .ico-pause{display:block}
  .jb-phone-btn:active{transform:translateY(1px);box-shadow:inset 0 1px 2px rgba(0,0,0,.35)}
  .jb-phone-btn:focus-visible{outline:2px solid #ffe08a;outline-offset:2px}
  .jb-phone-seekrow{display:flex;align-items:center;gap:8px;min-height:44px}
  .jb-phone-time{
    flex:0 0 auto;min-width:2.6em;text-align:center;
    font-family:Cinzel,Georgia,serif;font-weight:700;font-size:11px;letter-spacing:.04em;
    color:#FFE79A;text-shadow:0 1px 0 #3a0610;font-variant-numeric:tabular-nums;
  }
  #jb-phone-seek{
    -webkit-appearance:none;appearance:none;
    flex:1 1 auto;min-width:0;height:44px;margin:0;padding:0;
    background:transparent;cursor:pointer;
  }
  #jb-phone-seek:disabled{cursor:default;opacity:.7}
  #jb-phone-seek::-webkit-slider-runnable-track{
    height:4px;border-radius:2px;border:1px solid #6a4a10;
    background:linear-gradient(90deg,#f3e0a0,#C9993F) 0/var(--p,0%) 100% no-repeat,#2e1c10;
  }
  #jb-phone-seek::-moz-range-track{
    height:4px;border-radius:2px;border:1px solid #6a4a10;background:#2e1c10;
  }
  #jb-phone-seek::-moz-range-progress{
    height:4px;border-radius:2px;background:linear-gradient(90deg,#f3e0a0,#C9993F);
  }
  #jb-phone-seek::-webkit-slider-thumb{
    -webkit-appearance:none;appearance:none;
    width:16px;height:16px;margin-top:-7px;border-radius:50%;
    background:radial-gradient(circle at 35% 30%,#FFF8D0,#E8BE50 45%,#9a6a14);
    border:2px solid var(--gold-edge,#8a5e14);
    box-shadow:0 0 0 1px #3a2210;
  }
  #jb-phone-seek::-moz-range-thumb{
    width:16px;height:16px;border-radius:50%;
    background:radial-gradient(circle at 35% 30%,#FFF8D0,#E8BE50 45%,#9a6a14);
    border:2px solid var(--gold-edge,#8a5e14);
  }
  #jb-phone-seek:focus-visible{outline:2px solid #ffe08a;outline-offset:2px;border-radius:6px}
}

/* t318u: on desktop (not the phone layout), if the window is smaller than about 800×600,
   hide the info, cast and lyrics block so cover, playlist, controls and likes fit. Delete nothing. */
/* 800×600 and 1024×640 still overlap if the lyrics/cast pane stays, so hide when
   width is 800 or under, or height is under 700. 1280×800 and up keep the full desktop. */
@media (min-width:761px) and (max-width:800px),
       (min-width:761px) and (max-height:699px){
  #ab-wide,.ab-wide{display:none!important}
  .title-window{grid-template-rows:minmax(0,1fr) auto}
  .title-window>.ab-top{grid-row:1;min-height:0;overflow:hidden}
  .title-window>.progress{grid-row:2}
  .ab-art{min-height:0;overflow:hidden}
  .jukebox{min-height:0}
}
