/* TELA — app-style layout (ViewBox): fixed side menu with categories, rounded banner with a bold play button,
   larger cards with titles under them. On phones the side menu becomes a top bar. */
:root { --bg: #0e1013; --panel: #171a1f; --line: #262a31; --accent: #f5c542; }
body { font-family: "Poppins", "Helvetica Neue", Arial, sans-serif; background: #0e1013; }
.vside { position: fixed; left: 0; top: 0; bottom: 0; width: 220px; background: #15181d; border-right: 1px solid #23272e;
  padding: 26px 18px; overflow-y: auto; z-index: 5; }
.vside-logo { width: 130px; display: block; margin: 0 0 30px; }
.vside-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #6f7681; margin: 0 0 10px 6px; }
.vside .chips { flex-direction: column; margin: 0; padding: 0; overflow: visible; gap: 4px; }
.vside .chip { background: none; border: 0; text-align: left; border-radius: 10px; padding: 11px 12px; font-size: 14px; font-weight: 500; color: #c9cdd3; }
.vside .chip:hover { background: #1f232a; color: #fff; }
.vside .chip[aria-selected=true] { background: #f5c542; color: #111; }
body.has-side.v-on-home .wrap { margin-left: 220px; max-width: none; }
body.has-side .home .logo { display: none; }

.vhero { height: clamp(320px, 54vh, 540px); border-radius: 18px; margin: 4px 0 30px; }
.vh-shade { background: linear-gradient(90deg, rgba(14,16,19,.95) 0%, rgba(14,16,19,.6) 40%, rgba(14,16,19,0) 72%),
                        linear-gradient(0deg, rgba(14,16,19,.9) 0%, rgba(14,16,19,0) 35%); }
.vh-text { position: absolute; left: clamp(22px, 4vw, 46px); bottom: clamp(26px, 6vh, 52px); max-width: min(560px, 80%); }
.vh-kicker { font-size: 12px; font-weight: 600; color: #f5c542; margin-bottom: 10px; }
.vh-title { font: 700 clamp(32px, 5vw, 58px)/1.05 "Poppins", sans-serif; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vh-sub { margin-top: 8px; font-size: 15px; color: #d4d7dc; }
.vh-actions { margin-top: 22px; display: flex; gap: 12px; }
.vh-cta { background: #e8443a; color: #fff; font: 600 14px/1 "Poppins", sans-serif; padding: 14px 28px; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(232,68,58,.35); }
.vh-cta:hover { background: #f05247; }
.vh-dots { right: 26px; bottom: 24px; }

.vsec-h h2 { font: 600 22px/1.1 "Poppins", sans-serif !important; }
.vrow-h b { font-size: 13px; font-weight: 600; color: #9aa1ab; }
.vrow .card { width: clamp(230px, 26vw, 320px); }
.vrow .card img { border-radius: 12px; }
.vrow .card .t { font-weight: 600; font-size: 15px; }

@media (max-width: 900px) {
  .vside { position: sticky; top: 0; width: auto; bottom: auto; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid #23272e; overflow-x: auto; }
  .vside-logo { width: 74px; margin: 0; flex: none; }
  .vside-label { display: none; }
  .vside .chips { flex-direction: row; }
  body.has-side.v-on-home .wrap { margin-left: auto; }
}

/* ---------- side menu: home button, subcategories that slide open, favorites bin, light/dark switch ---------- */
.vside { display: flex; flex-direction: column; }
.vside-home { background: none; border: 0; padding: 0; cursor: pointer; align-self: flex-start; }
.vside-subs { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px 14px; padding-left: 10px; border-left: 2px solid #f5c54255;
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-6px); transition: max-height .45s ease, opacity .3s ease, transform .3s ease; }
.vside-subs.open { max-height: 70vh; opacity: 1; transform: none; overflow-y: auto; }
.vside-sub { background: none; border: 0; text-align: left; color: #aab0b9; font: 500 13px/1.25 "Poppins", sans-serif; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.vside-sub:hover { color: #fff; background: #1f232a; }
.vside-sub[aria-current="true"] { color: #f5c542; background: #f5c5421a; font-weight: 600; }

.vfav { margin-top: 26px; padding: 12px 10px 10px; border: 1.5px dashed transparent; border-radius: 12px; transition: border-color .2s, background .2s; }
.vfav .vside-label { margin-left: 0; }
.vfav-list { display: flex; flex-direction: column; gap: 4px; }
.vfav-it { display: flex; align-items: center; gap: 4px; border-radius: 8px; }
.vfav-it:hover { background: #1f232a; }
.vfav-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 5px 4px; color: #d4d7dc; cursor: pointer; text-align: left; }
.vfav-go img { width: 44px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; flex: none; background: #000; }
.vfav-go span { font-size: 12.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vfav-x { flex: none; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: #6f7681; font-size: 17px; cursor: pointer; opacity: 0; }
.vfav-it:hover .vfav-x, .vfav-x:focus-visible { opacity: 1; }
.vfav-x:hover { color: #fff; background: #2a2f37; }
.vfav-hint { font-size: 11.5px; line-height: 1.4; color: #6f7681; margin-top: 6px; }
.vfav:not(.empty) .vfav-hint { display: none; }
body.v-dragging .vfav { border-color: #f5c54288; background: #f5c5420d; }
body.v-dragging .vfav .vfav-hint { display: block; color: #f5c542; }
.vfav.over { border-color: #f5c542; background: #f5c5421f; }
.vrow .card[draggable="true"] { cursor: grab; }
.vfav-row { display: none; }            /* desktop: favorites live in the side menu */

.vtheme { margin-top: auto; align-self: flex-start; background: #1f232a; border: 1px solid #2a2f37; color: #d4d7dc; font: 500 12.5px/1 "Poppins", sans-serif;
  padding: 9px 13px; border-radius: 999px; cursor: pointer; }
.vside .vtheme { margin-top: 26px; }
.vtheme:hover { border-color: #f5c542; }

/* ---------- a category page: no banner or big category title (the side menu already says where you are);
              the subcategories / comedians are the headlines ---------- */
body.v-cat .vhero, body.v-cat .vsec-h, body.v-sub .vhero { display: none !important; }
body.v-cat .vsec { margin-top: 6px; }
/* on your Mac (editing on): keep the category's tool buttons (🎙 Whisper, © Fill credits) on a category page — just the buttons, no big title */
html:not(.readonly) body.v-cat .vsec-h:has(.sec-tool) { display: flex !important; justify-content: flex-end; gap: 8px; margin: 0 0 4px; padding: 0; border: 0; }
html:not(.readonly) body.v-cat .vsec-h:has(.sec-tool) > h2, html:not(.readonly) body.v-cat .vsec-h:has(.sec-tool) > span { display: none; }
html:not(.readonly) body.v-cat .vsec-h .sec-tool { margin-left: 0; }
button.vrow-h { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; width: 100%; }
.vrow-more { margin-left: auto; font-size: 12.5px; font-weight: 500; color: #8a919c; white-space: nowrap; }
button.vrow-h:hover .vrow-more { color: #f5c542; }
button.vrow-h:hover b { color: #fff; }
body.v-cat .vrow-wrap { margin-top: 22px; }
body.v-cat .vrow-h { margin: 6px 0 12px; }
body.v-cat .vrow-h b { font: 700 clamp(22px, 2.4vw, 30px)/1.1 "Poppins", sans-serif; letter-spacing: -.01em; color: #fff; }
body.v-cat .vrow-h i { align-self: center; font-size: 12px; font-weight: 600; opacity: 1; color: #111; background: #f5c542; border-radius: 999px; padding: 3px 9px; }
body.v-cat button.vrow-h:hover b { color: #f5c542; }

/* one subcategory on its own page */
.vsub-top { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 6px 0 22px; }
.vsub-note { flex: 1 0 100%; max-width: 760px; background: #1a1d23; border: 1px solid #2a2f37; border-left: 4px solid #f5c542; border-radius: 14px; padding: 18px 22px; }
.vsub-note-h { display: block; font: 800 clamp(20px, 2.2vw, 26px)/1.2 "Poppins", sans-serif; color: #fff; margin-bottom: 8px; }
.vsub-note p { white-space: pre-line; margin: 0 0 12px; font: 400 15px/1.55 "Inter", sans-serif; color: #c9ccd2; }
.vsub-note-link { display: inline-block; font: 600 14px/1 "Poppins", sans-serif; color: #15171b; background: #f5c542; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.vsub-note-link:hover { filter: brightness(1.08); }
html.v-light .vsub-note { background: #fff; border-color: #dfe2e7; border-left-color: #f5c542; }
html.v-light .vsub-note-h { color: #15171b; }
html.v-light .vsub-note p { color: #3a3f47; }
.vsub-top h2 { margin: 0; font: 700 clamp(28px, 3.4vw, 42px)/1.1 "Poppins", sans-serif; letter-spacing: -.015em; }
.vsub-back { background: #1f232a; border: 1px solid #2a2f37; color: #d4d7dc; font: 500 14px/1 "Poppins", sans-serif; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.vsub-back:hover { border-color: #f5c542; color: #fff; }
body.v-sub .vsec:not(:has(.v-open)), body.v-sub .vrow-wrap:not(.v-open), body.v-sub .vfav-row { display: none !important; }
body.v-sub .v-open .vrow-h, body.v-sub .v-open .vrow-arrow { display: none; }
body.v-sub .v-open .vrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; overflow: visible; }
body.v-sub .v-open .vrow .card { width: auto; }
body.v-sub .vsec { margin-top: 0; }

/* row arrows: always there on hover, a bit bigger */
.vrow-arrow { width: 44px; height: 44px; background: rgba(14,16,19,.85); border: 1px solid #2a2f37; top: calc(50% - 30px); }
.vrow-arrow:hover { background: #f5c542; color: #111; }

/* ---------- player: favorite + fonts ---------- */
.vtools { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0 0; }
.vtool { background: var(--panel); border: 1px solid var(--line); color: var(--pt); font: 500 13px/1 "Poppins", sans-serif; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.vtool:hover { border-color: #f5c542; }
.vtool[aria-pressed="true"] { background: #f5c542; border-color: #f5c542; color: #111; }
.vtool:disabled { opacity: .4; cursor: default; }
.vtool b { font-family: "Source Serif 4", Georgia, serif; font-size: 15px; margin-right: 3px; }
.vfont-panel { margin: 10px auto 4px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); max-width: 760px; }
.vfont-panel.hidden { display: none; }
.vfont-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.vfont-row + .vfont-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.vfont-lang { flex: 0 0 92px; align-self: center; font: 600 12px/1 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vfont-opt { flex: 1 1 110px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; color: var(--pt); cursor: pointer; text-align: left; }
.vfont-opt span { font-size: 19px; line-height: 1.1; }
.vfont-opt small { font: 500 11px/1.2 "Poppins", sans-serif; color: var(--muted); }
.vfont-opt:hover { border-color: #f5c54288; }
.vfont-opt[aria-pressed="true"] { border-color: #f5c542; background: #f5c5421a; }
.pt { font-family: var(--pt-font, "EB Garamond", Georgia, serif); }
.en { font-family: var(--en-font, "Inter", sans-serif); }
@media (max-width: 600px) { .vfont-lang { flex-basis: 100%; } }

@media (max-width: 900px) {
  .vside { flex-direction: row; flex-wrap: wrap; row-gap: 8px; }
  .vside-home { order: 0; }
  .vside .vtheme { order: 1; }
  .vside .chips { order: 2; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .vside .chip { padding: 8px 12px; }
  .vside-subs { order: 3; flex-direction: row; flex: 0 0 100%; margin: 0; padding: 0; border: 0; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .vside-subs.open { max-height: 60px; overflow-y: hidden; }
  .vside-sub { white-space: nowrap; background: #1f232a; border-radius: 999px; }
  .vfav { display: none; }
  .vfav-row { display: block; }
  .vtheme, .vside .vtheme { margin: 0 0 0 auto; padding: 7px 11px; flex: none; align-self: center; }
  .vtheme span { display: none; }
}

/* ---------- light look ---------- */
html.v-light { --bg: #f6f7f9; --panel: #ffffff; --panel2: #eef0f3; --line: #dfe2e7; --pt: #15171b; --en: #5c626c; --muted: #6b717b; --accent: #15171b; }
html.v-light body { background: #f6f7f9; color: #15171b; }
html.v-light .vside { background: #fff; border-color: #e3e6ea; }
html.v-light .vside .chip { color: #3a3f47; }
html.v-light .vside .chip:hover, html.v-light .vside-sub:hover, html.v-light .vfav-it:hover { background: #f0f2f5; color: #111; }
html.v-light .vside .chip[aria-selected=true] { background: #f5c542; color: #111; }
html.v-light .vside-sub { color: #59606b; }
html.v-light .vside-sub[aria-current="true"] { color: #8a6300; background: #f5c54233; }
html.v-light .vfav-go { color: #2a2e35; }
html.v-light .vfav-x:hover { background: #e9ecf0; color: #111; }
html.v-light body.v-dragging .vfav .vfav-hint { color: #8a6300; }
html.v-light .vtheme, html.v-light .vsub-back { background: #fff; border-color: #dfe2e7; color: #2a2e35; }
html.v-light .vside-logo, html.v-light .logo-player-img { filter: drop-shadow(1.5px 0 0 #15171b) drop-shadow(-1.5px 0 0 #15171b) drop-shadow(0 1.5px 0 #15171b) drop-shadow(0 -1.5px 0 #15171b); }
html.v-light .vh-shade { background: linear-gradient(90deg, rgba(10,12,15,.88) 0%, rgba(10,12,15,.5) 40%, rgba(10,12,15,0) 72%),
                                      linear-gradient(0deg, rgba(10,12,15,.6) 0%, rgba(10,12,15,0) 35%); }
html.v-light .vhero { box-shadow: 0 14px 34px rgba(20,24,30,.16); }
html.v-light .vh-title, html.v-light .vh-sub { color: #fff; }
html.v-light .vsec-h h2, html.v-light .vrow .card .t, html.v-light body.v-cat .vrow-h b, html.v-light .vsub-top h2 { color: #15171b; }
html.v-light .vrow-h b, html.v-light button.vrow-h:hover b { color: #59606b; }
html.v-light body.v-cat button.vrow-h:hover b, html.v-light button.vrow-h:hover .vrow-more { color: #b07d00; }
html.v-light .vrow-arrow { background: rgba(255,255,255,.95); color: #15171b; border-color: #dfe2e7; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
html.v-light .vrow-arrow:hover { background: #f5c542; }
html.v-light .vrow .card img { box-shadow: 0 6px 18px rgba(20,24,30,.10); }
html.v-light .logo-tag { color: #3a3f47; }
/* player on white */
html.v-light .w:active, html.v-light .w.on { background: rgba(245,197,66,.35); }
html.v-light .modes button[aria-pressed=true], html.v-light .mini[aria-pressed=true], html.v-light .meta .picker button[aria-pressed=true],
html.v-light .bw-row .mini[aria-pressed=true], html.v-light .np-mode .mini[aria-pressed=true] { background: #15171b !important; color: #fff !important; border-color: #15171b !important; }
html.v-light .lines button.pp { background: #15171b; color: #fff; border-color: #15171b; }
html.v-light .chip[aria-selected=true] { color: #111; }
html.v-light .vc { background: #fff; box-shadow: none; }
html.v-light .vc.open { box-shadow: -12px 0 32px rgba(0,0,0,.12); }
html.v-light .vc-tab { background: #fff; color: #15171b; border-color: #dfe2e7; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
html.v-light .ep:hover { background: rgba(0,0,0,.03); }
@media (max-width: 900px) { html.v-light .vside { border-bottom-color: #e3e6ea; } html.v-light .vside-sub { background: #f0f2f5; } }

/* text size, per language (A− / A+ in the Fontes panel) */
#pt { font-size: calc(26px * var(--pt-size, 1)); }
#en { font-size: calc(18px * var(--en-size, 1)); }
.vsize { flex: 0 0 100%; display: flex; align-items: center; gap: 6px; padding-left: 100px; margin-top: 4px; }
.vsize::before { content: "Tamanho"; font: 500 12px/1 "Poppins", sans-serif; color: var(--muted); margin-right: 6px; }
.vsize button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--pt); font: 600 14px/1 "Poppins", sans-serif; cursor: pointer; }
.vsize button:last-child { font-size: 17px; }
.vsize button:hover:not(:disabled) { border-color: #f5c542; }
.vsize button:disabled { opacity: .35; cursor: default; }
.vsize-val { min-width: 44px; text-align: center; font: 600 12.5px/1 "Poppins", sans-serif; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .vsize { padding-left: 0; } }

/* ---------- Dicionário ---------- */
.vside-dict { display: flex; align-items: center; gap: 8px; width: 100%; margin: 14px 0 0; background: none; border: 0; text-align: left;
  border-radius: 10px; padding: 11px 12px; font: 500 14px/1 "Poppins", sans-serif; color: #c9cdd3; cursor: pointer; }
.vside-dict:hover { background: #1f232a; color: #fff; }
.vside-dict[aria-current="true"] { background: #f5c542; color: #111; }
#vDict { display: none; }
body.v-dict #vDict { display: block; }
body.v-dict .home > :not(#vDict) { display: none !important; }
body.v-dict .vside .chip[aria-selected=true] { background: none; color: #c9cdd3; }
.vdict { max-width: 860px; padding-top: 8px; }
.vd-top h1 { margin: 0; font: 700 clamp(30px, 3.6vw, 42px)/1.05 "Poppins", sans-serif; letter-spacing: -.02em; }
.vd-top p { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
.vd-search { position: relative; display: flex; gap: 8px; }
.vd-search input { flex: 1; min-width: 0; font: 500 18px/1 "Poppins", sans-serif; padding: 16px 16px 16px 46px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel); color: var(--pt); outline: none; -webkit-appearance: none; }
.vd-search input:focus { border-color: #f5c542; box-shadow: 0 0 0 3px #f5c54226; }
.vd-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-52%); font-size: 22px; color: var(--muted); pointer-events: none; }
.vd-search button { flex: none; border: 0; border-radius: 14px; padding: 0 22px; background: #f5c542; color: #111; font: 600 15px/1 "Poppins", sans-serif; cursor: pointer; }
.vd-sugg { display: flex; flex-direction: column; margin-top: 6px; }

.vd-card { margin: 18px 0 8px; padding: 22px 22px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.vd-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vd-pt { font: 700 clamp(28px, 3.4vw, 38px)/1.1 var(--pt-font, "Poppins"), "Poppins", sans-serif; letter-spacing: -.01em; }
.vd-en { margin-top: 4px; font-size: 17px; color: var(--muted); }
.vd-say { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--pt);
  font-size: 16px; cursor: pointer; }
.vd-head .vd-say { width: 48px; height: 48px; font-size: 19px; background: #f5c5421a; border-color: #f5c54266; }
.vd-say:hover { border-color: #f5c542; }
.vd-card h3 { margin: 18px 0 6px; font: 700 12px/1 "Poppins", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #f5c542; }
.vd-card h3 span { margin-left: 6px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); font-size: 12px; }
.vd-list { list-style: none; margin: 0; padding: 0; }
.vd-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; flex-wrap: wrap; }
.vd-list li.hit .vd-w { background: #f5c54233; border-radius: 6px; }
.vd-list .vd-say { width: 32px; height: 32px; font-size: 13px; }
.vd-w { background: none; border: 0; padding: 2px 4px; margin-left: -4px; color: var(--pt); cursor: pointer; text-align: left;
  font: 600 19px/1.25 var(--pt-font, "Poppins"), "Poppins", sans-serif; }
.vd-w:hover { text-decoration: underline; text-decoration-color: #f5c542; text-underline-offset: 4px; }
.vd-rel .vd-w { font-size: 17px; font-weight: 500; }
.vd-gl { color: var(--muted); font-size: 14.5px; }
.vd-tag { font-style: normal; font: 600 11px/1 "Poppins", sans-serif; padding: 4px 8px; border-radius: 999px; background: #2a2f37; color: #c9cdd3; white-space: nowrap; }
.vd-tag.t-giria { background: #f5c54226; color: #f5c542; }
.vd-tag.t-texto { background: #3a7bd526; color: #7fb0f0; }
.vd-tag.t-palavrao { background: #e8443a26; color: #ff8a80; }
.vd-lines { margin-top: 4px; }
.vd-line { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; padding: 11px 14px; margin: 6px 0; border-radius: 12px;
  border: 1px solid var(--line); background: none; color: var(--pt); cursor: pointer; }
.vd-line:hover { border-color: #f5c542; }
.vd-lpt { font: 500 16.5px/1.35 var(--pt-font, "EB Garamond"), serif; }
.vd-lpt b { color: #f5c542; font-weight: 700; }
.vd-len { font-size: 13.5px; color: var(--muted); }
.vd-src { font-size: 12px; color: var(--muted); opacity: .8; margin-top: 2px; }
.vd-miss { color: var(--muted); }
.vd-wait { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.vd-dots { display: flex; gap: 4px; }
.vd-dots i { width: 7px; height: 7px; border-radius: 50%; background: #f5c542; animation: vdb 1s infinite ease-in-out; }
.vd-dots i:nth-child(2) { animation-delay: .15s; } .vd-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes vdb { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }

.vd-browse { margin-top: 26px; }
.vd-topic { margin-top: 26px; }
.vd-topic h2 { margin: 0 0 10px; font: 700 20px/1.2 "Poppins", sans-serif; }
.vd-topic h2 span { margin-left: 6px; font-weight: 500; font-size: 14px; color: var(--muted); }
.vd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--pt); cursor: pointer; text-align: left; max-width: 100%; }
.vd-chip b { font: 600 16px/1.2 "Poppins", sans-serif; }
.vd-chip span { font-size: 12.5px; color: var(--muted); }
.vd-chip:hover { border-color: #f5c542; }
.vd-recent .vd-chip { padding: 8px 12px; }

@media (max-width: 900px) {
  .vside-dict { order: 1; width: auto; margin: 0 0 0 auto; padding: 8px 12px; align-self: center; }
  .vside .vtheme { margin-left: 6px; }
  .vd-card { padding: 18px 16px 14px; }
  .vd-search button { padding: 0 16px; }
  .vd-search input { font-size: 16px; }
}
html.v-light .vside-dict { color: #3a3f47; }
html.v-light .vside-dict:hover { background: #f0f2f5; color: #111; }
html.v-light .vside-dict[aria-current="true"] { background: #f5c542; color: #111; }
html.v-light body.v-dict .vside .chip[aria-selected=true] { color: #3a3f47; }
html.v-light .vd-card h3, html.v-light .vd-lpt b { color: #a87500; }
html.v-light .vd-tag { background: #eef0f3; color: #4a505a; }
html.v-light .vd-tag.t-giria { background: #f5c54240; color: #7a5600; }
html.v-light .vd-tag.t-texto { background: #3a7bd51f; color: #2c5fa8; }
html.v-light .vd-tag.t-palavrao { background: #e8443a1f; color: #b3261e; }
html.v-light .vd-card, html.v-light .vd-chip { box-shadow: 0 2px 10px rgba(20,24,30,.05); }
/* suggestions while typing: the meaning, then the ways to say it */
.vd-sg { padding: 10px 4px 8px; border-bottom: 1px solid var(--line); }
.vd-sg-h { display: block; background: none; border: 0; padding: 2px 10px 6px; color: var(--muted); font: 500 13px/1.2 "Poppins", sans-serif; cursor: pointer; text-align: left; }
.vd-sg-w { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 6px 10px; border-radius: 8px; color: var(--pt); cursor: pointer; text-align: left; }
.vd-sg-w b { font: 600 17px/1.25 "Poppins", sans-serif; }
.vd-sg-w:hover { background: var(--panel); }
/* dictionary: the little player under an example line */
.vd-line.playing { border-color: #f5c542; background: #f5c5420f; }
.vd-mini { margin: -2px 0 10px; border: 1px solid #f5c542; border-radius: 12px; overflow: hidden; background: #000; max-width: 440px; }
.vd-mini-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: var(--panel); }
.vd-mini-bar button { background: none; border: 1px solid var(--line); color: var(--pt); border-radius: 999px; padding: 6px 12px;
  font: 500 12.5px/1 "Poppins", sans-serif; cursor: pointer; }
.vd-mini-bar button:hover { border-color: #f5c542; }
.vd-mini-x { margin-left: auto; width: 32px; height: 32px; padding: 0 !important; font-size: 14px !important; }
.vd-mini-media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vd-mini-media audio { display: block; width: 100%; background: var(--panel); }
.vd-mini-media iframe, .vd-mini-media > div { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.vd-mini-subs { padding: 10px 14px 12px; background: var(--panel); text-align: center; min-height: 64px; }
.vd-ms-pt { font: 500 18px/1.3 var(--pt-font, "EB Garamond"), serif; color: var(--pt); }
.vd-ms-en { margin-top: 3px; font: 500 14px/1.35 var(--en-font, "Inter"), sans-serif; color: var(--muted); }

/* ---------- Ao vivo (live captions) ---------- */
.vside-live { margin-top: 4px; }
#vLive { display: none; }
body.v-live #vLive { display: block; }
body.v-live .home > :not(#vLive) { display: none !important; }
body.v-live .vside .chip[aria-selected=true] { background: none; color: #c9cdd3; }
.vlive { max-width: 860px; padding-top: 8px; padding-bottom: 120px; }
.vl-top h1 { margin: 0; font: 700 clamp(30px, 3.6vw, 42px)/1.05 "Poppins", sans-serif; letter-spacing: -.02em; }
.vl-top p { margin: 6px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.vl-top p span { font-size: 13.5px; opacity: .85; }
.vl-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; background: var(--bg, #111317); }
.vl-mic { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 22px; background: #f5c542; color: #111;
  font: 600 16px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-mic[aria-pressed="true"] { background: #e5484d; color: #fff; }
.vl-dot { width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.vl-mic[aria-pressed="true"] .vl-dot { animation: vlPulse 1.2s ease-in-out infinite; }
@keyframes vlPulse { 50% { transform: scale(.55); opacity: .5; } }
.vl-back, .vl-clear, .vl-seg button { border: 1px solid var(--line); background: var(--panel); color: var(--pt); border-radius: 999px; padding: 11px 16px;
  font: 600 14px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-back:disabled { opacity: .4; cursor: default; }
.vl-back:not(:disabled):hover, .vl-clear:hover { border-color: #f5c542; }
.vl-seg { display: inline-flex; gap: 0; }
.vl-seg button { border-radius: 0; margin-left: -1px; }
.vl-seg button:first-child { border-radius: 999px 0 0 999px; margin-left: 0; }
.vl-seg button:last-child { border-radius: 0 999px 999px 0; }
.vl-seg button[aria-pressed="true"] { background: #f5c542; color: #111; border-color: #f5c542; position: relative; }
.vl-clear { margin-left: auto; }
.vl-status { min-height: 20px; margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.vl-status.bad { color: #ff8a80; }
.vl-lines { display: flex; flex-direction: column; gap: 4px; }
.vl-empty { padding: 34px 20px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); line-height: 1.6; }
.vl-empty span { font-size: 13px; }
.vl-empty:empty { display: none; }
.vl-line { padding: 10px 14px; border-radius: 12px; cursor: pointer; }
.vl-line:last-child { background: var(--panel); }
.vl-pt { font: 600 clamp(19px, 2.2vw, 24px)/1.35 "Poppins", sans-serif; }
.vl-en { margin-top: 3px; font-size: clamp(15px, 1.7vw, 17px); line-height: 1.4; color: #f5c542; transition: filter .2s; }
.vl-en i { color: var(--muted); font-style: normal; }
.vlive[data-en="tap"] .vl-line:not(.vl-reveal) .vl-en { filter: blur(6px); }
.vlive[data-en="off"] .vl-line:not(.vl-reveal) .vl-en { display: none; }
.vl-w { border-radius: 4px; }
.vl-w:hover { background: #f5c54233; }
.vl-live { min-height: 34px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; font: 500 14px/1 "Poppins", sans-serif; color: var(--muted); }
.vl-meter { width: 120px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.vl-meter i { display: block; height: 100%; background: #3ddc84; transition: width .1s; }
.vl-pending .vl-pt i { color: var(--muted); }
.vlive.vl-on { padding-bottom: 55vh; }
.vl-follow { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 65;
  border: 0; border-radius: 999px; padding: 12px 20px; background: #f5c542; color: #111; font: 700 15px/1 "Poppins", sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); cursor: pointer; }
.vl-follow[hidden] { display: none; }
.vl-now { font: 600 clamp(19px, 2.2vw, 24px)/1.35 "Poppins", sans-serif; }
.vl-now b { font-weight: 600; color: var(--pt); }
.vl-now i { font-style: normal; color: var(--muted); }
.vl-fine { margin-top: 26px; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.vl-pop { position: absolute; z-index: 60; width: 300px; padding: 14px; border-radius: 14px; background: #1a1d23; color: #e9ebee; border: 1px solid #2f343d;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.vl-pop-h { display: flex; justify-content: space-between; align-items: center; font: 700 18px/1.2 "Poppins", sans-serif; }
.vl-pop-x, .vl-rp-x { border: 0; background: none; color: inherit; font-size: 22px; cursor: pointer; line-height: 1; }
.vl-pop-b { margin: 6px 0 10px; font-size: 14px; line-height: 1.45; }
.vl-pop-m { color: #f5c542; font-weight: 600; margin-bottom: 4px; }
.vl-pop-s i { color: #9aa0a8; font-size: 12px; }
.vl-pop-f { display: flex; gap: 8px; }
.vl-pop-f button { flex: 1; border: 1px solid #2f343d; background: #23272e; color: #e9ebee; border-radius: 999px; padding: 9px 10px; font: 600 13px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-pop-f .vl-add.on { background: #f5c542; color: #111; border-color: #f5c542; }
.vl-replay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.55); display: grid; place-items: end center; padding: 16px; }
.vl-replay[hidden] { display: none; }
.vl-rp-card { width: min(760px, 100%); max-height: 70vh; overflow: auto; padding: 16px 16px 8px; border-radius: 18px; background: #16191e; color: #e9ebee; border: 1px solid #2f343d; }
.vl-rp-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font: 600 15px/1 "Poppins", sans-serif; }
.vl-rp-card .vl-line { background: none; }
.vl-rp-now .vl-pt { color: #9aa0a8; font-style: italic; }
.vl-rp-note { font-size: 13px; color: #9aa0a8; min-height: 18px; }
@media (max-width: 900px) {
  .vside-live { order: 1; margin: 0 0 0 6px; }
  .vl-bar { gap: 8px; }
  .vl-mic { padding: 13px 18px; font-size: 15px; }
  .vl-back, .vl-clear, .vl-seg button { padding: 10px 12px; font-size: 13px; }
}
html.v-light .vside-live { color: #3a3f47; }
html.v-light .vside-live[aria-current="true"] { color: #111; }
html.v-light .vl-bar { background: var(--bg, #fff); }
html.v-light .vl-en { color: #a0700a; }
html.v-light body.v-live .vside .chip[aria-selected=true] { color: #3a3f47; }

/* phone header: Dicionário · Ao vivo · ☀ together on the right, one row */
@media (max-width: 900px) {
  .vside .vside-dict { order: 1; flex: none; margin: 0 0 0 auto; padding: 8px 10px; white-space: nowrap; }
  .vside .vside-dict.vside-live { margin-left: 2px; }
  .vside .vtheme { order: 1; margin-left: 2px; }
}
@media (max-width: 420px) {
  .vside { gap: 6px; }
  .vside-logo { width: 62px; }
  .vside .vside-dict { font-size: 13px; padding: 8px 7px; gap: 5px; }
  .vside .vtheme { padding: 6px 8px; }
}
@media (max-width: 360px) {
  .vside-logo { width: 54px; }
  .vside .vside-dict > span { display: none; }
}

/* ---------- Ao vivo: saved conversations ---------- */
.vlive.vl-show-saved > :not(.vl-saved):not(.vl-modal):not(.vl-pop) { display: none !important; }
.vl-save, .vl-open-saved { border: 1px solid var(--line); background: var(--panel); color: var(--pt); border-radius: 999px; padding: 11px 16px;
  font: 600 14px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-save:hover, .vl-open-saved:hover { border-color: #f5c542; }
.vl-open-saved.bump { animation: vlBump .5s ease; }
@keyframes vlBump { 40% { transform: scale(1.08); border-color: #f5c542; } }
.vl-s-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 14px; }
.vl-s-top h2 { margin: 0; font: 700 clamp(22px, 2.8vw, 30px)/1.15 "Poppins", sans-serif; }
.vl-s-back { border: 1px solid var(--line); background: var(--panel); color: var(--pt); border-radius: 999px; padding: 9px 14px; font: 600 13px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.vl-fchip, .vl-fnew, .vl-factions button, .vl-nactions button { border: 1px solid var(--line); background: var(--panel); color: var(--pt); border-radius: 999px;
  padding: 9px 14px; font: 600 13px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-fchip span { margin-left: 4px; opacity: .6; font-weight: 500; }
.vl-fchip[aria-pressed="true"] { background: #f5c542; color: #111; border-color: #f5c542; }
.vl-fnew { border-style: dashed; }
.vl-factions, .vl-nactions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.vl-notes { display: flex; flex-direction: column; gap: 8px; }
.vl-note { display: grid; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--panel); color: var(--pt); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.vl-note:hover { border-color: #f5c542; }
.vl-note b { font: 600 16px/1.3 "Poppins", sans-serif; }
.vl-note span { font-size: 12.5px; color: var(--muted); }
.vl-note i { font-style: normal; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-s-none { padding: 30px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; line-height: 1.6; }
.vl-s-none span { font-size: 13px; }
.vl-s-meta { margin: -6px 0 6px; color: var(--muted); font-size: 13px; }
.vl-note-lines .vl-line:last-child { background: none; }
.vl-modal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; }
.vl-modal[hidden] { display: none; }
.vl-m-card { width: min(420px, 100%); display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: #16191e; color: #e9ebee; border: 1px solid #2f343d; }
.vl-m-card h3 { margin: 0; font: 700 18px/1.25 "Poppins", sans-serif; }
.vl-m-card label { display: grid; gap: 6px; font: 600 13px/1.2 "Poppins", sans-serif; color: #c9cdd3; }
.vl-in { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 10px; border: 1px solid #2f343d; background: #0f1115; color: #e9ebee; font: 500 15px/1.2 "Inter", sans-serif; }
.vl-in:focus { outline: none; border-color: #f5c542; }
.vl-in[hidden] { display: none; }
.vl-m-sub { margin: 0; font-size: 12.5px; color: #9aa0a8; }
.vl-m-b { display: flex; gap: 8px; }
.vl-m-b button { flex: 1; border: 1px solid #2f343d; background: #23272e; color: #e9ebee; border-radius: 999px; padding: 11px; font: 600 14px/1 "Poppins", sans-serif; cursor: pointer; }
.vl-m-b .vl-m-ok { background: #f5c542; color: #111; border-color: #f5c542; }
.vl-m-b .vl-danger { background: #e5484d; color: #fff; border-color: #e5484d; }
@media (max-width: 900px) { .vl-save, .vl-open-saved { padding: 10px 12px; font-size: 13px; } }
.vl-m-col { flex-direction: column; }
.vl-player { position: sticky; top: 0; z-index: 4; display: grid; gap: 6px; padding: 10px 0 12px; background: var(--bg, #111317); }
.vl-player audio { width: 100%; }
.vl-seekable { cursor: pointer; }
.vl-seekable:hover { background: var(--panel); }
.vl-note-lines .vl-line.vl-playing { background: #f5c54222; box-shadow: inset 3px 0 0 #f5c542; }
html.v-light .vl-player { background: var(--bg, #fff); }
.vl-nactions .vl-backup, .vl-backup-inline { background: #f5c542; color: #111; border-color: #f5c542; }
.vl-backup-inline { border: 0; border-radius: 999px; padding: 8px 14px; margin-left: 6px; font: 700 13px/1 "Poppins", sans-serif; cursor: pointer; }
/* saved conversations: folder list like Notes / Voice Memos */
.vl-s-top .vl-fnew { margin-left: auto; }
.vl-fgroup { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.vl-frow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--pt);
  text-align: left; cursor: pointer; font: 500 16px/1.25 "Poppins", sans-serif; }
.vl-frow:last-child { border-bottom: 0; }
.vl-frow:hover { background: #ffffff08; }
.vl-frow b { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-frow em { font-style: normal; color: var(--muted); font-size: 15px; }
.vl-fic { width: 26px; text-align: center; font-size: 20px; }
.vl-chev { color: var(--muted); font-size: 22px; line-height: 1; }
.vl-ftrash { color: var(--muted); }
.vl-danger-txt { color: #ff6b6b !important; }
html.v-light .vl-frow:hover { background: #0000000a; }
/* tap a word: meaning in this sentence first, then the dictionary */
.vl-pop-lbl { font: 700 10.5px/1 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #9aa0a8; margin: 2px 0 5px; }
.vl-pop-ctx .vl-pop-m { font-size: 16px; }
.vl-pop-note { margin-top: 4px; color: #d4d7dc; font-size: 13.5px; line-height: 1.4; }
.vl-pop-other { margin-top: 5px; color: #9aa0a8; font-size: 13px; }
.vl-pop-other b { color: #c9cdd3; font-weight: 600; }
.vl-pop-dict { margin-top: 10px; padding-top: 9px; border-top: 1px solid #2f343d; }
.vl-pop-d1 { color: #e9ebee; font-weight: 600; margin-bottom: 3px; }
.vl-pop-base { font: 500 13px/1 "Inter", sans-serif; color: #9aa0a8; margin-left: 4px; }

/* 🔊 in the Dicionário: just the speaker icon, no circle */
.vd-say, .vd-head .vd-say, .vd-list .vd-say { border: 0 !important; background: none !important; border-radius: 0; width: auto; height: auto; padding: 4px;
  display: inline-grid; place-items: center; color: var(--pt); cursor: pointer; line-height: 1; }
.vd-say { font-size: 22px; } .vd-head .vd-say { font-size: 28px; } .vd-list .vd-say { font-size: 18px; }
.vd-say:hover, .vd-say:focus-visible { color: #f5c542; }
.vd-more-dots { display: flex; gap: 5px; padding: 12px 2px 4px; }
.vd-more-dots i { width: 7px; height: 7px; border-radius: 50%; background: #f5c542; opacity: .35; animation: vdDot 1s infinite ease-in-out; }
.vd-more-dots i:nth-child(2) { animation-delay: .15s; } .vd-more-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes vdDot { 50% { opacity: 1; transform: translateY(-2px); } }
/* Dicionário → Vocabulário: one small pill in the header, nothing on the rows */
.vd-head { position: relative; flex-wrap: nowrap; }
.vd-add { flex: none; align-self: flex-start; margin-left: auto; border: 1px solid var(--line); background: none; color: var(--muted); border-radius: 999px;
  padding: 6px 11px; font: 600 12.5px/1 "Poppins", sans-serif; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.vd-add:hover { color: var(--pt); border-color: #f5c542; }
.vd-add.on { background: #f5c542; color: #111; border-color: #f5c542; }

/* ---------- one word card everywhere: the Dicionário card inside the bottom sheet ---------- */
.sheet.sh-dict { max-width: 760px; max-height: 82vh; padding-top: 10px; }
.sheet.sh-dict .sh-head { justify-content: flex-end; min-height: 0; margin-bottom: 2px; }
.sheet.sh-dict .sh-head > div:first-child, .sheet.sh-dict .sh-add, .sheet.sh-dict .sh-links { display: none; }
.sheet.sh-dict .vd-card { margin: 0; border: 0; padding: 4px 2px 8px; background: none; box-shadow: none; }
.sheet .vd-card li { margin: 0; font-size: inherit; line-height: inherit; }
.vd-ctx .vd-head { align-items: flex-start; }
.vd-base { font: 500 15px/1 "Inter", sans-serif; color: var(--muted); margin-left: 6px; }
.vd-here { margin-top: 4px; }
.vd-here-m { font: 600 19px/1.3 "Poppins", sans-serif; color: #f5c542; }
.vd-here-note { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--pt); opacity: .8; }
.vd-here .vd-more-dots { padding: 6px 0 0; }
.vd-gen { margin: 12px 0 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.vd-gen b { color: var(--pt); font-weight: 600; }
.vd-gen-lbl { font: 700 10.5px/1 "Poppins", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
html.v-light .vd-here-m { color: #a0700a; }
.vd-head > div:nth-child(2) { flex: 1 1 0; min-width: 0; }

/* the card inside the word sheet: tight and minimal, fits without scrolling */
.sheet.sh-dict { padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); }
.sheet.sh-dict .vd-head { gap: 10px; }
.sheet.sh-dict .vd-pt { font-size: 26px; line-height: 1.15; }
.sheet.sh-dict .vd-card h3 { margin: 12px 0 4px; }
.sheet.sh-dict .vd-list li { padding: 5px 0; gap: 8px; }
.sheet.sh-dict .vd-gen { margin: 10px 0 0; padding-top: 8px; }
.sheet.sh-dict .vd-here-m { font-size: 17px; }
.sheet.sh-dict .vd-lines { margin-top: 6px; }

/* on your Mac: dragging a card to a new place in its row */
.vrow .card.v-moving { opacity: .35; }
.vrow .card.v-drop-before, .vrow .card.v-drop-after { position: relative; }
.vrow .card.v-drop-before::before, .vrow .card.v-drop-after::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px;
  border-radius: 4px; background: #f5c542; box-shadow: 0 0 12px #f5c54299; z-index: 3; pointer-events: none; }
.vrow .card.v-drop-before::before { left: -9px; }
.vrow .card.v-drop-after::after { right: -9px; }

/* on your Mac: ✏️ rename a group (row title) */
.vrow-pen { margin-left: 8px; font-size: 15px; opacity: .8; cursor: pointer; align-self: center; padding: 2px 4px; border-radius: 6px; }
.vrow-pen:hover { background: #ffffff14; }
.vrow-pen:hover { opacity: 1; }
