:root {
  --radio-navy: #06233d;
  --radio-teal: #078da2;
  --radio-cyan: #25c4d0;
  --radio-amber: #f59e0b;
  --radio-paper: #f4f9fc;
  --radio-line: #b9d6e4;
}

.web-radio-handle[hidden],
.web-radio-panel[hidden] {
  display: none !important;
}

.web-radio-handle {
  position: fixed;
  z-index: 10020;
  left: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #ffd27a;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #f7ad20, #df641d);
  box-shadow: 0 12px 30px rgba(201, 92, 20, .32);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.web-radio-handle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(201, 92, 20, .42);
}

.web-radio-handle .web-radio-handle-icon {
  font: 900 29px/1 Georgia, serif;
}

.web-radio-handle .web-radio-live-dot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #9aafba;
}

.web-radio-handle.is-playing .web-radio-live-dot {
  background: #22d3a6;
  animation: web-radio-pulse 1.25s ease-in-out infinite;
}

@keyframes web-radio-pulse {
  50% { box-shadow: 0 0 0 6px rgba(34, 211, 166, .2); }
}

.web-radio-panel {
  position: fixed;
  z-index: 10031;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: min(430px, calc(100vw - 36px));
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(107, 159, 186, .55);
  border-radius: 20px;
  background: rgba(244, 249, 252, .96);
  box-shadow: 0 26px 74px rgba(4, 29, 49, .28), 0 5px 18px rgba(4, 29, 49, .14);
  transform: translateX(calc(-100% - 38px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.22, .78, .2, 1), opacity .2s ease;
  backdrop-filter: blur(10px) saturate(112%);
}

.web-radio-panel.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.web-radio-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: #fff;
  background:
    radial-gradient(circle at 85% -30%, rgba(37, 196, 208, .6), transparent 42%),
    linear-gradient(135deg, var(--radio-navy), #075c76);
}

.web-radio-header-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: #ffd37d;
  font: 900 25px/1 Georgia, serif;
}

.web-radio-header-copy { min-width: 0; }
.web-radio-header-copy small,
.web-radio-header-copy strong,
.web-radio-header-copy span { display: block; }
.web-radio-header-copy small { color: #8ee8ef; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.web-radio-header-copy strong { margin-top: 2px; font-size: 17px; }
.web-radio-header-copy span { margin-top: 3px; overflow: hidden; color: #d5eaf1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.web-radio-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 22px;
  cursor: pointer;
}

.web-radio-toolbar {
  padding: 12px 14px 10px;
  border-bottom: 1px solid #d2e3eb;
  background: #edf6fa;
}

.web-radio-search {
  min-height: 42px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  padding: 0 11px;
  border: 1px solid #b8d4e3;
  border-radius: 12px;
  color: #0b7187;
  background: #fff;
}

.web-radio-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #0b2940;
  background: transparent;
  font: inherit;
}

.web-radio-status {
  margin: 8px 2px 0;
  color: #607f90;
  font-size: 10px;
}

.web-radio-stations {
  min-height: 0;
  overflow: auto;
  padding: 10px 12px 16px;
  background:
    radial-gradient(circle at 18px 18px, rgba(7, 141, 162, .045) 2px, transparent 2.4px) 0 0/34px 34px,
    var(--radio-paper);
}

.web-radio-station {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  margin: 0 0 7px;
  padding: 8px 10px;
  border: 1px solid #c5dce7;
  border-left: 4px solid #5cb9c7;
  border-radius: 13px;
  color: #0a2b43;
  background: rgba(255,255,255,.94);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.web-radio-station:hover {
  transform: translateX(2px);
  border-color: #27a8ba;
  box-shadow: 0 8px 18px rgba(6, 69, 92, .1);
}

.web-radio-station.active {
  border-color: #ee9320;
  border-left-color: #ee9320;
  background: #fff9ed;
}

.web-radio-station-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d5e3e9;
  border-radius: 12px;
  color: #0a7188;
  background: #e7f4f7;
  font: 900 21px/1 Georgia, serif;
}

.web-radio-station-logo img { width: 100%; height: 100%; object-fit: cover; }
.web-radio-station-copy { min-width: 0; }
.web-radio-station-copy strong,
.web-radio-station-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-radio-station-copy strong { font-size: 12px; }
.web-radio-station-copy small { margin-top: 4px; color: #688494; font-size: 9px; }
.web-radio-station-play { color: #0b8296; font-size: 20px; text-align: center; }
.web-radio-station.active .web-radio-station-play { color: #df731d; }

.web-radio-empty {
  min-height: 180px;
  display: grid;
  place-content: center;
  color: #6b8797;
  font-size: 12px;
  text-align: center;
}

.web-radio-player {
  padding: 11px 13px 13px;
  color: #fff;
  background: linear-gradient(135deg, #06233d, #0a405b);
  box-shadow: 0 -9px 26px rgba(4, 29, 49, .15);
}

.web-radio-now {
  min-width: 0;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 2px 9px;
}

.web-radio-now-dot { width: 8px; height: 8px; border-radius: 50%; background: #7792a0; }
.web-radio-player.is-playing .web-radio-now-dot { background: #22d3a6; box-shadow: 0 0 0 5px rgba(34, 211, 166, .14); }
.web-radio-now strong,
.web-radio-now small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-radio-now strong { font-size: 12px; }
.web-radio-now small { margin-top: 2px; color: #b8d7e3; font-size: 9px; }

.web-radio-controls {
  display: grid;
  grid-template-columns: 42px 42px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.web-radio-control {
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.1);
  cursor: pointer;
}

.web-radio-control:hover { background: rgba(37,196,208,.28); }
.web-radio-volume { display: grid; grid-template-columns: 20px minmax(0, 1fr) 34px; align-items: center; gap: 6px; font-size: 10px; }
.web-radio-volume input { width: 100%; accent-color: var(--radio-cyan); }
.web-radio-volume output { color: #bdeaf0; text-align: right; }

.oto760-start-radio-controls[hidden] {
  display: none !important;
}

.oto760-start-radio-controls {
  position: absolute;
  z-index: 10042;
  right: 0;
  bottom: calc(100% + 1px);
  left: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 38px 38px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--teal, #078da2) 46%, transparent);
  border-radius: 15px;
  color: var(--surface, #fff);
  background: color-mix(in srgb, var(--navy, #06233d) 94%, transparent);
  box-shadow: 0 14px 34px rgba(4, 29, 49, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px) scale(.985);
  transform-origin: bottom center;
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(14px) saturate(120%);
}

.oto760-web-start.is-radio-playing.is-radio-controls-hovered .oto760-start-radio-controls,
.oto760-web-start.is-radio-playing .oto760-start-radio-controls:hover,
.oto760-web-start.is-radio-playing .oto760-start-radio-controls:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.oto760-start-radio-controls > button {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--cyan, #25c4d0) 42%, transparent);
  border-radius: 10px;
  color: var(--cyan, #25c4d0);
  background: color-mix(in srgb, var(--surface, #fff) 10%, transparent);
  font: 800 15px/1 inherit;
  cursor: pointer;
}

.oto760-start-radio-controls > button:hover,
.oto760-start-radio-controls > button:focus-visible {
  color: var(--navy, #06233d);
  background: var(--cyan, #25c4d0);
  outline: none;
}

.oto760-start-radio-volume {
  min-width: 0;
  height: 36px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--cyan, #25c4d0) 28%, transparent);
  border-radius: 10px;
  color: var(--cyan, #25c4d0);
  background: color-mix(in srgb, var(--surface, #fff) 7%, transparent);
}

.oto760-start-radio-volume input {
  min-width: 0;
  width: 100%;
  accent-color: var(--cyan, #25c4d0);
  cursor: pointer;
}

@media (max-width: 700px) {
  .web-radio-panel { inset: 0; width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .web-radio-handle { left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .web-radio-panel,
  .web-radio-handle,
  .web-radio-station { transition: none; }
  .web-radio-handle.is-playing .web-radio-live-dot { animation: none; }
}

/* Independent radio workspace: module window instead of a left drawer. */
@media (min-width: 701px) {
  .web-radio-panel {
    top: 18px;
    right: 18px;
    bottom: 78px;
    left: 18px;
    width: auto;
    border-color: color-mix(in srgb, var(--line, #b9d6e4) 88%, var(--teal, #078da2));
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface, #f4f9fc) 96%, var(--soft, #eaf4f8));
    box-shadow: 0 30px 80px color-mix(in srgb, var(--navy, #06233d) 34%, transparent);
    transform: translateY(14px) scale(.99);
    transform-origin: center;
    transition: transform .22s ease, opacity .18s ease;
  }

  .web-radio-panel.open {
    transform: translateY(0) scale(1);
  }

  .web-radio-stations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-content: start;
  }
}

body:has(.web-radio-panel.open) #oto760WebStart,
body:has(.web-radio-panel.open) #oto760WebStart[open] {
  left: 22px !important;
  bottom: 0 !important;
  transform: none !important;
  translate: none !important;
}

.web-radio-panel .web-radio-toolbar .web-radio-search > input[type="search"],
.web-radio-panel .web-radio-toolbar .web-radio-search > input[type="search"]:hover,
.web-radio-panel .web-radio-toolbar .web-radio-search > input[type="search"]:focus,
.web-radio-panel .web-radio-toolbar .web-radio-search > input[type="search"]:focus-visible,
.web-radio-panel .web-radio-toolbar .web-radio-search > input[type="search"]:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
