/*
Mural da secao Acervo (fim do index, tarefa 40). Reune projetos menores e
experimentos num "quadro" de itens sobrepostos, sem roubar a atencao dos
artigos: fica abaixo da dobra, os itens aparecem uma vez quando o mural
entra na tela e depois ficam parados; os videos so tocam quando o mural
esta em foco (js/mural.js).

O palco tem largura de desenho fixa (880px, tarefa 47 "Acervo contido") e
e escalado para caber na janela — por isso as medidas dos itens abaixo sao
em px "de desenho". Prototipos: _private/scratch/teste-mural.html (mural
original) e _private/scratch/acervo-contido/ (versao contida).
*/
:root {
  --mural-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mural-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px -8px rgba(0, 0, 0, 0.14);
  --mural-shadow-hot: 0 2px 4px rgba(0, 0, 0, 0.06), 0 24px 48px -12px rgba(0, 0, 0, 0.24);
  --paper: #f7f2df;    /* post-it: papel claro nos dois temas */
  --paper-ink: #5b5340;
}

/* Rotulo + descricao de secao: mesmo padrao em Artigos, Ensaios e Acervo.
   4px rotulo -> descricao (mesmo bloco), 24px descricao -> conteudo. */
.section-label.has-desc {
  margin-bottom: 4px;
}

/* No index os titulos de secao (Artigos, Ensaios, Acervo) usam a cor do
   corpo do texto, em vez do cinza secundario (tarefa 47). Este arquivo so
   e carregado no index, entao o resto do site nao muda. */
.section-label {
  color: var(--color-ink);
}

.section-desc {
  color: var(--color-ink-muted);
  font-size: var(--text-body);
  margin-bottom: 24px;
}

/* O mural fica fora do .main (para poder ser mais largo que a coluna), mas
   segue o ritmo de 40px entre secoes. */
.main:has(+ .mural) {
  padding-bottom: 0;
}

.mural {
  margin-top: 40px;
  padding-bottom: 96px;
}

.mural__head {
  width: var(--main-width);
  margin-inline: auto;
}

.mural__fit {
  position: relative;
  margin-inline: auto;
}

.mural__stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0; /* largura e altura de desenho vem do js/mural.js */
}

/* --- item: --r e a rotacao do desenho e --hn a inclinacao do hover (o item
   so inclina; nao segue o cursor nem empurra os vizinhos).
   Entrada unica: o item comeca invisivel, desfocado e 8px abaixo; o JS poe
   .is-in quando o mural aparece, com o atraso de cada item em --d (ordem de
   leitura). Depois disso nada se move com a rolagem. */
.m-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  z-index: var(--z);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transform: rotate(calc(var(--r) + var(--hn, 0deg)));
  opacity: 0;
  filter: blur(8px);
  translate: 0 8px;
  transition:
    transform 0.28s var(--mural-ease),
    opacity 0.45s ease-out var(--d, 0ms),
    filter 0.45s ease-out var(--d, 0ms),
    translate 0.45s ease-out var(--d, 0ms);
  will-change: transform;
}

.m-item.is-in {
  opacity: 1;
  filter: none;
  translate: 0 0;
}

.m-item.is-hot {
  z-index: 300;
}

/* toque: o item "afunda" 3% ao ser pressionado, como os cards e links do
   site (sem hover no celular, e o unico retorno antes do overlay abrir) */
.m-item:active {
  transform: rotate(calc(var(--r) + var(--hn, 0deg))) scale(0.97);
}

.m-item.is-dragging {
  transition: none;
  cursor: grabbing;
  z-index: 400;
}

.m-item:focus-visible {
  outline: none;
}

.m-item:focus-visible .m-item__body {
  outline: 2px solid var(--color-link);
  outline-offset: 4px;
}

.m-item__body {
  display: block;
  position: relative;
  box-shadow: var(--mural-shadow);
  transition: box-shadow 0.4s var(--mural-ease);
}

.m-item.is-hot .m-item__body {
  box-shadow: var(--mural-shadow-hot);
}

.m-item video,
.m-item img {
  display: block;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* --- formatos de item ---
   Catalogo visual de todos os formatos (ativos e arquivados):
   _private/scratch/galeria-formatos.html (consulta interna). */

/* Janela de navegador (sites / landing pages). O video e recortado so na
   area da pagina, sem o fundo cinza nem a barra gravada (a janela ja tem a
   sua). Area util de projeto-3.mp4 (560x316): x 73-478, y 22-310. */
.k-window { background: var(--color-surface); border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border-soft); }
.k-window__bar { display: flex; align-items: center; gap: 4px; padding: 8px; font-size: 12px; color: var(--color-ink-muted); }
.k-window__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.k-window__bar b { font-weight: 400; margin-left: 8px; }
.k-window__bar .k-window__icon { width: 16px; height: 16px; margin-left: auto; object-fit: contain; } /* marca do projeto no canto direito */
.k-window__crop { display: block; position: relative; overflow: hidden; aspect-ratio: 406 / 289; }
.m-item__body .k-window__crop video {
  position: absolute; max-width: none; object-fit: fill;
  width: 137.93%; height: 109.34%; left: -17.98%; top: -7.61%;
}

/* Celular (fluxos de app): moldura fina e notch colado no topo. Borda de 3px
   e notch de 30% x 8px (tarefa 47; antes 6px e 44% x 14px). O video e um
   arquivo so com a tela (img/acervo/pix-tela.mp4, 292x630), recortado do
   original em 1080p. Variantes: _private/scratch/acervo-contido/celular.html */
.k-phone { background: #111; border-radius: 17px; padding: 3px; } /* raio externo = raio da tela + borda (14 + 3) */
.k-phone__screen { display: block; position: relative; overflow: hidden; border-radius: 14px; /* acompanha os cantos da tela gravada no video */ aspect-ratio: 292 / 630; background: #fff; }
.m-item__body .k-phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.k-phone::after { content: ""; position: absolute; top: 3px; left: 50%; translate: -50% 0; width: 30%; height: 8px; background: #111; border-radius: 0 0 6px 6px; }

/* MacBook Pro (serie M) em SVG (projetos web/desktop): o video fica por
   baixo do desenho, na area da tela vazada (cantos internos arredondados). Tela de projeto-1.mp4
   (560x316): x 92-467, y 23-266 — mesma proporcao da tela do SVG (1,54).
   Sombra em drop-shadow para seguir o contorno do notebook. */
.k-mac { aspect-ratio: 400 / 248; filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.18)); transition: filter 0.4s var(--mural-ease); }
.m-item__body.k-mac { box-shadow: none; }
.m-item.is-hot .k-mac { filter: drop-shadow(0 16px 20px rgb(0 0 0 / 0.26)); }
.m-item.is-hot .m-item__body.k-mac,
.m-item.is-hot .m-item__body.k-dither { box-shadow: none; }
.k-mac__screen { position: absolute; left: 8%; top: 3.226%; width: 84%; height: 87.903%; overflow: hidden; background: #000; }
.m-item__body .k-mac__screen video {
  position: absolute; max-width: none; object-fit: fill;
  width: 148.94%; height: 129.51%; left: -24.47%; top: -9.43%;
}
.k-mac svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Blueprint (formato basico de item com imagem): folha azul quadriculada,
   imagem "projetada" no papel, cotas de medida e carimbo de titulo. */
.k-blueprint {
  --bp: #1d4f91; --bp-line: rgb(255 255 255 / 0.10); --bp-line-strong: rgb(255 255 255 / 0.18); --bp-ink: #e3edff;
  padding: 28px 16px 12px 28px; color: var(--bp-ink); border-radius: 2px;
  font: 10px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.04em; text-transform: uppercase;
  background:
    linear-gradient(var(--bp-line-strong) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--bp-line-strong) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(var(--bp-line) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 8px 8px,
    var(--bp);
}
html.theme-dark .k-blueprint { --bp: #173f75; }
.k-blueprint__img { display: block; position: relative; outline: 1px dashed rgb(227 237 255 / 0.7); outline-offset: 3px; }
.k-blueprint__img img { aspect-ratio: 4 / 3; mix-blend-mode: luminosity; opacity: 0.88; filter: contrast(1.1); }
.k-blueprint__dim { position: absolute; display: grid; place-items: center; }
.k-blueprint__dim::before, .k-blueprint__dim::after { content: ""; position: absolute; background: var(--bp-ink); }
.k-blueprint__dim b { position: relative; font-weight: 400; background: var(--bp); padding: 0 4px; }
.k-blueprint__dim--x { left: 0; right: 0; top: -20px; height: 8px; border-top: 1px solid var(--bp-ink); translate: 0 4px; }
.k-blueprint__dim--x::before, .k-blueprint__dim--x::after { top: -5px; width: 1px; height: 9px; }
.k-blueprint__dim--x::before { left: 0; }
.k-blueprint__dim--x::after { right: 0; }
.k-blueprint__dim--x b { top: -10px; }
.k-blueprint__dim--y { top: 0; bottom: 0; left: -20px; width: 8px; border-left: 1px solid var(--bp-ink); translate: 4px 0; }
.k-blueprint__dim--y::before, .k-blueprint__dim--y::after { left: -5px; width: 9px; height: 1px; }
.k-blueprint__dim--y::before { top: 0; }
.k-blueprint__dim--y::after { bottom: 0; }
.k-blueprint__dim--y b { left: -4px; writing-mode: vertical-rl; rotate: 180deg; padding: 4px 0; }
.k-blueprint__tb { display: grid; grid-template-columns: 1fr auto; margin-top: 12px; border: 1px solid rgb(227 237 255 / 0.7); }
.k-blueprint__tb b { grid-column: 1 / -1; font-weight: 600; padding: 4px 8px; border-bottom: 1px solid rgb(227 237 255 / 0.7); }
.k-blueprint__tb small { font-size: 10px; padding: 4px 8px; opacity: 0.8; }
.k-blueprint__tb small + small { border-left: 1px solid rgb(227 237 255 / 0.7); }

/* Dithering: miniatura viva do fundo do site (js/dither-bg.js, montada pelo
   js/mural.js), so os pontos e o giro — sem fundo, borda ou sombra. Usa os
   mesmos tons claros do fundo da pagina (--dither-1..4). */
.k-dither { aspect-ratio: 1; overflow: hidden; background: none; }
.m-item__body.k-dither { box-shadow: none; }
.k-dither canvas { display: block; image-rendering: pixelated; }
/* O tom mais claro dos pontos e quase branco e opaco: sobre os vizinhos
   virava um "ruido" claro. Com multiply (tema claro) o branco some e so os
   tons escuros aparecem; no tema escuro o inverso, com screen. O blend fica
   no .m-item porque o proprio item isola o que esta dentro dele. */
.m-item--dither { mix-blend-mode: multiply; }
html.theme-dark .m-item--dither { mix-blend-mode: screen; }

/* Icone de app (experimentos que viraram app): quadrado arredondado com o
   icone real no centro; fundo e tamanho do icone variam por app. */
.m-item__body.k-app {
  --app-bg: #fff; --app-glyph: 64%;
  aspect-ratio: 1; border-radius: 22.5%; overflow: hidden;
  display: grid; place-items: center; background: var(--app-bg);
}
.m-item__body.k-app::after { /* contorno sutil, como nos icones do sistema */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.m-item__body.k-app img { width: var(--app-glyph); height: auto; aspect-ratio: 1; object-fit: contain; }
.m-item__body.k-app--see { --app-bg: #fff; --app-glyph: 62%; }
.m-item__body.k-app--alttab { --app-bg: linear-gradient(160deg, #3a3a3c, #1c1c1e); --app-glyph: 72%; }
.m-item__body.k-app--notation { --app-bg: linear-gradient(160deg, #3a3a3c, #1c1c1e); --app-glyph: 72%; }
.m-item__body.k-app--trackball { --app-bg: linear-gradient(160deg, #f4f4f2, #dcdcd8); --app-glyph: 74%; }
.k-app--trackball img { filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.25)); }

/* Selo da marca: preto no tema claro, claro no tema escuro */
.k-badge { aspect-ratio: 1; border-radius: 50%; background: #0e0e0e; color: #fdfdfd; display: grid; place-items: center; }
html.theme-dark .k-badge { background: #fdfdfd; color: #0e0e0e; }
.k-badge svg { width: 64%; }

/* Post-it (papel claro mesmo no tema escuro, como um papel de verdade).
   A altura segue o texto, sem sobra no fim: com 200px de largura a nota da
   lista fica quase quadrada (200 x 184px). */
.k-note { background: var(--paper); color: var(--paper-ink); padding: 24px 16px 20px; border-radius: 2px; font-style: italic; font-size: 16px; line-height: 1.4; }
.k-note::before { content: ""; position: absolute; top: -8px; left: 50%; width: 56px; height: 16px; translate: -50% 0; rotate: -3deg; background: rgb(255 255 255 / 0.55); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04); }
/* variante lista: titulo + itens numerados alinhados a esquerda do titulo.
   Nota 15% menor (200px; tarefa 47): texto 12/14px e margens 20/12/12px. */
.k-note--list { font-style: normal; font-size: 12px; padding: 20px 12px 12px; }
.k-note--list strong { display: block; font-style: italic; font-weight: 600; font-size: 14px; line-height: 1.25; margin-bottom: 8px; }
.k-note--list ol { list-style: none; counter-reset: n; display: grid; gap: 2px; margin: 0; padding: 0; }
.k-note--list li { counter-increment: n; display: flex; gap: 8px; }
.k-note--list li::before { content: counter(n) "."; min-width: 16px; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* Recomendacao de artigo: fonte, titulo, autor e o porque em uma linha */
.k-rec { background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: 12px; padding: 12px 16px 16px; font-size: 14px; line-height: 1.4; }
.k-rec__src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-ink-muted); margin-bottom: 8px; }
.k-rec__src i { width: 16px; height: 16px; border-radius: 4px; background: var(--color-ink); color: var(--color-bg); font-size: 10px; font-weight: 600; line-height: 16px; font-style: normal; text-align: center; }
.k-rec__src em { margin-left: auto; font-style: normal; color: var(--color-link); font-weight: 500; }
.k-rec strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.k-rec small { display: block; font-size: 12px; color: var(--color-ink-muted); margin-top: 4px; }
.k-rec q { display: block; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--color-link); color: var(--color-ink); font-style: italic; quotes: none; }

/* Livro: capa dura vista de frente. Por cima da capa, lombada escura, vinco
   da dobra (sulco escuro + aresta clara) e um veu preto leve; embaixo e a
   direita, o miolo de paginas; fita marcadora saindo por baixo.
   .k-book--cover = capa real (imagem, sem texto). */
.k-book {
  --book: #2f4a6b; --book-ink: #f3ead6;
  --pages: 1px 1px 0 #efe9da, 2px 2px 0 #d3ccb9, 3px 3px 0 #efe9da, 4px 4px 0 #cbc3ae;
  aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 12px 12px 22px; color: var(--book-ink); background: var(--book);
  border-radius: 1px 3px 3px 1px;
}
.m-item__body.k-book { box-shadow: var(--pages), var(--mural-shadow); }
.m-item.is-hot .k-book { box-shadow: var(--pages), var(--mural-shadow-hot); }
.k-book::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg,
      rgb(0 0 0 / 0.30) 0, rgb(0 0 0 / 0.16) 3px, rgb(0 0 0 / 0.10) 8px,
      rgb(0 0 0 / 0.42) 9px, rgb(0 0 0 / 0.42) 10px,
      rgb(255 255 255 / 0.30) 10px, rgb(255 255 255 / 0.30) 11px,
      rgb(0 0 0 / 0.08) 12px, transparent 16px),
    rgb(0 0 0 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.22); /* aresta do papelao */
}
.k-book::after { content: ""; position: absolute; bottom: -14px; right: 24px; width: 8px; height: 14px; background: #a8322a; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 65%, 0 100%); }
.k-book b { position: relative; z-index: 2; font-size: 16px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.k-book small { position: relative; z-index: 2; font-size: 12px; opacity: 0.8; }
html.theme-dark .k-book { --book: #3b5a80; }
.k-book--cover { padding: 0; aspect-ratio: auto; }
.k-book--cover img { border-radius: inherit; }
.k-book--pb img { filter: grayscale(1); } /* capa em preto e branco (The Design of Everyday Things) */

/* --- formatos arquivados ---
   Fora do mural no momento, guardados para uso futuro (aparecem no
   catalogo interno com "Mostrar arquivados"). */
.k-polaroid { background: #fff; padding: 8px 8px 0; border-radius: 2px; }
.k-polaroid video { aspect-ratio: 1; }
.k-polaroid span { display: block; font-size: 12px; color: #555; padding: 8px 4px 12px; font-style: italic; }

.k-sticker {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, var(--dither-4) 1.4px, transparent 1.8px) 0 0 / 6px 6px,
    radial-gradient(circle, var(--dither-3) 1px, transparent 1.4px) 3px 3px / 6px 6px,
    var(--dither-1);
  border: 4px solid var(--color-surface);
}
.k-sticker span { background: var(--color-surface); padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 600; }

.k-ticket {
  background: var(--color-surface); border-radius: 8px; padding: 12px 16px; border: 1px solid var(--color-border-soft);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.k-ticket strong { display: block; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; color: var(--color-link); }
.k-ticket small { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-ink-muted); margin-top: 8px; }

.k-comment { background: var(--color-surface); border-radius: 16px; padding: 12px 16px; border: 1px solid var(--color-border-soft); font-size: 14px; }
.k-comment header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.k-comment header i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--dither-3), var(--dither-4)); }
.k-comment header b { font-weight: 600; }
.k-comment header em { font-style: normal; color: var(--color-ink-muted); font-size: 12px; }
.k-comment span { display: inline-block; margin-top: 8px; font-size: 12px; padding: 2px 8px; border-radius: 12px; background: var(--color-bg); color: var(--color-link); }

.k-print { background: #fff; padding: 8px; border-radius: 2px; }
.k-print img { aspect-ratio: 4 / 3; }

.k-code { background: #1b1b1b; color: #cfcfcf; border-radius: 8px; padding: 12px 16px; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre; }
.k-code b { color: #4db8ff; font-weight: 400; }
.k-code i { color: #7d7d7d; font-style: normal; }

.k-tag { background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: 999px; padding: 8px 12px; font-size: 12px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.k-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34c759; }

/* ============ Overlay do item ============
   Abre com o item "voando" do mural ate o card (mesma curva do zoom dos
   artigos, 0,3375s); fecha com a camada inteira sumindo na mesma velocidade. */
.mo {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.mo[hidden] {
  display: none;
}

.mo__backdrop {
  position: absolute;
  inset: 0;
  background: var(--zoom-overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3375s ease;
}

.mo.is-open .mo__backdrop {
  opacity: 1;
}

.mo__card {
  position: relative;
  width: min(var(--main-width), 100%);
  max-height: calc(100vh - 96px);
  overflow: auto;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-origin: center;
}

.mo__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: var(--color-bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mo__media video,
.mo__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mo__art {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.mo__info {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mo__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.mo__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mo__title {
  font-size: var(--text-strong);
  font-weight: 600;
}

.mo__year {
  font-size: var(--text-meta);
  color: var(--color-ink-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0 8px;
  line-height: 20px;
}

.mo__close:hover {
  color: var(--color-ink);
}

.mo__desc {
  color: var(--color-ink);
  font-size: var(--text-body);
  line-height: 1.6;
}

.mo__desc + .mo__desc {
  margin-top: -4px;
}

.mo__desc + .mo__cta {
  margin-top: 8px;
}

/* Lista numerada do card aberto: numero numa coluna propria, alinhado a
   esquerda (o "10" nao empurra o texto), titulo e descricao em linhas
   separadas. */
.mo__list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  display: grid;
  gap: 8px;
  color: var(--color-ink);
  font-size: var(--text-body);
  line-height: 1.6;
}

.mo__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
}

.mo__list i {
  grid-row: span 2;
  font-style: normal;
  font-weight: 600;
  color: var(--color-ink-muted);
  font-variant-numeric: tabular-nums;
}

.mo__list b {
  font-weight: 600;
}

.mo__list span {
  color: var(--color-ink-muted);
}

.mo__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

/* link depois de um bloco (numeros do selo, lista da nota): mesmo respiro
   que separa o texto do link nos outros cards */
.mo__stats + .mo__cta,
.mo__list + .mo__cta {
  margin-top: 16px;
}

.mo__stats div {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-inner);
}

.mo__stats b {
  font-size: var(--text-strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
}

.mo__stats span {
  font-size: var(--text-meta);
  color: var(--color-ink-muted);
}

@media (max-width: 640px) {
  .mo__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mo__link {
  color: var(--color-link);
  font-weight: 500;
  text-decoration: none;
  font-size: var(--text-body);
}

.mo__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border-soft);
  padding-top: 12px;
  margin-top: 4px;
  font-size: var(--text-meta);
  color: var(--color-ink-muted);
}

.mo__body-fade {
  transition: opacity 0.18s ease;
}

.mo.is-swapping .mo__body-fade {
  opacity: 0;
}

@media (max-width: 640px) {
  .mural__head {
    width: auto;
    margin-inline: 24px; /* mesmo padding da .main no mobile */
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-item,
  .mo__card,
  .mo__backdrop {
    transition: none !important;
  }

  .m-item {
    opacity: 1;
    filter: none;
    translate: 0 0;
  }
}
