/* Tela do cliente — palco escuro da Tavek, petróleo (#19A89E, desde 07/11/2026) como única cor de ação. Celular primeiro (360–430 px), coluna de 480 px no desktop. */
:root {
  --fundo: var(--palco, #0a0b0d);
  --placa: #0D1D24;
  --placa-2: #14272F;
  --fio: rgba(255, 255, 255, .08);
  --fio-forte: rgba(255, 255, 255, .16);
  --texto: var(--palco-tinta, #f4f4f5);
  --texto-2: #a6a6b0;            /* 7,9:1 sobre o palco */
  --ambar: #19A89E;
  --ambar-claro: #8FE0D6;
  --ambar-fundo: rgba(25, 168, 158, .12);
  --ok: #34c77b;                  /* verde da marca clareado para leitura no escuro */
  --ok-fundo: rgba(52, 199, 123, .12);
  --cinza: #8a8a94;
  --perigo: #ff8f80;
  --perigo-cheio: #e5533f;
  --hashtag: #9fc5ff;
  --raio: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --titulo: "Archivo", "Inter", system-ui, sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); }
html.travado, html.travado body { overflow: hidden; }
body { background: var(--fundo); color: var(--texto); font: 400 16px/1.45 var(--corpo); -webkit-font-smoothing: antialiased; min-height: 100dvh; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--ambar-claro); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }

.ico { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- moldura ---------- */
.tela { max-width: 480px; margin: 0 auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); min-height: 100dvh; display: flex; flex-direction: column; }
.topo { padding: calc(14px + env(safe-area-inset-top)) 2px 6px; display: flex; align-items: center; }
.topo-logo { height: 22px; width: auto; }
main { flex: 1; }
.rodape { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 40px 0 8px; color: var(--texto-2); font-size: 12px; letter-spacing: .02em; }
.rodape img { height: 15px; width: auto; opacity: .85; }
.aviso-tela { padding: 64px 4px; color: var(--texto-2); }
.aviso-tela h1 { font: 700 24px/1.15 var(--titulo); color: var(--texto); margin-bottom: 10px; text-wrap: balance; }

/* ---------- perfil ---------- */
.perfil { display: flex; align-items: center; gap: 14px; padding: 22px 0 20px; }
.perfil h1 { font: 800 26px/1.05 var(--titulo); letter-spacing: -.02em; text-wrap: balance; }
.perfil-sub { color: var(--texto-2); font-size: 14px; margin-top: 4px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: #0F3D4C; }
.avatar--grande { width: 52px; height: 52px; box-shadow: 0 0 0 2px var(--fundo), 0 0 0 3.5px rgba(25, 168, 158, .55); }
.avatar--iniciais { display: grid; place-items: center; font: 700 13px/1 var(--titulo); color: #fff; letter-spacing: .02em; }
.avatar--grande.avatar--iniciais { font-size: 19px; }

/* ---------- faixa ---------- */
.faixa { display: flex; align-items: center; gap: 14px; padding: 18px 16px 18px 18px; border-radius: var(--raio);
  background: radial-gradient(120% 140% at 0% 0%, rgba(25, 168, 158, .2), rgba(25, 168, 158, .06) 60%), var(--placa);
  border: 1px solid rgba(25, 168, 158, .3); box-shadow: 0 10px 30px -18px rgba(25, 168, 158, .5); }
.faixa-texto { flex: 1; min-width: 0; }
.faixa h2 { font: 700 19px/1.2 var(--titulo); letter-spacing: -.01em; }
.faixa-n { color: var(--ambar); font-size: 24px; font-variant-numeric: tabular-nums; }
.faixa p { color: var(--ambar-claro); font-size: 14px; margin-top: 4px; }
.faixa-botao { flex: none; padding: 0 16px 0 18px; gap: 6px; }
.faixa-botao .ico { width: 18px; height: 18px; }
.faixa--ok { background: var(--placa); border-color: var(--fio); box-shadow: none; }
.faixa--ok p { color: var(--texto-2); }
.faixa-ok { width: 40px; height: 40px; border-radius: 50%; background: var(--ok-fundo); color: var(--ok); padding: 9px; flex: none; }
.faixa-ok svg { stroke-width: 2.6; }

/* ---------- botões ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 18px; border-radius: 14px;
  font-weight: 650; font-size: 16px; letter-spacing: -.005em; transition: transform .15s var(--ease), background-color .2s, border-color .2s, opacity .2s; }
.botao:active:not(:disabled) { transform: scale(.97); }
.botao--primario { background: var(--ambar); color: #03201D; }
.botao--primario:hover:not(:disabled) { background: #22BFB3; }
.botao--secundario { border: 1px solid var(--fio-forte); color: var(--texto); background: rgba(255, 255, 255, .03); }
.botao--secundario:hover:not(:disabled) { border-color: rgba(255, 255, 255, .32); }
.botao--perigo { border: 1px solid rgba(255, 143, 128, .45); color: var(--perigo); }
.botao--perigo-cheio { background: var(--perigo-cheio); color: #fff; }
.botao--largo { width: 100%; }
.botao:disabled { opacity: .45; }
.botao[aria-busy], [aria-busy] .botao { opacity: .7; }

/* ---------- calendário ---------- */
.calendario { margin-top: 18px; padding: 14px 12px 16px; border-radius: var(--raio); background: var(--placa); border: 1px solid var(--fio); }
.mes-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 10px; }
.mes-nome { font: 700 18px/1 var(--titulo); letter-spacing: -.01em; }
.mes-seta { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--texto); }
.mes-seta:hover:not(:disabled) { background: var(--placa-2); }
.mes-seta:disabled { opacity: .25; }
.semana, .grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.semana span { text-align: center; font-size: 11px; font-weight: 600; color: var(--texto-2); letter-spacing: .06em; padding-bottom: 6px; }
.dia { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  aspect-ratio: 1 / 1.08; border-radius: 12px; font-size: 15px; font-variant-numeric: tabular-nums; color: rgba(244, 244, 245, .42); }
.dia--com { color: var(--texto); background: rgba(255, 255, 255, .045); font-weight: 600; transition: background-color .2s, transform .15s var(--ease); }
.dia--com:hover { background: rgba(255, 255, 255, .08); }
.dia--com:active { transform: scale(.94); }
.dia--hoje { box-shadow: inset 0 0 0 1.5px rgba(244, 244, 245, .75); color: var(--texto); }
.dia--escolhido { background: var(--texto); color: #0a0b0d; }
.dia--escolhido:hover { background: #fff; }
.dia--escolhido.dia--hoje { box-shadow: inset 0 0 0 1.5px var(--texto), inset 0 0 0 3px #0a0b0d; }
.dia-n { line-height: 1; }
.pontos { display: flex; gap: 3px; height: 6px; }
.dia--fora { visibility: hidden; }

.ponto { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; position: relative; }
.ponto--espera { background: var(--ambar); }
.ponto--aprovado { background: var(--ok); }
.ponto--no-ar { background: var(--cinza); }
.ponto--refazendo { box-shadow: inset 0 0 0 1.5px var(--ambar); }
.ponto--tirado { box-shadow: inset 0 0 0 1.25px var(--cinza); }
.ponto--tirado::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--cinza); transform: rotate(-45deg); }
.dia--escolhido .ponto--no-ar, .dia--escolhido .ponto--tirado::after { background: #6b6b74; }
.dia--escolhido .ponto--tirado { box-shadow: inset 0 0 0 1.25px #6b6b74; }
.dia--escolhido .ponto--aprovado { background: #17985a; }
.dia--escolhido .ponto--espera { background: #12847C; }
.dia--escolhido .ponto--refazendo { box-shadow: inset 0 0 0 1.5px #12847C; }

.legenda-cores { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; padding: 12px 4px 0; border-top: 1px solid var(--fio); font-size: 12.5px; color: var(--texto-2); }
.legenda-cores li { display: inline-flex; align-items: center; gap: 6px; }
.legenda-cores .ponto { width: 8px; height: 8px; }
.legenda-cores .ponto--tirado::after { left: -1px; right: -1px; }

/* ---------- posts do dia ---------- */
.dia-lista { margin-top: 26px; scroll-margin-top: 16px; }
.dia-titulo { display: flex; align-items: center; gap: 8px; font: 700 18px/1.2 var(--titulo); letter-spacing: -.01em; margin: 0 2px 6px; }
.hoje-tag { font: 600 11px/1 var(--corpo); text-transform: uppercase; letter-spacing: .08em; color: #0a0b0d; background: var(--texto); padding: 4px 7px; border-radius: 6px; }
.dia-vazio { color: var(--texto-2); padding: 10px 2px; }
.linha { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 4px; text-align: left; border-bottom: 1px solid var(--fio); border-radius: 0; transition: background-color .2s; }
.dia-lista li:last-child .linha { border-bottom: 0; }
.linha:hover { background: rgba(255, 255, 255, .03); }
.mini { width: 56px; height: 70px; border-radius: 10px; object-fit: cover; flex: none; background: var(--placa-2); }
.mini--vazia { display: block; }
.linha-meio { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.linha-meta { font-size: 13px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.linha-tema { font-size: 15px; font-weight: 550; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.linha-seta { color: var(--texto-2); width: 20px; height: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--texto-2); }
.chip--espera { color: var(--ambar); }
.chip--aprovado { color: var(--ok); }

/* ---------- prévia (camada por cima, como o Instagram em modo escuro) ---------- */
.previa { position: fixed; inset: 0; z-index: 50; background: #000; }
.previa-dentro { height: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; background: #000; animation: subir .38s var(--ease) both; }
.previa-dentro--troca { animation: trocar .34s var(--ease) both; }
@keyframes subir { from { transform: translateY(36px); } }
@keyframes trocar { from { transform: translateX(28px); } }
@media (min-width: 560px) { .previa { background: rgba(5, 5, 7, .92); } .previa-dentro { border-inline: 1px solid var(--fio); } }

.previa-barra { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: calc(4px + env(safe-area-inset-top)) 4px 4px; border-bottom: 1px solid var(--fio); }
.previa-fechar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.previa-fechar:hover { background: var(--placa-2); }
.previa-titulo { text-align: center; display: flex; flex-direction: column; gap: 1px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.previa-formato { font-size: 12px; font-weight: 500; color: var(--texto-2); }
.previa-conta { font-size: 12px; font-weight: 600; color: var(--ambar-claro); text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.previa-rolagem { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.previa-coluna { padding-bottom: 20px; }

.pedido { margin: 14px 14px 4px; padding: 12px 14px; border-radius: 14px; background: var(--ambar-fundo); border: 1px solid rgba(25, 168, 158, .28); }
.pedido-quem { font-size: 12px; font-weight: 700; color: var(--ambar); text-transform: uppercase; letter-spacing: .06em; }
.pedido-texto { margin-top: 4px; font-size: 15px; white-space: pre-line; }

.ig { font-size: 14px; line-height: 1.38; }
.ig-topo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ig-nome { flex: 1; font-weight: 650; font-size: 14px; }
.ig-mais { width: 22px; height: 22px; }
.ig-mais svg { fill: currentColor; stroke: none; }
.ig-midia { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #111; overflow: hidden; }
.ig-midia > img { width: 100%; height: 100%; object-fit: cover; }
.ig-midia--vazia { display: grid; place-items: center; color: var(--texto-2); }
.ig-midia--reels { aspect-ratio: 9 / 16; width: min(100%, calc(76dvh * 9 / 16)); margin: 0 auto; border-radius: 0; }
.ig-video { width: 100%; height: 100%; object-fit: cover; background: #111; }
.ig-som { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px; border-radius: 0; }
.ig-som-ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: rgba(20, 20, 24, .72); color: #fff; }
.ig-som-ico svg { stroke-width: 2.2; }
.ig-som:focus-visible { outline-offset: -3px; }
.ig-dica { position: absolute; right: 52px; top: 19px; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); pointer-events: none; opacity: .9; }
.ig-som[aria-pressed="true"] ~ .ig-dica { display: none; }

.carrossel { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.carrossel::-webkit-scrollbar { display: none; }
.carrossel img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; -webkit-user-drag: none; }
.carrossel:focus-visible { outline-offset: -3px; border-radius: 0; }
.carrossel-conta { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 99px; background: rgba(18, 18, 20, .72); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.carrossel-seta { position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 250, 250, .85); color: #111; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.carrossel-seta .ico { width: 18px; height: 18px; }
.carrossel-seta .ico svg { stroke-width: 2.6; }
.carrossel-seta--antes { left: 10px; }
.carrossel-seta--depois { right: 10px; }
@media (hover: none) and (pointer: coarse) { .carrossel-seta { display: none; } }

.ig-acoes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 8px 10px 4px; }
.ig-acoes-esq { display: flex; gap: 14px; }
.ig-acoes-dir { display: flex; justify-content: flex-end; }
.ig-acoes .ico { width: 25px; height: 25px; }
.ig-acoes .ico svg { stroke-width: 1.9; }
.ig-pontos { display: flex; gap: 4px; }
.ig-pontos span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: background-color .2s; }
.ig-pontos span.ativo { background: #3897f0; }

.ig-legenda { position: relative; padding: 4px 12px 0; }
.ig-legenda-texto { white-space: pre-line; overflow-wrap: anywhere; max-height: calc(1.38em * 2); overflow: hidden; }
.ig-legenda.aberta .ig-legenda-texto { max-height: none; }
.ig-legenda b { font-weight: 650; }
.ig-hashtag { color: var(--hashtag); }
.ig-legenda-mais { position: absolute; right: 12px; bottom: 0; padding-left: 28px; color: var(--texto-2); background: linear-gradient(90deg, transparent, #000 26px); line-height: 1.38; font-size: 14px; }
.ig-legenda-mais span { color: #c9c9d1; }

/* ---------- abas por rede (Instagram | TikTok) ---------- */
.redes { padding: 12px 14px 10px; display: grid; gap: 8px; }
.redes-abas { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--placa); border: 1px solid var(--fio); }
.redes-aba { flex: 1; min-height: 40px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--texto-2); transition: background-color .2s, color .2s; }
.redes-aba[aria-pressed="true"] { background: var(--placa-2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--fio-forte); }
.redes-aba:hover:not([aria-pressed="true"]) { color: var(--texto); }
.redes-nota { font-size: 12.5px; color: var(--texto-2); text-align: center; text-wrap: balance; }

/* ---------- prévia no jeito do TikTok: tela cheia 9:16, tudo por cima do vídeo ---------- */
.tt { position: relative; width: min(100%, calc(72dvh * 9 / 16)); aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; background: #000; color: #fff; font-size: 14px; line-height: 1.35; }
.tt::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); pointer-events: none; }
.tt-video { width: 100%; height: 100%; object-fit: cover; }
.tt-fotos img { object-fit: contain; }
.tt-vazia { height: 100%; display: grid; place-items: center; color: var(--texto-2); }
.tt .ig-som { z-index: 1; padding-top: 48px; }
.tt .ig-dica { top: 55px; z-index: 1; }
.tt .carrossel-seta { z-index: 2; }
.tt .carrossel-seta--depois { right: 62px; } /* fora da coluna de ícones */
.tt-trilho { position: absolute; z-index: 2; right: 8px; bottom: 76px; display: flex; flex-direction: column; align-items: center; gap: 20px; pointer-events: none; }
.tt-trilho .ico { width: 34px; height: 34px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.tt-trilho .ico svg { fill: #fff; stroke: none; }
.tt-perfil { position: relative; margin-bottom: 4px; }
.tt-perfil .avatar { width: 44px; height: 44px; box-shadow: 0 0 0 1.5px #fff; }
.tt-seguir { position: absolute; left: 50%; bottom: -9px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; background: #fe2c55; color: #fff; font: 700 15px/1 var(--corpo); }
.tt-disco { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(#3a3a40 30%, #18181b 31%); animation: girar 7s linear infinite; }
.tt-disco .avatar { width: 22px; height: 22px; font-size: 9px; }
@keyframes girar { to { transform: rotate(1turn); } }
.tt-info { position: absolute; z-index: 2; left: 12px; right: 64px; bottom: 26px; display: grid; gap: 6px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); pointer-events: none; }
.tt-nome { font-weight: 700; font-size: 15px; }
.tt .ig-legenda { padding: 0; }
.tt .ig-hashtag { color: #fff; font-weight: 700; }
.tt .ig-legenda-mais { right: 0; color: #fff; font-weight: 650; background: none; padding-left: 4px; pointer-events: auto; }
.tt .ig-legenda-mais span { color: #fff; }
.tt .ig-legenda-texto { padding-right: 34px; }
.tt .ig-legenda.aberta .ig-legenda-texto { max-height: 9em; overflow-y: auto; padding-right: 0; pointer-events: auto; }
.tt-som { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.tt-som .ico { width: 15px; height: 15px; }
.tt-som span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tt-pontos { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.tt-pontos span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: background-color .2s; }
.tt-pontos span.ativo { background: #fff; }

/* ---------- rodapé de ações ---------- */
.previa-acoes { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: var(--fundo); border-top: 1px solid var(--fio); box-shadow: 0 -12px 24px -12px rgba(0, 0, 0, .8); }
.acoes-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acoes-linha .botao { padding: 0 10px; }
.acoes-nota { font-size: 13px; color: var(--texto-2); text-align: center; display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; }
.acoes-erro { font-size: 14px; color: var(--perigo); text-align: center; font-weight: 550; }
.acoes-rotulo { font: 700 16px/1.2 var(--titulo); }
.acoes-pergunta { font: 700 17px/1.3 var(--titulo); text-align: center; padding: 4px 8px; text-wrap: balance; }
.campo { width: 100%; min-height: 92px; resize: vertical; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--fio-forte); background: var(--placa); color: var(--texto); font: 16px/1.4 var(--corpo); }
.campo::placeholder { color: #8b8b95; }
.campo:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 3px rgba(25, 168, 158, .2); }
.acoes-selo { display: flex; justify-content: center; padding: 4px 0; }
.selo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--placa-2); font-weight: 650; font-size: 15px; color: var(--texto); }
.selo .ponto { width: 8px; height: 8px; }
.selo--aprovado { background: var(--ok-fundo); color: var(--ok); }
.selo--espera, .selo--refazendo { background: var(--ambar-fundo); color: var(--ambar-claro); }
.selo--pequeno { min-height: 0; padding: 3px 10px; font-size: 13px; }

.feito { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font: 700 18px/1 var(--titulo); color: var(--ok); animation: aparecer .32s var(--ease) both; }
.feito--mudar { color: var(--ambar-claro); }
.feito--tirar { color: var(--texto); }
.feito-ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: currentColor; }
.feito-ico svg { stroke: #0a0b0d; stroke-width: 3; }
.feito-ico .traco { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tracar .42s .08s var(--ease) forwards; }
@keyframes aparecer { from { transform: scale(.9); } }
@keyframes tracar { to { stroke-dashoffset: 0; } }

@media (min-width: 560px) {
  .tela { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .feito-ico .traco { stroke-dashoffset: 0; }
}

/* ---------- período: Dia · Semana · Mês ---------- */
.visoes { display: flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 14px; background: var(--placa); border: 1px solid var(--fio); }
.visao { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 650; font-size: 14px; color: var(--texto-2); transition: background-color .2s, color .2s; }
.visao[aria-selected="true"] { background: var(--texto); color: #0a0b0d; }
.periodo { margin-top: 12px; padding: 14px 12px 16px; border-radius: var(--raio); background: var(--placa); border: 1px solid var(--fio); }
.periodo .mes-nome { font-size: 17px; text-align: center; }
.grandes { display: grid; gap: 22px; }
.grande { display: grid; gap: 6px; width: 100%; text-align: left; border-radius: 14px; }
.grande-midia { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--placa-2); }
.grande-midia--video { aspect-ratio: 9 / 16; width: min(100%, calc(68dvh * 9 / 16)); margin: 0 auto; }
.capa { display: block; width: 100%; height: 100%; object-fit: cover; }
.capa--vazia, .media-capa.capa--vazia, .dia-capa.capa--vazia { background: var(--placa-2); }
.grande-midia .selo, .media-card .selo { background: rgba(10, 11, 13, .82); }
.grande-midia .selo { position: absolute; left: 10px; top: 10px; }
.grande-meta { font-size: 13px; color: var(--texto-2); font-variant-numeric: tabular-nums; padding: 0 2px; }
.grande-tema { font-size: 16px; font-weight: 600; line-height: 1.3; padding: 0 2px; }
.semana-lista { display: grid; gap: 18px; }
.semana-dia { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--titulo); margin: 0 2px 8px; }
.semana-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.media-card { display: grid; gap: 5px; align-content: start; text-align: left; border-radius: 12px; }
.media-capa-caixa { display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--placa-2); }
.media-capa { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-meta { font-size: 12px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.media-card .selo--pequeno { font-size: 11.5px; padding: 2px 8px; justify-self: start; }
.media-card .selo .ponto { display: none; }
/* mês: a capa do post no lugar das bolinhas */
.calendario .dia { overflow: hidden; }
.dia-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.dia--com .dia-n { position: relative; z-index: 1; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.dia--com { background: var(--placa-2); }
.dia--passado .dia-capa { opacity: .35; filter: grayscale(.7); }
.dia--espera { box-shadow: inset 0 0 0 2.5px var(--ambar); }
.dia--espera.dia--hoje { box-shadow: inset 0 0 0 2.5px var(--ambar), inset 0 0 0 4px #0a0b0d; }
.dia-mais { position: absolute; right: 3px; bottom: 3px; z-index: 1; font-size: 10px; font-weight: 700; padding: 1px 4px; border-radius: 6px; background: rgba(10, 11, 13, .8); color: #fff; }
.mes-dica { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 4px 0; border-top: 1px solid var(--fio); font-size: 12.5px; color: var(--texto-2); }
.mes-dica-anel { width: 14px; height: 14px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--ambar); }
.aviso-ver { grid-column: 1 / -1; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ambar-fundo); color: var(--ambar-claro); font-size: 13px; line-height: 1.35; }
.perfil { flex-wrap: wrap; }
.aviso-ver { flex-basis: 100%; }
.grande-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 2px; }
.grande-linha .grande-meta { padding: 0; }

/* Semana = grade do perfil (3 por linha) */
.grade-ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 3px; margin: 0 -4px; }
.grade-item { display: grid; gap: 4px; width: 100%; text-align: left; border-radius: 4px; }
.grade-capa { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--placa-2); border-radius: 4px; }
.grade-tipo { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.grade-tipo svg { stroke-width: 2; }
.grade-tipo .cheio { fill: currentColor; stroke: none; }
.grade-sinal { position: absolute; left: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.grade-sinal--ok { background: var(--ok); color: #0a0b0d; }
.grade-sinal--espera { background: var(--ambar); box-shadow: 0 0 0 2.5px rgba(10, 11, 13, .75), 0 1px 4px rgba(0, 0, 0, .55); }
.grade-sinal--refazendo { background: transparent; box-shadow: inset 0 0 0 2.5px var(--ambar), 0 0 0 2px rgba(10, 11, 13, .75); }
.grade-sinal-ico { width: 12px; height: 12px; }
.grade-sinal-ico svg { stroke-width: 3.2; }
.grade-quando { font-size: 12px; font-weight: 600; color: var(--texto-2); padding: 0 2px 4px; font-variant-numeric: tabular-nums; }
.grade-sinal--legenda { position: static; width: 14px; height: 14px; box-shadow: none; flex: none; }
.grade-sinal--legenda.grade-sinal--ok .grade-sinal-ico { width: 10px; height: 10px; }
.mes-dica .grade-sinal--legenda + * { margin-right: 6px; }
.grade-quando { display: flex; align-items: center; gap: 5px; }
.grade-quando .grade-sinal { position: static; width: 14px; height: 14px; box-shadow: none; flex: none; }
.grade-quando .grade-sinal--ok .grade-sinal-ico { width: 10px; height: 10px; }
