:root{
  --cc-bg:#071523;
  --cc-panel:#0c2035;
  --cc-text:#f7fbff;
  --cc-muted:#b5c7d9;
  --cc-line:rgba(168,203,255,.22);
  --cc-accent:#5bbcff;
  --cc-gold:#d8b46a;
  --cc-shadow:0 24px 70px rgba(0,0,0,.42);
}
.cc-lock{overflow:hidden!important}
.cc-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:2147483000;display:none;justify-content:center;pointer-events:none}
.cc-banner.is-visible{display:flex}
.cc-banner__panel{width:min(1120px,100%);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:20px 22px;border:1px solid var(--cc-line);border-radius:22px;background:linear-gradient(145deg,rgba(12,32,53,.98),rgba(5,17,30,.98));box-shadow:var(--cc-shadow);backdrop-filter:blur(18px);pointer-events:auto}
.cc-banner__eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:7px;color:#f2dfad;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.cc-banner__eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--cc-accent);box-shadow:0 0 18px rgba(91,188,255,.8)}
.cc-banner h2{margin:0 0 7px;color:var(--cc-text);font:800 clamp(19px,2vw,24px)/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.02em}
.cc-banner p{margin:0;color:var(--cc-muted);font:500 14px/1.65 Inter,ui-sans-serif,system-ui,sans-serif}
.cc-banner a,.cc-policy-link{color:#bfe4ff;text-decoration:underline;text-underline-offset:3px}
.cc-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cc-btn{appearance:none;min-height:46px;padding:11px 16px;border-radius:13px;border:1px solid var(--cc-line);font:800 14px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease;color:var(--cc-text);white-space:nowrap}
.cc-btn:hover{transform:translateY(-1px);border-color:rgba(216,180,106,.55)}
.cc-btn:focus-visible,.cc-switch input:focus-visible + span{outline:3px solid rgba(91,188,255,.4);outline-offset:3px}
.cc-btn--ghost{background:rgba(255,255,255,.035)}
.cc-btn--soft{background:rgba(91,188,255,.10)}
.cc-btn--primary{color:#07111f;background:linear-gradient(135deg,#f2dfad,#d8b46a);border-color:#d8b46a}
.cc-overlay{position:fixed;inset:0;z-index:2147483100;display:none;place-items:center;padding:22px;background:rgba(2,8,15,.74);backdrop-filter:blur(10px)}
.cc-overlay.is-visible{display:grid}
.cc-modal{width:min(680px,100%);max-height:min(820px,calc(100vh - 34px));overflow:auto;border:1px solid var(--cc-line);border-radius:26px;background:linear-gradient(160deg,#0d2238,#071523 76%);box-shadow:var(--cc-shadow);color:var(--cc-text)}
.cc-modal__head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 22px 17px;background:rgba(10,29,48,.96);border-bottom:1px solid var(--cc-line);backdrop-filter:blur(16px)}
.cc-modal__head h2{margin:0 0 5px;font:850 25px/1.2 Inter,ui-sans-serif,system-ui,sans-serif}
.cc-modal__head p{margin:0;color:var(--cc-muted);font:500 13px/1.55 Inter,ui-sans-serif,system-ui,sans-serif}
.cc-close{flex:0 0 auto;width:42px;height:42px;border-radius:12px;border:1px solid var(--cc-line);background:rgba(255,255,255,.04);color:var(--cc-text);font-size:22px;cursor:pointer}
.cc-modal__body{padding:20px 22px}
.cc-category{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px 0;border-bottom:1px solid var(--cc-line)}
.cc-category:first-child{padding-top:2px}
.cc-category:last-child{border-bottom:0}
.cc-category h3{margin:0 0 6px;font:800 16px/1.3 Inter,ui-sans-serif,system-ui,sans-serif}
.cc-category p{margin:0;color:var(--cc-muted);font:500 13px/1.6 Inter,ui-sans-serif,system-ui,sans-serif}
.cc-always{display:inline-flex;align-items:center;align-self:start;padding:7px 10px;border:1px solid rgba(216,180,106,.32);border-radius:999px;color:#f2dfad;background:rgba(216,180,106,.08);font:800 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap}
.cc-switch{position:relative;display:inline-flex;width:52px;height:30px;align-self:start}
.cc-switch input{position:absolute;opacity:0;pointer-events:none}
.cc-switch span{position:absolute;inset:0;border-radius:999px;background:#30445a;border:1px solid rgba(255,255,255,.1);cursor:pointer;transition:.2s}
.cc-switch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.28);transition:.2s}
.cc-switch input:checked + span{background:#1f83bd}
.cc-switch input:checked + span:after{transform:translateX(22px)}
.cc-modal__foot{position:sticky;bottom:0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:17px 22px;border-top:1px solid var(--cc-line);background:rgba(7,21,35,.97);backdrop-filter:blur(16px)}
.cc-modal__foot-group{display:flex;gap:10px;flex-wrap:wrap}
.cc-reopen{position:fixed;right:16px;bottom:16px;z-index:2147482000;width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--cc-line);border-radius:50%;background:rgba(7,21,35,.94);box-shadow:0 12px 32px rgba(0,0,0,.28);color:var(--cc-text);cursor:pointer;font-size:21px}
.cc-reopen:hover{border-color:rgba(216,180,106,.55)}
@media(max-width:820px){
  .cc-banner{left:10px;right:10px;bottom:82px}
  .cc-banner__panel{grid-template-columns:1fr;gap:16px;padding:18px;border-radius:18px}
  .cc-actions{justify-content:stretch}
  .cc-actions .cc-btn{flex:1 1 130px}
  .cc-reopen{bottom:82px;right:12px}
}
@media(max-width:520px){
  .cc-banner__panel{padding:16px}
  .cc-banner p{font-size:13px;line-height:1.55}
  .cc-actions{display:grid;grid-template-columns:1fr 1fr}
  .cc-actions .cc-btn:last-child{grid-column:1/-1}
  .cc-overlay{padding:8px}
  .cc-modal{border-radius:19px;max-height:calc(100vh - 16px)}
  .cc-modal__head,.cc-modal__body,.cc-modal__foot{padding-left:16px;padding-right:16px}
  .cc-category{gap:12px}
  .cc-modal__foot,.cc-modal__foot-group{display:grid;grid-template-columns:1fr;width:100%}
  .cc-modal__foot .cc-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.cc-btn,.cc-switch span,.cc-switch span:after{transition:none}}
