/* NAONDE · Stories em cartões verticais (p-a1f7322a0e80.js) — 04/12/2026
   Modelo da referência com a identidade do NAONDE: 110 × 160 no computador, "Criar story" com fundo claro e o + azul,
   capa do story em cover, foto do autor no canto de cima com anel amarelo (não visto) ou claro (visto), nome embaixo
   sobre um degradê escuro. Lista horizontal sem barra visível; seta à direita (e à esquerda depois de rolar). */
.nd42-st.nd42-cartoes { margin: 10px 0 6px; padding: 0; border-bottom: 0; }
.nd42-st.nd42-cartoes .nd42-trilho { gap: 8px; padding: 2px 0 10px; scroll-padding: 0; }
.nd42-st.nd42-cartoes .nd42c { position: relative; flex: 0 0 auto; width: 110px; height: 160px; display: block; padding: 0; overflow: hidden; border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px; background: #e9e9ee; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); cursor: pointer; text-align: left; isolation: isolate; scroll-snap-align: start; }
.nd42-st.nd42-cartoes .nd42c:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }

/* capa */
.nd42c-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.nd42c:hover .nd42c-capa { }
.nd42c-texto { display: grid; place-items: center; padding: 12px 10px 34px; box-sizing: border-box; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center; overflow: hidden; }
.nd42c-texto span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.nd42c-sombra { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .66) 100%); }
.nd42c:hover .nd42c-sombra { background-color: rgba(0, 0, 0, .06); }

/* foto do autor no canto de cima, com anel */
.nd42c-av { position: absolute; z-index: 2; left: 8px; top: 8px; width: 40px; height: 40px; box-sizing: border-box; padding: 3px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd60a, #f2a900); }
.nd42c-av.visto { background: rgba(255, 255, 255, .7); }
.nd42c-av .nd42-foto { width: 100% !important; height: 100% !important; box-shadow: 0 0 0 2px #fff !important; font-size: 14px; }

/* nome embaixo */
.nd42c-nome { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); word-break: break-word; }
.nd42c-nome .nd42-ver { width: 12px; height: 12px; margin-left: 3px; }

/* Criar story */
.nd42-st.nd42-cartoes .nd42c-criar { display: flex; flex-direction: column; background: #fff; border-color: rgba(0, 0, 0, .08); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.nd42c-eu { flex: 1 1 auto; display: grid; place-items: center; min-height: 0; background: #e4e6eb center / cover no-repeat; color: #fff; font-size: 40px; font-weight: 700; transition: transform .25s ease; }
.nd42c-criar:hover .nd42c-eu { }
.nd42c-pe { position: relative; z-index: 1; flex: none; height: 46px; display: grid; place-items: end center; padding-bottom: 9px; box-sizing: border-box; background: #fff; }
.nd42c-pe b { color: #1d1d1f; font-size: 12.5px; font-weight: 700; }
.nd42c-mais { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: #007aff; color: #fff; box-shadow: 0 0 0 4px #fff; }

/* setas: no meio da altura do cartão (longe da foto e do nome); só no computador */
.nd42-st.nd42-cartoes .nd42-seta { top: 81px; width: 40px; height: 40px; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.nd42-st.nd42-cartoes .nd42-seta.dir { right: 6px; } .nd42-st.nd42-cartoes .nd42-seta.esq { left: 6px; }

/* celular: cartões proporcionais, sem setas, rolagem por toque */
@media (max-width: 600px) {
  .nd42-st.nd42-cartoes { margin: 8px 0 4px; }
  .nd42-st.nd42-cartoes .nd42-trilho { gap: 6px; padding: 2px 10px 10px; scroll-padding: 0 10px; }
  .nd42-st.nd42-cartoes .nd42c { width: 100px; height: 150px; border-radius: 11px; }
  .nd42c-av { width: 36px; height: 36px; left: 7px; top: 7px; }
  .nd42c-nome { font-size: 12.5px; left: 7px; right: 7px; bottom: 7px; }
  .nd42c-pe { height: 44px; }
}
@media (hover: none) { .nd42-st.nd42-cartoes .nd42-seta { display: none !important; } .nd42c:hover .nd42c-capa, .nd42c-criar:hover .nd42c-eu { transform: none; } }

/* modo escuro */
html.nd-escuro .nd42-st.nd42-cartoes .nd42c { border-color: rgba(255, 255, 255, .08); background: #2c2c2e; }
html.nd-escuro .nd42-st.nd42-cartoes .nd42c-criar, html.nd-escuro .nd42c-pe { background: #1c1c1e; }
html.nd-escuro .nd42c-pe b { color: #f5f5f7; }
html.nd-escuro .nd42c-mais { box-shadow: 0 0 0 4px #1c1c1e; }
html.nd-escuro .nd42c-eu:not([style]) { background-color: #3a3a3c; }
@media (prefers-reduced-motion: reduce) { .nd42c-capa, .nd42c-eu { transition: none; } }
