html, body {
    overflow: auto;
	color: #fff;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
}

.radio-page {
    position: relative;
    width: 1000px;
    min-height: 720px;
    height: auto;
    margin: 12px auto;
}

.radio-actions {
    width: 1000px;
    margin: 14px auto;
    padding: 18px;
    border: 1px solid #444;
    border-radius: 18px;
    background: #1b1b1b;
}
.volume-control {
    width: 1000px;
    margin: 14px auto;
    padding: 18px;
    border: 1px solid #444;
    border-radius: 18px;
    background: #1b1b1b;
}
.radio-extra{
    width: 1000px;
    margin: 14px auto;
    padding: 18px;
    border: 1px solid #444;
    border-radius: 18px;
    background: #1b1b1b;
}

.radio-toolbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
}

.toolbar-volume {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toolbar-icon.is-muted {
    opacity: 0.55;
}

.toolbar-request {
    display: flex;
    justify-content: center;
}

.toolbar-listeners {
    text-align: center;
    min-width: 120px;
}
/* ---------- TOP BAR ---------- */

.top-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 64px;
	padding-bottom: 12px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border-radius: 999px;
    background: rgba(20,20,20,0.92);
    border: 2px solid rgba(255,136,2,0.45);
    box-shadow: 0 0 18px rgba(255,136,2,0.12);
    max-width: 100%;
}

.live-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E53935;
    box-shadow: 0 0 8px rgba(229,57,53,0.55);
    flex: 0 0 16px;
}

.live-text {
    font-size: 30px;
    line-height: 1;
    font-weight: bold;
    letter-spacing: 0.4px;
    color: #FFFFFF;
    white-space: nowrap;
}

/* ---------- MAIN AREA ---------- */

.main-area {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* ---------- IMAGE ---------- */

.visual-panel {
    width: 420px;
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.visual-frame {
    width: 400px;
    height: 430px;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(34,34,34,0.96), rgba(16,16,16,0.96));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
	opacity: 1;
    transition: opacity 0.3s ease;
}

.visual-frame img.is-fading {
    opacity: 0;
}

/* ---------- PROGRESS BAR ---------- */

.progress-wrap {
    width: 400px;
    padding: 10px 14px 12px 14px;
    border-radius: 18px;
    background: rgba(18,18,18,0.82);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.time-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 1.2;
    color: #AFAFAF;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #FF8802, #FFB347);
}

/* ---------- TEXT PANEL ---------- */

.info-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.now-card {
    min-height: 215px;
}

.now-card,
.next-card {
    background: rgba(20,20,20,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 22px 26px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.section-kicker {
    font-size: 18px;
    line-height: 1.1;
    font-weight: bold;
    color: #FF8802;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.track-main {
    font-size: 34px;
    line-height: 1.12;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	min-height: auto;
	margin-bottom: 18px;
}

.track-main.track-autoplay-error {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

.track-autoplay-error span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: normal;
    color: #CCCCCC;
}

.software-main {
    font-size: 26px;
    line-height: 1.16;
    color: #E6E6E6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	min-height: auto;
	margin-bottom: 18px;
}

.meta-main {
    font-size: 20px;
    line-height: 1.25;
    color: #C7C7C7;
    margin: 0 0 8px 0;
	margin-top: 12px;
    margin-bottom: 8px;
}

.credit-line,
.source-line {
    font-size: 19px;
    line-height: 1.28;
    margin-top: 8px;
    color: #F0F0F0;
    overflow: hidden;
}

.credit-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.source-line {
    max-height: calc(19px * 1.28 * 2); /* 2 lignes */
}

.credit-line strong,
.source-line strong {
    color: #F0F0F0;
}

.next-card {
    padding-top: 18px;
    padding-bottom: 18px;
	min-height: 125px;
}

.credit-line,
.source-line,
.meta-main {
    margin-top: 10px;
}

.next-title {
    font-size: 28px;
    line-height: 1.18;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.next-software {
    font-size: 22px;
    line-height: 1.22;
    color: #D4D4D4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.next-meta {
    font-size: 18px;
    line-height: 1.25;
    color: #AAAAAA;
    margin: 0;
}

/* ---------- BOTTOM BAR ---------- */

.bottom-bar {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
	padding-top: 12px;
}

.bottom-pill {
    width: 100%;
    min-height: 62px;
    border-radius: 999px;
    padding: 12px 24px;
    background: rgba(18,18,18,0.94);
    border: 1px solid rgba(255,136,2,0.28);
    box-shadow: 0 0 16px rgba(255,136,2,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-text {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.2;
    color: #E5E5E5;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hidden-audio {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ---------- SHELL ---------- */
.radio-shell {
    width: 1200px;
    margin: 14px auto;
    padding: 18px;
    border: 1px solid #444;
    border-radius: 18px;
    background: #1b1b1b;
}

/* ---------- UPCOMING LIST ---------- */
.upcoming-list {
    margin: 0;
    padding-left: 24px;
}

.upcoming-list li {
    margin: 6px 0;
    line-height: 1.35;
    padding: 5px 7px;
    border-radius: 4px;
}

.upcoming-list li:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.upcoming-meta {
    color: #C7C7C7;
}

.upcoming-eta {
    color: #FFB347;
    font-weight: bold;
}

.upcoming-refresh-note {
    margin-top: 12px;
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.upcoming-source-line {
    font-size: 13px;
    font-weight: bold;
}

.upcoming-request {
    color: #7FD7FF;
}

.upcoming-special {
    color: #FFD86B;
}

/* ---------- REQUEST MODAL ---------- */

.request-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.request-modal.is-open {
    display: block;
}

.request-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.request-modal-panel {
    position: relative;
    width: 1250px;
    max-width: calc(100vw - 48px);
    height: calc(100vh - 80px);
    margin: 40px auto;
    background: #1b1b1b;
    border: 1px solid #555;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.65);
    overflow: hidden;
}

.request-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #666;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 28px;
    line-height: 32px;
    cursor: pointer;
}

.request-modal-close:hover {
    background: #2a2a2a;
}

.request-modal-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #111;
}
/* ---------- TOOLBAR LISTENERS ---------- */
.toolbar-listeners {
    min-width: 130px;
    text-align: center;
}

.listeners-title {
    font-size: 13px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#listeners-count {
    margin-top: 4px;
    font-size: 24px;
    font-weight: bold;
    color: #ffb347;
}

#listeners-count.listeners-green {
    color: #7CFF7C;
}

#listeners-count.listeners-yellow {
    color: #FFD966;
}

#listeners-count.listeners-orange {
    color: #FF9B42;
}

#listeners-count.listeners-red {
    color: #FF5C5C;
    font-weight: bold;
}
/* ---------- ERREURS ---------- */
.radio-autoplay-error {
    text-align: center;
    padding: 35px 20px;
    color: #ddd;
}

.radio-autoplay-error .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.radio-autoplay-error .title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.radio-autoplay-error .text {
    font-size: 18px;
    line-height: 1.6;
}