html.ubie-cc-lock,
html.ubie-cc-lock body{overflow:hidden}

#ubie-cc-root,
#ubie-cc-root *,
#ubie-cc-root *::before,
#ubie-cc-root *::after,
.ubie-cc-fab,
.ubie-cc-fab *,
.ubie-open-settings{box-sizing:border-box}

#ubie-cc-root{
  position:fixed;
  left:0;
  right:0;
  z-index:999999;
  width:100%;
  max-width:100vw;
  font-family:var(--ubie-font,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  pointer-events:none;
}
#ubie-cc-root>*{pointer-events:auto}
#ubie-cc-root::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:18px;
  pointer-events:none;
  opacity:.9;
}
.ubie-cc-root--bottom{bottom:0;top:auto}
.ubie-cc-root--bottom::before{bottom:100%;background:linear-gradient(to top, rgba(15,23,42,.12), rgba(15,23,42,0))}
.ubie-cc-root--top{top:0;bottom:auto}
.ubie-cc-root--top::before{top:100%;background:linear-gradient(to bottom, rgba(15,23,42,.12), rgba(15,23,42,0))}

.ubie-cc-banner{
  width:100%;
  max-width:100%;
  margin:0;
  background:var(--ubie-banner-surface,rgba(17,24,39,.96));
  backdrop-filter:blur(12px);
  color:var(--ubie-banner-text,#fff);
  border:0;
  border-top:1px solid rgba(255,255,255,.08);
  border-radius:var(--ubie-radius,0px);
  box-shadow:var(--ubie-shadow,0 10px 28px rgba(0,0,0,.10));
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:96px;
  position:relative;
  overflow-wrap:anywhere;
}

.ubie-cc-root--top .ubie-cc-banner{border-top:0;border-bottom:1px solid rgba(255,255,255,.08)}
.ubie-cc-panel-only .ubie-cc-banner{display:none}

.ubie-cc-eyebrow,
.ubie-cc-branding{display:none}

.ubie-cc-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  min-width:0;
  max-width:100%;
  flex:1 1 auto;
}
.ubie-cc-copy h2{
  margin:0;
  font-size:22px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-0.01em;
  white-space:normal;
}
.ubie-cc-copy p{
  margin:0;
  color:color-mix(in srgb, var(--ubie-banner-text,#fff) 94%, transparent);
  font-size:15px;
  line-height:1.55;
  max-width:980px;
}

.ubie-cc-actions{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:nowrap;
}
.ubie-cc-btn{
  appearance:none;
  border:1px solid transparent;
  border-radius:999px;
  padding:14px 20px;
  min-height:48px;
  font-weight:700;
  font-size:15px;
  line-height:1.2;
  cursor:pointer;
  transition:transform .16s ease,opacity .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;
  white-space:normal;
  max-width:100%;
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.ubie-cc-btn:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.14)}
.ubie-cc-btn:focus-visible,
.ubie-cc-close:focus-visible,
.ubie-cc-fab:focus-visible,
.ubie-open-settings:focus-visible{outline:2px solid var(--ubie-button,#0f766e);outline-offset:2px}
.ubie-cc-btn-secondary,
.ubie-cc-btn-ghost{
  background:var(--ubie-secondary-bg,#e2e8f0);
  color:var(--ubie-secondary-text,#0f172a);
  border-color:color-mix(in srgb, var(--ubie-secondary-text,#0f172a) 14%, transparent);
}
.ubie-cc-banner .ubie-cc-btn-secondary,
.ubie-cc-banner .ubie-cc-btn-ghost{
  background:var(--ubie-secondary-bg,rgba(255,255,255,.12));
  color:var(--ubie-secondary-text,#ffffff);
  border-color:color-mix(in srgb, var(--ubie-button,#0f766e) 42%, rgba(255,255,255,.16));
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset;
}
.ubie-cc-actions-panel .ubie-cc-btn-secondary,
.ubie-cc-actions-panel .ubie-cc-btn-ghost{
  background:color-mix(in srgb, var(--ubie-button,#0f766e) 12%, #f8fafc);
  color:#0f172a;
  border-color:color-mix(in srgb, var(--ubie-button,#0f766e) 22%, #cbd5e1);
  box-shadow:none;
}
.ubie-cc-btn-primary{
  background:var(--ubie-button,#0f766e);
  color:var(--ubie-button-text,#fff);
  border-color:transparent;
  min-width:148px;
  text-align:center;
}
.ubie-cc-actions-panel .ubie-cc-btn-primary{
  color:var(--ubie-button-text,#fff);
}

.ubie-cc-panel{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.56);
  display:none;
  padding:20px;
  align-items:flex-end;
  justify-content:center;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.ubie-cc-panel.is-open{display:flex}
.ubie-cc-panel-card{
  width:min(820px,100%);
  max-width:100%;
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--ubie-panel-surface,#fff);
  color:var(--ubie-panel-text,#0f172a);
  border-radius:max(18px, calc(var(--ubie-radius,0px) + 2px));
  padding:28px;
  box-shadow:0 24px 80px rgba(15,23,42,.25);
}
.ubie-cc-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.ubie-cc-panel-head h3{margin:0;font-size:24px;color:var(--ubie-panel-text,#0f172a)}
.ubie-cc-close{border:1px solid rgba(15,23,42,.08);background:#eef2f7;border-radius:999px;width:38px;height:38px;font-size:26px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#0f172a;padding:0}
.ubie-cc-cats{display:grid;gap:14px;margin:18px 0;min-width:0}
.ubie-cc-cat{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px;border:1px solid #e2e8f0;border-radius:18px;background:#fcfcfd;min-width:0}
.ubie-cc-cat strong{display:block;color:var(--ubie-panel-text,#0f172a);margin-bottom:6px}
.ubie-cc-cat p{margin:0;color:#475569;line-height:1.5;overflow-wrap:anywhere}
.ubie-cc-switch{display:flex;align-items:center}
.ubie-cc-switch input{display:none}
.ubie-cc-switch span{width:52px;height:32px;border-radius:999px;background:#cbd5e1;position:relative;display:block}
.ubie-cc-switch span:after{content:"";position:absolute;left:4px;top:4px;width:24px;height:24px;border-radius:50%;background:#fff;transition:all .2s ease}
.ubie-cc-switch input:checked + span{background:var(--ubie-button,#0f766e)}
.ubie-cc-switch input:checked + span:after{left:24px}
.ubie-cc-actions-panel{justify-content:flex-end;flex-wrap:wrap}

.ubie-open-settings{border:1px solid #cbd5e1;background:#fff;padding:10px 14px;border-radius:999px;cursor:pointer}
.ubie-cc-fab{
  position:fixed;
  left:16px;
  bottom:16px;
  z-index:999998;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  color:#0f172a;
  box-shadow:0 12px 28px rgba(15,23,42,.14);
  font:600 14px/1 var(--ubie-font,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.ubie-cc-fab:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.16)}
.ubie-cc-fab svg{width:16px;height:16px;display:block;opacity:.82}
.ubie-cc-fab[hidden]{display:none!important}

.ubie-policy table{width:100%;border-collapse:collapse;margin-top:16px}
.ubie-policy th,.ubie-policy td{border:1px solid #e2e8f0;padding:10px;text-align:left;vertical-align:top}

@media (max-width: 980px){
  .ubie-cc-banner{padding:18px 18px;gap:16px;min-height:92px}
  .ubie-cc-copy h2{font-size:20px}
  .ubie-cc-copy p{font-size:14.5px}
  .ubie-cc-actions .ubie-cc-btn{padding:13px 18px;font-size:14px}
}

@media (max-width: 760px){
  .ubie-cc-banner{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:16px;
    padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));
    min-height:auto;
  }
  .ubie-cc-copy{width:100%;gap:8px}
  .ubie-cc-copy h2{font-size:19px}
  .ubie-cc-copy p{font-size:14px;line-height:1.55;max-width:none}
  .ubie-cc-actions{width:100%;justify-content:stretch;gap:10px;min-width:0}
  .ubie-cc-actions .ubie-cc-btn{flex:1 1 0;min-width:0;min-height:46px}
  .ubie-cc-panel{padding:12px;align-items:flex-end}
  .ubie-cc-panel-card{padding:22px;max-height:calc(100dvh - 24px)}
  .ubie-cc-panel-head h3{font-size:22px}
  .ubie-cc-cat{grid-template-columns:1fr;gap:12px}
  .ubie-cc-switch{justify-content:flex-start}
  .ubie-cc-fab{left:12px;bottom:12px;padding:10px 12px}
}

@media (max-width: 520px){
  .ubie-cc-banner{padding:18px 14px calc(18px + env(safe-area-inset-bottom,0px));gap:14px}
  .ubie-cc-copy h2{font-size:18px}
  .ubie-cc-copy p{font-size:13.5px;line-height:1.45}
  .ubie-cc-actions{width:100%;gap:8px;flex-direction:column}
  .ubie-cc-actions .ubie-cc-btn{width:100%;min-width:0}
  .ubie-cc-btn{font-size:14px;padding:12px 14px}
  .ubie-cc-panel{padding:10px}
  .ubie-cc-panel-card{padding:18px 14px;max-height:calc(100dvh - 20px);border-radius:16px}
  .ubie-cc-panel-head{gap:12px}
  .ubie-cc-panel-head h3{font-size:20px;line-height:1.2}
  .ubie-cc-close{width:36px;height:36px;flex:0 0 auto}
  .ubie-cc-cat{padding:14px;border-radius:14px}
  .ubie-cc-actions-panel{flex-direction:column}
  .ubie-cc-actions-panel .ubie-cc-btn{width:100%;min-width:0}
  .ubie-cc-fab span{display:none}
  .ubie-cc-fab{width:44px;height:44px;justify-content:center;padding:0;border-radius:999px}
}

.ubie-cc-actions-panel .ubie-cc-btn{min-width:min(180px,100%);}
.ubie-cc-actions-panel .ubie-cc-btn-secondary:hover{background:color-mix(in srgb, var(--ubie-button,#0f766e) 16%, #f8fafc);}

@media (max-width: 380px){
  .ubie-cc-banner{padding:16px 12px calc(16px + env(safe-area-inset-bottom,0px))}
  .ubie-cc-copy h2{font-size:17px}
  .ubie-cc-copy p{font-size:13px}
  .ubie-cc-btn{min-height:44px;padding:11px 12px}
  .ubie-cc-panel-card{padding:16px 12px}
}

@media (max-height: 560px) and (orientation: landscape){
  .ubie-cc-banner{padding:12px 14px;gap:10px}
  .ubie-cc-copy h2{font-size:17px}
  .ubie-cc-copy p{font-size:13px;line-height:1.35}
  .ubie-cc-actions{gap:8px}
  .ubie-cc-actions .ubie-cc-btn{min-height:42px;padding:10px 12px}
  .ubie-cc-panel{align-items:center;padding:8px}
  .ubie-cc-panel-card{max-height:calc(100dvh - 16px);padding:16px}
}

@supports not (height: 100dvh){
  .ubie-cc-panel-card{max-height:calc(100vh - 40px)}
  @media (max-width:760px){.ubie-cc-panel-card{max-height:calc(100vh - 24px)}}
  @media (max-width:520px){.ubie-cc-panel-card{max-height:calc(100vh - 20px)}}
}
