@charset "UTF-8";

input {
    appearance: none;
    /* เอาค่า default UI ออก */
    -webkit-appearance: none;
    /* สำหรับ Safari/Chrome */
    -moz-appearance: none;
    /* สำหรับ Firefox */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

.hideme,
.hideme_b,
.hideme_c {
    opacity: 0;
    transform: translateY(30px);
    -ms-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -webkit-transform: translateY(30px);
    -o-transform: translateY(30px);
}

.hideme_active {
    opacity: 1;
    transform: translateY(0);
    -ms-transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}

body {
    font-family: 'Krungsri Condensed Med';
    color: #000000;
    font-size: 20px;
    overflow-x: hidden;
    margin: 0;
}

    body:not(:has(.section-error)):before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background: #FEF9F1;
    }


.font-Krungsri-Condensed-Bold {
    font-family: 'Krungsri Condensed Bold' !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px;
}

.section-block {
    max-width: 650px;
    margin: 0 auto;
    min-width: 375px;
    position: relative;
    /*padding-bottom: 4rem;*/
    min-height: 100%;
}

    .section-block.event {
        padding-bottom: 0px;
    }

.form-control {
    padding-block: 0;
    padding-inline: 0;
    padding: 0.625rem 1.25rem;
    width: 100%;
    clear: both;
    margin: 0 auto;
    font-size: 1rem;
    font-family: 'Krungsri Condensed med';
    border: 1px solid rgba(220, 220, 220, 1);
    border-radius: 8px;
}

    .form-control:focus-visible {
        outline: unset;
    }

    .form-control.valid {
        border: 1px solid red;
    }

.questionnaire__progress-bar {
    position: absolute;
    top: 5%;
    left: 20px;
    right: 20px;
    z-index: 1;
    /* จัดเป็นคอลัมน์เท่า ๆ กันตามจำนวน li */
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: .25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .questionnaire__progress-bar li {
        min-width: 0;
        /* ป้องกันการดันล้น */
    }

        .questionnaire__progress-bar li::before {
            content: "";
            display: block;
            width: 100%;
            /* ยืดเต็มคอลัมน์ */
            height: .19rem;
            background: #e2e1e0;
            border-radius: 5px;
        }

        .questionnaire__progress-bar li.current::before {
            background: #ef9d37;
        }

.questionnaire_image {
    min-height: 350px;
    /*width:375px;       */
    max-height: 350px;
}

.event .questionnaire_image {
    max-height: unset;
}

.questionnaire {
    position: relative;
    background-color: white;
    padding: 20px;
    margin-top: -50px;
    max-width: 95%;
    margin: 0 auto;
    margin-top: 86px;
    border-radius: 30px;
    padding-bottom: 5rem;
}

h2.questionnaire__title {
    margin-top: 0;
    font-size: 1.375rem;
    margin-bottom: 2.175rem;
    font-family: 'Krungsri Condensed Bold';
}

.questionnaire__option {
    display: block;
    position: relative;
}

    .questionnaire__option input[type="radio"] {
        display: none;
    }

    .questionnaire__option span {
        font-size: 1rem;
        display: block;
        width: auto;
        border: 1px solid #dcdcdc;
        border-radius: 8px;
        padding: 12px 20px;
        margin-bottom: 10px;
        cursor: pointer;
        background-color: #fff;
        clear: both;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .questionnaire__option:hover {
        border-color: #999;
    }

    .questionnaire__option input[type="radio"]:checked + span {
        border: 2px solid rgba(233, 144, 5, 1);
        background: rgba(255, 245, 229, 1);
        border-radius: 8px;
    }

.questionnaire:before,
.questionnaire:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 45px;
    /* border-radius: 50%; */
    background: #e3e3e3;
    z-index: -1;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    width: 100%;
    margin: 0 auto;
}

.questionnaire:before {
    background: #cacaca;
    bottom: -10px;
    /* z-index: 5; */
    width: 97%;
    height: 60px;
}

.btn {
    background: linear-gradient(180deg, #FFB457 -15.64%, #E08718 116.09%);
    box-shadow: 3px 4px 13px 0px rgba(0, 0, 0, 0.25);
    border: bisque;
    width: 100%;
    color: white;
    font-family: 'Krungsri Condensed Bold';
    padding: 0.5rem 1rem;
    max-width: 90%;
    margin: 0 auto;
    position: absolute;
    bottom: 2.5%;
    left: 0;
    right: 0;
    border-radius: 8px;
    font-size: 1.125rem;
    cursor: pointer;
}

a.btn {
    text-decoration: unset;
    text-align: center;
}

.btn.disable {
    background: rgba(224, 224, 224, 1);
    color: white
}

.img-fuild {
    max-width: 100%;
    width: auto;
}

.bg-intro {
    /*background-image: url('../images/bg-step/game_intro_w834.webp');*/
    background-image: var(--bg-page-intro-pc);
    background-size: cover;
    /* height: 100%; */
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: top center;
}

.btn-intro {
    bottom: 4.5%;
}

.bg-welcome {
    background-image: var(--bg-page-landing-pc);
    background-size: cover;
    /* height: 100%; */
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: top center;
}

    .bg-welcome .section-content-footer {
        position: absolute;
        bottom: 20px;
    }

.section-detail {
    padding: 2.5rem 1.5625rem 0 1.5625rem;
}

    /* ตัวอักษรฟ้าไล่เฉด + ขอบขาว แบบในรูป */
    .section-detail h2 {
        color: rgba(9, 139, 194, 1);
        font-size: 1.425rem;
        font-family: 'Krungsri Condensed bold';
        letter-spacing: 0.5px;
        padding-bottom: 1rem;
    }

.bg-welcome .section-detail p {
    font-weight: 700;
    font-family: 'Krungsri Condensed bold';
}

    .bg-welcome .section-detail p:first-of-type {
        margin-bottom: 8px;
    }

.section-remark span {
    color: rgba(119, 131, 154, 1);
    font-size: 10px;
    display: block;
    padding: 0.5rem 1.5625rem 4rem;
}

.questionnaire-info {
    padding: 2.5rem 15px 1.5625rem;
}

    .questionnaire-info .questionnaire-step {
        margin-bottom: 1.125rem;
    }

    .questionnaire-info .questionnaire-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .questionnaire-info .questionnaire-subTitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .questionnaire-info .questionnaire__options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem 0.5rem;
    }

    .questionnaire-info .questionnaire__option span {
        margin-bottom: 0px;
        text-align: center;
    }

.questionnaire__progress-bar.result-progress {
    position: unset;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10%;
}

.questionnaire-info #sub-self_employ .questionnaire__options, .questionnaire-info #sub-empIncomeMin .questionnaire__options, .questionnaire-info #sub-selfEmploy .questionnaire__options {
    grid-template-columns: auto;
}

.result-block {
    position: relative;
}

.bg-result img {
    position: absolute;
    top: -10%;
}

.result-social {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 3%;
    position: relative;
    z-index: 10;
}

    .result-social > div {
        display: inline-block;
        vertical-align: top;
        line-height: 0;
    }

.resut-social-app {
    overflow: visible;
}
.resut-social-app img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.reuslt-share-button {
    background-color: white;
    border-radius: 20px;
    padding: 7px 22px;
    display: inline-flex !important;
    align-items: center;
    width: auto;
    float: right;
    cursor: pointer;
}

    .reuslt-share-button span {
        padding-left: 5px;
        font-size: 1rem;
    }

.result-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

.result-detail {
    margin-top: 10px;
    padding: 0px 20px;
}


.result-title {
    background: linear-gradient(180deg, #FFDC98 -18.42%, #F1AE28 100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

    .result-title img {
        width: 45px;
    }

    .result-title h3 {
        /* ตัวอักษรปกติ */
        color: #222;
        font-size: 1.1275rem;
        padding-left: 5px;
        /* ให้ห่อบรรทัดได้ */
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        /* สำคัญ: ให้ filter คำนวณขอบได้พอดีข้อความ */
        display: inline-block;
        /* ตัดของเดิมที่อาจรบกวน */
    }

/* 1) คมสุด: ถ้ารองรับ -webkit-text-stroke */
@supports (-webkit-text-stroke: 1px #000) {
    .result-title h3 {
        -webkit-text-stroke: 2.5px #fff;
        paint-order: stroke fill;
    }

    .section-detail h2 {
        -webkit-text-stroke: 6.5px #fff;
        paint-order: stroke fill;
    }
}
/* 2) ถ้าไม่รองรับ text-stroke → ใช้ drop-shadow จำลองขอบ 2.5px */
@supports not (-webkit-text-stroke: 1px #000) {
    .section-detail h2 {
        filter: drop-shadow( 0 2.5px 0.5px #fff) drop-shadow( 0 0.5px 0px #fff) drop-shadow( 0px 0 0 #fff) drop-shadow(0px 0 0 #fff) drop-shadow( 2.8px 1.8px 0 #fff) drop-shadow(-1.8px 1.8px 0 #fff) drop-shadow( 1.5px -1.5px 0 #fff) drop-shadow(-1.8px -1.8px 0 #fff);
    }

    .result-title h3 {
        /* blur=0 ให้ขอบคม, ไล่ทิศทางหลัก + ทแยง */
        filter: drop-shadow( 0 1.5px 0.5px #fff) drop-shadow( 0 0.5px 0.5px #fff) drop-shadow( 0px 0 0 #fff) drop-shadow(0px 0 0 #fff) drop-shadow( 1.8px 0.8px 0 #fff) drop-shadow(-0.8px 0.8px 0 #fff) drop-shadow( 0.5px -0.5px 0 #fff) drop-shadow(-0.8px -0.8px 0 #fff);
    }
}

@supports not (-webkit-text-stroke: 1px #000) and not (filter: drop-shadow(0 0 0 #000)) {
    .section-detail h2 {
        text-shadow: 3.5px 0 rgba(255,255,255,.95), -3.5px 0 rgba(255,255,255,.95), 0 3.5px rgba(255,255,255,.95), 0 -3.5px rgba(255,255,255,.95), 3.5px 3.5px rgba(255,255,255,.9), -1px 1px rgba(255,255,255,.9), 3.5px -3.5px rgba(255,255,255,.9),-3.5px -3.5px rgba(255,255,255,.9), 4px 0 rgba(255,255,255,.85), -4px 0 rgba(255,255,255,.85), 0 4px rgba(255,255,255,.85), 0 -4px rgba(255,255,255,.85)
    }

    .result-title h3 {
        text-shadow:
        /* วง 1px */
        1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff, -1px 1px #fff, 1px -1px #fff, -1px -1px #fff,
        /* วง 2px */
        2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 2px 1px #fff, 2px -1px #fff, -2px 1px #fff, -2px -1px #fff, 1px 2px #fff, -1px 2px #fff, 1px -2px #fff, -1px -2px #fff, 2px 2px #fff, -2px 2px #fff, 2px -2px #fff, -2px -2px #fff,
        /* เติมให้หนาเข้าใกล้ 2.5px */
        3px 0 #fff, -3px 0 #fff, 0 3px #fff, 0 -3px #fff;
    }
}

.creditcard-list {
    background: linear-gradient(45.02deg, rgba(255, 142, 159, 0.5) 5.49%, rgba(255, 196, 35, 0.5) 43.65%, rgba(243, 239, 160, 0.5) 76.73%, rgba(129, 218, 242, 0.5) 98.53%);
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    padding: 16px 16px 22px;
}

.creditcard-item {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    clear: both;
    overflow: hidden;
}

    .creditcard-item:last-child {
        margin-bottom: 0px;
    }

.creditcard-header {
    display: grid;
    grid-template-columns: 20% 80%;
    align-items: flex-start;
}


    .creditcard-header .creditcard-image {
        flex: 0 0 25%;
        text-align: center;
        margin-right: 5px;
    }

        .creditcard-header .creditcard-image img {
            max-height: 90px;
            display: block;
            margin: 0 auto;
        }

\.creditcard-header .creditcard-header-desc {
    padding-left: 5px;
    flex: 1 1 75%;
    display: flex;
    flex-direction: column;
}

.creditcard-tags-wrapper {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.creditcard-tag {
    background: linear-gradient(180deg, #49C9FF 0%, #098BC2 100%);
    border-radius: 300px;
    padding: 4px 25px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
}

    .creditcard-tag img {
        width: 15px;
        height: 20px;
        padding-bottom: 3px;
    }

    .creditcard-tag span {
        font-size: 13px;
        color: white;
        padding-left: 5px;
        font-family: 'Krungsri Condensed Bold';
    }

.creditcard-name h4 {
    margin-top: 5px;
    font-family: 'Krungsri Condensed Bold';
    font-weight: 700;
    font-size: 18px;
}

.creditcard-benefit-list {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 5px;
}

.creditcard-benefit-item {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    flex: 0 0 auto;
}

    .creditcard-benefit-item img {
        max-width: 26px;
        margin: 0 auto;
        width:24px;
        height:24px;
    }

    .creditcard-benefit-item span {
        font-size: 13px;
        word-wrap: break-word;
        padding-left: 3px;
        font-family: 'Krungsri Condensed';
    }

.creditcard-footer {
    clear: both;
    margin-top: 7px;
}

    .creditcard-footer .btn {
        text-decoration: unset;
        text-align: center;
        position: unset;
        /* margin: 0 auto; */
        max-width: 100%;
        display: block;
        box-shadow: unset;
        padding: 7px 1rem;
        font-size: 14px;
        font-weight: 700;
        font-family: 'Krungsri Condensed Bold';
    }

.result-footer {
    margin-top: 5%;
    margin-bottom: 10%;
    padding:0px 20px;
}

    .result-footer .btn {
        box-shadow: unset;
        border: 2px solid rgba(224, 135, 24, 1);
        color: rgba(224, 135, 24, 1);
        background: unset;
        position: unset;
        margin: 0 auto;
        max-width: 100%;
        font-weight: bold;
        cursor: pointer;
        font-family: 'Krungsri Condensed Bold';
        font-size: 20px;
        background: rgba(250, 241, 227, 1);
    }

.result-notice span {
    font-size: 12px;
    font-family: 'Krungsri Condensed';
    display: flex;
    justify-content: center;
    margin-top: 4%;
    text-align: center;
}

.result-content-header {
    display: grid;
    justify-content: center;
    margin-top: -6%;
    text-align: center;
    margin-bottom: 5%;
}

    .result-content-header .logo {
        text-align: center;
    }

        .result-content-header .logo img {
            max-width: 78px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

    .result-content-header .result-title {
        background: unset;
        text-align: center;
        font-family: 'Krungsri Condensed Bold';
        font-weight: 700;
        padding: 0;
        font-size: 26px;
        margin: 0 auto;
        margin-top: 3%;
        margin-bottom: 3%;
        justify-content: center;
    }

    .result-content-header .result-subtitle {
        font-family: 'Krungsri Condensed';
    }

#result-tab2 {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 3%
}

    #result-tab2 .creditcard-list {
        background: none;
        padding: 0;
    }

    #result-tab2 .result-social {
        top: 1.5%;
        padding: 0px;
    }

.result-back-button {
    padding: 0px 12px;
    background-color: white;
    border-radius: 100%;
    box-shadow: 0px 2px 6px 0px rgb(0 0 0 / 13%);
}

.result-image-footer {
    margin: 15px 0px;
}

.result-tab2-footer {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 3%;
}

    .result-tab2-footer p {
        font-size: 16px;
        font-family: 'Krungsri Condensed';
    }

    .result-tab2-footer .btn {
        position: unset;
        max-width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: unset;
        margin-top: 3%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .result-tab2-footer .btn img {
            max-width: 50px;
            padding-right: 10px;
        }

        .result-tab2-footer .btn span {
            font-size: 20px;
            font-family: 'Krungsri Condensed Bold';
            font-weight: 700;
        }

#result-tab2 .result-notice {
    margin-bottom: 10%;
}


.article .result-detail .result-title {
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

    /*.article .result-detail .creditcard-list {
        border-radius: unset;
    }*/

    .article .result-detail .result-title img {
        display: none;
    }

    .article .result-detail .result-title h3 {
        paint-order: unset;
        -webkit-text-stroke: unset;
        text-shadow: unset;
    }

.enneagram-1 div.result-title {
    background: rgba(105, 212, 255, 1);
}

.enneagram-1 .creditcard-list {
    background: rgba(184, 235, 255, 1);
}

.enneagram-3 div.result-title {
    background: rgba(213, 172, 136, 1);
}

.enneagram-3 .creditcard-list {
    background: rgba(255, 230, 208, 1);
}

.enneagram-6 div.result-title {
    background: rgba(241, 143, 165, 1);
}

.enneagram-6 .creditcard-list {
    background: rgba(255, 238, 241, 1);
}

.enneagram-7 div.result-title {
    background: rgba(255, 207, 72, 1);
}

.enneagram-7 .creditcard-list {
    background: rgba(255, 233, 170, 1);
}

.enneagram-9 div.result-title {
    background: rgba(64, 196, 170, 1);
}

.enneagram-9 .creditcard-list {
    background: rgba(193, 238, 213, 1);
}

.article .creditcard-header .creditcard-image {
    margin-right:0px;
}
.article .creditcard-header .creditcard-header-desc {
    padding-left: 8px;
}

.article .creditcard-tag {
    background: unset;
    padding: 0px;
    display:flex;
}

    .article .creditcard-tag span {
        font-size: 14px;
        color: black;
        font-family: 'Krungsri Condensed';
        padding-left: 0px;
    }

.article .result-detail .creditcard-name h4, .article .creditcard-name h4 {
    font-size: 18px;
    margin-top: 0px;
    font-family: 'Krungsri Condensed Bold'
}


.valid-text {
    color: rgba(208, 2, 27, 1);
    font-size: 14px;
    font-family: 'Krungsri Condensed';
}

.questionnaire__submit {
    text-align: center;
    margin-top: 0%;
    padding: 0px 15px;
}

    .questionnaire__submit .btn {
        position: unset;
        max-width: 100%;
        margin-bottom: 5%;
    }

body:has(.section-error) {
    background-color: rgba(248, 247, 247, 1);
}

.section-error {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    text-align: center;
    padding: 0px 15px;
}

input-error {
    display: flex;
    justify-content: center;
    align-items: center;
}

.erorr-icon img {
    width: 80px;
}

.error-text {
    margin-top: 10px;
    margin-bottom: 15px;
}

    .error-text h3 {
        font-size: 1.125rem;
        color: rgba(42, 42, 42, 1);
    }

    .error-text span {
        font-family: 'Krungsri Condensed';
        font-size: 0.925rem;
        color: rgba(122, 122, 122, 1);
    }

.input-error .btn-error {
    background-color: rgba(119, 131, 154, 1);
    padding: 7px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Krungsri Condensed Med';
    line-height: 22px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background: rgb(0 0 0 / 60%);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 35px 25px 35px;
    border-radius: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 350px;
}

.popup-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.popup-title {
    font-family: 'Krungsri Condensed Bold';
    font-size: 24px;
    color: rgba(54, 61, 71, 1);
}

.popup-close {
    cursor: pointer;
}

.popup-body {
    display: grid;
    grid-template-columns: auto auto;
    gap: 25%;
    justify-content: center;
    padding: 30px 0px 0px;
}

    .popup-body > div, .popup-body > a {
        text-align: center;
        cursor: pointer;
    }

        .popup-body > div p, .popup-body > a > p {
            font-size: 1rem;
        }

        .popup-body > div img, .popup-body > a img {
            width: 3.3rem;
        }

.popup-close img {
    width: 2.65rem;
}

#download-result .result-social {
    top: 60px;
    margin-top: 0px;
    padding-left: 1rem;
}

#download-result .result-footer {
    margin-top: 2%;
    margin-bottom: 10px;
    text-align: center;
    padding: 0px 30px;
}

#download-result .result-title {
    justify-content: center;
}

#download-result .creditcard-item {
    clear: unset;
    overflow: unset;
}

#download-result .creditcard-benefit-list {
    margin-bottom: -10px;
    overflow: unset;
    gap: 0px 2px;
}

#download-result .creditcard-benefit-item {
    float: unset;
  /*  margin-left:-4px;*/
}

#questionnarire #stage .btn.btn-event-nochioce {
    position: fixed;
    max-width: 630px;
    width: calc(100% - 30px);
}

#action_click {
    position: absolute;
    height: 350px;
    width: 100%;
    overflow: hidden;
    z-index: 2;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

.notify-copy {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 99999;
    display: flex;
    justify-content: center;
}

.notify-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
}

    .notify-body img {
        margin-right: 7px;
        max-width: 16px;
    }

    .notify-body span {
        color: white;
        font-size: 12px;
        line-height: 21px;
    }

.article .creditcard-header .creditcard-image img {
    border-radius: 8px;
    max-height: unset;
}

.article .creditcard-header .creditcard-image {
    flex: 0 0 22%;
}

.bg-style-contain {
    background-size: contain;
}

#info:has(#info-body > .questionnaire-step:only-child) + .questionnaire__submit .btn {
    position: fixed;
    max-width: 630px;
    width: calc(100% - 30px);
    margin-bottom: 0;
}

#loading-animation {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
}

/*.questionnaire_image:not(:has(svg)) {
    min-height: 0;
    max-height: 0;
    padding: 56px;
}  */


.bg-welcome .section-detail img.title {
    width: 250px;
}

.result-title img.title {
    width: 60%
}
.questionnaire__options.is-locked .questionnaire__option {
    pointer-events: none;
    opacity: .6; /* ฟีดแบ็กสายตา; ตัดออกได้ */
}
.d-flex{
    display:flex!important;
}
.justify-content{
    justify-content:center;
}
@media (min-width:768px) and (max-width:1024px) {
    .bg-welcome {
        background-image: var(--bg-page-landing-tablet);
    }


    .bg-intro {
        background-image: var(--bg-page-intro-tablet);
    }
}

@media (min-width:768px) and (max-width:992px) {
}

@media (max-width:1024px) {

    .bg-welcome .section-content-footer {
        bottom: 0%;
        background-color: #fef8f1bf;
        padding-bottom: 20px;
    }

        .bg-welcome .section-content-footer .btn {
            margin-bottom: 20px;
        }
}

@media (max-width:768px) {
}

@media (max-width:767px) {
    .bg-intro {
        background-image: var(--bg-page-intro-mobile);
    }

    .bg-welcome {
        background-image: var(--bg-page-landing-mobile);
    }

    .section-detail h2 {
        font-size: 22px;
    }

    .section-detail p {
        font-size: 18px;
    }

    .creditcard-tag span {
        font-size: 10px;
    }

    .section-block {
        padding-bottom: 10%;
    }

        .section-block:has(.bg-intro),
        .section-block:has(.bg-welcome) {
            padding-bottom: 0;
        }

    #result-tab2 .result-notice {
        margin-bottom: 0px;
    }

    .result-tab2-footer {
        margin-bottom: 0px;
    }

    #result-tab2 {
        margin-bottom: 0px;
    }

    .creditcard-header .creditcard-image img {
        max-height: 70px;
    }

    .creditcard-tag {
        padding: 2px 16px 2px
    }

    div#fillPlayerName .questionnaire {
        margin-bottom: 15%;
    }
     #download-result .creditcard-name h4 {
        font-size: 16px;
        margin-top: 0px;
    }
    #download-result.article .result-detail .creditcard-name h4, #download-result.article .creditcard-name h4 {
        font-size:15px;
        line-height:1.5;
    }
    #download-result .creditcard-header {
        align-items:center;
    }
}

@media (max-width:600px) {
}

@media (max-width:576px) {
    .resut-social-app img {
        width: 40px;
        height:40px;
    }

    .reuslt-share-button img {
        width: 16px;
    }

    .reuslt-share-button {
        padding: 4px 15px;
    }

        .reuslt-share-button span {
            font-size: 12px;
            font-family: 'Krungsri Condensed Bold';
        }

    .section-remark span {
        font-weight: 500;
        font-size: 8px;
    }

    .questionnaire_image {
        min-height: 350px;
        max-height: 350px;
    }

    .result-title img.title {
        width: 80%
    }
}

@media (max-width:480px) {


    .questionnaire__progress-bar li::before {
        height: 0.157rem;
    }

    .questionnaire {
        padding: 20px;
        max-width: 92%;
        margin-top: -32px;
        padding-bottom: 3.5rem;
    }

    h2.questionnaire__title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .questionnaire__option span {
        font-size: 0.875rem;
    }

    .questionnaire:before,
    .questionnaire:after {
        bottom: -9px;
        height: 30px;
        width: 96%;
    }

    .questionnaire:before {
        width: 90%;
        height: 28px;
        bottom: -18px;
    }

    .result-title h3 {
        font-size: 1rem;
    }


    .creditcard-benefit-item span {
        font-size: 11px;
    }
    #download-result .creditcard-benefit-item span {
        font-size: 12px;
    }
    #download-result .creditcard-benefit-item img {
        max-width: 22px;
    }
    .section-block:has(.bg-welcome) {
        padding-bottom: 0px;
    }
    /*.article .result-detail .result-title {
        padding-top:8px;
        padding-bottom:8px;
    }*/
    .creditcard-name h4 {
        font-size: 12px;
    }
   

    .article .result-detail .result-title h3 {
        font-size: 14px;
    }

    .creditcard-item {
        padding: 8px;
    }

    .article .creditcard-tag span {
        font-size: 12px;
    }

    .creditcard-footer .btn {
        font-size: 12px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .result-content-header .result-subtitle {
        font-size: 16px;
    }

    .result-tab2-footer p {
        font-size: 14px;
    }

    .result-title {
        padding: 3px 12px;
    }

        .result-title img {
            width: 35px;
        }

        .result-title h3 {
            font-size: 14px;
        }

    .result-content-header .result-title {
        font-size: 24px;
    }

    .creditcard-header .creditcard-image {
        flex: 0 0 23%;
    }
    div#fillPlayerName .questionnaire {
        margin-top: -18%;
    }

    .article .result-detail .creditcard-name h4, .article .creditcard-name h4 {
        font-size: 14px;
    }

}
/* Screen 440px */
@media (max-width:440px) {
    .result-notice span {
        font-size: 9px;
    }
}
/* Screen 425px */
@media (max-width:425px) {
    .article .creditcard-header .creditcard-image {
        flex: 0 0 25%;
    }

    .creditcard-benefit-item img {
        max-width: 20px;
    }
}

@media (max-width:414px) {
}
/* Screen 425px */
@media (max-width:400px) {
    div#fillPlayerName .questionnaire{
        margin-top:-27%;
    }
    .article .result-detail .result-title h3{font-size:13px;}
}

@media (max-width:390px) {
    .result-title h3 {
        font-size: 13px;
    }

    /*.section-block:has(.bg-intro) {
        padding-bottom: 30%;
    } */

    .section-block:has(.bg-welcome) {
        padding-bottom: 0%;
    }
    .article .creditcard-tag span{font-size:11px;}
    .article .result-detail .creditcard-name h4, .article .creditcard-name h4 {
        font-size: 13px;
    }
    .article .creditcard-tag span{
        font-size:11px;
    }
}

@media (max-width:375px) {


    .section-block:has(.bg-welcome) {
        padding-bottom: 40%;
    }
}

@media (max-width:360px) {
    /*.section-block:has(.bg-intro) {
        padding-bottom: 15%;
    } */

    .btn-intro {
        bottom: 3.5%;
    }

    .section-remark span {
        padding-bottom: 3.5rem;
    }
    div#fillPlayerName .questionnaire{
        margin-top:-28%;
    }
}
