.sd-wrap * {
    box-sizing: border-box;
}

.sd-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.sd-card {
    background: #fff9fb;
    border-radius: 16px;
    padding: 28px 28px 32px;
    border: 1.5px solid #f2c4d8;
}

.sd-header {
    text-align: center;
    margin-bottom: 24px;
}

.sd-header-label {
    display: inline-block;
    background: #f9a8c9;
    color: #6b2040;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: .08em;
}

.sd-header h2 {
    font-size: 18px;
    color: #3d2535;
    margin: 0 0 6px;
    line-height: 1.6;
}

.sd-header p {
    font-size: 13px;
    color: #a06080;
    margin: 0;
}

.sd-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}

.sd-dot {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #f5d0e0;
    transition: background .3s;
}

.sd-dot.active {
    background: #f9a8c9;
}

.sd-dot.done {
    background: #d4547e;
}

.sd-q-label {
    font-size: 12px;
    color: #c06080;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.sd-q-text {
    font-size: 17px;
    color: #3d2535;
    margin-bottom: 20px;
    line-height: 1.7;
}

.sd-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sd-btn {
    background: #fff;
    border: 1.5px solid #f2c4d8;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    color: #3d2535;
    transition: all .2s;
    line-height: 1.6;
    width: 100%;
}

.sd-btn:hover {
    background: #fff0f6;
    border-color: #f9a8c9;
}

.sd-result {
    display: none;
}

.sd-result-badge {
    text-align: center;
    margin-bottom: 20px;
}

.sd-result-badge span {
    display: inline-block;
    background: #f9a8c9;
    color: #6b2040;
    font-size: 12px;
    padding: 4px 18px;
    border-radius: 20px;
    letter-spacing: .08em;
}

.sd-result-title {
    font-size: 19px;
    color: #3d2535;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.6;
}

.sd-result-img {
    text-align: center;
    margin-bottom: 16px;
}

.sd-result-img img {
    object-fit: contain;
}

.sd-result-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #f2c4d8;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.sd-result-card-title {
    font-size: 15px;
    color: #d4547e;
    margin: 0 0 8px;
}

.sd-result-card p {
    font-size: 14px;
    color: #3d2535;
    margin: 0;
    line-height: 1.8;
}

.sd-comment {
    background: #fff9fb;
    border-left: 3px solid #f9c8d8;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin-top: 16px;
    font-size: 14px;
    font-style: italic;
    color: #3d2535;
    line-height: 1.8;
}

.sd-comment-label {
    display: inline-block;
    background: #f9a8c9;
    color: #6b2040;
    font-size: 11px;
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-style: normal;
}

.sd-retry {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #fff;
    border: 1.5px solid #f2c4d8;
    border-radius: 12px;
    font-size: 15px;
    color: #c06080;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
}

.sd-retry:hover {
    background: #fff0f6;
}