/* Browserfassung des nativen Knuddels-Decks, ohne HostFrame- und Moderationsaktionen. */
.radio-shell { position: relative; isolation: isolate; border: 1px solid #3a3a3a; border-radius: 24px; background: #141414; }
.radio-deck { --play-size: 80px; display: grid; grid-template-columns: 170px 120px minmax(0, 1fr) 420px 100px; align-items: center; gap: 0 10px; min-width: 0; min-height: 160px; padding: 12px 16px 12px 0; overflow: hidden; border-radius: inherit; background: repeating-radial-gradient(circle at 86% -220px,transparent 0 16px,rgba(220,227,237,.035) 17px 18px,transparent 19px 32px),linear-gradient(116deg,transparent 30%,rgba(207,216,229,.028) 61%,transparent 91%); }
.radio-shell.has-ticker .radio-deck { border-radius: 24px 24px 0 0; }
.disc-zone { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; min-width: 0; isolation: isolate; }
.disc-zone::before { content: ""; position: absolute; left: -44px; top: 50%; width: 200px; height: 200px; transform: translateY(-50%); border: 2px solid #827354; border-radius: 50%; background: radial-gradient(circle,#171817 0 calc(var(--play-size) / 2 + 9px),transparent calc(var(--play-size) / 2 + 10px)),repeating-radial-gradient(circle,#050505 0 9px,#262626 10px 11px,#050505 12px 20px); }
.play-button { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: var(--play-size); height: var(--play-size); padding: 0; border: 1px solid #ad9360; border-radius: 50%; color: #e6c77b; background: radial-gradient(circle at 38% 25%,#3c3524,transparent 65%),radial-gradient(circle,#25231e 0 59%,transparent 61%),repeating-radial-gradient(circle,#171817 0 3px,#38362f 4px,#171817 5px 7px); box-shadow: 0 0 0 5px #11120f,0 0 0 6px #6f6043,inset 0 1px 0 #fff2,inset 0 -2px 4px #0008; cursor: pointer; }
.play-button svg { width: 32px; height: 32px; fill: currentColor; }
.play-button:hover { border-color: #ffe2a1; color: #ffe2a1; box-shadow: 0 0 0 5px #171711,0 0 0 6px #ad9360,inset 0 1px 0 #fff4; }
.play-button:active { box-shadow: 0 0 0 5px #11120f,0 0 0 6px #6f6043,inset 0 3px 8px #000b; }
.play-button:focus-visible { outline: 2px solid #ffe2a1; outline-offset: -5px; }
.radio-shell[data-playing="true"] .play-button { color: #ffe2a1; border-color: #ffe2a1; }
.radio-shell[data-playing="true"] .play-button::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 14px 3px #e6c77bb3,0 0 28px 5px #e6c77b59; }
.radio-shell[data-playing="true"] .play-button svg { filter: drop-shadow(0 0 6px #e6c77b99); }
.brand-mark { grid-column: 2; grid-row: 1; min-width: 0; padding-right: 19px; border-right: 1px solid #3a3a3a; }
.brand-mark img { display: block; width: 100px; height: 100px; object-fit: contain; }
.radio-metadata { grid-column: 3; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(166px, 1.1fr); grid-template-rows: 160px; min-width: 0; text-align: center; }
.now-playing { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; }
.mini-label { margin: 0 0 8px; color: #e6c77b; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 1.2px; }
.track-title { flex: none; height: auto; max-height: 66px; margin: 0; font: 600 26px/1.2 Outfit,system-ui,sans-serif; letter-spacing: -.3px; overflow-wrap: anywhere; overflow: hidden; }
.track-subtitle { flex: none; height: auto; max-height: 40px; margin: 8px 0 0; color: #b4b4b0; font-size: 17px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; overflow: hidden; }
/* Extremtexte bleiben vollständig im eigenen Textfeld lesbar, ohne die Deckhöhe zu verändern. */
:is(.track-title,.track-subtitle)[data-fit-overflow="true"] { overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
:is(.track-title,.track-subtitle):focus-visible { outline: 2px solid #e6c77b; outline-offset: 2px; }
.show-context { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: safe center; min-width: 0; min-height: 0; padding: 6px 60px 6px 8px; border-left: 1px solid #3a3a3a; overflow-y: auto; scrollbar-width: thin; }
.show-context .mini-label { font-size: 12px; margin-bottom: 4px; }
.show-title { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.show-note { margin: 6px 0 0; color: #b4b4b0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.show-context[data-mode="autodj"] .show-note::before { content: "♪ "; }
.show-context[data-mode="live"] .show-note { color: #ff9a8f; }
.show-context[data-mode="live"] .show-note::before { content: "● "; font-size: 12px; }
.volume-control { z-index: 1; grid-column: 2; grid-row: 1; justify-self: end; align-self: center; display: grid; grid-template-columns: 52px; grid-template-rows: 18px 64px 44px; width: 52px; height: 126px; gap: 0; color: #b4b4b0; }
.volume-value { grid-row: 1; grid-column: 1; display: block; width: 52px; height: 18px; font-size: 12px; line-height: 18px; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.volume-knob { position: relative; grid-row: 3; grid-column: 1; justify-self: center; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #e6c77b; background: transparent; cursor: pointer; }
.volume-knob::before { content: ""; position: absolute; inset: 8px; border: 1px solid #827354; border-radius: 50%; background: radial-gradient(circle at 40% 25%,#302d25,#181818 75%); }
.volume-knob svg { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.volume-knob:hover::before { border-color: #e6c77b; }
.volume-knob:focus-visible { outline: 2px solid #e6c77b; outline-offset: -3px; }
.volume-mute-cross,.volume-knob[aria-pressed="true"] .volume-sound-waves { display: none; }
.volume-knob[aria-pressed="true"] .volume-mute-cross { display: block; }
.volume-knob[aria-pressed="true"] { color: #ff9a8f; }
.volume-range { grid-column: 1; grid-row: 2; justify-self: center; appearance: none; -webkit-appearance: none; writing-mode: vertical-lr; direction: rtl; flex: none; width: 44px; min-width: 44px; height: 64px; margin: 0; padding: 0 20px; border: 0; border-radius: 22px / 2px; background: linear-gradient(to top,#cfd2d6 0 var(--volume-low,10%),#333 var(--volume-low,10%) var(--volume-warning-start,60%),#ff8a7e var(--volume-warning-start,60%) var(--volume-high,60%),#63413c var(--volume-high,60%) 100%) center / 4px 100% no-repeat; cursor: pointer; }
.volume-range::-webkit-slider-runnable-track { width: 4px; height: 100%; background: transparent; }
.volume-range::-moz-range-track { width: 4px; height: 100%; background: transparent; }
.volume-range::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; margin-left: -5px; border: 2px solid #141414; border-radius: 50%; background: var(--volume-thumb,#e9eaec); }
.volume-range::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #141414; border-radius: 50%; background: var(--volume-thumb,#e9eaec); }
.volume-range:focus-visible { outline: 2px solid #e6c77b; outline-offset: 0; }
.volume-control.is-high { --volume-thumb: #ff8a7e; }
.volume-control.is-high .volume-value { color: #ff9a8f; }
.radio-controls { grid-column: 4; grid-row: 1; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 160px; padding-inline: 12px; border-left: 1px solid #3a3a3a; }
.own-wish-slot { position: absolute; inset: auto 12px 0; height: 42px; display: flex; align-items: safe center; min-width: 0; min-height: 0; overflow: auto; scrollbar-width: thin; text-align: center; }
.own-wish { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 3px 8px; width: 100%; min-width: 0; overflow-wrap: anywhere; }
.own-wish .mini-label { grid-column: 1; grid-row: 1; margin: 0; }
.own-wish[hidden],.own-wish [hidden] { display: none; }
#own-wish-rank { grid-column: 2; grid-row: 1; display: block; font-size: 16px; font-weight: 500; }
#own-wish-title { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 14px; line-height: 1.3; }
#own-wish-stage { grid-column: 3; grid-row: 1; margin: 0; color: #b4b4b0; font-size: 12px; line-height: 1.3; text-align: right; }
.radio-listener-brand { grid-column: 5; grid-row: 1; width: 90px; }
.radio-listener-brand img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: lighten; }
.radio-shell .ticker { border-inline: 0; border-bottom: 0; border-radius: 0 0 24px 24px; }
.radio-caption { margin: 10px 4px 0; color: #ffb6ac; font-size: 14px; line-height: 1.5; }
.radio-caption:empty { display: none; }
@media (min-width:1200px) and (max-width:1499px) {
  .radio-deck { grid-template-columns: 150px 100px minmax(0,1fr) 316px 74px; gap: 0 8px; padding-right: 12px; }
  .brand-mark { padding-right: 12px; }
  .brand-mark img { width: 88px; height: 100px; }
  .radio-listener-brand { width: 70px; }
}
@media (max-width:1199px) {
  .radio-deck { grid-template-columns: 120px 100px minmax(0,1fr); gap: 14px; padding: 12px 16px; }
  .disc-zone { align-self: start; height: 160px; }
  .disc-zone::before { width: 160px; height: 160px; left: -24px; }
  .play-button { left: 16px; }
  .brand-mark { padding: 0 12px 0 0; }
  .brand-mark img { width: 80px; height: 80px; }
  .radio-controls { grid-column: 2 / 4; grid-row: 2; height: 112px; border-left: 0; }
  .radio-listener-brand { display: none; }
  .radio-metadata { grid-template-columns: minmax(0,1.5fr) minmax(166px,1fr); grid-template-rows: 116px 44px; }
  .now-playing { grid-row: 1 / 3; }
  .show-context { grid-row: 1; padding: 6px 8px; }
  .volume-control { grid-row: 2; align-self: center; justify-self: stretch; display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 44px; border-left: 1px solid #3a3a3a; }
  .volume-range { writing-mode: horizontal-tb; direction: ltr; flex: 1; width: 80px; min-width: 24px; max-width: 96px; height: 44px; padding: 20px 0; background-image: linear-gradient(to right,#cfd2d6 0 var(--volume-low,10%),#333 var(--volume-low,10%) var(--volume-warning-start,60%),#ff8a7e var(--volume-warning-start,60%) var(--volume-high,60%),#63413c var(--volume-high,60%) 100%); background-size: 100% 4px; }
  .volume-range::-webkit-slider-runnable-track { width: 100%; height: 4px; }
  .volume-range::-moz-range-track { width: 100%; height: 4px; }
  .volume-range::-webkit-slider-thumb { margin-left: 0; margin-top: -5px; }
}
@media (min-width:701px) and (max-width:1000px) {
  .radio-metadata { grid-template-columns: minmax(0,1fr); grid-template-rows: 156px 100px 44px; }
  .now-playing { grid-column: 1 / -1; grid-row: 1; }
  .show-context { grid-column: 1; grid-row: 2; border-left: 0; }
  .volume-control { grid-column: 1; grid-row: 3; border-left: 0; }
}
@media (max-width:700px) {
  .radio-deck { --play-size: 72px; grid-template-columns: 80px minmax(0,1fr); gap: 12px; padding: 12px; }
  .disc-zone { height: 156px; }
  .disc-zone::before { width: 116px; height: 116px; left: -20px; }
  .play-button { left: 0; }
  .play-button svg { width: 28px; height: 28px; }
  .brand-mark { display: none; }
  .radio-metadata { grid-column: 2; grid-template-columns: minmax(0,1fr); grid-template-rows: 156px 100px 44px; }
  .now-playing { grid-column: 1; grid-row: 1; padding: 6px 0; }
  .track-title { font-size: 24px; }
  .show-context { grid-column: 1; grid-row: 2; padding: 6px 0; border-left: 0; }
  .volume-control { grid-column: 1; grid-row: 3; border-left: 0; }
  .radio-controls { grid-column: 1 / 3; grid-row: 2; padding-inline: 0; }
  .own-wish-slot { inset-inline: 0; }
}
@media (prefers-reduced-motion:reduce) {
  .radio-shell[data-playing="true"] { animation: none; border-color: #d2e6ff; box-shadow: 0 0 0 1px #d2e6ff6e,0 0 11px 1px #90beffc2,0 0 27px 4px #5c96ff87,0 0 48px 9px #3e70eb5c,0 0 84px 16px #2c5ccc36,inset 0 0 21px #90beff13; }
}

/* Unveränderte Farbfolge und Schattengeometrie des aktuellen nativen Players. */
@media (prefers-reduced-motion:no-preference) { .radio-shell[data-playing="true"] { animation: mw-halo-rgb 42s linear infinite; } }
@keyframes mw-halo-rgb {
  0%,100% {
    border-color:#d2e6ff;
    box-shadow:
      0 0 0 1px rgba(210,230,255,.43),
      0 0 11px 1px rgba(144,190,255,.76),
      0 0 27px 4px rgba(92,150,255,.53),
      0 0 48px 9px rgba(62,112,235,.36),
      0 0 84px 16px rgba(44,92,204,.21),
      inset 0 0 21px rgba(144,190,255,.075);
  }
  16.666667% {
    border-color:#eed8ff;
    box-shadow:
      0 0 0 1px rgba(238,216,255,.43),
      0 0 11px 1px rgba(202,156,255,.76),
      0 0 27px 4px rgba(165,112,250,.53),
      0 0 48px 9px rgba(140,80,219,.36),
      0 0 84px 16px rgba(105,60,186,.21),
      inset 0 0 21px rgba(202,156,255,.075);
  }
  33.333333% {
    border-color:#ffdae5;
    box-shadow:
      0 0 0 1px rgba(255,218,229,.43),
      0 0 11px 1px rgba(255,150,176,.76),
      0 0 27px 4px rgba(250,100,140,.53),
      0 0 48px 9px rgba(223,69,110,.36),
      0 0 84px 16px rgba(185,52,91,.21),
      inset 0 0 21px rgba(255,150,176,.075);
  }
  50% {
    border-color:#ffeecc;
    box-shadow:
      0 0 0 1px rgba(255,238,204,.43),
      0 0 11px 1px rgba(255,211,141,.76),
      0 0 27px 4px rgba(249,177,80,.53),
      0 0 48px 9px rgba(222,144,42,.36),
      0 0 84px 16px rgba(182,111,27,.21),
      inset 0 0 21px rgba(255,211,141,.075);
  }
  66.666667% {
    border-color:#d7fadf;
    box-shadow:
      0 0 0 1px rgba(215,250,223,.43),
      0 0 11px 1px rgba(148,232,170,.76),
      0 0 27px 4px rgba(88,204,129,.53),
      0 0 48px 9px rgba(52,171,98,.36),
      0 0 84px 16px rgba(35,137,69,.21),
      inset 0 0 21px rgba(148,232,170,.075);
  }
  83.333333% {
    border-color:#d2f7fa;
    box-shadow:
      0 0 0 1px rgba(210,247,250,.43),
      0 0 11px 1px rgba(140,224,238,.76),
      0 0 27px 4px rgba(80,194,219,.53),
      0 0 48px 9px rgba(51,159,194,.36),
      0 0 84px 16px rgba(31,123,159,.21),
      inset 0 0 21px rgba(140,224,238,.075);
  }
}
