:root {
  --creme: #f4efe4;
  --preto: #161616;
  --verde-musgo: #6f7d4d;
  --largura-listra: 26px;
  --largura-meio: 620px;
}

/* página estática */
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font-family: Georgia, serif; }

.fundo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(36px, 1fr) min(var(--largura-meio), calc(100vw - 72px)) minmax(36px, 1fr);
  height: 100vh;
}
.coluna { height: 100%; overflow: hidden; }

/* background */
.coluna-esquerda {
  background: repeating-linear-gradient(
    to right,
    var(--preto) 0 var(--largura-listra),
    var(--creme) var(--largura-listra) calc(var(--largura-listra) * 2)
  );
}
.coluna-meio {
  box-sizing: border-box;
  background: var(--creme);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px;
  text-align: center;
}
.coluna-direita { position: relative; overflow: hidden; }
.coluna-direita svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* camadas: 1 textos · 2 imagem · 3 cortina · 4 colagem */
.camada-principal {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: fill;
  z-index: 2;
  pointer-events: none;
}
.cortina {
  position: absolute; top: 0; left: 0;
  width: 100%; height: auto;
  z-index: 3;
  pointer-events: none;
}
.colagem { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none; }

/* mural */
.mural { position: absolute; left: 8%; top: 70%; transform: translateY(-50%); width: 240px; }
.moldura { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.mural-texto {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1; pointer-events: auto;
  box-sizing: border-box; padding: 14% 12%; text-align: center;
}
.mural-titulo { font-weight: bold; letter-spacing: 1px; margin: 0 0 8px; }
.coruja {
  position: absolute; top: -70px; left: 70%;
  transform: translateX(-50%) rotate(-4deg);
  width: 84px; height: auto; z-index: 3;
}

/* stickers */
.sticker { position: absolute; width: 90px; height: auto; z-index: 5; }
.s1 { left: 5%;  top: 14%; }
.s2 { right: 4%; top: 20%; }
.s3 { right: 15%; top: 66%; }

/* ===== FEED (texto normal + rolagem, sem elipse) ===== */
.feed {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;  height: 80vh;
  max-width: 350px;  max-height: 440px;
  z-index: 1;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0 14px;
  text-align: center;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  line-height: 1.5;
}

/* espaço em branco antes do 1º texto e depois do último,
   pra qualquer texto conseguir subir até o meio da boca */
.feed::before,
.feed::after {
  content: "";
  display: block;
  height: 50%;   /* metade da altura da janela */
}

.feed::-webkit-scrollbar { width: 0; }
.feed { scrollbar-width: none; }

.carimbo { display: block; margin-bottom: 16px; }
.carimbo .data { display: block; font-size: 12px; letter-spacing: 3px; }
.carimbo .autor { display: block; font-size: 9px; letter-spacing: 2px; margin-top: 4px; opacity: .7; }

.entrada { margin: 0 0 30px; }
.entrada p { margin: 0; text-align: justify; }

/* mobile */
@media (max-width: 700px) {
  .mural { width: 44%; min-width: 160px; }
  .mural-texto { padding: 16% 10%; font-size: 13px; }
  .sticker { width: 60px; }
  .coruja { width: 56px; top: -18px; }
  .coluna-meio { padding: 32px 18px; }
}