.cc{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(16px + env(safe-area-inset-bottom));z-index:80;width:min(340px,calc(100% - 32px));padding:18px;border-radius:18px;background:#fff;color:#0b0b0c;font-family:"Inter",-apple-system,BlinkMacSystemFont,sans-serif;box-shadow:0 24px 60px -12px rgba(11,11,12,.28),0 0 0 1px #e6e6e1;opacity:0;transform:translateY(16px);transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1)}
.cc.is-on{opacity:1;transform:none}
.cc__title{margin:0 0 8px;font-family:"Inter Tight","Inter",sans-serif;font-size:1.05rem;font-weight:600;letter-spacing:-.02em;line-height:1.25}
.cc__text{margin:0;font-size:.86rem;line-height:1.5;color:#5f5f66}
.cc__text a{color:#0051ff;text-underline-offset:2px}
.cc__prefs{display:flex;flex-direction:column;gap:4px;margin-top:16px;padding-top:12px;border-top:1px solid #e6e6e1}
.cc__prefs[hidden]{display:none}
.cc__row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;cursor:pointer}
.cc__row:first-child{cursor:default}
.cc__name{margin:0;font-size:.86rem;font-weight:600}
.cc__desc{margin:2px 0 0;font-size:.78rem;line-height:1.45;color:#5f5f66}
.cc__toggle{position:absolute;opacity:0;width:1px;height:1px}
.cc__switch{flex:none;position:relative;width:40px;height:24px;border-radius:999px;background:#d6d6cf;transition:background .2s}
.cc__switch i{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .2s}
.cc__toggle:checked+.cc__switch,.cc__switch.is-locked{background:#0051ff}
.cc__switch.is-locked{opacity:.45}
.cc__toggle:checked+.cc__switch i,.cc__switch.is-locked i{transform:translateX(16px)}
.cc__toggle:focus-visible+.cc__switch{outline:3px solid rgba(0,81,255,.4);outline-offset:2px}
.cc__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.cc__btn{flex:1 1 auto;min-height:40px;padding:0 16px;border-radius:999px;border:0;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .18s,box-shadow .18s}
.cc__btn--ghost{background:#fff;color:#0b0b0c;box-shadow:inset 0 0 0 1.5px #d6d6cf}
.cc__btn--ghost:hover{box-shadow:inset 0 0 0 1.5px #0b0b0c}
.cc__btn--primary{flex-basis:100%;background:#0051ff;color:#fff}
.cc__btn--primary:hover{background:#0045db}
.cc__btn:focus-visible{outline:3px solid rgba(0,81,255,.4);outline-offset:2px}
@media(max-width:480px){
  .cc{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;padding:14px;border-radius:16px}
  .cc__title{font-size:.95rem;margin-bottom:4px}
  .cc__text{font-size:.78rem;line-height:1.45}
  .cc__extra{display:none}
  .cc__actions{flex-wrap:nowrap;gap:6px;margin-top:12px}
  .cc__btn{flex:1 1 0;min-height:36px;padding:0 8px;font-size:.76rem}
  .cc__btn--primary{flex-basis:0}
  .cc__prefs{margin-top:10px;padding-top:6px}
  .cc__row{padding:5px 0}
  .cc__desc{font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){.cc,.cc__switch,.cc__switch i{transition:none}}
