.rms-stream-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.rms-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .rms-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .rms-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card Base */
.rms-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
    box-sizing: border-box;
}

.rms-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Farbtöne der 6 Kacheln */
.rms-card.card-top40 {
    background: linear-gradient(180deg, #ff1b53 0%, #ff8373 100%);
}

.rms-card.card-80s {
    background: #ea64be;
}

.rms-card.card-rock {
    background: #2b2e34;
}

.rms-card.card-club {
    background: #7a00f2;
}

.rms-card.card-chillout {
    background: #179b64;
}

.rms-card.card-deutschpop {
    background: #1d3e75;
}

/* Obere Zeile (Icon links, Tag rechts) */
.rms-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.rms-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rms-icon-circle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Spezielles Icon für Rock (gelber Blitz) */
.card-rock .rms-icon-circle svg {
    stroke: #e8b835;
}

.rms-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1;
}

/* Textbereich unten */
.rms-card-bottom {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rms-card-title {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.15;
}

.rms-card-desc {
    margin: 3px 0 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Playing Status */
.rms-card.is-playing {
    outline: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

.rms-card.is-playing .rms-icon-circle {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}