.l2cc-root {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 999998;
  pointer-events: none;
}
.l2cc-root.is-hidden {
  display: none;
}
.l2cc-banner,
.l2cc-modal,
.l2cc-manage {
  pointer-events: auto;
}
.l2cc-banner {
  margin: 0 0 18px 50px;
  width: min(350px, calc(100% - 54px));
  max-width: 350px;
  background: rgba(22, 21, 21, 0.97);
  color: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 0;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 20px 22px 20px 18px;
}
.l2cc-copy {
  min-width: 0;
}
.l2cc-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.l2cc-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.l2cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 14px;
}
.l2cc-btn,
.l2cc-manage,
.l2cc-icon-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
}
.l2cc-btn {
  min-height: 38px;
  padding: 0 16px;
}
.l2cc-btn-primary {
  background: #d2bbff;
  color: #000000;
  transition: opacity 0.2s;
}
.l2cc-btn-primary:hover {
  opacity: 0.85;
}
.l2cc-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}
.l2cc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}
.l2cc-btn-text {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}
.l2cc-btn-text:hover {
  color: #ffffff;
}
.l2cc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.l2cc-modal-card {
  width: min(100%, 560px);
  background: #161515;
  color: #eef2f7;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  padding: 24px;
}
.l2cc-modal-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.l2cc-modal-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.l2cc-modal-header .l2cc-text {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
}
.l2cc-icon-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.l2cc-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.l2cc-groups {
  display: grid;
  gap: 10px;
}
.l2cc-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}
.l2cc-row strong,
.l2cc-row small {
  display: block;
}
.l2cc-row strong {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.l2cc-row small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.l2cc-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #d2bbff;
  flex: 0 0 auto;
  cursor: pointer;
}
.l2cc-row.is-locked {
  background: rgba(210, 187, 255, 0.08);
  border-color: rgba(210, 187, 255, 0.2);
}
.l2cc-row.is-locked input[type="checkbox"] {
  opacity: 0.4;
}
.l2cc-actions-modal {
  margin-top: 20px;
  justify-content: flex-start;
}
.l2cc-manage {
  position: fixed;
  left: 8px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  background: rgba(22, 21, 21, 0.96);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  font-size: 0;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.l2cc-manage:hover {
  border-color: rgba(210, 187, 255, 0.4);
}
.l2cc-manage::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff 0 2px, transparent 2px),
    radial-gradient(circle at 68% 32%, #ffffff 0 2px, transparent 2px),
    radial-gradient(circle at 52% 68%, #ffffff 0 2px, transparent 2px),
    #d2bbff;
}
.is-hidden {
  display: none !important;
}
@media (max-width: 760px) {
  .l2cc-banner {
    width: calc(100% - 16px);
    margin: 0 8px 12px;
    padding: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
  }
  .l2cc-actions {
    justify-content: stretch;
    margin-top: 14px;
  }
  .l2cc-btn {
    width: 100%;
  }
  .l2cc-modal-card {
    padding: 20px;
    border-radius: 20px;
  }
  .l2cc-row {
    align-items: flex-start;
  }
}
