/* Kikãozinho — histórias em quadrinhos */
.hq-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.hq-filtros button { padding: 7px 15px; border-radius: 99px; border: 3px solid var(--azul, #1b2a6b); background: #fff; color: var(--azul, #1b2a6b); font: 800 15px var(--f-t, sans-serif); cursor: pointer; box-shadow: 0 3px 0 var(--azul, #1b2a6b); }
.hq-filtros button[aria-pressed="true"] { background: var(--sol, #ffd21e); }
.hq-filtros button:hover { translate: 0 -2px; }
.hq-estante { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.hq-gibi { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; transition: translate .15s, rotate .15s; }
.hq-gibi:hover { translate: 0 -6px; rotate: -1.5deg; }
.hq-gibi__ler { display: block; margin-top: 10px; text-align: center; padding: 8px; border-radius: 99px; background: var(--verm, #e3262f); color: #fff; border: 3px solid var(--azul, #1b2a6b); font: 800 16px var(--f-t, sans-serif); }
.hq-capa { position: relative; aspect-ratio: 3 / 4.2; display: grid; grid-template-rows: auto 1fr auto auto auto; padding: 12px 14px 14px; overflow: hidden; color: #fff; text-align: center; background: var(--c) repeating-conic-gradient(from 0deg at 50% 52%, rgba(255, 255, 255, .22) 0 10deg, transparent 10deg 20deg); border: 5px solid var(--azul, #1b2a6b); border-radius: 12px; box-shadow: 7px 7px 0 var(--azul, #1b2a6b); }
/* capa com cenário: fundo do cenário + raios + sombra embaixo para o título */
.hq-capa__fundo { position: absolute; inset: 0; z-index: 0; }
.hq-capa--fundo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-conic-gradient(from 0deg at 50% 52%, rgba(255, 255, 255, .13) 0 10deg, transparent 10deg 20deg), linear-gradient(transparent 52%, rgba(0, 0, 0, .5)); }
.hq-capa--fundo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 7px var(--c); border-radius: 6px; }
.hq-capa > :not(.hq-capa__fundo) { position: relative; z-index: 2; }
.hq-capa__topo { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.hq-capa__topo img { width: 62%; height: auto; } .hq-capa__topo span { padding: 2px 10px; border-radius: 8px; background: var(--sol, #ffd21e); color: var(--azul, #1b2a6b); border: 3px solid var(--azul, #1b2a6b); font: 800 16px var(--f-t, sans-serif); rotate: 6deg; }
.hq-capa > .hq-capa__selo { position: absolute; z-index: 3; top: 21%; right: 3%; width: 31%; aspect-ratio: 1; rotate: 12deg; filter: drop-shadow(3px 3px 0 var(--azul, #1b2a6b)); animation: hq-selo 2.4s ease-in-out infinite; }
.hq-capa__selo span { display: grid; place-items: center; width: 100%; height: 100%; padding: 22%; box-sizing: border-box; background: var(--verm, #e3262f); color: var(--sol, #ffd21e); font: 800 clamp(10px, 1.05vw, 14px)/1 var(--f-t, sans-serif); text-transform: uppercase; clip-path: polygon(50% 0, 61% 14%, 79% 9%, 80% 27%, 97% 33%, 87% 50%, 97% 67%, 80% 73%, 79% 91%, 61% 86%, 50% 100%, 39% 86%, 21% 91%, 20% 73%, 3% 67%, 13% 50%, 3% 33%, 20% 27%, 21% 9%, 39% 14%); }
@keyframes hq-selo { 50% { scale: 1.07; } }
.hq-capa__fig { position: relative; min-height: 0; }
.hq-capa__fig img { position: absolute; bottom: 0; height: 100%; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 6px 0 rgba(27, 42, 107, .3)); }
.hq-capa__fig .a { left: 4%; z-index: 2; } .hq-capa__fig .b { right: 2%; height: 78%; z-index: 1; }
.hq-capa__fig .c { left: 50%; translate: -50% 0; height: 58%; max-width: 50%; z-index: 0; bottom: 18%; opacity: .95; }
.hq-capa h3 { margin-top: 6px; font: 800 clamp(20px, 2.4vw, 28px)/1 var(--f-t, sans-serif); color: #fff; -webkit-text-stroke: 5px var(--azul, #1b2a6b); paint-order: stroke fill; text-transform: uppercase; }
.hq-capa p { margin: 4px 0 0; font: 800 15px var(--f-t, sans-serif); color: var(--sol, #ffd21e); -webkit-text-stroke: 3px var(--azul, #1b2a6b); paint-order: stroke fill; }
.hq-capa small { margin-top: 4px; font: 700 11.5px var(--f-c, sans-serif); opacity: .95; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hq-leitor { background: #fff; border: 5px solid var(--azul, #1b2a6b); border-radius: 22px; overflow: hidden; box-shadow: 10px 10px 0 var(--c); }
.hq-leitor header { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--c); color: #fff; border-bottom: 4px solid var(--azul, #1b2a6b); }
.hq-leitor header b { flex: 1; font: 800 20px var(--f-t, sans-serif); text-shadow: 0 2px 0 var(--azul, #1b2a6b); } .hq-leitor header span { font: 800 15px var(--f-t, sans-serif); }
.hq-leitor header button { padding: 5px 12px; border-radius: 99px; border: 3px solid var(--azul, #1b2a6b); background: #fff; color: var(--azul, #1b2a6b); font: 800 14px var(--f-t, sans-serif); cursor: pointer; }
.hq-leitor header .hq-bt-share { background: var(--sol, #ffd21e); }
.hq-folha { padding: 16px; background: #fffdf4; display: grid; justify-items: center; }
.hq-folha > .hq-capa { width: min(420px, 100%); }
.hq-leitor footer { display: flex; justify-content: center; gap: 12px; padding: 10px 14px 16px; background: #fffdf4; }
.hq-leitor footer button[disabled] { opacity: .4; pointer-events: none; }
.hq-pag { display: grid; gap: 10px; width: min(860px, 100%); aspect-ratio: 4 / 3.3; animation: kz-pagina .4s cubic-bezier(.3, 1.2, .5, 1); }
.hq-l-a { grid-template: 1fr 1fr / 1fr 1fr; } .hq-l-a > :first-child { grid-column: 1 / -1; }
.hq-l-b { grid-template: 1fr 1fr / 1fr 1fr; } .hq-l-b > :last-child { grid-column: 1 / -1; }
.hq-l-c { grid-template: 1fr 1fr / 1.15fr 1fr; } .hq-l-c > :first-child { grid-row: 1 / -1; }
.hq-l-c > :nth-child(2):last-child { grid-row: 1 / -1; }
.hq-q { position: relative; overflow: hidden; border: 4px solid #111; border-radius: 6px; min-height: 0; }
.hq-p { position: absolute; bottom: 0; translate: -50% 0; width: auto; max-width: 60%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .18)); }
.hq-p.esp { scale: -1 1; }
.hq-p--tela { border: 4px solid #111; border-radius: 4px; background: #fff; box-shadow: 4px 4px 0 rgba(0, 0, 0, .35); }
.hq-leg { position: absolute; left: 0; top: 0; z-index: 3; max-width: 78%; margin: 0; padding: 5px 9px; background: #fff3a8; border-right: 3px solid #111; border-bottom: 3px solid #111; font: 700 clamp(11px, 1.35vw, 14px)/1.25 var(--f-c, sans-serif); color: #111; }
.hq-b { --bm: 46%; position: absolute; z-index: 4; max-width: min(var(--bm), calc(97% - var(--x, 0) * 1%)); margin: 0; padding: 7px 11px; background: #fff; color: #111; border: 3px solid #111; border-radius: 18px; font: 800 clamp(11.5px, 1.45vw, 16px)/1.18 var(--f-t, sans-serif); text-align: center; box-sizing: border-box; }
.hq-b::after { content: ""; position: absolute; bottom: -14px; width: 18px; height: 16px; background: #fff; border: 3px solid #111; border-top: 0; clip-path: polygon(0 0, 100% 0, 30% 100%); }
.hq-b.c-e::after { left: 18px; } .hq-b.c-d::after { right: 18px; clip-path: polygon(0 0, 100% 0, 70% 100%); }
.hq-b:not(.c-e):not(.c-d)::after { display: none; }
.hq-b--g { background: var(--sol, #ffd21e); font-size: clamp(14px, 1.9vw, 22px); text-transform: uppercase; border-radius: 6px; rotate: -3deg; }
.hq-b--g::after { background: var(--sol, #ffd21e); }
.hq-b--p { border-radius: 40px; border-style: dashed; font-style: italic; }
.hq-b--p::after { display: none; }
/* cenários */
.hq-f-estudio { background: linear-gradient(#3a2c5c 0 62%, #8a5a34 62%); }
.hq-f-estudio::before { content: ""; position: absolute; inset: 10% 8% 46%; background: repeating-linear-gradient(90deg, #2a1f45 0 18px, #4a3a74 18px 22px); border-radius: 8px; opacity: .7; }
.hq-f-brilho { background: #ffd21e repeating-conic-gradient(from 0deg at 50% 60%, #fff3a8 0 9deg, transparent 9deg 18deg); }
.hq-f-palco { background: radial-gradient(ellipse at 50% 0, #ff5fa2 0, transparent 60%), linear-gradient(#2a1150 0 72%, #6b3b1f 72%); }
.hq-f-escritorio { background: linear-gradient(#0f1a3d 0 66%, #1d2a5c 66%); }
.hq-f-escritorio::before { content: "</>  01 10  X  {}"; position: absolute; left: 6%; top: 18%; color: rgba(111, 160, 255, .35); font: 800 22px monospace; letter-spacing: .3em; }
.hq-f-quintal { background: linear-gradient(#7fd3ff 0 62%, #4fbf5a 62%); }
.hq-f-noite { background: radial-gradient(circle at 80% 18%, #fffbe0 0 4%, transparent 5%), linear-gradient(#141a4a 0 70%, #1d3a6b 70%); }
.hq-f-ceu { background: linear-gradient(#36b3ff, #c9efff); }
.hq-f-rio { background: linear-gradient(#7fd3ff 0 52%, #3a2a1a 52% 52.5%, transparent 52.5%), linear-gradient(90deg, #2b1d10 0 50%, #b88a4a 50%); }
.hq-f-parintins { background: linear-gradient(90deg, rgba(227, 38, 47, .8) 0 50%, rgba(27, 111, 227, .8) 50%), linear-gradient(#ffd21e, #ff8a2a); }
/* cenários novos (edições 5–14) */
.hq-f-campo { background: linear-gradient(#7fd3ff 0 42%, transparent 42%), repeating-linear-gradient(90deg, #3fae4a 0 12%, #4fbf5a 12% 24%); }
.hq-f-campo::before { content: ""; position: absolute; left: 0; right: 0; top: 64%; height: 4px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 0 #fff; }
.hq-f-taxi { background: linear-gradient(#ffe066 0 64%, #333 64%); }
.hq-f-taxi::before { content: ""; position: absolute; left: 0; right: 0; top: 56%; height: 8%; background: repeating-conic-gradient(#111 0 25%, #ffd21e 0 50%) 0 0 / 22px 22px; }
.hq-f-onibus { background: linear-gradient(#cfd8e6 0 70%, #6b7380 70%); }
.hq-f-onibus::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9%; height: 36%; border-radius: 8px; background: repeating-linear-gradient(90deg, #8fd0ff 0 22%, #cfd8e6 22% 26%); }
.hq-f-hospital { background: linear-gradient(#d9f3ee 0 66%, #a9d6cf 66%); }
.hq-f-hospital::before { content: "+"; position: absolute; right: 8%; top: 8%; width: 24%; height: 34%; display: grid; place-items: center; color: #e3262f; font: 800 40px/1 sans-serif; background: linear-gradient(#7fd3ff, #c9efff); border: 5px solid #fff; border-radius: 6px; }
.hq-f-lanche { background: linear-gradient(#ffb347 0 58%, #fff 58% 60%, #c0392b 60% 74%, #8a4a2a 74%); }
.hq-f-lanche::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 36px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 36px); }
.hq-f-multidao { background: radial-gradient(ellipse at 25% 0, rgba(54, 179, 255, .55) 0, transparent 50%), radial-gradient(ellipse at 75% 0, rgba(255, 95, 162, .55) 0, transparent 50%), linear-gradient(#1a0b3a, #3a1a6a); }
.hq-f-multidao::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: radial-gradient(circle at 50% 100%, #0a0420 0 58%, transparent 60%) 0 100% / 46px 100% repeat-x, radial-gradient(circle at 50% 100%, #160a33 0 58%, transparent 60%) 23px 0 / 46px 80% repeat-x; }
.hq-f-chuva { background: repeating-linear-gradient(105deg, rgba(255, 255, 255, .35) 0 2px, transparent 2px 22px), linear-gradient(#56627a 0 68%, #3b4a5c 68%); }
.hq-f-arraial { background: radial-gradient(ellipse at 88% 92%, #ffb02e 0 7%, rgba(255, 138, 42, .35) 8% 16%, transparent 17%), linear-gradient(#1b1450 0 70%, #6b3b1f 70%); }
.hq-f-arraial::before { content: ""; position: absolute; left: 0; right: 0; top: 3%; height: 14%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 2 Q60 10 120 2' stroke='%23fff' stroke-width='2' fill='none'/%3E%3Cpath d='M4 4 L26 5 L15 30Z' fill='%23e3262f'/%3E%3Cpath d='M34 6 L56 7 L45 32Z' fill='%23ffd21e'/%3E%3Cpath d='M64 7 L86 6 L75 32Z' fill='%232fb24c'/%3E%3Cpath d='M94 5 L116 4 L105 30Z' fill='%2336b3ff'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x; }
.hq-f-arcoiris { background: radial-gradient(circle at 50% 100%, transparent 0 40%, #8b3fd6 40% 44%, #36b3ff 44% 48%, #2fb24c 48% 52%, #ffd21e 52% 56%, #ff8a2a 56% 60%, #e3262f 60% 64%, transparent 64%), linear-gradient(#9fdcff 0 70%, #4fbf5a 70%); }
.hq-f-mansao { background: radial-gradient(circle at 78% 20%, #fffbe0 0 9%, rgba(255, 251, 224, .22) 10% 15%, transparent 16%), linear-gradient(#1a0b33 0 72%, #1f3324 72%); }
.hq-f-dentro { background: radial-gradient(ellipse at 50% 30%, rgba(255, 200, 90, .35) 0, transparent 55%), linear-gradient(transparent 70%, #5a3a2a 70%), repeating-linear-gradient(90deg, #3a1f5c 0 26px, #45276b 26px 52px); }
.hq-f-dentro::before { content: ""; position: absolute; right: 0; top: 0; width: 30%; height: 36%; background: repeating-radial-gradient(circle at 100% 0, transparent 0 13px, rgba(255, 255, 255, .4) 13px 15px), repeating-conic-gradient(from 180deg at 100% 0, rgba(255, 255, 255, .4) 0 1deg, transparent 1deg 18deg); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.hq-f-salao { background: radial-gradient(ellipse at 50% 0, rgba(255, 210, 30, .55) 0, transparent 60%), linear-gradient(#5b2a9a 0 70%, #8a5a34 70%); }
.hq-f-salao::before { content: ""; position: absolute; left: 0; right: 0; top: 5%; height: 9%; background: radial-gradient(circle, #ffd21e 0 5px, transparent 6px) 0 50% / 34px 100% repeat-x, radial-gradient(circle, #ff5fa2 0 5px, transparent 6px) 17px 80% / 34px 100% repeat-x; }
.hq-f-rio-noite { background: radial-gradient(circle at 20% 16%, #fffbe0 0 6%, rgba(255, 251, 224, .2) 7% 11%, transparent 12%), linear-gradient(#0e1440 0 46%, #10301f 46% 52%, #0b1a33 52%); }
.hq-f-rio-noite::before { content: ""; position: absolute; left: 14%; bottom: 0; width: 13%; height: 46%; background: repeating-linear-gradient(0deg, rgba(255, 251, 224, .45) 0 4px, transparent 4px 14px); }
.hq-f-neblina { background: radial-gradient(ellipse at 30% 62%, rgba(255, 255, 255, .5) 0, transparent 50%), radial-gradient(ellipse at 80% 40%, rgba(255, 255, 255, .4) 0, transparent 45%), linear-gradient(#2a3550 0 56%, #1a2438 56%); }
.hq-f-fundo { background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .35) 0 3%, transparent 4%), radial-gradient(circle at 70% 18%, rgba(255, 255, 255, .3) 0 2%, transparent 3%), radial-gradient(circle at 86% 56%, rgba(255, 255, 255, .3) 0 2.5%, transparent 3.5%), linear-gradient(#1f6f7a, #0b2a3a 82%, #3a2a1a 82%); }
.hq-f-floresta { background: radial-gradient(circle at 10% 26%, #1f6e30 0 18%, transparent 19%), radial-gradient(circle at 36% 14%, #2f8f3f 0 20%, transparent 21%), radial-gradient(circle at 64% 24%, #1f6e30 0 22%, transparent 23%), radial-gradient(circle at 92% 12%, #2f8f3f 0 20%, transparent 21%), linear-gradient(#9fdc8a 0 70%, #6b4a24 70%); }
.hq-f-floresta::before { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 40%; background: repeating-linear-gradient(90deg, transparent 0 9%, #6b4a24 9% 11.5%, transparent 11.5% 27%); opacity: .8; }
.hq-f-igarape { background: radial-gradient(circle at 14% 12%, #1f6e30 0 22%, transparent 23%), radial-gradient(circle at 82% 8%, #2f8f3f 0 24%, transparent 25%), linear-gradient(#9fdc8a 0 48%, #2a6a5a 48%, #12403a); }
.hq-f-igarape::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: repeating-linear-gradient(0deg, transparent 0 16px, rgba(255, 255, 255, .14) 16px 18px); }
.hq-f-passado { background: linear-gradient(#e9d9b0 0 64%, #b89a68 64%); }
.hq-f-passado::before { content: "www."; position: absolute; right: 6%; top: 8%; color: rgba(120, 80, 30, .3); font: 800 30px monospace; }
/* compartilhar (stories) */
.hq-share { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(10, 16, 48, .72); overflow-y: auto; }
.hq-share__caixa { position: relative; width: min(460px, 100%); padding: 18px 16px 16px; background: #fffdf4; border: 5px solid var(--azul, #1b2a6b); border-radius: 22px; box-shadow: 8px 8px 0 var(--c, #e3262f); text-align: center; box-sizing: border-box; }
.hq-share__caixa h3 { margin: 0 34px 10px; font: 800 22px var(--f-t, sans-serif); color: var(--azul, #1b2a6b); }
.hq-share__x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--azul, #1b2a6b); background: #fff; color: var(--azul, #1b2a6b); font: 800 16px sans-serif; cursor: pointer; }
.hq-share__op { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.hq-share__op button { padding: 5px 14px; border-radius: 99px; border: 3px solid var(--azul, #1b2a6b); background: #fff; color: var(--azul, #1b2a6b); font: 800 14px var(--f-t, sans-serif); cursor: pointer; }
.hq-share__op button[aria-pressed="true"] { background: var(--sol, #ffd21e); }
.hq-share__previa { position: relative; display: grid; place-items: center; width: min(220px, 52vw); aspect-ratio: 9 / 16; margin: 0 auto 12px; border-radius: 14px; overflow: hidden; background: var(--c, #36b3ff); border: 3px solid var(--azul, #1b2a6b); }
.hq-share__previa img { width: 100%; height: 100%; object-fit: cover; }
.hq-share__previa span { position: absolute; inset: auto 8px 8px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--azul, #1b2a6b); font: 800 13px var(--f-t, sans-serif); }
.hq-share__previa span[hidden], .hq-share__previa img[hidden] { display: none; }
.hq-share__bts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-share__bts .kz-bt { justify-content: center; padding: 9px 10px; font-size: 15px; box-shadow: 0 4px 0 var(--azul, #1b2a6b); }
.hq-share__aviso { margin: 12px 0 0; font: 700 12.5px/1.3 var(--f-c, sans-serif); color: #444; }
@media (max-width: 900px) { .hq-estante { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hq-folha { padding: 8px; }
  .hq-pag { aspect-ratio: auto; grid-template: none !important; grid-auto-rows: 260px; }
  .hq-pag > * { grid-column: auto !important; grid-row: auto !important; }
  .hq-b { --bm: 60%; font-size: 13px; } .hq-b--g { font-size: 15px; } .hq-leg { font-size: 12px; max-width: 90%; }
  .hq-leitor header { flex-wrap: wrap; gap: 6px 10px; } .hq-leitor header b { font-size: 15px; flex-basis: 100%; order: -1; } .hq-leitor footer .kz-bt { padding: 9px 14px; font-size: 15px; }
  .hq-capa { padding: 8px 8px 10px; grid-template-rows: auto minmax(110px, 1fr) auto auto auto; }
  .hq-capa h3 { font-size: 17px; -webkit-text-stroke-width: 4px; } .hq-capa p { font-size: 12px; } .hq-capa small { display: none; }
  .hq-capa__topo span { font-size: 12px; padding: 1px 6px; }
  .hq-capa__selo span { font-size: 9px; padding: 20%; }
  .hq-gibi__ler { font-size: 13px; padding: 6px; }
  .hq-filtros { gap: 6px; } .hq-filtros button { font-size: 13px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) { .hq-capa > .hq-capa__selo { animation: none; } }
