.model-btn-wrapper{
  display: grid;
  gap: 5px;
}
.blue-btn,.white-btn{
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 20px;
  text-align: center;
}
.blue-btn{
  background: var(--color-brand-blue-900);
  border: 2px solid var(--color-brand-blue-900);
  color: #ffffff;
  transition: .2s;
}
.blue-btn:hover {
  background: var(--orange);
  border: 2px solid var(--orange);
  transition: .2s;
}
.white-btn{
  background: #ffffff;
  border: 2px solid var(--light-grey);
  transition: .2s;
}
#no-btn:hover{
  border: 2px solid var(--orange);
  transition: .2s;
}

#model-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#no2-btn {
  cursor: not-allowed;
}
#yes-btn,#yes2-btn,#no-btn{
  cursor: pointer;
}
.age-model{
  border-radius: var(--border-radius);
  box-shadow: 0px 8px 32px 0px rgba(25, 25, 112, 0.12);
  background: #ffffff;
  width: 500px;
  padding: 16px;
  text-align: center;
}
.age-model .Lead-Text{
  font-weight: 700;
}
.age-model{
  position: relative;
  z-index: 2;
}
#model-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* 背景遮罩 */
  z-index: 999;
}
.age-svg {
  border-radius: 100px;
  background: rgba(48, 48, 197, 0.09);
  height: 96px;
  width: 96px;
  margin: 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.red-block {
  border-radius: 12px;
  border: 1px solid #F1AEB5;
  background: #F8D7DA;
  display: grid;
  gap: 5px;
  color: #58151C;
  padding: 24px 16px;
  margin-bottom: 16px;
}
.red-block  i {
  font-size: 32px;
}
.age-model .Lead-Text {
  text-wrap: balance;
}
#model-overlay {
  z-index: 1031;
}
#model-wrapper {
  z-index: 1032;
}
@media (max-width: 768px) {
  .age-model {
    width: 90%;
  }
}

.age-model .h5-style {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .age-model .h5-style {
    font-size: 1.5rem;
  }
}
/* 有 Cookie 的回訪使用者：在渲染前就隱藏，避免閃爍 */
html.over18-verified #model-overlay,
html.over18-verified #model-wrapper {
  display: none !important;
}
