.serif {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.yesno {
    background: #0c0e31;
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
    overflow: hidden;
}

.yesno__inner {
    padding: 0 25px;

}





.result.main {
    overflow-x: hidden;
}

@media screen and (max-width:425px) {
    .yesno__inner {
        padding: 0 15px;

    }
}

.select__card {
    position: absolute;
    left: 0;
    width: clamp(16px, calc((80 / 600) * 100vw), 80px);
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
    will-change: left;
}

.select__card:hover {
    transform: translateY(-5%) scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.select__card.selected {
    transform: translateY(-5%) scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-lists-wrapper-outer:has(.selected) img.select__card:not(.selected) {
    filter: contrast(.9) brightness(.9);
}

.card-lists-wrapper {
    width: 97%;
    height: clamp(16px, calc((180 / 600) * 100vw), 180px);
}

.yesnoIndex-contentsWrapper__heading--label {
    padding: 10px 15px;
    font-size: 12px;
    background: #f56464;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0px;
    position: relative;
}

.yesnoIndex-contentsWrapper__heading {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.yesnoIndex-contentsWrapper__heading--label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-style: solid;
    border-width: 7px 0 7px 8px;
    border-color: transparent transparent transparent #f56464;
    translate: 100% -50%;
}

@media screen and (max-width:420px) {
    .yesnoIndex-contentsWrapper__heading {
        flex-direction: column;
        gap: 5px;
    }

    .yesnoIndex-contentsWrapper__heading--label::after {
        content: none;
    }
}

.card__container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.yesnoIndex-subcopy.serif {
    color: #fff;
    margin: auto;
    text-align: center;
    display: block;
}

.yesnoIndex__greeting {
    font-size: 16px;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.greeting__y {
    font-size: 22px;
    color: yellow;
    font-weight: bold;
    -webkit-text-stroke: 4px black;
    text-stroke: 2px black;
    paint-order: stroke;
    text-shadow: 4px 2px 0 #000;
}

#send {
    border-radius: 100px;
    border: 1px solid #F48787;
    background: #ED4F4F;
    color: #fff;
    width: 200px;
    display: block;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    margin: auto;
    box-shadow: 0px 4px 0 #8D2323;
    cursor: pointer;
    margin-bottom: 50px;
    padding: 0;
}

button#send:hover {
    filter: brightness(0.8);
}

#send:after {
    content: none;
}

.result_contentsBox {
    width: 90%;
    padding: 15px;
    /* background: #aaa; */
    margin: 0 0 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 5px 0px rgb(0 0 0 / 11%);
    border: 1px solid #ffffff;
    color: #ffffff;
    margin: 0 auto 10px;

}

.result_contentsBox--head {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 1px dotted;
    padding-bottom: 10px;
    text-align: center;
}

.yesnoIndex-contentsWrapper {
    margin-bottom: 30px;
}


.deco__top {
    width: 100%;
    /* max-width: 600px; */
    background: url(../../static/images/tarot/yesno/deco.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 200 / 41;
    position: absolute;
    top: 0;
    opacity: 0;
    filter: opacity(0.2);
}

.yesnoIndex__textarea {
    height: 100px;
    font-size: 16px;
}

.yesnoIndex-head__image {
    position: relative;
    width: 80%;
    margin: auto;
    max-width: 300px;

}

.deco_card {
    position: absolute;
    width: clamp(16px, calc((70 / 420) * 100vw), 70px);
    filter: brightness(0.5);
    right: -30px;
    top: 40px;
    rotate: 13deg;
    border-radius: 5px;
    opacity: 0;
}

.yesno-logo__image {
    position: relative;
    opacity: 0;
}



.us_games_copy {
    color: #ffffffe7;
    text-align: center;
    font-weight: 100;
    font-size: 12px;

}

.yesnoIndex__greeting span {
    opacity: 0;
    animation: yesnoFadeIn 1s ease forwards;
}

.yesnoIndex__greeting span:nth-child(1) {
    animation-delay: 1s;
}

.yesnoIndex__greeting span:nth-child(2) {
    animation-delay: 1.4s;
}

.yesnoIndex__greeting span:nth-child(3) {
    animation-delay: 1.8s;
}

@keyframes yesnoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.deco_card.is-visible {
    animation: spin 3s ease forwards;
    animation-delay: 1.5s;
}

@keyframes spin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(1440deg);
    }
}

.shuffle-button {
    padding: 10px 50px;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.shuffle-button:hover {
    opacity: .7;
}

.shuffle-button__wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.yesnoResult__answer--image {
    width: 200px;
    border-radius: 10px;
    margin: auto;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.yesnoResult__card--img.is_reversed {
    rotate: 180deg;
}

.yesnoResult__question--wrapper {
    margin-bottom: 20px;
}

.yesnoResult__question--heading {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.yesnoResult__question {
    padding: 15px;
    background: #25274a;
    border-radius: 10px;

}

.yesnoResult__answer {
    font-size: 40px;
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.result__deco {
    width: clamp(16px, calc((900 / 600) * 100vw), 900px);
    height: clamp(500px, calc((500 / 600) * 100vw), 500px);
    background: #ffffff14;
    display: block;
    position: absolute;
    border-radius: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
}

.yesnoResult__name {
    font-size: 16px;
    display: block;
    text-align: center;
    font-weight: bold;
}

.yesnoResult__answer--wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
}

.yesnoIndex__greeting:before {
    content: '';
    display: inline-block;
    width: 243px;
    height: 143px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQzIiBoZWlnaHQ9IjE0MyIgdmlld0JveD0iMCAwIDI0MyAxNDMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNDEuNSAxMjVMMjE2LjUgMTE0VjJIMlYxNDEuNUgyMTYuNVYxMjkiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMyIvPgo8L3N2Zz4K');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    transform: translateX(10px);
}

/* 
.yesnoIndex__head,
.yesnoIndex__greetingSection {
    margin-bottom: 30px;
} */

.messageSection__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 
.yesnoIndex__message {
    flex-direction: column;
    position: relative;
    display: flex;
    margin: 0 15px 1.5em 0;
    padding: 0 5px;
    width: 200px;
    height: 200px;
    line-height: 27px;
    text-align: center;
    font-weight: bold;
    background: #ffffff;
    border-radius: 50%;
    box-sizing: border-box;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    color: #0c0e31;
}

.yesnoIndex__message:before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -30px;
    margin-top: -15px;
    border: 30px solid transparent;
    border-left: 50px solid #ffffff;
    z-index: 0;
    -webkit-transform: rotate(32deg);
    transform: rotate(32deg);
} */

.yesnoIndex__messageSection {
    margin-bottom: 40px;
}

.yesnoIndex__message {
    font-size: 14px;
    border-bottom: 1px dashed;
    padding: 0 10px 2px 10px;
}


@media screen and (max-width:420px) {
    .yesnoIndex__message {
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: none;
    }

    span.greeting__y {
        border-bottom: 1px dotted;
        margin-bottom: 3px;
    }
}


.yesnoIndex__head {
    margin-bottom: 30px;
}

.yesnoResult_comment {
    margin-bottom: 30px;
}

.keywords .yesnoResult__interpretation {
    text-align: center;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.yesnoResult__answer--wrapper:before,
.yesnoResult__answer--wrapper:after {
    position: absolute;
    content: "";
    aspect-ratio: 351 / 758;
    width: 100px;
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width:425px) {

    .yesnoResult__answer--wrapper:before,
    .yesnoResult__answer--wrapper:after {
        width: clamp(50px, calc((100 / 500) * 100vw), 100px);
    }
}

.yesnoResult__answer--wrapper:before {
    background: url(../../static/images/tarot/yesno/resultimg__deco_w.png);
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.yesnoResult__answer--wrapper:after {
    background: url(../../static/images/tarot/yesno/resultimg__deco_w.png);
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    rotate: 180deg;
}

.loader_box {

    transition: .3s;
    padding: 30px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    max-width: 600px;
    padding: 15px;
    margin: auto;
    box-sizing: border-box;
    z-index: 90;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
}

.loader_box,
.main.yesno.fade-in .result {
    transition: opacity .5s ease;
}

.main.yesno .result {
    opacity: 0;
}

.main.yesno.fade-in .result {
    opacity: 1;
}

.koimikuji_loader_box--inner {
    width: 100%;
}

.loader_box__question {
    background: #212348;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #333661;
    width: 90%;
    margin: auto;
}

.loader_box.fade-out {
    animation: yesnoFadeIn 3s ease forwards;
}

@keyframes yesnoFadeIn {
    from {
        opacity: 1;
        filter: blur(0px);
    }

    to {
        opacity: 0;
        filter: blur(100px);
    }
}

.return__btn {
    display: block;
    margin: 50px auto;
    text-align: center;
}