/* RC31.1 — clareza de navegação e ajustes visuais.
 * Somente camada de apresentação, carregada por último. Para reverter: remover o <link> no index.html. */

/* 1) Botão flutuante de escuta (🎧): menor, no canto direito, abaixo de modais e sobre a barra */
#travessiaAudioPanel{z-index:18;left:auto;right:10px;bottom:calc(84px + env(safe-area-inset-bottom,0px))}
#travessiaAudioPanel .tap-toggle{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;display:grid;place-items:center;font-size:19px;opacity:.88}
#travessiaAudioPanel .tap-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#travessiaAudioPanel .tap-toggle[aria-expanded="true"],#travessiaAudioPanel .tap-toggle:focus-visible{opacity:1}
#travessiaAudioPanel .tap-drawer{left:auto;right:0}
/* quando há modal/folha aberta, o botão sai da frente */
body.lab-sheet-open #travessiaAudioPanel .tap-toggle,body.tr30-open #travessiaAudioPanel .tap-toggle,body.modal-open #travessiaAudioPanel .tap-toggle{visibility:hidden}
@media(max-width:520px){#travessiaAudioPanel{left:auto;right:10px;bottom:calc(84px + env(safe-area-inset-bottom,0px))}#travessiaAudioPanel .tap-toggle{padding:0}}

/* 2) Ícones dos cartões "Escolha o que quer desenvolver": quadrado pequeno, não faixa de largura total */
#bShell .b-task .b-task-icon{align-self:flex-start;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;line-height:1;flex:none}

/* 3) Barra inferior: só a aba ativa chama atenção (Ranking deixa de competir em dourado) */
.b-bottom button[data-b-nav="ranking"]:not(.active){color:#c3b5af}
.b-bottom button.active small{color:#fff}

/* 4) Atalho "Minha trilha" no Início */
#bShell .b-trilha-entry{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #6b4a46;border-radius:16px;padding:14px 16px;background:linear-gradient(145deg,#2a1c1b,#171416);color:#fff3ec;cursor:pointer;min-height:64px}
#bShell .b-trilha-entry b{font-size:24px;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#3a2523;flex:none}
#bShell .b-trilha-entry span{display:grid;gap:2px;font-weight:800;font-size:16px}
#bShell .b-trilha-entry small{font-weight:500;font-size:12.5px;color:#d0bdb6;line-height:1.4}
#bShell .b-trilha-entry em{margin-left:auto;font-style:normal;color:#f2ab90}

/* 5) Início (modo música): ação principal visível sem rolar */
#bMusic .b-section-top{position:relative;padding:6px 0 4px;gap:0}
#bMusic .b-section-top .b-kicker{margin:4px 0;padding-right:112px}
#bMusic #bMusicTitle{font-size:30px;line-height:1.12;margin:4px 0 6px}
#bMusic .b-section-top p{margin:0;font-size:14.5px;line-height:1.45}
#bMusic .b-section-top > .b-small-action{position:absolute;top:0;right:0;min-height:34px;padding:6px 11px;font-size:12.5px;white-space:nowrap}
#bMusic .context-guide-callout{margin:8px 0 10px}
#bMusic .b-feature-music{margin-top:0}
#bMusic .b-section-top > div:first-child{width:100%;max-width:none}
#bMusic .b-section-top .b-kicker{min-height:34px;display:flex;align-items:center;margin:0}
#travessiaAudioPanel .tap-toggle{width:38px;min-width:38px;height:38px;min-height:38px;opacity:.82}
@media(max-height:780px){#bMusic .b-section-top p{display:none}#bMusic #bMusicTitle{font-size:27px}}
@media(max-width:380px){#bMusic .b-cta{font-size:15px;padding-left:14px;padding-right:14px}}
