.l2c-radio {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 40;
  color: var(--l2c-text, #f4ead8);
  font-family: var(--l2c-font, inherit);
}
.l2c-radio[hidden] { display: none !important; }

.l2c-radio__fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--l2c-line, rgba(201,162,39,.45));
  background: linear-gradient(180deg, #2a1c12, #120c0a);
  color: var(--l2c-gold-2, #f0d47a);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
}
.l2c-radio__fab svg { width: 26px; height: 26px; display: block; }
.l2c-radio__pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--l2c-gold, #d4af37);
  opacity: 0;
  pointer-events: none;
}
.l2c-radio.is-on .l2c-radio__pulse {
  animation: l2c-radio-pulse 1.6s ease-out infinite;
}
@keyframes l2c-radio-pulse {
  0% { transform: scale(.92); opacity: .7; }
  100% { transform: scale(1.25); opacity: 0; }
}

.l2c-radio__panel {
  width: min(320px, calc(100vw - 24px));
  background: rgba(12, 8, 8, 0.96);
  border: 1px solid var(--l2c-line, rgba(201,162,39,.34));
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  overflow: hidden;
  display: none;
}
.l2c-radio.is-open .l2c-radio__panel { display: block; }
.l2c-radio.is-open .l2c-radio__fab { display: none; }

.l2c-radio.is-min .l2c-radio__panel {
  display: block;
  width: 168px;
  border-radius: 10px;
  cursor: pointer;
}
.l2c-radio.is-min .l2c-radio__fab { display: none; }
.l2c-radio.is-min .l2c-radio__ctrls,
.l2c-radio.is-min .l2c-radio__list,
.l2c-radio.is-min [data-radio-min] { display: none; }
.l2c-radio.is-min .l2c-radio__screen {
  width: 168px;
  height: 94px;
}

.l2c-radio__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .65rem;
  border-bottom: 1px solid rgba(201,162,39,.22);
  font-size: .92rem;
}
.l2c-radio__head-btns { display: flex; gap: 4px; }
.l2c-radio__icon-btn {
  width: 26px;
  height: 22px;
  border: 1px solid rgba(201,162,39,.3);
  background: transparent;
  color: inherit;
  border-radius: 3px;
  line-height: 1;
  cursor: pointer;
}

.l2c-radio__screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.l2c-radio__screen iframe,
#l2cRadioYt,
#l2cRadioYt iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.l2c-radio__now {
  padding: .4rem .7rem 0;
  font-size: .82rem;
  color: var(--l2c-gold-2, #f0d47a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.l2c-radio__ctrls {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .6rem .55rem;
}
.l2c-radio__ctrls button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.l2c-radio__ctrls input[type="range"] { flex: 1; min-width: 0; }

.l2c-radio__list {
  margin: 0;
  padding: 0 0 .5rem;
  max-height: 180px;
  overflow: auto;
  list-style: none;
}
.l2c-radio__list li {
  margin: 0;
  padding: .28rem .7rem;
  font-size: .8rem;
  cursor: pointer;
  color: var(--l2c-muted, #d2c3ae);
}
.l2c-radio__list li:hover,
.l2c-radio__list li.is-on {
  color: var(--l2c-gold-2, #f0d47a);
  background: rgba(201,162,39,.12);
}

@media (max-width: 768px) {
  .l2c-radio { right: 10px; bottom: 12px; }
}
