.tops-privacy-bar{position:fixed;z-index:2147483000;left:0;right:0;bottom:0;box-sizing:border-box;height:calc(36px + env(safe-area-inset-bottom,0px));padding:0 16px env(safe-area-inset-bottom,0px);display:flex;align-items:center;justify-content:center;gap:16px;background:rgba(5,5,85,.94);color:#fff;font:400 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:tpb-in .28s cubic-bezier(.22,1,.36,1)}
.tops-privacy-bar[hidden],.tops-privacy-opener[hidden],.tops-privacy-panel[hidden]{display:none}
.tops-privacy-bar .tpb-text{margin:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;letter-spacing:.01em}
.tops-privacy-bar .tpb-guard{position:absolute;inset:0}
.tops-privacy-bar .tpb-actions{display:flex;flex:none;gap:8px}
.tops-privacy-bar button{position:relative;font:inherit;cursor:pointer;color:#fff;margin:0}
.tops-privacy-bar .tpb-link{flex:none;min-height:24px;background:none;border:0;padding:0 2px;text-decoration:underline;text-underline-offset:2px;color:#bfe6ff}
.tops-privacy-bar .tpb-link:hover{color:#fff}
.tops-privacy-bar .tpb-btn{height:24px;padding:0 12px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.06);font-weight:600;font-size:12px;line-height:22px}
.tops-privacy-bar .tpb-btn:hover{background:rgba(255,255,255,.18)}
.tops-privacy-bar .tpb-sr,.tops-privacy-live{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tops-privacy-bar :focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Área táctil invisible, sólo en «Privacidad» y «Rechazar», y siempre dentro de la barra: 3 px a los lados y hasta el
   alto de la barra (±6 px en la de 36 px, ±9 px en la de 44 px). «Aceptar» no tiene área invisible: su objetivo es el botón
   visible (24 / 26 px, WCAG 2.5.8). Con 8 px de separación quedan 5 px muertos entre «Rechazar» y «Aceptar»; el hueco y los
   bordes de la barra los recibe .tpb-guard (hermana de los botones, sin acción), así el ajuste táctil del navegador no lleva
   a «Aceptar» un toque que cae fuera del botón visible. */
@media(pointer:coarse){.tops-privacy-bar button::before{content:"";position:absolute;left:-3px;right:-3px;top:-6px;bottom:-6px}.tops-privacy-bar .tpb-btn[data-choice="both"]::before{inset:0}}
@media(pointer:coarse) and (max-width:600px){.tops-privacy-bar button::before{top:-9px;bottom:-9px}.tops-privacy-bar .tpb-btn[data-choice="both"]::before{inset:0}}
@media(max-width:600px){.tops-privacy-bar{height:calc(44px + env(safe-area-inset-bottom,0px));justify-content:space-between;gap:8px;padding:0 10px env(safe-area-inset-bottom,0px);font-size:12px}.tops-privacy-bar .tpb-long{display:none}.tops-privacy-bar .tpb-text{flex:1 1 auto}.tops-privacy-bar .tpb-actions{gap:8px}.tops-privacy-bar .tpb-btn{height:26px;line-height:24px;padding:0 9px}}
@media(max-width:430px){.tops-privacy-bar .tpb-mid{display:none}}
@keyframes tpb-in{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.tops-privacy-bar{animation:none}}
@media print{.tops-privacy-bar,.tops-privacy-opener,.tops-privacy-panel{display:none!important}}
.tops-privacy-panel{position:fixed;z-index:2147483001;right:12px;bottom:calc(48px + env(safe-area-inset-bottom,0px));box-sizing:border-box;width:min(26rem,calc(100% - 24px));max-height:calc(100vh - 72px);overflow:auto;overscroll-behavior:contain;margin:0;padding:16px;font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#142638;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 8px 30px rgba(18,35,52,.22)}
.tops-privacy-panel h2{font-size:16px;margin:0 0 8px;color:#050555}.tops-privacy-panel p{margin:8px 0}.tops-privacy-panel label{display:flex;align-items:flex-start;gap:10px;margin:10px 0}.tops-privacy-panel input{width:20px;height:20px;flex:none;margin:0}
.tops-privacy-panel button{min-height:36px;background:#050555;color:#fff;border:1px solid #050555;border-radius:8px;padding:6px 12px;margin:4px 4px 4px 0;font:inherit;font-size:13px;cursor:pointer}.tops-privacy-panel [data-close]{float:right;margin:0;min-height:32px;background:#fff;color:#050555;font-size:12px}
.tops-privacy-panel :focus-visible{outline:3px solid #009eae;outline-offset:2px}.tops-privacy-panel small{display:block;color:#425466;font-size:12px}.tops-privacy-panel [role=status]{min-height:1.2em;font-size:13px}.tops-privacy-panel a{color:#050555}
.tops-privacy-opener{position:fixed;z-index:2147482999;left:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));height:24px;padding:0 10px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(5,5,85,.82);color:#fff;font:500 12px/22px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer;opacity:.8}
.tops-privacy-opener:hover,.tops-privacy-opener:focus-visible{opacity:1}.tops-privacy-opener:focus-visible{outline:2px solid #009eae;outline-offset:2px}
@media(pointer:coarse){.tops-privacy-opener::before{content:"";position:absolute;inset:-10px -3px}}
