/* Cookie consent bar and to-top offset */
#cookieBar{position:fixed;left:0;right:0;bottom:0;z-index:999;background:#16233D;color:#F2EFE6;padding:1rem clamp(1rem,3vw,2rem);box-shadow:0 -6px 30px rgba(0,0,0,.25);font-size:.85rem;line-height:1.5;transform:translateY(100%);transition:transform .4s ease;max-height:100vh;overflow:auto}
#cookieBar.show{transform:none}
#cookieBar .cb-row{display:flex;flex-wrap:wrap;gap:.9rem 1.5rem;align-items:center;justify-content:space-between}
#cookieBar p{margin:0;max-width:68ch;color:rgba(242,239,230,.88)}
#cookieBar a{color:#F2EFE6;text-decoration:underline;text-underline-offset:2px}
#cookieBar .cb-actions{display:flex;flex-wrap:wrap;gap:.6rem}
#cookieBar button{font:inherit;font-size:.74rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.7rem 1.15rem;border-radius:999px;border:1px solid #E6C277;cursor:pointer;transition:background .2s,color .2s}
#cookieBar .cb-main{background:#E6C277;color:#16233D}
#cookieBar .cb-main:hover{background:#F1D594}
#cookieBar .cb-alt{background:transparent;color:#F2EFE6}
#cookieBar .cb-alt:hover{background:rgba(230,194,119,.16)}
#cookieBar button:focus-visible,#cookieBar input:focus-visible{outline:2px solid #fff;outline-offset:2px}
#cookieBar .cb-panel{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(242,239,230,.18);display:grid;gap:.85rem}
#cookieBar .cb-panel[hidden]{display:none}
#cookieBar label{display:flex;gap:.75rem;align-items:flex-start}
#cookieBar input{width:18px;height:18px;margin-top:.15rem;accent-color:#E6C277;flex-shrink:0}
#cookieBar label b{display:block;font-weight:600;color:#F2EFE6}
#cookieBar label span{color:rgba(242,239,230,.72)}
@media (max-width:640px){#cookieBar .cb-actions,#cookieBar .cb-actions button{width:100%}}
@media (prefers-reduced-motion:reduce){#cookieBar{transition:none}}
