/* GENERATED by montar_pagina.py from figuras/. Do not edit. */
/* ===== f01-campo-do-nome (figuras/f01-campo-do-nome.css) ===== */
/* Fig. 1 · o campo do nome (F01). A ficha mora em bibi.css (.bb-f-*), dividida com a Fig. 6; aqui ficam a
   caneta sobre o campo, a ficha da variante (desligada) e o arranjo do celular. */
#fig-1 .palco { min-height: 24rem; }
#fig-1 .bb-f-input, #fig-6 .bb-f-input { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M3 23l1.7-5.6L17.6 4.5a2.2 2.2 0 0 1 3.1 0l.8.8a2.2 2.2 0 0 1 0 3.1L8.6 21.3z' fill='%23f1eee6' stroke='%23141924' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M3 23l1.7-5.6 3.9 3.9z' fill='%23141924'/%3E%3Cpath d='M15.6 6.5l3.9 3.9' stroke='%23141924' stroke-width='1.4'/%3E%3C/svg%3E") 3 23, text; }
#fig-1 .bb-f-input[readonly], #fig-6 .bb-f-input[readonly] { cursor: default; }
/* the l. 15 variant (figuras/f01-campo-do-nome.js, VARIANTE_ESPOSA): written in ink, no stamp; fig. 6 shows it too */
.interativo .bb-f-cartao.is-variante .bb-f-cartao-nome { opacity: 1; text-decoration: none; white-space: normal; line-height: 1.25; }
.interativo .bb-f-cartao-nota { display: block; margin-top: .5rem; font: 500 .62rem/1.35 var(--fonte-mono); letter-spacing: .04em; color: var(--fig-suave); }
/* the hero chart has no name to read: an empty line, not a red strike over nothing */
.interativo .bb-f-cartao-nome.is-sem-nome { text-decoration: none; width: 62%; border-bottom: 1px dotted color-mix(in srgb, var(--fig-tinta) 45%, transparent); }
@media (min-width: 721px) {
  /* the record table keeps air inside the stage frame: at 1440 it touched the frame (E5 final sheet) */
  #fig-1 .palco, #fig-6 .palco { padding: 1.5rem 1.6rem 1.4rem; }
}
@media (max-width: 720px) {
  /* phone: the button spans the column under the clipboard and keeps clear air before the pile */
  #fig-1 .bb-f-mesa { row-gap: 2.4rem; }
  #fig-1 .bb-f-col { justify-items: stretch; }
  #fig-1 .bb-f-col > .bb-botao { position: relative; z-index: 2; }
  #fig-1 .bb-f-pilha { height: calc(9.5rem + (var(--n, 8) - 1) * 8px + 1.5rem); }
  #fig-1 .bb-f-contador:empty { display: none; }
  #fig-1 .bb-f-folha.is-saindo { transform: translateY(12%) scale(.6); }
}

/* ===== f03-mulherometro (figuras/f03-mulherometro.css) ===== */
/* Fig. 2 · quatro fichas, um veredito (F03). A régua de pé graduada em itens (verde-azulado, o lado clínico),
   a bandeja, quatro fichas de papel e o carimbo, que só serve ao veredito. Placar e ressalvas em ardósia. */
#fig-2 .palco { min-height: 34rem; }
#fig-2 .f3-palco {
  --rw: 11.4rem; --pad: 1.5rem; --haste: 30px; --p: 0;
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .09 0 0 0 0 .12 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tinta-gasta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  position: relative; padding: clamp(.9rem, 2vw, 1.4rem); border-radius: 14px; color: var(--fig-tinta);
  background: var(--grao), radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, .6), transparent 62%), #ece8dd;
  box-shadow: inset 0 0 0 1px rgba(20, 25, 36, .08), inset 0 22px 34px -30px rgba(20, 25, 36, .4);
}
#fig-2 .f3-mesa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14.5rem, 17rem); gap: 1.6rem 1.7rem; align-items: start; }
#fig-2 .f3-rack { grid-column: 1 / -1; }
#fig-2 .f3-rotulo, #fig-2 .f3-placar-rot, #fig-2 .f3-bandeja-rot { margin: 0 0 .65rem; font: 600 .68rem/1.2 var(--fonte-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--acento-2); }

/* ---------- the four charts */
#fig-2 .f3-fichas { list-style: none; margin: 0; padding: .35rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
#fig-2 .f3-fichas li { display: flex; margin: 0; padding: 0; }
#fig-2 .f3-ficha {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; min-height: 44px; margin: 0;
  padding: .85rem .85rem .85rem; text-align: left; font: inherit; color: var(--fig-tinta);
  border: 1px solid var(--linha-2); border-radius: 6px; background: var(--grao), var(--papel-ficha);
  box-shadow: 0 3px 0 rgba(20, 25, 36, .13), 0 14px 22px -16px rgba(20, 25, 36, .6);
  transform: rotate(var(--rot, 0deg)); transition: transform .16s ease, box-shadow .16s ease, opacity .2s ease; cursor: grab;
}
#fig-2 .f3-ficha::before { content: ''; position: absolute; left: .85rem; right: .85rem; top: 0; height: 3px; border-radius: 0 0 2px 2px; background: var(--acento-2); opacity: .85; }
#fig-2 .f3-ficha:hover { transform: translateY(-3px) rotate(0deg); box-shadow: 0 6px 0 rgba(20, 25, 36, .12), 0 20px 28px -16px rgba(20, 25, 36, .6); }
#fig-2 .f3-ficha:active { transform: translateY(2px) rotate(0deg); box-shadow: 0 1px 0 rgba(20, 25, 36, .16), 0 4px 8px -6px rgba(20, 25, 36, .5); }
#fig-2 .f3-ficha:focus-visible { outline: 3px solid var(--acento-2); outline-offset: 3px; }
#fig-2 .f3-ficha > span { display: block; }
#fig-2 .f3-ficha > span[hidden] { display: none; }
#fig-2 .f3-ficha-topo { display: flex !important; align-items: baseline; gap: .5rem; padding-bottom: .4rem; border-bottom: 1.5px solid var(--fig-tinta); }
#fig-2 .f3-ficha-n { flex: none; font: 600 .66rem/1 var(--fonte-mono); letter-spacing: .12em; color: var(--acento-2); }
#fig-2 .f3-ficha-lugar { font: 600 .98rem/1.2 var(--fonte-texto); }
#fig-2 .f3-ficha-data { font: 500 .7rem/1.35 var(--fonte-mono); color: var(--fig-suave); }
#fig-2 .f3-ficha-cena { font: 400 .84rem/1.35 var(--fonte-texto); }
#fig-2 .f3-ficha-doc { font: 700 .76rem/1.3 var(--fonte-mono); letter-spacing: .06em; text-transform: uppercase; }
#fig-2 .f3-mini-rot { margin-right: .45em; font-size: .62rem; font-weight: 500; letter-spacing: .14em; color: var(--fig-suave); }
#fig-2 .f3-ficha-ressalva { margin-top: .1rem; padding-left: .5rem; border-left: 2px solid var(--ardosia); font: 500 .68rem/1.35 var(--fonte-mono); color: var(--ardosia); }
#fig-2 .f3-ficha-selo {
  align-self: flex-start; margin: .35rem 0 .1rem .1rem; padding: .14rem .45rem; border: 2px solid var(--carimbo); border-radius: 4px;
  font: 700 .64rem/1.1 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--carimbo);
  transform: rotate(-5deg); mix-blend-mode: multiply; -webkit-mask-image: var(--tinta-gasta); mask-image: var(--tinta-gasta); -webkit-mask-size: 120px; mask-size: 120px;
}
#fig-2 .f3-ficha.is-carimbada .f3-ficha-selo { animation: f3-selo .34s cubic-bezier(.2, 1.4, .4, 1) both; }
#fig-2 .f3-ficha-quem { margin-top: auto; padding-top: .45rem; border-top: 1px dashed var(--linha-2); font: 600 .8rem/1.35 var(--fonte-texto); }
#fig-2 .f3-ficha-tag { position: absolute; top: -.75rem; right: .6rem; padding: .2rem .5rem; border-radius: 999px; font: 600 .6rem/1 var(--fonte-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sobre-acento); background: var(--acento-2); }
#fig-2 .f3-ficha.is-na-bandeja { box-shadow: 0 0 0 2px var(--acento-2), 0 14px 22px -16px rgba(20, 25, 36, .6); }
#fig-2 .f3-ficha.is-na-bandeja:not(.is-carimbada) { opacity: .55; border-style: dashed; transform: none; }
#fig-2 .f3-ficha.is-arrastando { opacity: .35; }
#fig-2 .f3-fantasma { position: fixed !important; left: 0; top: 0; z-index: 60; margin: 0; pointer-events: none; opacity: .94; transition: none !important; box-shadow: 0 24px 36px -14px rgba(20, 25, 36, .6) !important; }
@keyframes f3-selo { from { opacity: 0; transform: rotate(-5deg) scale(1.9); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }

/* ---------- the station: ruler on the left, tray on the right, the head across both */
#fig-2 .f3-estacao { position: relative; display: grid; grid-template-columns: var(--rw) minmax(0, 1fr); }
#fig-2 .f3-regua { position: relative; padding: var(--pad) 0; }
#fig-2 .f3-haste {
  position: absolute; top: .2rem; bottom: 0; right: 0; width: var(--haste); border-radius: 4px 4px 2px 2px;
  background: repeating-linear-gradient(180deg, rgba(241, 238, 230, .5) 0 1px, transparent 1px 9px) left top / 36% 100% no-repeat, linear-gradient(90deg, #123f45, #1b5a61 34%, #2b7682 62%, #154a51);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 5px 7px 14px -7px rgba(20, 25, 36, .55);
}
#fig-2 .f3-haste::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: -7px; height: 9px; border-radius: 3px; background: linear-gradient(180deg, var(--aco-1), var(--aco-2)); box-shadow: 0 3px 6px rgba(20, 25, 36, .35); }
#fig-2 .f3-itens { list-style: none; margin: 0; padding: 0; height: 100%; display: grid; grid-template-rows: repeat(8, minmax(2rem, 1fr)); }
#fig-2 .f3-item { position: relative; display: flex; align-items: center; justify-content: flex-end; margin: 0; padding: 0 calc(var(--haste) + .75rem) 0 0; text-align: right; }
#fig-2 .f3-item-nome { font: 500 .66rem/1.15 var(--fonte-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fig-suave); transition: color .2s ease; }
#fig-2 .f3-item-traco { position: absolute; right: 0; top: 50%; width: calc(var(--haste) + .45rem); height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, var(--acento-2) 0 .45rem, rgba(241, 238, 230, .95) .45rem); }
#fig-2 .f3-item.is-lido .f3-item-nome { color: var(--acento-2); font-weight: 700; text-decoration: underline 2px; text-underline-offset: 3px; }
#fig-2 .f3-item.is-lido .f3-item-traco { height: 3px; background: linear-gradient(90deg, var(--acento-2) 0 .45rem, #fff .45rem); }
#fig-2 .f3-regua-rot { position: absolute; top: 0; right: calc(var(--haste) + .75rem); font: 600 .56rem/1.2 var(--fonte-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acento-2); white-space: nowrap; }
#fig-2 .f3-tempo { position: absolute; right: -10px; top: var(--pad); bottom: var(--pad); width: 4px; border-radius: 2px; overflow: hidden; display: none; background: color-mix(in srgb, var(--acento-2) 18%, transparent); }
#fig-2 .is-reduzido .f3-tempo { display: block; }
#fig-2 .f3-tempo::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--acento-2); }
#fig-2 .f3-tempo.is-enchendo::after { height: 100%; transition: height 2s linear; }
#fig-2 .f3-mira { position: absolute; z-index: 4; left: 0; right: -6px; top: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
#fig-2 .f3-mira::after { content: ''; position: absolute; right: 0; top: -1px; width: calc(var(--haste) + 1.1rem); height: 2px; background: var(--fig-tinta); }
#fig-2 .f3-mira.is-on { opacity: 1; }
#fig-2 .f3-mira b { position: absolute; right: calc(var(--haste) + .75rem + 6px); top: 0; transform: translateY(-50%); padding: .14rem .42rem; border-radius: 3px; font: 700 .66rem/1.15 var(--fonte-mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; color: var(--papel-ficha); background: var(--fig-tinta); }
@media (hover: hover) and (pointer: fine) { html.bibi #fig-2 .f3-regua, html.bibi #fig-2 .f3-regua * { cursor: none; } }

#fig-2 .f3-cabecote {
  position: absolute; z-index: 5; left: calc(var(--rw) - var(--haste) - 8px); right: -8px; height: 11px;
  top: calc(var(--pad) + var(--p) * (100% - 2 * var(--pad))); transform: translateY(-50%); border-radius: 3px; pointer-events: none;
  background: linear-gradient(180deg, var(--aco-1), #bcc1c8 50%, var(--aco-2)); box-shadow: 0 5px 10px rgba(20, 25, 36, .32);
}
#fig-2 .f3-cabecote.is-descendo { transition: top 2s linear; }
#fig-2 .f3-cabecote.is-subindo { transition: top .55s cubic-bezier(.3, .7, .3, 1); }
#fig-2 .f3-cabecote::before { content: ''; position: absolute; left: calc(var(--haste) + 16px); right: 0; bottom: 100%; height: 0; background: linear-gradient(0deg, rgba(27, 90, 97, .24), transparent); transition: height .25s ease; }
#fig-2 .is-medindo .f3-cabecote::before { height: 3.2rem; transition: height .3s ease .2s; }
#fig-2 .f3-colar { position: absolute; left: 0; top: 50%; width: calc(var(--haste) + 16px); height: 24px; transform: translateY(-50%); border-radius: 4px; background: linear-gradient(180deg, var(--aco-1), #aeb4bc 55%, var(--aco-2)); box-shadow: inset 0 1px 0 #fff, 0 4px 8px rgba(20, 25, 36, .35); }
#fig-2 .f3-colar::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 35%, #fff, #7d838c); }
#fig-2 .f3-leitura { position: absolute; right: 12px; bottom: calc(100% + 7px); padding: .16rem .48rem; border-radius: 3px; font: 600 .66rem/1.2 var(--fonte-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--sobre-acento); background: var(--acento-2); box-shadow: 0 4px 10px -4px rgba(20, 25, 36, .5); }
#fig-2 .f3-leitura:empty { display: none; }
#fig-2 .is-reduzido .f3-cabecote { transition: none !important; }
#fig-2 .is-reduzido .f3-cabecote::before { display: none; }
#fig-2 .is-reduzido .f3-leitura { bottom: auto; top: calc(100% + 7px); }

/* ---------- the tray and the chart on it */
#fig-2 .f3-bandeja {
  position: relative; margin-left: 1.1rem; min-height: 25rem; padding: 2.4rem 1.1rem 2.2rem; border-radius: 12px; border: 1.5px solid rgba(20, 25, 36, .26);
  background: var(--grao), linear-gradient(180deg, #ddd8ca, #e9e5da 26%, #e4dfd3);
  box-shadow: inset 0 12px 22px -14px rgba(20, 25, 36, .5), inset 0 -1px 0 rgba(255, 255, 255, .6), 0 1px 0 rgba(255, 255, 255, .7);
  transition: box-shadow .2s ease, border-color .2s ease;
}
#fig-2 .f3-bandeja.is-alvo { border-color: var(--acento-2); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--acento-2) 38%, transparent), inset 0 12px 22px -14px rgba(20, 25, 36, .5); }
#fig-2 .f3-bandeja-rot { position: absolute; left: 1rem; top: -.6rem; margin: 0; padding: 0 .45rem; border-radius: 3px; background: #ece8dd; }
#fig-2 .f3-chao { position: absolute; inset: 2.4rem 1.1rem 2.2rem; display: grid; place-items: center; pointer-events: none; }
#fig-2 .f3-vazia { padding: 1.1rem 1.4rem; border: 1.5px dashed rgba(20, 25, 36, .22); border-radius: 8px; font: 500 .76rem/1.2 var(--fonte-mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(20, 25, 36, .66); }
#fig-2 .f3-bandeja.tem-ficha .f3-vazia { visibility: hidden; }
#fig-2 .f3-grande {
  position: relative; z-index: 1; max-width: 34rem; margin: 0 auto; padding: 1rem 1.1rem 1.05rem; border-radius: 4px; color: var(--fig-tinta);
  background: var(--grao), repeating-linear-gradient(180deg, transparent 0 29px, rgba(27, 90, 97, .07) 29px 30px), var(--papel-ficha);
  box-shadow: 0 1px 0 rgba(20, 25, 36, .08), 0 18px 30px -16px rgba(20, 25, 36, .58); transform: rotate(-.6deg);
}
#fig-2 .f3-grande-topo { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; padding-bottom: .45rem; border-bottom: 2px solid var(--fig-tinta); font: 600 .68rem/1.25 var(--fonte-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--acento-2); }
#fig-2 .f3-grande-topo > span:last-child { text-align: right; letter-spacing: .08em; color: var(--fig-tinta); }
#fig-2 .f3-campos { position: relative; }
#fig-2 .f3-campo { position: relative; display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: .15rem .7rem; align-items: baseline; padding: .5rem 0; border-bottom: 1px dashed var(--linha-2); }
#fig-2 .f3-campo-rot { display: block; font: 500 .62rem/1.3 var(--fonte-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fig-suave); }
#fig-2 .f3-campo-val { font: 500 .98rem/1.4 var(--fonte-texto); }
#fig-2 .f3-campo.is-doc .f3-campo-val { font: 700 1.08rem/1.3 var(--fonte-mono); letter-spacing: .08em; text-transform: uppercase; }
#fig-2 .f3-campo-nota { grid-column: 2; font: 500 .68rem/1.4 var(--fonte-mono); color: var(--fig-suave); }
#fig-2 .f3-campo.is-ressalva .f3-campo-rot { color: var(--ardosia); }
#fig-2 .f3-campo.is-ressalva .f3-campo-val { font: 500 .8rem/1.4 var(--fonte-mono); color: var(--ardosia); }
#fig-2 .f3-carimbos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#fig-2 .f3-carimbos.is-no-doc .f3-carimbo { top: 40%; left: 58%; }
#fig-2 .f3-carimbo {
  position: absolute; left: 50%; top: 50%; display: block; max-width: 96%; padding: .38rem .9rem .42rem;
  border: 3.5px solid var(--carimbo); border-radius: 8px; color: var(--carimbo); background: color-mix(in srgb, var(--papel-ficha) 15%, transparent);
  font: 700 clamp(1.05rem, .7rem + 1.3vw, 1.7rem)/1.05 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; white-space: nowrap;
  mix-blend-mode: multiply; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--r, -8deg));
  -webkit-mask-image: var(--tinta-gasta); mask-image: var(--tinta-gasta); -webkit-mask-size: 160px; mask-size: 160px;
}
#fig-2 .f3-carimbo::before { content: ''; position: absolute; inset: 3px; border: 1.5px solid currentColor; border-radius: 5px; opacity: .8; }
#fig-2 .f3-carimbo.is-caindo { animation: f3-cai .42s cubic-bezier(.2, 1.35, .4, 1) both; }
@keyframes f3-cai {
  from { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--r, -8deg)) scale(2.1); }
  55% { opacity: 1; }
  to { opacity: 1; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) rotate(var(--r, -8deg)) scale(1); }
}
#fig-2 .f3-aba { margin-top: .85rem; padding: .75rem .85rem .8rem; border-top: 2px solid var(--fig-tinta); border-radius: 0 0 4px 4px; background: color-mix(in srgb, var(--ardosia) 7%, var(--papel-ficha)); transform-origin: 50% 0; transform: perspective(700px) rotateX(-88deg); opacity: 0; visibility: hidden; }
#fig-2 .f3-grande.is-aberta .f3-aba { transform: none; opacity: 1; visibility: visible; transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .18s ease; }
#fig-2 .f3-grande.sem-voo .f3-aba { transition: none; }
#fig-2 .f3-aba-linha { display: grid; gap: .18rem; margin: 0 0 .6rem; }
#fig-2 .f3-aba-linha:last-child { margin-bottom: 0; }
#fig-2 .f3-aba-quem { font: 600 1.06rem/1.35 var(--fonte-texto); }
#fig-2 .f3-aba-fato { font: 400 .9rem/1.45 var(--fonte-texto); }

/* ---------- the button, the verdict line, the score */
#fig-2 .f3-lado { display: grid; gap: 1rem; align-content: start; padding-top: 1.4rem; }
#fig-2 .f3-passar { width: 100%; min-height: 58px; font-size: .92rem; }
#fig-2 .f3-passar svg { flex: none; }
#fig-2 .f3-passar[aria-disabled="true"] { cursor: progress; }
#fig-2 .f3-status { min-height: 4.4em; margin: 0; padding: .15rem 0 .15rem .8rem; border-left: 3px solid var(--linha-2); font: 500 .95rem/1.45 var(--fonte-texto); color: var(--fig-tinta); }
#fig-2 .f3-status.is-veredito { border-left-color: var(--carimbo); }
#fig-2 .f3-placar { padding: .85rem .95rem .9rem; border: 1.5px solid var(--ardosia); border-radius: 10px; background: var(--grao), color-mix(in srgb, var(--ardosia) 6%, var(--papel-ficha)); }
#fig-2 .f3-placar-rot { color: var(--ardosia); }
#fig-2 .f3-placar-linha { margin: 0; padding: .5rem 0; font: 500 .88rem/1.45 var(--fonte-texto); color: var(--fig-tinta); }
#fig-2 .f3-placar-linha + .f3-placar-linha { border-top: 1px dashed color-mix(in srgb, var(--ardosia) 45%, transparent); }
#fig-2 .f3-placar-linha b { padding: 0 .08em; font: 700 1.05rem/1 var(--fonte-mono); color: var(--ardosia); }
#fig-2 .f3-placar.is-sobe { animation: f3-sobe .8s ease; }
@keyframes f3-sobe { from { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ardosia) 30%, transparent); } to { box-shadow: 0 0 0 0 transparent; } }

/* ---------- reduced motion: nothing flies, the stamp is just there, the 2 s show as a bar */
#fig-2 .is-reduzido .f3-carimbo.is-caindo, #fig-2 .is-reduzido .f3-ficha-selo, #fig-2 .is-reduzido .f3-placar.is-sobe { animation: none !important; }
#fig-2 .is-reduzido .f3-aba, #fig-2 .is-reduzido .f3-ficha, #fig-2 .is-reduzido .f3-grande { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  #fig-2 .f3-carimbo.is-caindo, #fig-2 .f3-ficha-selo, #fig-2 .f3-placar.is-sobe { animation: none !important; }
  #fig-2 .f3-aba, #fig-2 .f3-ficha, #fig-2 .f3-grande { transition: none !important; }
}

/* ---------- phone */
@media (max-width: 760px) {
  #fig-2 .f3-palco { --rw: 6.9rem; --pad: 1.2rem; --haste: 24px; padding: .8rem .7rem; }
  #fig-2 .f3-mesa { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  #fig-2 .f3-fichas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; }
  #fig-2 .f3-ficha { padding: .7rem .65rem .75rem; transform: rotate(calc(var(--rot, 0deg) * .3)); }
  #fig-2 .f3-ficha-lugar { font-size: .9rem; }
  #fig-2 .f3-ficha-cena { font-size: .78rem; }
  #fig-2 .f3-item { padding-right: calc(var(--haste) + .5rem); }
  #fig-2 .f3-item-nome { font-size: .58rem; line-height: 1.3; letter-spacing: .03em; }
  #fig-2 .f3-item.is-lido .f3-item-nome { text-decoration: none; }
  #fig-2 .f3-aba-quem { font-size: .96rem; }
  #fig-2 .f3-mira b { right: calc(var(--haste) + .5rem + 6px); }
  #fig-2 .f3-regua-rot { display: none; }
  #fig-2 .f3-bandeja { margin-left: .8rem; min-height: 26rem; padding: 2rem .55rem 1.9rem; }
  #fig-2 .f3-chao { inset: 2rem .55rem 1.9rem; }
  #fig-2 .f3-grande { padding: .8rem .7rem .85rem; }
  #fig-2 .f3-grande-topo { flex-direction: column; gap: .2rem; }
  #fig-2 .f3-grande-topo > span:last-child { text-align: left; }
  #fig-2 .f3-campo { grid-template-columns: minmax(0, 1fr); gap: .05rem; padding: .4rem 0; }
  #fig-2 .f3-campo-nota { grid-column: 1; }
  #fig-2 .f3-carimbo { white-space: normal; font-size: 1rem; padding: .32rem .55rem; }
  #fig-2 .f3-lado { padding-top: 0; }
}

/* ===== f04-duas-corcovas (figuras/f04-duas-corcovas.css) ===== */
/* Fig. 3 · Duas corcovas, uma linha (F04). Prefixo f4-; o motor mora em f04-duas-corcovas.js.
   O botão de sortear usa o .bb-botao da matéria (bibi.css). */
#fig-3 .palco { min-height: 30rem; }

/* the frame: paper with a little grain, the stadiometer's head track tinted at the top */
#fig-3 .f4-quadro {
  position: relative; border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .1 0 0 0 0 .14 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(138, 69, 16, .055), rgba(138, 69, 16, 0) 4.6rem),
    var(--papel-ficha, #fbf9f4);
  box-shadow: inset 0 0 0 1px rgba(20, 25, 36, .1), inset 0 14px 26px -22px rgba(20, 25, 36, .42);
}
#fig-3 .f4-tela {
  display: block; width: 100%; height: 360px; touch-action: pan-y pinch-zoom;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cpath d='M12 9v22' stroke='%23f7f5ef' stroke-width='4'/%3E%3Cpath d='M12 9v22' stroke='%23141924' stroke-width='1.6'/%3E%3Crect x='3' y='2' width='18' height='8' rx='2' fill='%238a4510' stroke='%23f7f5ef' stroke-width='1.5'/%3E%3C/svg%3E") 12 20, crosshair;
}
@media (max-width: 600px) { #fig-3 .f4-tela { height: 400px; } }

/* the handle: the verb on an amber pill, a notch pointing down to the line; it alone holds the touch */
#fig-3 .f4-alca {
  position: absolute; left: 0; top: 6px; z-index: 2; box-sizing: border-box;
  display: inline-flex; align-items: center; gap: .45rem; height: 44px; min-width: 44px; padding: 0 1rem 0 .8rem;
  border-radius: 999px; font: 600 .74rem/1 var(--fonte-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: #fbf8f1; background: linear-gradient(180deg, #9a5216, var(--fig-acento) 60%);
  box-shadow: 0 3px 0 #5e2f0b, 0 10px 18px -10px rgba(20, 25, 36, .6);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
#fig-3 .f4-alca:hover { filter: brightness(1.07); }
#fig-3 .f4-alca.is-pegando { cursor: grabbing; transform: translateY(3px); box-shadow: 0 0 0 #5e2f0b, 0 4px 8px -6px rgba(20, 25, 36, .5); }
#fig-3 .f4-alca:focus-visible { outline: 3px solid var(--acento-2, #1b5a61); outline-offset: 3px; }
#fig-3 .f4-alca-seta { display: block; width: 18px; height: 11px; flex: none; }
#fig-3 .f4-alca-haste { position: absolute; top: 100%; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--fig-acento); border-bottom: 0; }
@media (max-width: 600px) { #fig-3 .f4-alca { padding: 0 .85rem 0 .7rem; letter-spacing: .1em; } }

/* the stamp falls on her point; it never takes a click */
#fig-3 .f4-carimbo {
  position: absolute; left: 0; top: 0; z-index: 1; display: none; padding: .2rem .55rem;
  border: 2.5px solid var(--fig-alerta); border-radius: 5px; font: 700 .76rem/1.15 var(--fonte-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--fig-alerta); background: rgba(247, 245, 239, .86); transform: rotate(-7deg); pointer-events: none;
}
#fig-3 .f4-carimbo.is-on { display: block; animation: f4-carimbo .34s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes f4-carimbo { from { opacity: 0; transform: rotate(-7deg) scale(1.9); } 55% { opacity: 1; } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

#fig-3 .f4-ressalva { margin: .5rem 0 0; font: 500 .7rem/1.45 var(--fonte-mono); letter-spacing: .02em; color: var(--fig-suave); }

/* the readings */
#fig-3 .f4-leituras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
#fig-3 .f4-cartao { position: relative; padding: .95rem 1rem .85rem; border-radius: 10px; background: var(--papel-ficha, #fbf9f4); box-shadow: inset 0 0 0 1px rgba(20, 25, 36, .13), 0 8px 18px -16px rgba(20, 25, 36, .5); }
#fig-3 .f4-cartao::before { content: ''; position: absolute; left: 1rem; right: 1rem; top: 0; height: 2px; background: var(--fig-tinta); }
#fig-3 .f4-cartao p { margin: 0; }
#fig-3 .f4-cartao-rotulo { font: 600 .68rem/1.3 var(--fonte-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--fig-suave); }
#fig-3 .f4-cartao.is-linha .f4-cartao-rotulo::before { content: ''; display: inline-block; width: .72em; height: .72em; margin-right: .5em; vertical-align: -.06em; background: rgba(158, 42, 36, .28); box-shadow: inset 0 0 0 1.5px var(--fig-alerta); }
#fig-3 .f4-cartao.is-pares .f4-cartao-rotulo::before { content: ''; display: inline-block; width: .6em; height: .6em; margin-right: 1.35em; border-radius: 50%; vertical-align: -.02em; background: var(--fig-curva-a); box-shadow: .78em 0 0 var(--fig-curva-b); }
#fig-3 .f4-cartao-numero { margin-top: .3rem !important; font-family: var(--fonte-titulo); font-size: 2rem; font-weight: 560; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--fig-tinta); }
#fig-3 .f4-cartao-nota { margin-top: .2rem !important; font: 500 .82rem/1.35 var(--fonte-texto); color: var(--fig-suave); }
#fig-3 .f4-cartao-nota span { display: block; }
#fig-3 .f4-nota-principal { color: var(--fig-tinta); font-weight: 600; }
#fig-3 .f4-nota-ref { font-family: var(--fonte-mono); font-size: .7rem; letter-spacing: .02em; margin-top: .15rem; }

/* the actions: drawing a pair is the loudest thing in the piece */
#fig-3 .f4-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.1rem; }
#fig-3 .f4-acoes .bb-botao { min-height: 48px; }
#fig-3 .f4-ultimo { flex: 1 1 15rem; margin: 0; font: 500 .95rem/1.45 var(--fonte-texto); color: var(--fig-tinta); }
#fig-3 .f4-ultimo strong { font-family: var(--fonte-mono); font-weight: 600; }
#fig-3 .f4-ela { display: inline-block; margin-left: .55rem; padding: .1rem .5rem; border-radius: 999px; font: 600 .7rem/1.4 var(--fonte-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--fig-curva-a); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 420px) { #fig-3 .f4-cartao { padding: .85rem .8rem .75rem; } #fig-3 .f4-cartao-numero { font-size: 1.7rem; } }

@media (prefers-reduced-motion: reduce) {
  #fig-3 .f4-carimbo.is-on { animation: none; }
  #fig-3 .f4-alca { transition: none; }
}

/* ===== f05a-lei-do-banheiro (figuras/f05a-lei-do-banheiro.css) ===== */
/* Fig. 4 · como se confere na porta (F05a). Uma porta pintada com placa só de texto, quatro papéis colados nela
   (tres leis e um projeto), cada um com o campo em branco; embaixo, a leitura e a bandeja das tres ferramentas.
   Tintas: papel, tinta, ardosia (rodape e ressalvas), ambar (ferramentas, feixe), verde-azulado (selo da regua).
   O carimbo nao entra: aqui nao ha veredito. */
#fig-4 .palco { display: grid; gap: 1rem; }

/* ---- the door */
#fig-4 .f5a-porta {
  position: relative; padding: clamp(1rem, 2.4vw, 1.7rem) clamp(.8rem, 2.4vw, 1.7rem) clamp(.85rem, 2vw, 1.3rem);
  border-radius: 16px 16px 6px 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .1 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, color-mix(in srgb, var(--ardosia) 11%, var(--fundo-2)), color-mix(in srgb, var(--ardosia) 21%, var(--fundo-2)));
  box-shadow:
    inset 0 0 0 1px rgba(20, 25, 36, .18),
    inset 0 0 0 9px rgba(255, 255, 255, .16),
    inset 0 0 0 10px rgba(20, 25, 36, .13),
    inset 0 -18px 30px -24px rgba(20, 25, 36, .35),
    0 26px 44px -30px rgba(20, 25, 36, .65);
}
/* the sign: text only, never a pictogram */
#fig-4 .f5a-placa {
  position: relative; width: max-content; max-width: 100%; margin: 0 auto clamp(1rem, 2.2vw, 1.5rem); padding: .55rem 2rem;
  border-radius: 6px; background: linear-gradient(180deg, #2b3343, #141924); color: #ece8de;
  font: 600 .8rem/1 var(--fonte-mono); letter-spacing: .36em; text-indent: .36em; text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 10px 16px -10px rgba(20, 25, 36, .7), inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
#fig-4 .f5a-placa::before, #fig-4 .f5a-placa::after {
  content: ''; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--aco-1), var(--aco-2)); box-shadow: 0 1px 1px rgba(0, 0, 0, .55);
}
#fig-4 .f5a-placa::before { left: .65rem; }
#fig-4 .f5a-placa::after { right: .65rem; }

/* ---- the papers taped to it */
#fig-4 .f5a-mural { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1.2rem); align-items: stretch; padding-top: .45rem; }
#fig-4 .f5a-lei {
  position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 1.05rem .9rem .8rem; border-radius: 2px;
  background: var(--papel-ficha) repeating-linear-gradient(180deg, transparent 0 23px, rgba(27, 90, 97, .055) 23px 24px);
  color: var(--fig-tinta); transform: rotate(var(--r, 0deg));
  box-shadow: 0 1px 0 rgba(20, 25, 36, .1), 0 16px 24px -18px rgba(20, 25, 36, .6), 0 2px 5px -3px rgba(20, 25, 36, .3);
}
#fig-4 .f5a-lei::before {
  content: ''; position: absolute; top: -.6rem; left: 50%; width: 4.6rem; height: 1.2rem; transform: translateX(-50%) rotate(-2.5deg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--fita-1) 80%, transparent), color-mix(in srgb, var(--fita-2) 72%, transparent));
  box-shadow: 0 1px 2px rgba(20, 25, 36, .16); clip-path: polygon(2% 6%, 98% 0, 100% 52%, 97% 100%, 3% 94%, 0 48%);
}
#fig-4 .f5a-lei:nth-child(even)::before { transform: translateX(-50%) rotate(3deg); }
#fig-4 .f5a-lei p { margin: 0; }
#fig-4 .f5a-lei-topo {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .6rem;
  margin: 0 0 .55rem !important; padding-bottom: .42rem; border-bottom: 2px solid var(--fig-tinta);
  font: 600 .68rem/1.25 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acento-2);
}
#fig-4 .f5a-lei-data { color: var(--fig-suave); font-weight: 500; letter-spacing: .04em; }
#fig-4 .f5a-lei-sub { margin: -.2rem 0 .5rem !important; font: 500 .66rem/1.3 var(--fonte-mono); letter-spacing: .03em; color: var(--fig-suave); }
#fig-4 .f5a-lei-texto { font: 400 .9rem/1.45 var(--fonte-texto); color: var(--fig-tinta); }
#fig-4 .f5a-lei-nota {
  margin-top: .6rem !important; padding-top: .45rem; border-top: 1px dashed color-mix(in srgb, var(--ardosia) 50%, transparent);
  font: 500 .79rem/1.42 var(--fonte-texto); color: var(--ardosia);
}

/* ---- the blank field, the same on all four */
#fig-4 .f5a-campo { margin-top: auto; padding-top: .9rem; }
#fig-4 .f5a-campo-rotulo { margin-bottom: .2rem !important; font: 600 .64rem/1.3 var(--fonte-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fig-suave); }
#fig-4 .f5a-linha {
  position: relative; display: flex; align-items: flex-end; min-height: 3.2rem; padding: .3rem 0;
  border-bottom: 1.5px solid var(--fig-tinta); border-radius: 3px 3px 0 0; transition: border-color .3s ease;
}
#fig-4 .f5a-linha.is-nada { animation: f5a-nada .8s ease-out; }
@keyframes f5a-nada {
  0% { background-color: color-mix(in srgb, var(--ardosia) 15%, transparent); border-bottom-color: var(--ardosia); }
  100% { background-color: transparent; }
}
#fig-4 .f5a-linha.is-preenchida { border-bottom-color: var(--acento-2); }
/* the seal the two-second instrument leaves: teal, never the verdict red */
#fig-4 .f5a-selo {
  display: flex; align-items: center; gap: .5rem; width: 100%; margin: 0; padding: .38rem .55rem;
  border: 2px solid var(--acento-2); border-radius: 6px; color: var(--acento-2);
  background: color-mix(in srgb, var(--acento-2) 8%, var(--papel-ficha));
  font: 600 .7rem/1.32 var(--fonte-mono); letter-spacing: .01em; text-align: left;
  visibility: hidden; opacity: 0; transform: scale(1.4) rotate(-7deg);
  transition: opacity .18s ease, transform .36s cubic-bezier(.2, 1.5, .45, 1), visibility 0s linear .36s;
}
#fig-4 .f5a-selo.is-on {
  visibility: visible; opacity: 1; transform: scale(1) rotate(-1.6deg);
  transition: opacity .16s ease, transform .36s cubic-bezier(.2, 1.5, .45, 1), visibility 0s;
}
#fig-4 .f5a-selo-regua { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* the reading line that sweeps the four texts */
#fig-4 .f5a-feixe {
  position: absolute; left: -.6rem; right: -.6rem; top: -3rem; height: 3rem; z-index: 3; pointer-events: none; opacity: 0;
  border-bottom: 2px solid var(--acento);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--acento) 9%, transparent) 65%, color-mix(in srgb, var(--acento) 22%, transparent));
  box-shadow: 0 3px 12px -3px color-mix(in srgb, var(--acento) 70%, transparent); mix-blend-mode: multiply; will-change: transform, opacity;
}
#fig-4 .f5a-rodape {
  margin: clamp(1rem, 2.2vw, 1.4rem) 0 0; padding: .6rem .85rem; border-radius: 3px;
  background: color-mix(in srgb, var(--papel-ficha) 90%, transparent); box-shadow: 0 1px 0 rgba(20, 25, 36, .1);
  font: 500 .8rem/1.45 var(--fonte-texto); color: var(--ardosia);
}

/* ---- the reading slip */
#fig-4 .f5a-leitura {
  position: relative; min-height: 6.4rem; padding: .9rem 1.2rem 1rem 1.45rem; border-radius: 10px; overflow: hidden;
  background: var(--papel-ficha); box-shadow: inset 0 0 0 1px var(--linha-2), 0 12px 22px -18px rgba(20, 25, 36, .5);
}
#fig-4 .f5a-leitura::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--acento); }
#fig-4 .f5a-leitura-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .4rem; }
#fig-4 .f5a-leitura-rotulo { margin: 0; font: 600 .72rem/1.2 var(--fonte-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ardosia); }
#fig-4 .f5a-pontos { display: inline-flex; gap: .42rem; flex: 0 0 auto; }
#fig-4 .f5a-pontos i { width: .62rem; height: .62rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ardosia); transition: background-color .2s ease, box-shadow .2s ease; }
#fig-4 .f5a-pontos i.is-on { background: var(--acento-2); box-shadow: inset 0 0 0 1.5px var(--acento-2); }
#fig-4 .f5a-resposta { margin: 0; font: italic 400 clamp(1.18rem, 1rem + .7vw, 1.5rem)/1.32 var(--fonte-titulo); color: var(--fig-tinta); }
#fig-4 .f5a-nenhuma { margin-right: .25rem; font: normal 600 .8em/1.3 var(--fonte-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fig-tinta); }
#fig-4 .f5a-objetivo { color: var(--fig-suave); }
#fig-4 .f5a-espera { font: 600 1.05rem/1 var(--fonte-mono); letter-spacing: .3em; color: var(--acento); animation: f5a-pisca .9s steps(2) infinite; }
@keyframes f5a-pisca { 50% { opacity: .3; } }
#fig-4 .f5a-extra { margin: .55rem 0 0; font: 500 .94rem/1.45 var(--fonte-texto); color: var(--acento-2); }
#fig-4 .f5a-leitura.is-chegou .f5a-resposta, #fig-4 .f5a-leitura.is-chegou .f5a-extra { animation: f5a-chega .4s ease-out both; }
@keyframes f5a-chega { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- the tool tray: the loudest thing in the piece */
#fig-4 .f5a-ferramentas {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.5vw, 1.05rem); padding: 1rem 1rem 1.15rem;
  border-radius: 14px; background: color-mix(in srgb, var(--acento) 7%, var(--fundo-2));
  box-shadow: inset 0 2px 7px rgba(20, 25, 36, .13), inset 0 0 0 1px var(--linha);
}
#fig-4 .f5a-ferr { position: relative; width: 100%; min-height: 3.6rem; justify-content: flex-start; gap: .75rem; padding: .85rem 1.15rem; text-align: left; white-space: normal; line-height: 1.25; cursor: pointer; }
#fig-4 .f5a-ferr-icone { flex: 0 0 auto; width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#fig-4 .f5a-ferr-rot { flex: 1 1 auto; min-width: 0; }
#fig-4 .f5a-visto {
  position: absolute; top: -.5rem; right: -.5rem; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--acento-2); box-shadow: 0 0 0 2.5px var(--fig-fundo); opacity: 0; transform: scale(.4);
  transition: opacity .18s ease, transform .26s cubic-bezier(.2, 1.6, .4, 1);
}
#fig-4 .f5a-visto::after { content: ''; position: absolute; left: .47rem; top: .25rem; width: .32rem; height: .62rem; border: solid #fbf6ec; border-width: 0 2px 2px 0; transform: rotate(42deg); }
#fig-4 .f5a-ferr.is-tentada .f5a-visto { opacity: 1; transform: none; }

@media (max-width: 880px) {
  #fig-4 .f5a-mural { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.35rem; }
}
@media (max-width: 640px) {
  #fig-4 .f5a-porta { padding: 1rem .6rem .7rem; border-radius: 12px 12px 5px 5px; }
  #fig-4 .f5a-mural { gap: 1.25rem .55rem; }
  #fig-4 .f5a-lei { padding: .95rem .6rem .65rem; }
  #fig-4 .f5a-lei-topo { font-size: .62rem; letter-spacing: .06em; }
  #fig-4 .f5a-lei-sub { font-size: .6rem; }
  #fig-4 .f5a-lei-texto { font-size: .82rem; line-height: 1.42; }
  #fig-4 .f5a-lei-nota { font-size: .74rem; }
  #fig-4 .f5a-campo-rotulo { font-size: .64rem; letter-spacing: .04em; }
  /* on the phone the ruler sits above the words, so the seal's line is wide enough to read */
  #fig-4 .f5a-selo { flex-direction: column; align-items: flex-start; gap: 0; padding: .25rem .45rem .4rem; font-size: .7rem; line-height: 1.3; }
  #fig-4 .f5a-selo-regua { width: 1.6rem; height: 1.6rem; margin: -.25rem 0 -.3rem; }
  #fig-4 .f5a-placa { padding: .5rem 1.6rem; font-size: .72rem; }
  #fig-4 .f5a-rodape { font-size: .76rem; padding: .55rem .65rem; }
  #fig-4 .f5a-leitura { padding: .8rem .95rem .85rem 1.15rem; }
  #fig-4 .f5a-ferramentas { grid-template-columns: 1fr; padding: .75rem .75rem .9rem; }
}

/* reduced motion: no sweep, the answer comes straight, the seal is there without stamping */
@media (prefers-reduced-motion: reduce) {
  #fig-4 .f5a-feixe { display: none; }
  #fig-4 .f5a-selo, #fig-4 .f5a-selo.is-on { transition: none; transform: rotate(-1.6deg); }
  #fig-4 .f5a-linha.is-nada, #fig-4 .f5a-espera, #fig-4 .f5a-leitura.is-chegou .f5a-resposta, #fig-4 .f5a-leitura.is-chegou .f5a-extra { animation: none; }
  #fig-4 .f5a-visto, #fig-4 .f5a-pontos i { transition: none; }
}

/* ===== f05b-boato-da-cabra (figuras/f05b-boato-da-cabra.css) ===== */
/* Fig. 5 · Repassa (F05b). A pad of notes on a desk: the rumor piles up with the newest on top, the older ones
   show only their stub; the denial and the Guardian's addition are small slips in the tray under the pile.
   Tokens come from bibi.css; everything of this piece is .bb-r-*. */
#fig-5 .palco { min-height: 22rem; }
.bb-r { --peek: 2.4rem; --giro: 1deg; --deriva: 5px; position: relative; }
@media (pointer: coarse) { .bb-r { --peek: 2.85rem; } }

/* the desk: warm paper board with a fine grain */
.bb-r-mesa {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 17.5rem); gap: clamp(1.2rem, 3.2vw, 2.8rem); align-items: start;
  padding: clamp(1rem, 2.8vw, 2rem); border-radius: 14px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .09 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 28% 18%, #f0eadd 0, #e7e0d0 62%, #ddd4c1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(20, 25, 36, .08), inset 0 -22px 44px -34px rgba(20, 25, 36, .4);
}
.bb-r-col { display: grid; gap: 1.2rem; min-width: 0; }

/* the pile: every note in the same cell, the older ones pushed down so only their stub shows */
.bb-r-pilha { display: grid; max-width: 36rem; padding-bottom: calc((var(--n, 1) - 1) * var(--peek)); transition: padding-bottom .45s cubic-bezier(.2, .8, .2, 1); }
.bb-r-recado, .bb-r-bilhete {
  --papel-grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  position: relative; min-width: 0; color: var(--fig-tinta); background-color: var(--papel-ficha);
  outline: 3px solid transparent; outline-offset: 3px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bb-r-recado {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.45rem 1.3rem 0; border-radius: 3px 3px 4px 4px;
  background-image: var(--papel-grao), repeating-linear-gradient(180deg, transparent 0 27px, rgba(27, 90, 97, .075) 27px 28px);
  background-position: 0 0, 0 5.6rem;
  box-shadow: 0 1px 0 rgba(20, 25, 36, .07), 0 16px 28px -18px rgba(20, 25, 36, .6);
  transform: translate(calc(var(--d, 0) * var(--deriva)), calc(var(--d, 0) * var(--peek))) rotate(calc(var(--r, 0) * var(--giro)));
  transform-origin: 50% 0;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, box-shadow .25s ease, background-color .3s ease, outline-color .2s ease;
}
/* the pad's perforation along the top edge */
.bb-r-recado::before { content: ''; position: absolute; left: .7rem; right: .7rem; top: .5rem; height: 4px; background: radial-gradient(circle, rgba(20, 25, 36, .22) 1.3px, transparent 1.9px) 0 50% / 9px 4px repeat-x; }
.bb-r-recado.is-fundo { background-color: #f5f2e9; box-shadow: 0 1px 0 rgba(20, 25, 36, .07), 0 8px 16px -12px rgba(20, 25, 36, .5); }
.bb-r-recado.is-futuro { visibility: hidden; transition: none; }
.bb-r-recado.is-chegando { opacity: 0; transform: translate(3.6rem, -.7rem) rotate(3.5deg); transition: none; }
.bb-r-pilha .bb-r-recado.is-lido { z-index: 80 !important; background-color: var(--papel-ficha); transform: translateY(-.35rem) rotate(0deg); box-shadow: 0 30px 46px -20px rgba(20, 25, 36, .62); }
.bb-r-recado:focus-visible, .bb-r-bilhete:focus-visible { outline-color: var(--acento-2); }

.bb-r-topo { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin: 0; padding-bottom: .45rem; border-bottom: 2px solid var(--fig-tinta); font: 600 .72rem/1.25 var(--fonte-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ardosia); }
.bb-r-veiculo { text-align: right; letter-spacing: .08em; }
.bb-r-campo { display: grid; grid-template-columns: minmax(4.4rem, max-content) minmax(0, 1fr); align-items: baseline; gap: .7rem; min-height: 3.7rem; padding: .55rem 0 .45rem; border-bottom: 1.5px solid var(--fig-tinta); }
.bb-r-rotulo { white-space: nowrap; font: 500 .68rem/1.2 var(--fonte-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fig-suave); }
/* block, not flex: a flex item is a block box, and the strike would cross between the lines of a phrase that wraps */
.bb-r-valor > .bb-r-velho { margin-right: .7rem; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.bb-r-valor { display: block; min-width: 0; font-family: var(--fonte-titulo); font-style: italic; font-weight: 430; font-size: clamp(1.45rem, 1.12rem + 1vw, 1.95rem); line-height: 1.15; }

/* the word that leaves: struck in ink, by hand */
/* (a background line, not a pseudo-element, so a phrase that wraps is struck on every line, left to right) */
.bb-r-velho { color: color-mix(in srgb, var(--fig-tinta) 64%, var(--papel-ficha)); background: linear-gradient(var(--fig-tinta), var(--fig-tinta)) 0 62% / 100% 2.5px no-repeat; transition: background-size .6s cubic-bezier(.7, 0, .3, 1) .42s; }
/* the word that comes in: amber */
.bb-r-novo { color: var(--acento); font-weight: 520; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--acento) 35%, transparent); text-decoration-thickness: 2px; text-underline-offset: .18em; transition: opacity .42s ease 1s, transform .42s cubic-bezier(.2, .8, .2, 1) 1s; }
.bb-r-recado.is-chegando .bb-r-velho { background-size: 0% 2.5px; transition: none; }
.bb-r-recado.is-chegando .bb-r-novo { opacity: 0; transform: translateY(.4em); transition: none; }
.bb-r-novo { display: inline-block; }

/* the stamp: only the first note, only "Bibi" */
.bb-r-carimbo { display: inline-block; margin: .15rem 0 .2rem .15rem; padding: .16rem .75rem .12rem; border: 3px solid var(--carimbo); border-radius: 6px; outline: 1px solid color-mix(in srgb, var(--carimbo) 40%, transparent); outline-offset: 2px; font: normal 700 1.75rem/1 var(--fonte-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--carimbo); transform: rotate(-5deg); mix-blend-mode: multiply; }

.bb-r-frase { margin: 0; max-width: none; font: 500 1rem/1.5 var(--fonte-texto); color: var(--fig-tinta); }
.bb-r-campo + .bb-r-frase { margin-top: .3rem; }
.bb-r-nota { margin: .15rem 0 0; padding-top: .5rem; border-top: 1px dashed var(--linha-2); max-width: none; font: 500 .74rem/1.5 var(--fonte-mono); color: var(--fig-suave); }
.bb-r-recado > :nth-last-child(2) { margin-bottom: .8rem; }
/* the stub: what is left to see of a note once the next one covers it */
.bb-r-pe { display: flex; align-items: center; box-sizing: border-box; height: var(--peek); margin: auto -1.3rem 0; padding: 0 1.3rem; border-top: 1.5px dashed rgba(20, 25, 36, .3); font: 600 .66rem/1.2 var(--fonte-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ardosia); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-r-pe { display: block; line-height: var(--peek); }

/* the tray under the pile: the denial and the addition, half the size, out of the button's way */
.bb-r-bandeja { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; max-width: 36rem; align-items: start; }
.bb-r-bandeja[hidden] { display: none; }
.bb-r-bilhete { padding: .75rem .9rem .85rem; border-top: 3px solid var(--ardosia); border-radius: 2px 2px 4px 4px; background-image: var(--papel-grao); box-shadow: 0 10px 18px -13px rgba(20, 25, 36, .55); transform: rotate(calc(var(--r, 0) * 1deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, outline-color .2s ease, box-shadow .25s ease; }
.bb-r-bilhete[hidden] { display: none; }
.bb-r-bilhete .bb-r-topo { flex-wrap: wrap; gap: .15rem .6rem; padding-bottom: .35rem; border-bottom-width: 1px; font-size: .62rem; }
.bb-r-tipo { color: var(--fig-tinta); }
.bb-r-bilhete .bb-r-frase { margin-top: .45rem; font-size: .86rem; line-height: 1.45; }
.bb-r-bilhete.is-atual { outline-width: 2px; outline-color: color-mix(in srgb, var(--ardosia) 32%, transparent); }
.bb-r-bilhete.is-lido { transform: translateY(-.25rem) rotate(0deg); box-shadow: 0 18px 30px -16px rgba(20, 25, 36, .55); }
.bb-r-bilhete.is-chegando { opacity: 0; transform: translateY(-2.6rem) scale(.9); transition: none; }

/* the controls */
.bb-r-acoes { display: grid; gap: .95rem; padding-top: 1.1rem; }
.bb-r-conta { margin: 0; font: 600 .74rem/1.3 var(--fonte-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ardosia); }
html.bibi .bb-r-repassar { justify-content: space-between; min-height: 60px; padding: 1rem 1.5rem 1rem 1.7rem; border-radius: 12px; font-size: 1.02rem; letter-spacing: .16em; }
.bb-r-repassar[hidden], .bb-r-recomeco[hidden] { display: none; }
.bb-r-seta { display: inline-block; font: 600 1.35rem/1 var(--fonte-texto); letter-spacing: 0; }
.bb-r.is-viva.is-inicio .bb-r-seta { animation: bb-r-cutuca 2.8s ease-in-out infinite; }
@keyframes bb-r-cutuca { 0%, 64%, 100% { transform: none; } 76% { transform: translateX(6px); } 88% { transform: translateX(-1px); } }

/* the line of dates: a dot per note; square ones are the slips that leave the line */
.bb-r-fila { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: .2rem 0 0; padding: 0; list-style: none; }
.bb-r-fila::before { content: ''; position: absolute; left: 7%; right: 7%; top: 6px; height: 1.5px; background: var(--linha-2); }
.bb-r-fila li { display: grid; justify-items: center; gap: .1rem; color: var(--fig-suave); opacity: .5; text-align: center; transition: opacity .3s ease, color .3s ease; }
.bb-r-fila i { position: relative; z-index: 1; width: 13px; height: 13px; margin-bottom: .2rem; box-sizing: border-box; border: 2px solid currentColor; border-radius: 50%; background: #ebe5d8; transition: background-color .3s ease, box-shadow .3s ease; }
.bb-r-fila li.is-fora i { border-radius: 2px; }
.bb-r-fila b { font: 600 .8rem/1 var(--fonte-mono); }
.bb-r-fila small { font: 500 .62rem/1.1 var(--fonte-mono); letter-spacing: .06em; text-transform: uppercase; }
.bb-r-fila li.is-feito { opacity: 1; color: var(--fig-tinta); }
.bb-r-fila li.is-feito i { background: var(--fig-tinta); }
.bb-r-fila li.is-fora.is-feito { color: var(--ardosia); }
.bb-r-fila li.is-fora.is-feito i { background: #ebe5d8; }
.bb-r-fila li.is-atual { opacity: 1; color: var(--acento); }
.bb-r-fila li.is-atual i { background: var(--acento); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 22%, transparent); }
.bb-r-fila li.is-fora.is-atual { color: var(--ardosia); }
.bb-r-fila li.is-fora.is-atual i { background: var(--ardosia); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ardosia) 20%, transparent); }
.bb-r-dias { min-height: 1.4em; margin: 0; font: 500 .76rem/1.4 var(--fonte-mono); color: var(--fig-suave); }
html.bibi .bb-r-recomeco { justify-self: start; min-height: 46px; padding: .6rem 1.15rem; font-size: .74rem; }

@media (max-width: 760px) {
  .bb-r-mesa { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
  .bb-r-acoes { order: -1; padding-top: 0; }
  .bb-r-recado { padding: 1.25rem 1rem 0; }
  .bb-r-pe { margin-left: -1rem; margin-right: -1rem; padding: 0 1rem; }
  .bb-r { --deriva: 3px; }
  .bb-r-campo { grid-template-columns: minmax(3.6rem, max-content) minmax(0, 1fr); gap: .55rem; }
  .bb-r-valor { font-size: 1.36rem; }
  .bb-r-carimbo { font-size: 1.5rem; }
  .bb-r-bandeja { grid-template-columns: minmax(0, 1fr); }
  .bb-r-bilhete { margin-right: 18%; }
  .bb-r-bilhete + .bb-r-bilhete { margin: 0 0 0 18%; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-r *, .bb-r *::before, .bb-r *::after { transition: none !important; animation: none !important; }
}

/* ===== f06-campo-em-branco (figuras/f06-campo-em-branco.css) ===== */
/* Fig. 6 · o campo do nome, em branco (F06). Reusa a ficha da Fig. 1 (.bb-f-*, bibi.css; a caneta e a ficha
   da variante estão em f01-campo-do-nome.css). */
#fig-6 .palco { min-height: 24rem; }
@media (max-width: 720px) {
  #fig-6 .bb-f-mesa { row-gap: 2.4rem; }
  #fig-6 .bb-f-col { justify-items: stretch; }
  #fig-6 .bb-f-col > .bb-botao { position: relative; z-index: 2; }
  #fig-6 .bb-f-pilha { height: 14rem; }
}
