.cc-root{
  font-family:Inter,Arial,sans-serif;
  box-sizing:border-box;
}
.cc-root *,.cc-root *::before,.cc-root *::after{box-sizing:border-box}

/* Тема light (по умолчанию) */
.cc-theme-light .cc-box{background:#ffffff;color:#1b2b36;border:1px solid #e3e5e8}
.cc-theme-light .cc-btn.cc-accept{background:#1f6e4b;color:#fff}
.cc-theme-light .cc-btn.cc-accept:hover{background:#2e8b5f}
.cc-theme-light .cc-btn.cc-decline{background:#eef2f5;color:#44525c}
.cc-theme-light .cc-btn.cc-decline:hover{background:#e2e8ed}

/* Тёмная тема */
.cc-theme-dark .cc-box{background:#1c232b;color:#e8edf2;border:1px solid #2c343e}
.cc-theme-dark .cc-btn.cc-accept{background:#3f8ef7;color:#fff}
.cc-theme-dark .cc-btn.cc-accept:hover{background:#5aa0ff}
.cc-theme-dark .cc-btn.cc-decline{background:#2c343e;color:#aab5bf}
.cc-theme-dark .cc-btn.cc-decline:hover{background:#38434f}
.cc-theme-dark .cc-policy{color:#6fb1ff}

/* Зелёная тема */
.cc-theme-green .cc-box{background:#eaf4ee;color:#1f6e4b;border:1px solid #cde6d8}
.cc-theme-green .cc-btn.cc-accept{background:#1f6e4b;color:#fff}
.cc-theme-green .cc-btn.cc-accept:hover{background:#2e8b5f}
.cc-theme-green .cc-btn.cc-decline{background:#ffffff;color:#2a7a55}
.cc-theme-green .cc-btn.cc-decline:hover{background:#f2fbf6}
.cc-theme-green .cc-policy{color:#1f6e4b;font-weight:600}

/* Позиции */
.cc-pos-bottom .cc-box{bottom:24px;left:50%;transform:translateX(-50%)}
.cc-pos-top .cc-box{top:24px;left:50%;transform:translateX(-50%)}

.cc-box{
  position:fixed;
  max-width:560px;
  width:calc(100% - 40px);
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px 18px;
  border-radius:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  z-index:9999;
  animation:cc-in .35s ease;
}
.cc-box.cc-hide{animation:cc-out .3s ease forwards}

.cc-icon{
  font-size:22px;
  line-height:1;
  flex-shrink:0;
  margin-top:2px;
  opacity:.85;
}
.cc-body{flex:1;min-width:0}
.cc-title{font-weight:700;font-size:15px;margin-bottom:4px}
.cc-text{font-size:13px;line-height:1.55;color:inherit;opacity:.9}
.cc-policy{white-space:nowrap;text-decoration:underline}
.cc-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0}
.cc-btn{
  border:none;border-radius:9px;
  padding:9px 16px;font-size:13px;font-weight:600;
  cursor:pointer;white-space:nowrap;transition:background .2s;
}

@keyframes cc-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes cc-out{from{opacity:1;transform:translate(-50%,0)}to{opacity:0;transform:translate(-50%,12px)}}

@media (max-width:520px){
  .cc-box{flex-direction:column;align-items:stretch}
  .cc-actions{flex-direction:row}
  .cc-btn{flex:1}
  .cc-icon{display:none}
}