.avcc,
.avcc * {
  box-sizing: border-box;
}

.avcc[hidden],
.avcc-reset[hidden],
.avcc [hidden] {
  display: none !important;
}

.avcc {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  align-items: end;
  padding: 16px;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avcc__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.46);
  backdrop-filter: blur(10px);
}

.avcc__panel {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 20px;
  color: #f5f0e8;
  background: #11100e;
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.avcc__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #11100e;
  background: #ff7a1a;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.avcc__content {
  min-width: 0;
}

.avcc__eyebrow {
  margin: 0 0 6px;
  color: #ff9b45;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.avcc__title {
  margin: 0;
  color: #fffaf2;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.avcc__text {
  max-width: 58ch;
  margin: 10px 0 0;
  color: rgba(245, 240, 232, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.avcc__preferences {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.avcc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 6px;
  background: rgba(245, 240, 232, 0.04);
}

.avcc__row strong,
.avcc__row small {
  display: block;
}

.avcc__row strong {
  color: #fffaf2;
  font-size: 13px;
}

.avcc__row small {
  margin-top: 3px;
  color: rgba(245, 240, 232, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

.avcc__row input {
  width: 20px;
  height: 20px;
  accent-color: #ff7a1a;
  flex: 0 0 auto;
}

.avcc__link {
  display: inline-flex;
  margin-top: 14px;
  color: #ff9b45;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.avcc__link:hover {
  text-decoration: underline;
}

.avcc__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.avcc__button,
.avcc-reset {
  min-height: 42px;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 6px;
  padding: 0 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.avcc__button--primary {
  color: #11100e;
  background: #ff7a1a;
  border-color: #ff7a1a;
}

.avcc__button--ghost {
  color: #f5f0e8;
  background: rgba(245, 240, 232, 0.06);
}

.avcc__button:focus-visible,
.avcc-reset:focus-visible,
.avcc__link:focus-visible {
  outline: 2px solid #ff7a1a;
  outline-offset: 3px;
}

.avcc-reset {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999998;
  min-height: 34px;
  padding: 0 12px;
  color: #f5f0e8;
  background: rgba(17, 16, 14, 0.86);
  border-color: rgba(245, 240, 232, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

@media (max-width: 640px) {
  .avcc {
    padding: 10px;
  }

  .avcc__panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .avcc__actions,
  .avcc__button {
    width: 100%;
  }

  .avcc__actions {
    justify-content: stretch;
  }
}
