:root {
    /* Greige Palette & Theme Variables */
    --bg-color: #e8e6e1;            /* Warm sophisticated greige background */
    --bg-gradient-top: #f3f1ec;     /* Subtle light greige gradient top */
    --card-bg: #f9f8f5;            /* Off-white warm porcelain card background */
    --card-bg-subtle: #f0ede6;     /* Secondary nested card background */
    --surface-border: #dcd8cf;     /* Smooth warm border */
    
    --primary: #4a453e;            /* Deep taupe / dark greige charcoal for elegance */
    --primary-hover: #35312b;      /* Hover state deep charcoal */
    --primary-glow: rgba(74, 69, 62, 0.15);
    
    --accent: #8b7355;             /* Warm bronze / refined amber taupe accent */
    --accent-light: #ab9578;
    --accent-glow: rgba(139, 115, 85, 0.25);
    
    --cyan: #8b7355;               /* Remapped to warm bronze accent */
    --blue: #6d6255;               /* Remapped to rich taupe */
    
    --text-color: #2b2823;         /* Deep rich espresso-charcoal text for crisp readability */
    --text-muted: #7d776d;         /* Soft muted warm grey */
    --text-subtle: #9d968b;        /* Subtle secondary text */
    
    --border-color: rgba(60, 50, 40, 0.12);
    --ad-bg: rgba(60, 50, 40, 0.03);
    
    --share-btn-bg: #3c3730;       /* Elegant dark taupe share button */
    --share-btn-color: #f7f5f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-top) 0%, var(--bg-color) 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    overflow-y: auto;
}

/* Ad Places minimized */
.ad-container {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    background: var(--ad-bg);
    border: 1px dashed rgba(60, 50, 40, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto 25px auto;
    padding: 20px 24px;
    border-radius: 26px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 40px rgba(60, 50, 40, 0.08), 0 2px 6px rgba(60, 50, 40, 0.04);
}

/* --- Header --- */
header {
    text-align: center;
    padding: 5px 0 15px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid rgba(139, 115, 85, 0.28);
    border-radius: 999px;
    background: rgba(139, 115, 85, 0.08);
    color: #6b583f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0%,100% { opacity: .6; transform: scale(.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: -1.5px;
    font-weight: 800;
    margin-bottom: 5px;
}

/* --- Brand Logo Styling --- */
.brand-logo {
    text-decoration: none !important;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    color: var(--text-color);
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.brand-logo:hover {
    opacity: 0.85;
}

.logo-main {
    color: var(--text-color);
    letter-spacing: -1.5px;
    font-weight: 800;
}

.logo-accent {
    margin-left: 2px;
    color: #c47d3d;
    background: linear-gradient(135deg, #c47d3d 0%, #8b7355 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Workspace --- */
.workspace {
    display: flex;
    gap: 24px;
    margin-top: 15px;
    align-items: stretch;
}

.left-panel {
    flex: 1.3;
    min-width: 0;
}

.right-panel {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.url-section {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.url-input {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    color: var(--text-color);
    padding: 12px 16px; 
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(60, 50, 40, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.url-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
}

.btn-load {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), #38342e);
    border: none;
    color: #f7f5f0;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(60, 50, 40, 0.15);
}

.btn-load:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(60, 50, 40, 0.22);
}

.players-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #181715;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: 0 12px 28px rgba(60, 50, 40, 0.12);
}

#player-left {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Controls */
.controls-section {
    background: var(--card-bg-subtle);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid var(--surface-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.btn-control {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.2s;
    white-space: nowrap;
    user-select: none;
}

.btn-control:active:not(:disabled) {
    transform: translateY(2px) scale(0.97);
    box-shadow: 0 1px 3px rgba(60, 50, 40, 0.15);
}

.btn-sync svg {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sync:hover svg {
    transform: rotate(180deg);
}

.btn-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.btn-play-all {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--surface-border);
    box-shadow: 0 2px 5px rgba(60, 50, 40, 0.08);
}

.btn-play-all:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(60, 50, 40, 0.12);
    border-color: var(--accent-light);
}

.btn-play-all:disabled {
    background: #e2dfd8;
    color: #9d968b;
    border-color: transparent;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-sync {
    background: linear-gradient(135deg, #c47d3d, #ab5d2f);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(171, 93, 47, 0.25);
}

.btn-sync:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(171, 93, 47, 0.35);
}

/* Refined Greige Standout Share Button */
.btn-share {
    background: linear-gradient(135deg, var(--accent), #6d583e);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-share:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(139, 115, 85, 0.4);
}

/* Delay Controls */
.delay-control-group {
    border-top: 1px solid var(--surface-border);
    padding-top: 20px;
}

.delay-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.delay-inputs-active-box {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    visibility: visible;
}

.delay-input-container {
    position: relative;
    width: 100%;
}

.delay-input-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: monospace;
    outline: none;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.delay-input-box:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
}

.delay-input-box.error-state {
    border-color: #d9534f !important;
    box-shadow: 0 0 8px rgba(217, 83, 79, 0.35);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.delay-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #d8d4cb;
    outline: none;
}

.delay-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: linear-gradient(135deg, var(--accent), #5c4e3e);
    box-shadow: 0 2px 6px rgba(60, 50, 40, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.delay-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Sub-player styling inside side controls section */
.right-channel-player-container {
    margin: 15px auto 0 auto;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 180px;
    background: #181715;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 14px rgba(60, 50, 40, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#player-right {
    width: 100%;
    height: 100%;
}

/* Recommendations Section */
.recommend-outer-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(60, 50, 40, 0.06);
    display: none; /* hidden by default */
}

.recommend-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.recommend-outer-container.expanded .recommend-list {
    max-height: 620px;
}

.recommend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--surface-border);
}

.recommend-item:hover {
    background: #fdfcfb;
    border-color: var(--accent-light);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(60, 50, 40, 0.08);
}

.btn-expand-results {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    transition: color 0.2s;
    font-family: inherit;
}

.btn-expand-results:hover {
    color: var(--primary);
}

.recommend-item span.music-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.recommend-item-info {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.recommend-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
}

.recommend-item-genre {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Help & Modal Links */
.help-trigger-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-help {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    transition: color 0.2s;
}

.btn-help:hover {
    color: var(--primary);
}

/* --- POPUP (MODAL) - 軽量・即時表示チューニング --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 25, 22, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    line-height: 1.6;
    box-shadow: 0 20px 50px rgba(43, 40, 35, 0.2);
}

.modal-content h2 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-content p, .modal-content li {
    font-size: 0.9rem;
    color: #4f4a42;
    margin-bottom: 12px;
}

.modal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close-modal:hover {
    color: var(--text-color);
}

.creator-profile-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 15px 0 20px 0;
    padding: 16px;
    background: rgba(139, 115, 85, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(139, 115, 85, 0.15);
}

.creator-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(60, 50, 40, 0.15);
}

.creator-info h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.creator-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.creator-patent {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.creator-quote {
    font-style: italic;
    background: #ffffff;
    border-left: 3px solid var(--accent);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin: 15px 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #3b3730;
    box-shadow: 0 2px 8px rgba(60, 50, 40, 0.04);
}

.creator-links {
    display: flex;
    gap: 15px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.creator-link-item {
    font-size: 0.82rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.creator-link-item:hover {
    color: var(--primary);
    text-decoration: underline;
}



/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    color: var(--text-color);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit-contact {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), #35312b);
    border: none;
    color: #f7f5f0;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(60, 50, 40, 0.15);
}

.btn-submit-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(60, 50, 40, 0.25);
}



footer {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(60, 50, 40, 0.08);
    font-size: 0.75rem;
    color: var(--text-muted);
}

footer button.btn-footer-link {
    background: none;
    border: none;
    color: var(--accent);
    text-decoration: underline;
    margin: 0 10px;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: inherit;
    transition: color 0.2s;
}

footer button.btn-footer-link:hover {
    color: var(--primary);
}

.footer-support-container {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-links-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-support {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: #8b6834;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 18px;
    border: 1px dashed rgba(139, 104, 52, 0.4);
    border-radius: 10px;
    background-color: rgba(139, 104, 52, 0.04);
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    text-align: center;
    margin-top: 5px;
}

.btn-support:hover {
    background-color: rgba(139, 104, 52, 0.09);
    border-color: #8b6834;
    transform: translateY(-1px);
}

.support-main-text {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.support-sub-text {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: normal;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    .workspace {
        flex-direction: column;
    }
    .right-panel {
        margin-top: 15px;
    }
    .recommend-item-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .recommend-item-genre {
        font-size: 0.65rem;
    }
}

.patent-faint {
    color: rgba(60, 50, 40, 0.35);
    font-size: 0.72rem;
    margin-left: 8px;
    font-weight: normal;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: color 0.2s ease;
}
.patent-faint:hover {
    color: rgba(60, 50, 40, 0.65);
}

/* iOS Mobile Warning layout */
.mobile-ios-warning {
    display: none;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 30px 24px;
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(60, 50, 40, 0.1);
}

.warning-card h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.btn-copy-pc {
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), #35312b);
    border: none;
    color: #f7f5f0;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(60, 50, 40, 0.15);
}

.btn-copy-pc:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(60, 50, 40, 0.25);
}

/* Toggle displays for Mobile user agents */
body.is-mobile .workspace {
    display: none !important;
}
body.is-mobile .recommend-outer-container {
    display: none !important;
}
body.is-mobile .mobile-ios-warning {
    display: block !important;
}

/* ========================================================
   REMIX8D PREMIUM VISUAL ENHANCEMENTS
   ======================================================== */

/* 1. Spatial Ambient Glow on Both Players (適度で心地よいオーディオ光彩) */
@keyframes ambientSpatialGlowMain {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(60, 50, 40, 0.14), 0 0 20px rgba(196, 125, 61, 0.28), 0 0 40px rgba(180, 115, 50, 0.15);
        border-color: rgba(196, 125, 61, 0.5);
    }
    50% {
        box-shadow: 0 16px 38px rgba(60, 50, 40, 0.18), 0 0 38px rgba(214, 142, 68, 0.55), 0 0 65px rgba(196, 125, 55, 0.28);
        border-color: rgba(214, 142, 68, 0.85);
    }
}

@keyframes ambientSpatialGlowSub {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(60, 50, 40, 0.12), 0 0 16px rgba(196, 125, 61, 0.25);
        border-color: rgba(196, 125, 61, 0.45);
    }
    50% {
        box-shadow: 0 6px 20px rgba(60, 50, 40, 0.16), 0 0 28px rgba(214, 142, 68, 0.5);
        border-color: rgba(214, 142, 68, 0.8);
    }
}

/* 親画面 (Main Player) */
.players-wrapper {
    animation: ambientSpatialGlowMain 3.2s ease-in-out infinite !important;
}

/* 子画面 (Sub Player / 右チャンネル) */
.right-channel-player-container {
    animation: ambientSpatialGlowSub 3.2s ease-in-out infinite !important;
}

/* 2. Tactile Slider (Metallic Knurled Knob Effect) */
.delay-slider {
    height: 8px !important;
    background: linear-gradient(90deg, #d3cec4, #e2ded5) !important;
    box-shadow: inset 0 1px 3px rgba(60, 50, 40, 0.25) !important;
}

.delay-slider::-webkit-slider-thumb {
    width: 24px !important;
    height: 24px !important;
    border: 2.5px solid #ffffff !important;
    background: radial-gradient(circle at 35% 35%, #cfa87c, #8b7355 60%, #4a3e30 100%) !important;
    box-shadow: 0 3px 10px rgba(60, 50, 40, 0.35), 0 0 0 1px rgba(139, 115, 85, 0.3) !important;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease !important;
}

.delay-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 6px 16px rgba(60, 50, 40, 0.4), 0 0 0 5px rgba(196, 125, 61, 0.25) !important;
}

.delay-slider::-webkit-slider-thumb:active {
    transform: scale(1.1) !important;
    box-shadow: 0 2px 8px rgba(60, 50, 40, 0.45), 0 0 0 8px rgba(196, 125, 61, 0.3) !important;
}

/* 3. Button Micro-interactions & Specular Highlight */
.btn-control {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease, filter 0.15s ease !important;
}

.btn-control::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 45% !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%) !important;
    pointer-events: none !important;
    border-radius: 9px 9px 0 0 !important;
}

.btn-control:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    filter: brightness(1.05) !important;
}

.btn-control:active:not(:disabled) {
    transform: translateY(2px) scale(0.96) !important;
    box-shadow: 0 1px 3px rgba(60, 50, 40, 0.2) !important;
}

/* 4. Recommendation Search Dropdown Animations */
.recommend-outer-container {
    animation: recommendFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes recommendFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommend-item {
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.recommend-item:hover {
    background: linear-gradient(90deg, #ffffff 0%, #fbf9f5 100%) !important;
    border-color: #ab9578 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 14px rgba(60, 50, 40, 0.10) !important;
}
