.onboarding-shell {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: stretch;
    background: #000;
    color: #fff;
}

.onboarding-shell.is-visible {
    display: flex;
}

.onboarding-panel {
    position: relative;
    width: 100%;
    max-width: 400px;
    min-height: 100%;
    overflow: hidden;
    background: #000;
}

.onboarding-view {
    position: absolute;
    inset: 0;
    display: none;
}

.onboarding-view.is-active {
    display: flex;
}

.intro-view {
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.intro-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.intro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 48%,
        rgba(0, 0, 0, 0.62) 80%,
        rgba(0, 0, 0, 0.98) 100%
    );
}

.intro-actions {
    position: relative;
    z-index: 1;
    width: min(320px, calc(100% - 60px));
    margin-top: min(135vw, 540px);
    animation: introFadeIn 0.8s ease both;
}

.intro-start-btn,
.profile-submit-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 13px 16px;
    background: #0b1026;
    color: #fff;
    font-family: 'NanumSquareNeo', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
    cursor: pointer;
}

.intro-start-btn:disabled,
.profile-submit-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.intro-status {
    min-height: 16px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    word-break: keep-all;
}

.profile-view {
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 10%, rgba(197, 160, 89, 0.22), transparent 34%),
        linear-gradient(180deg, #0b1026 0%, #050713 100%);
}

.profile-card {
    width: 100%;
    max-width: 320px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(11, 16, 38, 0.86);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.profile-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.profile-field {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.profile-field label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.profile-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.profile-input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.profile-submit-btn {
    margin-top: 18px;
    background: #c5a059;
}

.profile-error {
    min-height: 16px;
    margin: 10px 0 0;
    color: #ffd8d8;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

@keyframes introFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
