* { margin: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", Arial, sans-serif; background: #10141c; color: #e8ecf4; height: 100vh; display: flex; flex-direction: column; }
header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #171d29; border-bottom: 1px solid #2a3242; }
header h1 { font-size: 18px; }
button { background: #2a3242; color: #e8ecf4; border: 0; border-radius: 8px; padding: 8px 14px; font-size: 15px; cursor: pointer; }
button:hover { background: #38445c; }
#btnTelao { background: #0055d4; }
main { flex: 1; display: grid; grid-template-columns: 340px 1fr; gap: 12px; padding: 12px; min-height: 0; }
#colEsq { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.tituloSec { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #9aa7bd; margin-top: 2px; }
#inpBusca { width: 100%; padding: 8px 12px; border-radius: 8px; border: 1px solid #2a3242; background: #171d29; color: #e8ecf4; font-size: 14px; }
#listaBiblio { max-height: 30vh; overflow-y: auto; list-style: none; display: flex; flex-direction: column; gap: 4px; }
#listaBiblio li { background: #171d29; border: 1px solid #2a3242; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
#listaBiblio li:hover { background: #12203a; border-color: #0055d4; }
#listaBiblio .nome { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#listaBiblio .remove { background: none; padding: 0 4px; font-size: 12px; opacity: .6; }
#listaBiblio .vazio { border: 0; background: none; color: #9aa7bd; cursor: default; }
#inpLink { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #2a3242; background: #171d29; color: #e8ecf4; font-size: 14px; }
#listaPlaylist { flex: 1; overflow-y: auto; list-style: none; display: flex; flex-direction: column; gap: 6px; }
#listaPlaylist li { background: #171d29; border: 1px solid #2a3242; border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; cursor: grab; }
#listaPlaylist li.tocando { border-color: #0055d4; background: #12203a; }
#listaPlaylist li.erro { border-color: #b3392e; }
#listaPlaylist .nome { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#listaPlaylist .selo { cursor: pointer; }
#listaPlaylist .remove { background: none; padding: 2px 6px; }
#listaPlaylist .playback { background: none; padding: 2px 4px; font-size: 14px; }
.linhaCfg { display: flex; gap: 14px; align-items: center; font-size: 13px; color: #9aa7bd; }
#colDir { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#playerWrap { align-self: center; }
#controles { display: flex; gap: 8px; align-items: center; justify-content: center; }
#controles .sep { width: 12px; }
#lblOffset { font-size: 13px; color: #9aa7bd; min-width: 44px; text-align: center; }
#letraRolando { flex: 1; overflow-y: auto; background: #171d29; border-radius: 8px; padding: 14px; font-size: 16px; line-height: 1.9; }
#letraRolando .lin { opacity: .55; }
#letraRolando .lin.atual { opacity: 1; font-weight: 700; color: #7db1ff; }
#toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #38445c; padding: 10px 18px; border-radius: 8px; font-size: 14px; z-index: 10; }
dialog { background: #171d29; color: #e8ecf4; border: 1px solid #2a3242; border-radius: 10px; max-width: 460px; }
dialog::backdrop { background: rgba(0,0,0,.6); }
#listaEscolha { list-style: none; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
#listaEscolha li { padding: 8px 10px; background: #10141c; border-radius: 8px; cursor: pointer; font-size: 14px; }
#listaEscolha li:hover { background: #12203a; }
#listaEscolha li.melhor { border: 1px solid #0055d4; background: #12203a; }
