@charset "utf-8";

:root{
    --bg:#fff8fb;
    --panel:#ffffff;
    --soft:#fff0f6;
    --soft-2:#ffe3ef;
    --line:#f3c6d9;
    --line-2:#f7dce7;
    --text:#2e2e35;
    --sub:#6d6b76;
    --pink:#f56ba5;
    --pink-deep:#eb4f91;
    --rose:#ff8fbc;
    --accent:#ff5e97;
    --mint:#7ad8c2;
    --shadow:0 14px 40px rgba(232, 92, 146, 0.10);
    --radius-xl:24px;
    --radius-lg:18px;
    --radius-md:14px;
    --radius-sm:10px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
    color:var(--text);
    background:
        radial-gradient(circle at top left, rgba(255,184,213,.28), transparent 28%),
        radial-gradient(circle at top right, rgba(255,212,229,.25), transparent 26%),
        linear-gradient(180deg, #fffafd 0%, #fff7fb 100%);
    font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    line-height:1.6;
    word-break:keep-all;
}

.mosole-wrap{
    max-width:980px;
    margin:0 auto;
    padding:24px 16px 50px;
}

.mosole-hero{
    margin-bottom:18px;
}

.hero-inner{
    background:linear-gradient(135deg, #ff8fb8 0%, #f56ba5 55%, #ee6ea9 100%);
    color:#fff;
    border-radius:22px;
    padding:20px 22px;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
}

.hero-inner::after{
    content:"";
    position:absolute;
    right:-20px;
    top:-20px;
    width:140px;
    height:140px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.28);
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    margin-bottom:10px;
}

.hero-title{
    margin:0 0 6px;
    font-size:clamp(24px, 4vw, 34px);
    line-height:1.25;
    font-weight:800;
    letter-spacing:-0.02em;
    position:relative;
    z-index:1;
}

.hero-desc{
    margin:0;
    max-width:700px;
    font-size:14px;
    color:rgba(255,255,255,.95);
    position:relative;
    z-index:1;
}

.mosole-top-info{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
    margin-bottom:20px;
}

.info-card{
    display:flex;
    gap:12px;
    align-items:flex-start;
    background:var(--panel);
    border:1px solid #ffe2ee;
    border-radius:18px;
    padding:14px;
    box-shadow:0 8px 26px rgba(236, 108, 157, 0.06);
}

.info-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:var(--soft);
    font-size:20px;
}

.info-text strong{
    display:block;
    font-size:14px;
    margin-bottom:3px;
}
.info-text span{
    display:block;
    font-size:13px;
    color:var(--sub);
    line-height:1.5;
}

.quiz-shell{
    background:var(--panel);
    border:1px solid #ffe2ee;
    border-radius:28px;
    box-shadow:var(--shadow);
    padding:22px;
    margin-bottom:22px;
}

.quiz-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}

.quiz-title{
    margin:0;
    font-size:22px;
    font-weight:800;
    letter-spacing:-0.02em;
}

.quiz-state{
    font-size:13px;
    font-weight:700;
    color:var(--pink-deep);
    background:#fff0f7;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid #ffd3e5;
}

.progress-wrap{
    margin-bottom:12px;
}

.progress-bar{
    width:100%;
    height:12px;
    border-radius:999px;
    background:#fde4ef;
    overflow:hidden;
    position:relative;
}

.progress-fill{
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg, #ff7fb3 0%, #f65e99 100%);
    transition:width .35s ease;
}

.quiz-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.meta-chip{
    font-size:12px;
    padding:7px 11px;
    border-radius:999px;
    background:#fff6fa;
    border:1px solid #ffe0ec;
    color:#7a5267;
    font-weight:600;
}

.start-panel{
    text-align:center;
    padding:48px 16px 34px;
}

.start-icon{
    font-size:42px;
    margin-bottom:8px;
}

.start-panel h3{
    margin:0 0 8px;
    font-size:28px;
    line-height:1.3;
}

.start-panel p{
    max-width:680px;
    margin:0 auto 20px;
    color:var(--sub);
    font-size:15px;
}

.quiz-form{
    margin-top:20px;
}

.question-card{
    background:#fffafd;
    border:1px solid #ffe1ed;
    border-radius:22px;
    padding:20px;
}

.question-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 12px;
    border-radius:999px;
    font-size:14px;
    font-weight:800;
    color:#fff;
    background:linear-gradient(135deg, #ff88b8, #f15b98);
    margin-bottom:12px;
}

.question-title{
    margin:0 0 18px;
    font-size:24px;
    line-height:1.45;
    font-weight:800;
    letter-spacing:-0.02em;
}

.options-list{
    display:grid;
    gap:12px;
}

.option-item{
    position:relative;
}

.option-radio{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.option-label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    width:100%;
    min-height:70px;
    padding:16px 18px;
    background:#fff;
    border:1.5px solid #f3d6e2;
    border-radius:18px;
    cursor:pointer;
    transition:all .2s ease;
}

.option-label:hover{
    border-color:#f69ac0;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(242, 118, 168, 0.08);
}

.option-mark{
    width:26px;
    height:26px;
    border-radius:50%;
    border:2px solid #efb2ca;
    margin-top:1px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 26px;
    transition:all .2s ease;
    background:#fff;
}

.option-mark::after{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    background:transparent;
    transition:all .2s ease;
}

.option-text{
    font-size:16px;
    color:var(--text);
    line-height:1.55;
    font-weight:600;
}

.option-radio:checked + .option-label{
    border-color:#f36aa6;
    background:linear-gradient(180deg, #fff5fa 0%, #fff 100%);
    box-shadow:0 12px 28px rgba(243, 106, 166, 0.12);
}

.option-radio:checked + .option-label .option-mark{
    border-color:#f15b98;
    background:#fff1f7;
}

.option-radio:checked + .option-label .option-mark::after{
    background:#f15b98;
}

.quiz-actions{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:18px;
}

.btn{
    appearance:none;
    border:0;
    cursor:pointer;
    border-radius:14px;
    padding:14px 18px;
    min-height:52px;
    font-size:15px;
    font-weight:800;
    transition:all .2s ease;
}

.btn span{pointer-events:none}

.btn-primary{
    background:linear-gradient(135deg, #ff8fb8 0%, #f45f9c 100%);
    color:#fff;
    box-shadow:0 10px 22px rgba(242, 94, 152, 0.22);
}

.btn-primary:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 26px rgba(242, 94, 152, 0.26);
}

.btn-light{
    background:#fff;
    color:#574a53;
    border:1px solid #f2d6e2;
}

.btn-light:hover{
    background:#fff8fb;
}

.btn-accent{
    background:linear-gradient(135deg, #ff6da8 0%, #e94f90 100%);
}

.btn-lg{
    min-width:220px;
    padding:16px 22px;
    border-radius:999px;
    font-size:16px;
}

.loading-panel{
    margin-top:20px;
}

.loading-box{
    text-align:center;
    padding:38px 20px;
    border-radius:22px;
    background:linear-gradient(180deg, #fff7fb 0%, #fff 100%);
    border:1px solid #ffe2ef;
}

.loading-icons{
    display:flex;
    justify-content:center;
    gap:14px;
    font-size:34px;
    margin-bottom:8px;
}

.loading-box h3{
    margin:0 0 8px;
    font-size:28px;
    color:#f05c9a;
}

.loading-box p{
    max-width:600px;
    margin:0 auto 18px;
    color:var(--sub);
}

.loading-line{
    width:100%;
    max-width:340px;
    height:12px;
    border-radius:999px;
    background:#ffe4ef;
    overflow:hidden;
    margin:0 auto;
}

.loading-line-bar{
    width:35%;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg, #ff7bad, #f05c9a);
    animation:loadingMove 1.2s ease-in-out infinite;
}

@keyframes loadingMove{
    0%{transform:translateX(-110%)}
    100%{transform:translateX(320%)}
}

.result-section{
    margin-top:24px;
    padding-top:8px;
}

.result-top{
    text-align:center;
    margin-bottom:22px;
}

.result-label{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:#fff0f7;
    color:#e95592;
    font-size:12px;
    font-weight:800;
    border:1px solid #ffd8e7;
    margin-bottom:10px;
}

.result-type-name{
    margin:0 0 10px;
    font-size:clamp(28px, 5vw, 40px);
    line-height:1.25;
    font-weight:900;
    letter-spacing:-0.03em;
}

.result-summary{
    max-width:760px;
    margin:0 auto;
    color:#55545f;
    font-size:16px;
}

.result-highlight-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin-bottom:18px;
}

.highlight-card{
    background:linear-gradient(180deg, #fff8fb 0%, #fff 100%);
    border:1px solid #ffe1ed;
    border-radius:20px;
    padding:18px;
}

.highlight-title{
    font-size:14px;
    font-weight:800;
    margin-bottom:10px;
    color:#5d4b55;
}

.highlight-keywords{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.keyword-badge{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:8px 12px;
    border-radius:999px;
    background:#ffeaf3;
    border:1px solid #ffd1e2;
    color:#de4f8d;
    font-weight:800;
    font-size:13px;
}

.highlight-emphasis{
    font-size:16px;
    color:#403b42;
    font-weight:700;
    line-height:1.7;
}

.emphasis-strong{
    color:#eb4f91;
    font-weight:900;
}

.result-score-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin-bottom:18px;
}

.score-card{
    background:#fff;
    border:1px solid #ffe0eb;
    border-radius:18px;
    padding:16px;
}

.score-head{
    font-size:14px;
    font-weight:800;
    margin-bottom:10px;
}

.score-bar{
    height:12px;
    border-radius:999px;
    background:#fde5ef;
    overflow:hidden;
    margin-bottom:8px;
}

.score-bar span{
    display:block;
    height:100%;
    width:0%;
    border-radius:999px;
    background:linear-gradient(90deg, #ff8ab7 0%, #ef5b97 100%);
    transition:width .6s ease;
}

.score-text{
    font-size:13px;
    color:#6a6873;
    font-weight:600;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
}

.result-card{
    background:#fff;
    border:1px solid #ffe0eb;
    border-radius:20px;
    padding:18px;
    box-shadow:0 8px 24px rgba(236, 108, 157, 0.05);
}

.result-card h3{
    margin:0 0 10px;
    font-size:18px;
    line-height:1.4;
}

.result-card p{
    margin:0;
    color:#575660;
}

.dot-list{
    margin:0;
    padding-left:18px;
    color:#575660;
}

.dot-list li{
    margin:6px 0;
}

.share-wrap{
    margin-top:20px;
    padding:20px;
    background:#fff8fb;
    border:1px solid #ffe0ec;
    border-radius:20px;
}

.share-btns{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.share-message{
    margin-top:12px;
    background:#fff;
    border:1px solid #ffcfe2;
    color:#6a5160;
    padding:14px 16px;
    border-radius:14px;
    font-size:14px;
    line-height:1.6;
    box-shadow:0 8px 20px rgba(239, 90, 150, 0.08);
}

.guide-section{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
    margin-bottom:18px;
}

.guide-box{
    background:#fff;
    border:1px solid #ffe0eb;
    border-radius:20px;
    padding:18px;
    box-shadow:0 8px 24px rgba(236, 108, 157, 0.05);
}

.guide-box h3{
    margin:0 0 10px;
    font-size:18px;
}

.guide-list{
    margin:0;
    padding-left:18px;
    color:#5f5b64;
}

.guide-list li{
    margin:7px 0;
}

.copyright{
    text-align:center;
    font-size:12px;
    color:#88828a;
    padding-top:8px;
}

.notice-inline{
    margin-top:10px;
    font-size:13px;
    color:#df4e8d;
    font-weight:700;
}

.fade-up{
    animation:fadeUp .35s ease both;
}
@keyframes fadeUp{
    from{opacity:0; transform:translateY(8px)}
    to{opacity:1; transform:translateY(0)}
}

@media (max-width: 860px){
    .mosole-top-info,
    .result-highlight-grid,
    .result-score-grid,
    .result-grid,
    .guide-section{
        grid-template-columns:1fr;
    }

    .quiz-shell{
        padding:18px;
        border-radius:22px;
    }

    .question-title{
        font-size:21px;
    }
}

@media (max-width: 640px){
    .mosole-wrap{
        padding:16px 12px 40px;
    }

    .hero-inner{
        padding:18px 16px;
        border-radius:18px;
    }

    .hero-title{
        font-size:28px;
    }

    .hero-desc{
        font-size:13px;
    }

    .info-card{
        border-radius:16px;
        padding:12px;
    }

    .quiz-title{
        font-size:20px;
    }

    .question-card{
        padding:16px;
    }

    .question-chip{
        height:34px;
        min-width:34px;
        font-size:13px;
        padding:0 11px;
    }

    .question-title{
        font-size:19px;
        margin-bottom:14px;
    }

    .option-label{
        min-height:64px;
        padding:14px;
        border-radius:16px;
    }

    .option-text{
        font-size:15px;
    }

    .quiz-actions{
        flex-wrap:wrap;
    }

    .quiz-actions .btn{
        flex:1 1 calc(50% - 5px);
    }

    .share-btns .btn{
        flex:1 1 100%;
    }

    .start-panel{
        padding:34px 8px 20px;
    }

    .start-panel h3{
        font-size:24px;
    }

    .loading-box h3{
        font-size:24px;
    }

    .result-card,
    .guide-box,
    .highlight-card,
    .score-card{
        padding:16px;
    }
}