.sendeplan-ticker {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: var(--sendeplan-ticker-height, 48px);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(136, 136, 136, 0.45);
    border-radius: 4px;
    color: #fff;
}

.sendeplan-ticker-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #ccc;
}

.sendeplan-ticker-panel {
    display: none;
    width: 100%;
    height: 100%;
}

.sendeplan-ticker-panel-active {
    display: block;
}

.sendeplan-ticker-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.sendeplan-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
    will-change: transform;
}

.sendeplan-ticker-horizontal .sendeplan-ticker-track {
    animation-name: sendeplan-ticker-scroll-h;
    animation-duration: var(--sendeplan-ticker-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.sendeplan-ticker-vertical .sendeplan-ticker-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    width: 100%;
    height: auto;
    animation-name: sendeplan-ticker-scroll-v;
    animation-duration: var(--sendeplan-ticker-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.sendeplan-ticker-item {
    display: inline-block;
    padding: 0 18px;
    font-size: 14px;
    line-height: var(--sendeplan-ticker-height, 48px);
    font-weight: 600;
}

.sendeplan-ticker-vertical .sendeplan-ticker-item {
    line-height: 1.4;
    padding: 8px 16px;
}

.sendeplan-ticker-item-live {
    color: #ffd966;
}

.sendeplan-ticker-item-offline {
    color: #bbb;
    font-style: italic;
}

.sendeplan-ticker-separator {
    display: inline-block;
    padding: 0 10px;
    opacity: 0.55;
    font-weight: 400;
}

.sendeplan-ticker-vertical .sendeplan-ticker-separator {
    display: none;
}

.sendeplan-ticker-embed {
    margin: 0;
    padding: 0;
    background: transparent;
}

.sendeplan-ticker-embed .sendeplan-ticker {
    border-radius: 0;
}

@keyframes sendeplan-ticker-scroll-h {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes sendeplan-ticker-scroll-v {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 640px) {
    .sendeplan-ticker-item {
        font-size: 12px;
        padding: 0 12px;
    }
}

.sp-ticker-sidebox-item {
    margin: 0 0 8px;
    font-size: 13px;
}

.sp-ticker-sidebox {
    width: var(--sendeplan-ticker-width, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.sp-ticker-wrap-side .sp-schedule-panel {
    color: #fff;
}

.sp-ticker-wrap-center .sp-schedule-panel {
    color: inherit;
}

.sp-ticker-wrap-center .sendeplan-ticker {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: inherit;
}

.sp-ticker-wrap-center .sp-schedule-row {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sp-ticker-wrap-center .sp-schedule-dj {
    color: inherit;
}

.sp-ticker-wrap-center .sp-schedule-title {
    color: rgba(255, 255, 255, 0.95);
}

.sp-ticker-wrap-center .sp-schedule-list {
    background: rgba(0, 0, 0, 0.25);
}

.sp-ticker-wrap-side .sp-schedule-list {
    background: rgba(0, 0, 0, 0.45);
}

.sp-ticker-sidebox-link {
    margin: 10px 0 0;
    font-size: 12px;
    text-align: right;
}

.sp-schedule-panel {
    width: var(--sp-schedule-width, 100%);
    max-width: 100%;
    margin: 0;
    background: transparent;
    overflow: hidden;
}

.sp-schedule-empty {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #ccc;
}

.sp-schedule-block {
    display: none;
}

.sp-schedule-block-active {
    display: block;
}

.sp-schedule-list {
    height: var(--sp-schedule-height, 320px);
    max-height: var(--sp-schedule-height, 320px);
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #d4b429;
    background: rgba(0, 0, 0, 0.35);
}

.sp-schedule-viewport {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Vertikal: Einträge untereinander */
.sp-schedule-vertical .sp-schedule-track {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    will-change: transform;
}

.sp-schedule-vertical .sp-schedule-row {
    width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
}

.sp-schedule-vertical.sp-schedule-scroll .sp-schedule-track {
    animation-name: sp-schedule-scroll-v;
    animation-duration: var(--sp-schedule-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Horizontal: Einträge nebeneinander */
.sp-schedule-horizontal .sp-schedule-list {
    height: var(--sp-schedule-height, 180px);
    max-height: var(--sp-schedule-height, 180px);
}

.sp-schedule-horizontal .sp-schedule-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    height: 100%;
    will-change: transform;
}

.sp-schedule-horizontal .sp-schedule-row {
    flex: 0 0 auto;
    width: 230px;
    min-width: 230px;
    height: calc(100% - 6px);
    margin: 3px 0 3px 4px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.sp-schedule-horizontal .sp-schedule-row-live {
    margin: 3px 0 3px 4px;
}

.sp-schedule-horizontal.sp-schedule-scroll .sp-schedule-track {
    animation-name: sp-schedule-scroll-h;
    animation-duration: var(--sp-schedule-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.sp-schedule-scroll .sp-schedule-track:hover {
    animation-play-state: paused;
}

@keyframes sp-schedule-scroll-v {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes sp-schedule-scroll-h {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sp-schedule-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-schedule-row-live {
    background: rgba(34, 102, 34, 0.85);
    border-radius: 8px;
    border-bottom: none;
    border-left: 4px solid #5fd35f;
    margin: 3px 4px;
    box-shadow: inset 0 0 0 1px rgba(95, 211, 95, 0.25);
}

.sp-schedule-row-offline {
    opacity: 0.85;
}

.sp-schedule-row-offline .sp-schedule-title {
    color: rgba(255, 255, 255, 0.88);
}

.sp-schedule-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
    display: block;
}

.sp-schedule-meta {
    min-width: 0;
    flex: 1;
}

.sp-schedule-time {
    color: #5fd35f;
    font-size: 13px;
    font-weight: 700;
}

.sp-schedule-dj {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.sp-schedule-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 3px;
}

.sp-schedule-row-live .sp-schedule-title {
    color: #fff;
}

.sp-ticker-wrap-center .sp-schedule-avatar img {
    width: 56px;
    height: 56px;
}

.sp-ticker-wrap-center .sp-schedule-dj {
    font-size: 16px;
}

.sp-schedule-live {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    background: #c62828;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 2px;
    vertical-align: middle;
}
