/* === Container === */
.abcpp-player {
    background: #2b2b2b;
    color: #ffffff !important;
    padding: 18px;
    border-radius: 12px;
    font-family: sans-serif;
    width: 100%;
    max-width: 420px;
}

/* === Title === */
.abcpp-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff !important;
}

/* === A/B Buttons（主角：长条 + 大圆角 + 左右对称） === */
.abcpp-ab-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 16px;
}

.abcpp-btn {
    flex: 1;
    height: 56px;
    margin: 0 6px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    transition: 0.15s;
}

.abcpp-btn-a { background: #00d4ff; }
.abcpp-btn-b { background: #ff4d7a; }

.abcpp-btn:hover {
    transform: translateY(-2px);
}

.abcpp-active {
    box-shadow: 0 0 14px rgba(255,255,255,0.45);
}

/* === LUFS === */
.abcpp-lufs {
    font-size: 12px;
    opacity: 0.95;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    color: #ffffff !important;
}

/* === Controls === */
.abcpp-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* === Play Button（使用 SVG 图标） === */
.abcpp-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none !important;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff4d7a !important;

    /* 关键：彻底禁用主题的按钮重置 */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    box-shadow: none !important;
}

/* SVG 图标 */
.abcpp-play svg.abcpp-icon {
    width: 28px;
    height: 28px;
    fill: #fff;
    pointer-events: none;
    display: block;
}

/* 播放状态：显示 ▶️ */
.abcpp-play-state-play svg.abcpp-icon polygon {
    display: block;
}
.abcpp-play-state-play svg.abcpp-icon rect {
    display: none;
}

/* 暂停状态：显示 ⏸ */
.abcpp-play-state-pause svg.abcpp-icon polygon {
    display: none;
}
.abcpp-play-state-pause svg.abcpp-icon rect {
    display: block;
}

/* === GM button === */
.abcpp-gm {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #444;
    color: #fff;
}

.abcpp-gm.abcpp-on {
    background: #00d4ff;
}

/* === Progress Bar === */
.abcpp-progress {
    position: relative;
    width: 100%;
    height: 8px;
    background: #444;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.abcpp-progress-fill {
    height: 100%;
    width: 0%;
    background: #ff4d7a;
    transition: width 0.1s linear;
}

/* === Progress Dot（可拖动） === */
.abcpp-progress-dot {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    cursor: pointer;
}

/* === Time === */
.abcpp-time {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #ffffff !important;
    opacity: 1;
}
