/* ===============================
   CREATE STORY PAGE
   - 이름 / 소개 / 스토리 / 선택지를
     하나의 스크롤 영역 안에서 자연스럽게 연결
=============================== */

.create-scroll {
    padding: 0 5vw 28px;
}

.char-name {
    margin-top: 10px;
    padding: 8px 0 4px;
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: pre-wrap;
}

.char-intro {
    min-height: 28px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.92);
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 1.72;
}

.story-divider {
    width: 100%;
    height: 1px;
    margin: 18px 0 18px;
    background: linear-gradient(
        90deg,
        rgba(138, 83, 255, 0),
        rgba(138, 83, 255, 0.92),
        rgba(138, 83, 255, 0)
    );
    box-shadow: 0 0 12px rgba(138, 83, 255, 0.28);
}

.story-box {
    min-height: 120px;
    color: #ffffff;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 20px;
}

.choice-box {
    margin-top: 18px;
}

.choice-btn,
.selected-choice {
    position: relative;
    width: 100%;
    margin-top: 12px;
    padding: 14px 10px;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
    line-height: 1.65;
}

.choice-btn::before,
.choice-btn::after,
.selected-choice::before,
.selected-choice::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(138, 83, 255, 0),
        rgba(138, 83, 255, 0.94),
        rgba(138, 83, 255, 0)
    );
    box-shadow: 0 0 10px rgba(138, 83, 255, 0.25);
}

.choice-btn::before,
.selected-choice::before {
    top: 0;
}

.choice-btn::after,
.selected-choice::after {
    bottom: 0;
}

.choice-btn {
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.25s ease, background 0.18s ease;
}

.choice-btn:first-child,
.selected-choice:first-child {
    margin-top: 0;
}

.choice-btn:hover {
    background: rgba(138, 83, 255, 0.08);
}

.choice-btn:active {
    transform: scale(0.992);
}

.choice-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.choice-btn__text,
.selected-choice__text {
    display: block;
    padding: 2px 0;
    font-size: 15px;
}

.selected-choice {
    margin: 8px 0 16px;
    background: rgba(138, 83, 255, 0.06);
}

.choice-btn.is-hidden {
    opacity: 0;
    transform: translateY(6px);
}

.info-text {
    margin-top: 14px;
    text-align: center;
    color: #ccc;
    font-size: 13px;
}

.story-em {
    color: var(--accent);
    font-weight: 600;
}
