/* hetu radio: a walnut-and-bakelite tabletop set from the atomic age, built for a phone held in one hand.
   Warm room, amber dial that warms up like tubes, a green tuning eye, push-key bands. */
.hr {
  --room: #140b06;
  --walnut-1: #7a3f1c; --walnut-2: #5a2c12; --walnut-3: #3a1a09;
  --cream: #f1e4c6; --cream-2: #d9c59c; --cream-ink: #4a2c12;
  --chrome-1: #fbfbf7; --chrome-2: #a9a59c; --chrome-3: #5d5a54;
  --amber: #ffb547; --amber-hot: #ffd98a; --amber-dim: #6b4214;
  --needle: #e0372b;
  --eye: #59ff9c; --eye-dim: #0f3a22;
  --ink: #f6ead2; --ink-soft: #c9b48f; --ink-faint: #8f7a5c;
  --warm: 0;   /* 0 off .. 1 tubes fully warm, set from JS through the .on class */
}
.hr, .hr * { box-sizing: border-box; }
body.hr-page { margin: 0; }
body.hr-page {
  min-height: 100vh; min-height: 100dvh; background: var(--room); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
.hr button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hr :focus-visible { outline: 2px solid var(--amber-hot); outline-offset: 3px; border-radius: 8px; }

/* the room: a lamp overhead, a tabletop below */
.hr-page .room { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 190, 110, .20), transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(120, 60, 20, .35), transparent 70%),
    linear-gradient(180deg, #1d110a, var(--room) 40%, #0d0704);
  transition: filter 1.2s ease; }
.hr.hr-on .room { filter: brightness(1.25) saturate(1.1); }

/* ---- top bar ---- */
.hr-page .topbar { display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: max(12px, env(safe-area-inset-top)) 16px 4px; max-width: 520px; margin: 0 auto; }
.hr .top-actions { display: flex; gap: 8px; }
.hr .chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-soft); background: rgba(255, 230, 190, .07); border: 1px solid rgba(255, 230, 190, .12);
  text-decoration: none; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.hr .chip:hover { background: rgba(255, 230, 190, .14); color: var(--ink); }
.hr .chip.round { width: 38px; padding: 0; justify-content: center; }
.hr .chip.active { color: #2a1606; background: var(--amber); border-color: var(--amber); }

.hr-page main { max-width: 520px; margin: 0 auto; padding: 8px 16px max(28px, env(safe-area-inset-bottom)); }

/* ---- the set ---- */
.hr .set { position: relative; margin-top: 10px; padding: 0 14px 18px; border-radius: 38px 38px 22px 22px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(0,0,0,.06) 9px 11px, rgba(255,220,180,.025) 11px 15px),
    radial-gradient(ellipse 120% 60% at 30% 10%, rgba(255, 190, 130, .18), transparent 60%),
    linear-gradient(180deg, var(--walnut-1), var(--walnut-2) 55%, var(--walnut-3));
  box-shadow: inset 0 2px 0 rgba(255, 215, 170, .35), inset 0 -8px 18px rgba(0,0,0,.5),
    0 40px 60px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.65); }

.hr .crown { margin: 0 -14px 14px; padding: 16px 16px 12px; border-radius: 38px 38px 0 0; text-align: center;
  background: linear-gradient(180deg, #fff6e0, var(--cream) 40%, var(--cream-2));
  box-shadow: inset 0 -3px 0 rgba(90, 50, 20, .25), 0 3px 0 rgba(0,0,0,.35); position: relative; }
.hr .crown::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--chrome-3), var(--chrome-1), var(--chrome-2), var(--chrome-1), var(--chrome-3)); }
.hr .brand { font-family: Yellowtail, cursive; font-size: 40px; line-height: 1; color: #8c2f1c;
  text-shadow: 0 1px 0 #fff, 0 2px 2px rgba(80, 30, 10, .35); }
.hr .brand-sub { margin-top: 4px; font-family: Oswald, sans-serif; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: #8a6a44; }

/* dial: slide-rule glass, amber backlight */
.hr .hr-dial { position: relative; height: 112px; border-radius: 16px; overflow: hidden; touch-action: none; cursor: ew-resize;
  background: radial-gradient(ellipse 80% 120% at 50% 60%, #3a2410, #1a0f06);
  box-shadow: inset 0 3px 12px rgba(0,0,0,.85), 0 0 0 3px #2a1608, 0 0 0 5px rgba(240, 220, 180, .35), 0 1px 0 6px rgba(0,0,0,.4);
  transition: background 1.2s ease; }
.hr.hr-on .hr-dial { background: radial-gradient(ellipse 85% 130% at 50% 60%, var(--amber-hot), var(--amber) 45%, #c06a14 85%, #7a3a08); }
.hr .hr-glass { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08)); }
.hr .scale { position: absolute; left: 4%; right: 4%; top: 12px; display: flex; justify-content: space-between;
  font-family: Oswald, sans-serif; font-size: 15px; font-weight: 500; color: var(--amber-dim); transition: color 1.2s; }
.hr.hr-on .scale { color: #4a2306; }
.hr .ticks { position: absolute; left: 4%; right: 4%; top: 38px; height: 18px; display: flex; justify-content: space-between; align-items: flex-start; }
.hr .ticks i { width: 1px; height: 8px; background: var(--amber-dim); transition: background 1.2s; }
.hr .ticks i.big { height: 16px; width: 2px; }
.hr.hr-on .ticks i { background: rgba(70, 30, 4, .75); }
.hr .marks { position: absolute; left: 4%; right: 4%; top: 62px; height: 40px; }
.hr .mark { position: absolute; top: 0; width: 0; height: 40px; }
.hr .mark::before { content: ""; position: absolute; left: -3.5px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-dim); transition: background .4s, box-shadow .4s; }
.hr.hr-on .mark::before { background: rgba(80, 30, 4, .55); }
.hr .mark.fav::before { background: #b8472f; }
.hr .mark.cur::before { background: #fff3d1; box-shadow: 0 0 10px 3px rgba(255, 245, 210, .9); }
.hr .mark span { position: absolute; top: 11px; left: 0; transform: translateX(-50%); font-family: Oswald, sans-serif; font-size: 9px; letter-spacing: .04em; white-space: nowrap; color: rgba(80, 40, 10, 0); transition: color .3s; }
.hr.hr-on .mark.cur span { color: #4a2306; }
.hr .hr-needle { position: absolute; top: 6px; bottom: 6px; left: 50%; width: 0; z-index: 3; transition: left .5s cubic-bezier(.3, 1.4, .5, 1); }
.hr .hr-dial.dragging .hr-needle { transition: none; }
.hr .hr-needle i { position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--needle);
  box-shadow: 0 0 6px rgba(224, 55, 43, .7), 1px 0 0 rgba(0,0,0,.3); }
.hr .kc { position: absolute; right: 10px; bottom: 6px; font-family: Oswald, sans-serif; font-size: 10px; color: var(--amber-dim); }
.hr .band-tag { position: absolute; left: 0; right: 0; text-align: center; bottom: 6px; font-family: Oswald, sans-serif; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber-dim); }
.hr.hr-on .kc, .hr.hr-on .band-tag { color: #5a2c08; }

/* name plate */
.hr .plate { margin: 14px 2px 0; padding: 12px 14px; border-radius: 12px; text-align: center; min-height: 92px;
  background: linear-gradient(180deg, #24140a, #160c05); box-shadow: inset 0 2px 8px rgba(0,0,0,.8), 0 1px 0 rgba(255, 220, 170, .15); }
.hr .plate-name { font-family: Oswald, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: .02em; line-height: 1.1;
  color: var(--ink-faint); transition: color 1s, text-shadow 1s; overflow-wrap: anywhere; }
.hr.hr-on .plate-name { color: var(--amber-hot); text-shadow: 0 0 16px rgba(255, 180, 70, .55); }
.hr .plate-about { margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.hr .plate-song { display: none; align-items: center; gap: 8px; justify-content: center; margin-top: 8px; font-size: 13px; color: var(--cream); }
.hr .plate-song.show { display: flex; }
.hr .plate-song i { color: var(--amber); font-size: 11px; flex: none; }
.hr .marquee { overflow: hidden; white-space: nowrap; max-width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hr .marquee span { display: inline-block; padding: 0 8px; }
.hr .marquee.roll span { animation: roll var(--roll, 12s) linear infinite; }
@keyframes roll { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(var(--shift, 0)); } }
.hr .set.nosignal .plate-about { color: #ff9a7a; }

/* speaker grille with the magic eye */
.hr .grille { position: relative; height: 150px; margin-top: 14px; border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 3px 10px rgba(0,0,0,.8), 0 0 0 3px #2a1608, 0 1px 0 4px rgba(255, 220, 170, .18); }
.hr .cloth { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.22) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(255,230,180,.08) 0 2px, transparent 2px 4px),
    radial-gradient(circle at 50% 50%, #8a6a3e, #5b3f1f 70%, #3b260f);
  transform-origin: 50% 50%; transition: transform .12s ease-out; }
.hr .bars { position: absolute; inset: 0 12px; display: flex; justify-content: space-between; pointer-events: none; }
.hr .bars i:nth-child(2) { margin-right: auto; margin-left: 22%; } .hr .bars i:nth-child(3) { margin-left: auto; margin-right: 22%; }
.hr .bars i { width: 8px; height: 100%;
  background: linear-gradient(90deg, var(--chrome-3), var(--chrome-1) 45%, var(--chrome-2) 60%, var(--chrome-3));
  box-shadow: 2px 0 4px rgba(0,0,0,.5); }
.hr .eye { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -42px 0 0 -38px; border-radius: 50%;
  background: radial-gradient(circle, #0c1a10 0 22%, var(--eye-dim) 60%, #06110a);
  box-shadow: 0 0 0 5px #1b1b18, 0 0 0 7px var(--chrome-2), 0 6px 14px rgba(0,0,0,.7); overflow: hidden; z-index: 2; }
.hr .eye-wedge { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity 1.2s;
  /* the glowing fan; the dark shadow wedge at the top is --w wide: wide when off-station, a sliver when locked on */
  --w: 120deg;
  background: conic-gradient(from calc(var(--w) * -.5) at 50% 50%,
    rgba(0,0,0,.9) 0 var(--w), #b6ffd2 calc(var(--w) + 1deg), var(--eye) calc(var(--w) + 40deg), #2fd577 180deg,
    var(--eye) calc(320deg - var(--w) * .1), #b6ffd2 359deg);
  -webkit-mask: radial-gradient(circle, transparent 0 20%, #000 22%); mask: radial-gradient(circle, transparent 0 20%, #000 22%); }
.hr.hr-on .eye-wedge { opacity: 1; }
.hr.hr-on .eye { box-shadow: 0 0 0 5px #1b1b18, 0 0 0 7px var(--chrome-2), 0 0 26px 4px rgba(89, 255, 156, .35), 0 6px 14px rgba(0,0,0,.7); }
.hr .eye-cap { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #555, #151515 70%); }
.hr .eye-label { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; z-index: 2; font-family: Oswald, sans-serif;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 235, 200, .55); }

/* knobs and power */
.hr .controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; margin-top: 16px; }
.hr .knob-wrap, .hr .power-wrap { display: grid; justify-items: center; gap: 8px; }
.hr .knob { width: 78px; height: 78px; border-radius: 50%; position: relative; touch-action: none; cursor: grab;
  background:
    repeating-conic-gradient(from 0deg, rgba(0,0,0,.22) 0 4deg, transparent 4deg 10deg),
    radial-gradient(circle at 38% 30%, #fff8e6, var(--cream) 35%, #bca373 80%, #8a7247);
  box-shadow: 0 6px 0 #2a1608, 0 10px 18px rgba(0,0,0,.65), inset 0 -4px 6px rgba(0,0,0,.25), inset 0 3px 3px rgba(255,255,255,.6); }
.hr .knob:active { cursor: grabbing; }
.hr .knob::after { content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fffaf0, var(--cream) 60%, #cdb88c); box-shadow: inset 0 2px 3px rgba(0,0,0,.2); }
.hr .knob-mark { position: absolute; inset: 0; z-index: 1; transform: rotate(var(--rot, 0deg)); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.hr .knob.dragging .knob-mark { transition: none; }
.hr .knob-mark::before { content: ""; position: absolute; left: 50%; top: 9px; width: 5px; height: 18px; margin-left: -2.5px; border-radius: 3px; background: #8c2f1c; }
.hr .knob-label { font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-2); }
.hr .tune-btns { display: flex; align-items: center; gap: 4px; }
.hr .tune-btns button { width: 30px; height: 26px; border-radius: 8px; color: var(--cream); background: rgba(0,0,0,.25); }
.hr .tune-btns button:active { background: rgba(0,0,0,.45); }
.hr .power { width: 64px; height: 64px; margin-top: 7px; border-radius: 50%; font-size: 22px; color: #6b5536;
  background: radial-gradient(circle at 40% 35%, #f9efd8, var(--cream-2) 70%, #9c8456);
  box-shadow: 0 6px 0 #2a1608, 0 10px 18px rgba(0,0,0,.6), inset 0 2px 3px rgba(255,255,255,.7);
  transition: transform .08s, box-shadow .08s, color .4s; }
.hr .power:active { transform: translateY(4px); box-shadow: 0 2px 0 #2a1608, 0 4px 8px rgba(0,0,0,.6), inset 0 2px 3px rgba(255,255,255,.7); }
.hr.hr-on .power { color: #d6332a; text-shadow: 0 0 10px rgba(255, 80, 50, .7); }
.hr #power-label { transition: color .4s; }
.hr.hr-on #power-label { color: var(--amber-hot); }

/* band push keys */
.hr .keys { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 18px; padding: 8px 8px 10px; border-radius: 12px;
  background: linear-gradient(180deg, #1c0e06, #2b170b); box-shadow: inset 0 3px 8px rgba(0,0,0,.8); }
.hr .hr-key { height: 52px; border-radius: 6px 6px 9px 9px; display: grid; place-items: center; padding: 0 2px;
  font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-ink);
  background: linear-gradient(180deg, #fff7e4, var(--cream) 60%, var(--cream-2));
  box-shadow: 0 6px 0 #9a8358, 0 8px 6px rgba(0,0,0,.55), inset 0 1px 0 #fff;
  transform: translateY(-4px); transition: transform .1s, box-shadow .1s, background .2s; overflow: hidden; }
.hr .hr-key[aria-selected="true"] { transform: translateY(1px); box-shadow: 0 1px 0 #9a8358, 0 2px 3px rgba(0,0,0,.55), inset 0 2px 4px rgba(120, 80, 30, .35);
  background: linear-gradient(180deg, #e8d6ad, #d7c08e); }
.hr.hr-on .hr-key[aria-selected="true"] { color: #8c2f1c; }
.hr .hr-key i { font-size: 15px; }
.hr .feet { display: flex; justify-content: space-between; padding: 0 36px; position: absolute; left: 0; right: 0; bottom: -10px; }
.hr .feet i { width: 54px; height: 12px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #2a1608, #120802); }

/* ---- the station log ---- */
.hr .log { margin-top: 36px; }
.hr .log-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 10px; }
.hr .log-head h2 { margin: 0; font-family: Yellowtail, cursive; font-weight: 400; font-size: 30px; color: var(--cream); }
.hr .log-count { font-family: Oswald, sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.hr .log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hr .st { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 14px;
  background: rgba(255, 230, 190, .05); border: 1px solid rgba(255, 230, 190, .08); transition: background .2s, border-color .2s; }
.hr .st-play { display: contents; text-align: left; }
.hr .st-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: Oswald, sans-serif; font-size: 14px;
  color: var(--ink-soft); background: rgba(0,0,0,.3); border: 1px solid rgba(255, 230, 190, .12); }
.hr .st-text { min-width: 0; }
.hr .st-name { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.hr .st-about { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.hr .st-fav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-faint); font-size: 16px; }
.hr .st-fav[aria-pressed="true"] { color: #ff6b57; }
.hr .st-fav:active i { transform: scale(1.3); }
.hr .st:hover { background: rgba(255, 230, 190, .09); }
.hr .st.cur { background: linear-gradient(90deg, rgba(255, 181, 71, .2), rgba(255, 181, 71, .06)); border-color: rgba(255, 181, 71, .4); }
.hr .st.cur .st-num { color: #2a1606; background: var(--amber); border-color: var(--amber); }
.hr .eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.hr .eq b { width: 3px; background: #2a1606; border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.hr .eq b:nth-child(2) { animation-delay: -.4s; } .hr .eq b:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.hr.hr-playing .st.cur .eq { display: flex; }
.hr.hr-playing .st.cur .st-n { display: none; }
.hr .log-empty { padding: 22px 16px; text-align: center; color: var(--ink-faint); border: 1px dashed rgba(255, 230, 190, .18); border-radius: 14px; font-size: 14px; }

.hr .fine { margin: 26px 8px 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--ink-faint); }

.hr .hr-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--cream-ink); font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 10; max-width: calc(100% - 32px); text-align: center; }
.hr .hr-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* bigger screens: a little more air */
.hr @media (min-width: 480px) {
  .hr .hr-dial { height: 124px; }
  .hr .grille { height: 170px; }
  .hr .hr-key { font-size: 12px; }
}
@media (max-width: 360px) {
  .hr .brand { font-size: 34px; }
  .hr .knob { width: 68px; height: 68px; }
  .hr .power { width: 56px; height: 56px; }
  .hr .hr-key { font-size: 9.5px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hr *, .hr *::before, .hr *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---- on the main site: the radio pops up over the page, and a mini player keeps it going ---- */
.hr-pop { position: fixed; inset: 0; z-index: 75; display: grid; place-items: end center; padding: 0;
  background: rgba(8, 4, 2, .72); color: var(--ink); font-family: Inter, system-ui, sans-serif;
  visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
.hr-pop.open { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.hr-pop .hr-sheet { position: relative; width: min(520px, 100%); max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 16px max(24px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 190, 110, .16), transparent 70%),
    linear-gradient(180deg, #1d110a, var(--room) 50%, #0d0704);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255, 220, 170, .08);
  transform: translateY(40px); transition: transform .35s cubic-bezier(.2, .9, .3, 1); }
.hr-pop.open .hr-sheet { transform: none; }
@media (min-width: 640px) {
  .hr-pop { place-items: center; padding: 20px; }
  .hr-pop .hr-sheet { border-radius: 26px; max-height: calc(100dvh - 40px); }
}
.hr-pop .hr-bar { position: sticky; top: -10px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin: -10px -16px 0; padding: 12px 16px 8px; background: linear-gradient(180deg, #1d110a 70%, rgba(29, 17, 10, 0)); }
.hr-pop .hr-grab { position: absolute; left: 50%; top: 5px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(255, 230, 190, .25); }
.hr-pop .hr-hint { white-space: nowrap; font-family: Oswald, sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.hr-pop .log { margin-top: 30px; }
.hr-pop .hr-toast { z-index: 90; }

.hr-mini { position: fixed; left: 16px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 39;
  display: none; align-items: center; gap: 10px; max-width: min(360px, calc(100vw - 110px)); padding: 6px 12px 6px 6px; border-radius: 999px;
  color: var(--ink); font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--walnut-1), var(--walnut-3));
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255, 215, 170, .35), 0 0 0 1px rgba(0,0,0,.6);
  animation: hr-mini-in .35s cubic-bezier(.2, .9, .3, 1); }
.hr-mini.show { display: flex; }
@keyframes hr-mini-in { from { transform: translateY(30px); opacity: 0; } }
.hr-mini .hr-mini-power { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: #d6332a;
  background: radial-gradient(circle at 40% 35%, #f9efd8, var(--cream-2) 70%, #9c8456); box-shadow: 0 3px 0 #2a1608, inset 0 2px 2px rgba(255,255,255,.7); }
.hr-mini .hr-mini-open { display: flex; align-items: center; gap: 10px; min-width: 0; text-align: left; }
.hr-mini .hr-mini-dial { flex: none; position: relative; width: 44px; height: 26px; border-radius: 6px; overflow: hidden;
  background: radial-gradient(ellipse 90% 130% at 50% 60%, var(--amber-hot), var(--amber) 50%, #b8620f); box-shadow: inset 0 1px 4px rgba(0,0,0,.5); }
.hr-mini .hr-mini-dial::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(70, 30, 4, .6) 0 1px, transparent 1px 5px); }
.hr-mini .hr-mini-dial i { position: absolute; top: 3px; bottom: 3px; width: 2px; left: var(--x, 50%); background: var(--needle); transition: left .5s; }
.hr-mini .hr-mini-text { min-width: 0; display: grid; }
.hr-mini .hr-mini-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-mini .hr-mini-song { font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-mini .eq { display: flex; gap: 2px; align-items: flex-end; height: 12px; flex: none; }
.hr-mini .eq b { width: 3px; background: var(--amber); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.hr-mini .eq b:nth-child(2) { animation-delay: -.4s; } .hr-mini .eq b:nth-child(3) { animation-delay: -.7s; }
.hr-mini:not(.hr-playing) .eq b { animation: none; height: 3px; }
@media (prefers-reduced-motion: reduce) { .hr-pop, .hr-pop .hr-sheet, .hr-mini { transition: none; animation: none; } }

/* room at the bottom of the page for the mini player */
html.hr-mini-on main { padding-bottom: 96px; }
@media (max-width: 400px) { .hr-pop .hr-hint { display: none; } }
