body {
    margin: 0;
    background: transparent; /* l'iframe hérite du gradient du parent */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #eee;
}

.player {
    width: 240px;
    padding: 16px;
    background: linear-gradient(180deg, #111, #050505);
    border: 2px solid #222;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
}

/* Écran + Volume */
.screen-area {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: stretch;
    height: 100px;
}

.screen {
    flex: 1;
    height: 100%;
    background: linear-gradient(180deg, #111, #070707);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 8px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    row-gap: 2px;
    text-align: center;
    box-sizing: border-box;
    color: #eee;
}

.title {
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffcc00; /* doré */
}

.artist {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ff9900; /* orange */
}

.infos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 11px;
    color: #aaa;
}

.status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 10px;
    color: #aaa;
}

/* Volume */
.volume-wrapper {
    width: 28px;
    height: 100%;
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    box-sizing: border-box;
}

#volume {
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: linear-gradient(180deg, #111, #070707); /* gris sombre */
    accent-color: #ff9900; /* pour le curseur lui-même */
}

/* Contrôles */
.controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-btn {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    color: #ffcc00;
    transition: all 0.25s ease;
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.control-btn:hover {
    background: #222;
    color: #ff9900;
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

.control-btn.active {
    background: #222;
    color: #ff9900;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
}

.right-controls {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
