.cos-age {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cos-age[hidden] {
  display: none;
}

.cos-age__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 0, 4, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cos-age__dialog {
  position: relative;
  width: 100%;
  max-width: 444px;
  background: var(--cos-bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cos-radius-lg);
  padding: 32px clamp(20px, 4vw, 40px) 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cos-age-pop .25s ease both;
}

@keyframes cos-age-pop {
  from { transform: translateY(12px) scale(.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cos-age__logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

.cos-age__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.cos-age__subtitle {
  font-size: 16px;
  color: var(--cos-text-muted);
}

.cos-age__check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  margin-top: 6px;
}

.cos-age__check input {
  width: 22px;
  height: 22px;
  accent-color: var(--cos-red);
  cursor: pointer;
}

.cos-age__disclaimer {
  font-size: 13px;
  color: var(--cos-text-dim);
  line-height: 1.5;
}

.cos-age__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.cos-age__btn {
  width: 100%;
}

.cos-age__btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
