/* Estilos do site público */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }

/* Faixa de boas-vindas */
.welcome-bar { background: var(--surface-2); font-size: 13px; color: var(--muted); }
.welcome-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.welcome-bar strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.welcome-link { text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
.welcome-link:hover { text-decoration: underline; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 48px; height: 40px; }
.brand-name { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 16px; border-radius: 40px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; gap: 8px; }
.menu-btn { display: none; }

/* Páginas (troca sem recarregar) */
.page { display: none; padding: 60px 0 0; min-height: 60vh; }
.page.active { display: block; }

/* Cabeçalho do blog */
.blog-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.blog-head h1, .about h1, .contact h1 { font-size: 64px; font-weight: 500; letter-spacing: -2.5px; line-height: 1.05; }
.blog-head-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.blog-sub { max-width: 480px; font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--muted); }

/* Mídia dos cartões: zoom, véu escuro, "+" e cantoneiras */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); opacity: 0; transition: opacity .4s; }
.media-plus {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 70px; height: 70px; margin: -35px 0 0 -35px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px); color: #FFF;
  opacity: 0; transform: scale(.7); transition: transform .3s var(--ease), opacity .3s;
}
.media-plus svg { width: 26px; height: 26px; }
.corner { position: absolute; z-index: 2; width: 12px; height: 12px; border: 0 solid #FFF; opacity: 0; transition: opacity .3s; }
.corner.tl { top: 15px; left: 15px; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.tr { top: 15px; right: 15px; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.bl { bottom: 15px; left: 15px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.br { bottom: 15px; right: 15px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.media.has-photo .corner { opacity: 1; }
.media:hover img, .post-card:has(h2 a:hover, h2 a:focus-visible) .media img, .featured:has(h2 a:hover, h2 a:focus-visible) .media img { transform: scale(1.08); }
.media:hover::after, .post-card:has(h2 a:hover, h2 a:focus-visible) .media::after, .featured:has(h2 a:hover, h2 a:focus-visible) .media::after { opacity: 1; }
.media:hover .media-plus, .post-card:has(h2 a:hover, h2 a:focus-visible) .media-plus, .featured:has(h2 a:hover, h2 a:focus-visible) .media-plus { opacity: 1; transform: scale(1); }
.media:hover .corner, .post-card:has(h2 a:hover, h2 a:focus-visible) .corner, .featured:has(h2 a:hover, h2 a:focus-visible) .corner { opacity: 1; }
a.media { display: block; cursor: pointer; }
.post-card h2 a, .featured h2 a { text-decoration: none; }
.post-card h2 a:hover, .featured h2 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* Artigo em destaque */
.featured {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden;
  margin-bottom: 64px;
}
.featured .media { border-radius: 0; height: 100%; min-height: 320px; }
.featured-body { display: flex; flex-direction: column; gap: 20px; padding: 60px; }
.featured h2 { font-size: 48px; font-weight: 500; letter-spacing: -1.5px; line-height: 1.08; }
.featured .excerpt { font-size: 17px; line-height: 1.65; color: var(--muted); }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.post-foot .by { display: flex; flex-direction: column; gap: 2px; }
.post-foot .by strong { font-weight: 600; }
.post-foot .by span { font-size: 13px; color: var(--muted); }

/* Filtros */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; scroll-margin-top: 100px; }
.category-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border: 0; border-radius: 40px; background: var(--surface-2); cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink); transition: background .15s, color .15s;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); }
.chip small { font-size: 12px; color: var(--muted); }
.chip:hover { background: var(--line); }
.chip.active { background: var(--btn); color: var(--on-btn); }
.chip.active small { color: var(--on-btn); opacity: .7; }
.search { position: relative; display: flex; align-items: center; width: 260px; }
.search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 40px; border-radius: 40px; }
.list-status { padding: 16px 0 24px; }

/* Grade de artigos */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 25px; padding-bottom: 96px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card .media { aspect-ratio: 16 / 10; }
.post-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; }
.post-card h2 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.post-card .date { font-size: 13px; color: var(--muted); }

/* Cartão do autor */
.author-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 24px; margin-bottom: 80px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.author-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-copy { display: flex; flex-direction: column; gap: 8px; }
.author-card h2 { font-size: 26px; letter-spacing: -.5px; }

/* Artigo completo */
.back-btn { margin: 0 0 24px -14px; }
#articleDetail { display: flex; flex-direction: column; gap: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); }
#articleDetail h1 { font-size: 48px; font-weight: 500; letter-spacing: -1.5px; line-height: 1.08; }
#articleDetail .lead { font-size: 19px; line-height: 1.65; color: var(--muted); font-weight: 500; }
#articleDetail .full-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); margin: 12px 0; }
.full-body { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.full-body p { margin: 0 0 1.2em; }
.full-body h2 { font-size: 30px; letter-spacing: -.8px; margin: 1.6em 0 .6em; }
.full-body h3 { font-size: 23px; margin: 1.4em 0 .5em; }
.full-body img { margin: 1.5em 0; border-radius: var(--radius-lg); }
.full-body a { color: var(--accent); }
.full-body blockquote { margin: 1.5em 0; padding: 20px 24px; border-radius: var(--radius); background: var(--surface-2); font-family: var(--display); font-size: 22px; line-height: 1.4; }
.article-end { margin: 40px 0 96px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Projetos */
.counter { font-size: 15px; color: var(--muted); white-space: nowrap; }
.counter span { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--ink); margin-right: 6px; letter-spacing: -1px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding-bottom: 96px; }
.project {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.project-num { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--muted); }
.project h2 { font-size: 24px; letter-spacing: -.6px; }
.project p { color: var(--muted); line-height: 1.65; }
.project .btn, .project .soon { margin-top: auto; align-self: flex-start; }
.project .soon { font-size: 13px; color: var(--muted); padding-top: 8px; }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 64px; align-items: start; padding-bottom: 96px; }
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-heading { font-size: 26px; letter-spacing: -.6px; margin-top: 24px; }
.prose { font-size: 17px; line-height: 1.8; color: var(--muted); white-space: pre-wrap; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-lg); }
.about-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; padding-bottom: 96px; }
.contact-card { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-card .hint { font-size: 13px; color: var(--muted); }
.text-link { font-size: 14px; color: var(--ink); }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 36px; height: 30px; }
.author-link { color: var(--muted); }
.author-link:hover { color: var(--ink); }

/* ---------- Curtir e compartilhar ---------- */
.post-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-card .post-actions { padding-top: 12px; border-top: 1px solid var(--line); }
.featured .post-actions { margin-top: -4px; }
.act {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--field); border-radius: 40px; background: var(--bg); color: var(--ink);
  font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .2s var(--ease);
}
.act:hover { border-color: var(--ink); }
.act svg { width: 18px; height: 18px; flex-shrink: 0; }
.act.big { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.act-date { margin-left: auto; font-size: 13px; color: var(--muted); }
.like svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.like.is-liked { color: #C2185B; border-color: #F3C2D4; background: #FDF0F5; }
.like.is-liked svg { fill: currentColor; }
[data-theme="dark"] .like.is-liked { color: #F48FB1; border-color: #5A2A3B; background: #2A1520; }
.like.pop svg { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Menu de compartilhar */
.share-menu {
  position: fixed; z-index: 60; width: 340px; padding: 18px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; gap: 12px;
}
.share-head { display: flex; align-items: center; justify-content: space-between; }
.share-head strong { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
.share-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 22px; line-height: 1; cursor: pointer; }
.share-title { font-size: 13px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.share-opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer; font-size: 11.5px; font-weight: 500; color: var(--ink); text-align: center;
}
.share-opt:hover, .share-opt:focus-visible { background: var(--surface-2); }
.share-ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #FFF; }
.share-ico svg { width: 22px; height: 22px; }
.share-native { width: 100%; }
.share-link { display: flex; gap: 8px; }
.share-link input { min-height: 40px; font-size: 13px; border-radius: 40px; color: var(--muted); }
.share-menu.sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
body.share-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .25); }
@media (min-width: 641px) { body.share-open::after { background: transparent; } }

/* Aviso rápido */
.site-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 40px; background: var(--btn); color: var(--on-btn);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow); transition: opacity .25s, transform .25s var(--ease);
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
body.listening .site-toast { bottom: 110px; }

/* ---------- Página do artigo: barra de ações ---------- */
.article-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0; }
.listen-start svg { width: 20px; height: 20px; }
.listen-start.is-active { background: var(--accent); border-color: var(--accent); color: #FFF; }

/* Avaliação no topo */
.rate-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px 28px; scroll-margin-top: 110px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.rate-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; }
.rate-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 4px; }
.rate-card .muted { font-size: 14px; }
.rate-summary { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; text-decoration: none; font-size: 13px; padding: 6px 0; }
.rate-summary strong { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.5px; }
.rate-summary:hover .muted { color: var(--ink); text-decoration: underline; }
.stars { color: #E2A400; letter-spacing: 1px; font-size: 16px; }
.stars .off { color: var(--field); }
.rate-stars { display: flex; gap: 6px; }
.star {
  width: 52px; height: 52px; border: 1px solid var(--field); border-radius: 14px; background: var(--bg);
  color: #B5B5B5; font-size: 28px; line-height: 1; cursor: pointer;
  transition: transform .15s var(--ease), color .15s, border-color .15s, background .15s;
}
.star:hover { transform: translateY(-2px); }
.star.hover, .star.selected { color: #E2A400; border-color: #F1D27A; background: #FFF8E1; }
[data-theme="dark"] .star.hover, [data-theme="dark"] .star.selected { background: #2B2410; border-color: #6B5512; }
.rate-hint { font-size: 14px; font-weight: 500; min-height: 0; }
.rate-hint:empty { display: none; }
.comment-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.comment-form .form-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.comment-form textarea { min-height: 90px; }

#articleDetail .full-cover { margin-top: 8px; }

/* Lista de comentários (no fim do artigo) */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.comments-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.comments h2 { font-size: 28px; letter-spacing: -.8px; }
.comment-list { display: flex; flex-direction: column; gap: 12px; }
.comment { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-head > div { display: flex; flex-direction: column; line-height: 1.3; }
.comment-head small { font-size: 12px; color: var(--muted); }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.comment-stars { margin-left: auto; }
.comment p { line-height: 1.65; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Ouvir o artigo ---------- */
.is-reading { background: #FFF6D6; box-shadow: 0 0 0 6px #FFF6D6; border-radius: 4px; transition: background .3s, box-shadow .3s; }
[data-theme="dark"] .is-reading { background: #3A3112; box-shadow: 0 0 0 6px #3A3112; }
body.listening { padding-bottom: 96px; }
.listen-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 50; transform: translateX(-50%);
  width: min(720px, calc(100% - 24px)); padding: 10px 12px 10px 10px;
  background: #111111; color: #FFFFFF; border-radius: 22px; box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}
[data-theme="dark"] .listen-bar { background: #F5F5F5; color: #111111; }
.listen-inner { display: flex; align-items: center; gap: 12px; }
.listen-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; flex-shrink: 0; }
.listen-btn:hover { background: rgba(127, 127, 127, .2); }
.listen-btn svg { width: 20px; height: 20px; }
.listen-btn.main { width: 48px; height: 48px; background: #FFFFFF; color: #111111; }
[data-theme="dark"] .listen-btn.main { background: #111111; color: #FFFFFF; }
.listen-btn.main:hover { background: #FFFFFF; transform: scale(1.04); }
.listen-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.listen-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-track { height: 4px; border-radius: 4px; background: rgba(127, 127, 127, .35); overflow: hidden; }
.listen-progress { display: block; height: 100%; width: 0; background: currentColor; transition: width .3s; }
.listen-step { font-size: 12px; opacity: .7; }
.listen-controls { display: flex; align-items: center; gap: 2px; }
.listen-rate { min-width: 48px; height: 32px; padding: 0 8px; border: 1px solid rgba(127, 127, 127, .5); border-radius: 20px; background: transparent; color: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }

/* Tablet */
@media (max-width: 1024px) {
  .featured { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .featured .media { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .featured-body { padding: 40px; }
  .post-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Celular */
@media (max-width: 768px) {
  .welcome-link { display: none; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-mark { width: 40px; height: 33px; }
  .brand-name { font-size: 18px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .page { padding-top: 36px; }
  .blog-head { margin-bottom: 32px; }
  .blog-head h1, .about h1, .contact h1 { font-size: 48px; letter-spacing: -1.8px; }
  .blog-head-bottom { flex-direction: column; align-items: flex-start; }
  .blog-sub { font-size: 17px; }
  .featured { margin-bottom: 48px; }
  .featured-body { padding: 28px 24px; }
  .featured h2, #articleDetail h1 { font-size: 32px; letter-spacing: -1px; }
  .filters { flex-direction: column; align-items: stretch; }
  .category-bar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .chip { flex-shrink: 0; }
  .search { width: 100%; }
  .post-grid, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .author-card { grid-template-columns: 72px minmax(0, 1fr); }
  .author-photo { width: 72px; height: 72px; }
  .author-card .btn { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .rate-card { padding: 20px 18px; }
  .star { width: 48px; height: 48px; font-size: 26px; }
  .article-toolbar .listen-start { flex: 1 1 100%; }
  .article-toolbar .act.big { flex: 1 1 0; justify-content: center; padding: 10px 8px; }
  .listen-controls [data-l="back"], .listen-controls [data-l="fwd"] { display: none; }
}

/* Escolha da voz (abre acima do player) */
.listen-panel {
  position: absolute; right: 0; bottom: calc(100% + 10px); width: min(360px, 100%);
  display: flex; flex-direction: column; gap: 8px; padding: 16px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
}
.listen-panel label { font-size: 13px; font-weight: 600; }
.listen-panel select { min-height: 42px; border-radius: 12px; font-size: 14px; }
.listen-tip { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.listen-btn[aria-expanded="true"] { background: rgba(127, 127, 127, .25); }

/* Áudio gravado (voz natural) */
.listen-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 2px 9px; border-radius: 20px; background: rgba(255, 255, 255, .18); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
[data-theme="dark"] .listen-badge { background: rgba(0, 0, 0, .12); }
.listen-badge span:not(:empty)::before { content: "· "; }
.act-audio { color: var(--accent); }
.listen-seek { width: 100%; height: 18px; margin: -6px 0 -6px; accent-color: currentColor; cursor: pointer; background: transparent; }
.listen-bar.mode-audio .listen-seek { accent-color: #FFFFFF; }
[data-theme="dark"] .listen-bar.mode-audio .listen-seek { accent-color: #111111; }
