:root {
  --papel: #f5ecdc;
  --ouro: #ffd27a;
  --noite: #14110d;
  --cartao: #1f1a14;
  --apagado: rgba(245, 236, 220, .62);
  --sombra: 0 2px 16px rgba(0,0,0,.9), 0 0 3px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--noite); color: var(--papel); }
body { font-family: 'EB Garamond', Garamond, Georgia, serif; font-size: 18px; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.topo { position: absolute; top: 0; left: 0; right: 0; z-index: 2;
        display: flex; justify-content: space-between; align-items: center;
        padding: 1rem 5vw; }
.marca { font-size: 1.6rem; font-style: italic; text-decoration: none;
         text-shadow: var(--sombra); }
.eu img, .eu .inicial { width: 38px; height: 38px; border-radius: 50%; display: block;
                        object-fit: cover; border: 1px solid rgba(245,236,220,.4); }
.eu .inicial { display: grid; place-items: center; background: var(--cartao); }

.botao, .botoes a { display: inline-block; border: 1px solid rgba(245,236,220,.45);
         background: rgba(12,9,6,.35); border-radius: 999px; padding: .55em 1.4em;
         text-decoration: none; font-size: 1.05rem; }
.botao.principal, .botoes .principal { background: var(--papel); color: #1d150c; border-color: var(--papel); }
.botao.entrar { font-size: .95rem; padding: .45em 1.1em; }
.botao.perigo { border-color: #c4554d; color: #f0a39d; }
.botoes { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* The featured work: its first scene, full width, the text in the dark
   fall-off at the bottom — the reader's own language, on the way in. */
.destaque { position: relative; min-height: 78vh; background-size: cover;
            background-position: center; display: flex; align-items: flex-end; }
.destaque::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--noite) 0%, rgba(20,17,13,.75) 35%, rgba(20,17,13,.1) 75%); }
.destaque > div { position: relative; padding: 0 5vw 6vh; max-width: 46rem; }
.destaque.obra { min-height: 100vh; }
.rotulo { font-style: italic; margin: 0 0 .3rem; opacity: .8; }
.destaque h1 { font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1;
               margin: 0; text-shadow: var(--sombra); }
.autor { font-style: italic; color: var(--apagado); margin: .5rem 0 0; font-size: 1.15rem; }
.sinopse { font-size: 1.2rem; line-height: 1.5; margin: 1rem 0 0; text-shadow: var(--sombra); }
.nota { color: var(--apagado); font-size: .95rem; margin-top: 1rem; }

/* The showcase: one story at a time, its scenes cross-fading behind it,
   the next story every few seconds when there is more than one. */
.vitrine { position: relative; height: 84vh; min-height: 480px; max-height: 900px; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end;
         opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.fundo, .fundo i { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.fundo i { background: center / cover no-repeat; opacity: 0; transition: opacity 2.2s ease; }
.fundo i.on { opacity: 1; animation: respira 40s ease-in-out infinite alternate; }
@keyframes respira { from { transform: scale(1); } to { transform: scale(1.08); } }
.fundo::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, var(--noite) 0%, rgba(20,17,13,.72) 28%, rgba(20,17,13,0) 70%),
              linear-gradient(to right, rgba(20,17,13,.65) 0%, rgba(20,17,13,.25) 38%, rgba(20,17,13,0) 72%); }
.slide .texto { position: relative; padding: 0 5vw 10vh; max-width: 46rem; }
.slide h1 { font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1; margin: 0;
            text-shadow: var(--sombra); }
.pontos { position: absolute; left: 5vw; bottom: 4vh; display: flex; gap: .4rem; z-index: 2; }
.pontos button { width: 30px; height: 22px; padding: 0; border: 0; background: none; position: relative; }
.pontos button::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px;
                        border-radius: 2px; background: rgba(245,236,220,.35); transition: background .3s; }
.pontos button.on::after { background: var(--papel); }

/* The rows are carousels: a track that scrolls sideways and snaps to its
   cards, the next one always peeking in so a reader knows there is more. */
.fileira { padding: 1.6rem 0 0; }
.fileira h2 { font-weight: 400; font-size: 1.5rem; margin: 0 0 .5rem; padding: 0 5vw; }
.fileira h2 i { font-style: italic; }
.carrossel { position: relative; }
.trilho { display: flex; gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain;
          scroll-snap-type: x mandatory; scroll-padding: 0 5vw; padding: .5rem 5vw 1rem;
          scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.trilho > * { flex: 0 0 clamp(230px, 23vw, 330px); scroll-snap-align: start; }
@media (max-width: 600px) {
  .trilho > * { flex-basis: 74vw; }
  .vitrine { height: 78vh; }
}
.seta { position: absolute; top: .5rem; bottom: 1rem; z-index: 1; width: max(44px, 4.5vw);
        border: 0; font-size: 2.6rem; line-height: 1; opacity: 0; transition: opacity .2s ease; }
.seta.esq { left: 0; background: linear-gradient(to right, rgba(20,17,13,.9), rgba(20,17,13,0)); }
.seta.dir { right: 0; background: linear-gradient(to left, rgba(20,17,13,.9), rgba(20,17,13,0)); }
.carrossel:hover .seta, .seta:focus-visible { opacity: 1; }
@media (hover: none) { .seta { display: none; } }

.cartao { display: block; text-decoration: none; background: var(--cartao); border-radius: 10px;
          overflow: hidden; position: relative; transition: transform .25s ease; }
.cartao:hover { transform: translateY(-4px); }
.cartao .img { aspect-ratio: 16 / 9; background: #2a231b center / cover; position: relative; }
.cartao.breve .img { filter: brightness(.82); }
.cartao .info { padding: .7rem .9rem .9rem; }
.cartao .info b { display: block; font-weight: 500; font-size: 1.15rem; }
.cartao .info .metadados { color: var(--apagado); font-size: .95rem; font-style: italic; }
.cartao .info .duracao { white-space: nowrap; }
.cartao .barra { height: 3px; background: rgba(245,236,220,.15); }
.cartao .barra i { display: block; height: 100%; background: var(--ouro); }
.selo { position: absolute; top: .6rem; left: .6rem; font-size: .75rem; letter-spacing: .08em;
        text-transform: uppercase; background: rgba(12,9,6,.7); padding: .2em .6em; border-radius: 4px; }

/* A story without pictures yet: a cover made of its title. */
.tipo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
        align-items: center; justify-content: center; text-align: center; padding: 1rem 1.4rem;
        background: radial-gradient(ellipse at 30% 15%, rgba(255,240,215,.12), transparent 65%), var(--cor);
        box-shadow: inset 0 0 0 9px var(--cor), inset 0 0 0 10px rgba(245,236,220,.35); }
.tipo b { font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.tipo span { font-style: italic; font-size: .92rem; opacity: .75; margin-top: .45rem; }

.pagina { max-width: 40rem; margin: 0 auto; padding: 6rem 5vw 2rem; }
.pagina h1 { font-weight: 400; font-size: 2.4rem; margin: 0; }
.pagina h2 { font-weight: 400; margin-top: 2rem; }
.pagina.texto p { line-height: 1.55; }
.pagina form { display: inline-block; margin: 1.5rem .6rem 0 0; }
.numeros b { font-size: 1.5rem; font-weight: 500; }
.lista { list-style: none; padding: 0; }
.lista li { display: flex; justify-content: space-between; padding: .5rem 0;
            border-bottom: 1px solid rgba(245,236,220,.12); }
.lista span { color: var(--apagado); font-style: italic; }

.rodape { color: var(--apagado); font-size: .9rem; text-align: center; padding: 3rem 5vw 2rem; }
.rodape a { color: inherit; }
[hidden] { display: none !important; }

/* Signing in: one card, Google first, then the email form. */
.pagina.entrar { max-width: 28rem; padding-top: 7rem; }
.caixa-entrar { background: var(--cartao); border-radius: 16px; padding: 2rem 1.6rem; }
.caixa-entrar h1 { font-size: 2.2rem; }
.caixa-entrar p { line-height: 1.5; }
.caixa-entrar .botao { width: 100%; text-align: center; margin-top: .6rem; min-height: 50px;
                       display: flex; align-items: center; justify-content: center; gap: .6rem; }
.botao.google { background: #fff; color: #1f1f1f; border-color: #fff; margin-top: 1.4rem; }
.ou { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1rem; color: var(--apagado); }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: rgba(245,236,220,.18); }
.form-email label { display: block; margin-bottom: .4rem; }
.form-email input { width: 100%; font: inherit; font-size: 1.1rem; color: var(--papel);
                    background: rgba(12,9,6,.5); border: 1px solid rgba(245,236,220,.3);
                    border-radius: 12px; padding: .8rem 1rem; }
.form-email input:focus { outline: 2px solid var(--ouro); outline-offset: 1px; }
.erro { color: #f0a39d; margin: .6rem 0 0; }
button.link { background: none; border: 0; padding: 0; font-size: 1rem; text-decoration: underline;
              text-underline-offset: 3px; color: inherit; }
.nota.miuda { font-size: .85rem; }
/* Not the account page's inline forms (.pagina form): here a form is the
   full width of the card, or the email field sits 10px short of Google's. */
.pagina.entrar form { display: block; margin: 0; }
.pagina.entrar form + .nota { margin-top: 1rem; }

/* The front door: the reader's own scene and word highlighting get a
   stage beside the invitation. The preview never opens a microphone. */
.heroi { max-width: 100rem; margin: 0 auto; min-height: min(100svh, 850px);
         display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
         grid-template-areas: "chamada demo" "convite demo";
         grid-template-rows: 1fr 1fr; column-gap: 5vw; padding: 7rem 5vw 2.5rem; }
.chamada { grid-area: chamada; align-self: end; max-width: 35rem; }
.chamada .rotulo { color: var(--ouro); font-size: 1.05rem; margin: 0 0 1.3rem; opacity: 1; }
.chamada h1 { font-weight: 400; font-size: clamp(3.6rem, 6.5vw, 6rem); line-height: .98;
              letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.chamada .sub { max-width: 27rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem);
                color: rgba(245,236,220,.8); line-height: 1.45; margin: 1.4rem 0 0; }
.convite { grid-area: convite; align-self: start; padding-top: 1.9rem; }
.convite .botoes { margin: 0; align-items: center; gap: 1rem 1.5rem; }
.botao.experimentar { display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
                padding: .8em 1.3em; font-size: 1.15rem; }
.experimentar svg { width: 21px; height: 21px; flex: none; }
.link-catalogo { font-size: 1.05rem; text-decoration: none; text-underline-offset: 4px; }
.botoes .link-catalogo { border: 0; padding: .5rem 0; background: none; border-radius: 0; }
.link-catalogo:hover { text-decoration: underline; }
.convite .nota { max-width: 25rem; line-height: 1.4; margin: 1rem 0 0; }
.demo { grid-area: demo; align-self: center; position: relative; min-width: 0; overflow: hidden;
        height: clamp(460px, 70svh, 660px); border-radius: 45% 45% 14px 14px / 16% 16% 14px 14px;
        isolation: isolate; background: var(--cartao); border: 1px solid rgba(245,236,220,.14); }
.demo .fundo::after {
  background: linear-gradient(to top, rgba(20,17,13,.96) 0%, rgba(20,17,13,.84) 20%, rgba(20,17,13,.08) 62%, rgba(20,17,13,.3) 100%); }
.demo-topo { position: absolute; inset: 2.3rem 1.5rem auto; display: flex; justify-content: center;
             align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .9rem; text-shadow: var(--sombra); }
.demo-topo > span { border: 1px solid rgba(245,236,220,.3); border-radius: 999px;
                    padding: .3rem .8rem; background: rgba(20,17,13,.55); }
.demo-pausa { border: 0; background: rgba(20,17,13,.65); border-radius: 999px;
              padding: .45rem .7rem; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.leitura { position: absolute; inset: auto 1.8rem 4.2rem; text-align: center;
           display: flex; flex-direction: column; align-items: center; }
.frase-demo { margin: .8rem 0 0; min-height: 3.9em; font-size: clamp(1.4rem, 2.25vw, 2rem);
              line-height: 1.3; text-wrap: balance; text-shadow: var(--sombra); }
.frase-demo .w { color: rgba(245,236,220,.6); transition: color .25s linear; }
.frase-demo .w.lido { color: var(--papel); }
.frase-demo .w.aqui { color: var(--ouro); text-decoration: underline; text-underline-offset: .2em; }
.voz-demo { display: flex; align-items: center; gap: 4px; height: 26px; color: var(--ouro); }
.voz-demo i { width: 3px; height: 8px; border-radius: 3px; background: currentColor;
              animation: voz 1.1s ease-in-out infinite alternate; }
.voz-demo i:nth-child(3n) { animation-delay: -.7s; }
.voz-demo i:nth-child(3n + 1) { animation-delay: -.3s; }
.voz-demo i:nth-child(even) { height: 18px; }
@keyframes voz { to { transform: scaleY(.35); opacity: .5; } }
.demo.pausada .voz-demo i, .demo.pausada .fundo i { animation-play-state: paused; }
.demo-legenda { margin: .8rem 0 0; font-size: .95rem; font-style: italic; color: rgba(245,236,220,.75); }
.demo-rodape { position: absolute; inset: auto 1.5rem 1.2rem; display: flex; gap: 1rem;
               justify-content: space-between; align-items: end; font-size: .85rem; color: var(--apagado); }
.demo-rodape cite { font-style: normal; color: var(--papel); }
#cenaDemo { white-space: nowrap; font-variant-numeric: tabular-nums; }
.heroi.sem-demo { grid-template-areas: "chamada chamada" "convite convite"; }
.heroi.sem-demo .chamada { max-width: 45rem; }
.heroi a:focus-visible, .heroi button:focus-visible { outline: 2px solid var(--ouro); outline-offset: 5px; }
@media (max-width: 760px) {
  .heroi { min-height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto;
           grid-template-areas: "chamada" "demo" "convite"; gap: 1.3rem; padding: 5.7rem 6vw 2rem; }
  .chamada { max-width: 35rem; }
  .chamada .rotulo { font-size: .95rem; margin-bottom: .65rem; }
  .chamada h1 { font-size: clamp(2.7rem, 7.5vw, 3.8rem); }
  .chamada .sub { max-width: 32rem; font-size: 1.12rem; line-height: 1.35; margin-top: .8rem; }
  .demo { width: 100%; height: clamp(235px, 31svh, 330px); border-radius: 14px; }
  .demo-topo { inset: .8rem .8rem auto; justify-content: space-between; font-size: .8rem; gap: .3rem; }
  .demo-topo > span { padding: .2rem .6rem; }
  .demo-pausa { font-size: .75rem; padding: .4rem; }
  .leitura { inset: auto 1rem 2.8rem; }
  .frase-demo { font-size: clamp(1.2rem, 5.4vw, 1.35rem); min-height: 2.6em; margin-top: .4rem; }
  .voz-demo { height: 19px; }
  .demo-legenda { display: none; }
  .demo-rodape { inset: auto 1rem .7rem; font-size: .8rem; }
  .convite { padding: 0; }
  .convite .botoes { gap: .35rem 1.2rem; }
  .convite .nota { margin-top: .55rem; font-size: .9rem; }
  .heroi.sem-demo { grid-template-areas: "chamada" "convite"; }
}
@media (max-width: 420px) {
  .convite .experimentar { width: 100%; padding: .7em 1em; }
  .convite .link-catalogo { margin: .15rem auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo .fundo i, .voz-demo i { animation: none; }
  .demo .fundo i, .frase-demo .w { transition: none; }
}

.secao { max-width: 72rem; margin: 0 auto; padding: 4.5rem 6vw 0; }
.perguntas { max-width: 46rem; }
.secao h2 { font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 1.6rem; }
.passos-porta { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.2rem;
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.passos-porta svg { width: 34px; height: 34px; color: var(--ouro); }
.passos-porta b { display: block; font-size: 1.3rem; font-weight: 500; margin: .8rem 0 .35rem; }
.passos-porta p { margin: 0; color: var(--apagado); line-height: 1.5; font-size: 1.08rem; }
.capas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.capa-conto { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; overflow: hidden;
              border-radius: 12px; background: #2a231b center / cover; text-decoration: none;
              transition: transform .25s ease; }
.capa-conto::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
                      background: linear-gradient(to top, rgba(12,9,6,.92) 0%, rgba(12,9,6,0) 55%); }
.capa-conto:hover { transform: translateY(-4px); }
.capa-conto span { position: relative; padding: 1rem 1.1rem; }
.capa-conto b { display: block; font-weight: 500; font-size: 1.35rem; line-height: 1.15; }
.capa-conto i { color: var(--apagado); font-size: .98rem; }
.link-seta { display: inline-block; margin-top: 1.3rem; text-underline-offset: 3px; }
.perguntas details { border-bottom: 1px solid rgba(245,236,220,.15); padding: 1.05rem 0; }
.perguntas summary { cursor: pointer; font-size: 1.2rem; list-style: none; display: flex;
                     justify-content: space-between; gap: 1rem; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; opacity: .6; font-size: 1.4rem; line-height: 1; }
.perguntas details[open] summary::after { content: "–"; }
.perguntas p { color: var(--apagado); line-height: 1.55; margin: .7rem 0 0; }
.fecho { text-align: center; padding-bottom: 1.5rem; }
.fecho .botoes { justify-content: center; }
.sem-conta { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(245,236,220,.14); }
.aviso-sem-conta { margin-top: .7rem; }
.rodape p { margin: .35rem 0; }
.rodape .idiomas b { font-weight: 500; color: var(--papel); }

/* Search, in the catalogue's header. 16px on phones: under that iOS zooms
   the page into the field when it is touched. */
.busca { flex: 1; max-width: 26rem; margin: 0 1.2rem; }
.busca input { width: 100%; font: inherit; font-size: 1rem; color: var(--papel);
               background: rgba(12,9,6,.55) no-repeat .85rem 50% / 17px
                 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5ecdc' stroke-opacity='.7' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
               border: 1px solid rgba(245,236,220,.3); border-radius: 999px;
               padding: .5rem 1rem .5rem 2.4rem; -webkit-appearance: none; appearance: none; }
.busca input::placeholder { color: var(--apagado); }
.busca input:focus { outline: 2px solid var(--ouro); outline-offset: 1px; }
@media (max-width: 600px) {
  .busca { margin: 0 .7rem; }
  .busca input { font-size: 16px; }
}

/* Home keeps the cinematic showcase; the complete catalogue has its own page. */
.topo-navegar { gap: 2rem; }
.navegacao { display: flex; align-items: center; gap: 1.4rem; }
.navegacao a { font-size: 1.05rem; color: var(--apagado); text-decoration: none; padding: .5rem 0; }
.navegacao a:hover, .navegacao a[aria-current] { color: var(--papel); }
.navegacao a[aria-current] { text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: .55rem; }
.topo-navegar > .busca { margin: 0 auto; min-width: 0; }
.topo-navegar > .topo-acoes, .topo-navegar > .entrar, .topo-navegar > .eu { margin-left: auto; flex-shrink: 0; }
.ver-catalogo { padding: 2.5rem 5vw .5rem; }
.catalogo-pagina .topo { position: relative; }
.catalogo { padding: 2rem 5vw 0; min-height: 65vh; }
.catalogo h1 { font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); margin: 0; line-height: 1.1; }
.catalogo-intro { color: var(--apagado); margin: .75rem 0 1.4rem; }
.catalogo > .busca { max-width: 34rem; margin: 0 0 1.8rem; }
.catalogo > .busca input { padding-top: .75rem; padding-bottom: .75rem; font-size: 1.1rem; }
.filtro-rotulo { font-size: .9rem; color: var(--apagado); margin: 0 0 .5rem; }
.catalogo-resumo { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline;
                   margin: 1.6rem 0 1rem; color: var(--apagado); font-size: .95rem; }
.catalogo-resumo p { margin: 0; }
.limpar-filtros { text-underline-offset: 3px; text-align: right; }
.catalogo-vazio { padding: 2rem 0 3rem; max-width: 32rem; }
.catalogo-vazio p { color: var(--apagado); line-height: 1.5; margin: 0 0 1.2rem; }
@media (max-width: 800px) {
  .topo-navegar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem 1rem; }
  .topo-navegar .marca { grid-column: 1 / 3; grid-row: 1; }
  .topo-navegar > .topo-acoes, .topo-navegar > .entrar, .topo-navegar > .eu { grid-column: 3; grid-row: 1; }
  .topo-navegar .navegacao { grid-row: 2; grid-column: 1; gap: 1.1rem; }
  .topo-navegar > .busca { grid-row: 2; grid-column: 2 / 4; width: 100%; }
  .topo-navegar .botao.apoiar-topo { display: none; }
  /* A long title or synopsis must grow below the two-row header. All
     slides share a grid cell, so rotation keeps the same stage height. */
  .inicio-pagina .vitrine { height: auto; min-height: 0; max-height: none; }
  .inicio-pagina .slides { display: grid; }
  .inicio-pagina .slide { position: relative; grid-area: 1 / 1; min-height: 78svh; padding-top: 9rem; }
  .catalogo { padding-top: 1.4rem; }
  .catalogo > .busca input { font-size: 16px; }
}
.grade { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.chip { border: 1px solid rgba(245,236,220,.35); background: none; border-radius: 999px;
        padding: .35rem .95rem; font-size: .98rem; color: var(--apagado); text-decoration: none; }
.chip:hover { border-color: var(--papel); color: var(--papel); }
.chip.on { background: var(--papel); color: #1d150c; border-color: var(--papel); }
.filtros-compactos { display: none; }
@media (max-width: 600px) {
  .catalogo-pagina .topo { padding-top: .5rem; padding-bottom: .5rem; gap: 0 .65rem; }
  .catalogo-pagina .topo .marca { grid-column: 1; font-size: 1.45rem; }
  .catalogo-pagina .topo .navegacao { grid-row: 1; grid-column: 2; justify-self: center; gap: .75rem; }
  .catalogo-pagina .navegacao a { display: flex; align-items: center; min-height: 44px; font-size: .95rem; }
  .catalogo-pagina .topo .entrar { font-size: .9rem; padding: .45em .8em; }
  .catalogo { padding-top: .5rem; }
  .catalogo h1 { font-size: 1.85rem; }
  .catalogo-intro, .catalogo .filtros { display: none; }
  .catalogo > .busca { margin: .5rem 0; }
  .catalogo > .busca input { min-height: 44px; padding-top: .6rem; padding-bottom: .6rem; }
  .filtros-compactos { display: flex; flex-wrap: wrap; gap: .6rem; }
  .filtros-compactos select {
    flex: 1 1 0; min-width: 0; min-height: 44px; font: inherit; font-size: 16px;
    color: var(--papel); border: 1px solid rgba(245,236,220,.35); border-radius: 999px;
    padding: .5rem 1.9rem .5rem .85rem; text-overflow: ellipsis;
    -webkit-appearance: none; appearance: none;
    background: var(--noite) no-repeat right .7rem center / 12px
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f5ecdc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  }
  .filtros-compactos select:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
  .filtros-compactos select:has(option:checked:not([value=""])) { border-color: var(--ouro); }
  .filtros-compactos noscript, .filtros-compactos button { width: 100%; }
  .catalogo-resumo { margin: .35rem 0 .5rem; font-size: .9rem; }
  .catalogo .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .catalogo .grade .cartao { display: flex; flex-direction: column; min-width: 0; }
  .catalogo .grade .cartao .img, .catalogo .grade .cartao .barra { flex-shrink: 0; }
  .catalogo .grade .cartao .info { flex: 1; padding: .55rem .6rem .7rem; }
  .catalogo .grade .cartao .info b { font-size: 1.05rem; line-height: 1.2; }
  .cartao .info .autor-cartao, .cartao .info .detalhes { display: block; }
  .cartao .info .separador { display: none; }
  .catalogo .grade .cartao .info .metadados { display: block; font-size: .875rem; line-height: 1.3; margin-top: .25rem; }
}

/* Requests and problems: the type as three cards, then the text. */
.pagina.pedido { max-width: 34rem; }
.form-pedido { display: block; margin: 0; }
.form-pedido fieldset { border: 0; padding: 0; margin: 1.2rem 0 1rem; }
.form-pedido legend { margin-bottom: .5rem; }
.opcao { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; margin-bottom: .5rem;
         border: 1px solid rgba(245,236,220,.2); border-radius: 12px; cursor: pointer; }
.opcao:has(input:checked) { border-color: var(--ouro); background: rgba(255,210,122,.06); }
.opcao input { margin-top: .3rem; accent-color: var(--ouro); }
.opcao b { display: block; font-weight: 500; }
.opcao i { color: var(--apagado); font-size: .95rem; }
.form-pedido > label { display: block; margin: 1rem 0 .4rem; }
.form-pedido textarea, .form-pedido input[type=email] {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--papel); background: rgba(12,9,6,.5);
  border: 1px solid rgba(245,236,220,.3); border-radius: 12px; padding: .7rem .9rem; }
.form-pedido textarea { resize: vertical; min-height: 8rem; }
.form-pedido textarea:focus, .form-pedido input:focus { outline: 2px solid var(--ouro); outline-offset: 1px; }
.form-pedido .botao { margin-top: 1rem; }
/* The decoy for robots: out of sight and out of the tab order. */
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resultados .pedir { margin-top: 1.4rem; }
/* The owner's list. */
.pagina.admin { max-width: 46rem; }
.pedido-item { background: var(--cartao); border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0; }
.pedido-item.feito { opacity: .55; }
.pedido-item header { display: flex; gap: .6rem; align-items: center; color: var(--apagado); font-size: .9rem; }
.pedido-item .selo { position: static; }
.texto-pedido { white-space: pre-wrap; line-height: 1.5; }
.pedido-item pre { white-space: pre-wrap; font-size: .8rem; color: var(--apagado); }
.pedido-item form { margin: .4rem 0 0; display: block; }

/* The owner's numbers. One series colour, checked against the card:
   #b88a3c sits inside the lightness band and over 3:1 on #1f1a14. */
.numeros-pagina { --serie: #b88a3c; max-width: 60rem; }
.numeros-pagina h2 { font-weight: 400; font-size: 1.3rem; margin: 2rem 0 .8rem; }
.blocos { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 1.2rem; }
.bloco-num { background: var(--cartao); border-radius: 12px; padding: 1rem 1.1rem; }
.bloco-num b { display: block; font-size: 2rem; font-weight: 500; }
.bloco-num span { color: var(--apagado); }
.colunas { display: flex; align-items: flex-end; gap: 2px; height: 160px; background: var(--cartao);
           border-radius: 12px; padding: 12px 12px 0; }
.colunas .dia { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; cursor: default; }
.colunas .dia i { display: block; width: 100%; height: var(--h); min-height: 1px; background: var(--serie);
                  border-radius: 4px 4px 0 0; }
.colunas .dia:hover i, .colunas .dia:focus i { filter: brightness(1.25); }
.colunas .dia:hover::after, .colunas .dia:focus::after {
  content: attr(data-tip); position: absolute; bottom: calc(var(--h) + 8px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--noite); border: 1px solid rgba(245,236,220,.25); border-radius: 8px;
  padding: .25rem .55rem; font-size: .85rem; z-index: 1; pointer-events: none; }
.eixo { display: flex; justify-content: space-between; color: var(--apagado); font-size: .85rem; margin-top: .3rem; }
.tabela { overflow-x: auto; }
.tabela table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.tabela th, .tabela td { text-align: right; padding: .45rem .6rem; border-bottom: 1px solid rgba(245,236,220,.12); white-space: nowrap; }
.tabela th:first-child, .tabela tbody th { text-align: left; font-weight: 500; }
.tabela thead th { color: var(--apagado); font-weight: 400; }
.tabela small { color: var(--apagado); }
.duas { display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ranking { list-style: none; padding: 0; margin: 0; }
.ranking li { display: grid; grid-template-columns: minmax(0, 1fr) 30% 3rem; gap: .6rem; align-items: center; padding: .3rem 0; }
.ranking .nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trilho-barra { height: 8px; background: rgba(245,236,220,.08); border-radius: 4px; }
.trilho-barra i { display: block; height: 100%; background: var(--serie); border-radius: 4px; }
.ranking .valor { text-align: right; color: var(--apagado); }
.numeros-pagina .chips .chip { text-decoration: none; }
/* Wider than the requests list it shares .pagina.admin with: the funnel
   table has nine columns and was cut at "Fi…". */
.pagina.admin.numeros-pagina { max-width: 64rem; }

/* /support: one card per way of helping, the Pix mark above its own. */
.pagina.apoiar .via { border: 1px solid rgba(245,236,220,.22); border-radius: 14px;
                      padding: 1.2rem 1.4rem 1.5rem; margin-top: 1.4rem; }
.pagina.apoiar .via h2 { margin: 0 0 .3rem; font-size: 1.35rem; }
.pagina.apoiar .via p { margin: .4rem 0 1rem; }
/* The mark has dark lettering: it sits on a light plate, as on a light page. */
.pagina.apoiar .logo-pix { display: block; height: 34px; width: auto; box-sizing: content-box;
                           background: #fff; padding: .55rem .9rem; border-radius: 10px; margin-bottom: .8rem; }
.pagina.apoiar .nota { opacity: .65; font-size: .95rem; margin-top: 2rem; }
.pagina.apoiar .via-pix { display: flex; gap: 1.4rem; align-items: center; justify-content: space-between; }
.pagina.apoiar .qr-pix { flex: none; width: 172px; line-height: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.pagina.apoiar .qr-pix svg { width: 100%; height: auto; display: block; }
/* A finger cannot scan the screen it is touching: the QR is for the computer. */
@media (hover: none), (max-width: 560px) { .pagina.apoiar .qr-pix { display: none; } }

/* "Apoiar" in the catalogue's header: a heart and a word, quiet beside Entrar;
   gone on a phone, where search needs the room (the end of a story and the
   footer carry it there). */
.topo-acoes { display: flex; align-items: center; gap: .6rem; }
.botao.apoiar-topo { display: inline-flex; align-items: center; gap: .4em; font-size: .95rem; padding: .45em 1em; }
.botao.apoiar-topo svg { width: 17px; height: 17px; flex: none; color: var(--ouro); }
@media (max-width: 600px) { .botao.apoiar-topo { display: none; } }

/* ---- Series (14 Oct): the series page, its episodes, the line on a story's cover ---- */
.serie-linha { margin: 0 0 .5rem; font-size: 1.05rem; font-style: italic; }
.serie-linha a { text-decoration: none; opacity: .8; border-bottom: 1px solid rgba(245,236,220,.35); }
.serie-linha a:hover { opacity: 1; }
.destaque.serie-topo { min-height: 62vh; }
.destaque.serie-topo > div { padding-top: 7rem; }
.episodios { max-width: 46rem; margin: 0 auto; padding: 2.5rem 5vw 3rem; }
.lista-ep { list-style: none; margin: 0; padding: 0; }
.lista-ep .ep { border-bottom: 1px solid rgba(245,236,220,.12); }
.ep-corpo { position: relative; display: flex; align-items: center; gap: 1rem; padding: .95rem .2rem;
            text-decoration: none; }
a.ep-corpo:hover .info b { text-decoration: underline; text-underline-offset: 3px; }
.ep .n { flex: 0 0 2rem; font-size: 1.5rem; font-style: italic; color: var(--apagado); text-align: center; }
.ep .info { flex: 1 1 auto; min-width: 0; }
.ep .info b { display: block; font-weight: 500; font-size: 1.15rem; }
.ep .info i { color: var(--apagado); font-size: .95rem; }
.ep .barra { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.ep .barra i { display: block; height: 100%; background: var(--ouro); }
.ep.breve { opacity: .55; }
.ep .selo { position: static; flex: none; }

/* Series page: progress through the whole book, under the synopsis. */
.serie-prog { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; font-size: 1rem; font-style: italic; color: var(--apagado); }
.serie-prog[hidden] { display: none; }
.serie-prog .fio { flex: 0 0 9rem; height: 4px; background: rgba(245,236,220,.2); border-radius: 2px; }
.serie-prog .fio i { display: block; height: 100%; background: var(--ouro); border-radius: 2px; }
