.shuomu-age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.94), rgba(23, 23, 23, 0.72)),
    #171717;
}

.shuomu-age-gate[hidden] {
  display: none !important;
}

.shuomu-age-panel {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 22px 54px rgba(18, 20, 18, 0.28);
}

.shuomu-age-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-weight: 900;
}

.shuomu-age-panel h2 {
  margin: 18px 0 10px;
  color: #ffffff;
}

.shuomu-age-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.shuomu-age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shuomu-age-primary,
.shuomu-age-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.shuomu-age-primary {
  border: 1px solid #9d2f3d;
  color: #ffffff;
  background: #9d2f3d;
}

.shuomu-age-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.shuomu-checkbox {
  align-items: start;
  display: flex !important;
  gap: 10px;
  text-transform: none !important;
}

.shuomu-checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.shuomu-form-success {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(85, 107, 89, 0.25);
  border-radius: 8px;
  color: #334a38;
  background: #eef4f0;
  font-weight: 800;
}

.shuomu-share {
  margin-top: 28px;
}

.shuomu-share a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: #171717;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 480px) {
  .shuomu-age-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
