/*!
 * myfu-popup v0.1.0
 */
body.myfu-popup-open {
  overflow: hidden;
}

.myfu-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.5);
  box-sizing: border-box;
}

.myfu-popup-dialog {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f4f4f4;
  color: #000000;
  border: 1px solid #8a8a8a;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
  outline: none;
}

.myfu-popup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px 64px;
  background: #3b2680;
  border-bottom: 0;
  box-sizing: border-box;
}

.myfu-popup-title {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.myfu-popup-close {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 26px;
  line-height: 30px;
  text-align: center;
}

.myfu-popup-close:hover,
.myfu-popup-close:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  outline: none;
}

.myfu-popup-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 30px 40px 24px;
  overflow: auto;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

.myfu-popup-notice {
  color: #000000;
  text-align: left;
}

.myfu-popup-notice p {
  margin: 0 0 14px;
}

.myfu-popup-notice-section-title {
  margin: 18px 0 10px;
  color: #ee2626;
  font-weight: 700;
}

.myfu-popup-notice-list {
  margin: 0;
  padding-left: 22px;
}

.myfu-popup-notice-list li {
  margin: 0 0 12px;
}

.myfu-popup-notice-list strong {
  color: #ee2626;
  font-weight: 700;
}

.myfu-popup-notice-actions {
  margin-top: 26px;
  text-align: center;
}

.myfu-popup-body .myfu-popup-notice-cta,
.myfu-popup-body .myfu-popup-notice-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  min-width: 210px;
  padding: 10px 28px;
  border: 0;
  border-radius: 999px;
  background: #d9d9d9 !important;
  color: #000000 !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.myfu-popup-body .myfu-popup-notice-cta:hover,
.myfu-popup-body .myfu-popup-notice-cta:focus {
  background: #cfcfcf !important;
  color: #000000 !important;
  outline: none;
  text-decoration: none;
}

.myfu-popup-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #0f172a;
  color: #ffffff;
}

.myfu-popup-banner-track {
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.myfu-popup-banner-slide {
  flex: 0 0 100%;
  min-height: 150px;
  padding: 24px 34px 20px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  text-align: left;
}

.myfu-popup-banner-slide[data-theme="a"] {
  background-image: linear-gradient(130deg, #0f172a 0%, #1d4ed8 100%);
}

.myfu-popup-banner-slide[data-theme="b"] {
  background-image: linear-gradient(130deg, #3b2680 0%, #3b2680 100%);
}

.myfu-popup-banner-slide[data-theme="c"] {
  background-image: linear-gradient(130deg, #052e16 0%, #16a34a 100%);
}

.myfu-popup-banner-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.myfu-popup-banner-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.myfu-popup-banner-desc {
  max-width: 33em;
  margin: 14px 0 24px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  white-space: pre-line;
}

.myfu-popup-body .myfu-popup-banner-cta,
.myfu-popup-body .myfu-popup-banner-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 24px;
  border-radius: 999px;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.myfu-popup-banner-nav {
  position: static;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  appearance: none;
}

.myfu-popup-banner-nav:hover,
.myfu-popup-banner-nav:focus {
  background: rgba(0, 0, 0, 0.4);
  outline: none;
}

.myfu-popup-banner-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 15px;
  padding: 8px 5px 5px;
  background: transparent;
}

.myfu-popup-banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.myfu-popup-banner-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  line-height: 0;
  appearance: none;
}

.myfu-popup-banner-dot.is-active {
  background: #ffffff;
}

@media (max-width: 640px) {
  .myfu-popup-overlay {
    align-items: flex-start;
    padding: 16px;
  }

  .myfu-popup-dialog {
    width: 100% !important;
    max-height: calc(100vh - 32px);
  }

  .myfu-popup-header {
    min-height: 82px;
    padding: 18px 52px;
  }

  .myfu-popup-title {
    font-size: 26px;
  }

  .myfu-popup-body {
    padding: 24px 28px 22px;
    font-size: 16px;
  }

  .myfu-popup-banner-slide {
    min-height: 150px;
    padding: 20px 22px 18px;
  }

  .myfu-popup-banner-title {
    font-size: 26px;
  }

  .myfu-popup-banner-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .myfu-popup-banner-nav {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .myfu-popup-banner-controls {
    min-height: 15px;
    gap: 10px;
    padding-bottom: 5px;
  }

  .myfu-popup-body .myfu-popup-notice-cta,
  .myfu-popup-body .myfu-popup-notice-cta:visited {
    min-height: 52px;
    min-width: 190px;
    font-size: 20px;
  }
}
