.regressmodal .modal-dialog,
.successmodal .modal-dialog {
  width: 96%;
  max-width: 600px;
}
.regressmodal .modal-dialog .modal-content,
.successmodal .modal-dialog .modal-content {
  background: var(--theme-primary);
  border: 5px solid var(--theme-primary);
  height: auto;
  overflow: hidden;
}
.regressmodal .modal-dialog .modal-content .btn-close,
.successmodal .modal-dialog .modal-content .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
  width: 30px;
  height: 31px;
  aspect-ratio: 30/31;
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/popup_close.webp) no-repeat;
  background-size: 100%;
  opacity: 1;
  padding: 0;
  margin: 0;
  transition: all 0.3s;
}
.regressmodal .modal-dialog .modal-content .btn-close:hover,
.successmodal .modal-dialog .modal-content .btn-close:hover {
  transform: rotate(180deg);
}
.regressmodal .modal-dialog .modal-content .modal-body,
.successmodal .modal-dialog .modal-content .modal-body {
  padding: 0;
  border-radius: 20px;
}
.regressmodal .modal-dialog .modal-content .modal-body::before,
.successmodal .modal-dialog .modal-content .modal-body::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/txt_bg_notice.webp) center bottom no-repeat;
  background-size: 100%;
}

.regressmodal .modal-dialog .modal-content .modal-body .inner {
  width: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner input:-webkit-autofill {
  background-color: #282828 !important;
  color: #fff !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  border-radius: 999px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner input {
  color: #fff;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner input:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .res_poptt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 15px 0;
  background: var(--theme-primary) url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/tt_bg_notice.webp);
  background-size: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-bottom: 25px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .res_poptt img {
  width: 214px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg {
  width: 92%;
  background: #282828;
  border-radius: 30px;
  margin: 2% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .form-select {
  padding: 0;
  width: 30%;
  font-size: 1rem;
  display: inline-block;
  border: 0;
  border-radius: 0;
  border-right: 0.15em solid #c7c7c7;
  height: auto;
  color: #fff;
  text-align: center;
  transition: 0.5s;
  vertical-align: middle;
  background-color: hsla(0, 0%, 0%, 0);
  background-image: none;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .form-select option {
  background: #282828;
  color: #fff;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .form-select:focus {
  border-right: 0.15em solid #c7c7c7;
  outline: none;
  box-shadow: none;
  opacity: 1;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .form-control {
  background: transparent;
  border: 0;
  width: 70%;
  outline: none;
  border-radius: 20px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow .form-control {
  width: 70%;
  text-align: center;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background: #ffd562;
  width: 30%;
  height: 30px;
  border-radius: 20px;
  margin-right: 3px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow a:hover {
  transform: none;
  color: #282828;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow .getNumerus {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background: #ffffff;
  width: 30%;
  height: 30px;
  border-radius: 20px;
  margin-right: 3px;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .form-bg .yyFormRow .getNumerus img {
  height: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex {
  width: 92%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #242426;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin-right: 0.3rem;
  border-radius: 0;
  background-color: white;
  margin-top: 0;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex input[type=checkbox]:checked {
  background-image: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex label {
  font-size: 0.9rem;
  line-height: 1rem;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 92%;
  margin: 15px auto;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .platform_head_tt {
  font-size: 0.8rem;
  letter-spacing: 0.05rem;
  color: #f65886;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px 0;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div {
  cursor: pointer;
  margin: 4px;
  width: 210px;
  aspect-ratio: 505/119;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_ios {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_ios.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_android {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_android.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_pc {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_pc.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_ps {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_ps.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_ios.active {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_ios_r.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_android.active {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_android_r.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_pc.active {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_pc_r.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div.t_btn_ps.active {
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/t_btn_ps_r.webp) no-repeat;
  background-size: 100%;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .platform .platform_tip {
  width: 78%;
  margin: 0 auto;
  font-size: 0.8rem;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .submit {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.regressmodal .modal-dialog .modal-content .modal-body .inner .submit a {
  display: block;
  width: 220px;
  aspect-ratio: 650/210;
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/btn.webp) center no-repeat;
  background-size: 100%;
  color: #242426;
  font-weight: 700;
  font-size: 1.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 40px;
}

.successmodal .modal-dialog .modal-content .modal-body .inner .res_poptt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 50px;
  margin-bottom: 30px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .res_poptt img {
  width: 80%;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus {
  width: 100%;
  aspect-ratio: 1200/596;
  background: url(https://res1-nte.iwplay.com.tw/events/twitch-party/images/popup/pop_success_bg.webp) bottom center no-repeat;
  background-size: cover;
  padding-top: 160px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .focus_head_tt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 15px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .focus_head_tt img {
  width: 80%;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform {
  display: flex;
  justify-content: center;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  background: url(https://res1-nte.iwplay.com.tw/images/otherPlatform.png) no-repeat;
  background-position-y: 0;
  background-size: auto 200%;
  margin: 5px;
  filter: brightness(2);
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a.platform_fb {
  background-position-x: 0;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a.platform_yt {
  background-position-x: -50px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a.platform_dc {
  background-position-x: -255px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a.platform_ig {
  background-position-x: -102px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform a.platform_tw {
  background-position-x: -153px;
}
.successmodal .modal-dialog .modal-content .modal-body .inner .focus .otherPlatform aa:hover {
  background-position-y: -0.66rem;
}


@media only screen and (max-width: 820px) {
  .regressmodal .modal-dialog .modal-content .modal-body .inner .res_poptt img {
    width: 30vw;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex {
    margin-top: 15px;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex input[type=checkbox] {
    width: 2.65vw;
    height: 2.65vw;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .d-flex label {
    font-size: clamp(0.5rem, 2.65vw, 1rem);
    line-height: 2.65vw;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .platform {
    width: 100%;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .platform .platform_head_tt {
    font-size: 0.8rem;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box {
    width: 100%;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .platform .tool_box .t_btn > div {
    width: 36vw;
  }
  .regressmodal .modal-dialog .modal-content .modal-body .inner .platform .platform_tip {
    width: 90%;
  }
  .successmodal .modal-dialog .modal-content .modal-body .inner .res_poptt img {
    width: 80%;
  }
  .successmodal .modal-dialog .modal-content .modal-body .inner .focus {
    padding-top: 30vw;
    padding-bottom: 5vw;
  }
  .successmodal .modal-dialog .modal-content .modal-body .inner .focus .focus_head_tt img {
    width: 80%;
  }
}

/* ============================================================
   [從 demo_noRest_bs5 移植] #bookedmodal + #privacymodal (.nte-pop scope)
   圖片使用 CDN 絕對路徑
   ============================================================ */

/* --- .nte-pop 基礎 --- */
/* 模擬 reset.css：清除 normalize.css 保留的預設 margin/padding，
   確保子元素 top 位置和 demo 頁一致 */
.nte-pop.modal *,
.nte-pop.modal *::before,
.nte-pop.modal *::after { margin: 0; padding: 0; box-sizing: border-box; }
.nte-pop.modal { font-size: 14px; line-height: 1.5; }
.nte-pop .rel { position: relative; }
.nte-pop .abs { position: absolute; }
.nte-pop .auto { left: 50%; transform: translateX(-50%); }
.nte-pop .pop { display: block; position: relative; }
.nte-pop .popCont { width: 96%; max-width: 570px; margin: 0 auto; position: relative; }
.nte-pop .popCont1 { width: 100%; height: 735px; background-size: 100% 100%; background-repeat: no-repeat; position: relative; }
.nte-pop .popClose { position: absolute; top: 11px; right: 11px; width: 25px; height: 25px; background: url(https://res1-nte.iwplay.com.tw/images/pop/popClose.png) no-repeat 0 0; background-size: 100% auto; z-index: 1; border: none; cursor: pointer; }
.nte-pop.modal .modal-dialog { width: 96%; max-width: 520px; margin-left: auto; margin-right: auto; }
/* 覆寫 main_ZR.css 全域 a:hover rotate 傾斜效果 */
.nte-pop.modal a:hover { transform: none; }
/* 覆寫 main_ZR.css 全域 .modal-content/.modal-body 殘留底板 */
.nte-pop.modal .modal-content { background: transparent; border: 0; border-radius: 0; height: auto; overflow: visible; box-shadow: none; }
.nte-pop.modal .modal-body { padding: 0; background: none; }
.nte-pop.modal .modal-body::before { display: none; }
.nte-pop.modal .modal-header { display: none; }
.nte-pop.bookedmodal.modal .modal-dialog { max-width: 500px; }
.nte-pop.modal .modal-body .popCont { position: relative !important; top: auto; left: auto; transform: none; }

/* --- #bookedmodal（與 login_pop.css 同步） --- */
#bookedmodal .popCont1 {
  width: 100%;
  height: auto;              /* 覆蓋 .nte-pop .popCont1 的 735px，讓 aspect-ratio 生效 */
  aspect-ratio: 760 / 1000;
  background: url(https://res1-nte.iwplay.com.tw/images/sdk/popCont1_booked_sdk.webp) no-repeat 0 0;
  background-size: 100% 100%;
  position: relative;
}
.nte-pop.bookedmodal .popClose { top: 11px; right: 11px; width: 31px; height: 31px; }
#bookedmodal .demo-state-btns {
  position: absolute; top: 1.8%; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 99;
}
#bookedmodal .demo-state-btns .btn {
  padding: 3px 8px; font-size: 9px; line-height: 1; min-width: 0;
  background-color: #dc3545; border-color: #dc3545; color: #fff;
}
#bookedmodal .pop_booked_tit {
  position: absolute; top: 13.9%; left: 50%; transform: translateX(-50%);
  width: auto; height: 7%; aspect-ratio: 430 / 65;
  background: url(https://res1-nte.iwplay.com.tw/images/sdk/pop_sdk_login_tt.png) no-repeat 0 0;
  background-size: 100% 100%;
}
#bookedmodal .bookedForm {
  position: absolute; top: 21%; left: 50%; transform: translateX(-50%);
  width: 86%; max-width: 451px; height: 33%; z-index: 50; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
#bookedmodal .form-bg {
  width: 100%; max-width: 387px; height: 37px; margin-bottom: 0; border-radius: 19px;
  background: #1d1d1d; box-sizing: border-box;
  display: flex; align-items: center; padding: 0 13px;
}
#bookedmodal .graphic_verification_code,
#bookedmodal .phone_verification_code,
#bookedmodal .phone_password {
  width: 100%; max-width: 387px;  /* 與 form-bg 同寬 */
  height: 32px; margin-top: 0;
  display: flex; justify-content: space-evenly; align-items: center;
}
#bookedmodal .graphic_verification_code .captcha,
#bookedmodal .phone_verification_code .smsCode {
  width: 230px; height: 37px; font-size: 10px; padding: 3px 11px;
  border-radius: 32px; border: 2px solid #141414; background: #fff;
}
#bookedmodal .graphic_verification_code .img_code { width: 146px; height: 37px; }
#bookedmodal .graphic_verification_code .img_code .img_code_pic {
  width: 100%; height: 100%; border-radius: 18px; border: 2px solid #141414;
}
#bookedmodal .phone_verification_code .btn_get_code {
  width: 146px; height: auto; aspect-ratio: 400 / 100;
  background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/btn_get_code.png);
  background-size: 100% 200%;
  background-position: 0 0;
}
#bookedmodal .phone_verification_code .btn_get_code:hover { background-position: 0 100%; }
#bookedmodal .phone_password .phone_password_input {
  width: 100%; height: 37px; background: #fff; font-size: 10px;
  padding: 3px 11px; border-radius: 32px; border: 2px solid #141414;
  box-sizing: border-box;
}
#bookedmodal .form-select {
  padding: 0 11px; width: 131px; font-size: 12px;
  display: inline-block; border: 0; border-radius: 0;
  border-right: 2px solid #c7c7c7; height: auto; color: #fff;
  text-align: center; background-color: transparent; background-image: none;
  appearance: none; -webkit-appearance: none;
}
#bookedmodal .form-select:focus { color: #fff; border-right: 2px solid #c7c7c7; outline: none; box-shadow: none; }
#bookedmodal .form-select option { background-color: #1d1d1d; text-align: center; }
#bookedmodal .form-control {
  padding: 0 0 0 4%; width: 60%; font-size: 12px; font-weight: 500;
  display: inline-block; border: 0; border-radius: 0; height: auto; color: #fff;
  background-color: transparent; outline: none; box-shadow: none;
}
#bookedmodal .form-control::placeholder { color: #828282; }
#bookedmodal .form-control:focus { outline: none; box-shadow: none; border: 0; color: #fff; background-color: transparent; }
#bookedmodal .privacy-check { display: flex; align-items: center; justify-content: center; gap: 6px; }
#bookedmodal .form-check-input {
  position: relative; flex-shrink: 0; margin: 0; width: 17px; height: 17px;
  background-color: transparent; border: 2px solid #000;
  appearance: none; -webkit-appearance: none;
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
#bookedmodal .form-check-input:checked { background-color: #fff; border-color: #000; }
#bookedmodal .form-check-input:checked[type="checkbox"] { background-image: url(https://res1-nte.iwplay.com.tw/events/pre-gacha/images/pop/sdk/check.svg); }
#bookedmodal .form-check-input[type="checkbox"] { border-radius: 0; }
#bookedmodal .form-check-label { margin: 0; padding: 0; color: #000; font-size: 3cqw; line-height: 17px; cursor: pointer; vertical-align: middle; }
#bookedmodal .button_box {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 61%; width: 86%; max-width: 451px; height: 22%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 10px; background-color: transparent;
}
#bookedmodal .button_box .row { display: contents; }

#bookedmodal .button_box .row .btn { width: 90%; max-width: 226px; height: auto; aspect-ratio: 504 / 77; flex: none; margin: 0; }
#bookedmodal .button_box .btn {
  display: flex; justify-content: center; align-items: center; height: auto;
  background-repeat: no-repeat; background-position: 0 0; background-size: 100% 200%;
  border: none; padding: 0; font-size: 14px; color: #fff; cursor: pointer; background-color: transparent;
}
#bookedmodal .button_box .btn:hover { background-position: 0 100%; }
#booked_button  { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/booked_button.png); }
#back_sms_button { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/back_sms_button.png); }
#phoneNextBtn   { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/phoneNextBtn.png); }
#back_button    { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/back_button.png); }
#select_role_button { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/booked_button.png); }
#back_role_button   { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/back_button.png); }
#bookedmodal .Change_acc_box {
  position: absolute; top: 82.5%; left: 50%; transform: translateX(-50%);
  width: 90%; max-width: 381px; display: flex; flex-direction: column; align-items: center; gap: 2%;
}
#bookedmodal .Change_acc_hint { position: static; color: #fff; font-size: 17px; line-height: 40px; text-align: center; margin: 0; }
#bookedmodal #other_login > .Change_acc_box {
  position: static; width: 100%; height: auto; transform: none; left: auto;
  display: flex; flex-direction: row; justify-content: space-around; align-items: center; gap: 5%;
}
#bookedmodal .Change_acc_box .Change_acc_btn { width: 20%; max-width: 49px; height: auto; aspect-ratio: 1 / 1; background-size: 100% auto; background-position: 0 -49px; cursor: pointer; }
#bookedmodal .google   { background-image: url(https://res1-nte.iwplay.com.tw/events/pre-gacha/images/pop/sdk/google.svg); }
#bookedmodal .ios      { background-image: url(https://res1-nte.iwplay.com.tw/events/pre-gacha/images/pop/sdk/ios.svg); }
#bookedmodal .facebook { background-image: url(https://res1-nte.iwplay.com.tw/events/pre-gacha/images/pop/sdk/facebook.svg); }
#bookedmodal .ps       { background-image: url(https://res1-nte.iwplay.com.tw/images/sdk/ps5.png); }
/* 角色選擇區 */
#bookedmodal #select_role {
  position: absolute; top: 24.6%; left: 50%; transform: translateX(-50%);
  width: 90%; max-width: 451px; height: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 10px; text-align: center;
}
#bookedmodal #select_role > div:first-child { margin: 0 !important; padding: 0 !important; color: #000; }
#bookedmodal #select_role .bookedForm { position: static; transform: none; left: auto; margin: 0 auto; height: auto; }
#bookedmodal #select_role .form-bg { padding: 0; }
#bookedmodal #role_select { width: 100%; padding: 0 11px; border-right: 0; text-align: center; }

/* --- .nte-pop #privacymodal --- */
.nte-pop.privacymodal.modal .modal-dialog { max-width: 500px; }
.nte-pop.privacymodal .modal-content.popCont { width: 100%; max-width: 100%; margin: 0 auto; background: transparent; border: none; box-shadow: none; }
.nte-pop.privacymodal .popCont3 { width: 100%; height: auto; aspect-ratio: 760 / 1100; background: url(https://res1-nte.iwplay.com.tw/images/sdk/popCont3.png) no-repeat center top; background-size: 100% 100%; position: relative; padding: 0; overflow: hidden; flex: 0 0 auto; }
.nte-pop.privacymodal .res_poptt { position: absolute; top: 13.9%; left: 50%; transform: translateX(-50%); width: auto; height: 7%; aspect-ratio: 430 / 77; background: url(https://res1-nte.iwplay.com.tw/images/pop/pop_yy_privacy_tt.png) no-repeat 0 0; background-size: 100% 100%; }
.nte-pop.privacymodal .res_poptt img { display: none; }
.nte-pop.privacymodal .list_con { position: absolute; top: 23%; left: 50%; transform: translateX(-50%); width: 90%; margin: 0; height: 63%; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #888 #d5d5d5; }
.nte-pop.privacymodal .list_con::-webkit-scrollbar { width: 6px; }
.nte-pop.privacymodal .list_con::-webkit-scrollbar-track { background: #d5d5d5; }
.nte-pop.privacymodal .list_con::-webkit-scrollbar-thumb { background: #888; border-radius: 50px; }
.nte-pop.privacymodal .list_con::-webkit-scrollbar-thumb:hover { background: #555; }
.nte-pop.privacymodal .list_con ol { font-size: 11px; font-weight: 400; padding-left: 14px; list-style: decimal; line-height: 1.6; }
.nte-pop.privacymodal .popup_close { position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%); padding: 7px 40px; font-size: 16px; color: #fff; background: #000; cursor: pointer; text-decoration: none; width: auto; }
.nte-pop.privacymodal .popup_close:hover { background: #333; transform: translateX(-50%); }










@media (max-width: 576px) {
  #bookedmodal .popCont1 { aspect-ratio: 760 / 1200; }
  #bookedmodal .bookedForm { top: 20%; }
}
