body {
    font-family: "Times New Roman", Times, serif;
    background-color: #c0c0c0;
    color: #000000;
    margin: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-image: url(/assets/1257-backdrop.png);
    background-size: cover;
}

.player-container {
    width: 100%;
    max-width: 450px;
    background-color: #c0c0c0;
    padding: 15px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    text-align: center;
}

h2 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: "Courier New", Courier, monospace;
    color: #c919ae;
}

.embed-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 10px auto;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    display: block;
}

.live-status {
    color: #ff0000;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}

.cd-player-box {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto; 
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.cd-player-box img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.cd-player-image {
    z-index: 2;
    object-fit: contain;
}

.cd-image {
    z-index: 1;
    object-fit: contain;
    border-radius: 50%;
    transform-origin: 50% 50%;
    will-change: transform;
}

.progress-section {
    background-color: #c919ae;
    padding: 15px 10px;
    margin: 15px 0;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.lcd-display {
    background-color: #000000;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 8px;
    margin-bottom: 15px;
    border: 2px inset #404040;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    cursor: pointer;
}

.chapter-menu {
    display: none;
    background-color: #000000;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    text-align: left;
    border: 2px inset #404040;
    margin-top: -10px;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: scroll;
}

.chapter-item {
    padding: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px dashed #008800;
}

.chapter-item:hover, .chapter-item:active {
    background-color: #00ff00;
    color: #000000;
    font-weight: bold;
}

#time-display {
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: bold;
}

.seek-container {
    position: relative;
    width: 100%;
    padding-top: 10px;
}

.seek-marker {
    position: absolute;
    top: 0;
    width: 4px;
    height: 10px;
    background-color: #ffff00;
    cursor: pointer;
    z-index: 10;
}

.seek-marker:hover {
    background-color: #00ff00;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 5;
}

input[type=range]:focus { outline: none; }

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 15px;
    cursor: pointer;
    background: #000000;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

input[type=range]::-webkit-slider-thumb {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    height: 25px;
    width: 15px;
    background: #c0c0c0;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 15px;
    cursor: pointer;
    background: #000000;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

input[type=range]::-moz-range-thumb {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    height: 25px;
    width: 15px;
    background: #c0c0c0;
    cursor: pointer;
    border-radius: 0;
}

.control-panel {
    background-color: #aeaeae;
    padding: 10px;
    margin: 15px 0;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.retro-btn {
    background-color: #c0c0c0;
    color: #000000;
    padding: 8px 15px;
    font-size: 1rem;
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    cursor: pointer;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
}

.retro-btn:active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }