:root {
  --bg: #0d1120;
  --bg2: #151a30;
  --card: #1b2140;
  --line: #343c66;
  --txt: #eceefb;
  --dim: #aab2d8;
  --accent: #e0a458;
  --accent2: #6f9bf5;
  --danger: #e06a6a;
  --tabbar: #11152a;
}
html.light {
  --bg: #f4f5fa;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #c9cede;
  --txt: #1c2140;
  --dim: #4c5278;
  --accent: #9a5f1a;
  --accent2: #2f5fc4;
  --danger: #b33a3a;
  --tabbar: #e9ebf4;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: Roboto, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

/* ---- barra superior ---- */
.bc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.bc-header h1 { font-size: 1.1rem; margin: 0; flex: 1; }
.bc-home {
  color: var(--txt);
  text-decoration: none;
  font-size: 1.25rem;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
button.bc-home { font-size: 1.5rem; line-height: 1; }

/* ---- barra de navegação inferior ---- */
.bc-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  background: var(--tabbar);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bc-tabs a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  min-width: 0;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  border-top: 2px solid transparent;
}
.bc-tabs a .ti { display: inline-flex; }
.bc-tabs a .ti svg { width: 24px; height: 24px; }
.bc-tabs a.on {
  color: var(--accent);
  border-top-color: var(--accent);
  font-weight: 700;
}
.bc-tabs a:active { background: rgba(128, 140, 200, 0.12); }

/* ---- hero da home ----
   Gradiente original (sem imagem externa): arcos discretos em SVG inline. */
.hero {
  margin: -16px -16px 14px;
  padding: 34px 20px 26px;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(224, 164, 88, 0.28) 0%, rgba(224, 164, 88, 0) 55%),
    linear-gradient(160deg, #1c2a52 0%, #141b38 60%, #10152c 100%);
  color: #f2f4ff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* v0.10: foto do Túmulo do Jardim (CC0) sob overlay */
.hero { min-height: 128px; display:flex; flex-direction:column; justify-content:center; align-items:center;
  background:
    linear-gradient(180deg, rgba(16,21,44,.38) 0%, rgba(16,21,44,.74) 100%),
    url("/app/tumulo.jpg") 18% 66% / cover no-repeat,
    linear-gradient(160deg, #1c2a52 0%, #141b38 100%); }
html.light .hero {
  background:
    linear-gradient(180deg, rgba(30,52,120,.34) 0%, rgba(30,52,120,.72) 100%),
    url("/app/tumulo.jpg") 18% 66% / cover no-repeat,
    linear-gradient(160deg, #3f6bd8 0%, #27408c 100%); }
.hero .brand, .hero .sub2 { text-shadow: 0 2px 8px rgba(0,0,0,.55); }
html.light .hero__old {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, #3f6bd8 0%, #2f4fa8 60%, #27408c 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.4'%3E%3Ccircle cx='30' cy='40' r='16'/%3E%3Cpath d='M70 100q20 -26 44 0'/%3E%3Ccircle cx='114' cy='100' r='3'/%3E%3Ccircle cx='70' cy='100' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero > * { position: relative; }
.hero .brand { font-size: 1.85rem; font-weight: 800; letter-spacing: 0.5px; }
.hero .brand span { color: var(--accent); }
html.light .hero .brand span { color: #ffd9a0; }
.hero .sub2 { color: rgba(242, 244, 255, 0.75); font-size: 0.85rem; margin-top: 2px; }

/* ---- grade de azulejos (home) ----
   Cada cor é um matiz suave próprio; ícone SVG original na cor. */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 118px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 14px 8px;
  background: var(--card);
  color: var(--txt);
}
.tile:active { transform: scale(0.97); }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.tile .ic svg { width: 26px; height: 26px; }
.tile.c1 .ic { background: rgba(224, 164, 88, 0.16); color: #e0a458; }
.tile.c2 .ic { background: rgba(111, 155, 245, 0.16); color: #6f9bf5; }
.tile.c3 .ic { background: rgba(94, 190, 140, 0.16); color: #5ebe8c; }
.tile.c4 .ic { background: rgba(178, 122, 236, 0.16); color: #b27aec; }
.tile.c5 .ic { background: rgba(232, 118, 118, 0.16); color: #e87676; }
html.light .tile { box-shadow: 0 4px 14px rgba(38, 52, 110, 0.08); border-color: transparent; }

/* ---- grade 3 colunas estilo "Mais" ----
   Cartões brancos arredondados com sombra suave e ícone colorido. */
.mais-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; align-items: start; }
.mais-item { text-align: center; text-decoration: none; color: var(--txt); display: block; }
.mais-item .mc {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
html.light .mais-item .mc { background: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(38, 52, 110, 0.12); }
.mais-item .mc svg { width: 34px; height: 34px; }
.mais-item:active .mc { transform: scale(0.96); }
.mais-item .ml { display: block; margin-top: 8px; font-size: 0.82rem; font-weight: 600; line-height: 1.25; min-height: 2.5em; }
.ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #14142b;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: 20px 20px 0 0;
  padding: 2px 0;
}
.card, .btn { box-shadow: none; }
html.light .card { box-shadow: 0 4px 14px rgba(38, 52, 110, 0.07); border-color: transparent; }
html.light .btn { border-color: var(--line); }

main { padding: 16px; max-width: 720px; margin: 0 auto; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.votd-ref { color: var(--accent); font-weight: 700; margin-top: 8px; }

.btn {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  margin: 10px 0;
  background: var(--card);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { opacity: 0.75; transform: scale(0.99); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #14142b;
  font-weight: 700;
  text-align: center;
}
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn .sub { display: block; font-size: 0.82rem; color: var(--dim); margin-top: 2px; }
.btn.primary .sub { color: #33345a; }

.searchrow { display: flex; gap: 8px; }
input[type="text"], input[type="time"], textarea, select {
  background: var(--bg2);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
  min-height: 48px;
}
select { padding: 10px 12px; }
textarea { min-height: 220px; resize: vertical; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }

/* ---- versículos ---- */
.verse {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  column-gap: 6px;
  row-gap: 8px;
  border-radius: 8px;
}
.verse .vn { grid-column: 1; grid-row: 1; color: var(--accent2); font-weight: 700; font-size: 0.85em; padding-top: 3px; }
.verse .vt { grid-row: 1; }
.verse .va { grid-row: 2; }
.verse .vt { grid-column: 2; min-width: 0; overflow-wrap: break-word; }
.verse .va { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.verse .va button, .chipbtn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--dim);
  font-size: 1rem;
  min-width: 44px;
  min-height: 40px;
  padding: 4px 8px;
  cursor: pointer;
}
.verse .va button:active { background: rgba(128, 140, 200, 0.15); }
.verse .va button.on { color: var(--accent); border-color: var(--accent); }
@keyframes bcFlash {
  0% { background: rgba(224, 164, 88, 0.35); }
  100% { background: transparent; }
}
.hl { animation: bcFlash 2s ease-out; }

.navrow { display: flex; gap: 8px; margin: 12px 0; }
.navrow .btn { margin: 0; text-align: center; display: flex; align-items: center; justify-content: center; }

.listitem {
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  min-height: 52px;
}
.listitem:active { background: rgba(128, 140, 200, 0.1); }
.listitem .grow { flex: 1; min-width: 0; }
.muted { color: var(--dim); font-size: 0.88rem; }
a { color: var(--accent2); }

#bc-toast {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 20px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 999;
  max-width: 90%;
  text-align: center;
}
#bc-toast.show { opacity: 1; }

.chk { width: 26px; height: 26px; accent-color: var(--accent); flex-shrink: 0; }
.badge {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.8rem;
  color: var(--dim);
  display: inline-block;
}
h2 { font-size: 1.08rem; }
label.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }

/* ---- tamanho da letra: predefinições e botões de passo ---- */
.font-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.font-chip {
  min-height: 44px;
  padding: 10px 4px;
  border-radius: 10px;
  background: var(--bg2);
  color: var(--txt);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.font-chip.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #14142b;
  font-weight: 700;
}
.font-step {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg2);
  color: var(--txt);
  border: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
}
.font-chip:active, .font-step:active { opacity: 0.75; }
input[type="range"] { flex: 1; min-height: 40px; }

/* ---- dica de boas-vindas ---- */
.hint {
  border: 1px dashed var(--accent);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: rgba(224, 164, 88, 0.08);
}
.hint .x {
  float: right;
  background: none;
  border: 1px solid var(--line);
  color: var(--dim);
  border-radius: 8px;
  min-width: 36px;
  min-height: 36px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---- barra de progresso ---- */
.pbar {
  height: 10px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin: 8px 0;
}
.pbar > div {
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
  transition: width 0.3s;
}

/* ---- esqueleto de carregamento ---- */
@keyframes bcPulse { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
.skel { animation: bcPulse 1.4s ease-in-out infinite; color: var(--dim); }

/* ---- painel inferior (anotações) ---- */
.sheet { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100; }
.sheet > div {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
}

/* ---- v0.5: novos azulejos ---- */
.tile.c6 .ic { background: rgba(90, 200, 216, 0.16); color: #5ac8d8; }
.tile.c7 .ic { background: rgba(232, 118, 155, 0.16); color: #e8769b; }

/* ---- Manual de Cerimonias ---- */
.cer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--txt);
  min-height: 64px;
}
.cer-item:active { background: rgba(128, 140, 200, 0.1); }
.cer-item .grow { flex: 1; min-width: 0; }
.cer-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.cer-thumb svg { width: 44px; height: 44px; }
.cer-hero { text-align: center; }
.cer-art svg { width: 180px; height: 120px; }
.step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .grow { flex: 1; min-width: 0; }
.stepn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.passitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--txt);
}
.passitem:last-child { border-bottom: none; }
.passitem .grow { flex: 1; min-width: 0; }
a.passitem:active { background: rgba(128, 140, 200, 0.1); }
.pray {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
}

/* ---- Versiculos por tema ---- */
.tema-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--txt);
}
.tema-item:active { background: rgba(128, 140, 200, 0.1); }
.tema-item .grow { flex: 1; min-width: 0; }
.tema-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.themev {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.themev .vtext { margin: 4px 0 10px; }
.themev .vref { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.themev .vact { display: flex; gap: 8px; }
.themev .vact a, .themev .vact button {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--txt);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 0.88rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

/* ---- Imagem do versiculo ---- */
.art-preview {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
  margin: 10px 0;
}
.style-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.style-chip {
  width: 66px;
  height: 84px;
  border-radius: 10px;
  border: 2px solid var(--line);
  cursor: pointer;
  padding: 0;
}
.style-chip.on { border-color: var(--accent); }

/* leitura em voz alta */
.ab-wrap { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:8px 0 12px;
  background:var(--card); border:1px solid var(--line); border-radius:12px; padding:8px 10px; }
.ab-btn { border:1px solid var(--line); background:var(--bg); color:var(--fg);
  border-radius:9px; padding:7px 12px; font-size:15px; }
.ab-play { background:var(--accent); color:#fff; border-color:var(--accent); font-weight:600; }
.ab-note { color:var(--muted); font-size:12.5px; }
.ab-pos { color:var(--muted); font-size:13px; }
.ab-sleep { background:var(--bg); color:var(--fg); border:1px solid var(--line);
  border-radius:9px; padding:6px 8px; font-size:13px; }
.verse.reading { background:var(--accent); background:color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius:10px; }

/* descrição secundária nos itens do Mais */
.mais-item .md { display:block; color:var(--muted); font-size:12.5px; font-weight:400; margin-top:2px; line-height:1.3; }
.mais-item .ml { min-width:0; }

.xcross { width: .78em; height: .78em; vertical-align: -.06em; margin-left: 4px; color: #ffd9a0; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }

/* ---- sino e menu de 3 pontos (0.13) ---- */
.bc-topact { display: flex; gap: 8px; align-items: center; position: relative; }
.bc-ia { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--txt); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-decoration: none; }
.bc-ia svg { width: 22px; height: 22px; }
.bc-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 700; align-items: center; justify-content: center; }
.bc-menu { position: absolute; top: 48px; right: 0; width: 250px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 120; overflow: hidden; }
.bc-menu a, .bc-menu button { display: block; width: 100%; text-align: left; padding: 14px 16px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--txt); font-size: 1rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.bc-menu > :last-child { border-bottom: 0; }
.bc-homebar { display: flex; justify-content: flex-end; margin-bottom: 4px; }

/* ---- 0.14: contorno mais visível nos ícones de ação ---- */
.verse .va button, .bc-ia, .bc-home, .chipbtn { border-width: 1.5px; border-color: #5b6498; }
html.light .verse .va button, html.light .bc-ia, html.light .bc-home, html.light .chipbtn {
  border-color: #3c4580; color: #1c2140; background: #fff;
}
html.light .verse .va button.on { color: var(--accent); border-color: var(--accent); }
html.light .verse .va button svg, html.light .bc-ia svg { stroke-width: 2; }

/* v0.15 card Mais */
.tile.wide { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; min-height: 76px; padding: 14px 16px; margin-top: 2px; }
.tile.wide .ic { flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid currentColor; }
.tile.c8 .ic { background: rgba(232, 118, 118, 0.16); color: #e87676; }
.tile.wide .wt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tile.wide .wt b { font-size: 1rem; }
.tile.wide .wt small { font-weight: 400; font-size: 0.82rem; line-height: 1.3; color: var(--dim); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.wide .chev { font-size: 1.8rem; line-height: 1; opacity: 0.6; }
html.light .tile.wide { border: 1px solid #c9cfe6; }
html.light .tile.wide .ic { color: #c0392b; background: #fdeceb; border-color: #c0392b; }
html.light .tile.wide .wt small { color: #4a5278; }

/* v0.15 mini player flutuante da leitura (parar sempre visivel) */
#ab-float { position: fixed; left: 10px; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 9000; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
#ab-float .abf-t { flex: 1; font-size: .85rem; color: var(--dim); min-width: 0; }
#ab-float button { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--txt); font-weight: 700; font-size: .9rem; }
#ab-float button.abf-stop { background: #c0392b; border-color: #c0392b; color: #fff; }
html.light #ab-float { border-color: #3c4580; }
html.light #ab-float button { border-color: #3c4580; color: #1c2140; background: #fff; }
html.light #ab-float button.abf-stop { background: #c0392b; border-color: #c0392b; color: #fff; }

/* v0.15 cabecalho da Inicio: sino e menu dentro do banner, sem faixa clara */
main { position: relative; }
.bc-homebar { position: absolute; top: 10px; right: 12px; margin: 0; z-index: 5; }
.hero { padding-top: 54px; min-height: 150px; }
.hero .brand { font-size: 1.75rem; }
/* v0.15 cabecalho com 3 acoes cabe em 360px */
.bc-header { gap: 6px; padding-left: 8px; padding-right: 8px; }
.bc-header h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.bc-header .bc-home { width: 40px; height: 40px; flex: 0 0 40px; }
.bc-topact { flex: 0 0 auto; gap: 6px; }
.bc-topact .bc-ia { width: 40px; height: 40px; }

/* v0.16 card Mais dentro da grade (8o cartao) */
.tile.c8 .ic { background: rgba(232, 118, 118, 0.16); color: #e87676; border: 2px solid currentColor; }
.tile .tsub { font-weight: 400; font-size: .72rem; line-height: 1.25; color: var(--dim); margin-top: -4px; }
html.light .tile.c8 .ic { color: #c0392b; background: #fdeceb; border-color: #c0392b; }
html.light .tile .tsub { color: #4a5278; }

/* v0.29: ícones 3D nos cartões */
.tile .ic { width: 52px; height: 52px; border-radius: 16px; }
.tile .ic svg { width: 40px; height: 40px; }
.mais-item .mc svg { width: 46px; height: 46px; }

/* v0.30: ícones 3D na barra de baixo e na barra de cima */
.bc-ia svg, .bc-tabs svg { stroke-width: 1; }
html.light .bc-ia svg { stroke-width: 1; }
.bc-ia svg { width: 28px; height: 28px; }
#bc-dots svg { width: 24px; height: 24px; }
.bc-tabs a .ti svg { width: 30px; height: 30px; transition: transform .15s, opacity .15s, filter .15s; opacity: .75; filter: saturate(.6); }
.bc-tabs a.on .ti svg { opacity: 1; filter: none; transform: translateY(-1px) scale(1.1); }
.bc-tabs a.on { background: rgba(111, 155, 245, 0.12); }
html.light .bc-tabs a.on { background: rgba(60, 69, 128, 0.10); }
.bc-tabs a { min-height: 62px; }
