
:where(:root) {   
  --cc-ink: #15181b;          
  --cc-accent: #ed2127;       
  --cc-accent-hover: #b21c22;
  --cc-link: #ff9ea2;         
  --cc-font: inherit;
}
.cc-bar, .cc-box, .cc-fab { font-family: var(--cc-font); }

.cc-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 300;
  max-width: 520px;
  background: var(--cc-ink);
  color: #c3c8cc;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 3px;
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, .6);
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.6;
}
.cc-bar strong { color: #fff; }
.cc-bar a { color: var(--cc-link); text-decoration: underline; }
.cc-bar a:hover { color: #fff; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.cc-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  padding: 11px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cc-btn--solid { background: var(--cc-accent); color: #fff; }
.cc-btn--solid:hover { background: var(--cc-accent-hover); }
.cc-btn--ghost { background: transparent; color: #dfe3e6; border-color: rgba(255, 255, 255, .3); }
.cc-btn--ghost:hover { border-color: #fff; color: #fff; }

.cc-box {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 14, .72);
  padding: 20px;
}
.cc-card {
  background: #fff;
  color: var(--cc-ink);
  border-radius: 3px;
  max-width: 540px;
  width: 100%;
  padding: 32px 32px 26px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .5);
}
.cc-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #8a9095;
}
.cc-close:hover { color: var(--cc-ink); }
.cc-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}
.cc-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #5a5f63; }

.cc-opt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid #e6e6e3;
  font-size: 15px;
  line-height: 1.55;
}
.cc-opt span { color: #5a5f63; }
.cc-opt b { color: var(--cc-ink); }
.cc-opt input {
  width: 21px; height: 21px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--cc-accent);
  cursor: pointer;
}
.cc-opt--fixed input { cursor: not-allowed; opacity: .55; }

.cc-actions--box { margin-top: 22px; }
.cc-actions--box .cc-btn--ghost { color: #5a5f63; border-color: #cfcfcb; }
.cc-actions--box .cc-btn--ghost:hover { border-color: var(--cc-ink); color: var(--cc-ink); }


.cc-fab {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 290;
  height: 46px; width: 46px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: var(--cc-ink);
  color: #dfe3e6;
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6);
  opacity: .85;
  transition: width .2s ease, opacity .15s ease, background .15s ease;
}
.cc-fab svg { width: 22px; height: 22px; flex: none; margin: 0 11px; }
.cc-fab__label {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s ease;
  padding-right: 0;
}
.cc-fab:hover, .cc-fab:focus-visible {
  width: 150px;
  opacity: 1;
  background: var(--cc-accent);
  color: #fff;
  outline: none;
}
.cc-fab:hover .cc-fab__label, .cc-fab:focus-visible .cc-fab__label { opacity: 1; padding-right: 16px; }

.cc-fab:focus-visible { outline: 2px solid var(--cc-ink); outline-offset: 3px; box-shadow: none; }

@media (max-width: 640px) {
  .cc-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px 18px 16px; }
  .cc-actions .cc-btn { flex: 1 1 auto; }
  .cc-card { padding: 26px 20px 22px; }
  .cc-card h2 { font-size: 23px; }

  
  .cc-fab { left: 12px; bottom: 12px; height: 42px; width: 42px; }
  .cc-fab svg { width: 20px; height: 20px; margin: 0 10px; }
  .cc-fab:hover { width: 42px; background: var(--cc-ink); }
  .cc-fab:hover .cc-fab__label { opacity: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) { .cc-fab, .cc-btn { transition: none; } }




@media (max-height: 860px) {
  .cc-bar {
    left: 12px; right: 12px; bottom: 12px;
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.45;
  }
  .cc-actions {
    
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px;
  }
  .cc-actions .cc-btn {
    
    flex: 0 1 auto;
    min-width: 0;
    padding: 10px 4px;
    
    font-size: 11.5px;
    white-space: nowrap;
    letter-spacing: -.01em;
  }
}


.cc-fab { min-width: 44px; min-height: 44px; }


@media (max-height: 700px) {
  .cc-bar { font-size: 12.5px; line-height: 1.38; padding: 12px 14px; }
  .cc-actions { margin-top: 10px; }
}
