
#wedaiCookieBar{position:fixed;left:0;right:0;bottom:0;z-index:9985;display:none;background:rgba(8,8,20,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid rgba(0,245,255,.25);padding:16px 20px;box-shadow:0 -10px 30px rgba(0,0,0,.4)}
#wedaiCookieBar.on{display:flex}
/* The bar is fixed to the bottom, so it floats OVER whatever is down there and
   eats the clicks meant for it -- on the dashboard that was the Quick Launch Hub
   tools, which simply stopped responding. While the bar is up the page gets that
   much room at the bottom, so nothing is ever covered. */
body.wedai-cookiebar-up{padding-bottom:var(--wedai-cookiebar-h,96px)}
/* Pages that scroll an inner column instead of the body (the studio dashboard
   is one: body is a flex row, .main-content does the scrolling) need the room
   there too, so the bar does not sit on the last thing on the page. */
body.wedai-cookiebar-up .main-content,
body.wedai-cookiebar-up .page-wrap,
body.wedai-cookiebar-up main{padding-bottom:var(--wedai-cookiebar-h,96px)!important}
/* Room alone is not enough: the bar is FIXED, so anything the user scrolls
   under it is still unclickable -- on the dashboard that silently killed every
   Quick Launch Hub tool. The strip itself ignores the pointer; only its text
   and its two buttons take clicks. */
#wedaiCookieBar{pointer-events:none}
#wedaiCookieBar>*{pointer-events:auto}
#wedaiCookieBar{flex-wrap:wrap;align-items:center;gap:14px;justify-content:center}
#wedaiCookieBar .wcc-text{flex:1 1 320px;max-width:640px;font:400 .82rem/1.55 Poppins,system-ui,sans-serif;color:#c8c8d0;margin:0}
#wedaiCookieBar .wcc-text a{color:#00f5ff;text-decoration:underline}
#wedaiCookieBar .wcc-btns{display:flex;gap:10px;flex-shrink:0}
#wedaiCookieBar button{font:600 .78rem/1 Poppins,system-ui,sans-serif;letter-spacing:.3px;padding:10px 20px;border-radius:30px;cursor:pointer;border:1px solid transparent;white-space:nowrap}
#wedaiCookieBar .wcc-accept{background:linear-gradient(90deg,#ff00ff,#00ffff);color:#000}
#wedaiCookieBar .wcc-reject{background:transparent;border-color:rgba(255,255,255,.25);color:#c8c8d0}
#wedaiCookieBar .wcc-reject:hover{border-color:#ff6b6b;color:#ff6b6b}
@media (max-width:560px) {
#wedaiCookieBar{padding:14px 16px}
#wedaiCookieBar .wcc-btns{width:100%}
#wedaiCookieBar .wcc-btns button{flex:1}
}
/* FIX (2026-09-17): this banner's z-index (99998) was far above the
   fixed bottom nav bar (.wedai-bottom-nav, z-index:9990, height:58px +
   safe-area-inset-bottom -- see static/css/studio_pages.css), so on any
   page with that nav visible (every mobile/native screen) the banner sat
   ON TOP of it, hiding the Dashboard/Crew/Multi-Sync (or Home/AI Creator/
   Premium/Profile) tabs entirely until Accept/Reject was tapped -- users
   could not navigate the app at all until they dismissed this banner.
   Lowered this banner's z-index below the bottom nav's (9985 < 9990) and
   lifted it to sit just above the nav bar instead of behind/under it, so
   both are visible and usable together. */
@media (max-width:900px) {
#wedaiCookieBar{bottom:calc(58px + env(safe-area-inset-bottom))}
}
/* Small / big-font phones (2026-10-26 sweep: /terms and /refund-policy at 320px / 130% and 360px / 160% text were wider
   than the screen): the text and the two buttons may shrink and wrap instead of widening the page. */
@media (max-width:560px) {
#wedaiCookieBar{box-sizing:border-box;max-width:100vw}
#wedaiCookieBar .wcc-text{flex:1 1 100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
#wedaiCookieBar .wcc-btns{flex-wrap:wrap;min-width:0;max-width:100%}
#wedaiCookieBar .wcc-btns button{min-width:0;white-space:normal}
}
