.elementor-34859 .elementor-element.elementor-element-69079bb4{--display:flex;}.elementor-34859 .elementor-element.elementor-element-05aa90e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-34859:not(.elementor-motion-effects-element-type-background), body.elementor-page-34859 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-astglobalcolor7 );}:root{--page-title-display:none;}@media(max-width:767px){.elementor-34859 .elementor-element.elementor-element-05aa90e{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for container, class: .elementor-element-69079bb4 */:root {
    --ab-color-primary: #6A4B2F;
    --ab-color-secondary: #4A4A47;
    --ab-color-accent: #D4AF37;
    --ab-color-background: #0F0F0F;
    --ab-color-surface: rgba(74, 74, 71, 0.12);
    --ab-color-surface-elevated: rgba(106, 75, 47, 0.08);
    --ab-color-text: #FFFFFF;
    --ab-color-text-dim: rgba(255, 255, 255, 0.7);
    --ab-color-text-muted: rgba(255, 255, 255, 0.5);
    --ab-border-radius: 16px;
    --ab-border-radius-small: 8px;
    --ab-shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --ab-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.2);
    --ab-shadow-large: 0 16px 64px rgba(0, 0, 0, 0.3);
    --ab-backdrop-blur: blur(20px);
    --ab-transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


.audiobrain-app {
    background: linear-gradient(135deg, var(--ab-color-background) 0%, #1a1a1a 100%);
    color: var(--ab-color-text);
    padding: 2rem;
    border-radius: var(--ab-border-radius);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 120px;
    min-height: 100vh;
    backdrop-filter: var(--ab-backdrop-blur);
    position: relative;
}

.audiobrain-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(106, 75, 47, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(74, 74, 71, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: var(--ab-border-radius);
}

.audiobrain-app::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(106, 75, 47, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(74, 74, 71, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: var(--ab-border-radius);
}

/* --- Persistent Player --- */
#ab-persistent-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    transition: transform 0.4s var(--ab-transition-smooth);
    transform: translateY(100%);
    backdrop-filter: var(--ab-backdrop-blur);
}

#ab-persistent-player.active { /* Use 'active' class to show player */
    transform: translateY(0);
}

/* Minimized Player */
#ab-player-minimized-view {
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: var(--ab-shadow-large);
}

.ab-mini-seeker {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--ab-color-primary) 0%, var(--ab-color-primary) var(--progress, 0%), rgba(255, 255, 255, 0.2) var(--progress, 0%), rgba(255, 255, 255, 0.2) 100%);
    margin: 0;
    padding: 0;
    border-radius: 3px;
}
.ab-mini-seeker::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--ab-color-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--ab-shadow-small);
    transition: all 0.2s var(--ab-transition-smooth);
}

/* Fullscreen Player */
#ab-player-fullscreen-view {
    display: none; /* Hidden by default */
}

#ab-persistent-player.fullscreen {
    top: 0;
    bottom: auto;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: var(--ab-backdrop-blur);
    overflow-y: auto; /* CRITICAL: Allows content to scroll within the player */
    z-index: 100001;
}

#ab-persistent-player.fullscreen #ab-player-fullscreen-view {
    display: flex; /* Show the fullscreen view */
    flex-direction: column;
}

#ab-persistent-player.fullscreen #ab-player-minimized-view {
    display: none; /* Hide the minimized view */
}

.ab-player-top-bar {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.ab-player-chrome-btn {
    background: none; border: none;
    color: var(--ab-color-text-dim);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s var(--ab-transition-smooth);
}
.ab-player-chrome-btn:hover {
    color: var(--ab-color-text);
    background: var(--ab-color-surface);
}

.ab-player-content {
    display: grid;
    grid-template-columns: 400px 1fr; /* Two columns for desktop */
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 5rem;
    width: 100%;
    flex-grow: 1;
}

.ab-player-left #ab-player-cover-full {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--ab-border-radius);
    box-shadow: var(--ab-shadow-large);
}

#ab-player-details-full {
    margin-top: 2rem;
    text-align: center;
}
#ab-player-title-full {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}
#ab-player-author-full {
    margin: 0.5rem 0 1.5rem 0;
    color: var(--ab-color-text-dim);
    font-size: 1.2rem;
}

.ab-player-center .ab-player-controls-main {
    margin: 3rem 0;
}
.ab-player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.ab-ctrl-btn {
    background: none; border: none;
    color: var(--ab-color-text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s var(--ab-transition-smooth);
}
.ab-ctrl-btn.main {
    font-size: 3rem;
    color: var(--ab-color-primary);
    background: var(--ab-color-surface);
    box-shadow: var(--ab-shadow-medium);
}
.ab-player-timeline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
#ab-player-seeker-full {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 6px;
    background: linear-gradient(to right, var(--ab-color-primary) 0%, var(--ab-color-primary) var(--progress, 0%), rgba(255, 255, 255, 0.2) var(--progress, 0%), rgba(255, 255, 255, 0.2) 100%);
    border-radius: 3px;
    outline: none;
}
#ab-player-seeker-full::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--ab-color-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--ab-shadow-medium);
}

.ab-player-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    gap: 1rem;
}
.ab-player-tab-btn {
    background: none; border: none;
    color: var(--ab-color-text-dim);
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
}
.ab-player-tab-btn.active {
    color: var(--ab-color-primary);
    border-bottom-color: var(--ab-color-primary);
}
.ab-player-tab-content {
    display: none;
    max-height: 50vh;
    overflow-y: auto;
    line-height: 1.8;
}
.ab-player-tab-content.active {
    display: block;
}

/* Icons */
[class^=\"ab-icon-\"] {
    display: inline-block;
    width: 1em; height: 1em;
    background-color: currentColor;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    vertical-align: middle;
}
.ab-icon-play { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"/></svg>'); }
.ab-icon-pause { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\"/></svg>'); }
.ab-icon-prev { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M6 6h2v12H6zm3.5 6l8.5 6V6z\"/></svg>'); }
.ab-icon-next { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M16 6h2v12h-2zm-4.5 6l-8.5 6V6z\"/></svg>'); }
.ab-icon-maximize { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z\"/></svg>'); }
.ab-icon-minimize { -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M17 14h-3v3h-2v-5h5v2zm-5-4H9V7H7v5h5V9z\"/></svg>'); }
/* ... (add other icons from the modern CSS file) ... */

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 768px) {
    /* Fullscreen Player Mobile */
    #ab-persistent-player.fullscreen .ab-player-content {
        grid-template-columns: 1fr; /* CRITICAL: Stacks player content into a single column */
        gap: 2rem;
        padding: 0 1.5rem 3rem;
    }
    .ab-player-left {
        max-width: 320px; /* Constrain cover art size */
        margin: 0 auto;
    }
    .ab-player-tabs {
        justify-content: center;
        gap: 0.5rem;
        overflow-x: auto;
    }
    .ab-player-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .ab-player-buttons { gap: 1.5rem; }
    .ab-ctrl-btn { font-size: 1.5rem; padding: 0.75rem; }
    .ab-ctrl-btn.main { font-size: 2.5rem; }

    /* Minimized Player Mobile */
    .ab-mini-player-info {
        max-width: calc(100vw - 220px);
    }
    .ab-player-extra-controls {
        display: none; /* Hide extra controls on small screens to save space */
    }
}
/* --- Navigation & SPA --- */
.ab-main-nav { 
    margin-bottom: 3rem; 
    padding: 1.5rem 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--ab-backdrop-blur);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ab-main-nav ul { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    justify-content: center;
}

.ab-main-nav a { 
    color: var(--ab-color-text-dim); 
    text-decoration: none; 
    padding: 1rem 1.5rem; 
    border-radius: var(--ab-border-radius-small); 
    transition: all 0.3s var(--ab-transition-smooth);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.ab-main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.ab-main-nav a:hover::before {
    left: 100%;
}

.ab-main-nav a:hover { 
    color: var(--ab-color-text); 
    background: var(--ab-color-surface-elevated);
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-small);
}

.ab-main-nav a.active { 
    background: linear-gradient(135deg, var(--ab-color-primary) 0%, var(--ab-color-secondary) 100%); 
    color: var(--ab-color-text); 
    font-weight: 600;
    box-shadow: var(--ab-shadow-medium);
}

#ab-page-content.loading { 
    opacity: 0.5; 
    pointer-events: none; 
    transition: opacity 0.5s var(--ab-transition-smooth);
    filter: blur(2px);
}

#ab-page-content .ab-main-nav {
    display: none;
}

/* --- Form Styles --- */
.ab-form-container { 
    max-width: 900px; 
    margin: auto; 
    background: var(--ab-color-surface);
    border-radius: var(--ab-border-radius);
    padding: 2.5rem;
    backdrop-filter: var(--ab-backdrop-blur);
    box-shadow: var(--ab-shadow-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ab-form-title { 
    color: var(--ab-color-accent); 
    border-bottom: 2px solid var(--ab-color-primary); 
    padding-bottom: 1.5rem; 
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, var(--ab-color-accent) 0%, var(--ab-color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ab-form-row { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1.5rem; 
}

.ab-form-group { 
    margin-bottom: 2rem; 
    flex: 1; 
    min-width: calc(50% - 1rem); 
}

.ab-form-group.half { flex-basis: calc(50% - 0.75rem); }
.ab-form-group.third { flex-basis: calc(33.333% - 1rem); }

.ab-form-group label { 
    display: block; 
    margin-bottom: 0.75rem; 
    font-weight: 600; 
    color: var(--ab-color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ab-form-group .required { color: var(--ab-color-accent); }

.ab-form-group input[type="text"], 
.ab-form-group input[type="number"], 
.ab-form-group input[type="url"], 
.ab-form-group select, 
.ab-form-group textarea {
    width: 100%; 
    background: rgba(255, 255, 255, 0.05); 
    border: 2px solid rgba(255, 255, 255, 0.1); 
    border-radius: var(--ab-border-radius-small); 
    padding: 1rem 1.25rem; 
    color: var(--ab-color-text); 
    box-sizing: border-box;
    font-size: 1rem;
    transition: all 0.3s var(--ab-transition-smooth);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-form-group input:focus, 
.ab-form-group select:focus, 
.ab-form-group textarea:focus { 
    outline: none; 
    border-color: var(--ab-color-primary); 
    box-shadow: 0 0 0 4px rgba(106, 75, 47, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.ab-cover-preview-wrapper { margin-top: 1.5rem; }

#ab-cover-preview { 
    max-width: 200px; 
    max-height: 200px; 
    display: none; 
    border-radius: var(--ab-border-radius); 
    box-shadow: var(--ab-shadow-medium);
    transition: all 0.3s var(--ab-transition-smooth);
}

#ab-cover-preview.visible { 
    display: block; 
    animation: fadeInScale 0.5s var(--ab-transition-smooth);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Tabs */
.ab-tabs { 
    display: flex; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.ab-tab-btn { 
    background: none; 
    border: none; 
    color: var(--ab-color-text-dim); 
    padding: 1rem 1.5rem; 
    cursor: pointer; 
    border-bottom: 3px solid transparent; 
    transition: all 0.3s var(--ab-transition-smooth);
    font-weight: 500;
    border-radius: var(--ab-border-radius-small) var(--ab-border-radius-small) 0 0;
}

.ab-tab-btn:hover {
    background: var(--ab-color-surface);
    color: var(--ab-color-text);
}

.ab-tab-btn.active { 
    color: var(--ab-color-primary); 
    border-bottom-color: var(--ab-color-primary); 
    font-weight: 600;
    background: var(--ab-color-surface-elevated);
}

.ab-tab-content { 
    display: none; 
    animation: fadeIn 0.3s var(--ab-transition-smooth);
}

.ab-tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tags Input */
.ab-tags-input { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.75rem; 
    padding: 1rem; 
    border: 2px solid rgba(255, 255, 255, 0.1); 
    border-radius: var(--ab-border-radius-small); 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--ab-backdrop-blur);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-tags-input:focus-within {
    border-color: var(--ab-color-primary);
    box-shadow: 0 0 0 4px rgba(106, 75, 47, 0.2);
}

.ab-tag { 
    background: linear-gradient(135deg, var(--ab-color-primary) 0%, var(--ab-color-secondary) 100%); 
    padding: 0.5rem 1rem; 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--ab-shadow-small);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-tag:hover {
    transform: translateY(-1px);
    box-shadow: var(--ab-shadow-medium);
}

#ab-tags-input-field { 
    border: none; 
    background: transparent; 
    color: var(--ab-color-text); 
    flex-grow: 1; 
    padding: 0.5rem; 
    outline: none; 
    min-width: 150px;
    font-size: 1rem;
}

/* --- General Components --- */
.ab-btn { 
    padding: 1rem 2rem; 
    border-radius: 50px; 
    border: 2px solid var(--ab-color-primary); 
    background: transparent; 
    color: var(--ab-color-primary); 
    cursor: pointer; 
    font-weight: 600; 
    transition: all 0.3s var(--ab-transition-smooth); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem; 
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.ab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ab-color-primary) 0%, var(--ab-color-secondary) 100%);
    transition: left 0.3s var(--ab-transition-smooth);
    z-index: -1;
}

.ab-btn:hover::before {
    left: 0;
}

.ab-btn:hover { 
    color: var(--ab-color-text);
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-medium);
}

.ab-btn.primary { 
    background: linear-gradient(135deg, var(--ab-color-primary) 0%, var(--ab-color-secondary) 100%); 
    color: var(--ab-color-text);
    box-shadow: var(--ab-shadow-medium);
}

.ab-btn.primary:hover { 
    background: linear-gradient(135deg, var(--ab-color-secondary) 0%, var(--ab-color-primary) 100%);
    transform: translateY(-3px);
    box-shadow: var(--ab-shadow-large);
}

.ab-btn.small { 
    padding: 0.75rem 1.5rem; 
    font-size: 0.9rem; 
}

.ab-spinner { 
    border: 3px solid rgba(255, 255, 255, 0.2); 
    border-top: 3px solid var(--ab-color-primary); 
    border-radius: 50%; 
    width: 20px; 
    height: 20px; 
    animation: ab-spin 1s linear infinite; 
}

@keyframes ab-spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

#ab-form-feedback, #ab-comment-feedback { 
    margin-bottom: 1.5rem; 
    padding: 1.5rem; 
    border-radius: var(--ab-border-radius-small); 
    display: none;
    backdrop-filter: var(--ab-backdrop-blur);
    border-left: 4px solid;
    animation: slideDown 0.3s var(--ab-transition-smooth);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#ab-form-feedback.success, #ab-comment-feedback.success { 
    background: rgba(16, 185, 129, 0.2); 
    color: #10B981;
    border-left-color: #10B981;
}

#ab-form-feedback.error, #ab-comment-feedback.error { 
    background: rgba(239, 68, 68, 0.2); 
    color: #EF4444;
    border-left-color: #EF4444;
}

.ab-loader { 
    padding: 3rem; 
    text-align: center; 
    color: var(--ab-color-text-dim);
    font-size: 1.1rem;
}

/* --- Library Styles --- */
.ab-library-header { 
    margin-bottom: 3rem;
    text-align: center;
}

.ab-library-header input[type="search"] { 
    width: 100%; 
    max-width: 600px;
    background: var(--ab-color-surface); 
    border: 2px solid rgba(255, 255, 255, 0.1); 
    border-radius: 50px; 
    padding: 1.25rem 2rem; 
    color: var(--ab-color-text);
    font-size: 1.1rem;
    transition: all 0.3s var(--ab-transition-smooth);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-library-header input[type="search"]:focus {
    outline: none;
    border-color: var(--ab-color-primary);
    box-shadow: 0 0 0 4px rgba(106, 75, 47, 0.2);
    transform: translateY(-2px);
}

.ab-audio-grid-wrapper { 
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
}

.ab-audio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.ab-audio-category-group { 
    margin-bottom: 3rem; 
}

.ab-audio-category-title { 
    color: var(--ab-color-accent); 
    border-bottom: 2px solid var(--ab-color-primary); 
    padding-bottom: 1rem; 
    margin-bottom: 2rem; 
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.ab-audio-card { 
    background: var(--ab-color-surface); 
    border-radius: var(--ab-border-radius); 
    overflow: hidden; 
    cursor: pointer; 
    transition: all 0.4s var(--ab-transition-smooth); 
    display: flex; 
    flex-direction: column; 
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-audio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 75, 47, 0.1) 0%, rgba(74, 74, 71, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ab-transition-smooth);
    pointer-events: none;
}

.ab-audio-card:hover::before {
    opacity: 1;
}

.ab-audio-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: var(--ab-shadow-large);
}

.ab-editors-choice-badge { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    background: linear-gradient(135deg, var(--ab-color-accent) 0%, #B8860B 100%); 
    color: var(--ab-color-background); 
    padding: 0.5rem 1rem; 
    font-size: 0.75rem; 
    border-radius: 20px; 
    font-weight: 600; 
    z-index: 2;
    box-shadow: var(--ab-shadow-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ab-audio-card-cover-wrapper { 
    width: 100%; 
    padding-top: 100%; 
    position: relative; 
    background: linear-gradient(135deg, var(--ab-color-background) 0%, #1a1a1a 100%);
}

.ab-audio-card-cover { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: all 0.4s var(--ab-transition-smooth);
}

.ab-audio-card:hover .ab-audio-card-cover {
    transform: scale(1.1);
}

.ab-audio-card-info { 
    padding: 1.5rem; 
    flex-grow: 1;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.ab-audio-card-title { 
    margin: 0 0 0.5rem 0; 
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.ab-audio-card-author { 
    margin: 0; 
    font-size: 0.95rem; 
    color: var(--ab-color-text-dim);
    font-weight: 400;
}

/* --- Persistent Player --- */
#ab-persistent-player { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 100000; 
    transition: transform 0.4s var(--ab-transition-smooth); 
    transform: translateY(100%);
    backdrop-filter: var(--ab-backdrop-blur);
}

#ab-persistent-player.ab-player-visible { 
    transform: translateY(0); 
}

#ab-player-minimized-view { 
    background: rgba(15, 15, 15, 0.95); 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 1rem 1.5rem; 
    display: flex; 
    align-items: center; 
    position: relative;
    box-shadow: var(--ab-shadow-large);
}

.ab-mini-seeker { 
    position: absolute; 
    top: -6px; 
    left: 0; 
    width: 100%; 
    height: 6px; 
    -webkit-appearance: none; 
    appearance: none; 
    background: linear-gradient(to right, var(--ab-color-primary) 0%, var(--ab-color-primary) var(--progress, 0%), rgba(255, 255, 255, 0.2) var(--progress, 0%), rgba(255, 255, 255, 0.2) 100%); 
    margin: 0; 
    padding: 0;
    border-radius: 3px;
}

.ab-mini-seeker::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    appearance: none; 
    width: 16px; 
    height: 16px; 
    background: var(--ab-color-primary); 
    cursor: pointer; 
    border-radius: 50%;
    box-shadow: var(--ab-shadow-small);
    transition: all 0.2s var(--ab-transition-smooth);
}

.ab-mini-seeker::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--ab-shadow-medium);
}

.ab-mini-seeker::-moz-range-thumb { 
    width: 16px; 
    height: 16px; 
    background: var(--ab-color-primary); 
    cursor: pointer; 
    border-radius: 50%; 
    border: none;
    box-shadow: var(--ab-shadow-small);
}

.ab-mini-player-controls { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    width: 100%; 
}

#ab-player-cover-mini { 
    width: 50px; 
    height: 50px; 
    border-radius: var(--ab-border-radius-small); 
    object-fit: cover;
    box-shadow: var(--ab-shadow-small);
}

.ab-mini-player-info { 
    flex-grow: 1; 
    overflow: hidden;
    min-width: 0;
}

.ab-mini-player-info span { 
    display: block; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

#ab-player-title-mini { 
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

#ab-player-author-mini, #ab-player-time-mini { 
    font-size: 0.9rem; 
    color: var(--ab-color-text-dim); 
}

.ab-player-extra-controls { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
}

#ab-playback-speed, #ab-sleep-timer-select { 
    background: var(--ab-color-surface); 
    color: var(--ab-color-text); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: var(--ab-border-radius-small);
    padding: 0.5rem;
    transition: all 0.3s var(--ab-transition-smooth);
}

#ab-playback-speed:hover, #ab-sleep-timer-select:hover {
    border-color: var(--ab-color-primary);
    background: var(--ab-color-surface-elevated);
}

#ab-speed-control { 
    align-items: center; 
    gap: 0.75rem; 
    display: flex;
}

/* --- Fullscreen Player --- */
#ab-player-fullscreen-view {
    display: none;
    height: 100%;
}

#ab-persistent-player.fullscreen {
    top: 0;
    bottom: auto;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: var(--ab-backdrop-blur);
    overflow-y: auto;
    z-index: 100001;
}

#ab-persistent-player.fullscreen #ab-player-fullscreen-view {
    display: flex;
    flex-direction: column;
}

#ab-persistent-player.fullscreen #ab-player-minimized-view {
    display: none;
}

.ab-player-top-bar { 
    padding: 1.5rem; 
    display: flex; 
    justify-content: flex-end; 
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-player-chrome-btn { 
    background: none; 
    border: none; 
    color: var(--ab-color-text-dim); 
    font-size: 1.8rem; 
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-player-chrome-btn:hover {
    color: var(--ab-color-text);
    background: var(--ab-color-surface);
    transform: scale(1.1);
}

.ab-player-content { 
    display: grid; 
    grid-template-columns: 400px 1fr; 
    gap: 3rem; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 3rem 5rem; 
    width: 100%; 
    flex-grow: 1; 
}

.ab-player-left #ab-player-cover-full { 
    width: 100%; 
    aspect-ratio: 1/1; 
    object-fit: cover; 
    border-radius: var(--ab-border-radius); 
    box-shadow: var(--ab-shadow-large);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-player-left #ab-player-cover-full:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 80px rgba(0,0,0,0.4);
}

#ab-player-details-full { 
    margin-top: 2rem; 
    text-align: center; 
}

#ab-player-title-full { 
    margin: 0; 
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

#ab-player-author-full { 
    margin: 0.5rem 0 1.5rem 0; 
    color: var(--ab-color-text-dim); 
    font-size: 1.2rem;
    font-weight: 500;
}

.ab-player-center .ab-player-controls-main { 
    margin: 3rem 0; 
}

.ab-player-timeline { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    width: 100%; 
    color: var(--ab-color-text-dim); 
    font-size: 1rem;
    margin-bottom: 2rem;
}

#ab-player-seeker-full { 
    flex-grow: 1; 
    -webkit-appearance: none; 
    width: 100%; 
    height: 6px; 
    background: linear-gradient(to right, var(--ab-color-primary) 0%, var(--ab-color-primary) var(--progress, 0%), rgba(255, 255, 255, 0.2) var(--progress, 0%), rgba(255, 255, 255, 0.2) 100%); 
    border-radius: 3px; 
    outline: none; 
    padding: 0; 
    margin: 0;
}

#ab-player-seeker-full::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    appearance: none; 
    width: 20px; 
    height: 20px; 
    background: var(--ab-color-primary); 
    cursor: pointer; 
    border-radius: 50%;
    box-shadow: var(--ab-shadow-medium);
    transition: all 0.2s var(--ab-transition-smooth);
}

#ab-player-seeker-full::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: var(--ab-shadow-large);
}

#ab-player-seeker-full::-moz-range-thumb { 
    width: 20px; 
    height: 20px; 
    background: var(--ab-color-primary); 
    cursor: pointer; 
    border-radius: 50%; 
    border: none;
    box-shadow: var(--ab-shadow-medium);
}

.ab-player-buttons { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.ab-ctrl-btn { 
    background: none; 
    border: none; 
    color: var(--ab-color-text); 
    font-size: 1.8rem; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    padding: 1rem; 
    border-radius: 50%; 
    transition: all 0.3s var(--ab-transition-smooth);
    position: relative;
}

.ab-ctrl-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--ab-color-surface);
    border-radius: 50%;
    transition: all 0.3s var(--ab-transition-smooth);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.ab-ctrl-btn:hover::before {
    width: 100%;
    height: 100%;
}

.ab-ctrl-btn:hover { 
    color: var(--ab-color-primary);
    transform: scale(1.1);
}

.ab-ctrl-btn.main { 
    font-size: 3rem; 
    color: var(--ab-color-primary);
    background: var(--ab-color-surface);
    box-shadow: var(--ab-shadow-medium);
}

.ab-ctrl-btn.main:hover {
    background: var(--ab-color-primary);
    color: var(--ab-color-text);
    transform: scale(1.2);
    box-shadow: var(--ab-shadow-large);
}

.ab-ctrl-btn.active-feature { 
    color: var(--ab-color-accent); 
}

.ab-player-tabs { 
    display: flex; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    margin-bottom: 2rem;
    gap: 1rem;
}

.ab-player-tab-btn { 
    background: none; 
    border: none; 
    color: var(--ab-color-text-dim); 
    padding: 1rem 1.5rem; 
    cursor: pointer; 
    border-bottom: 3px solid transparent; 
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s var(--ab-transition-smooth);
    border-radius: var(--ab-border-radius-small) var(--ab-border-radius-small) 0 0;
}

.ab-player-tab-btn:hover {
    color: var(--ab-color-text);
    background: var(--ab-color-surface);
}

.ab-player-tab-btn.active { 
    color: var(--ab-color-primary); 
    border-bottom-color: var(--ab-color-primary); 
    font-weight: 600;
    background: var(--ab-color-surface-elevated);
}

.ab-player-tab-content { 
    display: none; 
    max-height: 50vh; 
    overflow-y: auto; 
    line-height: 1.8; 
    color: var(--ab-color-text-dim); 
    white-space: pre-wrap;
    padding: 1rem;
    background: var(--ab-color-surface);
    border-radius: var(--ab-border-radius-small);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-player-tab-content.active { 
    display: block; 
    animation: fadeIn 0.3s var(--ab-transition-smooth);
}

#ab-player-lyrics-content.no-lyrics { 
    text-align: center; 
    padding-top: 5rem; 
    font-style: italic;
    font-size: 1.1rem;
}

.lrc-line { 
    transition: all 0.3s var(--ab-transition-smooth); 
    opacity: 0.6;
    padding: 0.5rem 0;
}

.lrc-line.active { 
    color: var(--ab-color-text); 
    font-size: 1.2em; 
    opacity: 1; 
    font-weight: 600;
    transform: translateX(10px);
    background: var(--ab-color-surface-elevated);
    border-radius: var(--ab-border-radius-small);
    padding: 0.75rem 1rem;
}

/* Playlist Tab */
#ab-player-playlist-content .playlist-item { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    padding: 1rem; 
    border-radius: var(--ab-border-radius-small); 
    cursor: pointer;
    transition: all 0.3s var(--ab-transition-smooth);
    margin-bottom: 0.5rem;
}

#ab-player-playlist-content .playlist-item:hover, 
#ab-player-playlist-content .playlist-item.playing { 
    background: var(--ab-color-surface-elevated);
    transform: translateX(10px);
    box-shadow: var(--ab-shadow-small);
}

.playlist-item-cover { 
    width: 50px; 
    height: 50px; 
    object-fit: cover; 
    border-radius: var(--ab-border-radius-small);
    box-shadow: var(--ab-shadow-small);
}

.playlist-item-title { 
    font-weight: 600; 
    font-size: 1rem;
}

/* Star Rating */
.ab-star-rating { 
    display: inline-block; 
    direction: rtl;
    gap: 0.25rem;
}

.ab-star-rating input { display: none; }

.ab-star-rating label { 
    font-size: 2.5rem; 
    color: var(--ab-color-text-muted); 
    cursor: pointer; 
    transition: all 0.3s var(--ab-transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.ab-star-rating input:checked ~ label, 
.ab-star-rating label:hover, 
.ab-star-rating label:hover ~ label { 
    color: var(--ab-color-accent);
    transform: scale(1.1);
}

/* Notes Sidebar */
.ab-notes-sidebar { 
    position: fixed; 
    top: 0; 
    right: -500px; 
    width: 100%; 
    max-width: 480px; 
    height: 100%; 
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%); 
    box-shadow: var(--ab-shadow-large); 
    transition: right 0.4s var(--ab-transition-smooth); 
    z-index: 100002; 
    display: flex; 
    flex-direction: column;
    backdrop-filter: var(--ab-backdrop-blur);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ab-notes-sidebar.open { right: 0; }

.ab-notes-header { 
    padding: 2rem; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: var(--ab-color-surface);
}

.ab-notes-header h3 { 
    margin: 0; 
    font-size: 1.5rem;
    font-weight: 600;
}

.ab-close-btn { 
    color: var(--ab-color-text-dim); 
    font-size: 2rem; 
    cursor: pointer; 
    background: none; 
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-close-btn:hover {
    color: var(--ab-color-text);
    background: var(--ab-color-surface);
    transform: scale(1.1);
}

.ab-notes-content { 
    padding: 2rem; 
    flex-grow: 1; 
    overflow-y: auto; 
}

.ab-note-item { 
    background: var(--ab-color-surface); 
    padding: 1.5rem; 
    border-radius: var(--ab-border-radius); 
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--ab-backdrop-blur);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-note-item:hover {
    background: var(--ab-color-surface-elevated);
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-medium);
}

.ab-note-meta .timestamp { 
    color: var(--ab-color-accent); 
    font-weight: 600; 
    cursor: pointer; 
    text-decoration: none;
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-note-meta .timestamp:hover {
    color: var(--ab-color-primary);
    text-decoration: underline;
}

.ab-note-actions { 
    margin-top: 1.5rem; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.75rem; 
}

.ab-note-actions button, .ab-note-actions a { 
    background: none; 
    color: var(--ab-color-text-dim); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    cursor: pointer; 
    padding: 0.5rem 1rem; 
    font-size: 0.9rem; 
    border-radius: 20px; 
    text-decoration: none;
    transition: all 0.3s var(--ab-transition-smooth);
    font-weight: 500;
}

.ab-note-actions button:hover, .ab-note-actions a:hover {
    background: var(--ab-color-primary);
    color: var(--ab-color-text);
    border-color: var(--ab-color-primary);
    transform: translateY(-1px);
}

.ab-note-board-.elementor-34859 .elementor-element.elementor-element-69079bb4 { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
}

/* Public Comments */
#ab-comments-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}

.ab-comment-item { 
    background: var(--ab-color-surface); 
    padding: 1.5rem; 
    border-radius: var(--ab-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--ab-backdrop-blur);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-comment-item:hover {
    background: var(--ab-color-surface-elevated);
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-small);
}

#ab-new-comment-form { 
    margin-top: 2rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    align-items: flex-start;
    background: var(--ab-color-surface);
    padding: 2rem;
    border-radius: var(--ab-border-radius);
    backdrop-filter: var(--ab-backdrop-blur);
}

/* Management & My Notes Page */
.ab-mgt-header { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 3rem; 
    gap: 1.5rem;
    background: var(--ab-color-surface);
    padding: 2rem;
    border-radius: var(--ab-border-radius);
    backdrop-filter: var(--ab-backdrop-blur);
}

.ab-mgt-list-item, .ab-all-note-item { 
    display: flex; 
    align-items: flex-start; 
    justify-content: space-between; 
    padding: 2rem; 
    background: var(--ab-color-surface); 
    border-radius: var(--ab-border-radius); 
    margin-bottom: 1.5rem; 
    flex-wrap: wrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--ab-backdrop-blur);
    transition: all 0.3s var(--ab-transition-smooth);
}

.ab-mgt-list-item:hover, .ab-all-note-item:hover {
    background: var(--ab-color-surface-elevated);
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-medium);
}

.ab-mgt-item-info, .ab-all-note-info { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    flex-grow: 1; 
}

.ab-mgt-item-actions, .ab-all-note-actions { 
    margin-left: 1.5rem; 
    display: flex; 
    gap: 1rem; 
    flex-shrink: 0; 
}

.ab-all-note-main-content { 
    flex-basis: 100%; 
    margin-top: 1.5rem; 
    padding-left: 70px; 
}

.ab-notes-board-filter { 
    display: flex; 
    gap: 1.5rem; 
    align-items: center; 
}

.ab-new-board-controls { 
    display: flex; 
    gap: 1rem; 
}

/* Note Edit WYSIWYG styles */
.ab-note-edit-container { 
    flex-basis: 100%; 
    margin-top: 1.5rem; 
    display: none; 
}

.ab-all-note-item.is-editing .ab-all-note-main-content { display: none; }
.ab-all-note-item.is-editing .ab-note-edit-container { display: block; }

.ab-note-edit-container .wp-editor-wrap { 
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ab-border-radius-small);
}

/* --- Icons --- */
[class^="ab-icon-"] { 
    display: inline-block; 
    width: 1em; 
    height: 1em; 
    background-color: currentColor; 
    -webkit-mask-size: contain; 
    mask-size: contain; 
    -webkit-mask-repeat: no-repeat; 
    mask-repeat: no-repeat; 
    vertical-align: middle;
    transition: all 0.3s var(--ab-transition-smooth);
}

/* Enhanced Audio Player Icons with Better Visual Design */

.ab-icon-play { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.68L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"/></svg>'); 
  }
  
  .ab-icon-pause { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z"/></svg>'); 
  }
  
  .ab-icon-prev { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7 6c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1s-1-.45-1-1V7c0-.55.45-1 1-1zm3.66 6.82l5.77 4.07c.66.47 1.58-.01 1.58-.82V7.93c0-.81-.91-1.28-1.58-.82l-5.77 4.07c-.57.4-.57 1.24 0 1.64z"/></svg>'); 
  }
  
  .ab-icon-next { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7.58 16.89l5.77-4.07c.56-.4.56-1.24 0-1.63L7.58 7.11C6.91 6.65 6 7.12 6 7.93v8.14c0 .81.91 1.28 1.58.82zM16 7v10c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1s-1 .45-1 1z"/></svg>'); 
  }
  
  .ab-icon-time { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zM12 20c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z"/></svg>'); 
  }
  
  .ab-icon-maximize { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 9H5v6h4v-2H7v-2h2V9zm6 0v2h2v2h2V9h-4zm-6 6H7v-2H5v4h4v-2zm6 0v2h-2v2h4v-4h-2z"/></svg>'); 
  }
  
  .ab-icon-minimize { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/></svg>'); 
  }
  
  .ab-icon-shuffle { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z"/></svg>'); 
  }
  
  .ab-icon-sleep { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 2c-1.05 0-2.05.16-3 .46 4.06 1.27 7 5.06 7 9.54 0 4.48-2.94 8.27-7 9.54.95.3 1.95.46 3 .46 5.52 0 10-4.48 10-10S14.52 2 9 2z"/></svg>'); 
  }
  
  .ab-icon-speed { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>'); 
  }
  
  .ab-icon-external { 
    -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 19H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>'); 
  }
/* --- Mobile Optimizations --- */
@media (max-width: 768px) {
    .audiobrain-app { 
        padding: 1rem; 
        margin-bottom: 100px;
    }
    
    .ab-main-nav { 
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .ab-main-nav ul { 
        gap: 0.5rem; 
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .ab-main-nav a { 
        padding: 0.75rem 1rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }
    
    .ab-form-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .ab-form-row { 
        flex-direction: column; 
        gap: 0; 
    }
    
    .ab-form-group {
        min-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .ab-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ab-mgt-header { 
        flex-direction: column; 
        align-items: stretch;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .ab-mgt-list-item, .ab-all-note-item { 
        flex-direction: column; 
        align-items: stretch;
        padding: 1.5rem;
    }
    
    .ab-mgt-item-actions, .ab-all-note-actions { 
        margin-left: 0; 
        margin-top: 1rem;
        justify-content: flex-start;
    }
    
    .ab-notes-board-filter { 
        flex-direction: column; 
        align-items: stretch;
        gap: 1rem;
    }
    
    .ab-all-note-main-content { 
        padding-left: 0; 
        margin-top: 1rem;
    }

    .ab-audio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ab-audio-card-title { 
        font-size: 0.9rem; 
    }
    
    .ab-audio-card-author { 
        font-size: 0.8rem; 
    }
    
    .ab-audio-card-info { 
        padding: 1rem; 
    }
    
    .ab-library-header input[type="search"] {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

   /* Modern Fullscreen Player Mobile */
#ab-persistent-player.fullscreen .ab-player-content { 
    grid-template-columns: 1fr; 
    gap: 3rem;
    padding: 0 2rem 4rem; 
    justify-items: center;
}

.ab-player-left { 
    max-width: 350px; 
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ab-player-tabs { 
    justify-content: center;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ab-player-tab-btn { 
    padding: 0.875rem 1.25rem; 
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ab-mini-player-info { 
    max-width: calc(100vw - 200px);
    overflow: hidden;
}

.ab-player-extra-controls { 
    display: none; 
}

.ab-player-buttons {
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.ab-ctrl-btn {
    font-size: 1.25rem;
    padding: 0.875rem;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ab-ctrl-btn.main {
    font-size: 2rem;
    padding: 1.25rem;
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ab-ctrl-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.ab-ctrl-btn.main:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ab-notes-sidebar {
    max-width: 100%;
    right: -100%;
    border-radius: 24px 0 0 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ab-notes-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ab-notes-content {
    padding: 1.5rem;
    gap: 1rem;
}

.ab-note-item {
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-note-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .audiobrain-app {
        padding: 1rem;
    }
    
    .ab-form-container {
        padding: 1.5rem;
        margin: 0;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .ab-audio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .ab-player-content {
        padding: 0 1.5rem 3rem;
        gap: 2rem;
    }
    
    .ab-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .ab-btn.small {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
        border-radius: 10px;
    }
    
    .ab-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .ab-mini-player-controls {
        gap: 1.25rem;
        align-items: center;
    }
    
    #ab-player-cover-mini {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    #ab-player-title-mini {
        font-size: 0.875rem;
        font-weight: 600;
        line-height: 1.3;
    }
    
    #ab-player-author-mini {
        font-size: 0.8125rem;
        opacity: 0.7;
        line-height: 1.2;
    }
    
    .ab-player-left {
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .ab-player-buttons {
        gap: 1.5rem;
        padding: 0.75rem 0;
    }
    
    .ab-ctrl-btn {
        font-size: 1.125rem;
        padding: 0.75rem;
    }
    
    .ab-ctrl-btn.main {
        font-size: 1.75rem;
        padding: 1rem;
    }
}

/* Enhanced Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--ab-color-primary) 0%, var(--ab-color-secondary) 100%);
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--ab-color-secondary) 0%, var(--ab-color-primary) 100%);
    transform: scale(1.1);
}

/* Modern Selection Styling */
::selection {
    background: rgba(106, 75, 47, 0.25);
    color: var(--ab-color-text);
    text-shadow: none;
}

::-moz-selection {
    background: rgba(106, 75, 47, 0.25);
    color: var(--ab-color-text);
    text-shadow: none;
}

/* Enhanced Focus Outline */
*:focus-visible {
    outline: 2px solid var(--ab-color-primary);
    outline-offset: 3px;
    border-radius: var(--ab-border-radius-small);
    box-shadow: 0 0 0 4px rgba(106, 75, 47, 0.1);
}

/* Smooth Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
}/* End custom CSS */