.cabin-player {
  --radio-text: #f6f8fb;
  --radio-secondary: #c3d1df;
  --radio-accent: #ffdab4;
  box-sizing: border-box;
  width: 100%;
  padding: 15px 18px 13px;
  color: var(--radio-text);
  background: linear-gradient(145deg, rgb(64 79 94 / 38%), rgb(21 38 55 / 30%));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.cabin-player *, .cabin-player *::before, .cabin-player *::after { box-sizing: border-box; }
.radio-song { display: flex; align-items: center; gap: 13px; }
.radio-cover {
  flex: 0 0 auto;
  width: 63px; height: 63px; border-radius: 10px;
  border: 1px solid rgb(237 241 245 / 19%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%), 0 2px 6px rgb(0 9 20 / 20%);
  background: #657785 url("assets/scene.jpg?v=8.0.0") 71% 66% / auto 155%;
}
.radio-cover[data-track="1"] { background-position: 34% 34%; background-size: auto 185%; filter: saturate(.75) hue-rotate(12deg); }
.radio-cover[data-track="2"] { background-position: 86% 67%; background-size: auto 245%; filter: sepia(.18) saturate(1.15); }
.radio-meta { min-width: 0; }
.radio-air {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--radio-secondary); font-size: 11px; font-weight: 550; line-height: 1.4;
}
.radio-air::before {
  content: ""; width: 5px; height: 5px;
  background: #a8b6c3; border-radius: 50%;
}
.is-playing .radio-air::before { background: var(--radio-accent); }
.cabin-player .radio-meta h2 {
  color: var(--radio-text);
  margin: 3px 0 2px;
  font: 610 17px/1.18 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.025em;
}
.cabin-player .radio-meta p { color: var(--radio-secondary); margin: 0; font-size: 13px; line-height: 1.35; }
.radio-progress { margin-top: 10px; }
.radio-progress input {
  display: block; appearance: none; width: 100%; height: 24px; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer;
}
.radio-progress input::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, #e6edf5 var(--progress, 0%), rgb(210 227 242 / 26%) var(--progress, 0%));
}
.radio-progress input::-moz-range-track { height: 4px; border-radius: 4px; background: rgb(210 227 242 / 26%); }
.radio-progress input::-moz-range-progress { height: 4px; border-radius: 4px; background: #e6edf5; }
.radio-progress input::-webkit-slider-thumb {
  appearance: none; width: 10px; height: 10px; margin-top: -3px;
  border-radius: 50%; background: #edf3f9; box-shadow: 0 1px 3px rgb(9 19 30 / 25%);
}
.radio-progress input::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #edf3f9; }
.radio-time {
  display: flex; justify-content: space-between; color: var(--radio-secondary);
  font-size: 11px; line-height: 1.25; font-variant-numeric: tabular-nums;
}
.radio-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 6px; }
.radio-transport { display: flex; align-items: center; gap: 4px; }
.cabin-player button {
  display: inline-grid; place-items: center; appearance: none;
  width: 38px; height: 38px; margin: 0; padding: 9px;
  border: 0; border-radius: 50%; box-shadow: none;
  color: #e4edf4; background: transparent; cursor: pointer;
}
.cabin-player button:hover { background: rgb(223 237 250 / 10%); color: white; }
.cabin-player button:focus-visible, .cabin-player input:focus-visible { outline: 2px solid #b3d7ff; outline-offset: 2px; }
.cabin-player button svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.cabin-player button[data-radio="toggle"] {
  width: 40px; height: 40px; padding: 11px; color: #283342; background: #e7eef5;
  box-shadow: 0 1px 3px rgb(6 19 33 / 22%);
}
.cabin-player button[data-radio="toggle"]:hover { background: white; }
.cabin-player button[data-radio="favorite"] { justify-self: start; }
.cabin-player button[data-radio="favorite"][aria-pressed="true"] { color: var(--radio-accent); }
.cabin-player button[data-radio="favorite"][aria-pressed="true"] svg { fill: currentColor; }
.radio-volume { justify-self: end; position: relative; }
.radio-volume-pop {
  display: flex; align-items: center; gap: 3px; position: absolute; bottom: calc(100% + 3px); right: 0;
  width: 161px; padding: 2px 9px 2px 2px; background: #314456; border: 1px solid rgb(228 238 248 / 20%);
  border-radius: 13px; box-shadow: 0 3px 10px rgb(8 19 30 / 33%); z-index: 2;
}
.radio-volume-pop[hidden] { display: none; }
.radio-volume-pop input { width: 100%; min-width: 0; height: 32px; margin: 0; cursor: pointer; accent-color: #d5e3f0; }
@media (pointer: coarse) {
  .cabin-player button { width: 44px; height: 44px; padding: 12px; }
  .cabin-player button[data-radio="toggle"] { width: 44px; height: 44px; }
  .radio-progress input { height: 30px; }
}
