#di-player {
    min-width: 0;
}

#webamp,
#webamp * {
    letter-spacing: 0;
}

.di-webamp-anchor {
    width: 275px;
    height: 116px;
}

.di-player-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    height: 2.9rem;
    padding: 0 0.4rem;
    background: linear-gradient(180deg, #d9d9d9 0%, #fff 45%, #8d8d8d 47%, #fff 100%);
    border-top: 2px ridge #fff;
    box-shadow: 0 -2px 0 #111;
    color: #111;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 0.72rem;
}

.di-bar-controls {
    display: flex;
    gap: 0.2rem;
}

.di-bar-controls button {
    width: 1.4rem;
    height: 1.4rem;
    border: 0;
    background: transparent;
    font-weight: bold;
    text-shadow: 1px 1px #fff, -1px 0 #000;
}

.di-bar-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0.15rem 0.3rem;
    background: #fff;
    color: #5a00ff;
    border: 1px inset #888;
    border-radius: 0.35rem;
}

.di-bar-title span {
    display: inline-block;
    white-space: nowrap;
    animation: di-marquee 10s linear infinite;
}

.di-bar-seek {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    width: 38%;
}

.di-bar-seek input,
.di-bar-volume {
    width: 100%;
}

.di-bar-seek input {
    accent-color: #5a00ff;
}

.di-bar-volume {
    width: 3.2rem;
    accent-color: #9a9a9a;
}

@keyframes di-marquee {
    from { transform: translateX(30%); }
    to { transform: translateX(-70%); }
}

@media only screen and (max-width: 682px) {
    body {
        padding-bottom: 4.2rem;
    }

    #webamp {
        display: none;
    }
}

@media only screen and (min-width: 683px) {
    #di-player {
        position: absolute;
        width: 0;
        height: 0;
    }

    .di-player-bar {
        display: none;
    }
}
