* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Microsoft YaHei, sans-serif;
  border: none;
  outline: none;
  background: none;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth !important;
}

:root {
  --pri: #f7a81b;
  --sec: #17458f;
  --prirgb: #55a960;
  --secrgb: #022c46;
  --swiper-theme-color: #009248;
}

body {
  scroll-behavior: smooth !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100dvh;
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  overflow: hidden;
}
body::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  position: fixed;
}

section {
  margin-top: 100px;
}

p {
  font-size: 0.9rem;
  line-height: 170%;
  font-family: Microsoft YaHei, sans-serif;
}

/***********      wrapper      ***********/
.wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.3rem;
}
.wrapper.noSpace {
  max-width: auto;
  padding: 0;
}

.inner-content {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 0 1rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content {
  position: relative;
  min-height: 600px;
  max-width: 1100px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 2;
  overflow: hidden;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
  padding-top: 5rem;
  padding-bottom: 1rem;
}
.content .step-title {
  position: absolute;
  top: 50%;
  left: -10rem;
  transform: translateY(-50%);
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
}
.content .step-title li {
  height: 5.5rem;
  min-width: 7rem;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  border-radius: 0 10rem 10rem 0;
  position: relative;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
}
.content .step-title li.active::after {
  right: -0.4rem;
}
.content .step-title li.valueAdded {
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 9rem;
  padding: 0 0.5rem;
}
.content .step-title li.valueAdded .icon {
  height: 0;
  width: 0;
  opacity: 0;
}
.content .step-title li.valueAdded .selectedImage {
  height: 4.6rem;
  width: 4.6rem;
}
.content .step-title li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  background-color: #F57381;
  height: 5.4rem;
  width: 5.4rem;
  z-index: -1;
  border-radius: 50%;
}
.content .step-title li h4 {
  font-size: 1.2rem;
}
.content .step-title li .selectedImage {
  height: 0;
  width: 0;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
}
.content .step-title li .icon {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
}
.content .step-title li:nth-last-child(1) {
  display: none;
}
.content .custom-button {
  padding: 0.6rem 1.5rem;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 1rem;
  border-radius: 3rem;
  font-family: Microsoft YaHei, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}
.content .custom-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.content #intro {
  max-width: 1000px;
  padding: 1rem;
}
.content #intro h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}
.content #intro p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.content #intro p strong {
  color: #DE061D;
  font-family: Microsoft YaHei, sans-serif;
  font-weight: 700;
}
.content #loadingScreen {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.content #loadingScreen h2 {
  font-size: 2.2rem;
  margin-bottom: 4rem;
  max-width: 700px;
}
.content #loadingScreen .progress-bar-area {
  height: 1rem;
  width: 20rem;
  background-color: #D9D9D9;
  margin-top: 3rem;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
}
.content #loadingScreen .progress-bar-area #progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #DE061D;
  border-radius: 2rem;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
}
.content #loadingScreen ul {
  margin-top: 4rem;
}
.content #loadingScreen ul li {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.content .step {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.content .step.profile h2 {
  font-size: 1.8rem;
}
.content .step.profile .option-list {
  align-items: flex-start;
  margin-top: 1rem;
  gap: 3rem;
}
.content .step.profile .option-list button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.content .step.profile .option-list button:hover .image::after {
  top: 53%;
  transform: translate(-50%, -50%) scale(1.17);
}
.content .step.profile .option-list button .image {
  height: 8rem;
  width: 8rem;
  border-radius: 50%;
}
.content .step.profile .option-list button .image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  z-index: 5;
}
.content .step.profile .option-list button .image img {
  border-radius: 50%;
}
.content .step.profile .option-list button .image::after {
  border-radius: 50%;
  background-color: #F57381;
}
.content .step.profile .option-list button .name {
  max-width: 7rem;
}
.content .step h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
}
.content .step .option-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.content .step .option-list button {
  cursor: pointer;
}
.content .step .option-list button:hover .image::after {
  transform: translate(-50%, -50%) scale(1.18);
}
.content .step .option-list button .image {
  position: relative;
  height: 13rem;
  width: 100%;
  margin-bottom: 1rem;
}
.content .step .option-list button .image::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90%;
  width: 90%;
  border-radius: 20px;
  background-color: #DE061D;
  transition: 0.3s cubic-bezier(0.46, 0.23, 0.48, 1.55);
  z-index: 1;
}
.content .step .option-list button img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.content .step .option-list button .name {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #000000;
}
.content #thankYouPage {
  max-width: 650px;
  text-align: left;
}
.content #thankYouPage h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.content #thankYouPage p {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 130%;
}
.content #thankYouPage h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.content #thankYouPage h4 {
  font-size: 1.3rem;
  font-family: Microsoft YaHei, sans-serif;
  margin-bottom: 2rem;
}
.content #thankYouPage ul {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.content #thankYouPage ul li {
  list-style: decimal;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-family: Microsoft YaHei, sans-serif;
  font-weight: 600;
}

@media only screen and (max-width: 575px) {
  body {
    align-items: flex-start;
    padding: 0 1rem;
    padding-top: 1rem;
  }
  .inner-content {
    align-items: center;
    /* padding-top: 1rem; */
  }
  .content {
    padding-left: 1rem !important;
    padding: 1rem;
    min-height: 500px;
  }
  .content .sticky-button {
    position: fixed;
    /* bottom: 1rem; */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    border-radius: 0.3rem !important;
    background-color: #FF4155 !important;
    padding: 0.3rem !important;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    z-index: 100 !important;
    text-align: center !important;
  }
  .content .step-title {
    top: calc(5.5rem - 1.875rem + 15px); /* 再下移 5px，累计下移 15px */
    left: 0;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
  }
  .content .step-title li {
    height: 4.3rem;
    width: 4.3rem;
    min-width: auto;
    border-radius: 50%;
  }
  .content .step-title li.active::after {
    right: auto;
    height: 108%;
    width: 108%;
  }
  .content .step-title li.valueAdded {
    flex-direction: column;
    justify-content: center;
    min-width: auto;
    padding: 0;
    gap: 0.2rem;
  }
  .content .step-title li.valueAdded .selectedImage {
    height: 2.3rem;
    width: 2.3rem;
  }
  .content .step-title li .icon {
    height: 2.3rem;
    width: 2.3rem;
  }
  .content .step-title li::after {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    height: 90%;
    width: 90%;
  }
  .content .step-title li h4 {
    font-size: 0.7rem;
  }
  .content #intro {
    padding: 1rem;
  }
  .content #intro h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .content #intro p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .content #loadingScreen {
    padding: 1rem;
  }
  .content #loadingScreen h2 {
    font-size: 1.8rem;
  }
  .content #loadingScreen .progress-bar-area {
    width: 17rem;
  }
  .content #loadingScreen ul li {
    font-size: 1.1rem;
  }
  .content .step.profile h2 {
    font-size: 1.2rem;
  }
  .content .step.profile .option-list {
    gap: 2rem;
    margin-top: 5rem;
  }
  .content .step h2 {
    font-size: 1.2rem;
  }
  .content .step .option-list {
    gap: 1rem;
    margin-top: 5rem;
  }
  .content .step .option-list button {
    width: 40%;
  }
  .content .step .option-list button .name {
    font-size: 1.2rem;
  }
  .content .step .option-list button .image {
    height: 9.9rem; /* 原11rem，缩小10% */
    width: 100%;
    margin-bottom: 1rem;
  }
  .content .custom-button {
    font-size: 0.7rem;
  }
  .content #thankYouPage h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .content #thankYouPage p {
    font-size: 0.9rem;
  }
  .content #thankYouPage h3 {
    font-size: 1.1rem;
  }
  .content #thankYouPage h4 {
    font-size: 1rem;
  }
  .content #thankYouPage ul {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }
  .content #thankYouPage ul li {
    font-size: 0.8rem;
  }
  .content #thankYouPage .custom-button {
    font-size: 0.7rem;
  }
  @supports (-webkit-touch-callout: none) {
    .content .step-title {
      top: calc(5.5rem - 1.875rem + 15px); /* 再下移 5px，累计下移 15px */
    }
    .content .step h2 {
      font-size: 1.1rem;
    }
    .content .step .option-list button .image {
      margin-bottom: 0.5rem;
    }
    .content .step .option-list button .name {
      font-size: 1.1rem;
    }
  }
}
@media only screen and (max-width: 350px) {
  .content {
    padding-left: 1rem !important;
    padding: 1rem;
    min-height: 400px;
  }
  .content .step-title {
    top: calc(8rem - 1.875rem + 15px); /* 再下移 5px，累计下移 15px */
  }
  .content .step-title li {
    height: 4rem;
    width: 4rem;
  }
  .content .step-title li.active::after {
    height: 104%;
    width: 104%;
  }
  .content .step-title li.valueAdded .selectedImage {
    height: 2rem;
    width: 2rem;
  }
  .content .step-title li .icon {
    height: 2rem;
    width: 2rem;
  }
  .content .step-title li h4 {
    font-size: 0.6rem;
  }
  .content #loadingScreen {
    padding: 1rem;
  }
  .content #loadingScreen h2 {
    font-size: 1.6rem;
  }
  .content #loadingScreen .progress-bar-area {
    height: 1rem;
    width: 15rem;
  }
  .content #loadingScreen ul li {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .content #intro {
    padding: 1rem;
  }
  .content #intro h1 {
    font-size: 1.8rem;
  }
  .content #intro p {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
  }
  .content .step.profile h2 {
    font-size: 1.2rem;
  }
  .content .step.profile .option-list {
    gap: 2rem;
    margin-top: 5rem;
  }
  .content .step h2 {
    font-size: 1.4rem;
  }
  .content .step .option-list {
    gap: 1rem;
    margin-top: 5rem;
  }
  .content .step .option-list button .image {
    height: 7.2rem; /* 原8rem，缩小10% */
    width: 100%;
    margin-bottom: 1rem;
  }
  .content .custom-button {
    font-size: 0.7rem;
  }
  .content #thankYouPage h2 {
    font-size: 1rem;
  }
  .content #thankYouPage p {
    font-size: 0.8rem;
  }
  .content #thankYouPage h3 {
    font-size: 1rem;
  }
  .content #thankYouPage h4 {
    font-size: 0.8rem;
  }
  .content #thankYouPage ul li {
    font-size: 0.7rem;
  }
  .content #thankYouPage .custom-button {
    font-size: 0.6rem;
  }
}/*# sourceMappingURL=main.css.map */

    /* ==================== 终极修复：彻底粉碎原站 CSS 遮挡 ==================== */
    
    /* 1. 强制将原站用来遮挡的粉色伪元素完全隐藏，从底层抹去它的存在 */
    .option-list button .image::before,
    .option-list button .image::after,
    .option-list button.resultImage .image::before,
    .option-list button.resultImage .image::after {
      display: none !important;
      background: none !important;
      content: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }

    /* 2. 清空容器自带的背景色干扰 */
    .option-list button .image,
    .option-list button.resultImage .image {
      background: none !important;
      background-color: transparent !important;
      overflow: hidden !important;
    }

    /* 3. 强制让里边的 img 标签突破原站限制，完美撑满圆形并居中显示 */
    .option-list button .image img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block !important;
      position: relative !important;
      z-index: 999 !important; /* 让真人图片提到最顶层 */
    }

    .step-title li img.selectedImage {
      width: 1px !important;
      height: 1px !important;
      opacity: 0 !important;
    }

    /* step5 重复样式已清理，以下只保留最终版 */

    /* step5会员头像最终版：缩小并强制4列完整显示 */
    #step5.profile {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      box-sizing: border-box !important;
    }

    #step5.profile h2 {
      max-width: 900px !important;
      margin: 0 auto 34px !important;
      line-height: 1.35 !important;
      text-align: center !important;
    }

    #step5.profile .option-list {
      width: 100% !important;
      max-width: 1160px !important;
      margin: 0 auto !important;
      padding: 0 12px !important;
      display: grid !important;
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      align-items: start !important;
      justify-items: center !important;
      column-gap: clamp(8px, 1.4vw, 24px) !important;
      row-gap: 26px !important;
      box-sizing: border-box !important;
      overflow: visible !important;
    }

    #step5.profile .option-list button,
    #step5.profile .option-list button.resultImage {
      width: 100% !important;
      max-width: 230px !important;
      min-width: 0 !important;
      min-height: 0 !important;
      height: auto !important;
      padding: 0 !important;
      margin: 0 !important;
      border: 0 !important;
      background: transparent !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: center !important;
      overflow: visible !important;
      box-sizing: border-box !important;
    }

    #step5.profile .option-list button .image,
    #step5.profile .option-list button.resultImage .image {
      width: clamp(118px, 10.5vw, 178px) !important;
      height: clamp(118px, 10.5vw, 178px) !important;
      min-width: 0 !important;
      min-height: 0 !important;
      max-width: 178px !important;
      max-height: 178px !important;
      aspect-ratio: 1 / 1 !important;
      border-radius: 50% !important;
      overflow: hidden !important;
      margin: 0 auto 22px !important;
      padding: 0 !important;
      flex: 0 0 auto !important;
      display: block !important;
      position: relative !important;
      box-sizing: border-box !important;
      background: transparent !important;
    }

    #step5.profile .option-list button .image img,
    #step5.profile .option-list button.resultImage .image img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center center !important;
      border-radius: 50% !important;
      display: block !important;
      position: relative !important;
      z-index: 2 !important;
    }

    #step5.profile .option-list button .name,
    #step5.profile .option-list button.resultImage .name {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      font-size: clamp(28px, 2.5vw, 38px) !important;
      line-height: 1.08 !important;
      font-weight: 900 !important;
      color: #000 !important;
      white-space: nowrap !important;
      text-align: center !important;
      position: static !important;
      transform: none !important;
      box-sizing: border-box !important;
    }

    #step5.profile .option-list button:nth-child(2) .image {
      border: 7px solid #ff667c !important;
      box-shadow: 0 8px 18px rgba(255, 102, 124, 0.22) !important;
    }

    @media (max-width: 900px) {
      #step5.profile .option-list {
        max-width: 560px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 18px !important;
      }
      #step5.profile .option-list button .image,
      #step5.profile .option-list button.resultImage .image {
        width: 138px !important;
        height: 138px !important;
        margin-bottom: 14px !important;
      }
      #step5.profile .option-list button .name,
      #step5.profile .option-list button.resultImage .name {
        font-size: 30px !important;
      }
    }
  
body { background-image: url("../images/background/reference-r10.jpg"); }
.inner-content { overflow-y: auto; padding-block: 1rem; align-items: safe center; }
.content { flex-shrink: 0; }
.content.is-quiz { padding-left: 10rem; }
.content.is-quiz .step-title { left: 0; }
.content.is-result { padding: 2rem 0; }
.step-title li:nth-child(5) { display: none; }
#countdown { color: #d50024; white-space: nowrap; }
#contact-status { text-align: center; margin: .5rem 0 0; }
button { cursor: pointer; color: inherit; }
button:focus-visible { outline: 3px solid #e0003b; outline-offset: 3px; }
@media (max-width: 575px) {
  .content.is-quiz .step-title { left: 50%; opacity: 1; }
  .content .sticky-button { position: static; transform: none; }
  .content .step.profile .option-list { margin-top: 0; }
  #step5.profile .option-list button .image,
  #step5.profile .option-list button.resultImage .image {
    width: min(138px, 100%) !important;
    height: auto !important;
  }
  #step5.profile .option-list button .name,
  #step5.profile .option-list button.resultImage .name {
    font-size: clamp(16px, 5.5vw, 30px) !important;
    white-space: normal !important;
  }
}
#site-logo:not([hidden]) { display: block; width: auto; max-width: min(240px,80%); max-height: 62px; margin: -2.5rem auto 1rem; object-fit: contain; }
.question-hint { margin: 0 1rem 1rem; }
.question-entry, #contact-fields { display: grid; gap: .7rem; width: min(420px,100%); margin: 1rem auto; }
.question-entry select, .question-entry input:not([type=checkbox]), #contact-fields input { width: 100%; padding: .7rem; border: 1px solid #999; border-radius: 6px; background: #fff; font: inherit; }
.check-choice { display: flex; gap: .55rem; align-items: center; }
.check-choice input { appearance: auto; }
.question-choice:not(:has(.image)) { min-height: 48px; background: #fff; padding: .65rem; border-radius: 10px; }
#contact-fields:empty { display: none; }
#contact-status button { margin: .4rem 0; }
@media (max-width: 575px) { #site-logo:not([hidden]) { margin: 0 auto .4rem; } }

#line-label:not([hidden]) { display: block; font-weight: 700; }
#thankYouPage #delivery-hint { text-align: center; margin: .5rem 0 0; }

.intro-copy { white-space: pre-line; }
#countdown:lang(en) { margin-inline-start: .25em; }

#review-status { list-style: none; padding: 0 1rem; text-align: center; }
#review-status[hidden], #contact-guide[hidden], #line-section-title[hidden], #line-contact[hidden] { display: none; }
.lsk-completion-copy { max-width: 44rem; margin: 0 auto; text-align: left; }
.lsk-completion-copy ol { padding-left: 1.5rem; margin: .75rem 0 1.25rem; }
.lsk-completion-copy li { margin-bottom: .5rem; }
.lsk-completion-copy #contact-status { text-align: center; }
#thankYouPage a[aria-label="開啟 LINE"] { text-align: center; color: inherit; text-decoration: none; }

#thankYouPage .lsk-completion-copy { max-width: 42rem; }
#completion-body, #completion-lead, #delivery-intro { white-space: pre-line; }
#completion-lead { font-size: 1.4rem; font-weight: 700; line-height: 1.4; }
#completion-steps { list-style: decimal outside; padding-left: 1.25rem; }
#completion-steps li { font-weight: 700; line-height: 1.5; margin: .6rem 0; }
#completion-body:empty, #completion-lead:empty, #completion-steps:empty,
#delivery-intro:empty, #delivery-hint:empty { display: none; }
@media (max-width: 575px) {
  #completion-lead { font-size: 1.1rem; }
  #completion-steps { padding-left: 1.2rem; }
}

.content #thankYouPage {
  width: 100%;
  max-width: 650px;
  box-sizing: border-box;
  color: #111;
  font-family: "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}
#thankYouPage .lsk-completion-copy { max-width: 650px; }
.content #thankYouPage #completion-title {
  font-size: 40px; line-height: 1.15; font-weight: 800; margin: 0 0 34px;
}
.content #thankYouPage #completion-heading,
.content #thankYouPage #line-section-title {
  font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 12px;
}
.content #thankYouPage #completion-body { font-size: 19px; line-height: 1.45; margin: 0 0 12px; }
.content #thankYouPage #completion-lead { font-size: 24px; line-height: 1.3; margin: 0 0 15px; }
#completion-steps { margin: 0 0 23px; padding-left: 17px; }
#completion-steps li { font-size: 18px; line-height: 1.5; margin: 0 0 12px; }
@media (max-width: 575px) {
  .content #thankYouPage #completion-title { font-size: 30px; margin-bottom: 22px; }
  .content #thankYouPage #completion-heading,
  .content #thankYouPage #line-section-title,
  .content #thankYouPage #completion-lead { font-size: 19px; }
  .content #thankYouPage #completion-body,
  #completion-steps li { font-size: 16px; }
}

/* Let short mobile viewports scroll from the first line to the last control. */
@media (max-width: 575px), (max-width: 900px) and (max-height: 500px) {
  body { height: 100vh; height: 100dvh; background-attachment: scroll; }
  .inner-content {
    box-sizing: border-box;
    align-items: flex-start;
    padding: 10px 10px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .inner-content .content {
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    margin: auto 0;
    padding: 16px 12px !important;
    overflow: visible;
  }
  .content.is-quiz .step-title {
    position: static;
    transform: none;
    display: flex;
    opacity: 1;
    justify-content: center;
    margin: 0 0 10px;
  }
  .content .step-title { display: none; }
  #steps, .content .step, .content #loadingScreen { width: 100%; min-width: 0; }
  .content .step h2, .content #loadingScreen h2 {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .content.is-quiz .step .option-list {
    margin-top: 12px;
    width: 100%;
  }
  .content.is-quiz .step .option-list button { min-width: 0; max-width: 100%; }
  .content.is-quiz .step .option-list button .name {
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
    word-wrap: break-word;
  }
  .question-hint, .question-entry, #contact-fields { max-width: 100%; word-wrap: break-word; }
  #step5.profile h2 { font-size: 19px !important; margin-bottom: 14px !important; }
  #step5.profile .option-list {
    max-width: 330px !important;
    padding: 0 !important;
    grid-gap: 12px 8px !important;
  }
  #step5.profile .option-list button .image,
  #step5.profile .option-list button.resultImage .image {
    width: 96px !important;
    max-width: 100% !important;
    height: 96px !important;
    margin-bottom: 6px !important;
  }
  #step5.profile .option-list button .name,
  #step5.profile .option-list button.resultImage .name {
    font-size: 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }
  .content #thankYouPage { word-wrap: break-word; }
  .content #thankYouPage #completion-title { font-size: 27px; margin: 0 0 16px; }
  .content #thankYouPage #completion-heading,
  .content #thankYouPage #line-section-title,
  .content #thankYouPage #completion-lead { font-size: 18px; }
  .content #thankYouPage #completion-body,
  .content #thankYouPage #delivery-intro,
  .content #thankYouPage #delivery-hint,
  #completion-steps li { font-size: 16px; line-height: 1.45; }
}
