/* tubio — página bio pública. Las variables (--bg, --text, --btn-*) llegan en un <style> por página. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.bio { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--text); font: 400 var(--fs)/1.5 var(--font); background: var(--bg); background-attachment: fixed; overflow-x: hidden; }
body.bio.has-bg-img { background: none; }
.bg { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
.has-bg-img .bg { filter: var(--bg-filter); transform: scale(1.06); }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.col { width: 100%; max-width: var(--col); margin: 0 auto; padding: max(2.5rem, env(safe-area-inset-top)) 1.1rem 2rem; display: flex; flex-direction: column; gap: var(--gap); }
.al-center .col { text-align: center; }
.al-left .col { text-align: left; }
.blk { min-width: 0; }

/* botones */
.btn { display: flex; flex-direction: column; justify-content: center; align-items: var(--b-justify, center); gap: .15rem; width: 100%; min-height: 3.4rem; padding: .85rem 1.25rem;
  background: var(--b-bg, var(--btn-bg)); color: var(--b-text, var(--btn-text)); border: var(--btn-bw) var(--btn-bs) var(--b-bc, var(--btn-bc)); border-radius: var(--btn-r);
  box-shadow: var(--btn-sh); font: 600 1em/1.25 var(--font); text-decoration: none; text-align: inherit; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; -webkit-tap-highlight-color: transparent; }
.al-center .btn { text-align: center; }
.btn small { font-weight: 400; font-size: .82em; opacity: .8; }
.btn-big { min-height: 4.6rem; font-size: 1.08em; }
.btn-big strong { font-weight: 750; }
.btn-img { flex-direction: row; align-items: center; gap: .9rem; padding: .5rem 1.1rem .5rem .5rem; text-align: left; }
.btn-img img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: calc(var(--btn-r) * .7); flex: none; }
.btn-img span { flex: 1; }
.btn-img.l-cover { flex-direction: column; padding: 0 0 .85rem; overflow: hidden; text-align: center; }
.btn-img.l-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.hov-lift .btn:hover { transform: translateY(-2px); }
.hov-grow .btn:hover { transform: scale(1.025); }
.hov-glow .btn:hover { filter: brightness(1.08); box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-bc) 45%, transparent), var(--btn-sh); }
.btn:active { transform: scale(.985); }
.fx-pulse { animation: pulse 2.4s ease-in-out infinite; }
.fx-shake { animation: shake 4s ease-in-out infinite; }
.fx-shine { position: relative; overflow: hidden; }
.fx-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 35%) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes shake { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-2deg); } 92% { transform: rotate(2deg); } 94% { transform: rotate(-1.5deg); } 96% { transform: rotate(1deg); } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* texto */
.heading { margin: .25rem 0 0; line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: anywhere; }
h1.heading { font-size: 1.75em; } h2.heading { font-size: 1.4em; } h3.heading { font-size: 1.2em; } h4.heading, h5.heading, h6.heading { font-size: 1.05em; }
.para { margin: 0; opacity: .92; overflow-wrap: anywhere; }
.para.empty { opacity: .6; }
.md { overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }
.md h2, .md h3, .md h4 { margin: 1em 0 .4em; line-height: 1.2; }
.md blockquote { margin: .8em 0; padding: .2em 1em; border-inline-start: 3px solid currentColor; opacity: .85; }
.md code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; padding: .1em .35em; border-radius: 4px; background: color-mix(in srgb, currentColor 12%, transparent); }
.md ul, .md ol { text-align: left; display: inline-block; margin: .5em 0; }
.verified { display: inline-flex; vertical-align: -0.12em; color: #1d9bf0; }
.verified svg { width: .9em; height: .9em; }

/* imágenes */
.avatar { display: block; object-fit: cover; margin: 0 auto; background: color-mix(in srgb, var(--text) 10%, transparent); }
.al-left .avatar { margin-left: 0; }
.avatar.s-sm { width: 72px; height: 72px; } .avatar.s-md { width: 104px; height: 104px; } .avatar.s-lg { width: 148px; height: 148px; }
.avatar.sh-circle { border-radius: 50%; } .avatar.sh-rounded { border-radius: 22%; } .avatar.sh-square { border-radius: 0; }
.figure { margin: 0; }
.figure img { display: block; width: 100%; height: auto; border-radius: var(--btn-r); }
.figure figcaption { margin-top: .4rem; font-size: .88em; opacity: .8; }

/* separadores, listas, avisos */
.hr { width: 100%; border: 0; margin: .25rem 0; border-top: 1px solid color-mix(in srgb, var(--text) 25%, transparent); }
.hr.st-dashed { border-top-style: dashed; } .hr.st-dots { border-top: 3px dotted color-mix(in srgb, var(--text) 35%, transparent); width: 40%; margin-inline: auto; }
.spacer { height: 1.25rem; }
.list { margin: 0; padding-inline-start: 1.3em; text-align: left; display: inline-block; justify-self: center; }
.al-center .blk-list { text-align: center; }
.list li + li { margin-top: .3em; }
.list.st-check { list-style: none; padding: 0; }
.list.st-check li::before { content: "✓"; font-weight: 800; margin-inline-end: .55em; }
.alert { padding: .85rem 1rem; border-radius: calc(var(--btn-r) * .6 + 4px); text-align: left; font-weight: 500; border: 1px solid; }
.alert.v-info { background: #e0f2fe; color: #075985; border-color: #bae6fd; }
.alert.v-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.alert.v-warning { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.alert.v-danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.marquee { overflow: hidden; white-space: nowrap; padding: .5rem 0; font-weight: 650; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 18s linear infinite; }
.marquee.sp-slow .marquee-track { animation-duration: 30s; } .marquee.sp-fast .marquee-track { animation-duration: 9s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* redes */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .55rem; justify-content: var(--b-justify, center); }
.al-left .socials { justify-content: var(--b-justify, flex-start); }
.soc { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--b-text, var(--text)); transition: transform .15s ease; }
.soc:hover { transform: translateY(-2px) scale(1.06); }
.soc svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }
.socials.s-sm .soc svg { width: 1.15rem; height: 1.15rem; } .socials.s-sm .soc { width: 2.3rem; height: 2.3rem; }
.socials.s-lg .soc svg { width: 1.9rem; height: 1.9rem; } .socials.s-lg .soc { width: 3.3rem; height: 3.3rem; }
.socials.colored .soc { background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 15%); }
.socials.colored .soc-instagram{color:#FF0069}.socials.colored .soc-tiktok{color:#000000}.socials.colored .soc-youtube{color:#FF0000}.socials.colored .soc-x{color:#000000}.socials.colored .soc-facebook{color:#0866FF}.socials.colored .soc-threads{color:#000000}.socials.colored .soc-whatsapp{color:#25D366}.socials.colored .soc-telegram{color:#26A5E4}.socials.colored .soc-linkedin{color:#0a66c2}.socials.colored .soc-bluesky{color:#1185FE}.socials.colored .soc-mastodon{color:#6364FF}.socials.colored .soc-pinterest{color:#BD081C}.socials.colored .soc-snapchat{color:#FFFC00}.socials.colored .soc-twitch{color:#9146FF}.socials.colored .soc-kick{color:#53FC19}.socials.colored .soc-discord{color:#5865F2}.socials.colored .soc-reddit{color:#FF4500}.socials.colored .soc-spotify{color:#1ED760}.socials.colored .soc-applemusic{color:#FA243C}.socials.colored .soc-soundcloud{color:#FF5500}.socials.colored .soc-github{color:#181717}.socials.colored .soc-behance{color:#1769FF}.socials.colored .soc-dribbble{color:#EA4C89}.socials.colored .soc-patreon{color:#000000}.socials.colored .soc-kofi{color:#FF6433}.socials.colored .soc-substack{color:#FF6719}.socials.colored .soc-medium{color:#000000}.socials.colored .soc-tumblr{color:#36465D}.socials.colored .soc-vk{color:#0077FF}.socials.colored .soc-paypal{color:#002991}.socials.colored .soc-signal{color:#3B45FD}.socials.colored .soc-email{color:#ea4335}.socials.colored .soc-phone{color:#16a34a}.socials.colored .soc-website{color:#475569}

/* embeds y medios */
.embed { position: relative; width: 100%; border-radius: calc(var(--btn-r) * .6 + 4px); overflow: hidden; background: rgb(0 0 0 / 8%); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.r-16x9 { aspect-ratio: 16 / 9; }
.embed.r-9x16 { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.embed.r-fixed { height: 352px; } .embed.h-152 { height: 152px; } .embed.h-166 { height: 166px; }
.media { display: block; width: 100%; border-radius: calc(var(--btn-r) * .6 + 4px); background: #000; }
.audio { margin: 0; }
.audio figcaption { font-weight: 600; margin-bottom: .35rem; }
.audio audio { width: 100%; }

/* barra de anuncio, compartir, marca */
.announce { position: sticky; top: 0; z-index: 3; padding: .6rem 1rem; text-align: center; font-weight: 600; font-size: .92em; background: var(--ann-bg); color: var(--ann-text); }
.announce.pos-bottom { bottom: 0; top: auto; }
.announce a { color: inherit; }
.share-fab { position: fixed; top: max(.9rem, env(safe-area-inset-top)); right: .9rem; z-index: 4; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-text); backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgb(0 0 0 / 15%); }
.share-fab svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); padding: .55rem 1rem; border-radius: 99px; background: #111; color: #fff; font-size: .9rem; z-index: 9; }
.made { margin-top: 1.5rem; text-align: center; font-size: .82em; }
.made a { text-decoration: none; }
.made a:hover { text-decoration: underline; }

/* entrada */
.anim-fade .blk { animation: fadeIn .5s both; }
.anim-rise .blk { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.anim-pop .blk { animation: pop .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.blk[data-i="1"] { animation-delay: .04s; } .blk[data-i="2"] { animation-delay: .08s; } .blk[data-i="3"] { animation-delay: .12s; }
.blk[data-i="4"] { animation-delay: .16s; } .blk[data-i="5"] { animation-delay: .2s; } .blk[data-i="6"] { animation-delay: .24s; }
.blk[data-i="7"] { animation-delay: .28s; } .blk[data-i="8"] { animation-delay: .32s; } .blk[data-i="9"], .blk[data-i="10"], .blk[data-i="11"], .blk[data-i="12"], .blk[data-i="13"], .blk[data-i="14"], .blk[data-i="15"] { animation-delay: .36s; }
/* nunca desde opacidad 0: el navegador no cuenta como pintado (LCP) lo invisible */
@keyframes fadeIn { from { opacity: .35; } }
@keyframes rise { from { transform: translateY(12px); } }
@keyframes pop { from { transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.report { text-align: center; font-size: .75em; margin: .25rem 0 0; }
.report a { text-decoration: none; }
.report a:hover { text-decoration: underline; }

/* bloques de negocio y contenido */
.faq { display: flex; flex-direction: column; gap: .5rem; text-align: left; }
.faq details { background: var(--b-bg, var(--btn-bg)); color: var(--b-text, var(--btn-text)); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: .1rem 1rem; }
.faq summary { cursor: pointer; font-weight: 650; padding: .75rem 0; list-style-position: inside; }
.faq details[open] summary { border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); margin-bottom: .6rem; }
.faq .md { padding-bottom: .75rem; }
.hours { background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: 1rem 1.1rem; text-align: left; }
.hours-title { font-weight: 700; margin: 0 0 .25rem; }
.hours-now { font-weight: 700; margin: 0 0 .6rem; }
.hours-now::before { content: ''; display: inline-block; width: .6em; height: .6em; border-radius: 50%; margin-right: .45em; vertical-align: .05em; }
.hours-now.open::before { background: #16a34a; } .hours-now.closed::before { background: #dc2626; }
.hours table { width: 100%; border-collapse: collapse; font-size: .94em; }
.hours th { text-align: left; font-weight: 600; padding: .2rem 0; }
.hours td { text-align: right; padding: .2rem 0; font-variant-numeric: tabular-nums; }
.hours-note { font-size: .85em; opacity: .8; margin: .6rem 0 0; }
.reviews { display: flex; flex-direction: column; gap: .75rem; }
.review { margin: 0; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: 1rem 1.1rem; text-align: left; }
.review blockquote { margin: .4rem 0; }
.review figcaption { font-size: .88em; opacity: .8; }
.stars { color: #f59e0b; letter-spacing: .1em; } .stars .off { color: color-mix(in srgb, currentColor 25%, transparent); color: #d1d5db; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid color-mix(in srgb, var(--text) 30%, transparent); text-align: left; }
.timeline li { position: relative; padding: 0 0 1rem .75rem; }
.timeline li::before { content: ""; position: absolute; left: -1.55rem; top: .35rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--text); }
.tl-date { display: block; font-size: .82em; opacity: .75; }
.timeline p { margin: .2rem 0 0; opacity: .9; }
.counter { display: flex; flex-direction: column; align-items: center; }
.counter-n { font-size: 2.4em; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter-l { opacity: .8; }
.countdown { text-align: center; }
.cd-label { font-weight: 650; margin: 0 0 .5rem; }
.cd-units { display: flex; justify-content: center; gap: .5rem; }
.cd-u { display: flex; flex-direction: column; min-width: 3.6rem; padding: .6rem .3rem; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: calc(var(--btn-r) * .6 + 4px); }
.cd-u b { font-size: 1.6em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-u small { font-size: .72em; opacity: .75; }
.cd-done { font-weight: 700; }
.coupon { border: 2px dashed currentColor; border-radius: calc(var(--btn-r) * .6 + 6px); padding: 1rem; }
.coupon-title { font-weight: 750; margin: 0; } .coupon-desc { margin: .25rem 0 .5rem; opacity: .85; }
.coupon-code { display: inline-flex; gap: .8rem; align-items: center; padding: .55rem .9rem; border: 0; border-radius: 8px; background: var(--btn-bg); color: var(--btn-text); font: inherit; cursor: pointer; }
.coupon-code code { font-size: 1.15em; font-weight: 800; letter-spacing: .08em; }
.coupon-code span { font-size: .8em; opacity: .75; }
.product { display: flex; flex-direction: column; overflow: hidden; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); text-align: left; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-body { padding: 1rem 1.1rem 1.1rem; }
.product h3 { margin: 0; font-size: 1.1em; } .product .price { font-weight: 800; font-size: 1.2em; margin: .25rem 0; }
.product .btn { margin-top: .6rem; background: var(--btn-text); color: var(--btn-bg); border-color: var(--btn-text); min-height: 2.8rem; }
.gallery { display: grid; gap: .4rem; grid-template-columns: repeat(2, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--btn-r) * .4); display: block; }
.carousel { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; border-radius: calc(var(--btn-r) * .6); }
.carousel figure { margin: 0; flex: 0 0 88%; scroll-snap-align: center; }
.carousel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: calc(var(--btn-r) * .6); }
.ba { position: relative; margin: 0; overflow: hidden; border-radius: calc(var(--btn-r) * .6 + 4px); --pos: 50%; }
.ba img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-after::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; box-shadow: 0 0 6px rgb(0 0 0 / 40%); }
.ba-l { position: absolute; bottom: .5rem; padding: .15rem .5rem; border-radius: 6px; background: rgb(0 0 0 / 55%); color: #fff; font-size: .8em; }
.ba-l1 { left: .5rem; } .ba-l2 { right: .5rem; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.modal summary { list-style: none; }
.modal summary::-webkit-details-marker { display: none; }
.modal-body { margin-top: .5rem; padding: 1rem 1.1rem; text-align: left; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); }
.modal-body h3 { margin: 0 0 .5rem; }
.feed { text-align: left; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: .9rem 1.1rem; }
.feed-title { font-weight: 700; margin: 0 0 .4rem; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { padding: .45rem 0; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.feed li:first-child { border-top: 0; }
.feed a { font-weight: 600; text-decoration: none; }
.feed small { display: block; opacity: .7; font-size: .8em; }
.feed-empty { opacity: .7; margin: 0; }
.ytfeed { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; text-align: left; }
.ytfeed a { text-decoration: none; display: flex; flex-direction: column; gap: .3rem; font-size: .85em; font-weight: 600; line-height: 1.3; }
.ytfeed img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--btn-r) * .5); background: rgb(0 0 0 / 10%); }
.weather { display: flex; align-items: center; gap: .8rem; justify-content: center; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: .8rem 1.1rem; position: relative; }
.w-icon { font-size: 2em; } .w-temp { font-size: 1.8em; font-weight: 800; }
.w-place { display: flex; flex-direction: column; text-align: left; font-weight: 650; }
.w-place small { font-weight: 400; opacity: .8; }
.w-src { position: absolute; right: .6rem; bottom: .3rem; font-size: .62em; opacity: .5; }
.embed.h-360 { height: 360px; } .embed.h-500 { height: 500px; } .embed.h-560 { height: 560px; } .embed.h-600 { height: 600px; }
.embed.h-640 { height: 640px; } .embed.h-700 { height: 700px; } .embed.h-760 { height: 760px; }
.embed.r-fixed { background: #fff; }
.pdf-link { text-align: center; margin: .3rem 0 0; font-size: .85em; }

/* captura de datos */
.cap { display: flex; flex-direction: column; gap: .55rem; background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: 1rem 1.1rem; text-align: left; }
.cap fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.cap-title { font-weight: 700; margin: 0; } .cap-desc { margin: 0; opacity: .85; font-size: .94em; }
.cap-in { width: 100%; padding: .7rem .8rem; border-radius: calc(var(--btn-r) * .5 + 2px); border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, var(--btn-bg) 85%, #fff); color: inherit; font: inherit; }
textarea.cap-in { resize: vertical; }
.cap .btn { background: var(--btn-text); color: var(--btn-bg); border-color: var(--btn-text); min-height: 2.9rem; }
.cap-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .82em; opacity: .9; }
.cap-consent input { margin-top: .2rem; }
.cap-status { margin: 0; font-size: .8em; opacity: .75; min-height: 0; }
.cap-status:empty { display: none; }
.cap-ok { margin: 0; padding: 1rem; border-radius: var(--btn-r); background: #dcfce7; color: #166534; font-weight: 600; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.poll-o { display: flex; gap: .5rem; align-items: center; padding: .45rem .2rem; cursor: pointer; }
.poll-r { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; margin: .5rem 0; text-align: left; }
.poll-r progress { grid-column: 1 / -1; width: 100%; height: .55rem; accent-color: var(--text); }
.poll-n { font-size: .8em; opacity: .75; margin: .3rem 0 0; }
.poll:not(.cap) { background: var(--btn-bg); color: var(--btn-text); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); padding: 1rem 1.1rem; }
.cap-err { margin: 0; padding: .6rem .8rem; border-radius: 8px; background: #fee2e2; color: #991b1b; font-weight: 600; font-size: .9em; }
.donation { display: flex; flex-direction: column; gap: .5rem; text-align: center; }
.btn-paypal { background: #ffc439; color: #111; border-color: #ffc439; }

/* intermedias: splash, marco, píxeles */
body.go { --bg: #f6f7f9; --text: #14181f; --btn-bg: #14181f; --btn-text: #fff; --btn-bc: #14181f; --btn-bw: 0px; --btn-bs: solid; --btn-r: 12px; --btn-sh: none; --font: system-ui, sans-serif; --fs: 16px; --col: 520px; --gap: 1rem; }
.splash { text-align: center; padding-top: 3rem; }
.splash-img { max-width: 100%; border-radius: 14px; }
.splash-ad img { max-width: 100%; border-radius: 10px; border: 1px solid #ddd; }
.splash-count { font-weight: 600; opacity: .8; }
iframe.cloak { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; }
.px-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 20; max-width: 560px; margin: 0 auto; background: #111; color: #fff; padding: .9rem 1rem; border-radius: 14px; box-shadow: 0 8px 30px rgb(0 0 0 / 30%); font-size: .88rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.px-bar[hidden] { display: none; }
.px-bar p { margin: 0; flex: 1 1 260px; }
.px-bar a { color: #fff; }
.px-bar div { display: flex; gap: .5rem; }
.px-bar .btn { width: auto; min-height: 2.4rem; padding: .4rem .9rem; background: transparent; color: #fff; border: 1px solid #666; font-size: .9rem; }
.px-bar .btn-primary-px { width: auto; min-height: 2.4rem; padding: .4rem .9rem; background: #fff; color: #111; border: 0; border-radius: 10px; font: 600 .9rem/1 system-ui, sans-serif; cursor: pointer; }

/* v2: cabecera con portada, tarjeta de artículo, llamada a la acción */
.cover-h { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 0 .5rem; }
.cover-bg { width: 100%; aspect-ratio: 3 / 1.4; object-fit: cover; border-radius: var(--btn-r, 16px); }
.cover-av { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-top: -56px; border: 4px solid var(--bg-solid, #fff); position: relative; }
.cover-t { margin: .6rem 0 .1rem; font-size: 1.6em; line-height: 1.15; }
.cover-s { margin: 0; opacity: .85; }
.art-card { display: flex; gap: 12px; align-items: stretch; text-decoration: none; color: var(--b-text, var(--btn-text)); background: var(--b-bg, var(--btn-bg)); border: var(--btn-bw) var(--btn-bs) var(--btn-bc); border-radius: var(--btn-r); box-shadow: var(--btn-sh); overflow: hidden; min-height: 88px; }
.art-card img { width: 96px; object-fit: cover; flex: none; }
.art-b { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 14px 10px 0; min-width: 0; text-align: left; }
.art-card:not(:has(img)) .art-b { padding-left: 14px; }
.art-t { font-weight: 700; }
.art-d { font-size: .92em; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-h { font-size: .8em; opacity: .7; }
.cta-box { text-align: center; padding: 18px 16px; border-radius: var(--btn-r); border: 1px dashed var(--btn-bc); }
.cta-t { font-weight: 800; font-size: 1.2em; margin: 0 0 4px; }
.cta-x { margin: 0 0 12px; opacity: .9; }

/* fuentes de títulos y cifras (--font-h, --font-n) */
.heading, .cover-t, .art-t, .cta-t, .stat-t { font-family: var(--font-h, var(--font)); letter-spacing: -0.02em; }
.stat-v, .steps b { font-family: var(--font-n, var(--font)); font-variant-numeric: tabular-nums; }
mark.hl { background: var(--btn-bg); color: var(--btn-text); padding: 0 .18em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* estilo de bloque: marco con sombra dura y giro ligero */
.fr-hard .btn, .fr-hard .art-card, .fr-hard .stat, .fr-hard .cta-box, .fr-hard .steps li, .fr-hard .chip-l, .fr-hard .list { border: 2px solid var(--b-bc, var(--text)); box-shadow: 5px 5px 0 var(--b-bc, var(--text)); }
.fr-hard .art-card, .fr-hard .stat, .fr-hard .cta-box, .fr-hard .list { border-radius: 20px; }
/* lista como tarjeta cuando el bloque tiene fondo propio */
.has-bg .list { display: block; background: var(--b-bg); color: var(--b-text, inherit); padding: 18px 20px; border-radius: 20px; }
.has-bg .list.st-number { padding-left: 2.6em; }
.has-bg .list.st-check li { padding-left: 1.5em; text-indent: -1.5em; }
.tilt-n2 > * { rotate: -2deg; } .tilt-n1 > * { rotate: -1deg; } .tilt-p1 > * { rotate: 1deg; } .tilt-p2 > * { rotate: 2deg; }
.hov-lift .fr-hard .art-card:hover, .hov-lift .fr-hard .btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--b-bc, var(--text)); }

/* cifra grande */
.stat { text-align: left; color: var(--b-text, inherit); }
.has-bg .stat { background: var(--b-bg); padding: 22px 20px; border-radius: 24px; }
.stat-k { margin: 0 0 .2rem; font-weight: 700; font-size: .9em; opacity: .85; }
.stat-v { margin: 0; font-size: clamp(3.4rem, 22vw, 6rem); font-weight: 900; line-height: .9; letter-spacing: -0.03em; color: var(--b-bc, currentColor); }
.stat-t { margin: .5rem 0 .15rem; font-size: 1.3em; font-weight: 700; line-height: 1.15; }
.stat-x { margin: 0; opacity: .88; }
.stat.l-side { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.stat.l-side .stat-k, .stat.l-side .stat-btn { grid-column: 1 / -1; }
.stat.l-side .stat-v, .stat-v.stat-long { font-size: clamp(2.4rem, 13vw, 3.6rem); }
.stat.l-side .stat-t { margin-top: 0; }
.stat-btn { margin-top: 14px; background: var(--b-bc, var(--btn-bg)); color: var(--b-bg, var(--btn-text)); border-color: var(--b-bc, var(--btn-bc)); }

/* fichas en tira horizontal */
.chips-row { margin-inline: -1.1rem; }
.chips-row ul { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 6px 1.3rem 12px; scrollbar-width: none; }
.chips-row ul::-webkit-scrollbar { display: none; }
.chips-row li { flex: none; scroll-snap-align: start; }
.chips-row li:nth-child(even) .chip-l { rotate: 1.2deg; } .chips-row li:nth-child(odd) .chip-l { rotate: -1deg; }
.chip-l { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 16px; background: var(--b-bg, var(--btn-bg)); color: var(--b-text, var(--btn-text)); border: var(--btn-bw) solid var(--b-bc, var(--btn-bc)); font-weight: 700; text-decoration: none; white-space: nowrap; }
.fr-hard .chip-l { box-shadow: 3px 3px 0 var(--b-bc, var(--text)); }

/* pasos (1 · 3 · 5 · 7) */
.steps ol { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: 6px 4px; border: 2px solid var(--b-bc, var(--text)); border-radius: 14px; background: var(--b-bg, transparent); text-align: center; }
.steps li b { font-size: 1.5em; font-weight: 900; line-height: 1; }
.steps li span { font-size: .875em; font-weight: 600; }
.steps li:last-child { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.steps-n { margin: 10px 0 0; font-weight: 600; font-size: .92em; text-align: left; }

/* marquesina con separador y fondo propio */
.marquee .mq-run { display: inline-flex; align-items: center; gap: 1.1rem; padding-right: 1.1rem; }
.marquee.has-sep .marquee-track { gap: 0; }
.mq-sep { font-style: normal; opacity: .8; } .mq-x { width: .9em; height: .9em; flex: none; }
.blk-marquee.has-bg { margin-inline: -1.6rem; }
.has-bg .marquee { background: var(--b-bg); color: var(--b-text, inherit); mask-image: none; -webkit-mask-image: none; padding: .85rem 0; font-size: 1.1em; }
