.nd-audio-card {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.nd-audio-play {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex: 0 0 52px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    cursor: pointer;
    background: #222 !important;
    color: #c81919 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all .2s ease;
}

.nd-audio-play:hover {
    background: #000 !important;
    transform: scale(1.03);
}

.nd-audio-play:focus,
.nd-loop-toggle:focus {
    outline: 2px solid rgba(200, 25, 25, .28);
    outline-offset: 3px;
}

.nd-play-icon {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    position: relative !important;
    margin-left: 2px !important;
    line-height: 1 !important;
    color: transparent !important;
    font-size: 0 !important;
}

.nd-play-icon::before {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 2px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 7px solid transparent !important;
    border-bottom: 7px solid transparent !important;
    border-left: 11px solid #c81919 !important;
}

.nd-audio-card.is-playing .nd-play-icon {
    margin-left: 0 !important;
}

.nd-audio-card.is-playing .nd-play-icon::before {
    left: 3px !important;
    top: 2px !important;
    width: 4px !important;
    height: 14px !important;
    border: 0 !important;
    background: #c81919 !important;
    box-shadow: 8px 0 0 #c81919 !important;
}

.nd-audio-play:hover .nd-play-icon::before {
    border-left-color: #e12626 !important;
}

.nd-audio-card.is-playing .nd-audio-play:hover .nd-play-icon::before {
    background: #e12626 !important;
    box-shadow: 8px 0 0 #e12626 !important;
}

.nd-audio-content {
    flex: 1;
    min-width: 0;
}

.nd-audio-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.nd-audio-text {
    min-width: 0;
}

.nd-audio-label {
    color: #777;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.nd-audio-title {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nd-audio-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.nd-vumeter {
    height: 30px;
    min-width: 78px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 3px;
}

.nd-vumeter span {
    width: 4px;
    height: 8px;
    border-radius: 8px;
    background: #bdbdbd;
    opacity: .7;
    transform-origin: center bottom;
}

.nd-audio-card.is-playing .nd-vumeter span {
    animation: nd-vu-wave .75s infinite ease-in-out;
    background: #222;
    opacity: 1;
}

.nd-audio-card.is-playing .nd-vumeter span:nth-child(1) { animation-delay: .05s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(2) { animation-delay: .15s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(3) { animation-delay: .25s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(4) { animation-delay: .10s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(5) { animation-delay: .30s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(6) { animation-delay: .18s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(7) { animation-delay: .28s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(8) { animation-delay: .08s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(9) { animation-delay: .22s; }
.nd-audio-card.is-playing .nd-vumeter span:nth-child(10) { animation-delay: .35s; }

@keyframes nd-vu-wave {
    0%, 100% { height: 8px; }
    50% { height: 26px; }
}

.nd-loop-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    background: #f7f7f7 !important;
    color: #555 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all .18s ease;
}

.nd-loop-toggle:hover {
    background: #eeeeee !important;
    border-color: #cfcfcf !important;
    color: #222 !important;
}

.nd-loop-toggle.is-active {
    background: #222 !important;
    border-color: #222 !important;
    color: #ffffff !important;
}

.nd-loop-svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nd-loop-count {
    position: absolute;
    right: -4px;
    bottom: -4px;
    min-width: 14px;
    height: 14px;
    padding: 0 2px;
    border-radius: 10px;
    background: #c81919;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
}

.nd-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 20px;
    background: #ececec;
    overflow: hidden;
    cursor: pointer;
}

.nd-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 20px;
    background: #222;
    transition: width .12s linear;
}

.nd-audio-time {
    margin-top: 7px;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .nd-audio-card {
        gap: 10px;
        padding: 14px;
        border-radius: 12px;
    }

    .nd-audio-play {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        flex: 0 0 46px !important;
    }

    .nd-audio-title {
        font-size: 14px;
    }

    .nd-audio-tools {
        gap: 7px;
    }

    .nd-vumeter {
        min-width: 52px;
        gap: 2px;
    }

    .nd-vumeter span {
        width: 3px;
    }

    .nd-loop-toggle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        flex: 0 0 32px !important;
    }

    .nd-loop-svg {
        width: 18px;
        height: 18px;
    }
}


/* v1.2.2 Mobil Timeline Kesin Düzeltme */
.nd-progress-bar {
    position: relative !important;
    height: 10px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    cursor: pointer !important;
    touch-action: none !important;
    -ms-touch-action: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Görünmez geniş dokunma alanı */
.nd-progress-bar::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -22px !important;
    bottom: -22px !important;
    z-index: 5 !important;
}

.nd-progress-fill {
    height: 100% !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {
    .nd-progress-bar {
        height: 12px !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }

    .nd-progress-bar::before {
        top: -26px !important;
        bottom: -26px !important;
    }
}


/* v1.2.3 Sayfa kayınca player üstte sabit kalsın */
.nd-audio-sticky-placeholder {
    display: none;
}

.nd-audio-card.is-nd-sticky {
    position: fixed !important;
    top: 0 !important;
    z-index: 99999 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16) !important;
}

body.admin-bar .nd-audio-card.is-nd-sticky {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .nd-audio-card.is-nd-sticky {
        top: 46px !important;
    }
}

@media (max-width: 600px) {
    .nd-audio-card.is-nd-sticky {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 10px 12px !important;
    }

    .nd-audio-card.is-nd-sticky .nd-audio-label,
    .nd-audio-card.is-nd-sticky .nd-audio-time {
        display: none !important;
    }

    .nd-audio-card.is-nd-sticky .nd-audio-head {
        margin-bottom: 7px !important;
    }

    .nd-audio-card.is-nd-sticky .nd-progress-bar {
        margin-top: 6px !important;
        margin-bottom: 0 !important;
    }
}
