.sccga{position:fixed;z-index:999999;left:0;right:0;bottom:0;padding:16px;opacity:0;transform:translateY(12px);transition:opacity .25s,transform .25s;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#222;box-sizing:border-box}
.sccga *,.sccga *::before,.sccga *::after{box-sizing:border-box}
.sccga[hidden],.sccga [hidden]{display:none!important}
.sccga.is-visible{opacity:1;transform:none}
.sccga--top{top:0;bottom:auto;transform:translateY(-12px)}
.sccga--box{right:auto;max-width:440px}
.sccga__inner{background:#fff;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.18);padding:18px 20px;max-width:1100px;margin:0 auto;max-height:calc(100vh - 32px);overflow:auto}
.sccga__main{display:flex;gap:16px;align-items:center;justify-content:space-between}
.sccga--box .sccga__main,.sccga.is-expanded .sccga__main{flex-direction:column;align-items:stretch}
.sccga.is-expanded .sccga__main .sccga__btns{display:none}
.sccga__title{display:block;margin-bottom:4px;font-size:16px}
.sccga__text p{margin:0}
.sccga__text a{color:inherit;text-decoration:underline}
.sccga__btns{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}
.sccga__btns--panel{justify-content:flex-end;margin-top:12px}
.sccga__btn{cursor:pointer;border-radius:8px;padding:10px 18px;font:inherit;font-weight:600;line-height:1.2;border:2px solid var(--sccga-accent,#111);transition:opacity .15s;margin:0}
.sccga__btn:hover{opacity:.85}
.sccga__btn:focus-visible,.sccga__cat input:focus-visible+.sccga__switch{outline:2px solid var(--sccga-accent,#111);outline-offset:2px}
.sccga__btn--accept{background:var(--sccga-accent,#111);color:#fff}
.sccga__btn--ghost{background:transparent;color:var(--sccga-accent,#111)}
.sccga__panel{margin-top:14px;border-top:1px solid #e5e5e5;padding-top:6px}
.sccga__cat{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #f0f0f0;cursor:pointer}
.sccga__cat input{position:absolute;opacity:0;width:1px;height:1px}
.sccga__switch{flex-shrink:0;position:relative;width:40px;height:22px;border-radius:11px;background:#ccc;transition:background .2s;margin-top:2px}
.sccga__switch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s}
.sccga__cat input:checked+.sccga__switch{background:var(--sccga-accent,#111)}
.sccga__cat input:checked+.sccga__switch::after{transform:translateX(18px)}
.sccga__cat input:disabled+.sccga__switch{opacity:.5;cursor:not-allowed}
.sccga__cat-text strong{display:block}
.sccga__cat-text small{display:block;color:#666;font-size:13px}
@media (max-width:640px){.sccga__main{flex-direction:column;align-items:stretch}.sccga__btns{flex-direction:column-reverse}.sccga__btn{width:100%}.sccga--box{max-width:none;right:0}}
