/* ==================== TEMA CLARO (areia, marfim, terracota, cobre) ====================
   Pacote visual do Felipe (2026-11-26). Camada separada: tudo aqui vale só com <html class="tema-claro">,
   que o js/tema.js liga por padrão. O botão "Tema escuro" tira a classe e o app volta ao visual anterior.
   Desfazer o tema inteiro: tirar este arquivo e o tema.js das páginas. */

html.tema-claro {
    color-scheme: light;
    --bg-primary: #f4efe5;
    --bg-secondary: #f8f3ea;
    --bg-tertiary: #f5f0e5;
    --bg-hover: #efe5d6;
    --bg-active: #f3dfcd;
    --bg-surface: #fffdf6;

    --text-primary: #302a26;
    --text-secondary: #5e534b;
    --text-muted: #6f645b;

    --accent-primary: #a94f32;
    --accent-secondary: #8e3f26;
    --accent-cyan: #a94f32;
    --accent-blue: #a94f32;
    --accent-yellow: #a2572b;
    --accent-copper: #a2572b;
    --accent-peach: #f3dfcd;

    --border-color: #decdbd;
    --border-light: #e8dccd;

    --shadow-soft: 0 1px 2px rgba(80, 52, 30, 0.06), 0 6px 18px rgba(80, 52, 30, 0.07);
    --shadow-pop: 0 10px 30px rgba(80, 52, 30, 0.16);
    --font-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', 'HM Serif', Georgia, 'DejaVu Serif', serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
}

html.tema-claro body {
    background: #f4efe5;
    background-image: radial-gradient(1200px 500px at 85% -10%, #fbf3e6 0%, rgba(251, 243, 230, 0) 70%),
                      linear-gradient(180deg, #f6f1e7 0%, #f2ece1 100%);
    color: var(--text-primary);
}

/* textura e foco ------------------------------------------------------------------------- */
html.tema-claro ::selection { background: #f3dfcd; color: #302a26; }
html.tema-claro :focus-visible { outline: 2px solid #a94f32; outline-offset: 2px; }
html.tema-claro ::-webkit-scrollbar { width: 10px; height: 10px; }
html.tema-claro ::-webkit-scrollbar-track { background: transparent; }
html.tema-claro ::-webkit-scrollbar-thumb { background: #d9c8b6; border-radius: 8px; border: 2px solid #f4efe5; }
html.tema-claro ::-webkit-scrollbar-thumb:hover { background: #c7ad95; }

/* ==================== LATERAL ==================== */
html.tema-claro .sidebar {
    background: linear-gradient(180deg, #faf6ee 0%, #f6f0e5 100%);
    border-right: 1px solid #e6d8c8;
}
html.tema-claro .sidebar-header { border-bottom: 1px solid #ebdfd0; }
html.tema-claro .logo-text,
html.tema-claro .mobile-logo span { color: #a94f32; font-weight: 700; letter-spacing: 0; }
html.tema-claro .logo-icon,
html.tema-claro .mobile-logo svg { filter: sepia(1) saturate(3.2) hue-rotate(-28deg) brightness(0.78); }
html.tema-claro .sidebar-toggle,
html.tema-claro .mobile-menu-btn { color: #5e534b; }
html.tema-claro .nav-section-title { color: #6f645b; font-weight: 700; letter-spacing: .06em; }
html.tema-claro .nav-item { color: #3f3631; border-radius: 10px; margin: 1px 10px; padding-left: 12px; padding-right: 12px; }
html.tema-claro .nav-item i { color: #8a5a3e; }
html.tema-claro .nav-item:hover { background: #f1e6d7; color: #302a26; }
html.tema-claro .nav-item.active { background: #f3dfcd; color: #8e3f26; font-weight: 600; }
html.tema-claro .nav-item .badge { background: #efe2d2; color: #6b4a36; }
html.tema-claro .project-item:hover { background: #f1e6d7; }
html.tema-claro .project-item.active { background: #f3dfcd; color: #8e3f26; font-weight: 600; }
html.tema-claro .project-icon { color: #a2572b; background: #f6ebdd; }
html.tema-claro .project-item:hover .project-icon,
html.tema-claro .project-item.active .project-icon { color: #a94f32; background: #fffaf2; }
html.tema-claro .project-count { background: #fffaf2; color: #6b4a36; border: 1px solid #ead9c6; }
html.tema-claro .project-menu-btn:hover,
html.tema-claro .setlist-item .setlist-menu-btn:hover { background: #efe2d2; }
html.tema-claro .sidebar-footer,
html.tema-claro .user-info { border-top: 1px solid #e6d8c8; }
html.tema-claro .user-avatar { background: linear-gradient(135deg, #b9603f, #8e3f26); color: #fff; }
html.tema-claro .user-name { color: #a94f32; font-weight: 700; }
html.tema-claro .sidebar-overlay { background: rgba(48, 42, 38, 0.35); }

/* botão do tema */
.tema-botao { display: flex; align-items: center; gap: 12px; width: calc(100% - 20px); margin: 4px 10px; padding: 9px 12px;
    background: none; border: 1px solid transparent; border-radius: 10px; color: var(--text-secondary); font: inherit; font-size: 13.5px; cursor: pointer; text-align: left; }
.tema-botao i { width: 20px; text-align: center; }
.tema-botao:hover { background: var(--bg-hover); color: var(--text-primary); }
.sidebar.collapsed .tema-botao span { display: none; }
.sidebar.collapsed .tema-botao { justify-content: center; }

/* ==================== ÁREA PRINCIPAL ==================== */
html.tema-claro .main-content { background: transparent; position: relative; }
html.tema-claro .main-content::before {
    content: ''; position: absolute; top: 0; right: 0; width: min(62%, 760px); height: 128px; z-index: 0; pointer-events: none;
    background: url('../img/tema-violao.jpg') right top / auto 128px no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
    opacity: .9;
}
html.tema-claro .page { position: relative; z-index: 1; }
html.tema-claro .page-header h1,
html.tema-claro .page-title,
html.tema-claro .artist-name,
html.tema-claro .album-header h1,
html.tema-claro .album-title,
html.tema-claro .setlist-title,
html.tema-claro .modal-header h3 { font-family: var(--font-serif); color: #302a26; letter-spacing: -0.005em; }
html.tema-claro .page-header h1 { font-weight: 700; }
html.tema-claro .meta-badge { color: #4b413a; }
html.tema-claro .meta-badge i { color: #a2572b; }

/* botões */
html.tema-claro .btn-primary { background: #a94f32; color: #fffdf6; box-shadow: 0 2px 6px rgba(169, 79, 50, .25); }
html.tema-claro .btn-primary:hover { background: #8e3f26; }
html.tema-claro .btn-primary:disabled,
html.tema-claro button:disabled { opacity: .55; cursor: not-allowed; }
html.tema-claro .btn-secondary { background: #fffdf6; color: #3f3631; border-color: #decdbd; }
html.tema-claro .btn-secondary:hover { background: #f6ede1; border-color: #cdb49d; }
html.tema-claro .btn-icon { color: #5e534b; }
html.tema-claro .btn-icon:hover { background: #f1e6d7; color: #302a26; }
html.tema-claro .btn-small { background: #fffdf6; color: #3f3631; border: 1px solid #decdbd; }
html.tema-claro .btn-small:hover { background: #f6ede1; }
html.tema-claro .btn-small.active { background: #a94f32; color: #fff; border-color: #a94f32; }
html.tema-claro .btn-back { color: #5e534b; }
html.tema-claro .btn-reset-link { color: #6f645b; }
html.tema-claro .btn-reset-link:hover { color: #a94f32; }

/* campos */
html.tema-claro input[type="text"], html.tema-claro input[type="search"], html.tema-claro input[type="number"],
html.tema-claro input[type="password"], html.tema-claro input[type="url"], html.tema-claro input[type="email"],
html.tema-claro input:not([type]), html.tema-claro select, html.tema-claro textarea {
    background-color: #fffdf6; color: #302a26; border-color: #decdbd;
}
html.tema-claro input::placeholder, html.tema-claro textarea::placeholder { color: #8a7d72; }
html.tema-claro input:focus, html.tema-claro select:focus, html.tema-claro textarea:focus { border-color: #a94f32; box-shadow: 0 0 0 3px rgba(169, 79, 50, .12); }
html.tema-claro input[type="range"] { accent-color: #a94f32; }
html.tema-claro input[type="checkbox"], html.tema-claro input[type="radio"] { accent-color: #a94f32; }

/* busca do topo */
html.tema-claro .search-box, html.tema-claro .search-container { background: #fffdf6; border-color: #decdbd; }
html.tema-claro .search-clear:hover { color: #a94f32; }
html.tema-claro .search-results { background: #fffdf6; border: 1px solid #decdbd; box-shadow: var(--shadow-pop); }
html.tema-claro .search-results::-webkit-scrollbar-thumb { background: #d9c8b6; }
html.tema-claro .search-category { color: #8a5a3e; }
html.tema-claro .search-result-item:hover { background: #f6ede1; }
html.tema-claro .search-result-img, html.tema-claro .search-result-icon { background: #f1e6d7; color: #a2572b; }
html.tema-claro .search-result-title { color: #302a26; }
html.tema-claro .search-result-sub, html.tema-claro .search-no-results { color: #6f645b; }

/* ==================== BIBLIOTECA ==================== */
html.tema-claro .artist-header { border-bottom: 1px solid #e6d8c8; }
html.tema-claro .artist-header i, html.tema-claro .artist-name i { color: #a2572b; }
html.tema-claro .artist-count { color: #6f645b; }
html.tema-claro .album-card { background: #fffdf6; border: 1px solid #ecdfd0; box-shadow: var(--shadow-soft); }
html.tema-claro .album-card:hover { background: #fffaf1; border-color: #dcc4ad; box-shadow: 0 10px 24px rgba(80, 52, 30, .13); }
html.tema-claro .album-card img, html.tema-claro .album-cover { box-shadow: 0 4px 12px rgba(60, 40, 25, .18); }
html.tema-claro .album-card .album-name, html.tema-claro .album-card h4, html.tema-claro .album-card-title { color: #302a26; }
html.tema-claro .album-card .album-year, html.tema-claro .album-card p, html.tema-claro .album-card-meta { color: #6f645b; }
html.tema-claro .btn-download-album, html.tema-claro .btn-fetch-albums {
    background: #fffdf6 !important; color: #a94f32 !important; border: 1px solid #d8b8a2 !important; box-shadow: none !important;
}
html.tema-claro .btn-download-album:hover, html.tema-claro .btn-fetch-albums:hover { background: #f6e6d8 !important; }
html.tema-claro .btn-delete-artist, html.tema-claro .btn-delete-album { color: #9b3b2b; }
html.tema-claro .btn-add-album { background: #fbf6ee; border-color: #decdbd; color: #8a5a3e; }

/* ==================== ÁLBUM / TABELAS ==================== */
html.tema-claro .album-header, html.tema-claro .album-hero { background: transparent; }
html.tema-claro .tracks-table, html.tema-claro .tracks-container, html.tema-claro .tracks-list {
    background: #fffdf6; border-color: #ecdfd0;
}
html.tema-claro .tracks-table thead th, html.tema-claro .tracks-header, html.tema-claro .track-list-header {
    background: #faf4ea; color: #6b4a36; border-bottom: 1px solid #e6d8c8; font-weight: 700;
}
html.tema-claro .track-row { border-bottom: 1px solid #f0e5d8; color: #302a26; }
html.tema-claro .track-row:hover { background: #fbf2e6; }
html.tema-claro .track-row.selected, html.tema-claro .track-row.active, html.tema-claro .track-row.playing { background: #f3dfcd; }
html.tema-claro .track-row .track-thumb { box-shadow: 0 2px 8px rgba(60, 40, 25, .2); }
html.tema-claro .track-row.drag-over-top { border-top: 2px solid #a94f32; }
html.tema-claro .track-row.drag-over-bottom { border-bottom: 2px solid #a94f32; }
html.tema-claro .drag-clone { border: 1px solid #a94f32; box-shadow: var(--shadow-pop); background: #fffdf6; }
html.tema-claro .track-menu-btn:hover { background: #f1e6d7; }
html.tema-claro .cifra-badge.has { background: #f6ebdd; color: #8a4a2a; border-color: #e3c9b2; }
html.tema-claro .cifra-badge.missing { background: #faf6ee; color: #8a7d72; }
html.tema-claro .cifra-badge.missing:hover { background: #f3dfcd; color: #a94f32; }
html.tema-claro .status-badge.processing { background: #fbefd9; color: #8a5a12; }
html.tema-claro .status-badge.separated { background: #eaf0e3; color: #4c5f33; }
html.tema-claro .pagination-btn.active { color: #fff; background: #a94f32; }
html.tema-claro .bpm-popup, html.tema-claro .key-popup, html.tema-claro .context-menu, html.tema-claro .project-menu {
    background: #fffdf6; border: 1px solid #decdbd; box-shadow: var(--shadow-pop); color: #302a26;
}
html.tema-claro .context-menu-item:hover, html.tema-claro .project-menu-item:hover { background: #f6ede1; }
html.tema-claro .context-menu-item.danger, html.tema-claro .context-menu-item.danger i { color: #9b3b2b; }
html.tema-claro .project-menu-item.danger:hover { background: #f7e1da; color: #9b3b2b; }

/* ==================== SETLIST ==================== */
html.tema-claro .setlist-description { background: #fffdf6; border: 1px solid #ecdfd0; color: #4b413a; }
html.tema-claro .setlist-headrush { background: #fffdf6; border-color: #ecdfd0; }
html.tema-claro .setlist-headrush .hr-status.ok { color: #4c6b2f; }
html.tema-claro .setlist-headrush .hr-avisos,
html.tema-claro .setlist-headrush .hr-status.aviso { color: #8a5a12; }
html.tema-claro .setlist-headrush .hr-status.erro { color: #9b3b2b; }
html.tema-claro .setlist-headrush .hr-status.pendente { color: #6b4a36; }
html.tema-claro .hr-rig .hr-rig-name { background: #f6ebdd; color: #6b4a36; }
html.tema-claro .hr-rig.manual .hr-rig-name { background: #f3dfcd; color: #8e3f26; }
html.tema-claro .hr-rig .hr-rig-tag { background: #efe9e1; color: #5e534b; }
html.tema-claro .hr-rig.ausente .hr-rig-tag:last-child { background: #f9e2da; color: #9b3b2b; }
html.tema-claro .setlist-select-item.selected, html.tema-claro .icon-option.active { background: #f3dfcd; }

/* ==================== PLAYER (faixas, cifra, transporte) ==================== */
html.tema-claro .tracks-controls-column, html.tema-claro .stems-controls-list { background: #fbf7f0; border-right: 1px solid #e6d8c8; }
html.tema-claro .timeline-header, html.tema-claro .stems-footer, html.tema-claro .timeline-ruler {
    background: #f8f2e8; border-color: #e6d8c8; color: #6f645b;
}
html.tema-claro .stems-controls-list::-webkit-scrollbar-track { background: #f4efe5; }
html.tema-claro .waveforms-container { background: #fffdf6; }
html.tema-claro .playhead { background: #a94f32; box-shadow: 0 0 6px rgba(169, 79, 50, .35); }
html.tema-claro .playhead::before { background: #a94f32; box-shadow: 0 2px 6px rgba(60, 40, 25, .3); }
html.tema-claro .stem-control-row { border-bottom: 1px solid #efe4d6; }
html.tema-claro .stem-control-row:hover { background: #fbf2e6; }
html.tema-claro .stem-waveform-row { border-bottom: 1px solid #f1e8dc; }
html.tema-claro .stem-btn { background: #f1e6d7; color: #5e534b; }
html.tema-claro .stem-btn:hover { background: #e9d8c4; color: #302a26; }
html.tema-claro .stem-btn.mute-btn.active { background: #a94f32; color: #fff; }
html.tema-claro .stem-btn.solo-btn.active { background: #d9a441; color: #302a26; }
html.tema-claro .stem-name { color: #302a26; }
html.tema-claro .stem-vol-label { color: #6f645b; }
html.tema-claro .stem-volume-track { background: #eadccb; }
html.tema-claro .stem-volume-track .volume-slider::-webkit-slider-thumb { background: #a94f32; box-shadow: 0 1px 4px rgba(60, 40, 25, .35); }
html.tema-claro .stem-volume-track .volume-slider::-moz-range-thumb { background: #a94f32; box-shadow: 0 1px 4px rgba(60, 40, 25, .35); }

html.tema-claro .editor-footer, html.tema-claro .player-bar, html.tema-claro .player-footer {
    background: linear-gradient(180deg, #fffdf6 0%, #f8f2e8 100%); border-top: 1px solid #e6d8c8; box-shadow: 0 -6px 20px rgba(80, 52, 30, .06);
}
html.tema-claro .player-controls .btn-icon { color: #5e534b; }
html.tema-claro .player-controls .btn-icon:hover { color: #302a26; background: #f1e6d7; }
html.tema-claro .btn-play { background: #a94f32 !important; color: #fff !important; box-shadow: 0 4px 12px rgba(169, 79, 50, .3); }
html.tema-claro .btn-play:hover { background: #8e3f26 !important; box-shadow: 0 6px 16px rgba(169, 79, 50, .35); }
html.tema-claro .master-volume-control { border-right: 1px solid #e6d8c8; }
html.tema-claro .master-volume-slider, html.tema-claro .timeline-slider { background: #eadccb; }
html.tema-claro .master-volume-slider::-webkit-slider-thumb { background: #a94f32; }
html.tema-claro .master-volume-slider::-moz-range-thumb { background: #a94f32; }
html.tema-claro .timeline-slider::-webkit-slider-thumb { background: #a94f32; box-shadow: 0 2px 4px rgba(60, 40, 25, .3); }
html.tema-claro .master-volume-label, html.tema-claro .time-current, html.tema-claro .time-total { color: #6f645b; }
html.tema-claro .chord-display { background: #f6ebdd; border: 1px solid #e3c9b2; }
html.tema-claro .chord-label { color: #6f645b; }
html.tema-claro .chord-current { color: #a2572b; }

/* cifra no player (painel lateral e área) */
html.tema-claro .cifra-side-panel { background: #fffdf6; border-left: 1px solid #e6d8c8; }
html.tema-claro .cifra-side-header { background: #faf4ea; border-bottom: 1px solid #e6d8c8; color: #4b413a; }
html.tema-claro .cifra-side-close { color: #6f645b; }
html.tema-claro .cifra-side-close:hover { color: #a94f32; }
html.tema-claro .cifra-side-content { color: #302a26; }
html.tema-claro .cifra-side-content::-webkit-scrollbar-thumb { background: #d9c8b6; }
html.tema-claro .cifra-side-tom, html.tema-claro .cifra-side-transpose { color: #6f645b; border-bottom: 1px solid #efe4d6; }
html.tema-claro .cifra-side-tom strong { color: #a2572b; }
html.tema-claro .cifra-transpose-btn { border: 1px solid #decdbd; background: #fffdf6; color: #4b413a; }
html.tema-claro .cifra-transpose-btn:hover { border-color: #a94f32; color: #a94f32; }
html.tema-claro .cifra-transpose-label, html.tema-claro .cifra-transpose-value { color: #6f645b; }
html.tema-claro .cifra-side-content .cifra-section, html.tema-claro .cifra-line.section { color: #6b4a36; background: #f6ebdd; }
html.tema-claro .cifra-side-content .cifra-chord-line, html.tema-claro .cifra-line.chord { color: #a2572b; font-weight: 700; }
html.tema-claro .cifra-side-content .cifra-lyric-line { color: #302a26; }
html.tema-claro .cifra-side-content .cifra-active-line { background: #f3dfcd; border-left: 2px solid #a94f32; }
html.tema-claro .cifra-area { background: #fffdf6; border-top: 1px solid #e6d8c8; }
html.tema-claro .cifra-header { background: #faf4ea; border-bottom: 1px solid #e6d8c8; }
html.tema-claro .cifra-header h3 { color: #302a26; }
html.tema-claro .cifra-empty { color: #8a7d72; }
html.tema-claro .cifra-line.current { background: #f3dfcd; border-left: 3px solid #a94f32; }
html.tema-claro .cifra-line.synced:hover { background: #fbf2e6; }
html.tema-claro .cifra-area.sync-mode .cifra-header { background: #a94f32; color: #fff; }
html.tema-claro .cifra-area.sync-mode .cifra-line.next-to-sync { background: #fbe7c8; border-left: 3px solid #d9a441; }
html.tema-claro .btn-timbre-lava { background: #fffdf6; border-color: #decdbd; color: #3f3631; }

/* ==================== JANELAS, AVISOS, CARREGANDO ==================== */
html.tema-claro .modal-overlay { background-color: rgba(48, 42, 38, .45); }
html.tema-claro .modal-content { background: #fffdf6; border: 1px solid #e6d8c8; box-shadow: var(--shadow-pop); color: #302a26; }
html.tema-claro .modal-header { border-bottom-color: #ecdfd0; }
html.tema-claro .modal-close { color: #6f645b; }
html.tema-claro .modal-close:hover { color: #a94f32; }
html.tema-claro .modal-actions { border-top-color: #ecdfd0; }
html.tema-claro .toast { background: #fffdf6; color: #302a26; border: 1px solid #e6d8c8; box-shadow: var(--shadow-pop); }
html.tema-claro .toast.error { border-left: 4px solid #9b3b2b; }
html.tema-claro .toast.error i { color: #9b3b2b; }
html.tema-claro .loading-overlay { background: rgba(244, 239, 229, .94); color: #302a26; }
html.tema-claro .loading-header-compact h3 { color: #302a26; }
html.tema-claro .reset-btn:hover { color: #a94f32; }
html.tema-claro .upload-dropzone { background: #fffdf6; border-color: #d8c3ae; }
html.tema-claro .upload-dropzone.dragover { background: #f6ebdd; }

/* ==================== YOUTUBE / DOWNLOADS: o vermelho vira terracota ==================== */
html.tema-claro .youtube-audio-btn, html.tema-claro .yt-search-btn, html.tema-claro .yt-download-btn,
html.tema-claro .yt-result-actions .download-btn, html.tema-claro .yt-progress-fill { background: #a94f32; color: #fff; }
html.tema-claro .youtube-audio-btn:hover, html.tema-claro .yt-search-btn:hover, html.tema-claro .yt-download-btn:hover:not(:disabled),
html.tema-claro .yt-result-actions .download-btn:hover, html.tema-claro .yt-result-actions button:hover { background: #8e3f26; color: #fff; }
html.tema-claro .yt-download-header, html.tema-claro .yt-tab.active, html.tema-claro .youtube-url-modal .modal-header h3 i { color: #a94f32; }
html.tema-claro .yt-result-item.selected { background: #f3dfcd; border-color: #a94f32; }
html.tema-claro .yt-search-box input:focus, html.tema-claro .yt-form-group input:focus, html.tema-claro .youtube-url-input:focus { border-color: #a94f32; box-shadow: 0 0 0 3px rgba(169, 79, 50, .12); }
html.tema-claro .youtube-play-btn { color: #6f645b; }
html.tema-claro .youtube-play-btn:hover { color: #a94f32; }
html.tema-claro .youtube-miniplayer { box-shadow: var(--shadow-pop); }

/* ==================== CELULAR ==================== */
html.tema-claro .mobile-header { background: rgba(250, 246, 238, .96); border-bottom: 1px solid #e6d8c8; }
html.tema-claro .mobile-bottom-nav { background: rgba(250, 246, 238, .97); border-top: 1px solid #e6d8c8; }
html.tema-claro .mobile-nav-tab { color: #6f645b; }
html.tema-claro .mobile-nav-tab.active { color: #a94f32; }
@media (max-width: 768px) {
    html.tema-claro .main-content::before { width: 70%; height: 96px; background-size: auto 96px; opacity: .55; }
}

/* ==================== CORES ESCRITAS DIRETO NO HTML/JS (style="...") ==================== */
html.tema-claro #lg stop:first-child, html.tema-claro #mlg stop:first-child { stop-color: #d9895f !important; }
html.tema-claro #lg stop:last-child, html.tema-claro #mlg stop:last-child { stop-color: #a94f32 !important; }
html.tema-claro .logo-icon circle, html.tema-claro .mobile-logo circle { stroke: #a94f32; fill-opacity: 1; }
html.tema-claro .logo-icon circle[fill="#1e40af"], html.tema-claro .mobile-logo circle[fill="#1e40af"] { fill: #a94f32; }
html.tema-claro #userBadge { border-top: 1px solid #e6d8c8 !important; }
html.tema-claro #userBadge > div:first-child > div:first-child { color: #a94f32 !important; }
html.tema-claro #userBadge > div:first-child > div:last-child { color: #6f645b !important; }
html.tema-claro #userBadge a, html.tema-claro #userBadge button { background: #fffdf6 !important; border: 1px solid #decdbd !important; color: #4b413a !important; }
html.tema-claro #userBadge a:hover, html.tema-claro #userBadge button:hover { background: #f3dfcd !important; }
html.tema-claro .btn-download-artist { background: #fffdf6 !important; color: #a94f32 !important; border: 1px solid #d8b8a2 !important; }
html.tema-claro .btn-download-artist:hover { background: #f6e6d8 !important; }
html.tema-claro #page-tools a[href="/queue.html"] { background: #a94f32 !important; }
html.tema-claro #page-tools a[href="/lava/"] { background: #fffdf6 !important; color: #302a26 !important; border-color: #decdbd !important; }
html.tema-claro #page-tools a[href="/lava/"] i { color: #a2572b !important; }
html.tema-claro #cifraTranspose { background: #faf4ea !important; border-bottom: 1px solid #e6d8c8 !important; }
html.tema-claro #cifraTranspose span { color: #5e534b !important; }
html.tema-claro .dsc-lib-option { background: #fffdf6 !important; border-color: #decdbd !important; color: #302a26 !important; }
html.tema-claro .dsc-lib-option span[style*="#60a5fa"] { color: #a94f32 !important; }
html.tema-claro [style*="color:#aaa"] strong[style*="color:#fff"] { color: #302a26 !important; }
html.tema-claro [style*="color:#aaa;font-size:14px"] { color: #5e534b !important; }
html.tema-claro div[style*="background:#333"] { background: #eadccb !important; }
html.tema-claro #ytProgressBar { background: #a94f32 !important; }
html.tema-claro span[style="color:#60a5fa"] { color: #4c6b2f !important; }
html.tema-claro span[style="color:#e74c3c"] { color: #9b3b2b !important; }
html.tema-claro .fa-circle-notch[style*="#2563eb"] { color: #a94f32 !important; }
html.tema-claro .track-imported { border-left-color: #c58a5e; }

/* ==================== FERRAMENTAS, IMPORTAÇÃO, DESCOBERTA ==================== */
html.tema-claro #page-tools { padding-top: 20px; }
html.tema-claro .stat-card { background: #fffdf6; border-color: #ecdfd0; box-shadow: var(--shadow-soft); }
html.tema-claro .stat-card.accent { border-color: #d8b8a2; background: #fbf0e5; }
html.tema-claro .stat-card.accent .stat-value { color: #a94f32; }
html.tema-claro .stat-value { font-family: var(--font-serif); }
html.tema-claro .yt-tab.active { color: #a94f32; border-bottom-color: #a94f32; }
html.tema-claro .yt-download-btn { background: #a94f32 !important; color: #fff; }
html.tema-claro .yt-download-btn:hover:not(:disabled) { background: #8e3f26 !important; }
html.tema-claro .yt-download-btn:disabled { background: #e7d9ca !important; color: #7a6c61 !important; opacity: 1; }
html.tema-claro .yt-result-play { background: rgba(48, 42, 38, .65); }
html.tema-claro .yt-result-play:hover, html.tema-claro .yt-preview-play, html.tema-claro .yt-preview-bar { background: #a94f32; }
html.tema-claro .track-number-play .yt-icon { color: #a94f32; }
html.tema-claro .track-row.importing::after, html.tema-claro .album-batch-fill, html.tema-claro .album-progress-bar { background: linear-gradient(90deg, #c27a4f, #a94f32); }
html.tema-claro .track-row.import-done::after { background: #6b8f45; }
html.tema-claro .track-row.import-error::after { background: #9b3b2b; }
html.tema-claro .track-import-status, html.tema-claro #batchStatus, html.tema-claro .album-match { color: #a2572b; }
html.tema-claro .track-import-status .step, html.tema-claro #batchEta { color: #6f645b; }
html.tema-claro .btn-download-album:disabled { background: #efe7dc !important; color: #8a7d72 !important; }
html.tema-claro .album-batch-bar { background: #eadccb; }
html.tema-claro .btn-fetch-albums:hover { color: #a94f32; }
html.tema-claro .btn-delete-artist:hover, html.tema-claro .btn-delete-album:hover { color: #9b3b2b; background: #f7e1da; }
html.tema-claro .btn-delete-album { background: rgba(255, 253, 246, .9); color: #6f645b; }
html.tema-claro .btn-download-track { color: #a94f32; }
html.tema-claro .btn-download-track:hover { background: #f3dfcd; color: #8e3f26; }
html.tema-claro .dsc-search-spinner, html.tema-claro .dsc-loading i, html.tema-claro .dsc-selection-count { color: #a94f32; }
html.tema-claro .dsc-genre-tag { background: #f3dfcd; color: #8e3f26; }
html.tema-claro .dsc-banner-genres { color: #8e3f26; }
html.tema-claro .dsc-artist-banner { background: #fbf2e6; }
html.tema-claro .dsc-album-card { background: #fffdf6; border-color: #ecdfd0; }
html.tema-claro .dsc-album-card:hover:not(.dsc-album-exists) { box-shadow: var(--shadow-pop); }
html.tema-claro .dsc-album-card.dsc-album-selected { border-color: #a94f32; box-shadow: 0 0 0 1px #a94f32, 0 4px 16px rgba(169, 79, 50, .2); }
html.tema-claro .dsc-album-card.dsc-album-selected .dsc-album-check { background: #a94f32; }
html.tema-claro .dsc-album-badge { background: rgba(76, 107, 47, .92); }
html.tema-claro .setlist-card-icon { background: linear-gradient(135deg, #c27a4f, #a94f32); }
html.tema-claro .import-section { border: 1px solid #e3c9b2; background: #fffaf2; }
html.tema-claro .import-summary, html.tema-claro .import-help strong, html.tema-claro .import-result-summary strong { color: #302a26; }
html.tema-claro .import-summary:hover { background: #f6ebdd; }
html.tema-claro .import-summary i.fa-magic { color: #a94f32; }
html.tema-claro details[open] .import-summary { border-bottom: 1px solid #e3c9b2; }
html.tema-claro .import-help { color: #4b413a; }
html.tema-claro .import-textarea, html.tema-claro .import-result-list { background: #fffdf6; color: #302a26; border: 1px solid #decdbd; }
html.tema-claro .import-textarea:focus { border-color: #a94f32; }
html.tema-claro .import-analyze-btn, html.tema-claro .import-toolbar-btn.primary, html.tema-claro .import-item-action { background: #a94f32 !important; color: #fff !important; border-color: #a94f32 !important; }
html.tema-claro .import-toolbar-btn.primary:hover:not(:disabled), html.tema-claro .import-item-action:hover:not(:disabled) { background: #8e3f26 !important; }
html.tema-claro .import-result-summary { color: #302a26; background: #faf4ea; }
html.tema-claro .import-result-summary .ok { color: #4c6b2f; }
html.tema-claro .import-result-summary .queued { color: #8a5a12; }
html.tema-claro .import-result-summary .miss { color: #9b3b2b; }
html.tema-claro .import-toolbar-btn { background: #fffdf6; color: #3f3631; border: 1px solid #decdbd; }
html.tema-claro .import-toolbar-btn:hover:not(:disabled) { background: #f6ede1; }
html.tema-claro .import-item { border-bottom: 1px solid #efe4d6; }
html.tema-claro .import-item:hover { background: #fbf2e6; }
html.tema-claro .import-item-num, html.tema-claro .import-item-artist { color: #6f645b; }
html.tema-claro .import-item-title, html.tema-claro .import-item.missing .import-item-title { color: #302a26; }
html.tema-claro .import-item.ready .import-item-icon, html.tema-claro .import-item.found .import-item-icon, html.tema-claro .import-item-action.done { background: #6b8f45 !important; }
html.tema-claro .import-item.queued .import-item-icon { background: #c98a2b; }
html.tema-claro .import-item.missing .import-item-icon { background: #9b3b2b; }
html.tema-claro .import-item-badge.queued { background: #fbefd9; color: #8a5a12; border-color: #ecd3a6; }

/* cifra em tela cheia no player */
html.tema-claro .cifra-tela-cheia-btn { background: #fffdf6; border: 1px solid #decdbd; color: #4b413a; }
html.tema-claro .cifra-tela-cheia-btn:hover { color: #a94f32; background: #f6ede1; }
html.tema-claro .cifra-side-panel.tela-cheia .cifra-side-header, html.tema-claro .cifra-titulo-musica { color: #302a26; }
html.tema-claro .cifra-side-panel.tela-cheia .cifra-side-transpose .cifra-transpose-label { color: #5e534b; }
html.tema-claro .cifra-side-panel.tela-cheia .cifra-side-content.rolar::-webkit-scrollbar-thumb { background: #d9c8b6; }
html.tema-claro .cifra-deslize { color: #a94f32; }
html.tema-claro .cifra-side-panel.tela-cheia.paginas::after { color: #a94f32; background: linear-gradient(90deg, rgba(255, 253, 246, 0), #fffdf6 75%); }
html.tema-claro .cifra-vazia-btn.primario { color: #fff; }
html.tema-claro .btn-timbre-lava i { color: #a2572b; }
html.tema-claro .btn-timbre-lava:hover { border-color: #a94f32; }

/* botões giratórios de pan e barra dos visuais do player */
html.tema-claro .stem-knob circle:first-child { fill: #f6ede1; stroke: #d6c2ad; }
html.tema-claro .stem-knob circle:last-of-type { fill: #fffdf6; stroke: #decdbd; }
html.tema-claro .stem-knob-container:hover .stem-knob circle:first-child { stroke: #a94f32; }
html.tema-claro #hmModelosBar { background: rgba(255, 253, 246, .96) !important; color: #302a26 !important; border-color: #decdbd !important; box-shadow: var(--shadow-pop) !important; }
html.tema-claro #hmModelosBar button, html.tema-claro #hmModelosBar select { background: #fffdf6 !important; color: #302a26 !important; border-color: #decdbd !important; }
html.tema-claro #hmModelosBar button:hover { background: #f3dfcd !important; }
html.tema-claro #hmModelosBar .aviso { color: #6f645b !important; }
.tema-ic{font-style:normal;font-size:15px;line-height:1}
html.tema-claro .timeline-onda .onda-base { color: #e2d1bf; }
html.tema-claro .timeline-onda .onda-cheia { color: #a94f32; }
html.tema-claro .timeline-container { max-width: 640px; }
html.tema-claro .timeline-onda.tem + .timeline-slider { background: transparent; }
/* lateral: item da biblioteca alinhado aos outros itens (cantos e recuo iguais) e logo legível */
html.tema-claro .project-item { margin: 1px 10px; border-radius: 10px; }
html.tema-claro .logo-icon circle, html.tema-claro .mobile-logo circle { opacity: .55; }
/* ajustes da revisão visual */
html.tema-claro #page-tools { padding-left: 16px; }
html.tema-claro .yt-embed-player.hidden { display: none !important; }
html.tema-claro .btn-back { width: auto; min-width: 36px; gap: 6px; padding: 0 10px; }
html.tema-claro .tracks-table thead th { white-space: nowrap; }
@media (max-width: 768px) {
    html.tema-claro .artist-header { flex-wrap: wrap; row-gap: 4px; }
    html.tema-claro .artist-name { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
}
html.tema-claro .table-header > div { white-space: nowrap; }
html.tema-claro .setlist-description, html.tema-claro .setlist-headrush { margin-left: 32px; margin-right: 32px; }
html.tema-claro #page-tools { padding-right: 16px; }
html.tema-claro .yt-downloader-layout { border: 1px solid #ecdfd0; border-radius: 14px; overflow: hidden; background: rgba(255, 253, 246, .6); margin-bottom: 16px; }
html.tema-claro .logo-icon rect, html.tema-claro .mobile-logo rect { opacity: 1; }
html.tema-claro .logo-icon circle, html.tema-claro .mobile-logo circle { opacity: .8; stroke-width: 18; }
/* álbum mais perto do pacote: capa maior, título em serifa e tom em etiqueta */
html.tema-claro .album-header { background: transparent; border-bottom: 0; }
html.tema-claro .album-header-cover { width: 104px; height: 104px; border-radius: 10px; box-shadow: 0 8px 22px rgba(60, 40, 25, .25); }
html.tema-claro #albumHeaderName { font-family: var(--font-serif); font-size: 30px; color: #302a26; }
html.tema-claro #albumHeaderArtist { font-size: 15px; color: #4b413a; }
html.tema-claro .track-row .col-key .tom-etq { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 8px; background: #f6e6d8; color: #8e3f26; font-weight: 600; }
@media (max-width: 768px) { html.tema-claro .album-header-cover { width: 72px; height: 72px; } html.tema-claro #albumHeaderName { font-size: 22px; } }
