/*!
 * 诺安站 · 隐私与追踪同意横幅
 * 挂在 .nuoan-consent 容器上，由 js/official-consent-manager.js 控制显隐与行为。
 */

.nuoan-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(20, 22, 28, 0.96);
  color: #f4f6fa;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}

.nuoan-consent[hidden] {
  display: none !important;
}

.nuoan-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nuoan-consent__text {
  flex: 1 1 420px;
  min-width: 0;
}

.nuoan-consent__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.nuoan-consent__body {
  margin: 0;
  color: rgba(244, 246, 250, 0.82);
}

.nuoan-consent__link {
  display: inline-block;
  margin-top: 4px;
  color: #8fb4e8;
  text-decoration: underline;
}

.nuoan-consent__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nuoan-consent__btn {
  cursor: pointer;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nuoan-consent__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #f4f6fa;
}

.nuoan-consent__btn--ghost:hover {
  border-color: #f4f6fa;
}

.nuoan-consent__btn--primary {
  background: #e70014;
  border: 1px solid #e70014;
  color: #fff;
}

.nuoan-consent__btn--primary:hover {
  background: #be0010;
  border-color: #be0010;
}

@media screen and (max-width: 767px) {
  .nuoan-consent__inner {
    padding: 14px 16px;
    gap: 12px;
  }

  .nuoan-consent__actions {
    width: 100%;
  }

  .nuoan-consent__btn {
    flex: 1 1 0;
  }
}
