.tube-consent {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
}

.tube-consent[hidden] {
  display: none;
}

.tube-consent__card {
  width: min(560px, calc(100vw - 32px));
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.tube-consent__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.tube-consent__text {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.78);
}

.tube-consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.tube-consent__actions--settings {
  margin-top: 10px;
}

.tube-consent__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
}

.tube-consent__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tube-consent__btn--primary {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  border-color: rgba(34, 211, 238, 0.25);
  color: #061018;
  font-weight: 700;
}

.tube-consent__btn--primary:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #60a5fa 100%);
}

.tube-consent__btn--link {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  padding-left: 6px;
  padding-right: 6px;
}

.tube-consent__settings {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tube-consent__settings[hidden] {
  display: none;
}

.tube-consent__row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  margin: 8px 0;
}

.tube-consent-fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999998;
}

.tube-consent-fab[hidden] {
  display: none;
}

.tube-consent-fab__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 15, 20, 0.9);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tube-consent-fab__btn:hover {
  background: rgba(11, 15, 20, 1);
}

